Current Path : /var/www/www-root/data/www/www.monolith-realty.ru/bitrix/js/ui/pdfjs-ie11/ |
Current File : /var/www/www-root/data/www/www.monolith-realty.ru/bitrix/js/ui/pdfjs-ie11/pdf.worker.min.js |
(function e(r,t){if(typeof exports==="object"&&typeof module==="object")module.exports=t();else if(typeof define==="function"&&define.amd)define("pdfjs-dist/build/pdf.worker",[],t);else if(typeof exports==="object")exports["pdfjs-dist/build/pdf.worker"]=t();else r["pdfjs-dist/build/pdf.worker"]=r.pdfjsWorker=t()})(this,function(){return function(e){var r={};function t(a){if(r[a]){return r[a].exports}var i=r[a]={i:a,l:false,exports:{}};e[a].call(i.exports,i,i.exports,t);i.l=true;return i.exports}t.m=e;t.c=r;t.d=function(e,r,a){if(!t.o(e,r)){Object.defineProperty(e,r,{enumerable:true,get:a})}};t.r=function(e){if(typeof Symbol!=="undefined"&&Symbol.toStringTag){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})}Object.defineProperty(e,"__esModule",{value:true})};t.t=function(e,r){if(r&1)e=t(e);if(r&8)return e;if(r&4&&typeof e==="object"&&e&&e.__esModule)return e;var a=Object.create(null);t.r(a);Object.defineProperty(a,"default",{enumerable:true,value:e});if(r&2&&typeof e!="string")for(var i in e)t.d(a,i,function(r){return e[r]}.bind(null,i));return a};t.n=function(e){var r=e&&e.__esModule?function r(){return e["default"]}:function r(){return e};t.d(r,"a",r);return r};t.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)};t.p="";return t(t.s=0)}([function(e,r,t){"use strict";var a="2.0.943";var i="dc98bf76";var n=t(1);r.WorkerMessageHandler=n.WorkerMessageHandler},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:true});r.WorkerMessageHandler=r.WorkerTask=undefined;var a=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol==="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};var i=function(){function e(e,r){var t=[];var a=true;var i=false;var n=undefined;try{for(var o=e[Symbol.iterator](),s;!(a=(s=o.next()).done);a=true){t.push(s.value);if(r&&t.length===r)break}}catch(e){i=true;n=e}finally{try{if(!a&&o["return"])o["return"]()}finally{if(i)throw n}}return t}return function(r,t){if(Array.isArray(r)){return r}else if(Symbol.iterator in Object(r)){return e(r,t)}else{throw new TypeError("Invalid attempt to destructure non-iterable instance")}}}();var n=t(2);var o=t(130);var s=t(5);var l=f(s);var c=t(172);var u=t(138);function f(e){return e&&e.__esModule?e:{default:e}}var h=function e(){function r(e){this.name=e;this.terminated=false;this._capability=(0,n.createPromiseCapability)()}r.prototype={get finished(){return this._capability.promise},finish:function e(){this._capability.resolve()},terminate:function e(){this.terminated=true},ensureNotTerminated:function e(){if(this.terminated){throw new Error("Worker task was terminated")}}};return r}();var d=function e(){function r(e){this._msgHandler=e;this._contentLength=null;this._fullRequestReader=null;this._rangeRequestReaders=[]}r.prototype={getFullReader:function e(){(0,n.assert)(!this._fullRequestReader);this._fullRequestReader=new t(this._msgHandler);return this._fullRequestReader},getRangeReader:function e(r,t){var i=new a(r,t,this._msgHandler);this._rangeRequestReaders.push(i);return i},cancelAllRequests:function e(r){if(this._fullRequestReader){this._fullRequestReader.cancel(r)}var t=this._rangeRequestReaders.slice(0);t.forEach(function(e){e.cancel(r)})}};function t(e){var r=this;this._msgHandler=e;this._contentLength=null;this._isRangeSupported=false;this._isStreamingSupported=false;var t=this._msgHandler.sendWithStream("GetReader");this._reader=t.getReader();this._headersReady=this._msgHandler.sendWithPromise("ReaderHeadersReady").then(function(e){r._isStreamingSupported=e.isStreamingSupported;r._isRangeSupported=e.isRangeSupported;r._contentLength=e.contentLength})}t.prototype={get headersReady(){return this._headersReady},get contentLength(){return this._contentLength},get isStreamingSupported(){return this._isStreamingSupported},get isRangeSupported(){return this._isRangeSupported},read:function e(){return this._reader.read().then(function(e){var r=e.value,t=e.done;if(t){return{value:undefined,done:true}}return{value:r.buffer,done:false}})},cancel:function e(r){this._reader.cancel(r)}};function a(e,r,t){this._msgHandler=t;this.onProgress=null;var a=this._msgHandler.sendWithStream("GetRangeReader",{begin:e,end:r});this._reader=a.getReader()}a.prototype={get isStreamingSupported(){return false},read:function e(){return this._reader.read().then(function(e){var r=e.value,t=e.done;if(t){return{value:undefined,done:true}}return{value:r.buffer,done:false}})},cancel:function e(r){this._reader.cancel(r)}};return r}();var v={setup:function e(r,t){var a=false;r.on("test",function e(t){if(a){return}a=true;if(!(t instanceof Uint8Array)){r.send("test",false);return}var i=t[0]===255;r.postMessageTransfers=i;var n=new XMLHttpRequest;var o="response"in n;try{n.responseType}catch(e){o=false}if(!o){r.send("test",false);return}r.send("test",{supportTypedArray:true,supportTransfers:i})});r.on("configure",function e(r){(0,n.setVerbosityLevel)(r.verbosity)});r.on("GetDocRequest",function e(r){return v.createDocumentHandler(r,t)})},createDocumentHandler:function e(r,t){var s;var l=false;var f=null;var v=[];var g=r.apiVersion;var m="2.0.943";if(g!==m){throw new Error('The API version "'+g+'" does not match '+('the Worker version "'+m+'".'))}var p=r.docId;var b=r.docBaseUrl;var y=r.docId+"_worker";var w=new c.MessageHandler(y,p,t);w.postMessageTransfers=r.postMessageTransfers;function k(){if(l){throw new Error("Worker was terminated")}}function S(e){v.push(e)}function C(e){e.finish();var r=v.indexOf(e);v.splice(r,1)}function x(e){var r=(0,n.createPromiseCapability)();var t=function e(){Promise.all([s.ensureDoc("numPages"),s.ensureDoc("fingerprint")]).then(function(e){var t=i(e,2),a=t[0],n=t[1];r.resolve({numPages:a,fingerprint:n})},a)};var a=function e(t){r.reject(t)};s.ensureDoc("checkHeader",[]).then(function(){s.ensureDoc("parseStartXRef",[]).then(function(){s.ensureDoc("parse",[e]).then(t,a)},a)},a);return r.promise}function _(e,r){var t=(0,n.createPromiseCapability)();var a;var i=e.source;if(i.data){try{a=new o.LocalPdfManager(p,i.data,i.password,r,b);t.resolve(a)}catch(e){t.reject(e)}return t.promise}var s,l=[];try{s=new d(w)}catch(e){t.reject(e);return t.promise}var c=s.getFullReader();c.headersReady.then(function(){if(!c.isRangeSupported){return}var e=i.disableAutoFetch||c.isStreamingSupported;a=new o.NetworkPdfManager(p,s,{msgHandler:w,url:i.url,password:i.password,length:c.contentLength,disableAutoFetch:e,rangeChunkSize:i.rangeChunkSize},r,b);for(var n=0;n<l.length;n++){a.sendProgressiveData(l[n])}l=[];t.resolve(a);f=null}).catch(function(e){t.reject(e);f=null});var u=0;var h=function e(){var s=(0,n.arraysToBytes)(l);if(i.length&&s.length!==i.length){(0,n.warn)("reported HTTP length is different from actual")}try{a=new o.LocalPdfManager(p,s,i.password,r,b);t.resolve(a)}catch(e){t.reject(e)}l=[]};var v=new Promise(function(e,r){var t=function e(t){try{k();if(t.done){if(!a){h()}f=null;return}var i=t.value;u+=(0,n.arrayByteLength)(i);if(!c.isStreamingSupported){w.send("DocProgress",{loaded:u,total:Math.max(u,c.contentLength||0)})}if(a){a.sendProgressiveData(i)}else{l.push(i)}c.read().then(e,r)}catch(e){r(e)}};c.read().then(t,r)});v.catch(function(e){t.reject(e);f=null});f=function e(){s.cancelAllRequests("abort")};return t.promise}function A(e){function r(e){k();w.send("GetDoc",{pdfInfo:e})}function t(e){k();if(e instanceof n.PasswordException){var r=new h("PasswordException: response "+e.code);S(r);w.sendWithPromise("PasswordRequest",e).then(function(e){C(r);s.updatePassword(e.password);a()}).catch(function(e){C(r);w.send("PasswordException",e)}.bind(null,e))}else if(e instanceof n.InvalidPDFException){w.send("InvalidPDF",e)}else if(e instanceof n.MissingPDFException){w.send("MissingPDF",e)}else if(e instanceof n.UnexpectedResponseException){w.send("UnexpectedResponse",e)}else{w.send("UnknownError",new n.UnknownErrorException(e.message,e.toString()))}}function a(){k();x(false).then(r,function e(a){k();if(!(a instanceof n.XRefParseException)){t(a);return}s.requestLoadedStream();s.onLoadedStream().then(function(){k();x(true).then(r,t)})},t)}k();var i={forceDataSchema:e.disableCreateObjectURL,maxImageSize:e.maxImageSize,disableFontFace:e.disableFontFace,nativeImageDecoderSupport:e.nativeImageDecoderSupport,ignoreErrors:e.ignoreErrors,isEvalSupported:e.isEvalSupported};_(e,i).then(function(e){if(l){e.terminate();throw new Error("Worker was terminated")}s=e;s.onLoadedStream().then(function(e){w.send("DataLoaded",{length:e.bytes.byteLength})})}).then(a,t)}w.on("GetPage",function e(r){return s.getPage(r.pageIndex).then(function(e){return Promise.all([s.ensure(e,"rotate"),s.ensure(e,"ref"),s.ensure(e,"userUnit"),s.ensure(e,"view")]).then(function(e){var r=i(e,4),t=r[0],a=r[1],n=r[2],o=r[3];return{rotate:t,ref:a,userUnit:n,view:o}})})});w.on("GetPageIndex",function e(r){var t=new u.Ref(r.ref.num,r.ref.gen);var a=s.pdfDocument.catalog;return a.getPageIndex(t)});w.on("GetDestinations",function e(r){return s.ensureCatalog("destinations")});w.on("GetDestination",function e(r){return s.ensureCatalog("getDestination",[r.id])});w.on("GetPageLabels",function e(r){return s.ensureCatalog("pageLabels")});w.on("GetPageMode",function e(r){return s.ensureCatalog("pageMode")});w.on("GetAttachments",function e(r){return s.ensureCatalog("attachments")});w.on("GetJavaScript",function e(r){return s.ensureCatalog("javaScript")});w.on("GetOutline",function e(r){return s.ensureCatalog("documentOutline")});w.on("GetPermissions",function(e){return s.ensureCatalog("permissions")});w.on("GetMetadata",function e(r){return Promise.all([s.ensureDoc("documentInfo"),s.ensureCatalog("metadata")])});w.on("GetData",function e(r){s.requestLoadedStream();return s.onLoadedStream().then(function(e){return e.bytes})});w.on("GetStats",function e(r){return s.pdfDocument.xref.stats});w.on("GetAnnotations",function(e){var r=e.pageIndex,t=e.intent;return s.getPage(r).then(function(e){return e.getAnnotationsData(t)})});w.on("RenderPageRequest",function e(r){var t=r.pageIndex;s.getPage(t).then(function(e){var i=new h("RenderPageRequest: page "+t);S(i);var o=t+1;var s=Date.now();e.getOperatorList({handler:w,task:i,intent:r.intent,renderInteractiveForms:r.renderInteractiveForms}).then(function(e){C(i);(0,n.info)("page="+o+" - getOperatorList: time="+(Date.now()-s)+"ms, len="+e.totalLength)},function(e){C(i);if(i.terminated){return}w.send("UnsupportedFeature",{featureId:n.UNSUPPORTED_FEATURES.unknown});var t="worker.js: while trying to getPage() and getOperatorList()";var s;if(typeof e==="string"){s={message:e,stack:t}}else if((typeof e==="undefined"?"undefined":a(e))==="object"){s={message:e.message||e.toString(),stack:e.stack||t}}else{s={message:"Unknown exception type: "+(typeof e==="undefined"?"undefined":a(e)),stack:t}}w.send("PageError",{pageNum:o,error:s,intent:r.intent})})})},this);w.on("GetTextContent",function e(r,t){var a=r.pageIndex;t.onPull=function(e){};t.onCancel=function(e){};s.getPage(a).then(function(e){var i=new h("GetTextContent: page "+a);S(i);var o=a+1;var s=Date.now();e.extractTextContent({handler:w,task:i,sink:t,normalizeWhitespace:r.normalizeWhitespace,combineTextItems:r.combineTextItems}).then(function(){C(i);(0,n.info)("text indexing: page="+o+" - time="+(Date.now()-s)+"ms");t.close()},function(e){C(i);if(i.terminated){return}t.error(e);throw e})})});w.on("Cleanup",function e(r){return s.cleanup()});w.on("Terminate",function e(r){l=true;if(s){s.terminate();s=null}if(f){f()}var t=[];v.forEach(function(e){t.push(e.finished);e.terminate()});return Promise.all(t).then(function(){w.destroy();w=null})});w.on("Ready",function e(t){A(r);r=null});return y},initializeFromPort:function e(r){var t=new c.MessageHandler("worker","main",r);v.setup(t,r);t.send("ready",null)}};function g(e){return typeof e.postMessage==="function"&&"onmessage"in e}if(typeof window==="undefined"&&!(0,l.default)()&&typeof self!=="undefined"&&g(self)){v.initializeFromPort(self)}r.WorkerTask=h;r.WorkerMessageHandler=v},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:true});r.unreachable=r.warn=r.utf8StringToString=r.stringToUTF8String=r.stringToPDFString=r.stringToBytes=r.string32=r.shadow=r.setVerbosityLevel=r.URL=r.ReadableStream=r.removeNullCharacters=r.readUint32=r.readUint16=r.readInt8=r.log2=r.isEvalSupported=r.isLittleEndian=r.createValidAbsoluteUrl=r.isSameOrigin=r.isSpace=r.isString=r.isNum=r.isEmptyObj=r.isBool=r.isArrayBuffer=r.info=r.getVerbosityLevel=r.getLookupTableFactory=r.getInheritableProperty=r.deprecated=r.createObjectURL=r.createPromiseCapability=r.bytesToString=r.assert=r.arraysToBytes=r.arrayByteLength=r.FormatError=r.XRefParseException=r.toRomanNumerals=r.Util=r.UnknownErrorException=r.UnexpectedResponseException=r.TextRenderingMode=r.StreamType=r.PermissionFlag=r.PasswordResponses=r.PasswordException=r.NativeImageDecoding=r.MissingPDFException=r.MissingDataException=r.InvalidPDFException=r.AbortException=r.CMapCompressionType=r.ImageKind=r.FontType=r.AnnotationType=r.AnnotationFlag=r.AnnotationFieldFlag=r.AnnotationBorderStyleType=r.UNSUPPORTED_FEATURES=r.VerbosityLevel=r.OPS=r.IDENTITY_MATRIX=r.FONT_IDENTITY_MATRIX=undefined;var a=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol==="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t(3);var i=t(126);var n=t(128);var o=[1,0,0,1,0,0];var s=[.001,0,0,.001,0,0];var l={NONE:"none",DECODE:"decode",DISPLAY:"display"};var c={PRINT:4,MODIFY_CONTENTS:8,COPY:16,MODIFY_ANNOTATIONS:32,FILL_INTERACTIVE_FORMS:256,COPY_FOR_ACCESSIBILITY:512,ASSEMBLE:1024,PRINT_HIGH_QUALITY:2048};var u={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};var f={GRAYSCALE_1BPP:1,RGB_24BPP:2,RGBA_32BPP:3};var h={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};var d={INVISIBLE:1,HIDDEN:2,PRINT:4,NOZOOM:8,NOROTATE:16,NOVIEW:32,READONLY:64,LOCKED:128,TOGGLENOVIEW:256,LOCKEDCONTENTS:512};var v={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};var g={SOLID:1,DASHED:2,BEVELED:3,INSET:4,UNDERLINE:5};var m={UNKNOWN:0,FLATE:1,LZW:2,DCT:3,JPX:4,JBIG:5,A85:6,AHX:7,CCF:8,RL:9};var p={UNKNOWN:0,TYPE1:1,TYPE1C:2,CIDFONTTYPE0:3,CIDFONTTYPE0C:4,TRUETYPE:5,CIDFONTTYPE2:6,TYPE3:7,OPENTYPE:8,TYPE0:9,MMTYPE1:10};var b={ERRORS:0,WARNINGS:1,INFOS:5};var y={NONE:0,BINARY:1,STREAM:2};var w={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};var k={unknown:"unknown",forms:"forms",javaScript:"javaScript",smask:"smask",shadingPattern:"shadingPattern",font:"font"};var S={NEED_PASSWORD:1,INCORRECT_PASSWORD:2};var C=b.WARNINGS;function x(e){if(Number.isInteger(e)){C=e}}function _(){return C}function A(e){if(C>=b.INFOS){console.log("Info: "+e)}}function P(e){if(C>=b.WARNINGS){console.log("Warning: "+e)}}function I(e){console.log("Deprecated API usage: "+e)}function O(e){throw new Error(e)}function T(e,r){if(!e){O(r)}}function E(e,r){try{var t=new n.URL(e);if(!t.origin||t.origin==="null"){return false}}catch(e){return false}var a=new n.URL(r,t);return t.origin===a.origin}function F(e){if(!e){return false}switch(e.protocol){case"http:":case"https:":case"ftp:":case"mailto:":case"tel:":return true;default:return false}}function R(e,r){if(!e){return null}try{var t=r?new n.URL(e,r):new n.URL(e);if(F(t)){return t}}catch(e){}return null}function B(e,r,t){Object.defineProperty(e,r,{value:t,enumerable:true,configurable:true,writable:false});return t}function D(e){var r;return function(){if(e){r=Object.create(null);e(r);e=null}return r}}var M=function e(){function r(e,r){this.name="PasswordException";this.message=e;this.code=r}r.prototype=new Error;r.constructor=r;return r}();var L=function e(){function r(e,r){this.name="UnknownErrorException";this.message=e;this.details=r}r.prototype=new Error;r.constructor=r;return r}();var N=function e(){function r(e){this.name="InvalidPDFException";this.message=e}r.prototype=new Error;r.constructor=r;return r}();var U=function e(){function r(e){this.name="MissingPDFException";this.message=e}r.prototype=new Error;r.constructor=r;return r}();var q=function e(){function r(e,r){this.name="UnexpectedResponseException";this.message=e;this.status=r}r.prototype=new Error;r.constructor=r;return r}();var j=function e(){function r(e,r){this.begin=e;this.end=r;this.message="Missing data ["+e+", "+r+")"}r.prototype=new Error;r.prototype.name="MissingDataException";r.constructor=r;return r}();var z=function e(){function r(e){this.message=e}r.prototype=new Error;r.prototype.name="XRefParseException";r.constructor=r;return r}();var H=function e(){function r(e){this.message=e}r.prototype=new Error;r.prototype.name="FormatError";r.constructor=r;return r}();var G=function e(){function r(e){this.name="AbortException";this.message=e}r.prototype=new Error;r.constructor=r;return r}();var W=/\x00/g;function X(e){if(typeof e!=="string"){P("The argument for removeNullCharacters must be a string.");return e}return e.replace(W,"")}function V(e){T(e!==null&&(typeof e==="undefined"?"undefined":a(e))==="object"&&e.length!==undefined,"Invalid argument for bytesToString");var r=e.length;var t=8192;if(r<t){return String.fromCharCode.apply(null,e)}var i=[];for(var n=0;n<r;n+=t){var o=Math.min(n+t,r);var s=e.subarray(n,o);i.push(String.fromCharCode.apply(null,s))}return i.join("")}function K(e){T(typeof e==="string","Invalid argument for stringToBytes");var r=e.length;var t=new Uint8Array(r);for(var a=0;a<r;++a){t[a]=e.charCodeAt(a)&255}return t}function Y(e){if(e.length!==undefined){return e.length}T(e.byteLength!==undefined);return e.byteLength}function J(e){if(e.length===1&&e[0]instanceof Uint8Array){return e[0]}var r=0;var t,a=e.length;var i,n;for(t=0;t<a;t++){i=e[t];n=Y(i);r+=n}var o=0;var s=new Uint8Array(r);for(t=0;t<a;t++){i=e[t];if(!(i instanceof Uint8Array)){if(typeof i==="string"){i=K(i)}else{i=new Uint8Array(i)}}n=i.byteLength;s.set(i,o);o+=n}return s}function Z(e){return String.fromCharCode(e>>24&255,e>>16&255,e>>8&255,e&255)}function Q(e){if(e<=0){return 0}return Math.ceil(Math.log2(e))}function $(e,r){return e[r]<<24>>24}function ee(e,r){return e[r]<<8|e[r+1]}function re(e,r){return(e[r]<<24|e[r+1]<<16|e[r+2]<<8|e[r+3])>>>0}function te(){var e=new Uint8Array(4);e[0]=1;var r=new Uint32Array(e.buffer,0,1);return r[0]===1}function ae(){try{new Function("");return true}catch(e){return false}}function ie(e){var r=e.dict,t=e.key,a=e.getArray,i=a===undefined?false:a,n=e.stopWhenFound,o=n===undefined?true:n;var s=100;var l=0;var c=void 0;while(r){var u=i?r.getArray(t):r.get(t);if(u!==undefined){if(o){return u}if(!c){c=[]}c.push(u)}if(++l>s){P('getInheritableProperty: maximum loop count exceeded for "'+t+'"');break}r=r.get("Parent")}return c}var ne=function e(){function r(){}var t=["rgb(",0,",",0,",",0,")"];r.makeCssRgb=function e(r,a,i){t[1]=r;t[3]=a;t[5]=i;return t.join("")};r.transform=function e(r,t){return[r[0]*t[0]+r[2]*t[1],r[1]*t[0]+r[3]*t[1],r[0]*t[2]+r[2]*t[3],r[1]*t[2]+r[3]*t[3],r[0]*t[4]+r[2]*t[5]+r[4],r[1]*t[4]+r[3]*t[5]+r[5]]};r.applyTransform=function e(r,t){var a=r[0]*t[0]+r[1]*t[2]+t[4];var i=r[0]*t[1]+r[1]*t[3]+t[5];return[a,i]};r.applyInverseTransform=function e(r,t){var a=t[0]*t[3]-t[1]*t[2];var i=(r[0]*t[3]-r[1]*t[2]+t[2]*t[5]-t[4]*t[3])/a;var n=(-r[0]*t[1]+r[1]*t[0]+t[4]*t[1]-t[5]*t[0])/a;return[i,n]};r.getAxialAlignedBoundingBox=function e(t,a){var i=r.applyTransform(t,a);var n=r.applyTransform(t.slice(2,4),a);var o=r.applyTransform([t[0],t[3]],a);var s=r.applyTransform([t[2],t[1]],a);return[Math.min(i[0],n[0],o[0],s[0]),Math.min(i[1],n[1],o[1],s[1]),Math.max(i[0],n[0],o[0],s[0]),Math.max(i[1],n[1],o[1],s[1])]};r.inverseTransform=function e(r){var t=r[0]*r[3]-r[1]*r[2];return[r[3]/t,-r[1]/t,-r[2]/t,r[0]/t,(r[2]*r[5]-r[4]*r[3])/t,(r[4]*r[1]-r[5]*r[0])/t]};r.apply3dTransform=function e(r,t){return[r[0]*t[0]+r[1]*t[1]+r[2]*t[2],r[3]*t[0]+r[4]*t[1]+r[5]*t[2],r[6]*t[0]+r[7]*t[1]+r[8]*t[2]]};r.singularValueDecompose2dScale=function e(r){var t=[r[0],r[2],r[1],r[3]];var a=r[0]*t[0]+r[1]*t[2];var i=r[0]*t[1]+r[1]*t[3];var n=r[2]*t[0]+r[3]*t[2];var o=r[2]*t[1]+r[3]*t[3];var s=(a+o)/2;var l=Math.sqrt((a+o)*(a+o)-4*(a*o-n*i))/2;var c=s+l||1;var u=s-l||1;return[Math.sqrt(c),Math.sqrt(u)]};r.normalizeRect=function e(r){var t=r.slice(0);if(r[0]>r[2]){t[0]=r[2];t[2]=r[0]}if(r[1]>r[3]){t[1]=r[3];t[3]=r[1]}return t};r.intersect=function e(t,a){function i(e,r){return e-r}var n=[t[0],t[2],a[0],a[2]].sort(i),o=[t[1],t[3],a[1],a[3]].sort(i),s=[];t=r.normalizeRect(t);a=r.normalizeRect(a);if(n[0]===t[0]&&n[1]===a[0]||n[0]===a[0]&&n[1]===t[0]){s[0]=n[1];s[2]=n[2]}else{return false}if(o[0]===t[1]&&o[1]===a[1]||o[0]===a[1]&&o[1]===t[1]){s[1]=o[1];s[3]=o[2]}else{return false}return s};return r}();var oe=["","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"];function se(e){var r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:false;T(Number.isInteger(e)&&e>0,"The number should be a positive integer.");var t=void 0,a=[];while(e>=1e3){e-=1e3;a.push("M")}t=e/100|0;e%=100;a.push(oe[t]);t=e/10|0;e%=10;a.push(oe[10+t]);a.push(oe[20+e]);var i=a.join("");return r?i.toLowerCase():i}var le=[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];function ce(e){var r,t=e.length,a=[];if(e[0]==="þ"&&e[1]==="ÿ"){for(r=2;r<t;r+=2){a.push(String.fromCharCode(e.charCodeAt(r)<<8|e.charCodeAt(r+1)))}}else{for(r=0;r<t;++r){var i=le[e.charCodeAt(r)];a.push(i?String.fromCharCode(i):e.charAt(r))}}return a.join("")}function ue(e){return decodeURIComponent(escape(e))}function fe(e){return unescape(encodeURIComponent(e))}function he(e){for(var r in e){return false}return true}function de(e){return typeof e==="boolean"}function ve(e){return typeof e==="number"}function ge(e){return typeof e==="string"}function me(e){return(typeof e==="undefined"?"undefined":a(e))==="object"&&e!==null&&e.byteLength!==undefined}function pe(e){return e===32||e===9||e===13||e===10}function be(){var e={};e.promise=new Promise(function(r,t){e.resolve=r;e.reject=t});return e}var ye=function e(){var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";return function e(t,a){var i=arguments.length>2&&arguments[2]!==undefined?arguments[2]:false;if(!i&&n.URL.createObjectURL){var o=new Blob([t],{type:a});return n.URL.createObjectURL(o)}var s="data:"+a+";base64,";for(var l=0,c=t.length;l<c;l+=3){var u=t[l]&255;var f=t[l+1]&255;var h=t[l+2]&255;var d=u>>2,v=(u&3)<<4|f>>4;var g=l+1<c?(f&15)<<2|h>>6:64;var m=l+2<c?h&63:64;s+=r[d]+r[v]+r[g]+r[m]}return s}}();r.FONT_IDENTITY_MATRIX=s;r.IDENTITY_MATRIX=o;r.OPS=w;r.VerbosityLevel=b;r.UNSUPPORTED_FEATURES=k;r.AnnotationBorderStyleType=g;r.AnnotationFieldFlag=v;r.AnnotationFlag=d;r.AnnotationType=h;r.FontType=p;r.ImageKind=f;r.CMapCompressionType=y;r.AbortException=G;r.InvalidPDFException=N;r.MissingDataException=j;r.MissingPDFException=U;r.NativeImageDecoding=l;r.PasswordException=M;r.PasswordResponses=S;r.PermissionFlag=c;r.StreamType=m;r.TextRenderingMode=u;r.UnexpectedResponseException=q;r.UnknownErrorException=L;r.Util=ne;r.toRomanNumerals=se;r.XRefParseException=z;r.FormatError=H;r.arrayByteLength=Y;r.arraysToBytes=J;r.assert=T;r.bytesToString=V;r.createPromiseCapability=be;r.createObjectURL=ye;r.deprecated=I;r.getInheritableProperty=ie;r.getLookupTableFactory=D;r.getVerbosityLevel=_;r.info=A;r.isArrayBuffer=me;r.isBool=de;r.isEmptyObj=he;r.isNum=ve;r.isString=ge;r.isSpace=pe;r.isSameOrigin=E;r.createValidAbsoluteUrl=R;r.isLittleEndian=te;r.isEvalSupported=ae;r.log2=Q;r.readInt8=$;r.readUint16=ee;r.readUint32=re;r.removeNullCharacters=X;r.ReadableStream=i.ReadableStream;r.URL=n.URL;r.setVerbosityLevel=x;r.shadow=B;r.string32=Z;r.stringToBytes=K;r.stringToPDFString=ce;r.stringToUTF8String=ue;r.utf8StringToString=fe;r.warn=P;r.unreachable=O},function(e,r,t){"use strict";var a=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol==="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};var i=t(4);if(!i._pdfjsCompatibilityChecked){i._pdfjsCompatibilityChecked=true;var n=t(5);var o=(typeof window==="undefined"?"undefined":a(window))==="object"&&(typeof document==="undefined"?"undefined":a(document))==="object";(function e(){if(i.btoa||!n()){return}i.btoa=function(e){return Buffer.from(e,"binary").toString("base64")}})();(function e(){if(i.atob||!n()){return}i.atob=function(e){return Buffer.from(e,"base64").toString("binary")}})();(function e(){if(!o){return}if("currentScript"in document){return}Object.defineProperty(document,"currentScript",{get:function e(){var r=document.getElementsByTagName("script");return r[r.length-1]},enumerable:true,configurable:true})})();(function e(){if(!o){return}if(typeof Element.prototype.remove!=="undefined"){return}Element.prototype.remove=function(){if(this.parentNode){this.parentNode.removeChild(this)}}})();(function e(){if(!o||n()){return}var r=document.createElement("div");if(r.classList.toggle("test",0)===false){return}var t=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(e){if(arguments.length>1){var r=!!arguments[1];return this[r?"add":"remove"](e),r}return t(e)}})();(function e(){if(String.prototype.includes){return}t(6)})();(function e(){if(Array.prototype.includes){return}t(34)})();(function e(){if(Object.assign){return}t(43)})();(function e(){if(Math.log2){return}Math.log2=t(53)})();(function e(){if(Number.isNaN){return}Number.isNaN=t(55)})();(function e(){if(Number.isInteger){return}Number.isInteger=t(57)})();(function e(){if(i.Promise){return}i.Promise=t(60)})();(function e(){if(i.WeakMap){return}i.WeakMap=t(95)})();(function e(){if(String.codePointAt){return}String.codePointAt=t(112)})();(function e(){if(String.fromCodePoint){return}String.fromCodePoint=t(114)})();(function e(){if(i.Symbol){return}t(116)})();(function e(){if(Object.values){return}Object.values=t(123)})()}},function(e,r,t){"use strict";e.exports=typeof window!=="undefined"&&window.Math===Math?window:typeof global!=="undefined"&&global.Math===Math?global:typeof self!=="undefined"&&self.Math===Math?self:{}},function(e,r,t){"use strict";var a=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol==="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};e.exports=function e(){return(typeof process==="undefined"?"undefined":a(process))==="object"&&process+""==="[object process]"}},function(e,r,t){"use strict";t(7);e.exports=t(10).String.includes},function(e,r,t){"use strict";var a=t(8);var i=t(26);var n="includes";a(a.P+a.F*t(33)(n),"String",{includes:function e(r){return!!~i(this,r,n).indexOf(r,arguments.length>1?arguments[1]:undefined)}})},function(e,r,t){"use strict";var a=t(9);var i=t(10);var n=t(11);var o=t(21);var s=t(24);var l="prototype";var c=function e(r,t,c){var u=r&e.F;var f=r&e.G;var h=r&e.S;var d=r&e.P;var v=r&e.B;var g=f?a:h?a[t]||(a[t]={}):(a[t]||{})[l];var m=f?i:i[t]||(i[t]={});var p=m[l]||(m[l]={});var b,y,w,k;if(f)c=t;for(b in c){y=!u&&g&&g[b]!==undefined;w=(y?g:c)[b];k=v&&y?s(w,a):d&&typeof w=="function"?s(Function.call,w):w;if(g)o(g,b,w,r&e.U);if(m[b]!=w)n(m,b,k);if(d&&p[b]!=w)p[b]=w}};a.core=i;c.F=1;c.G=2;c.S=4;c.P=8;c.B=16;c.W=32;c.U=64;c.R=128;e.exports=c},function(e,r,t){"use strict";var a=e.exports=typeof window!="undefined"&&window.Math==Math?window:typeof self!="undefined"&&self.Math==Math?self:Function("return this")();if(typeof __g=="number")__g=a},function(e,r,t){"use strict";var a=e.exports={version:"2.6.2"};if(typeof __e=="number")__e=a},function(e,r,t){"use strict";var a=t(12);var i=t(20);e.exports=t(16)?function(e,r,t){return a.f(e,r,i(1,t))}:function(e,r,t){e[r]=t;return e}},function(e,r,t){"use strict";var a=t(13);var i=t(15);var n=t(19);var o=Object.defineProperty;r.f=t(16)?Object.defineProperty:function e(r,t,s){a(r);t=n(t,true);a(s);if(i)try{return o(r,t,s)}catch(e){}if("get"in s||"set"in s)throw TypeError("Accessors not supported!");if("value"in s)r[t]=s.value;return r}},function(e,r,t){"use strict";var a=t(14);e.exports=function(e){if(!a(e))throw TypeError(e+" is not an object!");return e}},function(e,r,t){"use strict";var a=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol==="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};e.exports=function(e){return(typeof e==="undefined"?"undefined":a(e))==="object"?e!==null:typeof e==="function"}},function(e,r,t){"use strict";e.exports=!t(16)&&!t(17)(function(){return Object.defineProperty(t(18)("div"),"a",{get:function e(){return 7}}).a!=7})},function(e,r,t){"use strict";e.exports=!t(17)(function(){return Object.defineProperty({},"a",{get:function e(){return 7}}).a!=7})},function(e,r,t){"use strict";e.exports=function(e){try{return!!e()}catch(e){return true}}},function(e,r,t){"use strict";var a=t(14);var i=t(9).document;var n=a(i)&&a(i.createElement);e.exports=function(e){return n?i.createElement(e):{}}},function(e,r,t){"use strict";var a=t(14);e.exports=function(e,r){if(!a(e))return e;var t,i;if(r&&typeof(t=e.toString)=="function"&&!a(i=t.call(e)))return i;if(typeof(t=e.valueOf)=="function"&&!a(i=t.call(e)))return i;if(!r&&typeof(t=e.toString)=="function"&&!a(i=t.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},function(e,r,t){"use strict";e.exports=function(e,r){return{enumerable:!(e&1),configurable:!(e&2),writable:!(e&4),value:r}}},function(e,r,t){"use strict";var a=t(9);var i=t(11);var n=t(22);var o=t(23)("src");var s="toString";var l=Function[s];var c=(""+l).split(s);t(10).inspectSource=function(e){return l.call(e)};(e.exports=function(e,r,t,s){var l=typeof t=="function";if(l)n(t,"name")||i(t,"name",r);if(e[r]===t)return;if(l)n(t,o)||i(t,o,e[r]?""+e[r]:c.join(String(r)));if(e===a){e[r]=t}else if(!s){delete e[r];i(e,r,t)}else if(e[r]){e[r]=t}else{i(e,r,t)}})(Function.prototype,s,function e(){return typeof this=="function"&&this[o]||l.call(this)})},function(e,r,t){"use strict";var a={}.hasOwnProperty;e.exports=function(e,r){return a.call(e,r)}},function(e,r,t){"use strict";var a=0;var i=Math.random();e.exports=function(e){return"Symbol(".concat(e===undefined?"":e,")_",(++a+i).toString(36))}},function(e,r,t){"use strict";var a=t(25);e.exports=function(e,r,t){a(e);if(r===undefined)return e;switch(t){case 1:return function(t){return e.call(r,t)};case 2:return function(t,a){return e.call(r,t,a)};case 3:return function(t,a,i){return e.call(r,t,a,i)}}return function(){return e.apply(r,arguments)}}},function(e,r,t){"use strict";e.exports=function(e){if(typeof e!="function")throw TypeError(e+" is not a function!");return e}},function(e,r,t){"use strict";var a=t(27);var i=t(32);e.exports=function(e,r,t){if(a(r))throw TypeError("String#"+t+" doesn't accept regex!");return String(i(e))}},function(e,r,t){"use strict";var a=t(14);var i=t(28);var n=t(29)("match");e.exports=function(e){var r;return a(e)&&((r=e[n])!==undefined?!!r:i(e)=="RegExp")}},function(e,r,t){"use strict";var a={}.toString;e.exports=function(e){return a.call(e).slice(8,-1)}},function(e,r,t){"use strict";var a=t(30)("wks");var i=t(23);var n=t(9).Symbol;var o=typeof n=="function";var s=e.exports=function(e){return a[e]||(a[e]=o&&n[e]||(o?n:i)("Symbol."+e))};s.store=a},function(e,r,t){"use strict";var a=t(10);var i=t(9);var n="__core-js_shared__";var o=i[n]||(i[n]={});(e.exports=function(e,r){return o[e]||(o[e]=r!==undefined?r:{})})("versions",[]).push({version:a.version,mode:t(31)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(e,r,t){"use strict";e.exports=false},function(e,r,t){"use strict";e.exports=function(e){if(e==undefined)throw TypeError("Can't call method on "+e);return e}},function(e,r,t){"use strict";var a=t(29)("match");e.exports=function(e){var r=/./;try{"/./"[e](r)}catch(t){try{r[a]=false;return!"/./"[e](r)}catch(e){}}return true}},function(e,r,t){"use strict";t(35);e.exports=t(10).Array.includes},function(e,r,t){"use strict";var a=t(8);var i=t(36)(true);a(a.P,"Array",{includes:function e(r){return i(this,r,arguments.length>1?arguments[1]:undefined)}});t(42)("includes")},function(e,r,t){"use strict";var a=t(37);var i=t(39);var n=t(41);e.exports=function(e){return function(r,t,o){var s=a(r);var l=i(s.length);var c=n(o,l);var u;if(e&&t!=t)while(l>c){u=s[c++];if(u!=u)return true}else for(;l>c;c++){if(e||c in s){if(s[c]===t)return e||c||0}}return!e&&-1}}},function(e,r,t){"use strict";var a=t(38);var i=t(32);e.exports=function(e){return a(i(e))}},function(e,r,t){"use strict";var a=t(28);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return a(e)=="String"?e.split(""):Object(e)}},function(e,r,t){"use strict";var a=t(40);var i=Math.min;e.exports=function(e){return e>0?i(a(e),9007199254740991):0}},function(e,r,t){"use strict";var a=Math.ceil;var i=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?i:a)(e)}},function(e,r,t){"use strict";var a=t(40);var i=Math.max;var n=Math.min;e.exports=function(e,r){e=a(e);return e<0?i(e+r,0):n(e,r)}},function(e,r,t){"use strict";var a=t(29)("unscopables");var i=Array.prototype;if(i[a]==undefined)t(11)(i,a,{});e.exports=function(e){i[a][e]=true}},function(e,r,t){"use strict";t(44);e.exports=t(10).Object.assign},function(e,r,t){"use strict";var a=t(8);a(a.S+a.F,"Object",{assign:t(45)})},function(e,r,t){"use strict";var a=t(46);var i=t(50);var n=t(51);var o=t(52);var s=t(38);var l=Object.assign;e.exports=!l||t(17)(function(){var e={};var r={};var t=Symbol();var a="abcdefghijklmnopqrst";e[t]=7;a.split("").forEach(function(e){r[e]=e});return l({},e)[t]!=7||Object.keys(l({},r)).join("")!=a})?function e(r,t){var l=o(r);var c=arguments.length;var u=1;var f=i.f;var h=n.f;while(c>u){var d=s(arguments[u++]);var v=f?a(d).concat(f(d)):a(d);var g=v.length;var m=0;var p;while(g>m){if(h.call(d,p=v[m++]))l[p]=d[p]}}return l}:l},function(e,r,t){"use strict";var a=t(47);var i=t(49);e.exports=Object.keys||function e(r){return a(r,i)}},function(e,r,t){"use strict";var a=t(22);var i=t(37);var n=t(36)(false);var o=t(48)("IE_PROTO");e.exports=function(e,r){var t=i(e);var s=0;var l=[];var c;for(c in t){if(c!=o)a(t,c)&&l.push(c)}while(r.length>s){if(a(t,c=r[s++])){~n(l,c)||l.push(c)}}return l}},function(e,r,t){"use strict";var a=t(30)("keys");var i=t(23);e.exports=function(e){return a[e]||(a[e]=i(e))}},function(e,r,t){"use strict";e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,r,t){"use strict";r.f=Object.getOwnPropertySymbols},function(e,r,t){"use strict";r.f={}.propertyIsEnumerable},function(e,r,t){"use strict";var a=t(32);e.exports=function(e){return Object(a(e))}},function(e,r,t){"use strict";t(54);e.exports=t(10).Math.log2},function(e,r,t){"use strict";var a=t(8);a(a.S,"Math",{log2:function e(r){return Math.log(r)/Math.LN2}})},function(e,r,t){"use strict";t(56);e.exports=t(10).Number.isNaN},function(e,r,t){"use strict";var a=t(8);a(a.S,"Number",{isNaN:function e(r){return r!=r}})},function(e,r,t){"use strict";t(58);e.exports=t(10).Number.isInteger},function(e,r,t){"use strict";var a=t(8);a(a.S,"Number",{isInteger:t(59)})},function(e,r,t){"use strict";var a=t(14);var i=Math.floor;e.exports=function e(r){return!a(r)&&isFinite(r)&&i(r)===r}},function(e,r,t){"use strict";t(61);t(63);t(73);t(76);t(93);t(94);e.exports=t(10).Promise},function(e,r,t){"use strict";var a=t(62);var i={};i[t(29)("toStringTag")]="z";if(i+""!="[object z]"){t(21)(Object.prototype,"toString",function e(){return"[object "+a(this)+"]"},true)}},function(e,r,t){"use strict";var a=t(28);var i=t(29)("toStringTag");var n=a(function(){return arguments}())=="Arguments";var o=function e(r,t){try{return r[t]}catch(e){}};e.exports=function(e){var r,t,s;return e===undefined?"Undefined":e===null?"Null":typeof(t=o(r=Object(e),i))=="string"?t:n?a(r):(s=a(r))=="Object"&&typeof r.callee=="function"?"Arguments":s}},function(e,r,t){"use strict";var a=t(64)(true);t(65)(String,"String",function(e){this._t=String(e);this._i=0},function(){var e=this._t;var r=this._i;var t;if(r>=e.length)return{value:undefined,done:true};t=a(e,r);this._i+=t.length;return{value:t,done:false}})},function(e,r,t){"use strict";var a=t(40);var i=t(32);e.exports=function(e){return function(r,t){var n=String(i(r));var o=a(t);var s=n.length;var l,c;if(o<0||o>=s)return e?"":undefined;l=n.charCodeAt(o);return l<55296||l>56319||o+1===s||(c=n.charCodeAt(o+1))<56320||c>57343?e?n.charAt(o):l:e?n.slice(o,o+2):(l-55296<<10)+(c-56320)+65536}}},function(e,r,t){"use strict";var a=t(31);var i=t(8);var n=t(21);var o=t(11);var s=t(66);var l=t(67);var c=t(71);var u=t(72);var f=t(29)("iterator");var h=!([].keys&&"next"in[].keys());var d="@@iterator";var v="keys";var g="values";var m=function e(){return this};e.exports=function(e,r,t,p,b,y,w){l(t,r,p);var k=function e(r){if(!h&&r in _)return _[r];switch(r){case v:return function e(){return new t(this,r)};case g:return function e(){return new t(this,r)}}return function e(){return new t(this,r)}};var S=r+" Iterator";var C=b==g;var x=false;var _=e.prototype;var A=_[f]||_[d]||b&&_[b];var P=A||k(b);var I=b?!C?P:k("entries"):undefined;var O=r=="Array"?_.entries||A:A;var T,E,F;if(O){F=u(O.call(new e));if(F!==Object.prototype&&F.next){c(F,S,true);if(!a&&typeof F[f]!="function")o(F,f,m)}}if(C&&A&&A.name!==g){x=true;P=function e(){return A.call(this)}}if((!a||w)&&(h||x||!_[f])){o(_,f,P)}s[r]=P;s[S]=m;if(b){T={values:C?P:k(g),keys:y?P:k(v),entries:I};if(w)for(E in T){if(!(E in _))n(_,E,T[E])}else i(i.P+i.F*(h||x),r,T)}return T}},function(e,r,t){"use strict";e.exports={}},function(e,r,t){"use strict";var a=t(68);var i=t(20);var n=t(71);var o={};t(11)(o,t(29)("iterator"),function(){return this});e.exports=function(e,r,t){e.prototype=a(o,{next:i(1,t)});n(e,r+" Iterator")}},function(e,r,t){"use strict";var a=t(13);var i=t(69);var n=t(49);var o=t(48)("IE_PROTO");var s=function e(){};var l="prototype";var c=function e(){var r=t(18)("iframe");var a=n.length;var i="<";var o=">";var s;r.style.display="none";t(70).appendChild(r);r.src="javascript:";s=r.contentWindow.document;s.open();s.write(i+"script"+o+"document.F=Object"+i+"/script"+o);s.close();c=s.F;while(a--){delete c[l][n[a]]}return c()};e.exports=Object.create||function e(r,t){var n;if(r!==null){s[l]=a(r);n=new s;s[l]=null;n[o]=r}else n=c();return t===undefined?n:i(n,t)}},function(e,r,t){"use strict";var a=t(12);var i=t(13);var n=t(46);e.exports=t(16)?Object.defineProperties:function e(r,t){i(r);var o=n(t);var s=o.length;var l=0;var c;while(s>l){a.f(r,c=o[l++],t[c])}return r}},function(e,r,t){"use strict";var a=t(9).document;e.exports=a&&a.documentElement},function(e,r,t){"use strict";var a=t(12).f;var i=t(22);var n=t(29)("toStringTag");e.exports=function(e,r,t){if(e&&!i(e=t?e:e.prototype,n))a(e,n,{configurable:true,value:r})}},function(e,r,t){"use strict";var a=t(22);var i=t(52);var n=t(48)("IE_PROTO");var o=Object.prototype;e.exports=Object.getPrototypeOf||function(e){e=i(e);if(a(e,n))return e[n];if(typeof e.constructor=="function"&&e instanceof e.constructor){return e.constructor.prototype}return e instanceof Object?o:null}},function(e,r,t){"use strict";var a=t(74);var i=t(46);var n=t(21);var o=t(9);var s=t(11);var l=t(66);var c=t(29);var u=c("iterator");var f=c("toStringTag");var h=l.Array;var d={CSSRuleList:true,CSSStyleDeclaration:false,CSSValueList:false,ClientRectList:false,DOMRectList:false,DOMStringList:false,DOMTokenList:true,DataTransferItemList:false,FileList:false,HTMLAllCollection:false,HTMLCollection:false,HTMLFormElement:false,HTMLSelectElement:false,MediaList:true,MimeTypeArray:false,NamedNodeMap:false,NodeList:true,PaintRequestList:false,Plugin:false,PluginArray:false,SVGLengthList:false,SVGNumberList:false,SVGPathSegList:false,SVGPointList:false,SVGStringList:false,SVGTransformList:false,SourceBufferList:false,StyleSheetList:true,TextTrackCueList:false,TextTrackList:false,TouchList:false};for(var v=i(d),g=0;g<v.length;g++){var m=v[g];var p=d[m];var b=o[m];var y=b&&b.prototype;var w;if(y){if(!y[u])s(y,u,h);if(!y[f])s(y,f,m);l[m]=h;if(p)for(w in a){if(!y[w])n(y,w,a[w],true)}}}},function(e,r,t){"use strict";var a=t(42);var i=t(75);var n=t(66);var o=t(37);e.exports=t(65)(Array,"Array",function(e,r){this._t=o(e);this._i=0;this._k=r},function(){var e=this._t;var r=this._k;var t=this._i++;if(!e||t>=e.length){this._t=undefined;return i(1)}if(r=="keys")return i(0,t);if(r=="values")return i(0,e[t]);return i(0,[t,e[t]])},"values");n.Arguments=n.Array;a("keys");a("values");a("entries")},function(e,r,t){"use strict";e.exports=function(e,r){return{value:r,done:!!e}}},function(e,r,t){"use strict";var a=t(31);var i=t(9);var n=t(24);var o=t(62);var s=t(8);var l=t(14);var c=t(25);var u=t(77);var f=t(78);var h=t(82);var d=t(83).set;var v=t(85)();var g=t(86);var m=t(87);var p=t(88);var b=t(89);var y="Promise";var w=i.TypeError;var k=i.process;var S=k&&k.versions;var C=S&&S.v8||"";var x=i[y];var _=o(k)=="process";var A=function e(){};var P,I,O,T;var E=I=g.f;var F=!!function(){try{var e=x.resolve(1);var r=(e.constructor={})[t(29)("species")]=function(e){e(A,A)};return(_||typeof PromiseRejectionEvent=="function")&&e.then(A)instanceof r&&C.indexOf("6.6")!==0&&p.indexOf("Chrome/66")===-1}catch(e){}}();var R=function e(r){var t;return l(r)&&typeof(t=r.then)=="function"?t:false};var B=function e(r,t){if(r._n)return;r._n=true;var a=r._c;v(function(){var e=r._v;var i=r._s==1;var n=0;var o=function t(a){var n=i?a.ok:a.fail;var o=a.resolve;var s=a.reject;var l=a.domain;var c,u,f;try{if(n){if(!i){if(r._h==2)L(r);r._h=1}if(n===true)c=e;else{if(l)l.enter();c=n(e);if(l){l.exit();f=true}}if(c===a.promise){s(w("Promise-chain cycle"))}else if(u=R(c)){u.call(c,o,s)}else o(c)}else s(e)}catch(e){if(l&&!f)l.exit();s(e)}};while(a.length>n){o(a[n++])}r._c=[];r._n=false;if(t&&!r._h)D(r)})};var D=function e(r){d.call(i,function(){var e=r._v;var t=M(r);var a,n,o;if(t){a=m(function(){if(_){k.emit("unhandledRejection",e,r)}else if(n=i.onunhandledrejection){n({promise:r,reason:e})}else if((o=i.console)&&o.error){o.error("Unhandled promise rejection",e)}});r._h=_||M(r)?2:1}r._a=undefined;if(t&&a.e)throw a.v})};var M=function e(r){return r._h!==1&&(r._a||r._c).length===0};var L=function e(r){d.call(i,function(){var e;if(_){k.emit("rejectionHandled",r)}else if(e=i.onrejectionhandled){e({promise:r,reason:r._v})}})};var N=function e(r){var t=this;if(t._d)return;t._d=true;t=t._w||t;t._v=r;t._s=2;if(!t._a)t._a=t._c.slice();B(t,true)};var U=function e(r){var t=this;var a;if(t._d)return;t._d=true;t=t._w||t;try{if(t===r)throw w("Promise can't be resolved itself");if(a=R(r)){v(function(){var i={_w:t,_d:false};try{a.call(r,n(e,i,1),n(N,i,1))}catch(e){N.call(i,e)}})}else{t._v=r;t._s=1;B(t,false)}}catch(e){N.call({_w:t,_d:false},e)}};if(!F){x=function e(r){u(this,x,y,"_h");c(r);P.call(this);try{r(n(U,this,1),n(N,this,1))}catch(e){N.call(this,e)}};P=function e(r){this._c=[];this._a=undefined;this._s=0;this._d=false;this._v=undefined;this._h=0;this._n=false};P.prototype=t(90)(x.prototype,{then:function e(r,t){var a=E(h(this,x));a.ok=typeof r=="function"?r:true;a.fail=typeof t=="function"&&t;a.domain=_?k.domain:undefined;this._c.push(a);if(this._a)this._a.push(a);if(this._s)B(this,false);return a.promise},catch:function e(r){return this.then(undefined,r)}});O=function e(){var r=new P;this.promise=r;this.resolve=n(U,r,1);this.reject=n(N,r,1)};g.f=E=function e(r){return r===x||r===T?new O(r):I(r)}}s(s.G+s.W+s.F*!F,{Promise:x});t(71)(x,y);t(91)(y);T=t(10)[y];s(s.S+s.F*!F,y,{reject:function e(r){var t=E(this);var a=t.reject;a(r);return t.promise}});s(s.S+s.F*(a||!F),y,{resolve:function e(r){return b(a&&this===T?x:this,r)}});s(s.S+s.F*!(F&&t(92)(function(e){x.all(e)["catch"](A)})),y,{all:function e(r){var t=this;var a=E(t);var i=a.resolve;var n=a.reject;var o=m(function(){var e=[];var a=0;var o=1;f(r,false,function(r){var s=a++;var l=false;e.push(undefined);o++;t.resolve(r).then(function(r){if(l)return;l=true;e[s]=r;--o||i(e)},n)});--o||i(e)});if(o.e)n(o.v);return a.promise},race:function e(r){var t=this;var a=E(t);var i=a.reject;var n=m(function(){f(r,false,function(e){t.resolve(e).then(a.resolve,i)})});if(n.e)i(n.v);return a.promise}})},function(e,r,t){"use strict";e.exports=function(e,r,t,a){if(!(e instanceof r)||a!==undefined&&a in e){throw TypeError(t+": incorrect invocation!")}return e}},function(e,r,t){"use strict";var a=t(24);var i=t(79);var n=t(80);var o=t(13);var s=t(39);var l=t(81);var c={};var u={};var f=e.exports=function(e,r,t,f,h){var d=h?function(){return e}:l(e);var v=a(t,f,r?2:1);var g=0;var m,p,b,y;if(typeof d!="function")throw TypeError(e+" is not iterable!");if(n(d))for(m=s(e.length);m>g;g++){y=r?v(o(p=e[g])[0],p[1]):v(e[g]);if(y===c||y===u)return y}else for(b=d.call(e);!(p=b.next()).done;){y=i(b,v,p.value,r);if(y===c||y===u)return y}};f.BREAK=c;f.RETURN=u},function(e,r,t){"use strict";var a=t(13);e.exports=function(e,r,t,i){try{return i?r(a(t)[0],t[1]):r(t)}catch(r){var n=e["return"];if(n!==undefined)a(n.call(e));throw r}}},function(e,r,t){"use strict";var a=t(66);var i=t(29)("iterator");var n=Array.prototype;e.exports=function(e){return e!==undefined&&(a.Array===e||n[i]===e)}},function(e,r,t){"use strict";var a=t(62);var i=t(29)("iterator");var n=t(66);e.exports=t(10).getIteratorMethod=function(e){if(e!=undefined)return e[i]||e["@@iterator"]||n[a(e)]}},function(e,r,t){"use strict";var a=t(13);var i=t(25);var n=t(29)("species");e.exports=function(e,r){var t=a(e).constructor;var o;return t===undefined||(o=a(t)[n])==undefined?r:i(o)}},function(e,r,t){"use strict";var a=t(24);var i=t(84);var n=t(70);var o=t(18);var s=t(9);var l=s.process;var c=s.setImmediate;var u=s.clearImmediate;var f=s.MessageChannel;var h=s.Dispatch;var d=0;var v={};var g="onreadystatechange";var m,p,b;var y=function e(){var r=+this;if(v.hasOwnProperty(r)){var t=v[r];delete v[r];t()}};var w=function e(r){y.call(r.data)};if(!c||!u){c=function e(r){var t=[];var a=1;while(arguments.length>a){t.push(arguments[a++])}v[++d]=function(){i(typeof r=="function"?r:Function(r),t)};m(d);return d};u=function e(r){delete v[r]};if(t(28)(l)=="process"){m=function e(r){l.nextTick(a(y,r,1))}}else if(h&&h.now){m=function e(r){h.now(a(y,r,1))}}else if(f){p=new f;b=p.port2;p.port1.onmessage=w;m=a(b.postMessage,b,1)}else if(s.addEventListener&&typeof postMessage=="function"&&!s.importScripts){m=function e(r){s.postMessage(r+"","*")};s.addEventListener("message",w,false)}else if(g in o("script")){m=function e(r){n.appendChild(o("script"))[g]=function(){n.removeChild(this);y.call(r)}}}else{m=function e(r){setTimeout(a(y,r,1),0)}}}e.exports={set:c,clear:u}},function(e,r,t){"use strict";e.exports=function(e,r,t){var a=t===undefined;switch(r.length){case 0:return a?e():e.call(t);case 1:return a?e(r[0]):e.call(t,r[0]);case 2:return a?e(r[0],r[1]):e.call(t,r[0],r[1]);case 3:return a?e(r[0],r[1],r[2]):e.call(t,r[0],r[1],r[2]);case 4:return a?e(r[0],r[1],r[2],r[3]):e.call(t,r[0],r[1],r[2],r[3])}return e.apply(t,r)}},function(e,r,t){"use strict";var a=t(9);var i=t(83).set;var n=a.MutationObserver||a.WebKitMutationObserver;var o=a.process;var s=a.Promise;var l=t(28)(o)=="process";e.exports=function(){var e,r,t;var c=function a(){var i,n;if(l&&(i=o.domain))i.exit();while(e){n=e.fn;e=e.next;try{n()}catch(a){if(e)t();else r=undefined;throw a}}r=undefined;if(i)i.enter()};if(l){t=function e(){o.nextTick(c)}}else if(n&&!(a.navigator&&a.navigator.standalone)){var u=true;var f=document.createTextNode("");new n(c).observe(f,{characterData:true});t=function e(){f.data=u=!u}}else if(s&&s.resolve){var h=s.resolve(undefined);t=function e(){h.then(c)}}else{t=function e(){i.call(a,c)}}return function(a){var i={fn:a,next:undefined};if(r)r.next=i;if(!e){e=i;t()}r=i}}},function(e,r,t){"use strict";var a=t(25);function i(e){var r,t;this.promise=new e(function(e,a){if(r!==undefined||t!==undefined)throw TypeError("Bad Promise constructor");r=e;t=a});this.resolve=a(r);this.reject=a(t)}e.exports.f=function(e){return new i(e)}},function(e,r,t){"use strict";e.exports=function(e){try{return{e:false,v:e()}}catch(e){return{e:true,v:e}}}},function(e,r,t){"use strict";var a=t(9);var i=a.navigator;e.exports=i&&i.userAgent||""},function(e,r,t){"use strict";var a=t(13);var i=t(14);var n=t(86);e.exports=function(e,r){a(e);if(i(r)&&r.constructor===e)return r;var t=n.f(e);var o=t.resolve;o(r);return t.promise}},function(e,r,t){"use strict";var a=t(21);e.exports=function(e,r,t){for(var i in r){a(e,i,r[i],t)}return e}},function(e,r,t){"use strict";var a=t(9);var i=t(12);var n=t(16);var o=t(29)("species");e.exports=function(e){var r=a[e];if(n&&r&&!r[o])i.f(r,o,{configurable:true,get:function e(){return this}})}},function(e,r,t){"use strict";var a=t(29)("iterator");var i=false;try{var n=[7][a]();n["return"]=function(){i=true};Array.from(n,function(){throw 2})}catch(e){}e.exports=function(e,r){if(!r&&!i)return false;var t=false;try{var n=[7];var o=n[a]();o.next=function(){return{done:t=true}};n[a]=function(){return o};e(n)}catch(e){}return t}},function(e,r,t){"use strict";var a=t(8);var i=t(10);var n=t(9);var o=t(82);var s=t(89);a(a.P+a.R,"Promise",{finally:function e(r){var t=o(this,i.Promise||n.Promise);var a=typeof r=="function";return this.then(a?function(e){return s(t,r()).then(function(){return e})}:r,a?function(e){return s(t,r()).then(function(){throw e})}:r)}})},function(e,r,t){"use strict";var a=t(8);var i=t(86);var n=t(87);a(a.S,"Promise",{try:function e(r){var t=i.f(this);var a=n(r);(a.e?t.reject:t.resolve)(a.v);return t.promise}})},function(e,r,t){"use strict";t(61);t(73);t(96);t(108);t(110);e.exports=t(10).WeakMap},function(e,r,t){"use strict";var a=t(97)(0);var i=t(21);var n=t(101);var o=t(45);var s=t(102);var l=t(14);var c=t(17);var u=t(103);var f="WeakMap";var h=n.getWeak;var d=Object.isExtensible;var v=s.ufstore;var g={};var m;var p=function e(r){return function e(){return r(this,arguments.length>0?arguments[0]:undefined)}};var b={get:function e(r){if(l(r)){var t=h(r);if(t===true)return v(u(this,f)).get(r);return t?t[this._i]:undefined}},set:function e(r,t){return s.def(u(this,f),r,t)}};var y=e.exports=t(104)(f,p,b,s,true,true);if(c(function(){return(new y).set((Object.freeze||Object)(g),7).get(g)!=7})){m=s.getConstructor(p,f);o(m.prototype,b);n.NEED=true;a(["delete","has","get","set"],function(e){var r=y.prototype;var t=r[e];i(r,e,function(r,a){if(l(r)&&!d(r)){if(!this._f)this._f=new m;var i=this._f[e](r,a);return e=="set"?this:i}return t.call(this,r,a)})})}},function(e,r,t){"use strict";var a=t(24);var i=t(38);var n=t(52);var o=t(39);var s=t(98);e.exports=function(e,r){var t=e==1;var l=e==2;var c=e==3;var u=e==4;var f=e==6;var h=e==5||f;var d=r||s;return function(r,s,v){var g=n(r);var m=i(g);var p=a(s,v,3);var b=o(m.length);var y=0;var w=t?d(r,b):l?d(r,0):undefined;var k,S;for(;b>y;y++){if(h||y in m){k=m[y];S=p(k,y,g);if(e){if(t)w[y]=S;else if(S)switch(e){case 3:return true;case 5:return k;case 6:return y;case 2:w.push(k)}else if(u)return false}}}return f?-1:c||u?u:w}}},function(e,r,t){"use strict";var a=t(99);e.exports=function(e,r){return new(a(e))(r)}},function(e,r,t){"use strict";var a=t(14);var i=t(100);var n=t(29)("species");e.exports=function(e){var r;if(i(e)){r=e.constructor;if(typeof r=="function"&&(r===Array||i(r.prototype)))r=undefined;if(a(r)){r=r[n];if(r===null)r=undefined}}return r===undefined?Array:r}},function(e,r,t){"use strict";var a=t(28);e.exports=Array.isArray||function e(r){return a(r)=="Array"}},function(e,r,t){"use strict";var a=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol==="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};var i=t(23)("meta");var n=t(14);var o=t(22);var s=t(12).f;var l=0;var c=Object.isExtensible||function(){return true};var u=!t(17)(function(){return c(Object.preventExtensions({}))});var f=function e(r){s(r,i,{value:{i:"O"+ ++l,w:{}}})};var h=function e(r,t){if(!n(r))return(typeof r==="undefined"?"undefined":a(r))=="symbol"?r:(typeof r=="string"?"S":"P")+r;if(!o(r,i)){if(!c(r))return"F";if(!t)return"E";f(r)}return r[i].i};var d=function e(r,t){if(!o(r,i)){if(!c(r))return true;if(!t)return false;f(r)}return r[i].w};var v=function e(r){if(u&&g.NEED&&c(r)&&!o(r,i))f(r);return r};var g=e.exports={KEY:i,NEED:false,fastKey:h,getWeak:d,onFreeze:v}},function(e,r,t){"use strict";var a=t(90);var i=t(101).getWeak;var n=t(13);var o=t(14);var s=t(77);var l=t(78);var c=t(97);var u=t(22);var f=t(103);var h=c(5);var d=c(6);var v=0;var g=function e(r){return r._l||(r._l=new m)};var m=function e(){this.a=[]};var p=function e(r,t){return h(r.a,function(e){return e[0]===t})};m.prototype={get:function e(r){var t=p(this,r);if(t)return t[1]},has:function e(r){return!!p(this,r)},set:function e(r,t){var a=p(this,r);if(a)a[1]=t;else this.a.push([r,t])},delete:function e(r){var t=d(this.a,function(e){return e[0]===r});if(~t)this.a.splice(t,1);return!!~t}};e.exports={getConstructor:function e(r,t,n,c){var h=r(function(e,r){s(e,h,t,"_i");e._t=t;e._i=v++;e._l=undefined;if(r!=undefined)l(r,n,e[c],e)});a(h.prototype,{delete:function e(r){if(!o(r))return false;var a=i(r);if(a===true)return g(f(this,t))["delete"](r);return a&&u(a,this._i)&&delete a[this._i]},has:function e(r){if(!o(r))return false;var a=i(r);if(a===true)return g(f(this,t)).has(r);return a&&u(a,this._i)}});return h},def:function e(r,t,a){var o=i(n(t),true);if(o===true)g(r).set(t,a);else o[r._i]=a;return r},ufstore:g}},function(e,r,t){"use strict";var a=t(14);e.exports=function(e,r){if(!a(e)||e._t!==r)throw TypeError("Incompatible receiver, "+r+" required!");return e}},function(e,r,t){"use strict";var a=t(9);var i=t(8);var n=t(21);var o=t(90);var s=t(101);var l=t(78);var c=t(77);var u=t(14);var f=t(17);var h=t(92);var d=t(71);var v=t(105);e.exports=function(e,r,t,g,m,p){var b=a[e];var y=b;var w=m?"set":"add";var k=y&&y.prototype;var S={};var C=function e(r){var t=k[r];n(k,r,r=="delete"?function(e){return p&&!u(e)?false:t.call(this,e===0?0:e)}:r=="has"?function e(r){return p&&!u(r)?false:t.call(this,r===0?0:r)}:r=="get"?function e(r){return p&&!u(r)?undefined:t.call(this,r===0?0:r)}:r=="add"?function e(r){t.call(this,r===0?0:r);return this}:function e(r,a){t.call(this,r===0?0:r,a);return this})};if(typeof y!="function"||!(p||k.forEach&&!f(function(){(new y).entries().next()}))){y=g.getConstructor(r,e,m,w);o(y.prototype,t);s.NEED=true}else{var x=new y;var _=x[w](p?{}:-0,1)!=x;var A=f(function(){x.has(1)});var P=h(function(e){new y(e)});var I=!p&&f(function(){var e=new y;var r=5;while(r--){e[w](r,r)}return!e.has(-0)});if(!P){y=r(function(r,t){c(r,y,e);var a=v(new b,r,y);if(t!=undefined)l(t,m,a[w],a);return a});y.prototype=k;k.constructor=y}if(A||I){C("delete");C("has");m&&C("get")}if(I||_)C(w);if(p&&k.clear)delete k.clear}d(y,e);S[e]=y;i(i.G+i.W+i.F*(y!=b),S);if(!p)g.setStrong(y,e,m);return y}},function(e,r,t){"use strict";var a=t(14);var i=t(106).set;e.exports=function(e,r,t){var n=r.constructor;var o;if(n!==t&&typeof n=="function"&&(o=n.prototype)!==t.prototype&&a(o)&&i){i(e,o)}return e}},function(e,r,t){"use strict";var a=t(14);var i=t(13);var n=function e(r,t){i(r);if(!a(t)&&t!==null)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,r,a){try{a=t(24)(Function.call,t(107).f(Object.prototype,"__proto__").set,2);a(e,[]);r=!(e instanceof Array)}catch(e){r=true}return function e(t,i){n(t,i);if(r)t.__proto__=i;else a(t,i);return t}}({},false):undefined),check:n}},function(e,r,t){"use strict";var a=t(51);var i=t(20);var n=t(37);var o=t(19);var s=t(22);var l=t(15);var c=Object.getOwnPropertyDescriptor;r.f=t(16)?c:function e(r,t){r=n(r);t=o(t,true);if(l)try{return c(r,t)}catch(e){}if(s(r,t))return i(!a.f.call(r,t),r[t])}},function(e,r,t){"use strict";t(109)("WeakMap")},function(e,r,t){"use strict";var a=t(8);e.exports=function(e){a(a.S,e,{of:function e(){var r=arguments.length;var t=new Array(r);while(r--){t[r]=arguments[r]}return new this(t)}})}},function(e,r,t){"use strict";t(111)("WeakMap")},function(e,r,t){"use strict";var a=t(8);var i=t(25);var n=t(24);var o=t(78);e.exports=function(e){a(a.S,e,{from:function e(r){var t=arguments[1];var a,s,l,c;i(this);a=t!==undefined;if(a)i(t);if(r==undefined)return new this;s=[];if(a){l=0;c=n(t,arguments[2],2);o(r,false,function(e){s.push(c(e,l++))})}else{o(r,false,s.push,s)}return new this(s)}})}},function(e,r,t){"use strict";t(113);e.exports=t(10).String.codePointAt},function(e,r,t){"use strict";var a=t(8);var i=t(64)(false);a(a.P,"String",{codePointAt:function e(r){return i(this,r)}})},function(e,r,t){"use strict";t(115);e.exports=t(10).String.fromCodePoint},function(e,r,t){"use strict";var a=t(8);var i=t(41);var n=String.fromCharCode;var o=String.fromCodePoint;a(a.S+a.F*(!!o&&o.length!=1),"String",{fromCodePoint:function e(r){var t=[];var a=arguments.length;var o=0;var s;while(a>o){s=+arguments[o++];if(i(s,1114111)!==s)throw RangeError(s+" is not a valid code point");t.push(s<65536?n(s):n(((s-=65536)>>10)+55296,s%1024+56320))}return t.join("")}})},function(e,r,t){"use strict";t(117);t(61);e.exports=t(10).Symbol},function(e,r,t){"use strict";var a=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol==="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};var i=t(9);var n=t(22);var o=t(16);var s=t(8);var l=t(21);var c=t(101).KEY;var u=t(17);var f=t(30);var h=t(71);var d=t(23);var v=t(29);var g=t(118);var m=t(119);var p=t(120);var b=t(100);var y=t(13);var w=t(14);var k=t(37);var S=t(19);var C=t(20);var x=t(68);var _=t(121);var A=t(107);var P=t(12);var I=t(46);var O=A.f;var T=P.f;var E=_.f;var F=i.Symbol;var R=i.JSON;var B=R&&R.stringify;var D="prototype";var M=v("_hidden");var L=v("toPrimitive");var N={}.propertyIsEnumerable;var U=f("symbol-registry");var q=f("symbols");var j=f("op-symbols");var z=Object[D];var H=typeof F=="function";var G=i.QObject;var W=!G||!G[D]||!G[D].findChild;var X=o&&u(function(){return x(T({},"a",{get:function e(){return T(this,"a",{value:7}).a}})).a!=7})?function(e,r,t){var a=O(z,r);if(a)delete z[r];T(e,r,t);if(a&&e!==z)T(z,r,a)}:T;var V=function e(r){var t=q[r]=x(F[D]);t._k=r;return t};var K=H&&a(F.iterator)=="symbol"?function(e){return(typeof e==="undefined"?"undefined":a(e))=="symbol"}:function(e){return e instanceof F};var Y=function e(r,t,a){if(r===z)Y(j,t,a);y(r);t=S(t,true);y(a);if(n(q,t)){if(!a.enumerable){if(!n(r,M))T(r,M,C(1,{}));r[M][t]=true}else{if(n(r,M)&&r[M][t])r[M][t]=false;a=x(a,{enumerable:C(0,false)})}return X(r,t,a)}return T(r,t,a)};var J=function e(r,t){y(r);var a=p(t=k(t));var i=0;var n=a.length;var o;while(n>i){Y(r,o=a[i++],t[o])}return r};var Z=function e(r,t){return t===undefined?x(r):J(x(r),t)};var Q=function e(r){var t=N.call(this,r=S(r,true));if(this===z&&n(q,r)&&!n(j,r))return false;return t||!n(this,r)||!n(q,r)||n(this,M)&&this[M][r]?t:true};var $=function e(r,t){r=k(r);t=S(t,true);if(r===z&&n(q,t)&&!n(j,t))return;var a=O(r,t);if(a&&n(q,t)&&!(n(r,M)&&r[M][t]))a.enumerable=true;return a};var ee=function e(r){var t=E(k(r));var a=[];var i=0;var o;while(t.length>i){if(!n(q,o=t[i++])&&o!=M&&o!=c)a.push(o)}return a};var re=function e(r){var t=r===z;var a=E(t?j:k(r));var i=[];var o=0;var s;while(a.length>o){if(n(q,s=a[o++])&&(t?n(z,s):true))i.push(q[s])}return i};if(!H){F=function e(){if(this instanceof F)throw TypeError("Symbol is not a constructor!");var r=d(arguments.length>0?arguments[0]:undefined);var t=function e(t){if(this===z)e.call(j,t);if(n(this,M)&&n(this[M],r))this[M][r]=false;X(this,r,C(1,t))};if(o&&W)X(z,r,{configurable:true,set:t});return V(r)};l(F[D],"toString",function e(){return this._k});A.f=$;P.f=Y;t(122).f=_.f=ee;t(51).f=Q;t(50).f=re;if(o&&!t(31)){l(z,"propertyIsEnumerable",Q,true)}g.f=function(e){return V(v(e))}}s(s.G+s.W+s.F*!H,{Symbol:F});for(var te="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ae=0;te.length>ae;){v(te[ae++])}for(var ie=I(v.store),ne=0;ie.length>ne;){m(ie[ne++])}s(s.S+s.F*!H,"Symbol",{for:function e(r){return n(U,r+="")?U[r]:U[r]=F(r)},keyFor:function e(r){if(!K(r))throw TypeError(r+" is not a symbol!");for(var t in U){if(U[t]===r)return t}},useSetter:function e(){W=true},useSimple:function e(){W=false}});s(s.S+s.F*!H,"Object",{create:Z,defineProperty:Y,defineProperties:J,getOwnPropertyDescriptor:$,getOwnPropertyNames:ee,getOwnPropertySymbols:re});R&&s(s.S+s.F*(!H||u(function(){var e=F();return B([e])!="[null]"||B({a:e})!="{}"||B(Object(e))!="{}"})),"JSON",{stringify:function e(r){var t=[r];var a=1;var i,n;while(arguments.length>a){t.push(arguments[a++])}n=i=t[1];if(!w(i)&&r===undefined||K(r))return;if(!b(i))i=function e(r,t){if(typeof n=="function")t=n.call(this,r,t);if(!K(t))return t};t[1]=i;return B.apply(R,t)}});F[D][L]||t(11)(F[D],L,F[D].valueOf);h(F,"Symbol");h(Math,"Math",true);h(i.JSON,"JSON",true)},function(e,r,t){"use strict";r.f=t(29)},function(e,r,t){"use strict";var a=t(9);var i=t(10);var n=t(31);var o=t(118);var s=t(12).f;e.exports=function(e){var r=i.Symbol||(i.Symbol=n?{}:a.Symbol||{});if(e.charAt(0)!="_"&&!(e in r))s(r,e,{value:o.f(e)})}},function(e,r,t){"use strict";var a=t(46);var i=t(50);var n=t(51);e.exports=function(e){var r=a(e);var t=i.f;if(t){var o=t(e);var s=n.f;var l=0;var c;while(o.length>l){if(s.call(e,c=o[l++]))r.push(c)}}return r}},function(e,r,t){"use strict";var a=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol==="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};var i=t(37);var n=t(122).f;var o={}.toString;var s=(typeof window==="undefined"?"undefined":a(window))=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];var l=function e(r){try{return n(r)}catch(e){return s.slice()}};e.exports.f=function e(r){return s&&o.call(r)=="[object Window]"?l(r):n(i(r))}},function(e,r,t){"use strict";var a=t(47);var i=t(49).concat("length","prototype");r.f=Object.getOwnPropertyNames||function e(r){return a(r,i)}},function(e,r,t){"use strict";t(124);e.exports=t(10).Object.values},function(e,r,t){"use strict";var a=t(8);var i=t(125)(false);a(a.S,"Object",{values:function e(r){return i(r)}})},function(e,r,t){"use strict";var a=t(46);var i=t(37);var n=t(51).f;e.exports=function(e){return function(r){var t=i(r);var o=a(t);var s=o.length;var l=0;var c=[];var u;while(s>l){if(n.call(t,u=o[l++])){c.push(e?[u,t[u]]:t[u])}}return c}}},function(e,r,t){"use strict";var a=false;if(typeof ReadableStream!=="undefined"){try{new ReadableStream({start:function e(r){r.close()}});a=true}catch(e){}}if(a){r.ReadableStream=ReadableStream}else{r.ReadableStream=t(127).ReadableStream}},function(e,r,t){"use strict";var a=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol==="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};(function(e,r){for(var t in r){e[t]=r[t]}})(r,function(e){var r={};function t(a){if(r[a])return r[a].exports;var i=r[a]={i:a,l:false,exports:{}};e[a].call(i.exports,i,i.exports,t);i.l=true;return i.exports}t.m=e;t.c=r;t.i=function(e){return e};t.d=function(e,r,a){if(!t.o(e,r)){Object.defineProperty(e,r,{configurable:false,enumerable:true,get:a})}};t.n=function(e){var r=e&&e.__esModule?function r(){return e["default"]}:function r(){return e};t.d(r,"a",r);return r};t.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)};t.p="";return t(t.s=7)}([function(e,r,t){"use strict";var i=typeof Symbol==="function"&&a(Symbol.iterator)==="symbol"?function(e){return typeof e==="undefined"?"undefined":a(e)}:function(e){return e&&typeof Symbol==="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e==="undefined"?"undefined":a(e)};var n=t(1),o=n.assert;function s(e){return typeof e==="string"||(typeof e==="undefined"?"undefined":i(e))==="symbol"}r.typeIsObject=function(e){return(typeof e==="undefined"?"undefined":i(e))==="object"&&e!==null||typeof e==="function"};r.createDataProperty=function(e,t,a){o(r.typeIsObject(e));Object.defineProperty(e,t,{value:a,writable:true,enumerable:true,configurable:true})};r.createArrayFromList=function(e){return e.slice()};r.ArrayBufferCopy=function(e,r,t,a,i){new Uint8Array(e).set(new Uint8Array(t,a,i),r)};r.CreateIterResultObject=function(e,r){o(typeof r==="boolean");var t={};Object.defineProperty(t,"value",{value:e,enumerable:true,writable:true,configurable:true});Object.defineProperty(t,"done",{value:r,enumerable:true,writable:true,configurable:true});return t};r.IsFiniteNonNegativeNumber=function(e){if(Number.isNaN(e)){return false}if(e===Infinity){return false}if(e<0){return false}return true};function l(e,r,t){if(typeof e!=="function"){throw new TypeError("Argument is not a function")}return Function.prototype.apply.call(e,r,t)}r.InvokeOrNoop=function(e,r,t){o(e!==undefined);o(s(r));o(Array.isArray(t));var a=e[r];if(a===undefined){return undefined}return l(a,e,t)};r.PromiseInvokeOrNoop=function(e,t,a){o(e!==undefined);o(s(t));o(Array.isArray(a));try{return Promise.resolve(r.InvokeOrNoop(e,t,a))}catch(e){return Promise.reject(e)}};r.PromiseInvokeOrPerformFallback=function(e,r,t,a,i){o(e!==undefined);o(s(r));o(Array.isArray(t));o(Array.isArray(i));var n=void 0;try{n=e[r]}catch(e){return Promise.reject(e)}if(n===undefined){return a.apply(null,i)}try{return Promise.resolve(l(n,e,t))}catch(e){return Promise.reject(e)}};r.TransferArrayBuffer=function(e){return e.slice()};r.ValidateAndNormalizeHighWaterMark=function(e){e=Number(e);if(Number.isNaN(e)||e<0){throw new RangeError("highWaterMark property of a queuing strategy must be non-negative and non-NaN")}return e};r.ValidateAndNormalizeQueuingStrategy=function(e,t){if(e!==undefined&&typeof e!=="function"){throw new TypeError("size property of a queuing strategy must be a function")}t=r.ValidateAndNormalizeHighWaterMark(t);return{size:e,highWaterMark:t}}},function(e,r,t){"use strict";function a(e){if(e&&e.constructor===i){setTimeout(function(){throw e},0)}}function i(e){this.name="AssertionError";this.message=e||"";this.stack=(new Error).stack}i.prototype=Object.create(Error.prototype);i.prototype.constructor=i;function n(e,r){if(!e){throw new i(r)}}e.exports={rethrowAssertionErrorRejection:a,AssertionError:i,assert:n}},function(e,r,t){"use strict";var a=function(){function e(e,r){for(var t=0;t<r.length;t++){var a=r[t];a.enumerable=a.enumerable||false;a.configurable=true;if("value"in a)a.writable=true;Object.defineProperty(e,a.key,a)}}return function(r,t,a){if(t)e(r.prototype,t);if(a)e(r,a);return r}}();function i(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}var n=t(0),o=n.InvokeOrNoop,s=n.PromiseInvokeOrNoop,l=n.ValidateAndNormalizeQueuingStrategy,c=n.typeIsObject;var u=t(1),f=u.assert,h=u.rethrowAssertionErrorRejection;var d=t(3),v=d.DequeueValue,g=d.EnqueueValueWithSize,m=d.PeekQueueValue,p=d.ResetQueue;var b=function(){function e(){var r=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{},a=t.size,n=t.highWaterMark,o=n===undefined?1:n;i(this,e);this._state="writable";this._storedError=undefined;this._writer=undefined;this._writableStreamController=undefined;this._writeRequests=[];this._inFlightWriteRequest=undefined;this._closeRequest=undefined;this._inFlightCloseRequest=undefined;this._pendingAbortRequest=undefined;this._backpressure=false;var s=r.type;if(s!==undefined){throw new RangeError("Invalid type is specified")}this._writableStreamController=new V(this,r,a,o);this._writableStreamController.__startSteps()}a(e,[{key:"abort",value:function e(r){if(w(this)===false){return Promise.reject(ne("abort"))}if(k(this)===true){return Promise.reject(new TypeError("Cannot abort a stream that already has a writer"))}return S(this,r)}},{key:"getWriter",value:function e(){if(w(this)===false){throw ne("getWriter")}return y(this)}},{key:"locked",get:function e(){if(w(this)===false){throw ne("locked")}return k(this)}}]);return e}();e.exports={AcquireWritableStreamDefaultWriter:y,IsWritableStream:w,IsWritableStreamLocked:k,WritableStream:b,WritableStreamAbort:S,WritableStreamDefaultControllerError:ie,WritableStreamDefaultWriterCloseWithErrorPropagation:j,WritableStreamDefaultWriterRelease:W,WritableStreamDefaultWriterWrite:X,WritableStreamCloseQueuedOrInFlight:E};function y(e){return new L(e)}function w(e){if(!c(e)){return false}if(!Object.prototype.hasOwnProperty.call(e,"_writableStreamController")){return false}return true}function k(e){f(w(e)===true,"IsWritableStreamLocked should only be used on known writable streams");if(e._writer===undefined){return false}return true}function S(e,r){var t=e._state;if(t==="closed"){return Promise.resolve(undefined)}if(t==="errored"){return Promise.reject(e._storedError)}var a=new TypeError("Requested to abort");if(e._pendingAbortRequest!==undefined){return Promise.reject(a)}f(t==="writable"||t==="erroring","state must be writable or erroring");var i=false;if(t==="erroring"){i=true;r=undefined}var n=new Promise(function(t,a){e._pendingAbortRequest={_resolve:t,_reject:a,_reason:r,_wasAlreadyErroring:i}});if(i===false){_(e,a)}return n}function C(e){f(k(e)===true);f(e._state==="writable");var r=new Promise(function(r,t){var a={_resolve:r,_reject:t};e._writeRequests.push(a)});return r}function x(e,r){var t=e._state;if(t==="writable"){_(e,r);return}f(t==="erroring");A(e)}function _(e,r){f(e._storedError===undefined,"stream._storedError === undefined");f(e._state==="writable","state must be writable");var t=e._writableStreamController;f(t!==undefined,"controller must not be undefined");e._state="erroring";e._storedError=r;var a=e._writer;if(a!==undefined){H(a,r)}if(F(e)===false&&t._started===true){A(e)}}function A(e){f(e._state==="erroring","stream._state === erroring");f(F(e)===false,"WritableStreamHasOperationMarkedInFlight(stream) === false");e._state="errored";e._writableStreamController.__errorSteps();var r=e._storedError;for(var t=0;t<e._writeRequests.length;t++){var a=e._writeRequests[t];a._reject(r)}e._writeRequests=[];if(e._pendingAbortRequest===undefined){D(e);return}var i=e._pendingAbortRequest;e._pendingAbortRequest=undefined;if(i._wasAlreadyErroring===true){i._reject(r);D(e);return}var n=e._writableStreamController.__abortSteps(i._reason);n.then(function(){i._resolve();D(e)},function(r){i._reject(r);D(e)})}function P(e){f(e._inFlightWriteRequest!==undefined);e._inFlightWriteRequest._resolve(undefined);e._inFlightWriteRequest=undefined}function I(e,r){f(e._inFlightWriteRequest!==undefined);e._inFlightWriteRequest._reject(r);e._inFlightWriteRequest=undefined;f(e._state==="writable"||e._state==="erroring");x(e,r)}function O(e){f(e._inFlightCloseRequest!==undefined);e._inFlightCloseRequest._resolve(undefined);e._inFlightCloseRequest=undefined;var r=e._state;f(r==="writable"||r==="erroring");if(r==="erroring"){e._storedError=undefined;if(e._pendingAbortRequest!==undefined){e._pendingAbortRequest._resolve();e._pendingAbortRequest=undefined}}e._state="closed";var t=e._writer;if(t!==undefined){de(t)}f(e._pendingAbortRequest===undefined,"stream._pendingAbortRequest === undefined");f(e._storedError===undefined,"stream._storedError === undefined")}function T(e,r){f(e._inFlightCloseRequest!==undefined);e._inFlightCloseRequest._reject(r);e._inFlightCloseRequest=undefined;f(e._state==="writable"||e._state==="erroring");if(e._pendingAbortRequest!==undefined){e._pendingAbortRequest._reject(r);e._pendingAbortRequest=undefined}x(e,r)}function E(e){if(e._closeRequest===undefined&&e._inFlightCloseRequest===undefined){return false}return true}function F(e){if(e._inFlightWriteRequest===undefined&&e._inFlightCloseRequest===undefined){return false}return true}function R(e){f(e._inFlightCloseRequest===undefined);f(e._closeRequest!==undefined);e._inFlightCloseRequest=e._closeRequest;e._closeRequest=undefined}function B(e){f(e._inFlightWriteRequest===undefined,"there must be no pending write request");f(e._writeRequests.length!==0,"writeRequests must not be empty");e._inFlightWriteRequest=e._writeRequests.shift()}function D(e){f(e._state==="errored",'_stream_.[[state]] is `"errored"`');if(e._closeRequest!==undefined){f(e._inFlightCloseRequest===undefined);e._closeRequest._reject(e._storedError);e._closeRequest=undefined}var r=e._writer;if(r!==undefined){fe(r,e._storedError);r._closedPromise.catch(function(){})}}function M(e,r){f(e._state==="writable");f(E(e)===false);var t=e._writer;if(t!==undefined&&r!==e._backpressure){if(r===true){be(t)}else{f(r===false);we(t)}}e._backpressure=r}var L=function(){function e(r){i(this,e);if(w(r)===false){throw new TypeError("WritableStreamDefaultWriter can only be constructed with a WritableStream instance")}if(k(r)===true){throw new TypeError("This stream has already been locked for exclusive writing by another writer")}this._ownerWritableStream=r;r._writer=this;var t=r._state;if(t==="writable"){if(E(r)===false&&r._backpressure===true){ve(this)}else{me(this)}le(this)}else if(t==="erroring"){ge(this,r._storedError);this._readyPromise.catch(function(){});le(this)}else if(t==="closed"){me(this);ue(this)}else{f(t==="errored","state must be errored");var a=r._storedError;ge(this,a);this._readyPromise.catch(function(){});ce(this,a);this._closedPromise.catch(function(){})}}a(e,[{key:"abort",value:function e(r){if(N(this)===false){return Promise.reject(oe("abort"))}if(this._ownerWritableStream===undefined){return Promise.reject(se("abort"))}return U(this,r)}},{key:"close",value:function e(){if(N(this)===false){return Promise.reject(oe("close"))}var r=this._ownerWritableStream;if(r===undefined){return Promise.reject(se("close"))}if(E(r)===true){return Promise.reject(new TypeError("cannot close an already-closing stream"))}return q(this)}},{key:"releaseLock",value:function e(){if(N(this)===false){throw oe("releaseLock")}var r=this._ownerWritableStream;if(r===undefined){return}f(r._writer!==undefined);W(this)}},{key:"write",value:function e(r){if(N(this)===false){return Promise.reject(oe("write"))}if(this._ownerWritableStream===undefined){return Promise.reject(se("write to"))}return X(this,r)}},{key:"closed",get:function e(){if(N(this)===false){return Promise.reject(oe("closed"))}return this._closedPromise}},{key:"desiredSize",get:function e(){if(N(this)===false){throw oe("desiredSize")}if(this._ownerWritableStream===undefined){throw se("desiredSize")}return G(this)}},{key:"ready",get:function e(){if(N(this)===false){return Promise.reject(oe("ready"))}return this._readyPromise}}]);return e}();function N(e){if(!c(e)){return false}if(!Object.prototype.hasOwnProperty.call(e,"_ownerWritableStream")){return false}return true}function U(e,r){var t=e._ownerWritableStream;f(t!==undefined);return S(t,r)}function q(e){var r=e._ownerWritableStream;f(r!==undefined);var t=r._state;if(t==="closed"||t==="errored"){return Promise.reject(new TypeError("The stream (in "+t+" state) is not in the writable state and cannot be closed"))}f(t==="writable"||t==="erroring");f(E(r)===false);var a=new Promise(function(e,t){var a={_resolve:e,_reject:t};r._closeRequest=a});if(r._backpressure===true&&t==="writable"){we(e)}K(r._writableStreamController);return a}function j(e){var r=e._ownerWritableStream;f(r!==undefined);var t=r._state;if(E(r)===true||t==="closed"){return Promise.resolve()}if(t==="errored"){return Promise.reject(r._storedError)}f(t==="writable"||t==="erroring");return q(e)}function z(e,r){if(e._closedPromiseState==="pending"){fe(e,r)}else{he(e,r)}e._closedPromise.catch(function(){})}function H(e,r){if(e._readyPromiseState==="pending"){pe(e,r)}else{ye(e,r)}e._readyPromise.catch(function(){})}function G(e){var r=e._ownerWritableStream;var t=r._state;if(t==="errored"||t==="erroring"){return null}if(t==="closed"){return 0}return J(r._writableStreamController)}function W(e){var r=e._ownerWritableStream;f(r!==undefined);f(r._writer===e);var t=new TypeError("Writer was released and can no longer be used to monitor the stream's closedness");H(e,t);z(e,t);r._writer=undefined;e._ownerWritableStream=undefined}function X(e,r){var t=e._ownerWritableStream;f(t!==undefined);var a=t._writableStreamController;var i=Y(a,r);if(t!==e._ownerWritableStream){return Promise.reject(se("write to"))}var n=t._state;if(n==="errored"){return Promise.reject(t._storedError)}if(E(t)===true||n==="closed"){return Promise.reject(new TypeError("The stream is closing or closed and cannot be written to"))}if(n==="erroring"){return Promise.reject(t._storedError)}f(n==="writable");var o=C(t);Z(a,r,i);return o}var V=function(){function e(r,t,a,n){i(this,e);if(w(r)===false){throw new TypeError("WritableStreamDefaultController can only be constructed with a WritableStream instance")}if(r._writableStreamController!==undefined){throw new TypeError("WritableStreamDefaultController instances can only be created by the WritableStream constructor")}this._controlledWritableStream=r;this._underlyingSink=t;this._queue=undefined;this._queueTotalSize=undefined;p(this);this._started=false;var o=l(a,n);this._strategySize=o.size;this._strategyHWM=o.highWaterMark;var s=ae(this);M(r,s)}a(e,[{key:"error",value:function e(r){if(Q(this)===false){throw new TypeError("WritableStreamDefaultController.prototype.error can only be used on a WritableStreamDefaultController")}var t=this._controlledWritableStream._state;if(t!=="writable"){return}ie(this,r)}},{key:"__abortSteps",value:function e(r){return s(this._underlyingSink,"abort",[r])}},{key:"__errorSteps",value:function e(){p(this)}},{key:"__startSteps",value:function e(){var r=this;var t=o(this._underlyingSink,"start",[this]);var a=this._controlledWritableStream;Promise.resolve(t).then(function(){f(a._state==="writable"||a._state==="erroring");r._started=true;$(r)},function(e){f(a._state==="writable"||a._state==="erroring");r._started=true;x(a,e)}).catch(h)}}]);return e}();function K(e){g(e,"close",0);$(e)}function Y(e,r){var t=e._strategySize;if(t===undefined){return 1}try{return t(r)}catch(r){ee(e,r);return 1}}function J(e){return e._strategyHWM-e._queueTotalSize}function Z(e,r,t){var a={chunk:r};try{g(e,a,t)}catch(r){ee(e,r);return}var i=e._controlledWritableStream;if(E(i)===false&&i._state==="writable"){var n=ae(e);M(i,n)}$(e)}function Q(e){if(!c(e)){return false}if(!Object.prototype.hasOwnProperty.call(e,"_underlyingSink")){return false}return true}function $(e){var r=e._controlledWritableStream;if(e._started===false){return}if(r._inFlightWriteRequest!==undefined){return}var t=r._state;if(t==="closed"||t==="errored"){return}if(t==="erroring"){A(r);return}if(e._queue.length===0){return}var a=m(e);if(a==="close"){re(e)}else{te(e,a.chunk)}}function ee(e,r){if(e._controlledWritableStream._state==="writable"){ie(e,r)}}function re(e){var r=e._controlledWritableStream;R(r);v(e);f(e._queue.length===0,"queue must be empty once the final write record is dequeued");var t=s(e._underlyingSink,"close",[]);t.then(function(){O(r)},function(e){T(r,e)}).catch(h)}function te(e,r){var t=e._controlledWritableStream;B(t);var a=s(e._underlyingSink,"write",[r,e]);a.then(function(){P(t);var r=t._state;f(r==="writable"||r==="erroring");v(e);if(E(t)===false&&r==="writable"){var a=ae(e);M(t,a)}$(e)},function(e){I(t,e)}).catch(h)}function ae(e){var r=J(e);return r<=0}function ie(e,r){var t=e._controlledWritableStream;f(t._state==="writable");_(t,r)}function ne(e){return new TypeError("WritableStream.prototype."+e+" can only be used on a WritableStream")}function oe(e){return new TypeError("WritableStreamDefaultWriter.prototype."+e+" can only be used on a WritableStreamDefaultWriter")}function se(e){return new TypeError("Cannot "+e+" a stream using a released writer")}function le(e){e._closedPromise=new Promise(function(r,t){e._closedPromise_resolve=r;e._closedPromise_reject=t;e._closedPromiseState="pending"})}function ce(e,r){e._closedPromise=Promise.reject(r);e._closedPromise_resolve=undefined;e._closedPromise_reject=undefined;e._closedPromiseState="rejected"}function ue(e){e._closedPromise=Promise.resolve(undefined);e._closedPromise_resolve=undefined;e._closedPromise_reject=undefined;e._closedPromiseState="resolved"}function fe(e,r){f(e._closedPromise_resolve!==undefined,"writer._closedPromise_resolve !== undefined");f(e._closedPromise_reject!==undefined,"writer._closedPromise_reject !== undefined");f(e._closedPromiseState==="pending","writer._closedPromiseState is pending");e._closedPromise_reject(r);e._closedPromise_resolve=undefined;e._closedPromise_reject=undefined;e._closedPromiseState="rejected"}function he(e,r){f(e._closedPromise_resolve===undefined,"writer._closedPromise_resolve === undefined");f(e._closedPromise_reject===undefined,"writer._closedPromise_reject === undefined");f(e._closedPromiseState!=="pending","writer._closedPromiseState is not pending");e._closedPromise=Promise.reject(r);e._closedPromiseState="rejected"}function de(e){f(e._closedPromise_resolve!==undefined,"writer._closedPromise_resolve !== undefined");f(e._closedPromise_reject!==undefined,"writer._closedPromise_reject !== undefined");f(e._closedPromiseState==="pending","writer._closedPromiseState is pending");e._closedPromise_resolve(undefined);e._closedPromise_resolve=undefined;e._closedPromise_reject=undefined;e._closedPromiseState="resolved"}function ve(e){e._readyPromise=new Promise(function(r,t){e._readyPromise_resolve=r;e._readyPromise_reject=t});e._readyPromiseState="pending"}function ge(e,r){e._readyPromise=Promise.reject(r);e._readyPromise_resolve=undefined;e._readyPromise_reject=undefined;e._readyPromiseState="rejected"}function me(e){e._readyPromise=Promise.resolve(undefined);e._readyPromise_resolve=undefined;e._readyPromise_reject=undefined;e._readyPromiseState="fulfilled"}function pe(e,r){f(e._readyPromise_resolve!==undefined,"writer._readyPromise_resolve !== undefined");f(e._readyPromise_reject!==undefined,"writer._readyPromise_reject !== undefined");e._readyPromise_reject(r);e._readyPromise_resolve=undefined;e._readyPromise_reject=undefined;e._readyPromiseState="rejected"}function be(e){f(e._readyPromise_resolve===undefined,"writer._readyPromise_resolve === undefined");f(e._readyPromise_reject===undefined,"writer._readyPromise_reject === undefined");e._readyPromise=new Promise(function(r,t){e._readyPromise_resolve=r;e._readyPromise_reject=t});e._readyPromiseState="pending"}function ye(e,r){f(e._readyPromise_resolve===undefined,"writer._readyPromise_resolve === undefined");f(e._readyPromise_reject===undefined,"writer._readyPromise_reject === undefined");e._readyPromise=Promise.reject(r);e._readyPromiseState="rejected"}function we(e){f(e._readyPromise_resolve!==undefined,"writer._readyPromise_resolve !== undefined");f(e._readyPromise_reject!==undefined,"writer._readyPromise_reject !== undefined");e._readyPromise_resolve(undefined);e._readyPromise_resolve=undefined;e._readyPromise_reject=undefined;e._readyPromiseState="fulfilled"}},function(e,r,t){"use strict";var a=t(0),i=a.IsFiniteNonNegativeNumber;var n=t(1),o=n.assert;r.DequeueValue=function(e){o("_queue"in e&&"_queueTotalSize"in e,"Spec-level failure: DequeueValue should only be used on containers with [[queue]] and [[queueTotalSize]].");o(e._queue.length>0,"Spec-level failure: should never dequeue from an empty queue.");var r=e._queue.shift();e._queueTotalSize-=r.size;if(e._queueTotalSize<0){e._queueTotalSize=0}return r.value};r.EnqueueValueWithSize=function(e,r,t){o("_queue"in e&&"_queueTotalSize"in e,"Spec-level failure: EnqueueValueWithSize should only be used on containers with [[queue]] and "+"[[queueTotalSize]].");t=Number(t);if(!i(t)){throw new RangeError("Size must be a finite, non-NaN, non-negative number.")}e._queue.push({value:r,size:t});e._queueTotalSize+=t};r.PeekQueueValue=function(e){o("_queue"in e&&"_queueTotalSize"in e,"Spec-level failure: PeekQueueValue should only be used on containers with [[queue]] and [[queueTotalSize]].");o(e._queue.length>0,"Spec-level failure: should never peek at an empty queue.");var r=e._queue[0];return r.value};r.ResetQueue=function(e){o("_queue"in e&&"_queueTotalSize"in e,"Spec-level failure: ResetQueue should only be used on containers with [[queue]] and [[queueTotalSize]].");e._queue=[];e._queueTotalSize=0}},function(e,r,t){"use strict";var a=function(){function e(e,r){for(var t=0;t<r.length;t++){var a=r[t];a.enumerable=a.enumerable||false;a.configurable=true;if("value"in a)a.writable=true;Object.defineProperty(e,a.key,a)}}return function(r,t,a){if(t)e(r.prototype,t);if(a)e(r,a);return r}}();function i(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}var n=t(0),o=n.ArrayBufferCopy,s=n.CreateIterResultObject,l=n.IsFiniteNonNegativeNumber,c=n.InvokeOrNoop,u=n.PromiseInvokeOrNoop,f=n.TransferArrayBuffer,h=n.ValidateAndNormalizeQueuingStrategy,d=n.ValidateAndNormalizeHighWaterMark;var v=t(0),g=v.createArrayFromList,m=v.createDataProperty,p=v.typeIsObject;var b=t(1),y=b.assert,w=b.rethrowAssertionErrorRejection;var k=t(3),S=k.DequeueValue,C=k.EnqueueValueWithSize,x=k.ResetQueue;var _=t(2),A=_.AcquireWritableStreamDefaultWriter,P=_.IsWritableStream,I=_.IsWritableStreamLocked,O=_.WritableStreamAbort,T=_.WritableStreamDefaultWriterCloseWithErrorPropagation,E=_.WritableStreamDefaultWriterRelease,F=_.WritableStreamDefaultWriterWrite,R=_.WritableStreamCloseQueuedOrInFlight;var B=function(){function e(){var r=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{},a=t.size,n=t.highWaterMark;i(this,e);this._state="readable";this._reader=undefined;this._storedError=undefined;this._disturbed=false;this._readableStreamController=undefined;var o=r.type;var s=String(o);if(s==="bytes"){if(n===undefined){n=0}this._readableStreamController=new we(this,r,n)}else if(o===undefined){if(n===undefined){n=1}this._readableStreamController=new ue(this,r,a,n)}else{throw new RangeError("Invalid type is specified")}}a(e,[{key:"cancel",value:function e(r){if(L(this)===false){return Promise.reject(We("cancel"))}if(U(this)===true){return Promise.reject(new TypeError("Cannot cancel a stream that already has a reader"))}return X(this,r)}},{key:"getReader",value:function e(){var r=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{},t=r.mode;if(L(this)===false){throw We("getReader")}if(t===undefined){return M(this)}t=String(t);if(t==="byob"){return D(this)}throw new RangeError("Invalid mode is specified")}},{key:"pipeThrough",value:function e(r,t){var a=r.writable,i=r.readable;var n=this.pipeTo(a,t);ir(n);return i}},{key:"pipeTo",value:function e(r){var t=this;var a=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{},i=a.preventClose,n=a.preventAbort,o=a.preventCancel;if(L(this)===false){return Promise.reject(We("pipeTo"))}if(P(r)===false){return Promise.reject(new TypeError("ReadableStream.prototype.pipeTo's first argument must be a WritableStream"))}i=Boolean(i);n=Boolean(n);o=Boolean(o);if(U(this)===true){return Promise.reject(new TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked ReadableStream"))}if(I(r)===true){return Promise.reject(new TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked WritableStream"))}var s=M(this);var l=A(r);var c=false;var u=Promise.resolve();return new Promise(function(e,a){function f(){u=Promise.resolve();if(c===true){return Promise.resolve()}return l._readyPromise.then(function(){return ce(s).then(function(e){var r=e.value,t=e.done;if(t===true){return}u=F(l,r).catch(function(){})})}).then(f)}v(t,s._closedPromise,function(e){if(n===false){m(function(){return O(r,e)},true,e)}else{p(true,e)}});v(r,l._closedPromise,function(e){if(o===false){m(function(){return X(t,e)},true,e)}else{p(true,e)}});g(t,s._closedPromise,function(){if(i===false){m(function(){return T(l)})}else{p()}});if(R(r)===true||r._state==="closed"){var h=new TypeError("the destination writable stream closed before all data could be piped to it");if(o===false){m(function(){return X(t,h)},true,h)}else{p(true,h)}}f().catch(function(e){u=Promise.resolve();w(e)});function d(){var e=u;return u.then(function(){return e!==u?d():undefined})}function v(e,r,t){if(e._state==="errored"){t(e._storedError)}else{r.catch(t).catch(w)}}function g(e,r,t){if(e._state==="closed"){t()}else{r.then(t).catch(w)}}function m(e,t,a){if(c===true){return}c=true;if(r._state==="writable"&&R(r)===false){d().then(i)}else{i()}function i(){e().then(function(){return b(t,a)},function(e){return b(true,e)}).catch(w)}}function p(e,t){if(c===true){return}c=true;if(r._state==="writable"&&R(r)===false){d().then(function(){return b(e,t)}).catch(w)}else{b(e,t)}}function b(r,t){E(l);se(s);if(r){a(t)}else{e(undefined)}}})}},{key:"tee",value:function e(){if(L(this)===false){throw We("tee")}var r=q(this,false);return g(r)}},{key:"locked",get:function e(){if(L(this)===false){throw We("locked")}return U(this)}}]);return e}();e.exports={ReadableStream:B,IsReadableStreamDisturbed:N,ReadableStreamDefaultControllerClose:ve,ReadableStreamDefaultControllerEnqueue:ge,ReadableStreamDefaultControllerError:me,ReadableStreamDefaultControllerGetDesiredSize:be};function D(e){return new te(e)}function M(e){return new re(e)}function L(e){if(!p(e)){return false}if(!Object.prototype.hasOwnProperty.call(e,"_readableStreamController")){return false}return true}function N(e){y(L(e)===true,"IsReadableStreamDisturbed should only be used on known readable streams");return e._disturbed}function U(e){y(L(e)===true,"IsReadableStreamLocked should only be used on known readable streams");if(e._reader===undefined){return false}return true}function q(e,r){y(L(e)===true);y(typeof r==="boolean");var t=M(e);var a={closedOrErrored:false,canceled1:false,canceled2:false,reason1:undefined,reason2:undefined};a.promise=new Promise(function(e){a._resolve=e});var i=j();i._reader=t;i._teeState=a;i._cloneForBranch2=r;var n=z();n._stream=e;n._teeState=a;var o=H();o._stream=e;o._teeState=a;var s=Object.create(Object.prototype);m(s,"pull",i);m(s,"cancel",n);var l=new B(s);var c=Object.create(Object.prototype);m(c,"pull",i);m(c,"cancel",o);var u=new B(c);i._branch1=l._readableStreamController;i._branch2=u._readableStreamController;t._closedPromise.catch(function(e){if(a.closedOrErrored===true){return}me(i._branch1,e);me(i._branch2,e);a.closedOrErrored=true});return[l,u]}function j(){function e(){var r=e._reader,t=e._branch1,a=e._branch2,i=e._teeState;return ce(r).then(function(e){y(p(e));var r=e.value;var n=e.done;y(typeof n==="boolean");if(n===true&&i.closedOrErrored===false){if(i.canceled1===false){ve(t)}if(i.canceled2===false){ve(a)}i.closedOrErrored=true}if(i.closedOrErrored===true){return}var o=r;var s=r;if(i.canceled1===false){ge(t,o)}if(i.canceled2===false){ge(a,s)}})}return e}function z(){function e(r){var t=e._stream,a=e._teeState;a.canceled1=true;a.reason1=r;if(a.canceled2===true){var i=g([a.reason1,a.reason2]);var n=X(t,i);a._resolve(n)}return a.promise}return e}function H(){function e(r){var t=e._stream,a=e._teeState;a.canceled2=true;a.reason2=r;if(a.canceled1===true){var i=g([a.reason1,a.reason2]);var n=X(t,i);a._resolve(n)}return a.promise}return e}function G(e){y(ae(e._reader)===true);y(e._state==="readable"||e._state==="closed");var r=new Promise(function(r,t){var a={_resolve:r,_reject:t};e._reader._readIntoRequests.push(a)});return r}function W(e){y(ie(e._reader)===true);y(e._state==="readable");var r=new Promise(function(r,t){var a={_resolve:r,_reject:t};e._reader._readRequests.push(a)});return r}function X(e,r){e._disturbed=true;if(e._state==="closed"){return Promise.resolve(undefined)}if(e._state==="errored"){return Promise.reject(e._storedError)}V(e);var t=e._readableStreamController.__cancelSteps(r);return t.then(function(){return undefined})}function V(e){y(e._state==="readable");e._state="closed";var r=e._reader;if(r===undefined){return undefined}if(ie(r)===true){for(var t=0;t<r._readRequests.length;t++){var a=r._readRequests[t]._resolve;a(s(undefined,true))}r._readRequests=[]}$e(r);return undefined}function K(e,r){y(L(e)===true,"stream must be ReadableStream");y(e._state==="readable","state must be readable");e._state="errored";e._storedError=r;var t=e._reader;if(t===undefined){return undefined}if(ie(t)===true){for(var a=0;a<t._readRequests.length;a++){var i=t._readRequests[a];i._reject(r)}t._readRequests=[]}else{y(ae(t),"reader must be ReadableStreamBYOBReader");for(var n=0;n<t._readIntoRequests.length;n++){var o=t._readIntoRequests[n];o._reject(r)}t._readIntoRequests=[]}Ze(t,r);t._closedPromise.catch(function(){})}function Y(e,r,t){var a=e._reader;y(a._readIntoRequests.length>0);var i=a._readIntoRequests.shift();i._resolve(s(r,t))}function J(e,r,t){var a=e._reader;y(a._readRequests.length>0);var i=a._readRequests.shift();i._resolve(s(r,t))}function Z(e){return e._reader._readIntoRequests.length}function Q(e){return e._reader._readRequests.length}function $(e){var r=e._reader;if(r===undefined){return false}if(ae(r)===false){return false}return true}function ee(e){var r=e._reader;if(r===undefined){return false}if(ie(r)===false){return false}return true}var re=function(){function e(r){i(this,e);if(L(r)===false){throw new TypeError("ReadableStreamDefaultReader can only be constructed with a ReadableStream instance")}if(U(r)===true){throw new TypeError("This stream has already been locked for exclusive reading by another reader")}ne(this,r);this._readRequests=[]}a(e,[{key:"cancel",value:function e(r){if(ie(this)===false){return Promise.reject(Ve("cancel"))}if(this._ownerReadableStream===undefined){return Promise.reject(Xe("cancel"))}return oe(this,r)}},{key:"read",value:function e(){if(ie(this)===false){return Promise.reject(Ve("read"))}if(this._ownerReadableStream===undefined){return Promise.reject(Xe("read from"))}return ce(this)}},{key:"releaseLock",value:function e(){if(ie(this)===false){throw Ve("releaseLock")}if(this._ownerReadableStream===undefined){return}if(this._readRequests.length>0){throw new TypeError("Tried to release a reader lock when that reader has pending read() calls un-settled")}se(this)}},{key:"closed",get:function e(){if(ie(this)===false){return Promise.reject(Ve("closed"))}return this._closedPromise}}]);return e}();var te=function(){function e(r){i(this,e);if(!L(r)){throw new TypeError("ReadableStreamBYOBReader can only be constructed with a ReadableStream instance given a "+"byte source")}if(ke(r._readableStreamController)===false){throw new TypeError("Cannot construct a ReadableStreamBYOBReader for a stream not constructed with a byte "+"source")}if(U(r)){throw new TypeError("This stream has already been locked for exclusive reading by another reader")}ne(this,r);this._readIntoRequests=[]}a(e,[{key:"cancel",value:function e(r){if(!ae(this)){return Promise.reject(er("cancel"))}if(this._ownerReadableStream===undefined){return Promise.reject(Xe("cancel"))}return oe(this,r)}},{key:"read",value:function e(r){if(!ae(this)){return Promise.reject(er("read"))}if(this._ownerReadableStream===undefined){return Promise.reject(Xe("read from"))}if(!ArrayBuffer.isView(r)){return Promise.reject(new TypeError("view must be an array buffer view"))}if(r.byteLength===0){return Promise.reject(new TypeError("view must have non-zero byteLength"))}return le(this,r)}},{key:"releaseLock",value:function e(){if(!ae(this)){throw er("releaseLock")}if(this._ownerReadableStream===undefined){return}if(this._readIntoRequests.length>0){throw new TypeError("Tried to release a reader lock when that reader has pending read() calls un-settled")}se(this)}},{key:"closed",get:function e(){if(!ae(this)){return Promise.reject(er("closed"))}return this._closedPromise}}]);return e}();function ae(e){if(!p(e)){return false}if(!Object.prototype.hasOwnProperty.call(e,"_readIntoRequests")){return false}return true}function ie(e){if(!p(e)){return false}if(!Object.prototype.hasOwnProperty.call(e,"_readRequests")){return false}return true}function ne(e,r){e._ownerReadableStream=r;r._reader=e;if(r._state==="readable"){Ke(e)}else if(r._state==="closed"){Je(e)}else{y(r._state==="errored","state must be errored");Ye(e,r._storedError);e._closedPromise.catch(function(){})}}function oe(e,r){var t=e._ownerReadableStream;y(t!==undefined);return X(t,r)}function se(e){y(e._ownerReadableStream!==undefined);y(e._ownerReadableStream._reader===e);if(e._ownerReadableStream._state==="readable"){Ze(e,new TypeError("Reader was released and can no longer be used to monitor the stream's closedness"))}else{Qe(e,new TypeError("Reader was released and can no longer be used to monitor the stream's closedness"))}e._closedPromise.catch(function(){});e._ownerReadableStream._reader=undefined;e._ownerReadableStream=undefined}function le(e,r){var t=e._ownerReadableStream;y(t!==undefined);t._disturbed=true;if(t._state==="errored"){return Promise.reject(t._storedError)}return Re(t._readableStreamController,r)}function ce(e){var r=e._ownerReadableStream;y(r!==undefined);r._disturbed=true;if(r._state==="closed"){return Promise.resolve(s(undefined,true))}if(r._state==="errored"){return Promise.reject(r._storedError)}y(r._state==="readable");return r._readableStreamController.__pullSteps()}var ue=function(){function e(r,t,a,n){i(this,e);if(L(r)===false){throw new TypeError("ReadableStreamDefaultController can only be constructed with a ReadableStream instance")}if(r._readableStreamController!==undefined){throw new TypeError("ReadableStreamDefaultController instances can only be created by the ReadableStream constructor")}this._controlledReadableStream=r;this._underlyingSource=t;this._queue=undefined;this._queueTotalSize=undefined;x(this);this._started=false;this._closeRequested=false;this._pullAgain=false;this._pulling=false;var o=h(a,n);this._strategySize=o.size;this._strategyHWM=o.highWaterMark;var s=this;var l=c(t,"start",[this]);Promise.resolve(l).then(function(){s._started=true;y(s._pulling===false);y(s._pullAgain===false);he(s)},function(e){pe(s,e)}).catch(w)}a(e,[{key:"close",value:function e(){if(fe(this)===false){throw rr("close")}if(this._closeRequested===true){throw new TypeError("The stream has already been closed; do not close it again!")}var r=this._controlledReadableStream._state;if(r!=="readable"){throw new TypeError("The stream (in "+r+" state) is not in the readable state and cannot be closed")}ve(this)}},{key:"enqueue",value:function e(r){if(fe(this)===false){throw rr("enqueue")}if(this._closeRequested===true){throw new TypeError("stream is closed or draining")}var t=this._controlledReadableStream._state;if(t!=="readable"){throw new TypeError("The stream (in "+t+" state) is not in the readable state and cannot be enqueued to")}return ge(this,r)}},{key:"error",value:function e(r){if(fe(this)===false){throw rr("error")}var t=this._controlledReadableStream;if(t._state!=="readable"){throw new TypeError("The stream is "+t._state+" and so cannot be errored")}me(this,r)}},{key:"__cancelSteps",value:function e(r){x(this);return u(this._underlyingSource,"cancel",[r])}},{key:"__pullSteps",value:function e(){var r=this._controlledReadableStream;if(this._queue.length>0){var t=S(this);if(this._closeRequested===true&&this._queue.length===0){V(r)}else{he(this)}return Promise.resolve(s(t,false))}var a=W(r);he(this);return a}},{key:"desiredSize",get:function e(){if(fe(this)===false){throw rr("desiredSize")}return be(this)}}]);return e}();function fe(e){if(!p(e)){return false}if(!Object.prototype.hasOwnProperty.call(e,"_underlyingSource")){return false}return true}function he(e){var r=de(e);if(r===false){return undefined}if(e._pulling===true){e._pullAgain=true;return undefined}y(e._pullAgain===false);e._pulling=true;var t=u(e._underlyingSource,"pull",[e]);t.then(function(){e._pulling=false;if(e._pullAgain===true){e._pullAgain=false;return he(e)}return undefined},function(r){pe(e,r)}).catch(w);return undefined}function de(e){var r=e._controlledReadableStream;if(r._state==="closed"||r._state==="errored"){return false}if(e._closeRequested===true){return false}if(e._started===false){return false}if(U(r)===true&&Q(r)>0){return true}var t=be(e);if(t>0){return true}return false}function ve(e){var r=e._controlledReadableStream;y(e._closeRequested===false);y(r._state==="readable");e._closeRequested=true;if(e._queue.length===0){V(r)}}function ge(e,r){var t=e._controlledReadableStream;y(e._closeRequested===false);y(t._state==="readable");if(U(t)===true&&Q(t)>0){J(t,r,false)}else{var a=1;if(e._strategySize!==undefined){var i=e._strategySize;try{a=i(r)}catch(r){pe(e,r);throw r}}try{C(e,r,a)}catch(r){pe(e,r);throw r}}he(e);return undefined}function me(e,r){var t=e._controlledReadableStream;y(t._state==="readable");x(e);K(t,r)}function pe(e,r){if(e._controlledReadableStream._state==="readable"){me(e,r)}}function be(e){var r=e._controlledReadableStream;var t=r._state;if(t==="errored"){return null}if(t==="closed"){return 0}return e._strategyHWM-e._queueTotalSize}var ye=function(){function e(r,t){i(this,e);this._associatedReadableByteStreamController=r;this._view=t}a(e,[{key:"respond",value:function e(r){if(Se(this)===false){throw tr("respond")}if(this._associatedReadableByteStreamController===undefined){throw new TypeError("This BYOB request has been invalidated")}He(this._associatedReadableByteStreamController,r)}},{key:"respondWithNewView",value:function e(r){if(Se(this)===false){throw tr("respond")}if(this._associatedReadableByteStreamController===undefined){throw new TypeError("This BYOB request has been invalidated")}if(!ArrayBuffer.isView(r)){throw new TypeError("You can only respond with array buffer views")}Ge(this._associatedReadableByteStreamController,r)}},{key:"view",get:function e(){return this._view}}]);return e}();var we=function(){function e(r,t,a){i(this,e);if(L(r)===false){throw new TypeError("ReadableByteStreamController can only be constructed with a ReadableStream instance given "+"a byte source")}if(r._readableStreamController!==undefined){throw new TypeError("ReadableByteStreamController instances can only be created by the ReadableStream constructor given a byte "+"source")}this._controlledReadableStream=r;this._underlyingByteSource=t;this._pullAgain=false;this._pulling=false;xe(this);this._queue=this._queueTotalSize=undefined;x(this);this._closeRequested=false;this._started=false;this._strategyHWM=d(a);var n=t.autoAllocateChunkSize;if(n!==undefined){if(Number.isInteger(n)===false||n<=0){throw new RangeError("autoAllocateChunkSize must be a positive integer")}}this._autoAllocateChunkSize=n;this._pendingPullIntos=[];var o=this;var s=c(t,"start",[this]);Promise.resolve(s).then(function(){o._started=true;y(o._pulling===false);y(o._pullAgain===false);Ce(o)},function(e){if(r._state==="readable"){je(o,e)}}).catch(w)}a(e,[{key:"close",value:function e(){if(ke(this)===false){throw ar("close")}if(this._closeRequested===true){throw new TypeError("The stream has already been closed; do not close it again!")}var r=this._controlledReadableStream._state;if(r!=="readable"){throw new TypeError("The stream (in "+r+" state) is not in the readable state and cannot be closed")}Ue(this)}},{key:"enqueue",value:function e(r){if(ke(this)===false){throw ar("enqueue")}if(this._closeRequested===true){throw new TypeError("stream is closed or draining")}var t=this._controlledReadableStream._state;if(t!=="readable"){throw new TypeError("The stream (in "+t+" state) is not in the readable state and cannot be enqueued to")}if(!ArrayBuffer.isView(r)){throw new TypeError("You can only enqueue array buffer views when using a ReadableByteStreamController")}qe(this,r)}},{key:"error",value:function e(r){if(ke(this)===false){throw ar("error")}var t=this._controlledReadableStream;if(t._state!=="readable"){throw new TypeError("The stream is "+t._state+" and so cannot be errored")}je(this,r)}},{key:"__cancelSteps",value:function e(r){if(this._pendingPullIntos.length>0){var t=this._pendingPullIntos[0];t.bytesFilled=0}x(this);return u(this._underlyingByteSource,"cancel",[r])}},{key:"__pullSteps",value:function e(){var r=this._controlledReadableStream;y(ee(r)===true);if(this._queueTotalSize>0){y(Q(r)===0);var t=this._queue.shift();this._queueTotalSize-=t.byteLength;Te(this);var a=void 0;try{a=new Uint8Array(t.buffer,t.byteOffset,t.byteLength)}catch(e){return Promise.reject(e)}return Promise.resolve(s(a,false))}var i=this._autoAllocateChunkSize;if(i!==undefined){var n=void 0;try{n=new ArrayBuffer(i)}catch(e){return Promise.reject(e)}var o={buffer:n,byteOffset:0,byteLength:i,bytesFilled:0,elementSize:1,ctor:Uint8Array,readerType:"default"};this._pendingPullIntos.push(o)}var l=W(r);Ce(this);return l}},{key:"byobRequest",get:function e(){if(ke(this)===false){throw ar("byobRequest")}if(this._byobRequest===undefined&&this._pendingPullIntos.length>0){var r=this._pendingPullIntos[0];var t=new Uint8Array(r.buffer,r.byteOffset+r.bytesFilled,r.byteLength-r.bytesFilled);this._byobRequest=new ye(this,t)}return this._byobRequest}},{key:"desiredSize",get:function e(){if(ke(this)===false){throw ar("desiredSize")}return ze(this)}}]);return e}();function ke(e){if(!p(e)){return false}if(!Object.prototype.hasOwnProperty.call(e,"_underlyingByteSource")){return false}return true}function Se(e){if(!p(e)){return false}if(!Object.prototype.hasOwnProperty.call(e,"_associatedReadableByteStreamController")){return false}return true}function Ce(e){var r=Ne(e);if(r===false){return undefined}if(e._pulling===true){e._pullAgain=true;return undefined}y(e._pullAgain===false);e._pulling=true;var t=u(e._underlyingByteSource,"pull",[e]);t.then(function(){e._pulling=false;if(e._pullAgain===true){e._pullAgain=false;Ce(e)}},function(r){if(e._controlledReadableStream._state==="readable"){je(e,r)}}).catch(w);return undefined}function xe(e){Ee(e);e._pendingPullIntos=[]}function _e(e,r){y(e._state!=="errored","state must not be errored");var t=false;if(e._state==="closed"){y(r.bytesFilled===0);t=true}var a=Ae(r);if(r.readerType==="default"){J(e,a,t)}else{y(r.readerType==="byob");Y(e,a,t)}}function Ae(e){var r=e.bytesFilled;var t=e.elementSize;y(r<=e.byteLength);y(r%t===0);return new e.ctor(e.buffer,e.byteOffset,r/t)}function Pe(e,r,t,a){e._queue.push({buffer:r,byteOffset:t,byteLength:a});e._queueTotalSize+=a}function Ie(e,r){var t=r.elementSize;var a=r.bytesFilled-r.bytesFilled%t;var i=Math.min(e._queueTotalSize,r.byteLength-r.bytesFilled);var n=r.bytesFilled+i;var s=n-n%t;var l=i;var c=false;if(s>a){l=s-r.bytesFilled;c=true}var u=e._queue;while(l>0){var f=u[0];var h=Math.min(l,f.byteLength);var d=r.byteOffset+r.bytesFilled;o(r.buffer,d,f.buffer,f.byteOffset,h);if(f.byteLength===h){u.shift()}else{f.byteOffset+=h;f.byteLength-=h}e._queueTotalSize-=h;Oe(e,h,r);l-=h}if(c===false){y(e._queueTotalSize===0,"queue must be empty");y(r.bytesFilled>0);y(r.bytesFilled<r.elementSize)}return c}function Oe(e,r,t){y(e._pendingPullIntos.length===0||e._pendingPullIntos[0]===t);Ee(e);t.bytesFilled+=r}function Te(e){y(e._controlledReadableStream._state==="readable");if(e._queueTotalSize===0&&e._closeRequested===true){V(e._controlledReadableStream)}else{Ce(e)}}function Ee(e){if(e._byobRequest===undefined){return}e._byobRequest._associatedReadableByteStreamController=undefined;e._byobRequest._view=undefined;e._byobRequest=undefined}function Fe(e){y(e._closeRequested===false);while(e._pendingPullIntos.length>0){if(e._queueTotalSize===0){return}var r=e._pendingPullIntos[0];if(Ie(e,r)===true){Le(e);_e(e._controlledReadableStream,r)}}}function Re(e,r){var t=e._controlledReadableStream;var a=1;if(r.constructor!==DataView){a=r.constructor.BYTES_PER_ELEMENT}var i=r.constructor;var n={buffer:r.buffer,byteOffset:r.byteOffset,byteLength:r.byteLength,bytesFilled:0,elementSize:a,ctor:i,readerType:"byob"};if(e._pendingPullIntos.length>0){n.buffer=f(n.buffer);e._pendingPullIntos.push(n);return G(t)}if(t._state==="closed"){var o=new r.constructor(n.buffer,n.byteOffset,0);return Promise.resolve(s(o,true))}if(e._queueTotalSize>0){if(Ie(e,n)===true){var l=Ae(n);Te(e);return Promise.resolve(s(l,false))}if(e._closeRequested===true){var c=new TypeError("Insufficient bytes to fill elements in the given buffer");je(e,c);return Promise.reject(c)}}n.buffer=f(n.buffer);e._pendingPullIntos.push(n);var u=G(t);Ce(e);return u}function Be(e,r){r.buffer=f(r.buffer);y(r.bytesFilled===0,"bytesFilled must be 0");var t=e._controlledReadableStream;if($(t)===true){while(Z(t)>0){var a=Le(e);_e(t,a)}}}function De(e,r,t){if(t.bytesFilled+r>t.byteLength){throw new RangeError("bytesWritten out of range")}Oe(e,r,t);if(t.bytesFilled<t.elementSize){return}Le(e);var a=t.bytesFilled%t.elementSize;if(a>0){var i=t.byteOffset+t.bytesFilled;var n=t.buffer.slice(i-a,i);Pe(e,n,0,n.byteLength)}t.buffer=f(t.buffer);t.bytesFilled-=a;_e(e._controlledReadableStream,t);Fe(e)}function Me(e,r){var t=e._pendingPullIntos[0];var a=e._controlledReadableStream;if(a._state==="closed"){if(r!==0){throw new TypeError("bytesWritten must be 0 when calling respond() on a closed stream")}Be(e,t)}else{y(a._state==="readable");De(e,r,t)}}function Le(e){var r=e._pendingPullIntos.shift();Ee(e);return r}function Ne(e){var r=e._controlledReadableStream;if(r._state!=="readable"){return false}if(e._closeRequested===true){return false}if(e._started===false){return false}if(ee(r)===true&&Q(r)>0){return true}if($(r)===true&&Z(r)>0){return true}if(ze(e)>0){return true}return false}function Ue(e){var r=e._controlledReadableStream;y(e._closeRequested===false);y(r._state==="readable");if(e._queueTotalSize>0){e._closeRequested=true;return}if(e._pendingPullIntos.length>0){var t=e._pendingPullIntos[0];if(t.bytesFilled>0){var a=new TypeError("Insufficient bytes to fill elements in the given buffer");je(e,a);throw a}}V(r)}function qe(e,r){var t=e._controlledReadableStream;y(e._closeRequested===false);y(t._state==="readable");var a=r.buffer;var i=r.byteOffset;var n=r.byteLength;var o=f(a);if(ee(t)===true){if(Q(t)===0){Pe(e,o,i,n)}else{y(e._queue.length===0);var s=new Uint8Array(o,i,n);J(t,s,false)}}else if($(t)===true){Pe(e,o,i,n);Fe(e)}else{y(U(t)===false,"stream must not be locked");Pe(e,o,i,n)}}function je(e,r){var t=e._controlledReadableStream;y(t._state==="readable");xe(e);x(e);K(t,r)}function ze(e){var r=e._controlledReadableStream;var t=r._state;if(t==="errored"){return null}if(t==="closed"){return 0}return e._strategyHWM-e._queueTotalSize}function He(e,r){r=Number(r);if(l(r)===false){throw new RangeError("bytesWritten must be a finite")}y(e._pendingPullIntos.length>0);Me(e,r)}function Ge(e,r){y(e._pendingPullIntos.length>0);var t=e._pendingPullIntos[0];if(t.byteOffset+t.bytesFilled!==r.byteOffset){throw new RangeError("The region specified by view does not match byobRequest")}if(t.byteLength!==r.byteLength){throw new RangeError("The buffer of view has different capacity than byobRequest")}t.buffer=r.buffer;Me(e,r.byteLength)}function We(e){return new TypeError("ReadableStream.prototype."+e+" can only be used on a ReadableStream")}function Xe(e){return new TypeError("Cannot "+e+" a stream using a released reader")}function Ve(e){return new TypeError("ReadableStreamDefaultReader.prototype."+e+" can only be used on a ReadableStreamDefaultReader")}function Ke(e){e._closedPromise=new Promise(function(r,t){e._closedPromise_resolve=r;e._closedPromise_reject=t})}function Ye(e,r){e._closedPromise=Promise.reject(r);e._closedPromise_resolve=undefined;e._closedPromise_reject=undefined}function Je(e){e._closedPromise=Promise.resolve(undefined);e._closedPromise_resolve=undefined;e._closedPromise_reject=undefined}function Ze(e,r){y(e._closedPromise_resolve!==undefined);y(e._closedPromise_reject!==undefined);e._closedPromise_reject(r);e._closedPromise_resolve=undefined;e._closedPromise_reject=undefined}function Qe(e,r){y(e._closedPromise_resolve===undefined);y(e._closedPromise_reject===undefined);e._closedPromise=Promise.reject(r)}function $e(e){y(e._closedPromise_resolve!==undefined);y(e._closedPromise_reject!==undefined);e._closedPromise_resolve(undefined);e._closedPromise_resolve=undefined;e._closedPromise_reject=undefined}function er(e){return new TypeError("ReadableStreamBYOBReader.prototype."+e+" can only be used on a ReadableStreamBYOBReader")}function rr(e){return new TypeError("ReadableStreamDefaultController.prototype."+e+" can only be used on a ReadableStreamDefaultController")}function tr(e){return new TypeError("ReadableStreamBYOBRequest.prototype."+e+" can only be used on a ReadableStreamBYOBRequest")}function ar(e){return new TypeError("ReadableByteStreamController.prototype."+e+" can only be used on a ReadableByteStreamController")}function ir(e){try{Promise.prototype.then.call(e,undefined,function(){})}catch(e){}}},function(e,r,t){"use strict";var a=t(6);var i=t(4);var n=t(2);r.TransformStream=a.TransformStream;r.ReadableStream=i.ReadableStream;r.IsReadableStreamDisturbed=i.IsReadableStreamDisturbed;r.ReadableStreamDefaultControllerClose=i.ReadableStreamDefaultControllerClose;r.ReadableStreamDefaultControllerEnqueue=i.ReadableStreamDefaultControllerEnqueue;r.ReadableStreamDefaultControllerError=i.ReadableStreamDefaultControllerError;r.ReadableStreamDefaultControllerGetDesiredSize=i.ReadableStreamDefaultControllerGetDesiredSize;r.AcquireWritableStreamDefaultWriter=n.AcquireWritableStreamDefaultWriter;r.IsWritableStream=n.IsWritableStream;r.IsWritableStreamLocked=n.IsWritableStreamLocked;r.WritableStream=n.WritableStream;r.WritableStreamAbort=n.WritableStreamAbort;r.WritableStreamDefaultControllerError=n.WritableStreamDefaultControllerError;r.WritableStreamDefaultWriterCloseWithErrorPropagation=n.WritableStreamDefaultWriterCloseWithErrorPropagation;r.WritableStreamDefaultWriterRelease=n.WritableStreamDefaultWriterRelease;r.WritableStreamDefaultWriterWrite=n.WritableStreamDefaultWriterWrite},function(e,r,t){"use strict";var a=function(){function e(e,r){for(var t=0;t<r.length;t++){var a=r[t];a.enumerable=a.enumerable||false;a.configurable=true;if("value"in a)a.writable=true;Object.defineProperty(e,a.key,a)}}return function(r,t,a){if(t)e(r.prototype,t);if(a)e(r,a);return r}}();function i(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}var n=t(1),o=n.assert;var s=t(0),l=s.InvokeOrNoop,c=s.PromiseInvokeOrPerformFallback,u=s.PromiseInvokeOrNoop,f=s.typeIsObject;var h=t(4),d=h.ReadableStream,v=h.ReadableStreamDefaultControllerClose,g=h.ReadableStreamDefaultControllerEnqueue,m=h.ReadableStreamDefaultControllerError,p=h.ReadableStreamDefaultControllerGetDesiredSize;var b=t(2),y=b.WritableStream,w=b.WritableStreamDefaultControllerError;function k(e){if(e._errored===true){throw new TypeError("TransformStream is already errored")}if(e._readableClosed===true){throw new TypeError("Readable side is already closed")}x(e)}function S(e,r){if(e._errored===true){throw new TypeError("TransformStream is already errored")}if(e._readableClosed===true){throw new TypeError("Readable side is already closed")}var t=e._readableController;try{g(t,r)}catch(r){e._readableClosed=true;_(e,r);throw e._storedError}var a=p(t);var i=a<=0;if(i===true&&e._backpressure===false){I(e,true)}}function C(e,r){if(e._errored===true){throw new TypeError("TransformStream is already errored")}A(e,r)}function x(e){o(e._errored===false);o(e._readableClosed===false);try{v(e._readableController)}catch(e){o(false)}e._readableClosed=true}function _(e,r){if(e._errored===false){A(e,r)}}function A(e,r){o(e._errored===false);e._errored=true;e._storedError=r;if(e._writableDone===false){w(e._writableController,r)}if(e._readableClosed===false){m(e._readableController,r)}}function P(e){o(e._backpressureChangePromise!==undefined,"_backpressureChangePromise should have been initialized");if(e._backpressure===false){return Promise.resolve()}o(e._backpressure===true,"_backpressure should have been initialized");return e._backpressureChangePromise}function I(e,r){o(e._backpressure!==r,"TransformStreamSetBackpressure() should be called only when backpressure is changed");if(e._backpressureChangePromise!==undefined){e._backpressureChangePromise_resolve(r)}e._backpressureChangePromise=new Promise(function(r){e._backpressureChangePromise_resolve=r});e._backpressureChangePromise.then(function(e){o(e!==r,"_backpressureChangePromise should be fulfilled only when backpressure is changed")});e._backpressure=r}function O(e,r){var t=r._controlledTransformStream;S(t,e);return Promise.resolve()}function T(e,r){o(e._errored===false);o(e._transforming===false);o(e._backpressure===false);e._transforming=true;var t=e._transformer;var a=e._transformStreamController;var i=c(t,"transform",[r,a],O,[r,a]);return i.then(function(){e._transforming=false;return P(e)},function(r){_(e,r);return Promise.reject(r)})}function E(e){if(!f(e)){return false}if(!Object.prototype.hasOwnProperty.call(e,"_controlledTransformStream")){return false}return true}function F(e){if(!f(e)){return false}if(!Object.prototype.hasOwnProperty.call(e,"_transformStreamController")){return false}return true}var R=function(){function e(r,t){i(this,e);this._transformStream=r;this._startPromise=t}a(e,[{key:"start",value:function e(r){var t=this._transformStream;t._writableController=r;return this._startPromise.then(function(){return P(t)})}},{key:"write",value:function e(r){var t=this._transformStream;return T(t,r)}},{key:"abort",value:function e(){var r=this._transformStream;r._writableDone=true;A(r,new TypeError("Writable side aborted"))}},{key:"close",value:function e(){var r=this._transformStream;o(r._transforming===false);r._writableDone=true;var t=u(r._transformer,"flush",[r._transformStreamController]);return t.then(function(){if(r._errored===true){return Promise.reject(r._storedError)}if(r._readableClosed===false){x(r)}return Promise.resolve()}).catch(function(e){_(r,e);return Promise.reject(r._storedError)})}}]);return e}();var B=function(){function e(r,t){i(this,e);this._transformStream=r;this._startPromise=t}a(e,[{key:"start",value:function e(r){var t=this._transformStream;t._readableController=r;return this._startPromise.then(function(){o(t._backpressureChangePromise!==undefined,"_backpressureChangePromise should have been initialized");if(t._backpressure===true){return Promise.resolve()}o(t._backpressure===false,"_backpressure should have been initialized");return t._backpressureChangePromise})}},{key:"pull",value:function e(){var r=this._transformStream;o(r._backpressure===true,"pull() should be never called while _backpressure is false");o(r._backpressureChangePromise!==undefined,"_backpressureChangePromise should have been initialized");I(r,false);return r._backpressureChangePromise}},{key:"cancel",value:function e(){var r=this._transformStream;r._readableClosed=true;A(r,new TypeError("Readable side canceled"))}}]);return e}();var D=function(){function e(r){i(this,e);if(F(r)===false){throw new TypeError("TransformStreamDefaultController can only be "+"constructed with a TransformStream instance")}if(r._transformStreamController!==undefined){throw new TypeError("TransformStreamDefaultController instances can "+"only be created by the TransformStream constructor")}this._controlledTransformStream=r}a(e,[{key:"enqueue",value:function e(r){if(E(this)===false){throw L("enqueue")}S(this._controlledTransformStream,r)}},{key:"close",value:function e(){if(E(this)===false){throw L("close")}k(this._controlledTransformStream)}},{key:"error",value:function e(r){if(E(this)===false){throw L("error")}C(this._controlledTransformStream,r)}},{key:"desiredSize",get:function e(){if(E(this)===false){throw L("desiredSize")}var r=this._controlledTransformStream;var t=r._readableController;return p(t)}}]);return e}();var M=function(){function e(){var r=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};i(this,e);this._transformer=r;var t=r.readableStrategy,a=r.writableStrategy;this._transforming=false;this._errored=false;this._storedError=undefined;this._writableController=undefined;this._readableController=undefined;this._transformStreamController=undefined;this._writableDone=false;this._readableClosed=false;this._backpressure=undefined;this._backpressureChangePromise=undefined;this._backpressureChangePromise_resolve=undefined;this._transformStreamController=new D(this);var n=void 0;var s=new Promise(function(e){n=e});var c=new B(this,s);this._readable=new d(c,t);var u=new R(this,s);this._writable=new y(u,a);o(this._writableController!==undefined);o(this._readableController!==undefined);var f=p(this._readableController);I(this,f<=0);var h=this;var v=l(r,"start",[h._transformStreamController]);n(v);s.catch(function(e){if(h._errored===false){h._errored=true;h._storedError=e}})}a(e,[{key:"readable",get:function e(){if(F(this)===false){throw N("readable")}return this._readable}},{key:"writable",get:function e(){if(F(this)===false){throw N("writable")}return this._writable}}]);return e}();e.exports={TransformStream:M};function L(e){return new TypeError("TransformStreamDefaultController.prototype."+e+" can only be used on a TransformStreamDefaultController")}function N(e){return new TypeError("TransformStream.prototype."+e+" can only be used on a TransformStream")}},function(e,r,t){e.exports=t(5)}]))},function(e,r,t){"use strict";var a=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol==="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};{var i=false;try{if(typeof URL==="function"&&a(URL.prototype)==="object"&&"origin"in URL.prototype){var n=new URL("b","http://a");n.pathname="c%20d";i=n.href==="http://a/c%20d"}}catch(e){}if(i){r.URL=URL}else{var o=t(129).URL;var s=t(4).URL;if(s){o.createObjectURL=function(e){return s.createObjectURL.apply(s,arguments)};o.revokeObjectURL=function(e){s.revokeObjectURL(e)}}r.URL=o}}},function(e,r,t){"use strict";(function e(){"use strict";var t=Object.create(null);t["ftp"]=21;t["file"]=0;t["gopher"]=70;t["http"]=80;t["https"]=443;t["ws"]=80;t["wss"]=443;var a=Object.create(null);a["%2e"]=".";a[".%2e"]="..";a["%2e."]="..";a["%2e%2e"]="..";function i(e){return t[e]!==undefined}function n(){d.call(this);this._isInvalid=true}function o(e){if(e===""){n.call(this)}return e.toLowerCase()}function s(e){var r=e.charCodeAt(0);if(r>32&&r<127&&[34,35,60,62,63,96].indexOf(r)===-1){return e}return encodeURIComponent(e)}function l(e){var r=e.charCodeAt(0);if(r>32&&r<127&&[34,35,60,62,96].indexOf(r)===-1){return e}return encodeURIComponent(e)}var c,u=/[a-zA-Z]/,f=/[a-zA-Z0-9\+\-\.]/;function h(e,r,h){function d(e){y.push(e)}var v=r||"scheme start",g=0,m="",p=false,b=false,y=[];e:while((e[g-1]!==c||g===0)&&!this._isInvalid){var w=e[g];switch(v){case"scheme start":if(w&&u.test(w)){m+=w.toLowerCase();v="scheme"}else if(!r){m="";v="no scheme";continue}else{d("Invalid scheme.");break e}break;case"scheme":if(w&&f.test(w)){m+=w.toLowerCase()}else if(w===":"){this._scheme=m;m="";if(r){break e}if(i(this._scheme)){this._isRelative=true}if(this._scheme==="file"){v="relative"}else if(this._isRelative&&h&&h._scheme===this._scheme){v="relative or authority"}else if(this._isRelative){v="authority first slash"}else{v="scheme data"}}else if(!r){m="";g=0;v="no scheme";continue}else if(w===c){break e}else{d("Code point not allowed in scheme: "+w);break e}break;case"scheme data":if(w==="?"){this._query="?";v="query"}else if(w==="#"){this._fragment="#";v="fragment"}else{if(w!==c&&w!=="\t"&&w!=="\n"&&w!=="\r"){this._schemeData+=s(w)}}break;case"no scheme":if(!h||!i(h._scheme)){d("Missing scheme.");n.call(this)}else{v="relative";continue}break;case"relative or authority":if(w==="/"&&e[g+1]==="/"){v="authority ignore slashes"}else{d("Expected /, got: "+w);v="relative";continue}break;case"relative":this._isRelative=true;if(this._scheme!=="file"){this._scheme=h._scheme}if(w===c){this._host=h._host;this._port=h._port;this._path=h._path.slice();this._query=h._query;this._username=h._username;this._password=h._password;break e}else if(w==="/"||w==="\\"){if(w==="\\"){d("\\ is an invalid code point.")}v="relative slash"}else if(w==="?"){this._host=h._host;this._port=h._port;this._path=h._path.slice();this._query="?";this._username=h._username;this._password=h._password;v="query"}else if(w==="#"){this._host=h._host;this._port=h._port;this._path=h._path.slice();this._query=h._query;this._fragment="#";this._username=h._username;this._password=h._password;v="fragment"}else{var k=e[g+1];var S=e[g+2];if(this._scheme!=="file"||!u.test(w)||k!==":"&&k!=="|"||S!==c&&S!=="/"&&S!=="\\"&&S!=="?"&&S!=="#"){this._host=h._host;this._port=h._port;this._username=h._username;this._password=h._password;this._path=h._path.slice();this._path.pop()}v="relative path";continue}break;case"relative slash":if(w==="/"||w==="\\"){if(w==="\\"){d("\\ is an invalid code point.")}if(this._scheme==="file"){v="file host"}else{v="authority ignore slashes"}}else{if(this._scheme!=="file"){this._host=h._host;this._port=h._port;this._username=h._username;this._password=h._password}v="relative path";continue}break;case"authority first slash":if(w==="/"){v="authority second slash"}else{d("Expected '/', got: "+w);v="authority ignore slashes";continue}break;case"authority second slash":v="authority ignore slashes";if(w!=="/"){d("Expected '/', got: "+w);continue}break;case"authority ignore slashes":if(w!=="/"&&w!=="\\"){v="authority";continue}else{d("Expected authority, got: "+w)}break;case"authority":if(w==="@"){if(p){d("@ already seen.");m+="%40"}p=true;for(var C=0;C<m.length;C++){var x=m[C];if(x==="\t"||x==="\n"||x==="\r"){d("Invalid whitespace in authority.");continue}if(x===":"&&this._password===null){this._password="";continue}var _=s(x);if(this._password!==null){this._password+=_}else{this._username+=_}}m=""}else if(w===c||w==="/"||w==="\\"||w==="?"||w==="#"){g-=m.length;m="";v="host";continue}else{m+=w}break;case"file host":if(w===c||w==="/"||w==="\\"||w==="?"||w==="#"){if(m.length===2&&u.test(m[0])&&(m[1]===":"||m[1]==="|")){v="relative path"}else if(m.length===0){v="relative path start"}else{this._host=o.call(this,m);m="";v="relative path start"}continue}else if(w==="\t"||w==="\n"||w==="\r"){d("Invalid whitespace in file host.")}else{m+=w}break;case"host":case"hostname":if(w===":"&&!b){this._host=o.call(this,m);m="";v="port";if(r==="hostname"){break e}}else if(w===c||w==="/"||w==="\\"||w==="?"||w==="#"){this._host=o.call(this,m);m="";v="relative path start";if(r){break e}continue}else if(w!=="\t"&&w!=="\n"&&w!=="\r"){if(w==="["){b=true}else if(w==="]"){b=false}m+=w}else{d("Invalid code point in host/hostname: "+w)}break;case"port":if(/[0-9]/.test(w)){m+=w}else if(w===c||w==="/"||w==="\\"||w==="?"||w==="#"||r){if(m!==""){var A=parseInt(m,10);if(A!==t[this._scheme]){this._port=A+""}m=""}if(r){break e}v="relative path start";continue}else if(w==="\t"||w==="\n"||w==="\r"){d("Invalid code point in port: "+w)}else{n.call(this)}break;case"relative path start":if(w==="\\"){d("'\\' not allowed in path.")}v="relative path";if(w!=="/"&&w!=="\\"){continue}break;case"relative path":if(w===c||w==="/"||w==="\\"||!r&&(w==="?"||w==="#")){if(w==="\\"){d("\\ not allowed in relative path.")}var P;if(P=a[m.toLowerCase()]){m=P}if(m===".."){this._path.pop();if(w!=="/"&&w!=="\\"){this._path.push("")}}else if(m==="."&&w!=="/"&&w!=="\\"){this._path.push("")}else if(m!=="."){if(this._scheme==="file"&&this._path.length===0&&m.length===2&&u.test(m[0])&&m[1]==="|"){m=m[0]+":"}this._path.push(m)}m="";if(w==="?"){this._query="?";v="query"}else if(w==="#"){this._fragment="#";v="fragment"}}else if(w!=="\t"&&w!=="\n"&&w!=="\r"){m+=s(w)}break;case"query":if(!r&&w==="#"){this._fragment="#";v="fragment"}else if(w!==c&&w!=="\t"&&w!=="\n"&&w!=="\r"){this._query+=l(w)}break;case"fragment":if(w!==c&&w!=="\t"&&w!=="\n"&&w!=="\r"){this._fragment+=w}break}g++}}function d(){this._scheme="";this._schemeData="";this._username="";this._password=null;this._host="";this._port="";this._path=[];this._query="";this._fragment="";this._isInvalid=false;this._isRelative=false}function v(e,r){if(r!==undefined&&!(r instanceof v)){r=new v(String(r))}this._url=e;d.call(this);var t=e.replace(/^[ \t\r\n\f]+|[ \t\r\n\f]+$/g,"");h.call(this,t,null,r)}v.prototype={toString:function e(){return this.href},get href(){if(this._isInvalid){return this._url}var e="";if(this._username!==""||this._password!==null){e=this._username+(this._password!==null?":"+this._password:"")+"@"}return this.protocol+(this._isRelative?"//"+e+this.host:"")+this.pathname+this._query+this._fragment},set href(e){d.call(this);h.call(this,e)},get protocol(){return this._scheme+":"},set protocol(e){if(this._isInvalid){return}h.call(this,e+":","scheme start")},get host(){return this._isInvalid?"":this._port?this._host+":"+this._port:this._host},set host(e){if(this._isInvalid||!this._isRelative){return}h.call(this,e,"host")},get hostname(){return this._host},set hostname(e){if(this._isInvalid||!this._isRelative){return}h.call(this,e,"hostname")},get port(){return this._port},set port(e){if(this._isInvalid||!this._isRelative){return}h.call(this,e,"port")},get pathname(){return this._isInvalid?"":this._isRelative?"/"+this._path.join("/"):this._schemeData},set pathname(e){if(this._isInvalid||!this._isRelative){return}this._path=[];h.call(this,e,"relative path start")},get search(){return this._isInvalid||!this._query||this._query==="?"?"":this._query},set search(e){if(this._isInvalid||!this._isRelative){return}this._query="?";if(e[0]==="?"){e=e.slice(1)}h.call(this,e,"query")},get hash(){return this._isInvalid||!this._fragment||this._fragment==="#"?"":this._fragment},set hash(e){if(this._isInvalid){return}this._fragment="#";if(e[0]==="#"){e=e.slice(1)}h.call(this,e,"fragment")},get origin(){var e;if(this._isInvalid||!this._scheme){return""}switch(this._scheme){case"data":case"file":case"javascript":case"mailto":return"null";case"blob":try{return new v(this._schemeData).origin||"null"}catch(e){}return"null"}e=this.host;if(!e){return""}return this._scheme+"://"+e}};r.URL=v})()},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:true});r.NetworkPdfManager=r.LocalPdfManager=undefined;var a=t(131);var i=u(a);var n=function(){function e(e,r){for(var t=0;t<r.length;t++){var a=r[t];a.enumerable=a.enumerable||false;a.configurable=true;if("value"in a)a.writable=true;Object.defineProperty(e,a.key,a)}}return function(r,t,a){if(t)e(r.prototype,t);if(a)e(r,a);return r}}();var o=t(2);var s=t(135);var l=t(136);var c=t(140);function u(e){return e&&e.__esModule?e:{default:e}}function f(e,r){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return r&&(typeof r==="object"||typeof r==="function")?r:e}function h(e,r){if(typeof r!=="function"&&r!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof r)}e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(r)Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r}function d(e){return function(){var r=e.apply(this,arguments);return new Promise(function(e,t){function a(i,n){try{var o=r[i](n);var s=o.value}catch(e){t(e);return}if(o.done){e(s)}else{return Promise.resolve(s).then(function(e){a("next",e)},function(e){a("throw",e)})}}return a("next")})}}function v(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}var g=function(){function e(){v(this,e);if(this.constructor===e){(0,o.unreachable)("Cannot initialize BasePdfManager.")}}n(e,[{key:"onLoadedStream",value:function e(){(0,o.unreachable)("Abstract method `onLoadedStream` called")}},{key:"ensureDoc",value:function e(r,t){return this.ensure(this.pdfDocument,r,t)}},{key:"ensureXRef",value:function e(r,t){return this.ensure(this.pdfDocument.xref,r,t)}},{key:"ensureCatalog",value:function e(r,t){return this.ensure(this.pdfDocument.catalog,r,t)}},{key:"getPage",value:function e(r){return this.pdfDocument.getPage(r)}},{key:"cleanup",value:function e(){return this.pdfDocument.cleanup()}},{key:"ensure",value:function(){var e=d(i.default.mark(function e(r,t,a){return i.default.wrap(function e(r){while(1){switch(r.prev=r.next){case 0:(0,o.unreachable)("Abstract method `ensure` called");case 1:case"end":return r.stop()}}},e,this)}));function r(r,t,a){return e.apply(this,arguments)}return r}()},{key:"requestRange",value:function e(r,t){(0,o.unreachable)("Abstract method `requestRange` called")}},{key:"requestLoadedStream",value:function e(){(0,o.unreachable)("Abstract method `requestLoadedStream` called")}},{key:"sendProgressiveData",value:function e(r){(0,o.unreachable)("Abstract method `sendProgressiveData` called")}},{key:"updatePassword",value:function e(r){this._password=r}},{key:"terminate",value:function e(){(0,o.unreachable)("Abstract method `terminate` called")}},{key:"docId",get:function e(){return this._docId}},{key:"password",get:function e(){return this._password}},{key:"docBaseUrl",get:function e(){var r=null;if(this._docBaseUrl){var t=(0,o.createValidAbsoluteUrl)(this._docBaseUrl);if(t){r=t.href}else{(0,o.warn)('Invalid absolute docBaseUrl: "'+this._docBaseUrl+'".')}}return(0,o.shadow)(this,"docBaseUrl",r)}}]);return e}();var m=function(e){h(r,e);function r(e,t,a,i,n){v(this,r);var o=f(this,(r.__proto__||Object.getPrototypeOf(r)).call(this));o._docId=e;o._password=a;o._docBaseUrl=n;o.evaluatorOptions=i;var s=new c.Stream(t);o.pdfDocument=new l.PDFDocument(o,s);o._loadedStreamPromise=Promise.resolve(s);return o}n(r,[{key:"ensure",value:function(){var e=d(i.default.mark(function e(r,t,a){var n;return i.default.wrap(function e(i){while(1){switch(i.prev=i.next){case 0:n=r[t];if(!(typeof n==="function")){i.next=3;break}return i.abrupt("return",n.apply(r,a));case 3:return i.abrupt("return",n);case 4:case"end":return i.stop()}}},e,this)}));function r(r,t,a){return e.apply(this,arguments)}return r}()},{key:"requestRange",value:function e(r,t){return Promise.resolve()}},{key:"requestLoadedStream",value:function e(){}},{key:"onLoadedStream",value:function e(){return this._loadedStreamPromise}},{key:"terminate",value:function e(){}}]);return r}(g);var p=function(e){h(r,e);function r(e,t,a,i,n){v(this,r);var o=f(this,(r.__proto__||Object.getPrototypeOf(r)).call(this));o._docId=e;o._password=a.password;o._docBaseUrl=n;o.msgHandler=a.msgHandler;o.evaluatorOptions=i;o.streamManager=new s.ChunkedStreamManager(t,{msgHandler:a.msgHandler,url:a.url,length:a.length,disableAutoFetch:a.disableAutoFetch,rangeChunkSize:a.rangeChunkSize});o.pdfDocument=new l.PDFDocument(o,o.streamManager.getStream());return o}n(r,[{key:"ensure",value:function(){var e=d(i.default.mark(function e(r,t,a){var n;return i.default.wrap(function e(i){while(1){switch(i.prev=i.next){case 0:i.prev=0;n=r[t];if(!(typeof n==="function")){i.next=4;break}return i.abrupt("return",n.apply(r,a));case 4:return i.abrupt("return",n);case 7:i.prev=7;i.t0=i["catch"](0);if(i.t0 instanceof o.MissingDataException){i.next=11;break}throw i.t0;case 11:i.next=13;return this.requestRange(i.t0.begin,i.t0.end);case 13:return i.abrupt("return",this.ensure(r,t,a));case 14:case"end":return i.stop()}}},e,this,[[0,7]])}));function r(r,t,a){return e.apply(this,arguments)}return r}()},{key:"requestRange",value:function e(r,t){return this.streamManager.requestRange(r,t)}},{key:"requestLoadedStream",value:function e(){this.streamManager.requestAllChunks()}},{key:"sendProgressiveData",value:function e(r){this.streamManager.onReceiveData({chunk:r})}},{key:"onLoadedStream",value:function e(){return this.streamManager.onLoadedStream()}},{key:"terminate",value:function e(){this.streamManager.abort()}}]);return r}(g);r.LocalPdfManager=m;r.NetworkPdfManager=p},function(e,r,t){"use strict";e.exports=t(132)},function(e,r,t){"use strict";var a=function(){return this}()||Function("return this")();var i=a.regeneratorRuntime&&Object.getOwnPropertyNames(a).indexOf("regeneratorRuntime")>=0;var n=i&&a.regeneratorRuntime;a.regeneratorRuntime=undefined;e.exports=t(133);if(i){a.regeneratorRuntime=n}else{try{delete a.regeneratorRuntime}catch(e){a.regeneratorRuntime=undefined}}},function(e,r,t){"use strict";(function(e){var r=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol==="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};!function(t){"use strict";var a=Object.prototype;var i=a.hasOwnProperty;var n;var o=typeof Symbol==="function"?Symbol:{};var s=o.iterator||"@@iterator";var l=o.asyncIterator||"@@asyncIterator";var c=o.toStringTag||"@@toStringTag";var u=(false?n:r(e))==="object";var f=t.regeneratorRuntime;if(f){if(u){e.exports=f}return}f=t.regeneratorRuntime=u?e.exports:{};function h(e,r,t,a){var i=r&&r.prototype instanceof y?r:y;var n=Object.create(i.prototype);var o=new F(a||[]);n._invoke=I(e,t,o);return n}f.wrap=h;function d(e,r,t){try{return{type:"normal",arg:e.call(r,t)}}catch(e){return{type:"throw",arg:e}}}var v="suspendedStart";var g="suspendedYield";var m="executing";var p="completed";var b={};function y(){}function w(){}function k(){}var S={};S[s]=function(){return this};var C=Object.getPrototypeOf;var x=C&&C(C(R([])));if(x&&x!==a&&i.call(x,s)){S=x}var _=k.prototype=y.prototype=Object.create(S);w.prototype=_.constructor=k;k.constructor=w;k[c]=w.displayName="GeneratorFunction";function A(e){["next","throw","return"].forEach(function(r){e[r]=function(e){return this._invoke(r,e)}})}f.isGeneratorFunction=function(e){var r=typeof e==="function"&&e.constructor;return r?r===w||(r.displayName||r.name)==="GeneratorFunction":false};f.mark=function(e){if(Object.setPrototypeOf){Object.setPrototypeOf(e,k)}else{e.__proto__=k;if(!(c in e)){e[c]="GeneratorFunction"}}e.prototype=Object.create(_);return e};f.awrap=function(e){return{__await:e}};function P(e){function t(a,n,o,s){var l=d(e[a],e,n);if(l.type==="throw"){s(l.arg)}else{var c=l.arg;var u=c.value;if(u&&(typeof u==="undefined"?"undefined":r(u))==="object"&&i.call(u,"__await")){return Promise.resolve(u.__await).then(function(e){t("next",e,o,s)},function(e){t("throw",e,o,s)})}return Promise.resolve(u).then(function(e){c.value=e;o(c)},s)}}var a;function n(e,r){function i(){return new Promise(function(a,i){t(e,r,a,i)})}return a=a?a.then(i,i):i()}this._invoke=n}A(P.prototype);P.prototype[l]=function(){return this};f.AsyncIterator=P;f.async=function(e,r,t,a){var i=new P(h(e,r,t,a));return f.isGeneratorFunction(r)?i:i.next().then(function(e){return e.done?e.value:i.next()})};function I(e,r,t){var a=v;return function i(n,o){if(a===m){throw new Error("Generator is already running")}if(a===p){if(n==="throw"){throw o}return B()}t.method=n;t.arg=o;while(true){var s=t.delegate;if(s){var l=O(s,t);if(l){if(l===b)continue;return l}}if(t.method==="next"){t.sent=t._sent=t.arg}else if(t.method==="throw"){if(a===v){a=p;throw t.arg}t.dispatchException(t.arg)}else if(t.method==="return"){t.abrupt("return",t.arg)}a=m;var c=d(e,r,t);if(c.type==="normal"){a=t.done?p:g;if(c.arg===b){continue}return{value:c.arg,done:t.done}}else if(c.type==="throw"){a=p;t.method="throw";t.arg=c.arg}}}}function O(e,r){var t=e.iterator[r.method];if(t===n){r.delegate=null;if(r.method==="throw"){if(e.iterator.return){r.method="return";r.arg=n;O(e,r);if(r.method==="throw"){return b}}r.method="throw";r.arg=new TypeError("The iterator does not provide a 'throw' method")}return b}var a=d(t,e.iterator,r.arg);if(a.type==="throw"){r.method="throw";r.arg=a.arg;r.delegate=null;return b}var i=a.arg;if(!i){r.method="throw";r.arg=new TypeError("iterator result is not an object");r.delegate=null;return b}if(i.done){r[e.resultName]=i.value;r.next=e.nextLoc;if(r.method!=="return"){r.method="next";r.arg=n}}else{return i}r.delegate=null;return b}A(_);_[c]="Generator";_[s]=function(){return this};_.toString=function(){return"[object Generator]"};function T(e){var r={tryLoc:e[0]};if(1 in e){r.catchLoc=e[1]}if(2 in e){r.finallyLoc=e[2];r.afterLoc=e[3]}this.tryEntries.push(r)}function E(e){var r=e.completion||{};r.type="normal";delete r.arg;e.completion=r}function F(e){this.tryEntries=[{tryLoc:"root"}];e.forEach(T,this);this.reset(true)}f.keys=function(e){var r=[];for(var t in e){r.push(t)}r.reverse();return function t(){while(r.length){var a=r.pop();if(a in e){t.value=a;t.done=false;return t}}t.done=true;return t}};function R(e){if(e){var r=e[s];if(r){return r.call(e)}if(typeof e.next==="function"){return e}if(!isNaN(e.length)){var t=-1,a=function r(){while(++t<e.length){if(i.call(e,t)){r.value=e[t];r.done=false;return r}}r.value=n;r.done=true;return r};return a.next=a}}return{next:B}}f.values=R;function B(){return{value:n,done:true}}F.prototype={constructor:F,reset:function e(r){this.prev=0;this.next=0;this.sent=this._sent=n;this.done=false;this.delegate=null;this.method="next";this.arg=n;this.tryEntries.forEach(E);if(!r){for(var t in this){if(t.charAt(0)==="t"&&i.call(this,t)&&!isNaN(+t.slice(1))){this[t]=n}}}},stop:function e(){this.done=true;var r=this.tryEntries[0];var t=r.completion;if(t.type==="throw"){throw t.arg}return this.rval},dispatchException:function e(r){if(this.done){throw r}var t=this;function a(e,a){l.type="throw";l.arg=r;t.next=e;if(a){t.method="next";t.arg=n}return!!a}for(var o=this.tryEntries.length-1;o>=0;--o){var s=this.tryEntries[o];var l=s.completion;if(s.tryLoc==="root"){return a("end")}if(s.tryLoc<=this.prev){var c=i.call(s,"catchLoc");var u=i.call(s,"finallyLoc");if(c&&u){if(this.prev<s.catchLoc){return a(s.catchLoc,true)}else if(this.prev<s.finallyLoc){return a(s.finallyLoc)}}else if(c){if(this.prev<s.catchLoc){return a(s.catchLoc,true)}}else if(u){if(this.prev<s.finallyLoc){return a(s.finallyLoc)}}else{throw new Error("try statement without catch or finally")}}}},abrupt:function e(r,t){for(var a=this.tryEntries.length-1;a>=0;--a){var n=this.tryEntries[a];if(n.tryLoc<=this.prev&&i.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}if(o&&(r==="break"||r==="continue")&&o.tryLoc<=t&&t<=o.finallyLoc){o=null}var s=o?o.completion:{};s.type=r;s.arg=t;if(o){this.method="next";this.next=o.finallyLoc;return b}return this.complete(s)},complete:function e(r,t){if(r.type==="throw"){throw r.arg}if(r.type==="break"||r.type==="continue"){this.next=r.arg}else if(r.type==="return"){this.rval=this.arg=r.arg;this.method="return";this.next="end"}else if(r.type==="normal"&&t){this.next=t}return b},finish:function e(r){for(var t=this.tryEntries.length-1;t>=0;--t){var a=this.tryEntries[t];if(a.finallyLoc===r){this.complete(a.completion,a.afterLoc);E(a);return b}}},catch:function e(r){for(var t=this.tryEntries.length-1;t>=0;--t){var a=this.tryEntries[t];if(a.tryLoc===r){var i=a.completion;if(i.type==="throw"){var n=i.arg;E(a)}return n}}throw new Error("illegal catch attempt")},delegateYield:function e(r,t,a){this.delegate={iterator:R(r),resultName:t,nextLoc:a};if(this.method==="next"){this.arg=n}return b}}}(function(){return this}()||Function("return this")())}).call(this,t(134)(e))},function(e,r,t){"use strict";e.exports=function(e){if(!e.webpackPolyfill){e.deprecate=function(){};e.paths=[];if(!e.children)e.children=[];Object.defineProperty(e,"loaded",{enumerable:true,get:function r(){return e.l}});Object.defineProperty(e,"id",{enumerable:true,get:function r(){return e.i}});e.webpackPolyfill=1}return e}},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:true});r.ChunkedStreamManager=r.ChunkedStream=undefined;var a=t(2);var i=function e(){function r(e,r,t){this.bytes=new Uint8Array(e);this.start=0;this.pos=0;this.end=e;this.chunkSize=r;this.loadedChunks=[];this.numChunksLoaded=0;this.numChunks=Math.ceil(e/r);this.manager=t;this.progressiveDataLength=0;this.lastSuccessfulEnsureByteChunk=-1}r.prototype={getMissingChunks:function e(){var r=[];for(var t=0,a=this.numChunks;t<a;++t){if(!this.loadedChunks[t]){r.push(t)}}return r},getBaseStreams:function e(){return[this]},allChunksLoaded:function e(){return this.numChunksLoaded===this.numChunks},onReceiveData:function e(r,t){var a=r+t.byteLength;if(r%this.chunkSize!==0){throw new Error("Bad begin offset: "+r)}var i=this.bytes.length;if(a%this.chunkSize!==0&&a!==i){throw new Error("Bad end offset: "+a)}this.bytes.set(new Uint8Array(t),r);var n=this.chunkSize;var o=Math.floor(r/n);var s=Math.floor((a-1)/n)+1;var l;for(l=o;l<s;++l){if(!this.loadedChunks[l]){this.loadedChunks[l]=true;++this.numChunksLoaded}}},onReceiveProgressiveData:function e(r){var t=this.progressiveDataLength;var a=Math.floor(t/this.chunkSize);this.bytes.set(new Uint8Array(r),t);t+=r.byteLength;this.progressiveDataLength=t;var i=t>=this.end?this.numChunks:Math.floor(t/this.chunkSize);var n;for(n=a;n<i;++n){if(!this.loadedChunks[n]){this.loadedChunks[n]=true;++this.numChunksLoaded}}},ensureByte:function e(r){var t=Math.floor(r/this.chunkSize);if(t===this.lastSuccessfulEnsureByteChunk){return}if(!this.loadedChunks[t]){throw new a.MissingDataException(r,r+1)}this.lastSuccessfulEnsureByteChunk=t},ensureRange:function e(r,t){if(r>=t){return}if(t<=this.progressiveDataLength){return}var i=this.chunkSize;var n=Math.floor(r/i);var o=Math.floor((t-1)/i)+1;for(var s=n;s<o;++s){if(!this.loadedChunks[s]){throw new a.MissingDataException(r,t)}}},nextEmptyChunk:function e(r){var t,a=this.numChunks;for(var i=0;i<a;++i){t=(r+i)%a;if(!this.loadedChunks[t]){return t}}return null},hasChunk:function e(r){return!!this.loadedChunks[r]},get length(){return this.end-this.start},get isEmpty(){return this.length===0},getByte:function e(){var r=this.pos;if(r>=this.end){return-1}this.ensureByte(r);return this.bytes[this.pos++]},getUint16:function e(){var r=this.getByte();var t=this.getByte();if(r===-1||t===-1){return-1}return(r<<8)+t},getInt32:function e(){var r=this.getByte();var t=this.getByte();var a=this.getByte();var i=this.getByte();return(r<<24)+(t<<16)+(a<<8)+i},getBytes:function e(r){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:false;var a=this.bytes;var i=this.pos;var n=this.end;if(!r){this.ensureRange(i,n);var o=a.subarray(i,n);return t?new Uint8ClampedArray(o):o}var s=i+r;if(s>n){s=n}this.ensureRange(i,s);this.pos=s;var l=a.subarray(i,s);return t?new Uint8ClampedArray(l):l},peekByte:function e(){var r=this.getByte();this.pos--;return r},peekBytes:function e(r){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:false;var a=this.getBytes(r,t);this.pos-=a.length;return a},getByteRange:function e(r,t){this.ensureRange(r,t);return this.bytes.subarray(r,t)},skip:function e(r){if(!r){r=1}this.pos+=r},reset:function e(){this.pos=this.start},moveStart:function e(){this.start=this.pos},makeSubStream:function e(r,t,a){this.ensureRange(r,r+t);function i(){}i.prototype=Object.create(this);i.prototype.getMissingChunks=function(){var e=this.chunkSize;var r=Math.floor(this.start/e);var t=Math.floor((this.end-1)/e)+1;var a=[];for(var i=r;i<t;++i){if(!this.loadedChunks[i]){a.push(i)}}return a};var n=new i;n.pos=n.start=r;n.end=r+t||this.end;n.dict=a;return n}};return r}();var n=function e(){function r(e,r){var t=r.rangeChunkSize;var n=r.length;this.stream=new i(n,t,this);this.length=n;this.chunkSize=t;this.pdfNetworkStream=e;this.url=r.url;this.disableAutoFetch=r.disableAutoFetch;this.msgHandler=r.msgHandler;this.currRequestId=0;this.chunksNeededByRequest=Object.create(null);this.requestsByChunk=Object.create(null);this.promisesByRequest=Object.create(null);this.progressiveDataLength=0;this.aborted=false;this._loadedStreamCapability=(0,a.createPromiseCapability)()}r.prototype={onLoadedStream:function e(){return this._loadedStreamCapability.promise},sendRequest:function e(r,t){var i=this;var n=this.pdfNetworkStream.getRangeReader(r,t);if(!n.isStreamingSupported){n.onProgress=this.onProgress.bind(this)}var o=[],s=0;var l=this;var c=new Promise(function(e,r){var t=function t(i){try{if(!i.done){var c=i.value;o.push(c);s+=(0,a.arrayByteLength)(c);if(n.isStreamingSupported){l.onProgress({loaded:s})}n.read().then(t,r);return}var u=(0,a.arraysToBytes)(o);o=null;e(u)}catch(e){r(e)}};n.read().then(t,r)});c.then(function(e){if(i.aborted){return}i.onReceiveData({chunk:e,begin:r})})},requestAllChunks:function e(){var r=this.stream.getMissingChunks();this._requestChunks(r);return this._loadedStreamCapability.promise},_requestChunks:function e(r){var t=this.currRequestId++;var i,n;var o=Object.create(null);this.chunksNeededByRequest[t]=o;for(i=0,n=r.length;i<n;i++){if(!this.stream.hasChunk(r[i])){o[r[i]]=true}}if((0,a.isEmptyObj)(o)){return Promise.resolve()}var s=(0,a.createPromiseCapability)();this.promisesByRequest[t]=s;var l=[];for(var c in o){c=c|0;if(!(c in this.requestsByChunk)){this.requestsByChunk[c]=[];l.push(c)}this.requestsByChunk[c].push(t)}if(!l.length){return s.promise}var u=this.groupChunks(l);for(i=0;i<u.length;++i){var f=u[i];var h=f.beginChunk*this.chunkSize;var d=Math.min(f.endChunk*this.chunkSize,this.length);this.sendRequest(h,d)}return s.promise},getStream:function e(){return this.stream},requestRange:function e(r,t){t=Math.min(t,this.length);var a=this.getBeginChunk(r);var i=this.getEndChunk(t);var n=[];for(var o=a;o<i;++o){n.push(o)}return this._requestChunks(n)},requestRanges:function e(r){r=r||[];var t=[];for(var a=0;a<r.length;a++){var i=this.getBeginChunk(r[a].begin);var n=this.getEndChunk(r[a].end);for(var o=i;o<n;++o){if(!t.includes(o)){t.push(o)}}}t.sort(function(e,r){return e-r});return this._requestChunks(t)},groupChunks:function e(r){var t=[];var a=-1;var i=-1;for(var n=0;n<r.length;++n){var o=r[n];if(a<0){a=o}if(i>=0&&i+1!==o){t.push({beginChunk:a,endChunk:i+1});a=o}if(n+1===r.length){t.push({beginChunk:a,endChunk:o+1})}i=o}return t},onProgress:function e(r){var t=this.stream.numChunksLoaded*this.chunkSize+r.loaded;this.msgHandler.send("DocProgress",{loaded:t,total:this.length})},onReceiveData:function e(r){var t=r.chunk;var i=r.begin===undefined;var n=i?this.progressiveDataLength:r.begin;var o=n+t.byteLength;var s=Math.floor(n/this.chunkSize);var l=o<this.length?Math.floor(o/this.chunkSize):Math.ceil(o/this.chunkSize);if(i){this.stream.onReceiveProgressiveData(t);this.progressiveDataLength=o}else{this.stream.onReceiveData(n,t)}if(this.stream.allChunksLoaded()){this._loadedStreamCapability.resolve(this.stream)}var c=[];var u,f;for(t=s;t<l;++t){var h=this.requestsByChunk[t]||[];delete this.requestsByChunk[t];for(u=0;u<h.length;++u){f=h[u];var d=this.chunksNeededByRequest[f];if(t in d){delete d[t]}if(!(0,a.isEmptyObj)(d)){continue}c.push(f)}}if(!this.disableAutoFetch&&(0,a.isEmptyObj)(this.requestsByChunk)){var v;if(this.stream.numChunksLoaded===1){var g=this.stream.numChunks-1;if(!this.stream.hasChunk(g)){v=g}}else{v=this.stream.nextEmptyChunk(l)}if(Number.isInteger(v)){this._requestChunks([v])}}for(u=0;u<c.length;++u){f=c[u];var m=this.promisesByRequest[f];delete this.promisesByRequest[f];m.resolve()}this.msgHandler.send("DocProgress",{loaded:this.stream.numChunksLoaded*this.chunkSize,total:this.length})},onError:function e(r){this._loadedStreamCapability.reject(r)},getBeginChunk:function e(r){var t=Math.floor(r/this.chunkSize);return t},getEndChunk:function e(r){var t=Math.floor((r-1)/this.chunkSize)+1;return t},abort:function e(){this.aborted=true;if(this.pdfNetworkStream){this.pdfNetworkStream.cancelAllRequests("abort")}for(var r in this.promisesByRequest){var t=this.promisesByRequest[r];t.reject(new Error("Request was aborted"))}}};return r}();r.ChunkedStream=i;r.ChunkedStreamManager=n},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:true});r.PDFDocument=r.Page=undefined;var a=function(){function e(e,r){var t=[];var a=true;var i=false;var n=undefined;try{for(var o=e[Symbol.iterator](),s;!(a=(s=o.next()).done);a=true){t.push(s.value);if(r&&t.length===r)break}}catch(e){i=true;n=e}finally{try{if(!a&&o["return"])o["return"]()}finally{if(i)throw n}}return t}return function(r,t){if(Array.isArray(r)){return r}else if(Symbol.iterator in Object(r)){return e(r,t)}else{throw new TypeError("Invalid attempt to destructure non-iterable instance")}}}();var i=t(2);var n=t(137);var o=t(138);var s=t(140);var l=t(152);var c=t(150);var u=t(139);var f=t(153);var h=t(154);var d=t(168);var v=function e(){var r=1;var t=[0,0,612,792];function c(e,r){return r==="display"&&e.viewable||r==="print"&&e.printable}function u(e){var r=e.pdfManager,t=e.xref,a=e.pageIndex,i=e.pageDict,n=e.ref,o=e.fontCache,s=e.builtInCMapCache,l=e.pdfFunctionFactory;this.pdfManager=r;this.pageIndex=a;this.pageDict=i;this.xref=t;this.ref=n;this.fontCache=o;this.builtInCMapCache=s;this.pdfFunctionFactory=l;this.evaluatorOptions=r.evaluatorOptions;this.resourcesPromise=null;var c="p"+this.pageIndex+"_";var u={obj:0};this.idFactory={createObjId:function e(){return c+ ++u.obj}}}u.prototype={_getInheritableProperty:function e(r){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:false;var a=(0,i.getInheritableProperty)({dict:this.pageDict,key:r,getArray:t,stopWhenFound:false});if(!Array.isArray(a)){return a}if(a.length===1||!(0,o.isDict)(a[0])){return a[0]}return o.Dict.merge(this.xref,a)},get content(){return this.pageDict.get("Contents")},get resources(){return(0,i.shadow)(this,"resources",this._getInheritableProperty("Resources")||o.Dict.empty)},get mediaBox(){var e=this._getInheritableProperty("MediaBox",true);if(!Array.isArray(e)||e.length!==4){return(0,i.shadow)(this,"mediaBox",t)}return(0,i.shadow)(this,"mediaBox",e)},get cropBox(){var e=this._getInheritableProperty("CropBox",true);if(!Array.isArray(e)||e.length!==4){return(0,i.shadow)(this,"cropBox",this.mediaBox)}return(0,i.shadow)(this,"cropBox",e)},get userUnit(){var e=this.pageDict.get("UserUnit");if(!(0,i.isNum)(e)||e<=0){e=r}return(0,i.shadow)(this,"userUnit",e)},get view(){var e=this.mediaBox,r=this.cropBox;if(e===r){return(0,i.shadow)(this,"view",e)}var t=i.Util.intersect(r,e);return(0,i.shadow)(this,"view",t||e)},get rotate(){var e=this._getInheritableProperty("Rotate")||0;if(e%90!==0){e=0}else if(e>=360){e=e%360}else if(e<0){e=(e%360+360)%360}return(0,i.shadow)(this,"rotate",e)},getContentStream:function e(){var r=this.content;var t;if(Array.isArray(r)){var a=this.xref;var i,n=r.length;var l=[];for(i=0;i<n;++i){l.push(a.fetchIfRef(r[i]))}t=new s.StreamsSequenceStream(l)}else if((0,o.isStream)(r)){t=r}else{t=new s.NullStream}return t},loadResources:function e(r){var t=this;if(!this.resourcesPromise){this.resourcesPromise=this.pdfManager.ensure(this,"resources")}return this.resourcesPromise.then(function(){var e=new n.ObjectLoader(t.resources,r,t.xref);return e.load()})},getOperatorList:function e(r){var t=this;var n=r.handler,o=r.task,s=r.intent,l=r.renderInteractiveForms;var u=this.pdfManager.ensure(this,"getContentStream");var d=this.loadResources(["ExtGState","ColorSpace","Pattern","Shading","XObject","Font"]);var v=new h.PartialEvaluator({pdfManager:this.pdfManager,xref:this.xref,handler:n,pageIndex:this.pageIndex,idFactory:this.idFactory,fontCache:this.fontCache,builtInCMapCache:this.builtInCMapCache,options:this.evaluatorOptions,pdfFunctionFactory:this.pdfFunctionFactory});var g=Promise.all([u,d]);var m=g.then(function(e){var r=a(e,1),i=r[0];var l=new f.OperatorList(s,n,t.pageIndex);n.send("StartRenderPage",{transparency:v.hasBlendModes(t.resources),pageIndex:t.pageIndex,intent:s});return v.getOperatorList({stream:i,task:o,resources:t.resources,operatorList:l}).then(function(){return l})});return Promise.all([m,this._parsedAnnotations]).then(function(e){var r=a(e,2),t=r[0],n=r[1];if(n.length===0){t.flush(true);return t}var u,f,h=[];for(u=0,f=n.length;u<f;u++){if(c(n[u],s)){h.push(n[u].getOperatorList(v,o,l))}}return Promise.all(h).then(function(e){t.addOp(i.OPS.beginAnnotations,[]);for(u=0,f=e.length;u<f;u++){t.addOpList(e[u])}t.addOp(i.OPS.endAnnotations,[]);t.flush(true);return t})})},extractTextContent:function e(r){var t=this;var i=r.handler,n=r.task,o=r.normalizeWhitespace,s=r.sink,l=r.combineTextItems;var c=this.pdfManager.ensure(this,"getContentStream");var u=this.loadResources(["ExtGState","XObject","Font"]);var f=Promise.all([c,u]);return f.then(function(e){var r=a(e,1),c=r[0];var u=new h.PartialEvaluator({pdfManager:t.pdfManager,xref:t.xref,handler:i,pageIndex:t.pageIndex,idFactory:t.idFactory,fontCache:t.fontCache,builtInCMapCache:t.builtInCMapCache,options:t.evaluatorOptions,pdfFunctionFactory:t.pdfFunctionFactory});return u.getTextContent({stream:c,task:n,resources:t.resources,normalizeWhitespace:o,combineTextItems:l,sink:s})})},getAnnotationsData:function e(r){return this._parsedAnnotations.then(function(e){var t=[];for(var a=0,i=e.length;a<i;a++){if(!r||c(e[a],r)){t.push(e[a].data)}}return t})},get annotations(){return(0,i.shadow)(this,"annotations",this._getInheritableProperty("Annots")||[])},get _parsedAnnotations(){var e=this;var r=this.pdfManager.ensure(this,"annotations").then(function(){var r=e.annotations;var t=[];for(var a=0,n=r.length;a<n;a++){t.push(l.AnnotationFactory.create(e.xref,r[a],e.pdfManager,e.idFactory))}return Promise.all(t).then(function(e){return e.filter(function e(r){return!!r})},function(e){(0,i.warn)('_parsedAnnotations: "'+e+'".');return[]})});return(0,i.shadow)(this,"_parsedAnnotations",r)}};return u}();var g=function e(){var r=1024;var t="\0\0\0\0\0\0\0"+"\0\0\0\0\0\0\0\0\0";function l(e,r){var t;if((0,o.isStream)(r)){t=r}else if((0,i.isArrayBuffer)(r)){t=new s.Stream(r)}else{throw new Error("PDFDocument: Unknown argument type")}if(t.length<=0){throw new Error("PDFDocument: stream must have data")}this.pdfManager=e;this.stream=t;this.xref=new n.XRef(t,e);var a=e.evaluatorOptions;this.pdfFunctionFactory=new d.PDFFunctionFactory({xref:this.xref,isEvalSupported:a.isEvalSupported});this._pagePromises=[]}function f(e,r,t,a){var i=e.pos;var n=e.end;var o=[];if(i+t>n){t=n-i}for(var s=0;s<t;++s){o.push(String.fromCharCode(e.getByte()))}var l=o.join("");e.pos=i;var c=a?l.lastIndexOf(r):l.indexOf(r);if(c===-1){return false}e.pos+=c;return true}var h={Title:i.isString,Author:i.isString,Subject:i.isString,Keywords:i.isString,Creator:i.isString,Producer:i.isString,CreationDate:i.isString,ModDate:i.isString,Trapped:o.isName};l.prototype={parse:function e(r){this.setup(r);var t=this.catalog.catDict.get("Version");if((0,o.isName)(t)){this.pdfFormatVersion=t.name}try{this.acroForm=this.catalog.catDict.get("AcroForm");if(this.acroForm){this.xfa=this.acroForm.get("XFA");var a=this.acroForm.get("Fields");if((!a||!Array.isArray(a)||a.length===0)&&!this.xfa){this.acroForm=null}}}catch(e){if(e instanceof i.MissingDataException){throw e}(0,i.info)("Something wrong with AcroForm entry");this.acroForm=null}},get linearization(){var e=null;try{e=u.Linearization.create(this.stream)}catch(e){if(e instanceof i.MissingDataException){throw e}(0,i.info)(e)}return(0,i.shadow)(this,"linearization",e)},get startXRef(){var e=this.stream;var r=0;var t=this.linearization;if(t){e.reset();if(f(e,"endobj",1024)){r=e.pos+6}}else{var a=1024;var n=false,o=e.end;while(!n&&o>0){o-=a-"startxref".length;if(o<0){o=0}e.pos=o;n=f(e,"startxref",a,true)}if(n){e.skip(9);var s;do{s=e.getByte()}while((0,i.isSpace)(s));var l="";while(s>=32&&s<=57){l+=String.fromCharCode(s);s=e.getByte()}r=parseInt(l,10);if(isNaN(r)){r=0}}}return(0,i.shadow)(this,"startXRef",r)},checkHeader:function e(){var r=this.stream;r.reset();if(f(r,"%PDF-",1024)){r.moveStart();var t=12;var a="",i;while((i=r.getByte())>32){if(a.length>=t){break}a+=String.fromCharCode(i)}if(!this.pdfFormatVersion){this.pdfFormatVersion=a.substring(5)}return}},parseStartXRef:function e(){var r=this.startXRef;this.xref.setStartXRef(r)},setup:function e(r){this.xref.parse(r);this.catalog=new n.Catalog(this.pdfManager,this.xref)},get numPages(){var e=this.linearization;var r=e?e.numPages:this.catalog.numPages;return(0,i.shadow)(this,"numPages",r)},get documentInfo(){var e={PDFFormatVersion:this.pdfFormatVersion,IsLinearized:!!this.linearization,IsAcroFormPresent:!!this.acroForm,IsXFAPresent:!!this.xfa};var r=void 0;try{r=this.xref.trailer.get("Info")}catch(e){if(e instanceof i.MissingDataException){throw e}(0,i.info)("The document information dictionary is invalid.")}if((0,o.isDict)(r)){for(var t in h){if(r.has(t)){var a=r.get(t);if(h[t](a)){e[t]=typeof a!=="string"?a:(0,i.stringToPDFString)(a)}else{(0,i.info)('Bad value in document info for "'+t+'"')}}}}return(0,i.shadow)(this,"documentInfo",e)},get fingerprint(){var e=this.xref,a,n="";var o=e.trailer.get("ID");if(Array.isArray(o)&&o[0]&&(0,i.isString)(o[0])&&o[0]!==t){a=(0,i.stringToBytes)(o[0])}else{if(this.stream.ensureRange){this.stream.ensureRange(0,Math.min(r,this.stream.end))}a=(0,c.calculateMD5)(this.stream.bytes.subarray(0,r),0,r)}for(var s=0,l=a.length;s<l;s++){var u=a[s].toString(16);n+=u.length===1?"0"+u:u}return(0,i.shadow)(this,"fingerprint",n)},_getLinearizationPage:function e(r){var t=this.catalog,a=this.linearization;(0,i.assert)(a&&a.pageFirst===r);var n=new o.Ref(a.objectNumberFirst,0);return this.xref.fetchAsync(n).then(function(e){if((0,o.isDict)(e,"Page")||(0,o.isDict)(e)&&!e.has("Type")&&e.has("Contents")){if(n&&!t.pageKidsCountCache.has(n)){t.pageKidsCountCache.put(n,1)}return[e,n]}throw new i.FormatError("The Linearization dictionary doesn't point "+"to a valid Page dictionary.")}).catch(function(e){(0,i.info)(e);return t.getPageDict(r)})},getPage:function e(r){var t=this;if(this._pagePromises[r]!==undefined){return this._pagePromises[r]}var i=this.catalog,n=this.linearization;var o=n&&n.pageFirst===r?this._getLinearizationPage(r):i.getPageDict(r);return this._pagePromises[r]=o.then(function(e){var n=a(e,2),o=n[0],s=n[1];return new v({pdfManager:t.pdfManager,xref:t.xref,pageIndex:r,pageDict:o,ref:s,fontCache:i.fontCache,builtInCMapCache:i.builtInCMapCache,pdfFunctionFactory:t.pdfFunctionFactory})})},cleanup:function e(){return this.catalog.cleanup()}};return l}();r.Page=v;r.PDFDocument=g},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:true});r.FileSpec=r.XRef=r.ObjectLoader=r.Catalog=undefined;var a=t(131);var i=v(a);var n=function(){function e(e,r){var t=[];var a=true;var i=false;var n=undefined;try{for(var o=e[Symbol.iterator](),s;!(a=(s=o.next()).done);a=true){t.push(s.value);if(r&&t.length===r)break}}catch(e){i=true;n=e}finally{try{if(!a&&o["return"])o["return"]()}finally{if(i)throw n}}return t}return function(r,t){if(Array.isArray(r)){return r}else if(Symbol.iterator in Object(r)){return e(r,t)}else{throw new TypeError("Invalid attempt to destructure non-iterable instance")}}}();var o=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol==="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};var s=function(){function e(e,r){for(var t=0;t<r.length;t++){var a=r[t];a.enumerable=a.enumerable||false;a.configurable=true;if("value"in a)a.writable=true;Object.defineProperty(e,a.key,a)}}return function(r,t,a){if(t)e(r.prototype,t);if(a)e(r,a);return r}}();var l=t(2);var c=t(138);var u=t(139);var f=t(135);var h=t(150);var d=t(151);function v(e){return e&&e.__esModule?e:{default:e}}function g(e,r){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return r&&(typeof r==="object"||typeof r==="function")?r:e}function m(e,r){if(typeof r!=="function"&&r!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof r)}e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(r)Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r}function p(e){return function(){var r=e.apply(this,arguments);return new Promise(function(e,t){function a(i,n){try{var o=r[i](n);var s=o.value}catch(e){t(e);return}if(o.done){e(s)}else{return Promise.resolve(s).then(function(e){a("next",e)},function(e){a("throw",e)})}}return a("next")})}}function b(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}function y(e){return(0,c.isDict)(e)?e.get("D"):e}var w=function(){function e(r,t){b(this,e);this.pdfManager=r;this.xref=t;this.catDict=t.getCatalogObj();if(!(0,c.isDict)(this.catDict)){throw new l.FormatError("Catalog object is not a dictionary.")}this.fontCache=new c.RefSetCache;this.builtInCMapCache=new Map;this.pageKidsCountCache=new c.RefSetCache}s(e,[{key:"_readDocumentOutline",value:function r(){var t=this.catDict.get("Outlines");if(!(0,c.isDict)(t)){return null}t=t.getRaw("First");if(!(0,c.isRef)(t)){return null}var a={items:[]};var i=[{obj:t,parent:a}];var n=new c.RefSet;n.put(t);var o=this.xref,s=new Uint8ClampedArray(3);while(i.length>0){var u=i.shift();var f=o.fetchIfRef(u.obj);if(f===null){continue}if(!f.has("Title")){throw new l.FormatError("Invalid outline item encountered.")}var h={url:null,dest:null};e.parseDestDictionary({destDict:f,resultObj:h,docBaseUrl:this.pdfManager.docBaseUrl});var v=f.get("Title");var g=f.get("F")||0;var m=f.getArray("C");var p=s;if(Array.isArray(m)&&m.length===3&&(m[0]!==0||m[1]!==0||m[2]!==0)){p=d.ColorSpace.singletons.rgb.getRgb(m,0)}var b={dest:h.dest,url:h.url,unsafeUrl:h.unsafeUrl,newWindow:h.newWindow,title:(0,l.stringToPDFString)(v),color:p,count:f.get("Count"),bold:!!(g&2),italic:!!(g&1),items:[]};u.parent.items.push(b);t=f.getRaw("First");if((0,c.isRef)(t)&&!n.has(t)){i.push({obj:t,parent:b});n.put(t)}t=f.getRaw("Next");if((0,c.isRef)(t)&&!n.has(t)){i.push({obj:t,parent:u.parent});n.put(t)}}return a.items.length>0?a.items:null}},{key:"_readPermissions",value:function e(){var r=this.xref.trailer.get("Encrypt");if(!(0,c.isDict)(r)){return null}var t=r.get("P");if(!(0,l.isNum)(t)){return null}t+=Math.pow(2,32);var a=[];for(var i in l.PermissionFlag){var n=l.PermissionFlag[i];if(t&n){a.push(n)}}return a}},{key:"getDestination",value:function e(r){var t=this._readDests();if(t instanceof C||t instanceof c.Dict){return y(t.get(r)||null)}return null}},{key:"_readDests",value:function e(){var r=this.catDict.get("Names");if(r&&r.has("Dests")){return new C(r.getRaw("Dests"),this.xref)}else if(this.catDict.has("Dests")){return this.catDict.get("Dests")}}},{key:"_readPageLabels",value:function e(){var r=this.catDict.getRaw("PageLabels");if(!r){return null}var t=new Array(this.numPages);var a=null,i="";var n=new x(r,this.xref);var o=n.getAll();var s="",u=1;for(var f=0,h=this.numPages;f<h;f++){if(f in o){var d=o[f];if(!(0,c.isDict)(d)){throw new l.FormatError("PageLabel is not a dictionary.")}if(d.has("Type")&&!(0,c.isName)(d.get("Type"),"PageLabel")){throw new l.FormatError("Invalid type in PageLabel dictionary.")}if(d.has("S")){var v=d.get("S");if(!(0,c.isName)(v)){throw new l.FormatError("Invalid style in PageLabel dictionary.")}a=v.name}else{a=null}if(d.has("P")){var g=d.get("P");if(!(0,l.isString)(g)){throw new l.FormatError("Invalid prefix in PageLabel dictionary.")}i=(0,l.stringToPDFString)(g)}else{i=""}if(d.has("St")){var m=d.get("St");if(!(Number.isInteger(m)&&m>=1)){throw new l.FormatError("Invalid start in PageLabel dictionary.")}u=m}else{u=1}}switch(a){case"D":s=u;break;case"R":case"r":s=(0,l.toRomanNumerals)(u,a==="r");break;case"A":case"a":var p=26;var b=65,y=97;var w=a==="a"?y:b;var k=u-1;var S=String.fromCharCode(w+k%p);var C=[];for(var _=0,A=k/p|0;_<=A;_++){C.push(S)}s=C.join("");break;default:if(a){throw new l.FormatError('Invalid style "'+a+'" in PageLabel dictionary.')}s=""}t[f]=i+s;u++}return t}},{key:"cleanup",value:function e(){var r=this;this.pageKidsCountCache.clear();var t=[];this.fontCache.forEach(function(e){t.push(e)});return Promise.all(t).then(function(e){for(var t=0,a=e.length;t<a;t++){var i=e[t].dict;delete i.translated}r.fontCache.clear();r.builtInCMapCache.clear()})}},{key:"getPageDict",value:function e(r){var t=(0,l.createPromiseCapability)();var a=[this.catDict.getRaw("Pages")];var i=this.xref,n=this.pageKidsCountCache;var s=void 0,u=0;function f(){var e=function e(){var o=a.pop();if((0,c.isRef)(o)){s=n.get(o);if(s>0&&u+s<r){u+=s;return"continue"}i.fetchAsync(o).then(function(e){if((0,c.isDict)(e,"Page")||(0,c.isDict)(e)&&!e.has("Kids")){if(r===u){if(o&&!n.has(o)){n.put(o,1)}t.resolve([e,o])}else{u++;f()}return}a.push(e);f()},t.reject);return{v:void 0}}if(!(0,c.isDict)(o)){t.reject(new l.FormatError("Page dictionary kid reference points to wrong type of object."));return{v:void 0}}s=o.get("Count");if(Number.isInteger(s)&&s>=0){var h=o.objId;if(h&&!n.has(h)){n.put(h,s)}if(u+s<=r){u+=s;return"continue"}}var d=o.get("Kids");if(!Array.isArray(d)){if((0,c.isName)(o.get("Type"),"Page")||!o.has("Type")&&o.has("Contents")){if(u===r){t.resolve([o,null]);return{v:void 0}}u++;return"continue"}t.reject(new l.FormatError("Page dictionary kids object is not an array."));return{v:void 0}}for(var v=d.length-1;v>=0;v--){a.push(d[v])}};while(a.length){var h=e();switch(h){case"continue":continue;default:if((typeof h==="undefined"?"undefined":o(h))==="object")return h.v}}t.reject(new Error("Page index "+r+" not found."))}f();return t.promise}},{key:"getPageIndex",value:function e(r){var t=this.xref;function a(e){var a=0,i=void 0;return t.fetchAsync(e).then(function(t){if((0,c.isRefsEqual)(e,r)&&!(0,c.isDict)(t,"Page")&&!((0,c.isDict)(t)&&!t.has("Type")&&t.has("Contents"))){throw new l.FormatError("The reference does not point to a /Page dictionary.")}if(!t){return null}if(!(0,c.isDict)(t)){throw new l.FormatError("Node must be a dictionary.")}i=t.getRaw("Parent");return t.getAsync("Parent")}).then(function(e){if(!e){return null}if(!(0,c.isDict)(e)){throw new l.FormatError("Parent must be a dictionary.")}return e.getAsync("Kids")}).then(function(r){if(!r){return null}var n=[];var o=false;for(var s=0,u=r.length;s<u;s++){var f=r[s];if(!(0,c.isRef)(f)){throw new l.FormatError("Kid must be a reference.")}if((0,c.isRefsEqual)(f,e)){o=true;break}n.push(t.fetchAsync(f).then(function(e){if(!(0,c.isDict)(e)){throw new l.FormatError("Kid node must be a dictionary.")}if(e.has("Count")){a+=e.get("Count")}else{a++}}))}if(!o){throw new l.FormatError("Kid reference not found in parent's kids.")}return Promise.all(n).then(function(){return[a,i]})})}var i=0;function o(e){return a(e).then(function(e){if(!e){return i}var r=n(e,2),t=r[0],a=r[1];i+=t;return o(a)})}return o(r)}},{key:"metadata",get:function e(){var r=this.catDict.getRaw("Metadata");if(!(0,c.isRef)(r)){return(0,l.shadow)(this,"metadata",null)}var t=!(this.xref.encrypt&&this.xref.encrypt.encryptMetadata);var a=this.xref.fetch(r,t);var i=void 0;if(a&&(0,c.isDict)(a.dict)){var n=a.dict.get("Type");var o=a.dict.get("Subtype");if((0,c.isName)(n,"Metadata")&&(0,c.isName)(o,"XML")){try{i=(0,l.stringToUTF8String)((0,l.bytesToString)(a.getBytes()))}catch(e){if(e instanceof l.MissingDataException){throw e}(0,l.info)("Skipping invalid metadata.")}}}return(0,l.shadow)(this,"metadata",i)}},{key:"toplevelPagesDict",get:function e(){var r=this.catDict.get("Pages");if(!(0,c.isDict)(r)){throw new l.FormatError("Invalid top-level pages dictionary.")}return(0,l.shadow)(this,"toplevelPagesDict",r)}},{key:"documentOutline",get:function e(){var r=null;try{r=this._readDocumentOutline()}catch(e){if(e instanceof l.MissingDataException){throw e}(0,l.warn)("Unable to read document outline.")}return(0,l.shadow)(this,"documentOutline",r)}},{key:"permissions",get:function e(){var r=null;try{r=this._readPermissions()}catch(e){if(e instanceof l.MissingDataException){throw e}(0,l.warn)("Unable to read permissions.")}return(0,l.shadow)(this,"permissions",r)}},{key:"numPages",get:function e(){var r=this.toplevelPagesDict.get("Count");if(!Number.isInteger(r)){throw new l.FormatError("Page count in top-level pages dictionary is not an integer.")}return(0,l.shadow)(this,"numPages",r)}},{key:"destinations",get:function e(){var r=this._readDests(),t=Object.create(null);if(r instanceof C){var a=r.getAll();for(var i in a){t[i]=y(a[i])}}else if(r instanceof c.Dict){r.forEach(function(e,r){if(r){t[e]=y(r)}})}return(0,l.shadow)(this,"destinations",t)}},{key:"pageLabels",get:function e(){var r=null;try{r=this._readPageLabels()}catch(e){if(e instanceof l.MissingDataException){throw e}(0,l.warn)("Unable to read page labels.")}return(0,l.shadow)(this,"pageLabels",r)}},{key:"pageMode",get:function e(){var r=this.catDict.get("PageMode");var t="UseNone";if((0,c.isName)(r)){switch(r.name){case"UseNone":case"UseOutlines":case"UseThumbs":case"FullScreen":case"UseOC":case"UseAttachments":t=r.name}}return(0,l.shadow)(this,"pageMode",t)}},{key:"attachments",get:function e(){var r=this.catDict.get("Names");var t=null;if(r&&r.has("EmbeddedFiles")){var a=new C(r.getRaw("EmbeddedFiles"),this.xref);var i=a.getAll();for(var n in i){var o=new _(i[n],this.xref);if(!t){t=Object.create(null)}t[(0,l.stringToPDFString)(n)]=o.serializable}}return(0,l.shadow)(this,"attachments",t)}},{key:"javaScript",get:function e(){var r=this.catDict.get("Names");var t=null;function a(e){var r=e.get("S");if(!(0,c.isName)(r,"JavaScript")){return}var a=e.get("JS");if((0,c.isStream)(a)){a=(0,l.bytesToString)(a.getBytes())}else if(!(0,l.isString)(a)){return}if(!t){t=[]}t.push((0,l.stringToPDFString)(a))}if(r&&r.has("JavaScript")){var i=new C(r.getRaw("JavaScript"),this.xref);var n=i.getAll();for(var o in n){var s=n[o];if((0,c.isDict)(s)){a(s)}}}var u=this.catDict.get("OpenAction");if((0,c.isDict)(u,"Action")){var f=u.get("S");if((0,c.isName)(f,"Named")){var h=u.get("N");if((0,c.isName)(h,"Print")){if(!t){t=[]}t.push("print({});")}}else{a(u)}}return(0,l.shadow)(this,"javaScript",t)}}],[{key:"parseDestDictionary",value:function e(r){function t(e){if(e.indexOf("www.")===0){return"http://"+e}return e}function a(e){try{return(0,l.stringToUTF8String)(e)}catch(r){return e}}var i=r.destDict;if(!(0,c.isDict)(i)){(0,l.warn)("parseDestDictionary: `destDict` must be a dictionary.");return}var n=r.resultObj;if((typeof n==="undefined"?"undefined":o(n))!=="object"){(0,l.warn)("parseDestDictionary: `resultObj` must be an object.");return}var s=r.docBaseUrl||null;var u=i.get("A"),f=void 0,h=void 0;if(!(0,c.isDict)(u)&&i.has("Dest")){u=i.get("Dest")}if((0,c.isDict)(u)){var d=u.get("S");if(!(0,c.isName)(d)){(0,l.warn)("parseDestDictionary: Invalid type in Action dictionary.");return}var v=d.name;switch(v){case"URI":f=u.get("URI");if((0,c.isName)(f)){f="/"+f.name}else if((0,l.isString)(f)){f=t(f)}break;case"GoTo":h=u.get("D");break;case"Launch":case"GoToR":var g=u.get("F");if((0,c.isDict)(g)){f=g.get("F")||null}else if((0,l.isString)(g)){f=g}var m=u.get("D");if(m){if((0,c.isName)(m)){m=m.name}if((0,l.isString)(f)){var p=f.split("#")[0];if((0,l.isString)(m)){f=p+"#"+m}else if(Array.isArray(m)){f=p+"#"+JSON.stringify(m)}}}var b=u.get("NewWindow");if((0,l.isBool)(b)){n.newWindow=b}break;case"Named":var y=u.get("N");if((0,c.isName)(y)){n.action=y.name}break;case"JavaScript":var w=u.get("JS");var k=void 0;if((0,c.isStream)(w)){k=(0,l.bytesToString)(w.getBytes())}else if((0,l.isString)(w)){k=w}if(k){var S=["app.launchURL","window.open"];var C=new RegExp("^\\s*("+S.join("|").split(".").join("\\.")+")\\((?:'|\")([^'\"]*)(?:'|\")(?:,\\s*(\\w+)\\)|\\))","i");var x=C.exec((0,l.stringToPDFString)(k));if(x&&x[2]){f=x[2];if(x[3]==="true"&&x[1]==="app.launchURL"){n.newWindow=true}break}}default:(0,l.warn)('parseDestDictionary: unsupported action type "'+v+'".');break}}else if(i.has("Dest")){h=i.get("Dest")}if((0,l.isString)(f)){f=a(f);var _=(0,l.createValidAbsoluteUrl)(f,s);if(_){n.url=_.href}n.unsafeUrl=f}if(h){if((0,c.isName)(h)){h=h.name}if((0,l.isString)(h)||Array.isArray(h)){n.dest=h}}}}]);return e}();var k=function e(){function r(e,r){this.stream=e;this.pdfManager=r;this.entries=[];this.xrefstms=Object.create(null);this.cache=[];this.stats={streamTypes:[],fontTypes:[]}}r.prototype={setStartXRef:function e(r){this.startXRefQueue=[r]},parse:function e(r){var t;if(!r){t=this.readXRef()}else{(0,l.warn)("Indexing all PDF objects");t=this.indexObjects()}t.assignXref(this);this.trailer=t;var a=void 0;try{a=t.get("Encrypt")}catch(e){if(e instanceof l.MissingDataException){throw e}(0,l.warn)('XRef.parse - Invalid "Encrypt" reference: "'+e+'".')}if((0,c.isDict)(a)){var i=t.get("ID");var n=i&&i.length?i[0]:"";a.suppressEncryption=true;this.encrypt=new h.CipherTransformFactory(a,n,this.pdfManager.password)}var o=void 0;try{o=t.get("Root")}catch(e){if(e instanceof l.MissingDataException){throw e}(0,l.warn)('XRef.parse - Invalid "Root" reference: "'+e+'".')}if((0,c.isDict)(o)&&o.has("Pages")){this.root=o}else{if(!r){throw new l.XRefParseException}throw new l.FormatError("Invalid root reference")}},processXRefTable:function e(r){if(!("tableState"in this)){this.tableState={entryNum:0,streamPos:r.lexer.stream.pos,parserBuf1:r.buf1,parserBuf2:r.buf2}}var t=this.readXRefTable(r);if(!(0,c.isCmd)(t,"trailer")){throw new l.FormatError("Invalid XRef table: could not find trailer dictionary")}var a=r.getObj();if(!(0,c.isDict)(a)&&a.dict){a=a.dict}if(!(0,c.isDict)(a)){throw new l.FormatError("Invalid XRef table: could not parse trailer dictionary")}delete this.tableState;return a},readXRefTable:function e(r){var t=r.lexer.stream;var a=this.tableState;t.pos=a.streamPos;r.buf1=a.parserBuf1;r.buf2=a.parserBuf2;var i;while(true){if(!("firstEntryNum"in a)||!("entryCount"in a)){if((0,c.isCmd)(i=r.getObj(),"trailer")){break}a.firstEntryNum=i;a.entryCount=r.getObj()}var n=a.firstEntryNum;var o=a.entryCount;if(!Number.isInteger(n)||!Number.isInteger(o)){throw new l.FormatError("Invalid XRef table: wrong types in subsection header")}for(var s=a.entryNum;s<o;s++){a.streamPos=t.pos;a.entryNum=s;a.parserBuf1=r.buf1;a.parserBuf2=r.buf2;var u={};u.offset=r.getObj();u.gen=r.getObj();var f=r.getObj();if((0,c.isCmd)(f,"f")){u.free=true}else if((0,c.isCmd)(f,"n")){u.uncompressed=true}if(!Number.isInteger(u.offset)||!Number.isInteger(u.gen)||!(u.free||u.uncompressed)){throw new l.FormatError("Invalid entry in XRef subsection: "+n+", "+o)}if(s===0&&u.free&&n===1){n=0}if(!this.entries[s+n]){this.entries[s+n]=u}}a.entryNum=0;a.streamPos=t.pos;a.parserBuf1=r.buf1;a.parserBuf2=r.buf2;delete a.firstEntryNum;delete a.entryCount}if(this.entries[0]&&!this.entries[0].free){throw new l.FormatError("Invalid XRef table: unexpected first object")}return i},processXRefStream:function e(r){if(!("streamState"in this)){var t=r.dict;var a=t.get("W");var i=t.get("Index");if(!i){i=[0,t.get("Size")]}this.streamState={entryRanges:i,byteWidths:a,entryNum:0,streamPos:r.pos}}this.readXRefStream(r);delete this.streamState;return r.dict},readXRefStream:function e(r){var t,a;var i=this.streamState;r.pos=i.streamPos;var n=i.byteWidths;var o=n[0];var s=n[1];var c=n[2];var u=i.entryRanges;while(u.length>0){var f=u[0];var h=u[1];if(!Number.isInteger(f)||!Number.isInteger(h)){throw new l.FormatError("Invalid XRef range fields: "+f+", "+h)}if(!Number.isInteger(o)||!Number.isInteger(s)||!Number.isInteger(c)){throw new l.FormatError("Invalid XRef entry fields length: "+f+", "+h)}for(t=i.entryNum;t<h;++t){i.entryNum=t;i.streamPos=r.pos;var d=0,v=0,g=0;for(a=0;a<o;++a){d=d<<8|r.getByte()}if(o===0){d=1}for(a=0;a<s;++a){v=v<<8|r.getByte()}for(a=0;a<c;++a){g=g<<8|r.getByte()}var m={};m.offset=v;m.gen=g;switch(d){case 0:m.free=true;break;case 1:m.uncompressed=true;break;case 2:break;default:throw new l.FormatError("Invalid XRef entry type: "+d)}if(!this.entries[f+t]){this.entries[f+t]=m}}i.entryNum=0;i.streamPos=r.pos;u.splice(0,2)}},indexObjects:function e(){var r=9,t=10,a=13,i=32;var n=37,o=60;function s(e,r){var i="",n=e[r];while(n!==t&&n!==a&&n!==o){if(++r>=e.length){break}i+=String.fromCharCode(n);n=e[r]}return i}function f(e,r,t){var a=t.length,i=e.length;var n=0;while(r<i){var o=0;while(o<a&&e[r+o]===t[o]){++o}if(o>=a){break}r++;n++}return n}var h=/^(\d+)\s+(\d+)\s+obj\b/;var d=/\bendobj[\b\s]$/;var v=/\s+(\d+\s+\d+\s+obj[\b\s])$/;var g=25;var m=new Uint8Array([116,114,97,105,108,101,114]);var p=new Uint8Array([115,116,97,114,116,120,114,101,102]);var b=new Uint8Array([111,98,106]);var y=new Uint8Array([47,88,82,101,102]);this.entries.length=0;var w=this.stream;w.pos=0;var k=w.getBytes();var S=w.start,C=k.length;var x=[],_=[];while(S<C){var A=k[S];if(A===r||A===t||A===a||A===i){++S;continue}if(A===n){do{++S;if(S>=C){break}A=k[S]}while(A!==t&&A!==a);continue}var P=s(k,S);var I;if(P.indexOf("xref")===0&&(P.length===4||/\s/.test(P[4]))){S+=f(k,S,m);x.push(S);S+=f(k,S,p)}else if(I=h.exec(P)){if(typeof this.entries[I[1]]==="undefined"){this.entries[I[1]]={offset:S-w.start,gen:I[2]|0,uncompressed:true}}var O=void 0,T=S+P.length;while(T<k.length){var E=T+f(k,T,b)+4;O=E-S;var F=Math.max(E-g,T);var R=(0,l.bytesToString)(k.subarray(F,E));if(d.test(R)){break}else{var B=v.exec(R);if(B&&B[1]){(0,l.warn)('indexObjects: Found new "obj" inside of another "obj", '+'caused by missing "endobj" -- trying to recover.');O-=B[1].length;break}}T=E}var D=k.subarray(S,S+O);var M=f(D,0,y);if(M<O&&D[M+5]<64){_.push(S-w.start);this.xrefstms[S-w.start]=1}S+=O}else if(P.indexOf("trailer")===0&&(P.length===7||/\s/.test(P[7]))){x.push(S);S+=f(k,S,p)}else{S+=P.length+1}}var L,N;for(L=0,N=_.length;L<N;++L){this.startXRefQueue.push(_[L]);this.readXRef(true)}var U=void 0;for(L=0,N=x.length;L<N;++L){w.pos=x[L];var q=new u.Parser(new u.Lexer(w),true,this,true);var j=q.getObj();if(!(0,c.isCmd)(j,"trailer")){continue}var z=q.getObj();if(!(0,c.isDict)(z)){continue}var H=void 0;try{H=z.get("Root")}catch(e){if(e instanceof l.MissingDataException){throw e}continue}if(!(0,c.isDict)(H)||!H.has("Pages")){continue}if(z.has("ID")){return z}U=z}if(U){return U}throw new l.InvalidPDFException("Invalid PDF structure")},readXRef:function e(r){var t=this.stream;var a=Object.create(null);try{while(this.startXRefQueue.length){var i=this.startXRefQueue[0];if(a[i]){(0,l.warn)("readXRef - skipping XRef table since it was already parsed.");this.startXRefQueue.shift();continue}a[i]=true;t.pos=i+t.start;var n=new u.Parser(new u.Lexer(t),true,this);var o=n.getObj();var s;if((0,c.isCmd)(o,"xref")){s=this.processXRefTable(n);if(!this.topDict){this.topDict=s}o=s.get("XRefStm");if(Number.isInteger(o)){var f=o;if(!(f in this.xrefstms)){this.xrefstms[f]=1;this.startXRefQueue.push(f)}}}else if(Number.isInteger(o)){if(!Number.isInteger(n.getObj())||!(0,c.isCmd)(n.getObj(),"obj")||!(0,c.isStream)(o=n.getObj())){throw new l.FormatError("Invalid XRef stream")}s=this.processXRefStream(o);if(!this.topDict){this.topDict=s}if(!s){throw new l.FormatError("Failed to read XRef stream")}}else{throw new l.FormatError("Invalid XRef stream header")}o=s.get("Prev");if(Number.isInteger(o)){this.startXRefQueue.push(o)}else if((0,c.isRef)(o)){this.startXRefQueue.push(o.num)}this.startXRefQueue.shift()}return this.topDict}catch(e){if(e instanceof l.MissingDataException){throw e}(0,l.info)("(while reading XRef): "+e)}if(r){return}throw new l.XRefParseException},getEntry:function e(r){var t=this.entries[r];if(t&&!t.free&&t.offset){return t}return null},fetchIfRef:function e(r,t){if(!(0,c.isRef)(r)){return r}return this.fetch(r,t)},fetch:function e(r,t){if(!(0,c.isRef)(r)){throw new Error("ref object is not a reference")}var a=r.num;if(a in this.cache){var i=this.cache[a];if(i instanceof c.Dict&&!i.objId){i.objId=r.toString()}return i}var n=this.getEntry(a);if(n===null){return this.cache[a]=null}if(n.uncompressed){n=this.fetchUncompressed(r,n,t)}else{n=this.fetchCompressed(n,t)}if((0,c.isDict)(n)){n.objId=r.toString()}else if((0,c.isStream)(n)){n.dict.objId=r.toString()}return n},fetchUncompressed:function e(r,t,a){var i=r.gen;var n=r.num;if(t.gen!==i){throw new l.FormatError("inconsistent generation in XRef")}var o=this.stream.makeSubStream(t.offset+this.stream.start);var s=new u.Parser(new u.Lexer(o),true,this);var f=s.getObj();var h=s.getObj();var d=s.getObj();if(!Number.isInteger(f)){f=parseInt(f,10)}if(!Number.isInteger(h)){h=parseInt(h,10)}if(f!==n||h!==i||!(0,c.isCmd)(d)){throw new l.FormatError("bad XRef entry")}if(d.cmd!=="obj"){if(d.cmd.indexOf("obj")===0){n=parseInt(d.cmd.substring(3),10);if(!Number.isNaN(n)){return n}}throw new l.FormatError("bad XRef entry")}if(this.encrypt&&!a){t=s.getObj(this.encrypt.createCipherTransform(n,i))}else{t=s.getObj()}if(!(0,c.isStream)(t)){this.cache[n]=t}return t},fetchCompressed:function e(r,t){var a=r.offset;var i=this.fetch(new c.Ref(a,0));if(!(0,c.isStream)(i)){throw new l.FormatError("bad ObjStm stream")}var n=i.dict.get("First");var o=i.dict.get("N");if(!Number.isInteger(n)||!Number.isInteger(o)){throw new l.FormatError("invalid first and n parameters for ObjStm stream")}var s=new u.Parser(new u.Lexer(i),false,this);s.allowStreams=true;var f,h=[],d,v=[];for(f=0;f<o;++f){d=s.getObj();if(!Number.isInteger(d)){throw new l.FormatError("invalid object number in the ObjStm stream: "+d)}v.push(d);var g=s.getObj();if(!Number.isInteger(g)){throw new l.FormatError("invalid object offset in the ObjStm stream: "+g)}}for(f=0;f<o;++f){h.push(s.getObj());if((0,c.isCmd)(s.buf1,"endobj")){s.shift()}d=v[f];var m=this.entries[d];if(m&&m.offset===a&&m.gen===f){this.cache[d]=h[f]}}r=h[r.gen];if(r===undefined){throw new l.FormatError("bad XRef entry for compressed object")}return r},fetchIfRefAsync:function(){var e=p(i.default.mark(function e(r,t){return i.default.wrap(function e(a){while(1){switch(a.prev=a.next){case 0:if((0,c.isRef)(r)){a.next=2;break}return a.abrupt("return",r);case 2:return a.abrupt("return",this.fetchAsync(r,t));case 3:case"end":return a.stop()}}},e,this)}));function r(r,t){return e.apply(this,arguments)}return r}(),fetchAsync:function(){var e=p(i.default.mark(function e(r,t){return i.default.wrap(function e(a){while(1){switch(a.prev=a.next){case 0:a.prev=0;return a.abrupt("return",this.fetch(r,t));case 4:a.prev=4;a.t0=a["catch"](0);if(a.t0 instanceof l.MissingDataException){a.next=8;break}throw a.t0;case 8:a.next=10;return this.pdfManager.requestRange(a.t0.begin,a.t0.end);case 10:return a.abrupt("return",this.fetchAsync(r,t));case 11:case"end":return a.stop()}}},e,this,[[0,4]])}));function r(r,t){return e.apply(this,arguments)}return r}(),getCatalogObj:function e(){return this.root}};return r}();var S=function(){function e(r,t,a){b(this,e);if(this.constructor===e){(0,l.unreachable)("Cannot initialize NameOrNumberTree.")}this.root=r;this.xref=t;this._type=a}s(e,[{key:"getAll",value:function e(){var r=Object.create(null);if(!this.root){return r}var t=this.xref;var a=new c.RefSet;a.put(this.root);var i=[this.root];while(i.length>0){var n=t.fetchIfRef(i.shift());if(!(0,c.isDict)(n)){continue}if(n.has("Kids")){var o=n.get("Kids");for(var s=0,u=o.length;s<u;s++){var f=o[s];if(a.has(f)){throw new l.FormatError('Duplicate entry in "'+this._type+'" tree.')}i.push(f);a.put(f)}continue}var h=n.get(this._type);if(Array.isArray(h)){for(var d=0,v=h.length;d<v;d+=2){r[t.fetchIfRef(h[d])]=t.fetchIfRef(h[d+1])}}}return r}},{key:"get",value:function e(r){if(!this.root){return null}var t=this.xref;var a=t.fetchIfRef(this.root);var i=0;var n=10;while(a.has("Kids")){if(++i>n){(0,l.warn)('Search depth limit reached for "'+this._type+'" tree.');return null}var o=a.get("Kids");if(!Array.isArray(o)){return null}var s=0,c=o.length-1;while(s<=c){var u=s+c>>1;var f=t.fetchIfRef(o[u]);var h=f.get("Limits");if(r<t.fetchIfRef(h[0])){c=u-1}else if(r>t.fetchIfRef(h[1])){s=u+1}else{a=t.fetchIfRef(o[u]);break}}if(s>c){return null}}var d=a.get(this._type);if(Array.isArray(d)){var v=0,g=d.length-2;while(v<=g){var m=v+g&~1;var p=t.fetchIfRef(d[m]);if(r<p){g=m-2}else if(r>p){v=m+2}else{return t.fetchIfRef(d[m+1])}}}return null}}]);return e}();var C=function(e){m(r,e);function r(e,t){b(this,r);return g(this,(r.__proto__||Object.getPrototypeOf(r)).call(this,e,t,"Names"))}return r}(S);var x=function(e){m(r,e);function r(e,t){b(this,r);return g(this,(r.__proto__||Object.getPrototypeOf(r)).call(this,e,t,"Nums"))}return r}(S);var _=function e(){function r(e,r){if(!e||!(0,c.isDict)(e)){return}this.xref=r;this.root=e;if(e.has("FS")){this.fs=e.get("FS")}this.description=e.has("Desc")?(0,l.stringToPDFString)(e.get("Desc")):"";if(e.has("RF")){(0,l.warn)("Related file specifications are not supported")}this.contentAvailable=true;if(!e.has("EF")){this.contentAvailable=false;(0,l.warn)("Non-embedded file specifications are not supported")}}function t(e){if(e.has("UF")){return e.get("UF")}else if(e.has("F")){return e.get("F")}else if(e.has("Unix")){return e.get("Unix")}else if(e.has("Mac")){return e.get("Mac")}else if(e.has("DOS")){return e.get("DOS")}return null}r.prototype={get filename(){if(!this._filename&&this.root){var e=t(this.root)||"unnamed";this._filename=(0,l.stringToPDFString)(e).replace(/\\\\/g,"\\").replace(/\\\//g,"/").replace(/\\/g,"/")}return this._filename},get content(){if(!this.contentAvailable){return null}if(!this.contentRef&&this.root){this.contentRef=t(this.root.get("EF"))}var e=null;if(this.contentRef){var r=this.xref;var a=r.fetchIfRef(this.contentRef);if(a&&(0,c.isStream)(a)){e=a.getBytes()}else{(0,l.warn)("Embedded file specification points to non-existing/invalid "+"content")}}else{(0,l.warn)("Embedded file specification does not have a content")}return e},get serializable(){return{filename:this.filename,content:this.content}}};return r}();var A=function(){function e(e){return(0,c.isRef)(e)||(0,c.isDict)(e)||Array.isArray(e)||(0,c.isStream)(e)}function r(r,t){if((0,c.isDict)(r)||(0,c.isStream)(r)){var a=(0,c.isDict)(r)?r:r.dict;var i=a.getKeys();for(var n=0,o=i.length;n<o;n++){var s=a.getRaw(i[n]);if(e(s)){t.push(s)}}}else if(Array.isArray(r)){for(var l=0,u=r.length;l<u;l++){var f=r[l];if(e(f)){t.push(f)}}}}function t(e,r,t){this.dict=e;this.keys=r;this.xref=t;this.refSet=null;this.capability=null}t.prototype={load:function e(){this.capability=(0,l.createPromiseCapability)();if(!(this.xref.stream instanceof f.ChunkedStream)||this.xref.stream.getMissingChunks().length===0){this.capability.resolve();return this.capability.promise}var r=this.keys,t=this.dict;this.refSet=new c.RefSet;var a=[];for(var i=0,n=r.length;i<n;i++){var o=t.getRaw(r[i]);if(o!==undefined){a.push(o)}}this._walk(a);return this.capability.promise},_walk:function e(t){var a=this;var i=[];var n=[];while(t.length){var o=t.pop();if((0,c.isRef)(o)){if(this.refSet.has(o)){continue}try{this.refSet.put(o);o=this.xref.fetch(o)}catch(e){if(!(e instanceof l.MissingDataException)){throw e}i.push(o);n.push({begin:e.begin,end:e.end})}}if(o&&o.getBaseStreams){var s=o.getBaseStreams();var u=false;for(var f=0,h=s.length;f<h;f++){var d=s[f];if(d.getMissingChunks&&d.getMissingChunks().length){u=true;n.push({begin:d.start,end:d.end})}}if(u){i.push(o)}}r(o,t)}if(n.length){this.xref.stream.manager.requestRanges(n).then(function(){for(var e=0,r=i.length;e<r;e++){var t=i[e];if((0,c.isRef)(t)){a.refSet.remove(t)}}a._walk(i)},this.capability.reject);return}this.refSet=null;this.capability.resolve()}};return t}();r.Catalog=w;r.ObjectLoader=A;r.XRef=k;r.FileSpec=_},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:true});var a=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol==="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};var i={};var n=function e(){function r(e){this.name=e}r.prototype={};var t=Object.create(null);r.get=function e(a){var i=t[a];return i?i:t[a]=new r(a)};return r}();var o=function e(){function r(e){this.cmd=e}r.prototype={};var t=Object.create(null);r.get=function e(a){var i=t[a];return i?i:t[a]=new r(a)};return r}();var s=function e(){var r=function e(){return r};function t(e){this._map=Object.create(null);this.xref=e;this.objId=null;this.suppressEncryption=false;this.__nonSerializable__=r}t.prototype={assignXref:function e(r){this.xref=r},get:function e(r,t,a){var i;var n=this.xref,o=this.suppressEncryption;if(typeof(i=this._map[r])!=="undefined"||r in this._map||typeof t==="undefined"){return n?n.fetchIfRef(i,o):i}if(typeof(i=this._map[t])!=="undefined"||t in this._map||typeof a==="undefined"){return n?n.fetchIfRef(i,o):i}i=this._map[a]||null;return n?n.fetchIfRef(i,o):i},getAsync:function e(r,t,a){var i;var n=this.xref,o=this.suppressEncryption;if(typeof(i=this._map[r])!=="undefined"||r in this._map||typeof t==="undefined"){if(n){return n.fetchIfRefAsync(i,o)}return Promise.resolve(i)}if(typeof(i=this._map[t])!=="undefined"||t in this._map||typeof a==="undefined"){if(n){return n.fetchIfRefAsync(i,o)}return Promise.resolve(i)}i=this._map[a]||null;if(n){return n.fetchIfRefAsync(i,o)}return Promise.resolve(i)},getArray:function e(r,t,a){var i=this.get(r,t,a);var n=this.xref,o=this.suppressEncryption;if(!Array.isArray(i)||!n){return i}i=i.slice();for(var s=0,l=i.length;s<l;s++){if(!g(i[s])){continue}i[s]=n.fetch(i[s],o)}return i},getRaw:function e(r){return this._map[r]},getKeys:function e(){return Object.keys(this._map)},set:function e(r,t){this._map[r]=t},has:function e(r){return r in this._map},forEach:function e(r){for(var t in this._map){r(t,this.get(t))}}};t.empty=new t(null);t.merge=function(e,r){var a=new t(e);for(var i=0,n=r.length;i<n;i++){var o=r[i];if(!v(o)){continue}for(var s in o._map){if(a._map[s]!==undefined){continue}a._map[s]=o._map[s]}}return a};return t}();var l=function e(){function r(e,r){this.num=e;this.gen=r}r.prototype={toString:function e(){var r=this.num+"R";if(this.gen!==0){r+=this.gen}return r}};return r}();var c=function e(){function r(){this.dict=Object.create(null)}r.prototype={has:function e(r){return r.toString()in this.dict},put:function e(r){this.dict[r.toString()]=true},remove:function e(r){delete this.dict[r.toString()]}};return r}();var u=function e(){function r(){this.dict=Object.create(null)}r.prototype={get:function e(r){return this.dict[r.toString()]},has:function e(r){return r.toString()in this.dict},put:function e(r,t){this.dict[r.toString()]=t},putAlias:function e(r,t){this.dict[r.toString()]=this.get(t)},forEach:function e(r,t){for(var a in this.dict){r.call(t,this.dict[a])}},clear:function e(){this.dict=Object.create(null)}};return r}();function f(e){return e===i}function h(e,r){return e instanceof n&&(r===undefined||e.name===r)}function d(e,r){return e instanceof o&&(r===undefined||e.cmd===r)}function v(e,r){return e instanceof s&&(r===undefined||h(e.get("Type"),r))}function g(e){return e instanceof l}function m(e,r){return e.num===r.num&&e.gen===r.gen}function p(e){return(typeof e==="undefined"?"undefined":a(e))==="object"&&e!==null&&e.getBytes!==undefined}r.EOF=i;r.Cmd=o;r.Dict=s;r.Name=n;r.Ref=l;r.RefSet=c;r.RefSetCache=u;r.isEOF=f;r.isCmd=d;r.isDict=v;r.isName=h;r.isRef=g;r.isRefsEqual=m;r.isStream=p},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:true});r.Parser=r.Linearization=r.Lexer=undefined;var a=t(140);var i=t(2);var n=t(138);var o=t(141);var s=t(143);var l=t(146);var c=t(148);var u=1e3;var f=5552;function h(e){var r=e.length;var t=1,a=0;for(var i=0;i<r;++i){t+=e[i]&255;a+=t}return a%65521<<16|t%65521}var d=function e(){function r(e,r,t,a){this.lexer=e;this.allowStreams=r;this.xref=t;this.recoveryMode=a||false;this.imageCache=Object.create(null);this.refill()}r.prototype={refill:function e(){this.buf1=this.lexer.getObj();this.buf2=this.lexer.getObj()},shift:function e(){if((0,n.isCmd)(this.buf2,"ID")){this.buf1=this.buf2;this.buf2=null}else{this.buf1=this.buf2;this.buf2=this.lexer.getObj()}},tryShift:function e(){try{this.shift();return true}catch(e){if(e instanceof i.MissingDataException){throw e}return false}},getObj:function e(r){var t=this.buf1;this.shift();if(t instanceof n.Cmd){switch(t.cmd){case"BI":return this.makeInlineImage(r);case"[":var a=[];while(!(0,n.isCmd)(this.buf1,"]")&&!(0,n.isEOF)(this.buf1)){a.push(this.getObj(r))}if((0,n.isEOF)(this.buf1)){if(!this.recoveryMode){throw new i.FormatError("End of file inside array")}return a}this.shift();return a;case"<<":var o=new n.Dict(this.xref);while(!(0,n.isCmd)(this.buf1,">>")&&!(0,n.isEOF)(this.buf1)){if(!(0,n.isName)(this.buf1)){(0,i.info)("Malformed dictionary: key must be a name object");this.shift();continue}var s=this.buf1.name;this.shift();if((0,n.isEOF)(this.buf1)){break}o.set(s,this.getObj(r))}if((0,n.isEOF)(this.buf1)){if(!this.recoveryMode){throw new i.FormatError("End of file inside dictionary")}return o}if((0,n.isCmd)(this.buf2,"stream")){return this.allowStreams?this.makeStream(o,r):o}this.shift();return o;default:return t}}if(Number.isInteger(t)){var l=t;if(Number.isInteger(this.buf1)&&(0,n.isCmd)(this.buf2,"R")){var c=new n.Ref(l,this.buf1);this.shift();this.shift();return c}return l}if((0,i.isString)(t)){var u=t;if(r){u=r.decryptString(u)}return u}return t},findDefaultInlineStreamEnd:function e(r){var t=69,a=73,n=32,o=10,s=13;var l=10,c=0;var u=r.pos,f=0,h=void 0,d=void 0;while((h=r.getByte())!==-1){if(f===0){f=h===t?1:0}else if(f===1){f=h===a?2:0}else{(0,i.assert)(f===2);if(h===n||h===o||h===s){d=r.pos;var v=r.peekBytes(l);for(var g=0,m=v.length;g<m;g++){h=v[g];if(h===c&&v[g+1]!==c){continue}if(h!==o&&h!==s&&(h<n||h>127)){f=0;break}}if(f===2){break}}else{f=0}}}if(h===-1){(0,i.warn)("findDefaultInlineStreamEnd: "+"Reached the end of the stream without finding a valid EI marker");if(d){(0,i.warn)('... trying to recover by using the last "EI" occurrence.');r.skip(-(r.pos-d))}}return r.pos-4-u},findDCTDecodeInlineStreamEnd:function e(r){var t=r.pos,a=false,n,o,s;while((n=r.getByte())!==-1){if(n!==255){continue}switch(r.getByte()){case 0:break;case 255:r.skip(-1);break;case 217:a=true;break;case 192:case 193:case 194:case 195:case 197:case 198:case 199:case 201:case 202:case 203:case 205:case 206:case 207:case 196:case 204:case 218:case 219:case 220:case 221:case 222:case 223:case 224:case 225:case 226:case 227:case 228:case 229:case 230:case 231:case 232:case 233:case 234:case 235:case 236:case 237:case 238:case 239:case 254:o=r.getUint16();if(o>2){r.skip(o-2)}else{r.skip(-2)}break}if(a){break}}s=r.pos-t;if(n===-1){(0,i.warn)("Inline DCTDecode image stream: "+"EOI marker not found, searching for /EI/ instead.");r.skip(-s);return this.findDefaultInlineStreamEnd(r)}this.inlineStreamSkipEI(r);return s},findASCII85DecodeInlineStreamEnd:function e(r){var t=126,a=62;var n=r.pos,o,s;while((o=r.getByte())!==-1){if(o===t&&r.peekByte()===a){r.skip();break}}s=r.pos-n;if(o===-1){(0,i.warn)("Inline ASCII85Decode image stream: "+"EOD marker not found, searching for /EI/ instead.");r.skip(-s);return this.findDefaultInlineStreamEnd(r)}this.inlineStreamSkipEI(r);return s},findASCIIHexDecodeInlineStreamEnd:function e(r){var t=62;var a=r.pos,n,o;while((n=r.getByte())!==-1){if(n===t){break}}o=r.pos-a;if(n===-1){(0,i.warn)("Inline ASCIIHexDecode image stream: "+"EOD marker not found, searching for /EI/ instead.");r.skip(-o);return this.findDefaultInlineStreamEnd(r)}this.inlineStreamSkipEI(r);return o},inlineStreamSkipEI:function e(r){var t=69,a=73;var i=0,n;while((n=r.getByte())!==-1){if(i===0){i=n===t?1:0}else if(i===1){i=n===a?2:0}else if(i===2){break}}},makeInlineImage:function e(r){var t=this.lexer;var a=t.stream;var o=new n.Dict(this.xref),s=void 0;while(!(0,n.isCmd)(this.buf1,"ID")&&!(0,n.isEOF)(this.buf1)){if(!(0,n.isName)(this.buf1)){throw new i.FormatError("Dictionary key must be a name object")}var l=this.buf1.name;this.shift();if((0,n.isEOF)(this.buf1)){break}o.set(l,this.getObj(r))}if(t.beginInlineImagePos!==-1){s=a.pos-t.beginInlineImagePos}var c=o.get("Filter","F"),d;if((0,n.isName)(c)){d=c.name}else if(Array.isArray(c)){var v=this.xref.fetchIfRef(c[0]);if((0,n.isName)(v)){d=v.name}}var g=a.pos,m=void 0;if(d==="DCTDecode"||d==="DCT"){m=this.findDCTDecodeInlineStreamEnd(a)}else if(d==="ASCII85Decode"||d==="A85"){m=this.findASCII85DecodeInlineStreamEnd(a)}else if(d==="ASCIIHexDecode"||d==="AHx"){m=this.findASCIIHexDecodeInlineStreamEnd(a)}else{m=this.findDefaultInlineStreamEnd(a)}var p=a.makeSubStream(g,m,o);var b=void 0;if(m<u&&s<f){var y=p.getBytes();p.reset();var w=a.pos;a.pos=t.beginInlineImagePos;var k=a.getBytes(s);a.pos=w;b=h(y)+"_"+h(k);var S=this.imageCache[b];if(S!==undefined){this.buf2=n.Cmd.get("EI");this.shift();S.reset();return S}}if(r){p=r.createStream(p,m)}p=this.filter(p,o,m);p.dict=o;if(b!==undefined){p.cacheKey="inline_"+m+"_"+b;this.imageCache[b]=p}this.buf2=n.Cmd.get("EI");this.shift();return p},_findStreamLength:function e(r,t){var a=this.lexer.stream;a.pos=r;var i=2048;var n=t.length;while(a.pos<a.end){var o=a.peekBytes(i);var s=o.length-n;if(s<=0){break}var l=0;while(l<s){var c=0;while(c<n&&o[l+c]===t[c]){c++}if(c>=n){a.pos+=l;return a.pos-r}l++}a.pos+=s}return-1},makeStream:function e(r,t){var a=this.lexer;var o=a.stream;a.skipToNextLine();var s=o.pos-1;var l=r.get("Length");if(!Number.isInteger(l)){(0,i.info)("Bad "+l+" attribute in stream");l=0}o.pos=s+l;a.nextChar();if(this.tryShift()&&(0,n.isCmd)(this.buf2,"endstream")){this.shift()}else{var c=new Uint8Array([101,110,100,115,116,114,101,97,109]);var u=this._findStreamLength(s,c);if(u<0){var f=1;for(var h=1;h<=f;h++){var d=c.length-h;var v=c.slice(0,d);var g=this._findStreamLength(s,v);if(g>=0){var m=o.peekBytes(d+1)[d];if(!(0,i.isSpace)(m)){break}(0,i.info)('Found "'+(0,i.bytesToString)(v)+'" when '+"searching for endstream command.");u=g;break}}if(u<0){throw new i.FormatError("Missing endstream command.")}}l=u;a.nextChar();this.shift();this.shift()}this.shift();o=o.makeSubStream(s,l,r);if(t){o=t.createStream(o,l)}o=this.filter(o,r,l);o.dict=r;return o},filter:function e(r,t,a){var o=t.get("Filter","F");var s=t.get("DecodeParms","DP");if((0,n.isName)(o)){if(Array.isArray(s)){(0,i.warn)("/DecodeParms should not contain an Array, "+"when /Filter contains a Name.")}return this.makeFilter(r,o.name,a,s)}var l=a;if(Array.isArray(o)){var c=o;var u=s;for(var f=0,h=c.length;f<h;++f){o=this.xref.fetchIfRef(c[f]);if(!(0,n.isName)(o)){throw new i.FormatError("Bad filter name: "+o)}s=null;if(Array.isArray(u)&&f in u){s=this.xref.fetchIfRef(u[f])}r=this.makeFilter(r,o.name,l,s);l=null}}return r},makeFilter:function e(r,t,n,u){if(n===0){(0,i.warn)('Empty "'+t+'" stream.');return new a.NullStream}try{var f=this.xref.stats.streamTypes;if(t==="FlateDecode"||t==="Fl"){f[i.StreamType.FLATE]=true;if(u){return new a.PredictorStream(new a.FlateStream(r,n),n,u)}return new a.FlateStream(r,n)}if(t==="LZWDecode"||t==="LZW"){f[i.StreamType.LZW]=true;var h=1;if(u){if(u.has("EarlyChange")){h=u.get("EarlyChange")}return new a.PredictorStream(new a.LZWStream(r,n,h),n,u)}return new a.LZWStream(r,n,h)}if(t==="DCTDecode"||t==="DCT"){f[i.StreamType.DCT]=true;return new l.JpegStream(r,n,r.dict,u)}if(t==="JPXDecode"||t==="JPX"){f[i.StreamType.JPX]=true;return new c.JpxStream(r,n,r.dict,u)}if(t==="ASCII85Decode"||t==="A85"){f[i.StreamType.A85]=true;return new a.Ascii85Stream(r,n)}if(t==="ASCIIHexDecode"||t==="AHx"){f[i.StreamType.AHX]=true;return new a.AsciiHexStream(r,n)}if(t==="CCITTFaxDecode"||t==="CCF"){f[i.StreamType.CCF]=true;return new o.CCITTFaxStream(r,n,u)}if(t==="RunLengthDecode"||t==="RL"){f[i.StreamType.RL]=true;return new a.RunLengthStream(r,n)}if(t==="JBIG2Decode"){f[i.StreamType.JBIG]=true;return new s.Jbig2Stream(r,n,r.dict,u)}(0,i.warn)('filter "'+t+'" not supported yet');return r}catch(e){if(e instanceof i.MissingDataException){throw e}(0,i.warn)('Invalid stream: "'+e+'"');return new a.NullStream}}};return r}();var v=function e(){function r(e,r){this.stream=e;this.nextChar();this.strBuf=[];this.knownCommands=r;this.beginInlineImagePos=-1}var t=[1,0,0,0,0,0,0,0,0,1,1,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,2,0,0,2,2,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,2,0,2,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,2,0,2,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,2,0,2,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,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];function a(e){if(e>=48&&e<=57){return e&15}if(e>=65&&e<=70||e>=97&&e<=102){return(e&15)+9}return-1}r.prototype={nextChar:function e(){return this.currentChar=this.stream.getByte()},peekChar:function e(){return this.stream.peekByte()},getNumber:function e(){var r=this.currentChar;var t=false;var a=0;var n=0;if(r===45){n=-1;r=this.nextChar();if(r===45){r=this.nextChar()}}else if(r===43){n=1;r=this.nextChar()}if(r===10||r===13){do{r=this.nextChar()}while(r===10||r===13)}if(r===46){a=10;r=this.nextChar()}if(r<48||r>57){if(a===10&&n===0&&((0,i.isSpace)(r)||r===-1)){(0,i.warn)("Lexer.getNumber - treating a single decimal point as zero.");return 0}throw new i.FormatError("Invalid number: "+String.fromCharCode(r)+" (charCode "+r+")")}n=n||1;var o=r-48;var s=0;var l=1;while((r=this.nextChar())>=0){if(48<=r&&r<=57){var c=r-48;if(t){s=s*10+c}else{if(a!==0){a*=10}o=o*10+c}}else if(r===46){if(a===0){a=1}else{break}}else if(r===45){(0,i.warn)("Badly formatted number")}else if(r===69||r===101){r=this.peekChar();if(r===43||r===45){l=r===45?-1:1;this.nextChar()}else if(r<48||r>57){break}t=true}else{break}}if(a!==0){o/=a}if(t){o*=Math.pow(10,l*s)}return n*o},getString:function e(){var r=1;var t=false;var a=this.strBuf;a.length=0;var n=this.nextChar();while(true){var o=false;switch(n|0){case-1:(0,i.warn)("Unterminated string");t=true;break;case 40:++r;a.push("(");break;case 41:if(--r===0){this.nextChar();t=true}else{a.push(")")}break;case 92:n=this.nextChar();switch(n){case-1:(0,i.warn)("Unterminated string");t=true;break;case 110:a.push("\n");break;case 114:a.push("\r");break;case 116:a.push("\t");break;case 98:a.push("\b");break;case 102:a.push("\f");break;case 92:case 40:case 41:a.push(String.fromCharCode(n));break;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:var s=n&15;n=this.nextChar();o=true;if(n>=48&&n<=55){s=(s<<3)+(n&15);n=this.nextChar();if(n>=48&&n<=55){o=false;s=(s<<3)+(n&15)}}a.push(String.fromCharCode(s));break;case 13:if(this.peekChar()===10){this.nextChar()}break;case 10:break;default:a.push(String.fromCharCode(n));break}break;default:a.push(String.fromCharCode(n));break}if(t){break}if(!o){n=this.nextChar()}}return a.join("")},getName:function e(){var r,o;var s=this.strBuf;s.length=0;while((r=this.nextChar())>=0&&!t[r]){if(r===35){r=this.nextChar();if(t[r]){(0,i.warn)("Lexer_getName: "+"NUMBER SIGN (#) should be followed by a hexadecimal number.");s.push("#");break}var l=a(r);if(l!==-1){o=r;r=this.nextChar();var c=a(r);if(c===-1){(0,i.warn)("Lexer_getName: Illegal digit ("+String.fromCharCode(r)+") in hexadecimal number.");s.push("#",String.fromCharCode(o));if(t[r]){break}s.push(String.fromCharCode(r));continue}s.push(String.fromCharCode(l<<4|c))}else{s.push("#",String.fromCharCode(r))}}else{s.push(String.fromCharCode(r))}}if(s.length>127){(0,i.warn)("name token is longer than allowed by the spec: "+s.length)}return n.Name.get(s.join(""))},getHexString:function e(){var r=this.strBuf;r.length=0;var n=this.currentChar;var o=true;var s;var l;while(true){if(n<0){(0,i.warn)("Unterminated hex string");break}else if(n===62){this.nextChar();break}else if(t[n]===1){n=this.nextChar();continue}else{if(o){s=a(n);if(s===-1){(0,i.warn)('Ignoring invalid character "'+n+'" in hex string');n=this.nextChar();continue}}else{l=a(n);if(l===-1){(0,i.warn)('Ignoring invalid character "'+n+'" in hex string');n=this.nextChar();continue}r.push(String.fromCharCode(s<<4|l))}o=!o;n=this.nextChar()}}return r.join("")},getObj:function e(){var r=false;var a=this.currentChar;while(true){if(a<0){return n.EOF}if(r){if(a===10||a===13){r=false}}else if(a===37){r=true}else if(t[a]!==1){break}a=this.nextChar()}switch(a|0){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:case 43:case 45:case 46:return this.getNumber();case 40:return this.getString();case 47:return this.getName();case 91:this.nextChar();return n.Cmd.get("[");case 93:this.nextChar();return n.Cmd.get("]");case 60:a=this.nextChar();if(a===60){this.nextChar();return n.Cmd.get("<<")}return this.getHexString();case 62:a=this.nextChar();if(a===62){this.nextChar();return n.Cmd.get(">>")}return n.Cmd.get(">");case 123:this.nextChar();return n.Cmd.get("{");case 125:this.nextChar();return n.Cmd.get("}");case 41:this.nextChar();throw new i.FormatError("Illegal character: "+a)}var o=String.fromCharCode(a);var s=this.knownCommands;var l=s&&s[o]!==undefined;while((a=this.nextChar())>=0&&!t[a]){var c=o+String.fromCharCode(a);if(l&&s[c]===undefined){break}if(o.length===128){throw new i.FormatError("Command token too long: "+o.length)}o=c;l=s&&s[o]!==undefined}if(o==="true"){return true}if(o==="false"){return false}if(o==="null"){return null}if(o==="BI"){this.beginInlineImagePos=this.stream.pos}return n.Cmd.get(o)},skipToNextLine:function e(){var r=this.currentChar;while(r>=0){if(r===13){r=this.nextChar();if(r===10){this.nextChar()}break}else if(r===10){this.nextChar();break}r=this.nextChar()}}};return r}();var g={create:function e(r){function t(e,r){var t=u.get(e);if(Number.isInteger(t)&&(r?t>=0:t>0)){return t}throw new Error('The "'+e+'" parameter in the linearization '+"dictionary is invalid.")}function a(){var e=u.get("H"),r,t;if(Array.isArray(e)&&((r=e.length)===2||r===4)){for(var a=0;a<r;a++){if(!(Number.isInteger(t=e[a])&&t>0)){throw new Error("Hint ("+a+") in the linearization dictionary is invalid.")}}return e}throw new Error("Hint array in the linearization dictionary is invalid.")}var o=new d(new v(r),false,null);var s=o.getObj();var l=o.getObj();var c=o.getObj();var u=o.getObj();var f,h;if(!(Number.isInteger(s)&&Number.isInteger(l)&&(0,n.isCmd)(c,"obj")&&(0,n.isDict)(u)&&(0,i.isNum)(f=u.get("Linearized"))&&f>0)){return null}else if((h=t("L"))!==r.length){throw new Error('The "L" parameter in the linearization dictionary '+"does not equal the stream length.")}return{length:h,hints:a(),objectNumberFirst:t("O"),endFirst:t("E"),numPages:t("N"),mainXRefEntriesOffset:t("T"),pageFirst:u.has("P")?t("P",true):0}}};r.Lexer=v;r.Linearization=g;r.Parser=d},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:true});r.LZWStream=r.StringStream=r.StreamsSequenceStream=r.Stream=r.RunLengthStream=r.PredictorStream=r.NullStream=r.FlateStream=r.DecodeStream=r.DecryptStream=r.AsciiHexStream=r.Ascii85Stream=undefined;var a=t(2);var i=t(138);function n(e){if(Array.isArray(e)){for(var r=0,t=Array(e.length);r<e.length;r++){t[r]=e[r]}return t}else{return Array.from(e)}}var o=function e(){function r(e,r,t,a){this.bytes=e instanceof Uint8Array?e:new Uint8Array(e);this.start=r||0;this.pos=this.start;this.end=r+t||this.bytes.length;this.dict=a}r.prototype={get length(){return this.end-this.start},get isEmpty(){return this.length===0},getByte:function e(){if(this.pos>=this.end){return-1}return this.bytes[this.pos++]},getUint16:function e(){var r=this.getByte();var t=this.getByte();if(r===-1||t===-1){return-1}return(r<<8)+t},getInt32:function e(){var r=this.getByte();var t=this.getByte();var a=this.getByte();var i=this.getByte();return(r<<24)+(t<<16)+(a<<8)+i},getBytes:function e(r){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:false;var a=this.bytes;var i=this.pos;var n=this.end;if(!r){var o=a.subarray(i,n);return t?new Uint8ClampedArray(o):o}var s=i+r;if(s>n){s=n}this.pos=s;var l=a.subarray(i,s);return t?new Uint8ClampedArray(l):l},peekByte:function e(){var r=this.getByte();this.pos--;return r},peekBytes:function e(r){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:false;var a=this.getBytes(r,t);this.pos-=a.length;return a},skip:function e(r){if(!r){r=1}this.pos+=r},reset:function e(){this.pos=this.start},moveStart:function e(){this.start=this.pos},makeSubStream:function e(t,a,i){return new r(this.bytes.buffer,t,a,i)}};return r}();var s=function e(){function r(e){var r=(0,a.stringToBytes)(e);o.call(this,r)}r.prototype=o.prototype;return r}();var l=function e(){var r=new Uint8Array(0);function t(e){this._rawMinBufferLength=e||0;this.pos=0;this.bufferLength=0;this.eof=false;this.buffer=r;this.minBufferLength=512;if(e){while(this.minBufferLength<e){this.minBufferLength*=2}}}t.prototype={get isEmpty(){while(!this.eof&&this.bufferLength===0){this.readBlock()}return this.bufferLength===0},ensureBuffer:function e(r){var t=this.buffer;if(r<=t.byteLength){return t}var a=this.minBufferLength;while(a<r){a*=2}var i=new Uint8Array(a);i.set(t);return this.buffer=i},getByte:function e(){var r=this.pos;while(this.bufferLength<=r){if(this.eof){return-1}this.readBlock()}return this.buffer[this.pos++]},getUint16:function e(){var r=this.getByte();var t=this.getByte();if(r===-1||t===-1){return-1}return(r<<8)+t},getInt32:function e(){var r=this.getByte();var t=this.getByte();var a=this.getByte();var i=this.getByte();return(r<<24)+(t<<16)+(a<<8)+i},getBytes:function e(r){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:false;var a,i=this.pos;if(r){this.ensureBuffer(i+r);a=i+r;while(!this.eof&&this.bufferLength<a){this.readBlock()}var n=this.bufferLength;if(a>n){a=n}}else{while(!this.eof){this.readBlock()}a=this.bufferLength}this.pos=a;var o=this.buffer.subarray(i,a);return t&&!(o instanceof Uint8ClampedArray)?new Uint8ClampedArray(o):o},peekByte:function e(){var r=this.getByte();this.pos--;return r},peekBytes:function e(r){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:false;var a=this.getBytes(r,t);this.pos-=a.length;return a},makeSubStream:function e(r,t,a){var i=r+t;while(this.bufferLength<=i&&!this.eof){this.readBlock()}return new o(this.buffer,r,t,a)},skip:function e(r){if(!r){r=1}this.pos+=r},reset:function e(){this.pos=0},getBaseStreams:function e(){if(this.str&&this.str.getBaseStreams){return this.str.getBaseStreams()}return[]}};return t}();var c=function e(){function r(e){this.streams=e;var r=0;for(var t=0,a=e.length;t<a;t++){var i=e[t];if(i instanceof l){r+=i._rawMinBufferLength}else{r+=i.length}}l.call(this,r)}r.prototype=Object.create(l.prototype);r.prototype.readBlock=function e(){var r=this.streams;if(r.length===0){this.eof=true;return}var t=r.shift();var a=t.getBytes();var i=this.bufferLength;var n=i+a.length;var o=this.ensureBuffer(n);o.set(a,i);this.bufferLength=n};r.prototype.getBaseStreams=function e(){var r=[];for(var t=0,a=this.streams.length;t<a;t++){var i=this.streams[t];if(i.getBaseStreams){r.push.apply(r,n(i.getBaseStreams()))}}return r};return r}();var u=function e(){var r=new Int32Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);var t=new Int32Array([3,4,5,6,7,8,9,10,65547,65549,65551,65553,131091,131095,131099,131103,196643,196651,196659,196667,262211,262227,262243,262259,327811,327843,327875,327907,258,258,258]);var i=new Int32Array([1,2,3,4,65541,65543,131081,131085,196625,196633,262177,262193,327745,327777,393345,393409,459009,459137,524801,525057,590849,591361,657409,658433,724993,727041,794625,798721,868353,876545]);var n=[new Int32Array([459008,524368,524304,524568,459024,524400,524336,590016,459016,524384,524320,589984,524288,524416,524352,590048,459012,524376,524312,589968,459028,524408,524344,590032,459020,524392,524328,59e4,524296,524424,524360,590064,459010,524372,524308,524572,459026,524404,524340,590024,459018,524388,524324,589992,524292,524420,524356,590056,459014,524380,524316,589976,459030,524412,524348,590040,459022,524396,524332,590008,524300,524428,524364,590072,459009,524370,524306,524570,459025,524402,524338,590020,459017,524386,524322,589988,524290,524418,524354,590052,459013,524378,524314,589972,459029,524410,524346,590036,459021,524394,524330,590004,524298,524426,524362,590068,459011,524374,524310,524574,459027,524406,524342,590028,459019,524390,524326,589996,524294,524422,524358,590060,459015,524382,524318,589980,459031,524414,524350,590044,459023,524398,524334,590012,524302,524430,524366,590076,459008,524369,524305,524569,459024,524401,524337,590018,459016,524385,524321,589986,524289,524417,524353,590050,459012,524377,524313,589970,459028,524409,524345,590034,459020,524393,524329,590002,524297,524425,524361,590066,459010,524373,524309,524573,459026,524405,524341,590026,459018,524389,524325,589994,524293,524421,524357,590058,459014,524381,524317,589978,459030,524413,524349,590042,459022,524397,524333,590010,524301,524429,524365,590074,459009,524371,524307,524571,459025,524403,524339,590022,459017,524387,524323,589990,524291,524419,524355,590054,459013,524379,524315,589974,459029,524411,524347,590038,459021,524395,524331,590006,524299,524427,524363,590070,459011,524375,524311,524575,459027,524407,524343,590030,459019,524391,524327,589998,524295,524423,524359,590062,459015,524383,524319,589982,459031,524415,524351,590046,459023,524399,524335,590014,524303,524431,524367,590078,459008,524368,524304,524568,459024,524400,524336,590017,459016,524384,524320,589985,524288,524416,524352,590049,459012,524376,524312,589969,459028,524408,524344,590033,459020,524392,524328,590001,524296,524424,524360,590065,459010,524372,524308,524572,459026,524404,524340,590025,459018,524388,524324,589993,524292,524420,524356,590057,459014,524380,524316,589977,459030,524412,524348,590041,459022,524396,524332,590009,524300,524428,524364,590073,459009,524370,524306,524570,459025,524402,524338,590021,459017,524386,524322,589989,524290,524418,524354,590053,459013,524378,524314,589973,459029,524410,524346,590037,459021,524394,524330,590005,524298,524426,524362,590069,459011,524374,524310,524574,459027,524406,524342,590029,459019,524390,524326,589997,524294,524422,524358,590061,459015,524382,524318,589981,459031,524414,524350,590045,459023,524398,524334,590013,524302,524430,524366,590077,459008,524369,524305,524569,459024,524401,524337,590019,459016,524385,524321,589987,524289,524417,524353,590051,459012,524377,524313,589971,459028,524409,524345,590035,459020,524393,524329,590003,524297,524425,524361,590067,459010,524373,524309,524573,459026,524405,524341,590027,459018,524389,524325,589995,524293,524421,524357,590059,459014,524381,524317,589979,459030,524413,524349,590043,459022,524397,524333,590011,524301,524429,524365,590075,459009,524371,524307,524571,459025,524403,524339,590023,459017,524387,524323,589991,524291,524419,524355,590055,459013,524379,524315,589975,459029,524411,524347,590039,459021,524395,524331,590007,524299,524427,524363,590071,459011,524375,524311,524575,459027,524407,524343,590031,459019,524391,524327,589999,524295,524423,524359,590063,459015,524383,524319,589983,459031,524415,524351,590047,459023,524399,524335,590015,524303,524431,524367,590079]),9];var o=[new Int32Array([327680,327696,327688,327704,327684,327700,327692,327708,327682,327698,327690,327706,327686,327702,327694,0,327681,327697,327689,327705,327685,327701,327693,327709,327683,327699,327691,327707,327687,327703,327695,0]),5];function s(e,r){this.str=e;this.dict=e.dict;var t=e.getByte();var i=e.getByte();if(t===-1||i===-1){throw new a.FormatError("Invalid header in flate stream: "+t+", "+i)}if((t&15)!==8){throw new a.FormatError("Unknown compression method in flate stream: "+t+", "+i)}if(((t<<8)+i)%31!==0){throw new a.FormatError("Bad FCHECK in flate stream: "+t+", "+i)}if(i&32){throw new a.FormatError("FDICT bit set in flate stream: "+t+", "+i)}this.codeSize=0;this.codeBuf=0;l.call(this,r)}s.prototype=Object.create(l.prototype);s.prototype.getBits=function e(r){var t=this.str;var i=this.codeSize;var n=this.codeBuf;var o;while(i<r){if((o=t.getByte())===-1){throw new a.FormatError("Bad encoding in flate stream")}n|=o<<i;i+=8}o=n&(1<<r)-1;this.codeBuf=n>>r;this.codeSize=i-=r;return o};s.prototype.getCode=function e(r){var t=this.str;var i=r[0];var n=r[1];var o=this.codeSize;var s=this.codeBuf;var l;while(o<n){if((l=t.getByte())===-1){break}s|=l<<o;o+=8}var c=i[s&(1<<n)-1];var u=c>>16;var f=c&65535;if(u<1||o<u){throw new a.FormatError("Bad encoding in flate stream")}this.codeBuf=s>>u;this.codeSize=o-u;return f};s.prototype.generateHuffmanTable=function e(r){var t=r.length;var a=0;var i;for(i=0;i<t;++i){if(r[i]>a){a=r[i]}}var n=1<<a;var o=new Int32Array(n);for(var s=1,l=0,c=2;s<=a;++s,l<<=1,c<<=1){for(var u=0;u<t;++u){if(r[u]===s){var f=0;var h=l;for(i=0;i<s;++i){f=f<<1|h&1;h>>=1}for(i=f;i<n;i+=c){o[i]=s<<16|u}++l}}}return[o,a]};s.prototype.readBlock=function e(){var s,l;var c=this.str;var u=this.getBits(3);if(u&1){this.eof=true}u>>=1;if(u===0){var f;if((f=c.getByte())===-1){throw new a.FormatError("Bad block header in flate stream")}var h=f;if((f=c.getByte())===-1){throw new a.FormatError("Bad block header in flate stream")}h|=f<<8;if((f=c.getByte())===-1){throw new a.FormatError("Bad block header in flate stream")}var d=f;if((f=c.getByte())===-1){throw new a.FormatError("Bad block header in flate stream")}d|=f<<8;if(d!==(~h&65535)&&(h!==0||d!==0)){throw new a.FormatError("Bad uncompressed block length in flate stream")}this.codeBuf=0;this.codeSize=0;var v=this.bufferLength;s=this.ensureBuffer(v+h);var g=v+h;this.bufferLength=g;if(h===0){if(c.peekByte()===-1){this.eof=true}}else{for(var m=v;m<g;++m){if((f=c.getByte())===-1){this.eof=true;break}s[m]=f}}return}var p;var b;if(u===1){p=n;b=o}else if(u===2){var y=this.getBits(5)+257;var w=this.getBits(5)+1;var k=this.getBits(4)+4;var S=new Uint8Array(r.length);var C;for(C=0;C<k;++C){S[r[C]]=this.getBits(3)}var x=this.generateHuffmanTable(S);l=0;C=0;var _=y+w;var A=new Uint8Array(_);var P,I,O;while(C<_){var T=this.getCode(x);if(T===16){P=2;I=3;O=l}else if(T===17){P=3;I=3;O=l=0}else if(T===18){P=7;I=11;O=l=0}else{A[C++]=l=T;continue}var E=this.getBits(P)+I;while(E-- >0){A[C++]=O}}p=this.generateHuffmanTable(A.subarray(0,y));b=this.generateHuffmanTable(A.subarray(y,_))}else{throw new a.FormatError("Unknown block type in flate stream")}s=this.buffer;var F=s?s.length:0;var R=this.bufferLength;while(true){var B=this.getCode(p);if(B<256){if(R+1>=F){s=this.ensureBuffer(R+1);F=s.length}s[R++]=B;continue}if(B===256){this.bufferLength=R;return}B-=257;B=t[B];var D=B>>16;if(D>0){D=this.getBits(D)}l=(B&65535)+D;B=this.getCode(b);B=i[B];D=B>>16;if(D>0){D=this.getBits(D)}var M=(B&65535)+D;if(R+l>=F){s=this.ensureBuffer(R+l);F=s.length}for(var L=0;L<l;++L,++R){s[R]=s[R-M]}}};return s}();var f=function e(){function r(e,r,t){if(!(0,i.isDict)(t)){return e}var n=this.predictor=t.get("Predictor")||1;if(n<=1){return e}if(n!==2&&(n<10||n>15)){throw new a.FormatError("Unsupported predictor: "+n)}if(n===2){this.readBlock=this.readBlockTiff}else{this.readBlock=this.readBlockPng}this.str=e;this.dict=e.dict;var o=this.colors=t.get("Colors")||1;var s=this.bits=t.get("BitsPerComponent")||8;var c=this.columns=t.get("Columns")||1;this.pixBytes=o*s+7>>3;this.rowBytes=c*o*s+7>>3;l.call(this,r);return this}r.prototype=Object.create(l.prototype);r.prototype.readBlockTiff=function e(){var r=this.rowBytes;var t=this.bufferLength;var a=this.ensureBuffer(t+r);var i=this.bits;var n=this.colors;var o=this.str.getBytes(r);this.eof=!o.length;if(this.eof){return}var s=0,l=0;var c=0,u=0;var f=t;var h;if(i===1&&n===1){for(h=0;h<r;++h){var d=o[h]^s;d^=d>>1;d^=d>>2;d^=d>>4;s=(d&1)<<7;a[f++]=d}}else if(i===8){for(h=0;h<n;++h){a[f++]=o[h]}for(;h<r;++h){a[f]=a[f-n]+o[h];f++}}else if(i===16){var v=n*2;for(h=0;h<v;++h){a[f++]=o[h]}for(;h<r;h+=2){var g=((o[h]&255)<<8)+(o[h+1]&255)+((a[f-v]&255)<<8)+(a[f-v+1]&255);a[f++]=g>>8&255;a[f++]=g&255}}else{var m=new Uint8Array(n+1);var p=(1<<i)-1;var b=0,y=t;var w=this.columns;for(h=0;h<w;++h){for(var k=0;k<n;++k){if(c<i){s=s<<8|o[b++]&255;c+=8}m[k]=m[k]+(s>>c-i)&p;c-=i;l=l<<i|m[k];u+=i;if(u>=8){a[y++]=l>>u-8&255;u-=8}}}if(u>0){a[y++]=(l<<8-u)+(s&(1<<8-u)-1)}}this.bufferLength+=r};r.prototype.readBlockPng=function e(){var r=this.rowBytes;var t=this.pixBytes;var i=this.str.getByte();var n=this.str.getBytes(r);this.eof=!n.length;if(this.eof){return}var o=this.bufferLength;var s=this.ensureBuffer(o+r);var l=s.subarray(o-r,o);if(l.length===0){l=new Uint8Array(r)}var c,u=o,f,h;switch(i){case 0:for(c=0;c<r;++c){s[u++]=n[c]}break;case 1:for(c=0;c<t;++c){s[u++]=n[c]}for(;c<r;++c){s[u]=s[u-t]+n[c]&255;u++}break;case 2:for(c=0;c<r;++c){s[u++]=l[c]+n[c]&255}break;case 3:for(c=0;c<t;++c){s[u++]=(l[c]>>1)+n[c]}for(;c<r;++c){s[u]=(l[c]+s[u-t]>>1)+n[c]&255;u++}break;case 4:for(c=0;c<t;++c){f=l[c];h=n[c];s[u++]=f+h}for(;c<r;++c){f=l[c];var d=l[c-t];var v=s[u-t];var g=v+f-d;var m=g-v;if(m<0){m=-m}var p=g-f;if(p<0){p=-p}var b=g-d;if(b<0){b=-b}h=n[c];if(m<=p&&m<=b){s[u++]=v+h}else if(p<=b){s[u++]=f+h}else{s[u++]=d+h}}break;default:throw new a.FormatError("Unsupported predictor: "+i)}this.bufferLength+=r};return r}();var h=function e(){function r(e,r,t){this.str=e;this.dict=e.dict;this.decrypt=t;this.nextChunk=null;this.initialized=false;l.call(this,r)}var t=512;r.prototype=Object.create(l.prototype);r.prototype.readBlock=function e(){var r;if(this.initialized){r=this.nextChunk}else{r=this.str.getBytes(t);this.initialized=true}if(!r||r.length===0){this.eof=true;return}this.nextChunk=this.str.getBytes(t);var a=this.nextChunk&&this.nextChunk.length>0;var i=this.decrypt;r=i(r,!a);var n=this.bufferLength;var o,s=r.length;var l=this.ensureBuffer(n+s);for(o=0;o<s;o++){l[n++]=r[o]}this.bufferLength=n};return r}();var d=function e(){function r(e,r){this.str=e;this.dict=e.dict;this.input=new Uint8Array(5);if(r){r=.8*r}l.call(this,r)}r.prototype=Object.create(l.prototype);r.prototype.readBlock=function e(){var r=126;var t=122;var i=-1;var n=this.str;var o=n.getByte();while((0,a.isSpace)(o)){o=n.getByte()}if(o===i||o===r){this.eof=true;return}var s=this.bufferLength,l;var c;if(o===t){l=this.ensureBuffer(s+4);for(c=0;c<4;++c){l[s+c]=0}this.bufferLength+=4}else{var u=this.input;u[0]=o;for(c=1;c<5;++c){o=n.getByte();while((0,a.isSpace)(o)){o=n.getByte()}u[c]=o;if(o===i||o===r){break}}l=this.ensureBuffer(s+c-1);this.bufferLength+=c-1;if(c<5){for(;c<5;++c){u[c]=33+84}this.eof=true}var f=0;for(c=0;c<5;++c){f=f*85+(u[c]-33)}for(c=3;c>=0;--c){l[s+c]=f&255;f>>=8}}};return r}();var v=function e(){function r(e,r){this.str=e;this.dict=e.dict;this.firstDigit=-1;if(r){r=.5*r}l.call(this,r)}r.prototype=Object.create(l.prototype);r.prototype.readBlock=function e(){var r=8e3;var t=this.str.getBytes(r);if(!t.length){this.eof=true;return}var a=t.length+1>>1;var i=this.ensureBuffer(this.bufferLength+a);var n=this.bufferLength;var o=this.firstDigit;for(var s=0,l=t.length;s<l;s++){var c=t[s],u;if(c>=48&&c<=57){u=c&15}else if(c>=65&&c<=70||c>=97&&c<=102){u=(c&15)+9}else if(c===62){this.eof=true;break}else{continue}if(o<0){o=u}else{i[n++]=o<<4|u;o=-1}}if(o>=0&&this.eof){i[n++]=o<<4;o=-1}this.firstDigit=o;this.bufferLength=n};return r}();var g=function e(){function r(e,r){this.str=e;this.dict=e.dict;l.call(this,r)}r.prototype=Object.create(l.prototype);r.prototype.readBlock=function e(){var r=this.str.getBytes(2);if(!r||r.length<2||r[0]===128){this.eof=true;return}var t;var a=this.bufferLength;var i=r[0];if(i<128){t=this.ensureBuffer(a+i+1);t[a++]=r[1];if(i>0){var n=this.str.getBytes(i);t.set(n,a);a+=i}}else{i=257-i;var o=r[1];t=this.ensureBuffer(a+i+1);for(var s=0;s<i;s++){t[a++]=o}}this.bufferLength=a};return r}();var m=function e(){function r(e,r,t){this.str=e;this.dict=e.dict;this.cachedData=0;this.bitsCached=0;var a=4096;var i={earlyChange:t,codeLength:9,nextCode:258,dictionaryValues:new Uint8Array(a),dictionaryLengths:new Uint16Array(a),dictionaryPrevCodes:new Uint16Array(a),currentSequence:new Uint8Array(a),currentSequenceLength:0};for(var n=0;n<256;++n){i.dictionaryValues[n]=n;i.dictionaryLengths[n]=1}this.lzwState=i;l.call(this,r)}r.prototype=Object.create(l.prototype);r.prototype.readBits=function e(r){var t=this.bitsCached;var a=this.cachedData;while(t<r){var i=this.str.getByte();if(i===-1){this.eof=true;return null}a=a<<8|i;t+=8}this.bitsCached=t-=r;this.cachedData=a;this.lastCode=null;return a>>>t&(1<<r)-1};r.prototype.readBlock=function e(){var r=512;var t=r*2,a=r;var i,n,o;var s=this.lzwState;if(!s){return}var l=s.earlyChange;var c=s.nextCode;var u=s.dictionaryValues;var f=s.dictionaryLengths;var h=s.dictionaryPrevCodes;var d=s.codeLength;var v=s.prevCode;var g=s.currentSequence;var m=s.currentSequenceLength;var p=0;var b=this.bufferLength;var y=this.ensureBuffer(this.bufferLength+t);for(i=0;i<r;i++){var w=this.readBits(d);var k=m>0;if(w<256){g[0]=w;m=1}else if(w>=258){if(w<c){m=f[w];for(n=m-1,o=w;n>=0;n--){g[n]=u[o];o=h[o]}}else{g[m++]=g[0]}}else if(w===256){d=9;c=258;m=0;continue}else{this.eof=true;delete this.lzwState;break}if(k){h[c]=v;f[c]=f[v]+1;u[c]=g[0];c++;d=c+l&c+l-1?d:Math.min(Math.log(c+l)/.6931471805599453+1,12)|0}v=w;p+=m;if(t<p){do{t+=a}while(t<p);y=this.ensureBuffer(this.bufferLength+t)}for(n=0;n<m;n++){y[b++]=g[n]}}s.nextCode=c;s.codeLength=d;s.prevCode=v;s.currentSequenceLength=m;this.bufferLength=b};return r}();var p=function e(){function r(){o.call(this,new Uint8Array(0))}r.prototype=o.prototype;return r}();r.Ascii85Stream=d;r.AsciiHexStream=v;r.DecryptStream=h;r.DecodeStream=l;r.FlateStream=u;r.NullStream=p;r.PredictorStream=f;r.RunLengthStream=g;r.Stream=o;r.StreamsSequenceStream=c;r.StringStream=s;r.LZWStream=m},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:true});r.CCITTFaxStream=undefined;var a=t(138);var i=t(142);var n=t(140);var o=function e(){function r(e,r,t){this.str=e;this.dict=e.dict;if(!(0,a.isDict)(t)){t=a.Dict.empty}var o={next:function r(){return e.getByte()}};this.ccittFaxDecoder=new i.CCITTFaxDecoder(o,{K:t.get("K"),EndOfLine:t.get("EndOfLine"),EncodedByteAlign:t.get("EncodedByteAlign"),Columns:t.get("Columns"),Rows:t.get("Rows"),EndOfBlock:t.get("EndOfBlock"),BlackIs1:t.get("BlackIs1")});n.DecodeStream.call(this,r)}r.prototype=Object.create(n.DecodeStream.prototype);r.prototype.readBlock=function(){while(!this.eof){var e=this.ccittFaxDecoder.readNextChar();if(e===-1){this.eof=true;return}this.ensureBuffer(this.bufferLength+1);this.buffer[this.bufferLength++]=e}};return r}();r.CCITTFaxStream=o},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:true});r.CCITTFaxDecoder=undefined;var a=t(2);var i=function e(){var r=-2;var t=-1;var i=0;var n=1;var o=2;var s=3;var l=4;var c=5;var u=6;var f=7;var h=8;var d=[[-1,-1],[-1,-1],[7,h],[7,f],[6,u],[6,u],[6,c],[6,c],[4,i],[4,i],[4,i],[4,i],[4,i],[4,i],[4,i],[4,i],[3,n],[3,n],[3,n],[3,n],[3,n],[3,n],[3,n],[3,n],[3,n],[3,n],[3,n],[3,n],[3,n],[3,n],[3,n],[3,n],[3,l],[3,l],[3,l],[3,l],[3,l],[3,l],[3,l],[3,l],[3,l],[3,l],[3,l],[3,l],[3,l],[3,l],[3,l],[3,l],[3,s],[3,s],[3,s],[3,s],[3,s],[3,s],[3,s],[3,s],[3,s],[3,s],[3,s],[3,s],[3,s],[3,s],[3,s],[3,s],[1,o],[1,o],[1,o],[1,o],[1,o],[1,o],[1,o],[1,o],[1,o],[1,o],[1,o],[1,o],[1,o],[1,o],[1,o],[1,o],[1,o],[1,o],[1,o],[1,o],[1,o],[1,o],[1,o],[1,o],[1,o],[1,o],[1,o],[1,o],[1,o],[1,o],[1,o],[1,o],[1,o],[1,o],[1,o],[1,o],[1,o],[1,o],[1,o],[1,o],[1,o],[1,o],[1,o],[1,o],[1,o],[1,o],[1,o],[1,o],[1,o],[1,o],[1,o],[1,o],[1,o],[1,o],[1,o],[1,o],[1,o],[1,o],[1,o],[1,o],[1,o],[1,o],[1,o],[1,o]];var v=[[-1,-1],[12,r],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[11,1792],[11,1792],[12,1984],[12,2048],[12,2112],[12,2176],[12,2240],[12,2304],[11,1856],[11,1856],[11,1920],[11,1920],[12,2368],[12,2432],[12,2496],[12,2560]];var g=[[-1,-1],[-1,-1],[-1,-1],[-1,-1],[8,29],[8,29],[8,30],[8,30],[8,45],[8,45],[8,46],[8,46],[7,22],[7,22],[7,22],[7,22],[7,23],[7,23],[7,23],[7,23],[8,47],[8,47],[8,48],[8,48],[6,13],[6,13],[6,13],[6,13],[6,13],[6,13],[6,13],[6,13],[7,20],[7,20],[7,20],[7,20],[8,33],[8,33],[8,34],[8,34],[8,35],[8,35],[8,36],[8,36],[8,37],[8,37],[8,38],[8,38],[7,19],[7,19],[7,19],[7,19],[8,31],[8,31],[8,32],[8,32],[6,1],[6,1],[6,1],[6,1],[6,1],[6,1],[6,1],[6,1],[6,12],[6,12],[6,12],[6,12],[6,12],[6,12],[6,12],[6,12],[8,53],[8,53],[8,54],[8,54],[7,26],[7,26],[7,26],[7,26],[8,39],[8,39],[8,40],[8,40],[8,41],[8,41],[8,42],[8,42],[8,43],[8,43],[8,44],[8,44],[7,21],[7,21],[7,21],[7,21],[7,28],[7,28],[7,28],[7,28],[8,61],[8,61],[8,62],[8,62],[8,63],[8,63],[8,0],[8,0],[8,320],[8,320],[8,384],[8,384],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[7,27],[7,27],[7,27],[7,27],[8,59],[8,59],[8,60],[8,60],[9,1472],[9,1536],[9,1600],[9,1728],[7,18],[7,18],[7,18],[7,18],[7,24],[7,24],[7,24],[7,24],[8,49],[8,49],[8,50],[8,50],[8,51],[8,51],[8,52],[8,52],[7,25],[7,25],[7,25],[7,25],[8,55],[8,55],[8,56],[8,56],[8,57],[8,57],[8,58],[8,58],[6,192],[6,192],[6,192],[6,192],[6,192],[6,192],[6,192],[6,192],[6,1664],[6,1664],[6,1664],[6,1664],[6,1664],[6,1664],[6,1664],[6,1664],[8,448],[8,448],[8,512],[8,512],[9,704],[9,768],[8,640],[8,640],[8,576],[8,576],[9,832],[9,896],[9,960],[9,1024],[9,1088],[9,1152],[9,1216],[9,1280],[9,1344],[9,1408],[7,256],[7,256],[7,256],[7,256],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[6,16],[6,16],[6,16],[6,16],[6,16],[6,16],[6,16],[6,16],[6,17],[6,17],[6,17],[6,17],[6,17],[6,17],[6,17],[6,17],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[6,14],[6,14],[6,14],[6,14],[6,14],[6,14],[6,14],[6,14],[6,15],[6,15],[6,15],[6,15],[6,15],[6,15],[6,15],[6,15],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7]];var m=[[-1,-1],[-1,-1],[12,r],[12,r],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[11,1792],[11,1792],[11,1792],[11,1792],[12,1984],[12,1984],[12,2048],[12,2048],[12,2112],[12,2112],[12,2176],[12,2176],[12,2240],[12,2240],[12,2304],[12,2304],[11,1856],[11,1856],[11,1856],[11,1856],[11,1920],[11,1920],[11,1920],[11,1920],[12,2368],[12,2368],[12,2432],[12,2432],[12,2496],[12,2496],[12,2560],[12,2560],[10,18],[10,18],[10,18],[10,18],[10,18],[10,18],[10,18],[10,18],[12,52],[12,52],[13,640],[13,704],[13,768],[13,832],[12,55],[12,55],[12,56],[12,56],[13,1280],[13,1344],[13,1408],[13,1472],[12,59],[12,59],[12,60],[12,60],[13,1536],[13,1600],[11,24],[11,24],[11,24],[11,24],[11,25],[11,25],[11,25],[11,25],[13,1664],[13,1728],[12,320],[12,320],[12,384],[12,384],[12,448],[12,448],[13,512],[13,576],[12,53],[12,53],[12,54],[12,54],[13,896],[13,960],[13,1024],[13,1088],[13,1152],[13,1216],[10,64],[10,64],[10,64],[10,64],[10,64],[10,64],[10,64],[10,64]];var p=[[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[11,23],[11,23],[12,50],[12,51],[12,44],[12,45],[12,46],[12,47],[12,57],[12,58],[12,61],[12,256],[10,16],[10,16],[10,16],[10,16],[10,17],[10,17],[10,17],[10,17],[12,48],[12,49],[12,62],[12,63],[12,30],[12,31],[12,32],[12,33],[12,40],[12,41],[11,22],[11,22],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[9,15],[9,15],[9,15],[9,15],[9,15],[9,15],[9,15],[9,15],[12,128],[12,192],[12,26],[12,27],[12,28],[12,29],[11,19],[11,19],[11,20],[11,20],[12,34],[12,35],[12,36],[12,37],[12,38],[12,39],[11,21],[11,21],[12,42],[12,43],[10,0],[10,0],[10,0],[10,0],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12]];var b=[[-1,-1],[-1,-1],[-1,-1],[-1,-1],[6,9],[6,8],[5,7],[5,7],[4,6],[4,6],[4,6],[4,6],[4,5],[4,5],[4,5],[4,5],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2]];function e(e){var r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};if(!e||typeof e.next!=="function"){throw new Error('CCITTFaxDecoder - invalid "source" parameter.')}this.source=e;this.eof=false;this.encoding=r["K"]||0;this.eoline=r["EndOfLine"]||false;this.byteAlign=r["EncodedByteAlign"]||false;this.columns=r["Columns"]||1728;this.rows=r["Rows"]||0;var t=r["EndOfBlock"];if(t===null||t===undefined){t=true}this.eoblock=t;this.black=r["BlackIs1"]||false;this.codingLine=new Uint32Array(this.columns+1);this.refLine=new Uint32Array(this.columns+2);this.codingLine[0]=this.columns;this.codingPos=0;this.row=0;this.nextLine2D=this.encoding<0;this.inputBits=0;this.inputBuf=0;this.outputBits=0;this.rowsDone=false;var a=void 0;while((a=this._lookBits(12))===0){this._eatBits(1)}if(a===1){this._eatBits(12)}if(this.encoding>0){this.nextLine2D=!this._lookBits(1);this._eatBits(1)}}e.prototype={readNextChar:function e(){if(this.eof){return-1}var r=this.refLine;var d=this.codingLine;var v=this.columns;var g=void 0,m=void 0,p=void 0,b=void 0;if(this.outputBits===0){if(this.rowsDone){this.eof=true}if(this.eof){return-1}this.err=false;var y=void 0,w=void 0,k=void 0;if(this.nextLine2D){for(b=0;d[b]<v;++b){r[b]=d[b]}r[b++]=v;r[b]=v;d[0]=0;this.codingPos=0;g=0;m=0;while(d[this.codingPos]<v){y=this._getTwoDimCode();switch(y){case i:this._addPixels(r[g+1],m);if(r[g+1]<v){g+=2}break;case n:y=w=0;if(m){do{y+=k=this._getBlackCode()}while(k>=64);do{w+=k=this._getWhiteCode()}while(k>=64)}else{do{y+=k=this._getWhiteCode()}while(k>=64);do{w+=k=this._getBlackCode()}while(k>=64)}this._addPixels(d[this.codingPos]+y,m);if(d[this.codingPos]<v){this._addPixels(d[this.codingPos]+w,m^1)}while(r[g]<=d[this.codingPos]&&r[g]<v){g+=2}break;case f:this._addPixels(r[g]+3,m);m^=1;if(d[this.codingPos]<v){++g;while(r[g]<=d[this.codingPos]&&r[g]<v){g+=2}}break;case c:this._addPixels(r[g]+2,m);m^=1;if(d[this.codingPos]<v){++g;while(r[g]<=d[this.codingPos]&&r[g]<v){g+=2}}break;case s:this._addPixels(r[g]+1,m);m^=1;if(d[this.codingPos]<v){++g;while(r[g]<=d[this.codingPos]&&r[g]<v){g+=2}}break;case o:this._addPixels(r[g],m);m^=1;if(d[this.codingPos]<v){++g;while(r[g]<=d[this.codingPos]&&r[g]<v){g+=2}}break;case h:this._addPixelsNeg(r[g]-3,m);m^=1;if(d[this.codingPos]<v){if(g>0){--g}else{++g}while(r[g]<=d[this.codingPos]&&r[g]<v){g+=2}}break;case u:this._addPixelsNeg(r[g]-2,m);m^=1;if(d[this.codingPos]<v){if(g>0){--g}else{++g}while(r[g]<=d[this.codingPos]&&r[g]<v){g+=2}}break;case l:this._addPixelsNeg(r[g]-1,m);m^=1;if(d[this.codingPos]<v){if(g>0){--g}else{++g}while(r[g]<=d[this.codingPos]&&r[g]<v){g+=2}}break;case t:this._addPixels(v,0);this.eof=true;break;default:(0,a.info)("bad 2d code");this._addPixels(v,0);this.err=true}}}else{d[0]=0;this.codingPos=0;m=0;while(d[this.codingPos]<v){y=0;if(m){do{y+=k=this._getBlackCode()}while(k>=64)}else{do{y+=k=this._getWhiteCode()}while(k>=64)}this._addPixels(d[this.codingPos]+y,m);m^=1}}var S=false;if(this.byteAlign){this.inputBits&=~7}if(!this.eoblock&&this.row===this.rows-1){this.rowsDone=true}else{y=this._lookBits(12);if(this.eoline){while(y!==t&&y!==1){this._eatBits(1);y=this._lookBits(12)}}else{while(y===0){this._eatBits(1);y=this._lookBits(12)}}if(y===1){this._eatBits(12);S=true}else if(y===t){this.eof=true}}if(!this.eof&&this.encoding>0&&!this.rowsDone){this.nextLine2D=!this._lookBits(1);this._eatBits(1)}if(this.eoblock&&S&&this.byteAlign){y=this._lookBits(12);if(y===1){this._eatBits(12);if(this.encoding>0){this._lookBits(1);this._eatBits(1)}if(this.encoding>=0){for(b=0;b<4;++b){y=this._lookBits(12);if(y!==1){(0,a.info)("bad rtc code: "+y)}this._eatBits(12);if(this.encoding>0){this._lookBits(1);this._eatBits(1)}}}this.eof=true}}else if(this.err&&this.eoline){while(true){y=this._lookBits(13);if(y===t){this.eof=true;return-1}if(y>>1===1){break}this._eatBits(1)}this._eatBits(12);if(this.encoding>0){this._eatBits(1);this.nextLine2D=!(y&1)}}if(d[0]>0){this.outputBits=d[this.codingPos=0]}else{this.outputBits=d[this.codingPos=1]}this.row++}var C=void 0;if(this.outputBits>=8){C=this.codingPos&1?0:255;this.outputBits-=8;if(this.outputBits===0&&d[this.codingPos]<v){this.codingPos++;this.outputBits=d[this.codingPos]-d[this.codingPos-1]}}else{p=8;C=0;do{if(this.outputBits>p){C<<=p;if(!(this.codingPos&1)){C|=255>>8-p}this.outputBits-=p;p=0}else{C<<=this.outputBits;if(!(this.codingPos&1)){C|=255>>8-this.outputBits}p-=this.outputBits;this.outputBits=0;if(d[this.codingPos]<v){this.codingPos++;this.outputBits=d[this.codingPos]-d[this.codingPos-1]}else if(p>0){C<<=p;p=0}}}while(p)}if(this.black){C^=255}return C},_addPixels:function e(r,t){var i=this.codingLine;var n=this.codingPos;if(r>i[n]){if(r>this.columns){(0,a.info)("row is wrong length");this.err=true;r=this.columns}if(n&1^t){++n}i[n]=r}this.codingPos=n},_addPixelsNeg:function e(r,t){var i=this.codingLine;var n=this.codingPos;if(r>i[n]){if(r>this.columns){(0,a.info)("row is wrong length");this.err=true;r=this.columns}if(n&1^t){++n}i[n]=r}else if(r<i[n]){if(r<0){(0,a.info)("invalid code");this.err=true;r=0}while(n>0&&r<i[n-1]){--n}i[n]=r}this.codingPos=n},_findTableCode:function e(r,a,i,n){var o=n||0;for(var s=r;s<=a;++s){var l=this._lookBits(s);if(l===t){return[true,1,false]}if(s<a){l<<=a-s}if(!o||l>=o){var c=i[l-o];if(c[0]===s){this._eatBits(s);return[true,c[1],true]}}}return[false,0,false]},_getTwoDimCode:function e(){var r=0;var i=void 0;if(this.eoblock){r=this._lookBits(7);i=d[r];if(i&&i[0]>0){this._eatBits(i[0]);return i[1]}}else{var n=this._findTableCode(1,7,d);if(n[0]&&n[2]){return n[1]}}(0,a.info)("Bad two dim code");return t},_getWhiteCode:function e(){var r=0;var i=void 0;if(this.eoblock){r=this._lookBits(12);if(r===t){return 1}if(r>>5===0){i=v[r]}else{i=g[r>>3]}if(i[0]>0){this._eatBits(i[0]);return i[1]}}else{var n=this._findTableCode(1,9,g);if(n[0]){return n[1]}n=this._findTableCode(11,12,v);if(n[0]){return n[1]}}(0,a.info)("bad white code");this._eatBits(1);return 1},_getBlackCode:function e(){var r=void 0,i=void 0;if(this.eoblock){r=this._lookBits(13);if(r===t){return 1}if(r>>7===0){i=m[r]}else if(r>>9===0&&r>>7!==0){i=p[(r>>1)-64]}else{i=b[r>>7]}if(i[0]>0){this._eatBits(i[0]);return i[1]}}else{var n=this._findTableCode(2,6,b);if(n[0]){return n[1]}n=this._findTableCode(7,12,p,64);if(n[0]){return n[1]}n=this._findTableCode(10,13,m);if(n[0]){return n[1]}}(0,a.info)("bad black code");this._eatBits(1);return 1},_lookBits:function e(r){var a=void 0;while(this.inputBits<r){if((a=this.source.next())===-1){if(this.inputBits===0){return t}return this.inputBuf<<r-this.inputBits&65535>>16-r}this.inputBuf=this.inputBuf<<8|a;this.inputBits+=8}return this.inputBuf>>this.inputBits-r&65535>>16-r},_eatBits:function e(r){if((this.inputBits-=r)<0){this.inputBits=0}}};return e}();r.CCITTFaxDecoder=i},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:true});r.Jbig2Stream=undefined;var a=t(138);var i=t(140);var n=t(144);var o=t(2);var s=function e(){function r(e,r,t,a){this.stream=e;this.maybeLength=r;this.dict=t;this.params=a;i.DecodeStream.call(this,r)}r.prototype=Object.create(i.DecodeStream.prototype);Object.defineProperty(r.prototype,"bytes",{get:function e(){return(0,o.shadow)(this,"bytes",this.stream.getBytes(this.maybeLength))},configurable:true});r.prototype.ensureBuffer=function(e){};r.prototype.readBlock=function(){if(this.eof){return}var e=new n.Jbig2Image;var r=[];if((0,a.isDict)(this.params)){var t=this.params.get("JBIG2Globals");if((0,a.isStream)(t)){var i=t.getBytes();r.push({data:i,start:0,end:i.length})}}r.push({data:this.bytes,start:0,end:this.bytes.length});var o=e.parseChunks(r);var s=o.length;for(var l=0;l<s;l++){o[l]^=255}this.buffer=o;this.bufferLength=s;this.eof=true};return r}();r.Jbig2Stream=s},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:true});r.Jbig2Image=undefined;var a=t(2);var i=t(145);var n=t(142);var o=function e(){function r(e){this.message="JBIG2 error: "+e}r.prototype=new Error;r.prototype.name="Jbig2Error";r.constructor=r;return r}();var s=function e(){function r(){}r.prototype={getContexts:function e(r){if(r in this){return this[r]}return this[r]=new Int8Array(1<<16)}};function t(e,r,t){this.data=e;this.start=r;this.end=t}t.prototype={get decoder(){var e=new i.ArithmeticDecoder(this.data,this.start,this.end);return(0,a.shadow)(this,"decoder",e)},get contextCache(){var e=new r;return(0,a.shadow)(this,"contextCache",e)}};function s(e,r,t){var a=e.getContexts(r);var i=1;function n(e){var r=0;for(var n=0;n<e;n++){var o=t.readBit(a,i);i=i<256?i<<1|o:(i<<1|o)&511|256;r=r<<1|o}return r>>>0}var o=n(1);var s=n(1)?n(1)?n(1)?n(1)?n(1)?n(32)+4436:n(12)+340:n(8)+84:n(6)+20:n(4)+4:n(2);return o===0?s:s>0?-s:null}function l(e,r,t){var a=e.getContexts("IAID");var i=1;for(var n=0;n<t;n++){var o=r.readBit(a,i);i=i<<1|o}if(t<31){return i&(1<<t)-1}return i&2147483647}var c=["SymbolDictionary",null,null,null,"IntermediateTextRegion",null,"ImmediateTextRegion","ImmediateLosslessTextRegion",null,null,null,null,null,null,null,null,"PatternDictionary",null,null,null,"IntermediateHalftoneRegion",null,"ImmediateHalftoneRegion","ImmediateLosslessHalftoneRegion",null,null,null,null,null,null,null,null,null,null,null,null,"IntermediateGenericRegion",null,"ImmediateGenericRegion","ImmediateLosslessGenericRegion","IntermediateGenericRefinementRegion",null,"ImmediateGenericRefinementRegion","ImmediateLosslessGenericRefinementRegion",null,null,null,null,"PageInformation","EndOfPage","EndOfStripe","EndOfFile","Profiles","Tables",null,null,null,null,null,null,null,null,"Extension"];var u=[[{x:-1,y:-2},{x:0,y:-2},{x:1,y:-2},{x:-2,y:-1},{x:-1,y:-1},{x:0,y:-1},{x:1,y:-1},{x:2,y:-1},{x:-4,y:0},{x:-3,y:0},{x:-2,y:0},{x:-1,y:0}],[{x:-1,y:-2},{x:0,y:-2},{x:1,y:-2},{x:2,y:-2},{x:-2,y:-1},{x:-1,y:-1},{x:0,y:-1},{x:1,y:-1},{x:2,y:-1},{x:-3,y:0},{x:-2,y:0},{x:-1,y:0}],[{x:-1,y:-2},{x:0,y:-2},{x:1,y:-2},{x:-2,y:-1},{x:-1,y:-1},{x:0,y:-1},{x:1,y:-1},{x:-2,y:0},{x:-1,y:0}],[{x:-3,y:-1},{x:-2,y:-1},{x:-1,y:-1},{x:0,y:-1},{x:1,y:-1},{x:-4,y:0},{x:-3,y:0},{x:-2,y:0},{x:-1,y:0}]];var f=[{coding:[{x:0,y:-1},{x:1,y:-1},{x:-1,y:0}],reference:[{x:0,y:-1},{x:1,y:-1},{x:-1,y:0},{x:0,y:0},{x:1,y:0},{x:-1,y:1},{x:0,y:1},{x:1,y:1}]},{coding:[{x:-1,y:-1},{x:0,y:-1},{x:1,y:-1},{x:-1,y:0}],reference:[{x:0,y:-1},{x:-1,y:0},{x:0,y:0},{x:1,y:0},{x:0,y:1},{x:1,y:1}]}];var h=[39717,1941,229,405];var d=[32,8];function v(e,r,t){var a=t.decoder;var i=t.contextCache.getContexts("GB");var n,o,s,l,c,u,f,h=[];var d=31735;for(o=0;o<r;o++){c=h[o]=new Uint8Array(e);u=o<1?c:h[o-1];f=o<2?c:h[o-2];n=f[0]<<13|f[1]<<12|f[2]<<11|u[0]<<7|u[1]<<6|u[2]<<5|u[3]<<4;for(s=0;s<e;s++){c[s]=l=a.readBit(i,n);n=(n&d)<<1|(s+3<e?f[s+3]<<11:0)|(s+4<e?u[s+4]<<4:0)|l}}return h}function g(e,r,t,a,i,n,o,s){if(e){var l=new M(s.data,s.start,s.end);return j(l,r,t,false)}if(a===0&&!n&&!i&&o.length===4&&o[0].x===3&&o[0].y===-1&&o[1].x===-3&&o[1].y===-1&&o[2].x===2&&o[2].y===-2&&o[3].x===-2&&o[3].y===-2){return v(r,t,s)}var c=!!n;var f=u[a].concat(o);f.sort(function(e,r){return e.y-r.y||e.x-r.x});var d=f.length;var g=new Int8Array(d);var m=new Int8Array(d);var p=[];var b=0,y=0,w=0,k=0;var S,C;for(C=0;C<d;C++){g[C]=f[C].x;m[C]=f[C].y;y=Math.min(y,f[C].x);w=Math.max(w,f[C].x);k=Math.min(k,f[C].y);if(C<d-1&&f[C].y===f[C+1].y&&f[C].x===f[C+1].x-1){b|=1<<d-1-C}else{p.push(C)}}var x=p.length;var _=new Int8Array(x);var A=new Int8Array(x);var P=new Uint16Array(x);for(S=0;S<x;S++){C=p[S];_[S]=f[C].x;A[S]=f[C].y;P[S]=1<<d-1-C}var I=-y;var O=-k;var T=r-w;var E=h[a];var F=new Uint8Array(r);var R=[];var B=s.decoder;var D=s.contextCache.getContexts("GB");var L=0,N,U,q,z=0,H,G;for(var W=0;W<t;W++){if(i){var X=B.readBit(D,E);L^=X;if(L){R.push(F);continue}}F=new Uint8Array(F);R.push(F);for(N=0;N<r;N++){if(c&&n[W][N]){F[N]=0;continue}if(N>=I&&N<T&&W>=O){z=z<<1&b;for(C=0;C<x;C++){U=W+A[C];q=N+_[C];H=R[U][q];if(H){H=P[C];z|=H}}}else{z=0;G=d-1;for(C=0;C<d;C++,G--){q=N+g[C];if(q>=0&&q<r){U=W+m[C];if(U>=0){H=R[U][q];if(H){z|=H<<G}}}}}var V=B.readBit(D,z);F[N]=V}}return R}function m(e,r,t,a,i,n,s,l,c){var u=f[t].coding;if(t===0){u=u.concat([l[0]])}var h=u.length;var v=new Int32Array(h);var g=new Int32Array(h);var m;for(m=0;m<h;m++){v[m]=u[m].x;g[m]=u[m].y}var p=f[t].reference;if(t===0){p=p.concat([l[1]])}var b=p.length;var y=new Int32Array(b);var w=new Int32Array(b);for(m=0;m<b;m++){y[m]=p[m].x;w[m]=p[m].y}var k=a[0].length;var S=a.length;var C=d[t];var x=[];var _=c.decoder;var A=c.contextCache.getContexts("GR");var P=0;for(var I=0;I<r;I++){if(s){var O=_.readBit(A,C);P^=O;if(P){throw new o("prediction is not supported")}}var T=new Uint8Array(e);x.push(T);for(var E=0;E<e;E++){var F,R;var B=0;for(m=0;m<h;m++){F=I+g[m];R=E+v[m];if(F<0||R<0||R>=e){B<<=1}else{B=B<<1|x[F][R]}}for(m=0;m<b;m++){F=I+w[m]-n;R=E+y[m]-i;if(F<0||F>=S||R<0||R>=k){B<<=1}else{B=B<<1|a[F][R]}}var D=_.readBit(A,B);T[E]=D}}return x}function p(e,r,t,i,n,c,u,f,h,d,v,p){if(e&&r){throw new o("symbol refinement with Huffman is not supported")}var y=[];var w=0;var k=(0,a.log2)(t.length+i);var S=v.decoder;var C=v.contextCache;var x=void 0,_=void 0;if(e){x=D(1);_=[];k=Math.max(k,1)}while(y.length<i){var A=e?c.tableDeltaHeight.decode(p):s(C,"IADH",S);w+=A;var P=0,I=0;var O=e?_.length:0;while(true){var T=e?c.tableDeltaWidth.decode(p):s(C,"IADW",S);if(T===null){break}P+=T;I+=P;var E;if(r){var F=s(C,"IAAI",S);if(F>1){E=b(e,r,P,w,0,F,1,t.concat(y),k,0,0,1,0,c,h,d,v,0,p)}else{var R=l(C,S,k);var B=s(C,"IARDX",S);var M=s(C,"IARDY",S);var L=R<t.length?t[R]:y[R-t.length];E=m(P,w,h,L,B,M,false,d,v)}y.push(E)}else if(e){_.push(P)}else{E=g(false,P,w,u,false,null,f,v);y.push(E)}}if(e&&!r){var N=c.tableBitmapSize.decode(p);p.byteAlign();var U=void 0;if(N===0){U=q(p,I,w)}else{var z=p.end;var H=p.position+N;p.end=H;U=j(p,I,w,false);p.end=z;p.position=H}var G=_.length;if(O===G-1){y.push(U)}else{var W=void 0,X=void 0,V=0,K=void 0,Y=void 0,J=void 0;for(W=O;W<G;W++){Y=_[W];K=V+Y;J=[];for(X=0;X<w;X++){J.push(U[X].subarray(V,K))}y.push(J);V=K}}}}var Z=[];var Q=[],$=false;var ee=t.length+i;while(Q.length<ee){var re=e?x.decode(p):s(C,"IAEX",S);while(re--){Q.push($)}$=!$}for(var te=0,ae=t.length;te<ae;te++){if(Q[te]){Z.push(t[te])}}for(var ie=0;ie<i;te++,ie++){if(Q[te]){Z.push(y[ie])}}return Z}function b(e,r,t,a,i,n,c,u,f,h,d,v,g,p,b,y,w,k,S){if(e&&r){throw new o("refinement with Huffman is not supported")}var C=[];var x,_;for(x=0;x<a;x++){_=new Uint8Array(t);if(i){for(var A=0;A<t;A++){_[A]=i}}C.push(_)}var P=w.decoder;var I=w.contextCache;var O=e?-p.tableDeltaT.decode(S):-s(I,"IADT",P);var T=0;x=0;while(x<n){var E=e?p.tableDeltaT.decode(S):s(I,"IADT",P);O+=E;var F=e?p.tableFirstS.decode(S):s(I,"IAFS",P);T+=F;var R=T;do{var B=0;if(c>1){B=e?S.readBits(k):s(I,"IAIT",P)}var D=c*O+B;var M=e?p.symbolIDTable.decode(S):l(I,P,f);var L=r&&(e?S.readBit():s(I,"IARI",P));var N=u[M];var U=N[0].length;var q=N.length;if(L){var j=s(I,"IARDW",P);var z=s(I,"IARDH",P);var H=s(I,"IARDX",P);var G=s(I,"IARDY",P);U+=j;q+=z;N=m(U,q,b,N,(j>>1)+H,(z>>1)+G,false,y,w)}var W=D-(v&1?0:q-1);var X=R-(v&2?U-1:0);var V,K,Y;if(h){for(V=0;V<q;V++){_=C[X+V];if(!_){continue}Y=N[V];var J=Math.min(t-W,U);switch(g){case 0:for(K=0;K<J;K++){_[W+K]|=Y[K]}break;case 2:for(K=0;K<J;K++){_[W+K]^=Y[K]}break;default:throw new o("operator "+g+" is not supported")}}R+=q-1}else{for(K=0;K<q;K++){_=C[W+K];if(!_){continue}Y=N[K];switch(g){case 0:for(V=0;V<U;V++){_[X+V]|=Y[V]}break;case 2:for(V=0;V<U;V++){_[X+V]^=Y[V]}break;default:throw new o("operator "+g+" is not supported")}}R+=U-1}x++;var Z=e?p.tableDeltaS.decode(S):s(I,"IADS",P);if(Z===null){break}R+=Z+d}while(true)}return C}function y(e,r,t,a,i,n){var o=[];if(!e){o.push({x:-r,y:0});if(i===0){o.push({x:-3,y:-1});o.push({x:2,y:-2});o.push({x:-2,y:-2})}}var s=(a+1)*r;var l=g(e,s,t,i,false,null,o,n);var c=[],u=0,f=void 0,h=void 0,d=void 0,v=void 0;while(u<=a){f=[];h=r*u;d=h+r;for(v=0;v<t;v++){f.push(l[v].subarray(h,d))}c.push(f);u++}return c}function w(e,r,t,i,n,s,l,c,u,f,h,d,v,m,p){var b=null;if(l){throw new o("skip is not supported")}if(c!==0){throw new o("operator "+c+" is not supported in halftone region")}var y=[];var w=void 0,k=void 0,S=void 0;for(w=0;w<n;w++){S=new Uint8Array(i);if(s){for(k=0;k<i;k++){S[k]=s}}y.push(S)}var C=r.length;var x=r[0];var _=x[0].length,A=x.length;var P=(0,a.log2)(C);var I=[];if(!e){I.push({x:t<=1?3:2,y:-1});if(t===0){I.push({x:-3,y:-1});I.push({x:2,y:-2});I.push({x:-2,y:-2})}}var O=[],T=void 0,E=void 0;if(e){T=new M(p.data,p.start,p.end)}for(w=P-1;w>=0;w--){if(e){E=j(T,u,f,true)}else{E=g(false,u,f,t,false,b,I,p)}O[w]=E}var F=void 0,R=void 0,B=void 0,D=void 0,L=void 0,N=void 0,U=void 0,q=void 0,z=void 0;for(F=0;F<f;F++){for(R=0;R<u;R++){B=0;D=0;for(k=P-1;k>=0;k--){B=O[k][F][R]^B;D|=B<<k}L=r[D];N=h+F*m+R*v>>8;U=d+F*v-R*m>>8;if(N>=0&&N+_<=i&&U>=0&&U+A<=n){for(w=0;w<A;w++){z=y[U+w];q=L[w];for(k=0;k<_;k++){z[N+k]|=q[k]}}}else{var H=void 0,G=void 0;for(w=0;w<A;w++){G=U+w;if(G<0||G>=n){continue}z=y[G];q=L[w];for(k=0;k<_;k++){H=N+k;if(H>=0&&H<i){z[H]|=q[k]}}}}}}return y}function k(e,r){var t={};t.number=(0,a.readUint32)(e,r);var i=e[r+4];var n=i&63;if(!c[n]){throw new o("invalid segment type: "+n)}t.type=n;t.typeName=c[n];t.deferredNonRetain=!!(i&128);var s=!!(i&64);var l=e[r+5];var u=l>>5&7;var f=[l&31];var h=r+6;if(l===7){u=(0,a.readUint32)(e,h-1)&536870911;h+=3;var d=u+7>>3;f[0]=e[h++];while(--d>0){f.push(e[h++])}}else if(l===5||l===6){throw new o("invalid referred-to flags")}t.retainBits=f;var v=t.number<=256?1:t.number<=65536?2:4;var g=[];var m,p;for(m=0;m<u;m++){var b=v===1?e[h]:v===2?(0,a.readUint16)(e,h):(0,a.readUint32)(e,h);g.push(b);h+=v}t.referredTo=g;if(!s){t.pageAssociation=e[h++]}else{t.pageAssociation=(0,a.readUint32)(e,h);h+=4}t.length=(0,a.readUint32)(e,h);h+=4;if(t.length===4294967295){if(n===38){var y=C(e,h);var w=e[h+x];var k=!!(w&1);var S=6;var _=new Uint8Array(S);if(!k){_[0]=255;_[1]=172}_[2]=y.height>>>24&255;_[3]=y.height>>16&255;_[4]=y.height>>8&255;_[5]=y.height&255;for(m=h,p=e.length;m<p;m++){var A=0;while(A<S&&_[A]===e[m+A]){A++}if(A===S){t.length=m+S;break}}if(t.length===4294967295){throw new o("segment end was not found")}}else{throw new o("invalid unknown segment length")}}t.headerEnd=h;return t}function S(e,r,t,a){var i=[];var n=t;while(n<a){var o=k(r,n);n=o.headerEnd;var s={header:o,data:r};if(!e.randomAccess){s.start=n;n+=o.length;s.end=n}i.push(s);if(o.type===51){break}}if(e.randomAccess){for(var l=0,c=i.length;l<c;l++){i[l].start=n;n+=i[l].header.length;i[l].end=n}}return i}function C(e,r){return{width:(0,a.readUint32)(e,r),height:(0,a.readUint32)(e,r+4),x:(0,a.readUint32)(e,r+8),y:(0,a.readUint32)(e,r+12),combinationOperator:e[r+16]&7}}var x=17;function _(e,r){var t=e.header;var i=e.data,n=e.start,s=e.end;var l,c,u,f;switch(t.type){case 0:var h={};var d=(0,a.readUint16)(i,n);h.huffman=!!(d&1);h.refinement=!!(d&2);h.huffmanDHSelector=d>>2&3;h.huffmanDWSelector=d>>4&3;h.bitmapSizeSelector=d>>6&1;h.aggregationInstancesSelector=d>>7&1;h.bitmapCodingContextUsed=!!(d&256);h.bitmapCodingContextRetained=!!(d&512);h.template=d>>10&3;h.refinementTemplate=d>>12&1;n+=2;if(!h.huffman){f=h.template===0?4:1;c=[];for(u=0;u<f;u++){c.push({x:(0,a.readInt8)(i,n),y:(0,a.readInt8)(i,n+1)});n+=2}h.at=c}if(h.refinement&&!h.refinementTemplate){c=[];for(u=0;u<2;u++){c.push({x:(0,a.readInt8)(i,n),y:(0,a.readInt8)(i,n+1)});n+=2}h.refinementAt=c}h.numberOfExportedSymbols=(0,a.readUint32)(i,n);n+=4;h.numberOfNewSymbols=(0,a.readUint32)(i,n);n+=4;l=[h,t.number,t.referredTo,i,n,s];break;case 6:case 7:var v={};v.info=C(i,n);n+=x;var g=(0,a.readUint16)(i,n);n+=2;v.huffman=!!(g&1);v.refinement=!!(g&2);v.logStripSize=g>>2&3;v.stripSize=1<<v.logStripSize;v.referenceCorner=g>>4&3;v.transposed=!!(g&64);v.combinationOperator=g>>7&3;v.defaultPixelValue=g>>9&1;v.dsOffset=g<<17>>27;v.refinementTemplate=g>>15&1;if(v.huffman){var m=(0,a.readUint16)(i,n);n+=2;v.huffmanFS=m&3;v.huffmanDS=m>>2&3;v.huffmanDT=m>>4&3;v.huffmanRefinementDW=m>>6&3;v.huffmanRefinementDH=m>>8&3;v.huffmanRefinementDX=m>>10&3;v.huffmanRefinementDY=m>>12&3;v.huffmanRefinementSizeSelector=!!(m&16384)}if(v.refinement&&!v.refinementTemplate){c=[];for(u=0;u<2;u++){c.push({x:(0,a.readInt8)(i,n),y:(0,a.readInt8)(i,n+1)});n+=2}v.refinementAt=c}v.numberOfSymbolInstances=(0,a.readUint32)(i,n);n+=4;l=[v,t.referredTo,i,n,s];break;case 16:var p={};var b=i[n++];p.mmr=!!(b&1);p.template=b>>1&3;p.patternWidth=i[n++];p.patternHeight=i[n++];p.maxPatternIndex=(0,a.readUint32)(i,n);n+=4;l=[p,t.number,i,n,s];break;case 22:case 23:var y={};y.info=C(i,n);n+=x;var w=i[n++];y.mmr=!!(w&1);y.template=w>>1&3;y.enableSkip=!!(w&8);y.combinationOperator=w>>4&7;y.defaultPixelValue=w>>7&1;y.gridWidth=(0,a.readUint32)(i,n);n+=4;y.gridHeight=(0,a.readUint32)(i,n);n+=4;y.gridOffsetX=(0,a.readUint32)(i,n)&4294967295;n+=4;y.gridOffsetY=(0,a.readUint32)(i,n)&4294967295;n+=4;y.gridVectorX=(0,a.readUint16)(i,n);n+=2;y.gridVectorY=(0,a.readUint16)(i,n);n+=2;l=[y,t.referredTo,i,n,s];break;case 38:case 39:var k={};k.info=C(i,n);n+=x;var S=i[n++];k.mmr=!!(S&1);k.template=S>>1&3;k.prediction=!!(S&8);if(!k.mmr){f=k.template===0?4:1;c=[];for(u=0;u<f;u++){c.push({x:(0,a.readInt8)(i,n),y:(0,a.readInt8)(i,n+1)});n+=2}k.at=c}l=[k,i,n,s];break;case 48:var _={width:(0,a.readUint32)(i,n),height:(0,a.readUint32)(i,n+4),resolutionX:(0,a.readUint32)(i,n+8),resolutionY:(0,a.readUint32)(i,n+12)};if(_.height===4294967295){delete _.height}var A=i[n+16];(0,a.readUint16)(i,n+17);_.lossless=!!(A&1);_.refinement=!!(A&2);_.defaultPixelValue=A>>2&1;_.combinationOperator=A>>3&3;_.requiresBuffer=!!(A&32);_.combinationOperatorOverride=!!(A&64);l=[_];break;case 49:break;case 50:break;case 51:break;case 53:l=[t.number,i,n,s];break;case 62:break;default:throw new o("segment type "+t.typeName+"("+t.type+")"+" is not implemented")}var P="on"+t.typeName;if(P in r){r[P].apply(r,l)}}function A(e,r){for(var t=0,a=e.length;t<a;t++){_(e[t],r)}}function P(e){var r=new O;for(var t=0,a=e.length;t<a;t++){var i=e[t];var n=S({},i.data,i.start,i.end);A(n,r)}return r.buffer}function I(e){var r=0,t=e.length;if(e[r]!==151||e[r+1]!==74||e[r+2]!==66||e[r+3]!==50||e[r+4]!==13||e[r+5]!==10||e[r+6]!==26||e[r+7]!==10){throw new o("parseJbig2 - invalid header.")}var i=Object.create(null);r+=8;var n=e[r++];i.randomAccess=!(n&1);if(!(n&2)){i.numberOfPages=(0,a.readUint32)(e,r);r+=4}var s=S(i,e,r,t);var l=new O;A(s,l);var c=l.currentPageInfo,u=c.width,f=c.height;var h=l.buffer;var d=new Uint8ClampedArray(u*f);var v=0,g=0;for(var m=0;m<f;m++){var p=0,b=void 0;for(var y=0;y<u;y++){if(!p){p=128;b=h[g++]}d[v++]=b&p?0:255;p>>=1}}return{imgData:d,width:u,height:f}}function O(){}O.prototype={onPageInformation:function e(r){this.currentPageInfo=r;var t=r.width+7>>3;var a=new Uint8ClampedArray(t*r.height);if(r.defaultPixelValue){for(var i=0,n=a.length;i<n;i++){a[i]=255}}this.buffer=a},drawBitmap:function e(r,t){var a=this.currentPageInfo;var i=r.width,n=r.height;var s=a.width+7>>3;var l=a.combinationOperatorOverride?r.combinationOperator:a.combinationOperator;var c=this.buffer;var u=128>>(r.x&7);var f=r.y*s+(r.x>>3);var h,d,v,g;switch(l){case 0:for(h=0;h<n;h++){v=u;g=f;for(d=0;d<i;d++){if(t[h][d]){c[g]|=v}v>>=1;if(!v){v=128;g++}}f+=s}break;case 2:for(h=0;h<n;h++){v=u;g=f;for(d=0;d<i;d++){if(t[h][d]){c[g]^=v}v>>=1;if(!v){v=128;g++}}f+=s}break;default:throw new o("operator "+l+" is not supported")}},onImmediateGenericRegion:function e(r,a,i,n){var o=r.info;var s=new t(a,i,n);var l=g(r.mmr,o.width,o.height,r.template,r.prediction,null,r.at,s);this.drawBitmap(o,l)},onImmediateLosslessGenericRegion:function e(){this.onImmediateGenericRegion.apply(this,arguments)},onSymbolDictionary:function e(r,a,i,n,o,s){var l=void 0,c=void 0;if(r.huffman){l=U(r,i,this.customTables);c=new M(n,o,s)}var u=this.symbols;if(!u){this.symbols=u={}}var f=[];for(var h=0,d=i.length;h<d;h++){var v=u[i[h]];if(v){f=f.concat(v)}}var g=new t(n,o,s);u[a]=p(r.huffman,r.refinement,f,r.numberOfNewSymbols,r.numberOfExportedSymbols,l,r.template,r.at,r.refinementTemplate,r.refinementAt,g,c)},onImmediateTextRegion:function e(r,i,n,o,s){var l=r.info;var c=void 0,u=void 0;var f=this.symbols;var h=[];for(var d=0,v=i.length;d<v;d++){var g=f[i[d]];if(g){h=h.concat(g)}}var m=(0,a.log2)(h.length);if(r.huffman){u=new M(n,o,s);c=N(r,i,this.customTables,h.length,u)}var p=new t(n,o,s);var y=b(r.huffman,r.refinement,l.width,l.height,r.defaultPixelValue,r.numberOfSymbolInstances,r.stripSize,h,m,r.transposed,r.dsOffset,r.referenceCorner,r.combinationOperator,c,r.refinementTemplate,r.refinementAt,p,r.logStripSize,u);this.drawBitmap(l,y)},onImmediateLosslessTextRegion:function e(){this.onImmediateTextRegion.apply(this,arguments)},onPatternDictionary:function e(r,a,i,n,o){var s=this.patterns;if(!s){this.patterns=s={}}var l=new t(i,n,o);s[a]=y(r.mmr,r.patternWidth,r.patternHeight,r.maxPatternIndex,r.template,l)},onImmediateHalftoneRegion:function e(r,a,i,n,o){var s=this.patterns[a[0]];var l=r.info;var c=new t(i,n,o);var u=w(r.mmr,s,r.template,l.width,l.height,r.defaultPixelValue,r.enableSkip,r.combinationOperator,r.gridWidth,r.gridHeight,r.gridOffsetX,r.gridOffsetY,r.gridVectorX,r.gridVectorY,c);this.drawBitmap(l,u)},onImmediateLosslessHalftoneRegion:function e(){this.onImmediateHalftoneRegion.apply(this,arguments)},onTables:function e(r,t,a,i){var n=this.customTables;if(!n){this.customTables=n={}}n[r]=R(t,a,i)}};function T(e){if(e.length===2){this.isOOB=true;this.rangeLow=0;this.prefixLength=e[0];this.rangeLength=0;this.prefixCode=e[1];this.isLowerRange=false}else{this.isOOB=false;this.rangeLow=e[0];this.prefixLength=e[1];this.rangeLength=e[2];this.prefixCode=e[3];this.isLowerRange=e[4]==="lower"}}function E(e){this.children=[];if(e){this.isLeaf=true;this.rangeLength=e.rangeLength;this.rangeLow=e.rangeLow;this.isLowerRange=e.isLowerRange;this.isOOB=e.isOOB}else{this.isLeaf=false}}E.prototype={buildTree:function e(r,t){var a=r.prefixCode>>t&1;if(t<=0){this.children[a]=new E(r)}else{var i=this.children[a];if(!i){this.children[a]=i=new E(null)}i.buildTree(r,t-1)}},decodeNode:function e(r){if(this.isLeaf){if(this.isOOB){return null}var t=r.readBits(this.rangeLength);return this.rangeLow+(this.isLowerRange?-t:t)}var a=this.children[r.readBit()];if(!a){throw new o("invalid Huffman data")}return a.decodeNode(r)}};function F(e,r){if(!r){this.assignPrefixCodes(e)}this.rootNode=new E(null);var t=void 0,a=e.length,i=void 0;for(t=0;t<a;t++){i=e[t];if(i.prefixLength>0){this.rootNode.buildTree(i,i.prefixLength-1)}}}F.prototype={decode:function e(r){return this.rootNode.decodeNode(r)},assignPrefixCodes:function e(r){var t=r.length,a=0,i=void 0;for(i=0;i<t;i++){a=Math.max(a,r[i].prefixLength)}var n=new Uint32Array(a+1);for(i=0;i<t;i++){n[r[i].prefixLength]++}var o=1,s=0,l=void 0,c=void 0,u=void 0;n[0]=0;while(o<=a){s=s+n[o-1]<<1;l=s;c=0;while(c<t){u=r[c];if(u.prefixLength===o){u.prefixCode=l;l++}c++}o++}}};function R(e,r,t){var i=e[r];var n=(0,a.readUint32)(e,r+1)&4294967295;var o=(0,a.readUint32)(e,r+5)&4294967295;var s=new M(e,r+9,t);var l=(i>>1&7)+1;var c=(i>>4&7)+1;var u=[];var f=void 0,h=void 0,d=n;do{f=s.readBits(l);h=s.readBits(c);u.push(new T([d,f,h,0]));d+=1<<h}while(d<o);f=s.readBits(l);u.push(new T([n-1,f,32,0,"lower"]));f=s.readBits(l);u.push(new T([o,f,32,0]));if(i&1){f=s.readBits(l);u.push(new T([f,0]))}return new F(u,false)}var B={};function D(e){var r=B[e];if(r){return r}var t=void 0;switch(e){case 1:t=[[0,1,4,0],[16,2,8,2],[272,3,16,6],[65808,3,32,7]];break;case 2:t=[[0,1,0,0],[1,2,0,2],[2,3,0,6],[3,4,3,14],[11,5,6,30],[75,6,32,62],[6,63]];break;case 3:t=[[-256,8,8,254],[0,1,0,0],[1,2,0,2],[2,3,0,6],[3,4,3,14],[11,5,6,30],[-257,8,32,255,"lower"],[75,7,32,126],[6,62]];break;case 4:t=[[1,1,0,0],[2,2,0,2],[3,3,0,6],[4,4,3,14],[12,5,6,30],[76,5,32,31]];break;case 5:t=[[-255,7,8,126],[1,1,0,0],[2,2,0,2],[3,3,0,6],[4,4,3,14],[12,5,6,30],[-256,7,32,127,"lower"],[76,6,32,62]];break;case 6:t=[[-2048,5,10,28],[-1024,4,9,8],[-512,4,8,9],[-256,4,7,10],[-128,5,6,29],[-64,5,5,30],[-32,4,5,11],[0,2,7,0],[128,3,7,2],[256,3,8,3],[512,4,9,12],[1024,4,10,13],[-2049,6,32,62,"lower"],[2048,6,32,63]];break;case 7:t=[[-1024,4,9,8],[-512,3,8,0],[-256,4,7,9],[-128,5,6,26],[-64,5,5,27],[-32,4,5,10],[0,4,5,11],[32,5,5,28],[64,5,6,29],[128,4,7,12],[256,3,8,1],[512,3,9,2],[1024,3,10,3],[-1025,5,32,30,"lower"],[2048,5,32,31]];break;case 8:t=[[-15,8,3,252],[-7,9,1,508],[-5,8,1,253],[-3,9,0,509],[-2,7,0,124],[-1,4,0,10],[0,2,1,0],[2,5,0,26],[3,6,0,58],[4,3,4,4],[20,6,1,59],[22,4,4,11],[38,4,5,12],[70,5,6,27],[134,5,7,28],[262,6,7,60],[390,7,8,125],[646,6,10,61],[-16,9,32,510,"lower"],[1670,9,32,511],[2,1]];break;case 9:t=[[-31,8,4,252],[-15,9,2,508],[-11,8,2,253],[-7,9,1,509],[-5,7,1,124],[-3,4,1,10],[-1,3,1,2],[1,3,1,3],[3,5,1,26],[5,6,1,58],[7,3,5,4],[39,6,2,59],[43,4,5,11],[75,4,6,12],[139,5,7,27],[267,5,8,28],[523,6,8,60],[779,7,9,125],[1291,6,11,61],[-32,9,32,510,"lower"],[3339,9,32,511],[2,0]];break;case 10:t=[[-21,7,4,122],[-5,8,0,252],[-4,7,0,123],[-3,5,0,24],[-2,2,2,0],[2,5,0,25],[3,6,0,54],[4,7,0,124],[5,8,0,253],[6,2,6,1],[70,5,5,26],[102,6,5,55],[134,6,6,56],[198,6,7,57],[326,6,8,58],[582,6,9,59],[1094,6,10,60],[2118,7,11,125],[-22,8,32,254,"lower"],[4166,8,32,255],[2,2]];break;case 11:t=[[1,1,0,0],[2,2,1,2],[4,4,0,12],[5,4,1,13],[7,5,1,28],[9,5,2,29],[13,6,2,60],[17,7,2,122],[21,7,3,123],[29,7,4,124],[45,7,5,125],[77,7,6,126],[141,7,32,127]];break;case 12:t=[[1,1,0,0],[2,2,0,2],[3,3,1,6],[5,5,0,28],[6,5,1,29],[8,6,1,60],[10,7,0,122],[11,7,1,123],[13,7,2,124],[17,7,3,125],[25,7,4,126],[41,8,5,254],[73,8,32,255]];break;case 13:t=[[1,1,0,0],[2,3,0,4],[3,4,0,12],[4,5,0,28],[5,4,1,13],[7,3,3,5],[15,6,1,58],[17,6,2,59],[21,6,3,60],[29,6,4,61],[45,6,5,62],[77,7,6,126],[141,7,32,127]];break;case 14:t=[[-2,3,0,4],[-1,3,0,5],[0,1,0,0],[1,3,0,6],[2,3,0,7]];break;case 15:t=[[-24,7,4,124],[-8,6,2,60],[-4,5,1,28],[-2,4,0,12],[-1,3,0,4],[0,1,0,0],[1,3,0,5],[2,4,0,13],[3,5,1,29],[5,6,2,61],[9,7,4,125],[-25,7,32,126,"lower"],[25,7,32,127]];break;default:throw new o("standard table B."+e+" does not exist")}var a=t.length,i=void 0;for(i=0;i<a;i++){t[i]=new T(t[i])}r=new F(t,true);B[e]=r;return r}function M(e,r,t){this.data=e;this.start=r;this.end=t;this.position=r;this.shift=-1;this.currentByte=0}M.prototype={readBit:function e(){if(this.shift<0){if(this.position>=this.end){throw new o("end of data while reading bit")}this.currentByte=this.data[this.position++];this.shift=7}var r=this.currentByte>>this.shift&1;this.shift--;return r},readBits:function e(r){var t=0,a=void 0;for(a=r-1;a>=0;a--){t|=this.readBit()<<a}return t},byteAlign:function e(){this.shift=-1},next:function e(){if(this.position>=this.end){return-1}return this.data[this.position++]}};function L(e,r,t){var a=0,i=void 0,n=r.length,s=void 0;for(i=0;i<n;i++){s=t[r[i]];if(s){if(e===a){return s}a++}}throw new o("can't find custom Huffman table")}function N(e,r,t,a,i){var n=[],s=void 0,l=void 0;for(s=0;s<=34;s++){l=i.readBits(4);n.push(new T([s,l,0,0]))}var c=new F(n,false);n.length=0;for(s=0;s<a;){l=c.decode(i);if(l>=32){var u=void 0,f=void 0,h=void 0;switch(l){case 32:if(s===0){throw new o("no previous value in symbol ID table")}f=i.readBits(2)+3;u=n[s-1].prefixLength;break;case 33:f=i.readBits(3)+3;u=0;break;case 34:f=i.readBits(7)+11;u=0;break;default:throw new o("invalid code length in symbol ID table")}for(h=0;h<f;h++){n.push(new T([s,u,0,0]));s++}}else{n.push(new T([s,l,0,0]));s++}}i.byteAlign();var d=new F(n,false);var v=0,g=void 0,m=void 0,p=void 0;switch(e.huffmanFS){case 0:case 1:g=D(e.huffmanFS+6);break;case 3:g=L(v,r,t);v++;break;default:throw new o("invalid Huffman FS selector")}switch(e.huffmanDS){case 0:case 1:case 2:m=D(e.huffmanDS+8);break;case 3:m=L(v,r,t);v++;break;default:throw new o("invalid Huffman DS selector")}switch(e.huffmanDT){case 0:case 1:case 2:p=D(e.huffmanDT+11);break;case 3:p=L(v,r,t);v++;break;default:throw new o("invalid Huffman DT selector")}if(e.refinement){throw new o("refinement with Huffman is not supported")}return{symbolIDTable:d,tableFirstS:g,tableDeltaS:m,tableDeltaT:p}}function U(e,r,t){var a=0,i=void 0,n=void 0;switch(e.huffmanDHSelector){case 0:case 1:i=D(e.huffmanDHSelector+4);break;case 3:i=L(a,r,t);a++;break;default:throw new o("invalid Huffman DH selector")}switch(e.huffmanDWSelector){case 0:case 1:n=D(e.huffmanDWSelector+2);break;case 3:n=L(a,r,t);a++;break;default:throw new o("invalid Huffman DW selector")}var s=void 0,l=void 0;if(e.bitmapSizeSelector){s=L(a,r,t);a++}else{s=D(1)}if(e.aggregationInstancesSelector){l=L(a,r,t)}else{l=D(1)}return{tableDeltaHeight:i,tableDeltaWidth:n,tableBitmapSize:s,tableAggregateInstances:l}}function q(e,r,t){var a=[],i=void 0,n=void 0,o=void 0;for(n=0;n<t;n++){o=new Uint8Array(r);a.push(o);for(i=0;i<r;i++){o[i]=e.readBit()}e.byteAlign()}return a}function j(e,r,t,a){var i={K:-1,Columns:r,Rows:t,BlackIs1:true,EndOfBlock:a};var o=new n.CCITTFaxDecoder(e,i);var s=[],l=void 0,c=void 0,u=void 0,f=void 0,h=void 0,d=false;for(c=0;c<t;c++){u=new Uint8Array(r);s.push(u);h=-1;for(l=0;l<r;l++){if(h<0){f=o.readNextChar();if(f===-1){f=0;d=true}h=7}u[l]=f>>h&1;h--}}if(a&&!d){var v=5;for(var g=0;g<v;g++){if(o.readNextChar()===-1){break}}}return s}function z(){}z.prototype={parseChunks:function e(r){return P(r)},parse:function e(r){var t=I(r),a=t.imgData,i=t.width,n=t.height;this.width=i;this.height=n;return a}};return z}();r.Jbig2Image=s},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:true});var a=function e(){var r=[{qe:22017,nmps:1,nlps:1,switchFlag:1},{qe:13313,nmps:2,nlps:6,switchFlag:0},{qe:6145,nmps:3,nlps:9,switchFlag:0},{qe:2753,nmps:4,nlps:12,switchFlag:0},{qe:1313,nmps:5,nlps:29,switchFlag:0},{qe:545,nmps:38,nlps:33,switchFlag:0},{qe:22017,nmps:7,nlps:6,switchFlag:1},{qe:21505,nmps:8,nlps:14,switchFlag:0},{qe:18433,nmps:9,nlps:14,switchFlag:0},{qe:14337,nmps:10,nlps:14,switchFlag:0},{qe:12289,nmps:11,nlps:17,switchFlag:0},{qe:9217,nmps:12,nlps:18,switchFlag:0},{qe:7169,nmps:13,nlps:20,switchFlag:0},{qe:5633,nmps:29,nlps:21,switchFlag:0},{qe:22017,nmps:15,nlps:14,switchFlag:1},{qe:21505,nmps:16,nlps:14,switchFlag:0},{qe:20737,nmps:17,nlps:15,switchFlag:0},{qe:18433,nmps:18,nlps:16,switchFlag:0},{qe:14337,nmps:19,nlps:17,switchFlag:0},{qe:13313,nmps:20,nlps:18,switchFlag:0},{qe:12289,nmps:21,nlps:19,switchFlag:0},{qe:10241,nmps:22,nlps:19,switchFlag:0},{qe:9217,nmps:23,nlps:20,switchFlag:0},{qe:8705,nmps:24,nlps:21,switchFlag:0},{qe:7169,nmps:25,nlps:22,switchFlag:0},{qe:6145,nmps:26,nlps:23,switchFlag:0},{qe:5633,nmps:27,nlps:24,switchFlag:0},{qe:5121,nmps:28,nlps:25,switchFlag:0},{qe:4609,nmps:29,nlps:26,switchFlag:0},{qe:4353,nmps:30,nlps:27,switchFlag:0},{qe:2753,nmps:31,nlps:28,switchFlag:0},{qe:2497,nmps:32,nlps:29,switchFlag:0},{qe:2209,nmps:33,nlps:30,switchFlag:0},{qe:1313,nmps:34,nlps:31,switchFlag:0},{qe:1089,nmps:35,nlps:32,switchFlag:0},{qe:673,nmps:36,nlps:33,switchFlag:0},{qe:545,nmps:37,nlps:34,switchFlag:0},{qe:321,nmps:38,nlps:35,switchFlag:0},{qe:273,nmps:39,nlps:36,switchFlag:0},{qe:133,nmps:40,nlps:37,switchFlag:0},{qe:73,nmps:41,nlps:38,switchFlag:0},{qe:37,nmps:42,nlps:39,switchFlag:0},{qe:21,nmps:43,nlps:40,switchFlag:0},{qe:9,nmps:44,nlps:41,switchFlag:0},{qe:5,nmps:45,nlps:42,switchFlag:0},{qe:1,nmps:45,nlps:43,switchFlag:0},{qe:22017,nmps:46,nlps:46,switchFlag:0}];function t(e,r,t){this.data=e;this.bp=r;this.dataEnd=t;this.chigh=e[r];this.clow=0;this.byteIn();this.chigh=this.chigh<<7&65535|this.clow>>9&127;this.clow=this.clow<<7&65535;this.ct-=7;this.a=32768}t.prototype={byteIn:function e(){var r=this.data;var t=this.bp;if(r[t]===255){var a=r[t+1];if(a>143){this.clow+=65280;this.ct=8}else{t++;this.clow+=r[t]<<9;this.ct=7;this.bp=t}}else{t++;this.clow+=t<this.dataEnd?r[t]<<8:65280;this.ct=8;this.bp=t}if(this.clow>65535){this.chigh+=this.clow>>16;this.clow&=65535}},readBit:function e(t,a){var i=t[a]>>1,n=t[a]&1;var o=r[i];var s=o.qe;var l;var c=this.a-s;if(this.chigh<s){if(c<s){c=s;l=n;i=o.nmps}else{c=s;l=1^n;if(o.switchFlag===1){n=l}i=o.nlps}}else{this.chigh-=s;if((c&32768)!==0){this.a=c;return n}if(c<s){l=1^n;if(o.switchFlag===1){n=l}i=o.nlps}else{l=n;i=o.nmps}}do{if(this.ct===0){this.byteIn()}c<<=1;this.chigh=this.chigh<<1&65535|this.clow>>15&1;this.clow=this.clow<<1&65535;this.ct--}while((c&32768)===0);this.a=c;t[a]=i<<1|n;return l}};return t}();r.ArithmeticDecoder=a},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:true});r.JpegStream=undefined;var a=t(2);var i=t(140);var n=t(138);var o=t(147);var s=function e(){function r(e,r,t,a){var n=void 0;while((n=e.getByte())!==-1){if(n===255){e.skip(-1);break}}this.stream=e;this.maybeLength=r;this.dict=t;this.params=a;i.DecodeStream.call(this,r)}r.prototype=Object.create(i.DecodeStream.prototype);Object.defineProperty(r.prototype,"bytes",{get:function e(){return(0,a.shadow)(this,"bytes",this.stream.getBytes(this.maybeLength))},configurable:true});r.prototype.ensureBuffer=function(e){};r.prototype.readBlock=function(){if(this.eof){return}var e={decodeTransform:undefined,colorTransform:undefined};var r=this.dict.getArray("Decode","D");if(this.forceRGB&&Array.isArray(r)){var t=this.dict.get("BitsPerComponent")||8;var a=r.length;var i=new Int32Array(a);var s=false;var l=(1<<t)-1;for(var c=0;c<a;c+=2){i[c]=(r[c+1]-r[c])*256|0;i[c+1]=r[c]*l|0;if(i[c]!==256||i[c+1]!==0){s=true}}if(s){e.decodeTransform=i}}if((0,n.isDict)(this.params)){var u=this.params.get("ColorTransform");if(Number.isInteger(u)){e.colorTransform=u}}var f=new o.JpegImage(e);f.parse(this.bytes);var h=f.getData({width:this.drawWidth,height:this.drawHeight,forceRGB:this.forceRGB,isSourcePDF:true});this.buffer=h;this.bufferLength=h.length;this.eof=true};r.prototype.getIR=function(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:false;return(0,a.createObjectURL)(this.bytes,"image/jpeg",e)};return r}();r.JpegStream=s},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:true});r.JpegImage=undefined;var a=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol==="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};var i=t(2);var n=function e(){function r(e){this.message="JPEG error: "+e}r.prototype=new Error;r.prototype.name="JpegError";r.constructor=r;return r}();var o=function e(){function r(e,r){this.message=e;this.scanLines=r}r.prototype=new Error;r.prototype.name="DNLMarkerError";r.constructor=r;return r}();var s=function e(){function r(e){this.message=e}r.prototype=new Error;r.prototype.name="EOIMarkerError";r.constructor=r;return r}();var l=function e(){var r=new Uint8Array([0,1,8,16,9,2,3,10,17,24,32,25,18,11,4,5,12,19,26,33,40,48,41,34,27,20,13,6,7,14,21,28,35,42,49,56,57,50,43,36,29,22,15,23,30,37,44,51,58,59,52,45,38,31,39,46,53,60,61,54,47,55,62,63]);var t=4017;var l=799;var c=3406;var u=2276;var f=1567;var h=3784;var d=5793;var v=2896;function g(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{},r=e.decodeTransform,t=r===undefined?null:r,a=e.colorTransform,i=a===undefined?-1:a;this._decodeTransform=t;this._colorTransform=i}function m(e,r){var t=0,a=[],i,n,o=16;while(o>0&&!e[o-1]){o--}a.push({children:[],index:0});var s=a[0],l;for(i=0;i<o;i++){for(n=0;n<e[i];n++){s=a.pop();s.children[s.index]=r[t];while(s.index>0){s=a.pop()}s.index++;a.push(s);while(a.length<=i){a.push(l={children:[],index:0});s.children[s.index]=l.children;s=l}t++}if(i+1<o){a.push(l={children:[],index:0});s.children[s.index]=l.children;s=l}}return a[0].children}function p(e,r,t){return 64*((e.blocksPerLine+1)*r+t)}function b(e,t,l,c,u,f,h,d,v){var g=arguments.length>9&&arguments[9]!==undefined?arguments[9]:false;var m=l.mcusPerLine;var b=l.progressive;var y=t,w=0,S=0;function C(){if(S>0){S--;return w>>S&1}w=e[t++];if(w===255){var r=e[t++];if(r){if(r===220&&g){t+=2;var a=e[t++]<<8|e[t++];if(a>0&&a!==l.scanLines){throw new o("Found DNL marker (0xFFDC) while parsing scan data",a)}}else if(r===217){throw new s("Found EOI marker (0xFFD9) while parsing scan data")}throw new n("unexpected marker "+(w<<8|r).toString(16))}}S=7;return w>>>7}function x(e){var r=e;while(true){r=r[C()];if(typeof r==="number"){return r}if((typeof r==="undefined"?"undefined":a(r))!=="object"){throw new n("invalid huffman sequence")}}}function _(e){var r=0;while(e>0){r=r<<1|C();e--}return r}function A(e){if(e===1){return C()===1?1:-1}var r=_(e);if(r>=1<<e-1){return r}return r+(-1<<e)+1}function P(e,t){var a=x(e.huffmanTableDC);var i=a===0?0:A(a);e.blockData[t]=e.pred+=i;var n=1;while(n<64){var o=x(e.huffmanTableAC);var s=o&15,l=o>>4;if(s===0){if(l<15){break}n+=16;continue}n+=l;var c=r[n];e.blockData[t+c]=A(s);n++}}function I(e,r){var t=x(e.huffmanTableDC);var a=t===0?0:A(t)<<v;e.blockData[r]=e.pred+=a}function O(e,r){e.blockData[r]|=C()<<v}var T=0;function E(e,t){if(T>0){T--;return}var a=f,i=h;while(a<=i){var n=x(e.huffmanTableAC);var o=n&15,s=n>>4;if(o===0){if(s<15){T=_(s)+(1<<s)-1;break}a+=16;continue}a+=s;var l=r[a];e.blockData[t+l]=A(o)*(1<<v);a++}}var F=0,R;function B(e,t){var a=f;var i=h;var o=0;var s;var l;while(a<=i){var c=t+r[a];var u=e.blockData[c]<0?-1:1;switch(F){case 0:l=x(e.huffmanTableAC);s=l&15;o=l>>4;if(s===0){if(o<15){T=_(o)+(1<<o);F=4}else{o=16;F=1}}else{if(s!==1){throw new n("invalid ACn encoding")}R=A(s);F=o?2:3}continue;case 1:case 2:if(e.blockData[c]){e.blockData[c]+=u*(C()<<v)}else{o--;if(o===0){F=F===2?3:0}}break;case 3:if(e.blockData[c]){e.blockData[c]+=u*(C()<<v)}else{e.blockData[c]=R<<v;F=0}break;case 4:if(e.blockData[c]){e.blockData[c]+=u*(C()<<v)}break}a++}if(F===4){T--;if(T===0){F=0}}}function D(e,r,t,a,i){var n=t/m|0;var o=t%m;var s=n*e.v+a;var l=o*e.h+i;var c=p(e,s,l);r(e,c)}function M(e,r,t){var a=t/e.blocksPerLine|0;var i=t%e.blocksPerLine;var n=p(e,a,i);r(e,n)}var L=c.length;var N,U,q,j,z;var H;if(b){if(f===0){H=d===0?I:O}else{H=d===0?E:B}}else{H=P}var G=0,W;var X;if(L===1){X=c[0].blocksPerLine*c[0].blocksPerColumn}else{X=m*l.mcusPerColumn}var V,K;while(G<X){var Y=u?Math.min(X-G,u):X;for(U=0;U<L;U++){c[U].pred=0}T=0;if(L===1){N=c[0];for(z=0;z<Y;z++){M(N,H,G);G++}}else{for(z=0;z<Y;z++){for(U=0;U<L;U++){N=c[U];V=N.h;K=N.v;for(q=0;q<K;q++){for(j=0;j<V;j++){D(N,H,G,q,j)}}}G++}}S=0;W=k(e,t);if(W&&W.invalid){(0,i.warn)("decodeScan - unexpected MCU data, current marker is: "+W.invalid);t=W.offset}var J=W&&W.marker;if(!J||J<=65280){throw new n("marker was not found")}if(J>=65488&&J<=65495){t+=2}else{break}}W=k(e,t);if(W&&W.invalid){(0,i.warn)("decodeScan - unexpected Scan data, current marker is: "+W.invalid);t=W.offset}return t-y}function y(e,r,a){var i=e.quantizationTable,o=e.blockData;var s,g,m,p,b,y,w,k;var S,C,x,_,A,P,I,O;var T;if(!i){throw new n("missing required Quantization Table.")}for(var E=0;E<64;E+=8){S=o[r+E];C=o[r+E+1];x=o[r+E+2];_=o[r+E+3];A=o[r+E+4];P=o[r+E+5];I=o[r+E+6];O=o[r+E+7];S*=i[E];if((C|x|_|A|P|I|O)===0){T=d*S+512>>10;a[E]=T;a[E+1]=T;a[E+2]=T;a[E+3]=T;a[E+4]=T;a[E+5]=T;a[E+6]=T;a[E+7]=T;continue}C*=i[E+1];x*=i[E+2];_*=i[E+3];A*=i[E+4];P*=i[E+5];I*=i[E+6];O*=i[E+7];s=d*S+128>>8;g=d*A+128>>8;m=x;p=I;b=v*(C-O)+128>>8;k=v*(C+O)+128>>8;y=_<<4;w=P<<4;s=s+g+1>>1;g=s-g;T=m*h+p*f+128>>8;m=m*f-p*h+128>>8;p=T;b=b+w+1>>1;w=b-w;k=k+y+1>>1;y=k-y;s=s+p+1>>1;p=s-p;g=g+m+1>>1;m=g-m;T=b*u+k*c+2048>>12;b=b*c-k*u+2048>>12;k=T;T=y*l+w*t+2048>>12;y=y*t-w*l+2048>>12;w=T;a[E]=s+k;a[E+7]=s-k;a[E+1]=g+w;a[E+6]=g-w;a[E+2]=m+y;a[E+5]=m-y;a[E+3]=p+b;a[E+4]=p-b}for(var F=0;F<8;++F){S=a[F];C=a[F+8];x=a[F+16];_=a[F+24];A=a[F+32];P=a[F+40];I=a[F+48];O=a[F+56];if((C|x|_|A|P|I|O)===0){T=d*S+8192>>14;T=T<-2040?0:T>=2024?255:T+2056>>4;o[r+F]=T;o[r+F+8]=T;o[r+F+16]=T;o[r+F+24]=T;o[r+F+32]=T;o[r+F+40]=T;o[r+F+48]=T;o[r+F+56]=T;continue}s=d*S+2048>>12;g=d*A+2048>>12;m=x;p=I;b=v*(C-O)+2048>>12;k=v*(C+O)+2048>>12;y=_;w=P;s=(s+g+1>>1)+4112;g=s-g;T=m*h+p*f+2048>>12;m=m*f-p*h+2048>>12;p=T;b=b+w+1>>1;w=b-w;k=k+y+1>>1;y=k-y;s=s+p+1>>1;p=s-p;g=g+m+1>>1;m=g-m;T=b*u+k*c+2048>>12;b=b*c-k*u+2048>>12;k=T;T=y*l+w*t+2048>>12;y=y*t-w*l+2048>>12;w=T;S=s+k;O=s-k;C=g+w;I=g-w;x=m+y;P=m-y;_=p+b;A=p-b;S=S<16?0:S>=4080?255:S>>4;C=C<16?0:C>=4080?255:C>>4;x=x<16?0:x>=4080?255:x>>4;_=_<16?0:_>=4080?255:_>>4;A=A<16?0:A>=4080?255:A>>4;P=P<16?0:P>=4080?255:P>>4;I=I<16?0:I>=4080?255:I>>4;O=O<16?0:O>=4080?255:O>>4;o[r+F]=S;o[r+F+8]=C;o[r+F+16]=x;o[r+F+24]=_;o[r+F+32]=A;o[r+F+40]=P;o[r+F+48]=I;o[r+F+56]=O}}function w(e,r){var t=r.blocksPerLine;var a=r.blocksPerColumn;var i=new Int16Array(64);for(var n=0;n<a;n++){for(var o=0;o<t;o++){var s=p(r,n,o);y(r,s,i)}}return r.blockData}function k(e,r){var t=arguments.length>2&&arguments[2]!==undefined?arguments[2]:r;function a(r){return e[r]<<8|e[r+1]}var i=e.length-1;var n=t<r?t:r;if(r>=i){return null}var o=a(r);if(o>=65472&&o<=65534){return{invalid:null,marker:o,offset:r}}var s=a(n);while(!(s>=65472&&s<=65534)){if(++n>=i){return null}s=a(n)}return{invalid:o.toString(16),marker:s,offset:n}}g.prototype={parse:function e(t){var a=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{},l=a.dnlScanLines,c=l===undefined?null:l;function u(){var e=t[d]<<8|t[d+1];d+=2;return e}function f(){var e=u();var r=d+e-2;var a=k(t,r,d);if(a&&a.invalid){(0,i.warn)("readDataBlock - incorrect length, current marker is: "+a.invalid);r=a.offset}var n=t.subarray(d,r);d+=n.length;return n}function h(e){var r=Math.ceil(e.samplesPerLine/8/e.maxH);var t=Math.ceil(e.scanLines/8/e.maxV);for(var a=0;a<e.components.length;a++){Q=e.components[a];var i=Math.ceil(Math.ceil(e.samplesPerLine/8)*Q.h/e.maxH);var n=Math.ceil(Math.ceil(e.scanLines/8)*Q.v/e.maxV);var o=r*Q.h;var s=t*Q.v;var l=64*s*(o+1);Q.blockData=new Int16Array(l);Q.blocksPerLine=i;Q.blocksPerColumn=n}e.mcusPerLine=r;e.mcusPerColumn=t}var d=0;var v=null;var g=null;var p,y;var S=0;var C=[];var x=[],_=[];var A=u();if(A!==65496){throw new n("SOI not found")}A=u();e:while(A!==65497){var P,I,O;switch(A){case 65504:case 65505:case 65506:case 65507:case 65508:case 65509:case 65510:case 65511:case 65512:case 65513:case 65514:case 65515:case 65516:case 65517:case 65518:case 65519:case 65534:var T=f();if(A===65504){if(T[0]===74&&T[1]===70&&T[2]===73&&T[3]===70&&T[4]===0){v={version:{major:T[5],minor:T[6]},densityUnits:T[7],xDensity:T[8]<<8|T[9],yDensity:T[10]<<8|T[11],thumbWidth:T[12],thumbHeight:T[13],thumbData:T.subarray(14,14+3*T[12]*T[13])}}}if(A===65518){if(T[0]===65&&T[1]===100&&T[2]===111&&T[3]===98&&T[4]===101){g={version:T[5]<<8|T[6],flags0:T[7]<<8|T[8],flags1:T[9]<<8|T[10],transformCode:T[11]}}}break;case 65499:var E=u();var F=E+d-2;var R;while(d<F){var B=t[d++];var D=new Uint16Array(64);if(B>>4===0){for(I=0;I<64;I++){R=r[I];D[R]=t[d++]}}else if(B>>4===1){for(I=0;I<64;I++){R=r[I];D[R]=u()}}else{throw new n("DQT - invalid table spec")}C[B&15]=D}break;case 65472:case 65473:case 65474:if(p){throw new n("Only single frame JPEGs supported")}u();p={};p.extended=A===65473;p.progressive=A===65474;p.precision=t[d++];var M=u();p.scanLines=c||M;p.samplesPerLine=u();p.components=[];p.componentIds={};var L=t[d++],N;var U=0,q=0;for(P=0;P<L;P++){N=t[d];var j=t[d+1]>>4;var z=t[d+1]&15;if(U<j){U=j}if(q<z){q=z}var H=t[d+2];O=p.components.push({h:j,v:z,quantizationId:H,quantizationTable:null});p.componentIds[N]=O-1;d+=3}p.maxH=U;p.maxV=q;h(p);break;case 65476:var G=u();for(P=2;P<G;){var W=t[d++];var X=new Uint8Array(16);var V=0;for(I=0;I<16;I++,d++){V+=X[I]=t[d]}var K=new Uint8Array(V);for(I=0;I<V;I++,d++){K[I]=t[d]}P+=17+V;(W>>4===0?_:x)[W&15]=m(X,K)}break;case 65501:u();y=u();break;case 65498:var Y=++S===1&&!c;u();var J=t[d++];var Z=[],Q;for(P=0;P<J;P++){var $=p.componentIds[t[d++]];Q=p.components[$];var ee=t[d++];Q.huffmanTableDC=_[ee>>4];Q.huffmanTableAC=x[ee&15];Z.push(Q)}var re=t[d++];var te=t[d++];var ae=t[d++];try{var ie=b(t,d,p,Z,y,re,te,ae>>4,ae&15,Y);d+=ie}catch(e){if(e instanceof o){(0,i.warn)(e.message+" -- attempting to re-parse the JPEG image.");return this.parse(t,{dnlScanLines:e.scanLines})}else if(e instanceof s){(0,i.warn)(e.message+" -- ignoring the rest of the image data.");break e}throw e}break;case 65500:d+=4;break;case 65535:if(t[d]!==255){d--}break;default:if(t[d-3]===255&&t[d-2]>=192&&t[d-2]<=254){d-=3;break}var ne=k(t,d-2);if(ne&&ne.invalid){(0,i.warn)("JpegImage.parse - unexpected data, current marker is: "+ne.invalid);d=ne.offset;break}throw new n("unknown marker "+A.toString(16))}A=u()}this.width=p.samplesPerLine;this.height=p.scanLines;this.jfif=v;this.adobe=g;this.components=[];for(P=0;P<p.components.length;P++){Q=p.components[P];var oe=C[Q.quantizationId];if(oe){Q.quantizationTable=oe}this.components.push({output:w(p,Q),scaleX:Q.h/p.maxH,scaleY:Q.v/p.maxV,blocksPerLine:Q.blocksPerLine,blocksPerColumn:Q.blocksPerColumn})}this.numComponents=this.components.length},_getLinearizedBlockData:function e(r,t){var a=arguments.length>2&&arguments[2]!==undefined?arguments[2]:false;var i=this.width/r,n=this.height/t;var o,s,l,c;var u,f,h,d,v;var g;var m=0;var p;var b=this.components.length;var y=r*t*b;var w=new Uint8ClampedArray(y);var k=new Uint32Array(r);var S=4294967288;for(h=0;h<b;h++){o=this.components[h];s=o.scaleX*i;l=o.scaleY*n;m=h;p=o.output;c=o.blocksPerLine+1<<3;for(u=0;u<r;u++){d=0|u*s;k[u]=(d&S)<<3|d&7}for(f=0;f<t;f++){d=0|f*l;g=c*(d&S)|(d&7)<<3;for(u=0;u<r;u++){w[m]=p[g+k[u]];m+=b}}}var C=this._decodeTransform;if(!a&&b===4&&!C){C=new Int32Array([-256,255,-256,255,-256,255,-256,255])}if(C){for(h=0;h<y;){for(d=0,v=0;d<b;d++,h++,v+=2){w[h]=(w[h]*C[v]>>8)+C[v+1]}}}return w},get _isColorConversionNeeded(){if(this.adobe){return!!this.adobe.transformCode}if(this.numComponents===3){if(this._colorTransform===0){return false}return true}if(this._colorTransform===1){return true}return false},_convertYccToRgb:function e(r){var t,a,i;for(var n=0,o=r.length;n<o;n+=3){t=r[n];a=r[n+1];i=r[n+2];r[n]=t-179.456+1.402*i;r[n+1]=t+135.459-.344*a-.714*i;r[n+2]=t-226.816+1.772*a}return r},_convertYcckToRgb:function e(r){var t,a,i,n;var o=0;for(var s=0,l=r.length;s<l;s+=4){t=r[s];a=r[s+1];i=r[s+2];n=r[s+3];r[o++]=-122.67195406894+a*(-660635669420364e-19*a+.000437130475926232*i-54080610064599e-18*t+.00048449797120281*n-.154362151871126)+i*(-.000957964378445773*i+.000817076911346625*t-.00477271405408747*n+1.53380253221734)+t*(.000961250184130688*t-.00266257332283933*n+.48357088451265)+n*(-.000336197177618394*n+.484791561490776);r[o++]=107.268039397724+a*(219927104525741e-19*a-.000640992018297945*i+.000659397001245577*t+.000426105652938837*n-.176491792462875)+i*(-.000778269941513683*i+.00130872261408275*t+.000770482631801132*n-.151051492775562)+t*(.00126935368114843*t-.00265090189010898*n+.25802910206845)+n*(-.000318913117588328*n-.213742400323665);r[o++]=-20.810012546947+a*(-.000570115196973677*a-263409051004589e-19*i+.0020741088115012*t-.00288260236853442*n+.814272968359295)+i*(-153496057440975e-19*i-.000132689043961446*t+.000560833691242812*n-.195152027534049)+t*(.00174418132927582*t-.00255243321439347*n+.116935020465145)+n*(-.000343531996510555*n+.24165260232407)}return r.subarray(0,o)},_convertYcckToCmyk:function e(r){var t,a,i;for(var n=0,o=r.length;n<o;n+=4){t=r[n];a=r[n+1];i=r[n+2];r[n]=434.456-t-1.402*i;r[n+1]=119.541-t+.344*a+.714*i;r[n+2]=481.816-t-1.772*a}return r},_convertCmykToRgb:function e(r){var t,a,i,n;var o=0;var s=1/255;for(var l=0,c=r.length;l<c;l+=4){t=r[l]*s;a=r[l+1]*s;i=r[l+2]*s;n=r[l+3]*s;r[o++]=255+t*(-4.387332384609988*t+54.48615194189176*a+18.82290502165302*i+212.25662451639585*n-285.2331026137004)+a*(1.7149763477362134*a-5.6096736904047315*i-17.873870861415444*n-5.497006427196366)+i*(-2.5217340131683033*i-21.248923337353073*n+17.5119270841813)-n*(21.86122147463605*n+189.48180835922747);r[o++]=255+t*(8.841041422036149*t+60.118027045597366*a+6.871425592049007*i+31.159100130055922*n-79.2970844816548)+a*(-15.310361306967817*a+17.575251261109482*i+131.35250912493976*n-190.9453302588951)+i*(4.444339102852739*i+9.8632861493405*n-24.86741582555878)-n*(20.737325471181034*n+187.80453709719578);r[o++]=255+t*(.8842522430003296*t+8.078677503112928*a+30.89978309703729*i-.23883238689178934*n-14.183576799673286)+a*(10.49593273432072*a+63.02378494754052*i+50.606957656360734*n-112.23884253719248)+i*(.03296041114873217*i+115.60384449646641*n-193.58209356861505)-n*(22.33816807309886*n+180.12613974708367)}return r.subarray(0,o)},getData:function e(r){var t=r.width,a=r.height,i=r.forceRGB,o=i===undefined?false:i,s=r.isSourcePDF,l=s===undefined?false:s;if(this.numComponents>4){throw new n("Unsupported color mode")}var c=this._getLinearizedBlockData(t,a,l);if(this.numComponents===1&&o){var u=c.length;var f=new Uint8ClampedArray(u*3);var h=0;for(var d=0;d<u;d++){var v=c[d];f[h++]=v;f[h++]=v;f[h++]=v}return f}else if(this.numComponents===3&&this._isColorConversionNeeded){return this._convertYccToRgb(c)}else if(this.numComponents===4){if(this._isColorConversionNeeded){if(o){return this._convertYcckToRgb(c)}return this._convertYcckToCmyk(c)}else if(o){return this._convertCmykToRgb(c)}}return c}};return g}();r.JpegImage=l},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:true});r.JpxStream=undefined;var a=t(140);var i=t(149);var n=t(2);var o=function e(){function r(e,r,t,i){this.stream=e;this.maybeLength=r;this.dict=t;this.params=i;a.DecodeStream.call(this,r)}r.prototype=Object.create(a.DecodeStream.prototype);Object.defineProperty(r.prototype,"bytes",{get:function e(){return(0,n.shadow)(this,"bytes",this.stream.getBytes(this.maybeLength))},configurable:true});r.prototype.ensureBuffer=function(e){};r.prototype.readBlock=function(){if(this.eof){return}var e=new i.JpxImage;e.parse(this.bytes);var r=e.width;var t=e.height;var a=e.componentsCount;var n=e.tiles.length;if(n===1){this.buffer=e.tiles[0].items}else{var o=new Uint8ClampedArray(r*t*a);for(var s=0;s<n;s++){var l=e.tiles[s];var c=l.width;var u=l.height;var f=l.left;var h=l.top;var d=l.items;var v=0;var g=(r*h+f)*a;var m=r*a;var p=c*a;for(var b=0;b<u;b++){var y=d.subarray(v,v+p);o.set(y,g);v+=p;g+=m}}this.buffer=o}this.bufferLength=this.buffer.length;this.eof=true};return r}();r.JpxStream=o},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:true});r.JpxImage=undefined;var a=t(2);var i=t(145);var n=function e(){function r(e){this.message="JPX error: "+e}r.prototype=new Error;r.prototype.name="JpxError";r.constructor=r;return r}();var o=function e(){var r={LL:0,LH:1,HL:1,HH:2};function t(){this.failOnCorruptedImage=false}t.prototype={parse:function e(r){var t=(0,a.readUint16)(r,0);if(t===65359){this.parseCodestream(r,0,r.length);return}var i=0,o=r.length;while(i<o){var s=8;var l=(0,a.readUint32)(r,i);var c=(0,a.readUint32)(r,i+4);i+=s;if(l===1){l=(0,a.readUint32)(r,i)*4294967296+(0,a.readUint32)(r,i+4);i+=8;s+=8}if(l===0){l=o-i+s}if(l<s){throw new n("Invalid box field size")}var u=l-s;var f=true;switch(c){case 1785737832:f=false;break;case 1668246642:var h=r[i];if(h===1){var d=(0,a.readUint32)(r,i+3);switch(d){case 16:case 17:case 18:break;default:(0,a.warn)("Unknown colorspace "+d);break}}else if(h===2){(0,a.info)("ICC profile not supported")}break;case 1785737827:this.parseCodestream(r,i,i+u);break;case 1783636e3:if((0,a.readUint32)(r,i)!==218793738){(0,a.warn)("Invalid JP2 signature")}break;case 1783634458:case 1718909296:case 1920099697:case 1919251232:case 1768449138:break;default:var v=String.fromCharCode(c>>24&255,c>>16&255,c>>8&255,c&255);(0,a.warn)("Unsupported header type "+c+" ("+v+")");break}if(f){i+=u}}},parseImageProperties:function e(r){var t=r.getByte();while(t>=0){var a=t;t=r.getByte();var i=a<<8|t;if(i===65361){r.skip(4);var o=r.getInt32()>>>0;var s=r.getInt32()>>>0;var l=r.getInt32()>>>0;var c=r.getInt32()>>>0;r.skip(16);var u=r.getUint16();this.width=o-l;this.height=s-c;this.componentsCount=u;this.bitsPerComponent=8;return}}throw new n("No size marker found in JPX stream")},parseCodestream:function e(r,t,i){var l={};var c=false;try{var u=t;while(u+1<i){var f=(0,a.readUint16)(r,u);u+=2;var h=0,d,v,g,m,p,b;switch(f){case 65359:l.mainHeader=true;break;case 65497:break;case 65361:h=(0,a.readUint16)(r,u);var k={};k.Xsiz=(0,a.readUint32)(r,u+4);k.Ysiz=(0,a.readUint32)(r,u+8);k.XOsiz=(0,a.readUint32)(r,u+12);k.YOsiz=(0,a.readUint32)(r,u+16);k.XTsiz=(0,a.readUint32)(r,u+20);k.YTsiz=(0,a.readUint32)(r,u+24);k.XTOsiz=(0,a.readUint32)(r,u+28);k.YTOsiz=(0,a.readUint32)(r,u+32);var S=(0,a.readUint16)(r,u+36);k.Csiz=S;var _=[];d=u+38;for(var A=0;A<S;A++){var P={precision:(r[d]&127)+1,isSigned:!!(r[d]&128),XRsiz:r[d+1],YRsiz:r[d+2]};d+=3;o(P,k);_.push(P)}l.SIZ=k;l.components=_;s(l,_);l.QCC=[];l.COC=[];break;case 65372:h=(0,a.readUint16)(r,u);var I={};d=u+2;v=r[d++];switch(v&31){case 0:m=8;p=true;break;case 1:m=16;p=false;break;case 2:m=16;p=true;break;default:throw new Error("Invalid SQcd value "+v)}I.noQuantization=m===8;I.scalarExpounded=p;I.guardBits=v>>5;g=[];while(d<h+u){var O={};if(m===8){O.epsilon=r[d++]>>3;O.mu=0}else{O.epsilon=r[d]>>3;O.mu=(r[d]&7)<<8|r[d+1];d+=2}g.push(O)}I.SPqcds=g;if(l.mainHeader){l.QCD=I}else{l.currentTile.QCD=I;l.currentTile.QCC=[]}break;case 65373:h=(0,a.readUint16)(r,u);var T={};d=u+2;var E;if(l.SIZ.Csiz<257){E=r[d++]}else{E=(0,a.readUint16)(r,d);d+=2}v=r[d++];switch(v&31){case 0:m=8;p=true;break;case 1:m=16;p=false;break;case 2:m=16;p=true;break;default:throw new Error("Invalid SQcd value "+v)}T.noQuantization=m===8;T.scalarExpounded=p;T.guardBits=v>>5;g=[];while(d<h+u){O={};if(m===8){O.epsilon=r[d++]>>3;O.mu=0}else{O.epsilon=r[d]>>3;O.mu=(r[d]&7)<<8|r[d+1];d+=2}g.push(O)}T.SPqcds=g;if(l.mainHeader){l.QCC[E]=T}else{l.currentTile.QCC[E]=T}break;case 65362:h=(0,a.readUint16)(r,u);var F={};d=u+2;var R=r[d++];F.entropyCoderWithCustomPrecincts=!!(R&1);F.sopMarkerUsed=!!(R&2);F.ephMarkerUsed=!!(R&4);F.progressionOrder=r[d++];F.layersCount=(0,a.readUint16)(r,d);d+=2;F.multipleComponentTransform=r[d++];F.decompositionLevelsCount=r[d++];F.xcb=(r[d++]&15)+2;F.ycb=(r[d++]&15)+2;var B=r[d++];F.selectiveArithmeticCodingBypass=!!(B&1);F.resetContextProbabilities=!!(B&2);F.terminationOnEachCodingPass=!!(B&4);F.verticallyStripe=!!(B&8);F.predictableTermination=!!(B&16);F.segmentationSymbolUsed=!!(B&32);F.reversibleTransformation=r[d++];if(F.entropyCoderWithCustomPrecincts){var D=[];while(d<h+u){var M=r[d++];D.push({PPx:M&15,PPy:M>>4})}F.precinctsSizes=D}var L=[];if(F.selectiveArithmeticCodingBypass){L.push("selectiveArithmeticCodingBypass")}if(F.resetContextProbabilities){L.push("resetContextProbabilities")}if(F.terminationOnEachCodingPass){L.push("terminationOnEachCodingPass")}if(F.verticallyStripe){L.push("verticallyStripe")}if(F.predictableTermination){L.push("predictableTermination")}if(L.length>0){c=true;throw new Error("Unsupported COD options ("+L.join(", ")+")")}if(l.mainHeader){l.COD=F}else{l.currentTile.COD=F;l.currentTile.COC=[]}break;case 65424:h=(0,a.readUint16)(r,u);b={};b.index=(0,a.readUint16)(r,u+2);b.length=(0,a.readUint32)(r,u+4);b.dataEnd=b.length+u-2;b.partIndex=r[u+8];b.partsCount=r[u+9];l.mainHeader=false;if(b.partIndex===0){b.COD=l.COD;b.COC=l.COC.slice(0);b.QCD=l.QCD;b.QCC=l.QCC.slice(0)}l.currentTile=b;break;case 65427:b=l.currentTile;if(b.partIndex===0){x(l,b.index);y(l)}h=b.dataEnd-u;w(l,r,u,h);break;case 65365:case 65367:case 65368:case 65380:h=(0,a.readUint16)(r,u);break;case 65363:throw new Error("Codestream code 0xFF53 (COC) is "+"not implemented");default:throw new Error("Unknown codestream code: "+f.toString(16))}u+=h}}catch(e){if(c||this.failOnCorruptedImage){throw new n(e.message)}else{(0,a.warn)("JPX: Trying to recover from: "+e.message)}}this.tiles=C(l);this.width=l.SIZ.Xsiz-l.SIZ.XOsiz;this.height=l.SIZ.Ysiz-l.SIZ.YOsiz;this.componentsCount=l.SIZ.Csiz}};function o(e,r){e.x0=Math.ceil(r.XOsiz/e.XRsiz);e.x1=Math.ceil(r.Xsiz/e.XRsiz);e.y0=Math.ceil(r.YOsiz/e.YRsiz);e.y1=Math.ceil(r.Ysiz/e.YRsiz);e.width=e.x1-e.x0;e.height=e.y1-e.y0}function s(e,r){var t=e.SIZ;var a,i=[];var n=Math.ceil((t.Xsiz-t.XTOsiz)/t.XTsiz);var o=Math.ceil((t.Ysiz-t.YTOsiz)/t.YTsiz);for(var s=0;s<o;s++){for(var l=0;l<n;l++){a={};a.tx0=Math.max(t.XTOsiz+l*t.XTsiz,t.XOsiz);a.ty0=Math.max(t.YTOsiz+s*t.YTsiz,t.YOsiz);a.tx1=Math.min(t.XTOsiz+(l+1)*t.XTsiz,t.Xsiz);a.ty1=Math.min(t.YTOsiz+(s+1)*t.YTsiz,t.Ysiz);a.width=a.tx1-a.tx0;a.height=a.ty1-a.ty0;a.components=[];i.push(a)}}e.tiles=i;var c=t.Csiz;for(var u=0,f=c;u<f;u++){var h=r[u];for(var d=0,v=i.length;d<v;d++){var g={};a=i[d];g.tcx0=Math.ceil(a.tx0/h.XRsiz);g.tcy0=Math.ceil(a.ty0/h.YRsiz);g.tcx1=Math.ceil(a.tx1/h.XRsiz);g.tcy1=Math.ceil(a.ty1/h.YRsiz);g.width=g.tcx1-g.tcx0;g.height=g.tcy1-g.tcy0;a.components[u]=g}}}function l(e,r,t){var a=r.codingStyleParameters;var i={};if(!a.entropyCoderWithCustomPrecincts){i.PPx=15;i.PPy=15}else{i.PPx=a.precinctsSizes[t].PPx;i.PPy=a.precinctsSizes[t].PPy}i.xcb_=t>0?Math.min(a.xcb,i.PPx-1):Math.min(a.xcb,i.PPx);i.ycb_=t>0?Math.min(a.ycb,i.PPy-1):Math.min(a.ycb,i.PPy);return i}function c(e,r,t){var a=1<<t.PPx;var i=1<<t.PPy;var n=r.resLevel===0;var o=1<<t.PPx+(n?0:-1);var s=1<<t.PPy+(n?0:-1);var l=r.trx1>r.trx0?Math.ceil(r.trx1/a)-Math.floor(r.trx0/a):0;var c=r.try1>r.try0?Math.ceil(r.try1/i)-Math.floor(r.try0/i):0;var u=l*c;r.precinctParameters={precinctWidth:a,precinctHeight:i,numprecinctswide:l,numprecinctshigh:c,numprecincts:u,precinctWidthInSubband:o,precinctHeightInSubband:s}}function u(e,r,t){var a=t.xcb_;var i=t.ycb_;var n=1<<a;var o=1<<i;var s=r.tbx0>>a;var l=r.tby0>>i;var c=r.tbx1+n-1>>a;var u=r.tby1+o-1>>i;var f=r.resolution.precinctParameters;var h=[];var d=[];var v,g,m,p;for(g=l;g<u;g++){for(v=s;v<c;v++){m={cbx:v,cby:g,tbx0:n*v,tby0:o*g,tbx1:n*(v+1),tby1:o*(g+1)};m.tbx0_=Math.max(r.tbx0,m.tbx0);m.tby0_=Math.max(r.tby0,m.tby0);m.tbx1_=Math.min(r.tbx1,m.tbx1);m.tby1_=Math.min(r.tby1,m.tby1);var b=Math.floor((m.tbx0_-r.tbx0)/f.precinctWidthInSubband);var y=Math.floor((m.tby0_-r.tby0)/f.precinctHeightInSubband);p=b+y*f.numprecinctswide;m.precinctNumber=p;m.subbandType=r.type;m.Lblock=3;if(m.tbx1_<=m.tbx0_||m.tby1_<=m.tby0_){continue}h.push(m);var w=d[p];if(w!==undefined){if(v<w.cbxMin){w.cbxMin=v}else if(v>w.cbxMax){w.cbxMax=v}if(g<w.cbyMin){w.cbxMin=g}else if(g>w.cbyMax){w.cbyMax=g}}else{d[p]=w={cbxMin:v,cbyMin:g,cbxMax:v,cbyMax:g}}m.precinct=w}}r.codeblockParameters={codeblockWidth:a,codeblockHeight:i,numcodeblockwide:c-s+1,numcodeblockhigh:u-l+1};r.codeblocks=h;r.precincts=d}function f(e,r,t){var a=[];var i=e.subbands;for(var n=0,o=i.length;n<o;n++){var s=i[n];var l=s.codeblocks;for(var c=0,u=l.length;c<u;c++){var f=l[c];if(f.precinctNumber!==r){continue}a.push(f)}}return{layerNumber:t,codeblocks:a}}function h(e){var r=e.SIZ;var t=e.currentTile.index;var a=e.tiles[t];var i=a.codingStyleDefaultParameters.layersCount;var o=r.Csiz;var s=0;for(var l=0;l<o;l++){s=Math.max(s,a.components[l].codingStyleParameters.decompositionLevelsCount)}var c=0,u=0,h=0,d=0;this.nextPacket=function e(){for(;c<i;c++){for(;u<=s;u++){for(;h<o;h++){var r=a.components[h];if(u>r.codingStyleParameters.decompositionLevelsCount){continue}var t=r.resolutions[u];var l=t.precinctParameters.numprecincts;for(;d<l;){var v=f(t,d,c);d++;return v}d=0}h=0}u=0}throw new n("Out of packets")}}function d(e){var r=e.SIZ;var t=e.currentTile.index;var a=e.tiles[t];var i=a.codingStyleDefaultParameters.layersCount;var o=r.Csiz;var s=0;for(var l=0;l<o;l++){s=Math.max(s,a.components[l].codingStyleParameters.decompositionLevelsCount)}var c=0,u=0,h=0,d=0;this.nextPacket=function e(){for(;c<=s;c++){for(;u<i;u++){for(;h<o;h++){var r=a.components[h];if(c>r.codingStyleParameters.decompositionLevelsCount){continue}var t=r.resolutions[c];var l=t.precinctParameters.numprecincts;for(;d<l;){var v=f(t,d,u);d++;return v}d=0}h=0}u=0}throw new n("Out of packets")}}function v(e){var r=e.SIZ;var t=e.currentTile.index;var a=e.tiles[t];var i=a.codingStyleDefaultParameters.layersCount;var o=r.Csiz;var s,l,c,u;var h=0;for(c=0;c<o;c++){var d=a.components[c];h=Math.max(h,d.codingStyleParameters.decompositionLevelsCount)}var v=new Int32Array(h+1);for(l=0;l<=h;++l){var g=0;for(c=0;c<o;++c){var m=a.components[c].resolutions;if(l<m.length){g=Math.max(g,m[l].precinctParameters.numprecincts)}}v[l]=g}s=0;l=0;c=0;u=0;this.nextPacket=function e(){for(;l<=h;l++){for(;u<v[l];u++){for(;c<o;c++){var r=a.components[c];if(l>r.codingStyleParameters.decompositionLevelsCount){continue}var t=r.resolutions[l];var d=t.precinctParameters.numprecincts;if(u>=d){continue}for(;s<i;){var g=f(t,u,s);s++;return g}s=0}c=0}u=0}throw new n("Out of packets")}}function g(e){var r=e.SIZ;var t=e.currentTile.index;var a=e.tiles[t];var i=a.codingStyleDefaultParameters.layersCount;var o=r.Csiz;var s=b(a);var l=s;var c=0,u=0,h=0,d=0,v=0;this.nextPacket=function e(){for(;v<l.maxNumHigh;v++){for(;d<l.maxNumWide;d++){for(;h<o;h++){var r=a.components[h];var t=r.codingStyleParameters.decompositionLevelsCount;for(;u<=t;u++){var g=r.resolutions[u];var m=s.components[h].resolutions[u];var b=p(d,v,m,l,g);if(b===null){continue}for(;c<i;){var y=f(g,b,c);c++;return y}c=0}u=0}h=0}d=0}throw new n("Out of packets")}}function m(e){var r=e.SIZ;var t=e.currentTile.index;var a=e.tiles[t];var i=a.codingStyleDefaultParameters.layersCount;var o=r.Csiz;var s=b(a);var l=0,c=0,u=0,h=0,d=0;this.nextPacket=function e(){for(;u<o;++u){var r=a.components[u];var t=s.components[u];var v=r.codingStyleParameters.decompositionLevelsCount;for(;d<t.maxNumHigh;d++){for(;h<t.maxNumWide;h++){for(;c<=v;c++){var g=r.resolutions[c];var m=t.resolutions[c];var b=p(h,d,m,t,g);if(b===null){continue}for(;l<i;){var y=f(g,b,l);l++;return y}l=0}c=0}h=0}d=0}throw new n("Out of packets")}}function p(e,r,t,a,i){var n=e*a.minWidth;var o=r*a.minHeight;if(n%t.width!==0||o%t.height!==0){return null}var s=o/t.width*i.precinctParameters.numprecinctswide;return n/t.height+s}function b(e){var r=e.components.length;var t=Number.MAX_VALUE;var a=Number.MAX_VALUE;var i=0;var n=0;var o=new Array(r);for(var s=0;s<r;s++){var l=e.components[s];var c=l.codingStyleParameters.decompositionLevelsCount;var u=new Array(c+1);var f=Number.MAX_VALUE;var h=Number.MAX_VALUE;var d=0;var v=0;var g=1;for(var m=c;m>=0;--m){var p=l.resolutions[m];var b=g*p.precinctParameters.precinctWidth;var y=g*p.precinctParameters.precinctHeight;f=Math.min(f,b);h=Math.min(h,y);d=Math.max(d,p.precinctParameters.numprecinctswide);v=Math.max(v,p.precinctParameters.numprecinctshigh);u[m]={width:b,height:y};g<<=1}t=Math.min(t,f);a=Math.min(a,h);i=Math.max(i,d);n=Math.max(n,v);o[s]={resolutions:u,minWidth:f,minHeight:h,maxNumWide:d,maxNumHigh:v}}return{components:o,minWidth:t,minHeight:a,maxNumWide:i,maxNumHigh:n}}function y(e){var r=e.SIZ;var t=e.currentTile.index;var a=e.tiles[t];var i=r.Csiz;for(var o=0;o<i;o++){var s=a.components[o];var f=s.codingStyleParameters.decompositionLevelsCount;var p=[];var b=[];for(var y=0;y<=f;y++){var w=l(e,s,y);var k={};var S=1<<f-y;k.trx0=Math.ceil(s.tcx0/S);k.try0=Math.ceil(s.tcy0/S);k.trx1=Math.ceil(s.tcx1/S);k.try1=Math.ceil(s.tcy1/S);k.resLevel=y;c(e,k,w);p.push(k);var C;if(y===0){C={};C.type="LL";C.tbx0=Math.ceil(s.tcx0/S);C.tby0=Math.ceil(s.tcy0/S);C.tbx1=Math.ceil(s.tcx1/S);C.tby1=Math.ceil(s.tcy1/S);C.resolution=k;u(e,C,w);b.push(C);k.subbands=[C]}else{var x=1<<f-y+1;var _=[];C={};C.type="HL";C.tbx0=Math.ceil(s.tcx0/x-.5);C.tby0=Math.ceil(s.tcy0/x);C.tbx1=Math.ceil(s.tcx1/x-.5);C.tby1=Math.ceil(s.tcy1/x);C.resolution=k;u(e,C,w);b.push(C);_.push(C);C={};C.type="LH";C.tbx0=Math.ceil(s.tcx0/x);C.tby0=Math.ceil(s.tcy0/x-.5);C.tbx1=Math.ceil(s.tcx1/x);C.tby1=Math.ceil(s.tcy1/x-.5);C.resolution=k;u(e,C,w);b.push(C);_.push(C);C={};C.type="HH";C.tbx0=Math.ceil(s.tcx0/x-.5);C.tby0=Math.ceil(s.tcy0/x-.5);C.tbx1=Math.ceil(s.tcx1/x-.5);C.tby1=Math.ceil(s.tcy1/x-.5);C.resolution=k;u(e,C,w);b.push(C);_.push(C);k.subbands=_}}s.resolutions=p;s.subbands=b}var A=a.codingStyleDefaultParameters.progressionOrder;switch(A){case 0:a.packetsIterator=new h(e);break;case 1:a.packetsIterator=new d(e);break;case 2:a.packetsIterator=new v(e);break;case 3:a.packetsIterator=new g(e);break;case 4:a.packetsIterator=new m(e);break;default:throw new n("Unsupported progression order "+A)}}function w(e,r,t,i){var n=0;var o,s=0,l=false;function c(e){while(s<e){var a=r[t+n];n++;if(l){o=o<<7|a;s+=7;l=false}else{o=o<<8|a;s+=8}if(a===255){l=true}}s-=e;return o>>>s&(1<<e)-1}function u(e){if(r[t+n-1]===255&&r[t+n]===e){f(1);return true}else if(r[t+n]===255&&r[t+n+1]===e){f(2);return true}return false}function f(e){n+=e}function h(){s=0;if(l){n++;l=false}}function d(){if(c(1)===0){return 1}if(c(1)===0){return 2}var e=c(2);if(e<3){return e+3}e=c(5);if(e<31){return e+6}e=c(7);return e+37}var v=e.currentTile.index;var g=e.tiles[v];var m=e.COD.sopMarkerUsed;var p=e.COD.ephMarkerUsed;var b=g.packetsIterator;while(n<i){h();if(m&&u(145)){f(4)}var y=b.nextPacket();if(!c(1)){continue}var w=y.layerNumber;var k=[],S;for(var C=0,x=y.codeblocks.length;C<x;C++){S=y.codeblocks[C];var P=S.precinct;var I=S.cbx-P.cbxMin;var O=S.cby-P.cbyMin;var T=false;var E=false;var F;if(S["included"]!==undefined){T=!!c(1)}else{P=S.precinct;var R,B;if(P["inclusionTree"]!==undefined){R=P.inclusionTree}else{var D=P.cbxMax-P.cbxMin+1;var M=P.cbyMax-P.cbyMin+1;R=new A(D,M,w);B=new _(D,M);P.inclusionTree=R;P.zeroBitPlanesTree=B}if(R.reset(I,O,w)){while(true){if(c(1)){F=!R.nextLevel();if(F){S.included=true;T=E=true;break}}else{R.incrementValue(w);break}}}}if(!T){continue}if(E){B=P.zeroBitPlanesTree;B.reset(I,O);while(true){if(c(1)){F=!B.nextLevel();if(F){break}}else{B.incrementValue()}}S.zeroBitPlanes=B.value}var L=d();while(c(1)){S.Lblock++}var N=(0,a.log2)(L);var U=(L<1<<N?N-1:N)+S.Lblock;var q=c(U);k.push({codeblock:S,codingpasses:L,dataLength:q})}h();if(p){u(146)}while(k.length>0){var j=k.shift();S=j.codeblock;if(S["data"]===undefined){S.data=[]}S.data.push({data:r,start:t+n,end:t+n+j.dataLength,codingpasses:j.codingpasses});n+=j.dataLength}}return n}function k(e,r,t,a,n,o,s,l){var c=a.tbx0;var u=a.tby0;var f=a.tbx1-a.tbx0;var h=a.codeblocks;var d=a.type.charAt(0)==="H"?1:0;var v=a.type.charAt(1)==="H"?r:0;for(var g=0,m=h.length;g<m;++g){var p=h[g];var b=p.tbx1_-p.tbx0_;var y=p.tby1_-p.tby0_;if(b===0||y===0){continue}if(p["data"]===undefined){continue}var w,k;w=new P(b,y,p.subbandType,p.zeroBitPlanes,o);k=2;var S=p.data,C=0,x=0;var _,A,I;for(_=0,A=S.length;_<A;_++){I=S[_];C+=I.end-I.start;x+=I.codingpasses}var O=new Uint8Array(C);var T=0;for(_=0,A=S.length;_<A;_++){I=S[_];var E=I.data.subarray(I.start,I.end);O.set(E,T);T+=E.length}var F=new i.ArithmeticDecoder(O,0,C);w.setDecoder(F);for(_=0;_<x;_++){switch(k){case 0:w.runSignificancePropagationPass();break;case 1:w.runMagnitudeRefinementPass();break;case 2:w.runCleanupPass();if(l){w.checkSegmentationSymbol()}break}k=(k+1)%3}var R=p.tbx0_-c+(p.tby0_-u)*f;var B=w.coefficentsSign;var D=w.coefficentsMagnitude;var M=w.bitsDecoded;var L=s?0:.5;var N,U,q;T=0;var j=a.type!=="LL";for(_=0;_<y;_++){var z=R/f|0;var H=2*z*(r-f)+d+v;for(N=0;N<b;N++){U=D[T];if(U!==0){U=(U+L)*n;if(B[T]!==0){U=-U}q=M[T];var G=j?H+(R<<1):R;if(s&&q>=o){e[G]=U}else{e[G]=U*(1<<o-q)}}R++;T++}R+=f-b}}}function S(e,t,a){var i=t.components[a];var n=i.codingStyleParameters;var o=i.quantizationParameters;var s=n.decompositionLevelsCount;var l=o.SPqcds;var c=o.scalarExpounded;var u=o.guardBits;var f=n.segmentationSymbolUsed;var h=e.components[a].precision;var d=n.reversibleTransformation;var v=d?new T:new O;var g=[];var m=0;for(var p=0;p<=s;p++){var b=i.resolutions[p];var y=b.trx1-b.trx0;var w=b.try1-b.try0;var S=new Float32Array(y*w);for(var C=0,x=b.subbands.length;C<x;C++){var _,A;if(!c){_=l[0].mu;A=l[0].epsilon+(p>0?1-p:0)}else{_=l[m].mu;A=l[m].epsilon;m++}var P=b.subbands[C];var I=r[P.type];var E=d?1:Math.pow(2,h+I-A)*(1+_/2048);var F=u+A-1;k(S,y,w,P,E,F,d,f)}g.push({width:y,height:w,items:S})}var R=v.calculate(g,i.tcx0,i.tcy0);return{left:i.tcx0,top:i.tcy0,width:R.width,height:R.height,items:R.items}}function C(e){var r=e.SIZ;var t=e.components;var a=r.Csiz;var i=[];for(var n=0,o=e.tiles.length;n<o;n++){var s=e.tiles[n];var l=[];var c;for(c=0;c<a;c++){l[c]=S(e,s,c)}var u=l[0];var f=new Uint8ClampedArray(u.items.length*a);var h={left:u.left,top:u.top,width:u.width,height:u.height,items:f};var d,v;var g=0,m,p,b,y,w;if(s.codingStyleDefaultParameters.multipleComponentTransform){var k=a===4;var C=l[0].items;var x=l[1].items;var _=l[2].items;var A=k?l[3].items:null;d=t[0].precision-8;v=(128<<d)+.5;var P=s.components[0];var I=a-3;p=C.length;if(!P.codingStyleParameters.reversibleTransformation){for(m=0;m<p;m++,g+=I){b=C[m]+v;y=x[m];w=_[m];f[g++]=b+1.402*w>>d;f[g++]=b-.34413*y-.71414*w>>d;f[g++]=b+1.772*y>>d}}else{for(m=0;m<p;m++,g+=I){b=C[m]+v;y=x[m];w=_[m];var O=b-(w+y>>2);f[g++]=O+w>>d;f[g++]=O>>d;f[g++]=O+y>>d}}if(k){for(m=0,g=3;m<p;m++,g+=4){f[g]=A[m]+v>>d}}}else{for(c=0;c<a;c++){var T=l[c].items;d=t[c].precision-8;v=(128<<d)+.5;for(g=c,m=0,p=T.length;m<p;m++){f[g]=T[m]+v>>d;g+=a}}}i.push(h)}return i}function x(e,r){var t=e.SIZ;var a=t.Csiz;var i=e.tiles[r];for(var n=0;n<a;n++){var o=i.components[n];var s=e.currentTile.QCC[n]!==undefined?e.currentTile.QCC[n]:e.currentTile.QCD;o.quantizationParameters=s;var l=e.currentTile.COC[n]!==undefined?e.currentTile.COC[n]:e.currentTile.COD;o.codingStyleParameters=l}i.codingStyleDefaultParameters=e.currentTile.COD}var _=function e(){function r(e,r){var t=(0,a.log2)(Math.max(e,r))+1;this.levels=[];for(var i=0;i<t;i++){var n={width:e,height:r,items:[]};this.levels.push(n);e=Math.ceil(e/2);r=Math.ceil(r/2)}}r.prototype={reset:function e(r,t){var a=0,i=0,n;while(a<this.levels.length){n=this.levels[a];var o=r+t*n.width;if(n.items[o]!==undefined){i=n.items[o];break}n.index=o;r>>=1;t>>=1;a++}a--;n=this.levels[a];n.items[n.index]=i;this.currentLevel=a;delete this.value},incrementValue:function e(){var r=this.levels[this.currentLevel];r.items[r.index]++},nextLevel:function e(){var r=this.currentLevel;var t=this.levels[r];var a=t.items[t.index];r--;if(r<0){this.value=a;return false}this.currentLevel=r;t=this.levels[r];t.items[t.index]=a;return true}};return r}();var A=function e(){function r(e,r,t){var i=(0,a.log2)(Math.max(e,r))+1;this.levels=[];for(var n=0;n<i;n++){var o=new Uint8Array(e*r);for(var s=0,l=o.length;s<l;s++){o[s]=t}var c={width:e,height:r,items:o};this.levels.push(c);e=Math.ceil(e/2);r=Math.ceil(r/2)}}r.prototype={reset:function e(r,t,a){var i=0;while(i<this.levels.length){var n=this.levels[i];var o=r+t*n.width;n.index=o;var s=n.items[o];if(s===255){break}if(s>a){this.currentLevel=i;this.propagateValues();return false}r>>=1;t>>=1;i++}this.currentLevel=i-1;return true},incrementValue:function e(r){var t=this.levels[this.currentLevel];t.items[t.index]=r+1;this.propagateValues()},propagateValues:function e(){var r=this.currentLevel;var t=this.levels[r];var a=t.items[t.index];while(--r>=0){t=this.levels[r];t.items[t.index]=a}},nextLevel:function e(){var r=this.currentLevel;var t=this.levels[r];var a=t.items[t.index];t.items[t.index]=255;r--;if(r<0){return false}this.currentLevel=r;t=this.levels[r];t.items[t.index]=a;return true}};return r}();var P=function e(){var r=17;var t=18;var a=new Uint8Array([0,5,8,0,3,7,8,0,4,7,8,0,0,0,0,0,1,6,8,0,3,7,8,0,4,7,8,0,0,0,0,0,2,6,8,0,3,7,8,0,4,7,8,0,0,0,0,0,2,6,8,0,3,7,8,0,4,7,8,0,0,0,0,0,2,6,8,0,3,7,8,0,4,7,8]);var i=new Uint8Array([0,3,4,0,5,7,7,0,8,8,8,0,0,0,0,0,1,3,4,0,6,7,7,0,8,8,8,0,0,0,0,0,2,3,4,0,6,7,7,0,8,8,8,0,0,0,0,0,2,3,4,0,6,7,7,0,8,8,8,0,0,0,0,0,2,3,4,0,6,7,7,0,8,8,8]);var o=new Uint8Array([0,1,2,0,1,2,2,0,2,2,2,0,0,0,0,0,3,4,5,0,4,5,5,0,5,5,5,0,0,0,0,0,6,7,7,0,7,7,7,0,7,7,7,0,0,0,0,0,8,8,8,0,8,8,8,0,8,8,8,0,0,0,0,0,8,8,8,0,8,8,8,0,8,8,8]);function s(e,r,t,n,s){this.width=e;this.height=r;this.contextLabelTable=t==="HH"?o:t==="HL"?i:a;var l=e*r;this.neighborsSignificance=new Uint8Array(l);this.coefficentsSign=new Uint8Array(l);this.coefficentsMagnitude=s>14?new Uint32Array(l):s>6?new Uint16Array(l):new Uint8Array(l);this.processingFlags=new Uint8Array(l);var c=new Uint8Array(l);if(n!==0){for(var u=0;u<l;u++){c[u]=n}}this.bitsDecoded=c;this.reset()}s.prototype={setDecoder:function e(r){this.decoder=r},reset:function e(){this.contexts=new Int8Array(19);this.contexts[0]=4<<1|0;this.contexts[r]=46<<1|0;this.contexts[t]=3<<1|0},setNeighborsSignificance:function e(r,t,a){var i=this.neighborsSignificance;var n=this.width,o=this.height;var s=t>0;var l=t+1<n;var c;if(r>0){c=a-n;if(s){i[c-1]+=16}if(l){i[c+1]+=16}i[c]+=4}if(r+1<o){c=a+n;if(s){i[c-1]+=16}if(l){i[c+1]+=16}i[c]+=4}if(s){i[a-1]+=1}if(l){i[a+1]+=1}i[a]|=128},runSignificancePropagationPass:function e(){var r=this.decoder;var t=this.width,a=this.height;var i=this.coefficentsMagnitude;var n=this.coefficentsSign;var o=this.neighborsSignificance;var s=this.processingFlags;var l=this.contexts;var c=this.contextLabelTable;var u=this.bitsDecoded;var f=~1;var h=1;var d=2;for(var v=0;v<a;v+=4){for(var g=0;g<t;g++){var m=v*t+g;for(var p=0;p<4;p++,m+=t){var b=v+p;if(b>=a){break}s[m]&=f;if(i[m]||!o[m]){continue}var y=c[o[m]];var w=r.readBit(l,y);if(w){var k=this.decodeSignBit(b,g,m);n[m]=k;i[m]=1;this.setNeighborsSignificance(b,g,m);s[m]|=d}u[m]++;s[m]|=h}}}},decodeSignBit:function e(r,t,a){var i=this.width,n=this.height;var o=this.coefficentsMagnitude;var s=this.coefficentsSign;var l,c,u,f;var h,d;f=t>0&&o[a-1]!==0;if(t+1<i&&o[a+1]!==0){u=s[a+1];if(f){c=s[a-1];l=1-u-c}else{l=1-u-u}}else if(f){c=s[a-1];l=1-c-c}else{l=0}var v=3*l;f=r>0&&o[a-i]!==0;if(r+1<n&&o[a+i]!==0){u=s[a+i];if(f){c=s[a-i];l=1-u-c+v}else{l=1-u-u+v}}else if(f){c=s[a-i];l=1-c-c+v}else{l=v}if(l>=0){h=9+l;d=this.decoder.readBit(this.contexts,h)}else{h=9-l;d=this.decoder.readBit(this.contexts,h)^1}return d},runMagnitudeRefinementPass:function e(){var r=this.decoder;var t=this.width,a=this.height;var i=this.coefficentsMagnitude;var n=this.neighborsSignificance;var o=this.contexts;var s=this.bitsDecoded;var l=this.processingFlags;var c=1;var u=2;var f=t*a;var h=t*4;for(var d=0,v;d<f;d=v){v=Math.min(f,d+h);for(var g=0;g<t;g++){for(var m=d+g;m<v;m+=t){if(!i[m]||(l[m]&c)!==0){continue}var p=16;if((l[m]&u)!==0){l[m]^=u;var b=n[m]&127;p=b===0?15:14}var y=r.readBit(o,p);i[m]=i[m]<<1|y;s[m]++;l[m]|=c}}}},runCleanupPass:function e(){var a=this.decoder;var i=this.width,n=this.height;var o=this.neighborsSignificance;var s=this.coefficentsMagnitude;var l=this.coefficentsSign;var c=this.contexts;var u=this.contextLabelTable;var f=this.bitsDecoded;var h=this.processingFlags;var d=1;var v=2;var g=i;var m=i*2;var p=i*3;var b;for(var y=0;y<n;y=b){b=Math.min(y+4,n);var w=y*i;var k=y+3<n;for(var S=0;S<i;S++){var C=w+S;var x=k&&h[C]===0&&h[C+g]===0&&h[C+m]===0&&h[C+p]===0&&o[C]===0&&o[C+g]===0&&o[C+m]===0&&o[C+p]===0;var _=0,A=C;var P=y,I;if(x){var O=a.readBit(c,t);if(!O){f[C]++;f[C+g]++;f[C+m]++;f[C+p]++;continue}_=a.readBit(c,r)<<1|a.readBit(c,r);if(_!==0){P=y+_;A+=_*i}I=this.decodeSignBit(P,S,A);l[A]=I;s[A]=1;this.setNeighborsSignificance(P,S,A);h[A]|=v;A=C;for(var T=y;T<=P;T++,A+=i){f[A]++}_++}for(P=y+_;P<b;P++,A+=i){if(s[A]||(h[A]&d)!==0){continue}var E=u[o[A]];var F=a.readBit(c,E);if(F===1){I=this.decodeSignBit(P,S,A);l[A]=I;s[A]=1;this.setNeighborsSignificance(P,S,A);h[A]|=v}f[A]++}}}},checkSegmentationSymbol:function e(){var t=this.decoder;var a=this.contexts;var i=t.readBit(a,r)<<3|t.readBit(a,r)<<2|t.readBit(a,r)<<1|t.readBit(a,r);if(i!==10){throw new n("Invalid segmentation symbol")}}};return s}();var I=function e(){function r(){}r.prototype.calculate=function e(r,t,a){var i=r[0];for(var n=1,o=r.length;n<o;n++){i=this.iterate(i,r[n],t,a)}return i};r.prototype.extend=function e(r,t,a){var i=t-1,n=t+1;var o=t+a-2,s=t+a;r[i--]=r[n++];r[s++]=r[o--];r[i--]=r[n++];r[s++]=r[o--];r[i--]=r[n++];r[s++]=r[o--];r[i]=r[n];r[s]=r[o]};r.prototype.iterate=function e(r,t,a,i){var n=r.width,o=r.height,s=r.items;var l=t.width;var c=t.height;var u=t.items;var f,h,d,v,g,m;for(d=0,f=0;f<o;f++){v=f*2*l;for(h=0;h<n;h++,d++,v+=2){u[v]=s[d]}}s=r.items=null;var p=4;var b=new Float32Array(l+2*p);if(l===1){if((a&1)!==0){for(m=0,d=0;m<c;m++,d+=l){u[d]*=.5}}}else{for(m=0,d=0;m<c;m++,d+=l){b.set(u.subarray(d,d+l),p);this.extend(b,p,l);this.filter(b,p,l);u.set(b.subarray(p,p+l),d)}}var y=16;var w=[];for(f=0;f<y;f++){w.push(new Float32Array(c+2*p))}var k,S=0;r=p+c;if(c===1){if((i&1)!==0){for(g=0;g<l;g++){u[g]*=.5}}}else{for(g=0;g<l;g++){if(S===0){y=Math.min(l-g,y);for(d=g,v=p;v<r;d+=l,v++){for(k=0;k<y;k++){w[k][v]=u[d+k]}}S=y}S--;var C=w[S];this.extend(C,p,c);this.filter(C,p,c);if(S===0){d=g-y+1;for(v=p;v<r;d+=l,v++){for(k=0;k<y;k++){u[d+k]=w[k][v]}}}}}return{width:l,height:c,items:u}};return r}();var O=function e(){function r(){I.call(this)}r.prototype=Object.create(I.prototype);r.prototype.filter=function e(r,t,a){var i=a>>1;t=t|0;var n,o,s,l;var c=-1.586134342059924;var u=-.052980118572961;var f=.882911075530934;var h=.443506852043971;var d=1.230174104914001;var v=1/d;n=t-3;for(o=i+4;o--;n+=2){r[n]*=v}n=t-2;s=h*r[n-1];for(o=i+3;o--;n+=2){l=h*r[n+1];r[n]=d*r[n]-s-l;if(o--){n+=2;s=h*r[n+1];r[n]=d*r[n]-s-l}else{break}}n=t-1;s=f*r[n-1];for(o=i+2;o--;n+=2){l=f*r[n+1];r[n]-=s+l;if(o--){n+=2;s=f*r[n+1];r[n]-=s+l}else{break}}n=t;s=u*r[n-1];for(o=i+1;o--;n+=2){l=u*r[n+1];r[n]-=s+l;if(o--){n+=2;s=u*r[n+1];r[n]-=s+l}else{break}}if(i!==0){n=t+1;s=c*r[n-1];for(o=i;o--;n+=2){l=c*r[n+1];r[n]-=s+l;if(o--){n+=2;s=c*r[n+1];r[n]-=s+l}else{break}}}};return r}();var T=function e(){function r(){I.call(this)}r.prototype=Object.create(I.prototype);r.prototype.filter=function e(r,t,a){var i=a>>1;t=t|0;var n,o;for(n=t,o=i+1;o--;n+=2){r[n]-=r[n-1]+r[n+1]+2>>2}for(n=t+1,o=i;o--;n+=2){r[n]+=r[n-1]+r[n+1]>>1}};return r}();return t}();r.JpxImage=o},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:true});r.calculateSHA512=r.calculateSHA384=r.calculateSHA256=r.calculateMD5=r.PDF20=r.PDF17=r.CipherTransformFactory=r.ARCFourCipher=r.AES256Cipher=r.AES128Cipher=undefined;var a=function(){function e(e,r){for(var t=0;t<r.length;t++){var a=r[t];a.enumerable=a.enumerable||false;a.configurable=true;if("value"in a)a.writable=true;Object.defineProperty(e,a.key,a)}}return function(r,t,a){if(t)e(r.prototype,t);if(a)e(r,a);return r}}();var i=t(2);var n=t(138);var o=t(140);function s(e,r){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return r&&(typeof r==="object"||typeof r==="function")?r:e}function l(e,r){if(typeof r!=="function"&&r!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof r)}e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(r)Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r}function c(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}var u=function e(){function r(e){this.a=0;this.b=0;var r=new Uint8Array(256);var t,a=0,i,n=e.length;for(t=0;t<256;++t){r[t]=t}for(t=0;t<256;++t){i=r[t];a=a+i+e[t%n]&255;r[t]=r[a];r[a]=i}this.s=r}r.prototype={encryptBlock:function e(r){var t,a=r.length,i,n;var o=this.a,s=this.b,l=this.s;var c=new Uint8Array(a);for(t=0;t<a;++t){o=o+1&255;i=l[o];s=s+i&255;n=l[s];l[o]=n;l[s]=i;c[t]=r[t]^l[i+n&255]}this.a=o;this.b=s;return c}};r.prototype.decryptBlock=r.prototype.encryptBlock;return r}();var f=function e(){var r=new Uint8Array([7,12,17,22,7,12,17,22,7,12,17,22,7,12,17,22,5,9,14,20,5,9,14,20,5,9,14,20,5,9,14,20,4,11,16,23,4,11,16,23,4,11,16,23,4,11,16,23,6,10,15,21,6,10,15,21,6,10,15,21,6,10,15,21]);var t=new Int32Array([-680876936,-389564586,606105819,-1044525330,-176418897,1200080426,-1473231341,-45705983,1770035416,-1958414417,-42063,-1990404162,1804603682,-40341101,-1502002290,1236535329,-165796510,-1069501632,643717713,-373897302,-701558691,38016083,-660478335,-405537848,568446438,-1019803690,-187363961,1163531501,-1444681467,-51403784,1735328473,-1926607734,-378558,-2022574463,1839030562,-35309556,-1530992060,1272893353,-155497632,-1094730640,681279174,-358537222,-722521979,76029189,-640364487,-421815835,530742520,-995338651,-198630844,1126891415,-1416354905,-57434055,1700485571,-1894986606,-1051523,-2054922799,1873313359,-30611744,-1560198380,1309151649,-145523070,-1120210379,718787259,-343485551]);function a(e,a,i){var n=1732584193,o=-271733879,s=-1732584194,l=271733878;var c=i+72&~63;var u=new Uint8Array(c);var f,h,d;for(f=0;f<i;++f){u[f]=e[a++]}u[f++]=128;d=c-8;while(f<d){u[f++]=0}u[f++]=i<<3&255;u[f++]=i>>5&255;u[f++]=i>>13&255;u[f++]=i>>21&255;u[f++]=i>>>29&255;u[f++]=0;u[f++]=0;u[f++]=0;var v=new Int32Array(16);for(f=0;f<c;){for(h=0;h<16;++h,f+=4){v[h]=u[f]|u[f+1]<<8|u[f+2]<<16|u[f+3]<<24}var g=n,m=o,p=s,b=l,y,w;for(h=0;h<64;++h){if(h<16){y=m&p|~m&b;w=h}else if(h<32){y=b&m|~b&p;w=5*h+1&15}else if(h<48){y=m^p^b;w=3*h+5&15}else{y=p^(m|~b);w=7*h&15}var k=b,S=g+y+t[h]+v[w]|0,C=r[h];b=p;p=m;m=m+(S<<C|S>>>32-C)|0;g=k}n=n+g|0;o=o+m|0;s=s+p|0;l=l+b|0}return new Uint8Array([n&255,n>>8&255,n>>16&255,n>>>24&255,o&255,o>>8&255,o>>16&255,o>>>24&255,s&255,s>>8&255,s>>16&255,s>>>24&255,l&255,l>>8&255,l>>16&255,l>>>24&255])}return a}();var h=function e(){function r(e,r){this.high=e|0;this.low=r|0}r.prototype={and:function e(r){this.high&=r.high;this.low&=r.low},xor:function e(r){this.high^=r.high;this.low^=r.low},or:function e(r){this.high|=r.high;this.low|=r.low},shiftRight:function e(r){if(r>=32){this.low=this.high>>>r-32|0;this.high=0}else{this.low=this.low>>>r|this.high<<32-r;this.high=this.high>>>r|0}},shiftLeft:function e(r){if(r>=32){this.high=this.low<<r-32;this.low=0}else{this.high=this.high<<r|this.low>>>32-r;this.low=this.low<<r}},rotateRight:function e(r){var t,a;if(r&32){a=this.low;t=this.high}else{t=this.low;a=this.high}r&=31;this.low=t>>>r|a<<32-r;this.high=a>>>r|t<<32-r},not:function e(){this.high=~this.high;this.low=~this.low},add:function e(r){var t=(this.low>>>0)+(r.low>>>0);var a=(this.high>>>0)+(r.high>>>0);if(t>4294967295){a+=1}this.low=t|0;this.high=a|0},copyTo:function e(r,t){r[t]=this.high>>>24&255;r[t+1]=this.high>>16&255;r[t+2]=this.high>>8&255;r[t+3]=this.high&255;r[t+4]=this.low>>>24&255;r[t+5]=this.low>>16&255;r[t+6]=this.low>>8&255;r[t+7]=this.low&255},assign:function e(r){this.high=r.high;this.low=r.low}};return r}();var d=function e(){function r(e,r){return e>>>r|e<<32-r}function t(e,r,t){return e&r^~e&t}function a(e,r,t){return e&r^e&t^r&t}function i(e){return r(e,2)^r(e,13)^r(e,22)}function n(e){return r(e,6)^r(e,11)^r(e,25)}function o(e){return r(e,7)^r(e,18)^e>>>3}function s(e){return r(e,17)^r(e,19)^e>>>10}var l=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function c(e,r,c){var u=1779033703,f=3144134277,h=1013904242,d=2773480762,v=1359893119,g=2600822924,m=528734635,p=1541459225;var b=Math.ceil((c+9)/64)*64;var y=new Uint8Array(b);var w,k,S;for(w=0;w<c;++w){y[w]=e[r++]}y[w++]=128;S=b-8;while(w<S){y[w++]=0}y[w++]=0;y[w++]=0;y[w++]=0;y[w++]=c>>>29&255;y[w++]=c>>21&255;y[w++]=c>>13&255;y[w++]=c>>5&255;y[w++]=c<<3&255;var C=new Uint32Array(64);for(w=0;w<b;){for(k=0;k<16;++k){C[k]=y[w]<<24|y[w+1]<<16|y[w+2]<<8|y[w+3];w+=4}for(k=16;k<64;++k){C[k]=s(C[k-2])+C[k-7]+o(C[k-15])+C[k-16]|0}var x=u,_=f,A=h,P=d,I=v,O=g,T=m,E=p,F,R;for(k=0;k<64;++k){F=E+n(I)+t(I,O,T)+l[k]+C[k];R=i(x)+a(x,_,A);E=T;T=O;O=I;I=P+F|0;P=A;A=_;_=x;x=F+R|0}u=u+x|0;f=f+_|0;h=h+A|0;d=d+P|0;v=v+I|0;g=g+O|0;m=m+T|0;p=p+E|0}return new Uint8Array([u>>24&255,u>>16&255,u>>8&255,u&255,f>>24&255,f>>16&255,f>>8&255,f&255,h>>24&255,h>>16&255,h>>8&255,h&255,d>>24&255,d>>16&255,d>>8&255,d&255,v>>24&255,v>>16&255,v>>8&255,v&255,g>>24&255,g>>16&255,g>>8&255,g&255,m>>24&255,m>>16&255,m>>8&255,m&255,p>>24&255,p>>16&255,p>>8&255,p&255])}return c}();var v=function e(){function r(e,r,t,a,i){e.assign(r);e.and(t);i.assign(r);i.not();i.and(a);e.xor(i)}function t(e,r,t,a,i){e.assign(r);e.and(t);i.assign(r);i.and(a);e.xor(i);i.assign(t);i.and(a);e.xor(i)}function a(e,r,t){e.assign(r);e.rotateRight(28);t.assign(r);t.rotateRight(34);e.xor(t);t.assign(r);t.rotateRight(39);e.xor(t)}function i(e,r,t){e.assign(r);e.rotateRight(14);t.assign(r);t.rotateRight(18);e.xor(t);t.assign(r);t.rotateRight(41);e.xor(t)}function n(e,r,t){e.assign(r);e.rotateRight(1);t.assign(r);t.rotateRight(8);e.xor(t);t.assign(r);t.shiftRight(7);e.xor(t)}function o(e,r,t){e.assign(r);e.rotateRight(19);t.assign(r);t.rotateRight(61);e.xor(t);t.assign(r);t.shiftRight(6);e.xor(t)}var s=[new h(1116352408,3609767458),new h(1899447441,602891725),new h(3049323471,3964484399),new h(3921009573,2173295548),new h(961987163,4081628472),new h(1508970993,3053834265),new h(2453635748,2937671579),new h(2870763221,3664609560),new h(3624381080,2734883394),new h(310598401,1164996542),new h(607225278,1323610764),new h(1426881987,3590304994),new h(1925078388,4068182383),new h(2162078206,991336113),new h(2614888103,633803317),new h(3248222580,3479774868),new h(3835390401,2666613458),new h(4022224774,944711139),new h(264347078,2341262773),new h(604807628,2007800933),new h(770255983,1495990901),new h(1249150122,1856431235),new h(1555081692,3175218132),new h(1996064986,2198950837),new h(2554220882,3999719339),new h(2821834349,766784016),new h(2952996808,2566594879),new h(3210313671,3203337956),new h(3336571891,1034457026),new h(3584528711,2466948901),new h(113926993,3758326383),new h(338241895,168717936),new h(666307205,1188179964),new h(773529912,1546045734),new h(1294757372,1522805485),new h(1396182291,2643833823),new h(1695183700,2343527390),new h(1986661051,1014477480),new h(2177026350,1206759142),new h(2456956037,344077627),new h(2730485921,1290863460),new h(2820302411,3158454273),new h(3259730800,3505952657),new h(3345764771,106217008),new h(3516065817,3606008344),new h(3600352804,1432725776),new h(4094571909,1467031594),new h(275423344,851169720),new h(430227734,3100823752),new h(506948616,1363258195),new h(659060556,3750685593),new h(883997877,3785050280),new h(958139571,3318307427),new h(1322822218,3812723403),new h(1537002063,2003034995),new h(1747873779,3602036899),new h(1955562222,1575990012),new h(2024104815,1125592928),new h(2227730452,2716904306),new h(2361852424,442776044),new h(2428436474,593698344),new h(2756734187,3733110249),new h(3204031479,2999351573),new h(3329325298,3815920427),new h(3391569614,3928383900),new h(3515267271,566280711),new h(3940187606,3454069534),new h(4118630271,4000239992),new h(116418474,1914138554),new h(174292421,2731055270),new h(289380356,3203993006),new h(460393269,320620315),new h(685471733,587496836),new h(852142971,1086792851),new h(1017036298,365543100),new h(1126000580,2618297676),new h(1288033470,3409855158),new h(1501505948,4234509866),new h(1607167915,987167468),new h(1816402316,1246189591)];function l(e,l,c,u){u=!!u;var f,d,v,g,m,p,b,y;if(!u){f=new h(1779033703,4089235720);d=new h(3144134277,2227873595);v=new h(1013904242,4271175723);g=new h(2773480762,1595750129);m=new h(1359893119,2917565137);p=new h(2600822924,725511199);b=new h(528734635,4215389547);y=new h(1541459225,327033209)}else{f=new h(3418070365,3238371032);d=new h(1654270250,914150663);v=new h(2438529370,812702999);g=new h(355462360,4144912697);m=new h(1731405415,4290775857);p=new h(2394180231,1750603025);b=new h(3675008525,1694076839);y=new h(1203062813,3204075428)}var w=Math.ceil((c+17)/128)*128;var k=new Uint8Array(w);var S,C,x;for(S=0;S<c;++S){k[S]=e[l++]}k[S++]=128;x=w-16;while(S<x){k[S++]=0}k[S++]=0;k[S++]=0;k[S++]=0;k[S++]=0;k[S++]=0;k[S++]=0;k[S++]=0;k[S++]=0;k[S++]=0;k[S++]=0;k[S++]=0;k[S++]=c>>>29&255;k[S++]=c>>21&255;k[S++]=c>>13&255;k[S++]=c>>5&255;k[S++]=c<<3&255;var _=new Array(80);for(S=0;S<80;S++){_[S]=new h(0,0)}var A=new h(0,0),P=new h(0,0),I=new h(0,0);var O=new h(0,0),T=new h(0,0),E=new h(0,0);var F=new h(0,0),R=new h(0,0);var B=new h(0,0),D=new h(0,0);var M=new h(0,0),L=new h(0,0),N;for(S=0;S<w;){for(C=0;C<16;++C){_[C].high=k[S]<<24|k[S+1]<<16|k[S+2]<<8|k[S+3];_[C].low=k[S+4]<<24|k[S+5]<<16|k[S+6]<<8|k[S+7];S+=8}for(C=16;C<80;++C){N=_[C];o(N,_[C-2],L);N.add(_[C-7]);n(M,_[C-15],L);N.add(M);N.add(_[C-16])}A.assign(f);P.assign(d);I.assign(v);O.assign(g);T.assign(m);E.assign(p);F.assign(b);R.assign(y);for(C=0;C<80;++C){B.assign(R);i(M,T,L);B.add(M);r(M,T,E,F,L);B.add(M);B.add(s[C]);B.add(_[C]);a(D,A,L);t(M,A,P,I,L);D.add(M);N=R;R=F;F=E;E=T;O.add(B);T=O;O=I;I=P;P=A;N.assign(B);N.add(D);A=N}f.add(A);d.add(P);v.add(I);g.add(O);m.add(T);p.add(E);b.add(F);y.add(R)}var U;if(!u){U=new Uint8Array(64);f.copyTo(U,0);d.copyTo(U,8);v.copyTo(U,16);g.copyTo(U,24);m.copyTo(U,32);p.copyTo(U,40);b.copyTo(U,48);y.copyTo(U,56)}else{U=new Uint8Array(48);f.copyTo(U,0);d.copyTo(U,8);v.copyTo(U,16);g.copyTo(U,24);m.copyTo(U,32);p.copyTo(U,40)}return U}return l}();var g=function e(){function r(e,r,t){return v(e,r,t,true)}return r}();var m=function e(){function r(){}r.prototype={decryptBlock:function e(r){return r}};return r}();var p=function(){function e(){c(this,e);if(this.constructor===e){(0,i.unreachable)("Cannot initialize AESBaseCipher.")}this._s=new Uint8Array([99,124,119,123,242,107,111,197,48,1,103,43,254,215,171,118,202,130,201,125,250,89,71,240,173,212,162,175,156,164,114,192,183,253,147,38,54,63,247,204,52,165,229,241,113,216,49,21,4,199,35,195,24,150,5,154,7,18,128,226,235,39,178,117,9,131,44,26,27,110,90,160,82,59,214,179,41,227,47,132,83,209,0,237,32,252,177,91,106,203,190,57,74,76,88,207,208,239,170,251,67,77,51,133,69,249,2,127,80,60,159,168,81,163,64,143,146,157,56,245,188,182,218,33,16,255,243,210,205,12,19,236,95,151,68,23,196,167,126,61,100,93,25,115,96,129,79,220,34,42,144,136,70,238,184,20,222,94,11,219,224,50,58,10,73,6,36,92,194,211,172,98,145,149,228,121,231,200,55,109,141,213,78,169,108,86,244,234,101,122,174,8,186,120,37,46,28,166,180,198,232,221,116,31,75,189,139,138,112,62,181,102,72,3,246,14,97,53,87,185,134,193,29,158,225,248,152,17,105,217,142,148,155,30,135,233,206,85,40,223,140,161,137,13,191,230,66,104,65,153,45,15,176,84,187,22]);this._inv_s=new Uint8Array([82,9,106,213,48,54,165,56,191,64,163,158,129,243,215,251,124,227,57,130,155,47,255,135,52,142,67,68,196,222,233,203,84,123,148,50,166,194,35,61,238,76,149,11,66,250,195,78,8,46,161,102,40,217,36,178,118,91,162,73,109,139,209,37,114,248,246,100,134,104,152,22,212,164,92,204,93,101,182,146,108,112,72,80,253,237,185,218,94,21,70,87,167,141,157,132,144,216,171,0,140,188,211,10,247,228,88,5,184,179,69,6,208,44,30,143,202,63,15,2,193,175,189,3,1,19,138,107,58,145,17,65,79,103,220,234,151,242,207,206,240,180,230,115,150,172,116,34,231,173,53,133,226,249,55,232,28,117,223,110,71,241,26,113,29,41,197,137,111,183,98,14,170,24,190,27,252,86,62,75,198,210,121,32,154,219,192,254,120,205,90,244,31,221,168,51,136,7,199,49,177,18,16,89,39,128,236,95,96,81,127,169,25,181,74,13,45,229,122,159,147,201,156,239,160,224,59,77,174,42,245,176,200,235,187,60,131,83,153,97,23,43,4,126,186,119,214,38,225,105,20,99,85,33,12,125]);this._mix=new Uint32Array([0,235474187,470948374,303765277,941896748,908933415,607530554,708780849,1883793496,2118214995,1817866830,1649639237,1215061108,1181045119,1417561698,1517767529,3767586992,4003061179,4236429990,4069246893,3635733660,3602770327,3299278474,3400528769,2430122216,2664543715,2362090238,2193862645,2835123396,2801107407,3035535058,3135740889,3678124923,3576870512,3341394285,3374361702,3810496343,3977675356,4279080257,4043610186,2876494627,2776292904,3076639029,3110650942,2472011535,2640243204,2403728665,2169303058,1001089995,899835584,666464733,699432150,59727847,226906860,530400753,294930682,1273168787,1172967064,1475418501,1509430414,1942435775,2110667444,1876241833,1641816226,2910219766,2743034109,2976151520,3211623147,2505202138,2606453969,2302690252,2269728455,3711829422,3543599269,3240894392,3475313331,3843699074,3943906441,4178062228,4144047775,1306967366,1139781709,1374988112,1610459739,1975683434,2076935265,1775276924,1742315127,1034867998,866637845,566021896,800440835,92987698,193195065,429456164,395441711,1984812685,2017778566,1784663195,1683407248,1315562145,1080094634,1383856311,1551037884,101039829,135050206,437757123,337553864,1042385657,807962610,573804783,742039012,2531067453,2564033334,2328828971,2227573024,2935566865,2700099354,3001755655,3168937228,3868552805,3902563182,4203181171,4102977912,3736164937,3501741890,3265478751,3433712980,1106041591,1340463100,1576976609,1408749034,2043211483,2009195472,1708848333,1809054150,832877231,1068351396,766945465,599762354,159417987,126454664,361929877,463180190,2709260871,2943682380,3178106961,3009879386,2572697195,2538681184,2236228733,2336434550,3509871135,3745345300,3441850377,3274667266,3910161971,3877198648,4110568485,4211818798,2597806476,2497604743,2261089178,2295101073,2733856160,2902087851,3202437046,2968011453,3936291284,3835036895,4136440770,4169408201,3535486456,3702665459,3467192302,3231722213,2051518780,1951317047,1716890410,1750902305,1113818384,1282050075,1584504582,1350078989,168810852,67556463,371049330,404016761,841739592,1008918595,775550814,540080725,3969562369,3801332234,4035489047,4269907996,3569255213,3669462566,3366754619,3332740144,2631065433,2463879762,2160117071,2395588676,2767645557,2868897406,3102011747,3069049960,202008497,33778362,270040487,504459436,875451293,975658646,675039627,641025152,2084704233,1917518562,1615861247,1851332852,1147550661,1248802510,1484005843,1451044056,933301370,967311729,733156972,632953703,260388950,25965917,328671808,496906059,1206477858,1239443753,1543208500,1441952575,2144161806,1908694277,1675577880,1842759443,3610369226,3644379585,3408119516,3307916247,4011190502,3776767469,4077384432,4245618683,2809771154,2842737049,3144396420,3043140495,2673705150,2438237621,2203032232,2370213795]);this._mixCol=new Uint8Array(256);for(var r=0;r<256;r++){if(r<128){this._mixCol[r]=r<<1}else{this._mixCol[r]=r<<1^27}}this.buffer=new Uint8Array(16);this.bufferPosition=0}a(e,[{key:"_expandKey",value:function e(r){(0,i.unreachable)("Cannot call `_expandKey` on the base class")}},{key:"_decrypt",value:function e(r,t){var a=void 0,i=void 0,n=void 0;var o=new Uint8Array(16);o.set(r);for(var s=0,l=this._keySize;s<16;++s,++l){o[s]^=t[l]}for(var c=this._cyclesOfRepetition-1;c>=1;--c){a=o[13];o[13]=o[9];o[9]=o[5];o[5]=o[1];o[1]=a;a=o[14];i=o[10];o[14]=o[6];o[10]=o[2];o[6]=a;o[2]=i;a=o[15];i=o[11];n=o[7];o[15]=o[3];o[11]=a;o[7]=i;o[3]=n;for(var u=0;u<16;++u){o[u]=this._inv_s[o[u]]}for(var f=0,h=c*16;f<16;++f,++h){o[f]^=t[h]}for(var d=0;d<16;d+=4){var v=this._mix[o[d]];var g=this._mix[o[d+1]];var m=this._mix[o[d+2]];var p=this._mix[o[d+3]];a=v^g>>>8^g<<24^m>>>16^m<<16^p>>>24^p<<8;o[d]=a>>>24&255;o[d+1]=a>>16&255;o[d+2]=a>>8&255;o[d+3]=a&255}}a=o[13];o[13]=o[9];o[9]=o[5];o[5]=o[1];o[1]=a;a=o[14];i=o[10];o[14]=o[6];o[10]=o[2];o[6]=a;o[2]=i;a=o[15];i=o[11];n=o[7];o[15]=o[3];o[11]=a;o[7]=i;o[3]=n;for(var b=0;b<16;++b){o[b]=this._inv_s[o[b]];o[b]^=t[b]}return o}},{key:"_encrypt",value:function e(r,t){var a=this._s;var i=void 0,n=void 0,o=void 0;var s=new Uint8Array(16);s.set(r);for(var l=0;l<16;++l){s[l]^=t[l]}for(var c=1;c<this._cyclesOfRepetition;c++){for(var u=0;u<16;++u){s[u]=a[s[u]]}o=s[1];s[1]=s[5];s[5]=s[9];s[9]=s[13];s[13]=o;o=s[2];n=s[6];s[2]=s[10];s[6]=s[14];s[10]=o;s[14]=n;o=s[3];n=s[7];i=s[11];s[3]=s[15];s[7]=o;s[11]=n;s[15]=i;for(var f=0;f<16;f+=4){var h=s[f+0];var d=s[f+1];var v=s[f+2];var g=s[f+3];i=h^d^v^g;s[f+0]^=i^this._mixCol[h^d];s[f+1]^=i^this._mixCol[d^v];s[f+2]^=i^this._mixCol[v^g];s[f+3]^=i^this._mixCol[g^h]}for(var m=0,p=c*16;m<16;++m,++p){s[m]^=t[p]}}for(var b=0;b<16;++b){s[b]=a[s[b]]}o=s[1];s[1]=s[5];s[5]=s[9];s[9]=s[13];s[13]=o;o=s[2];n=s[6];s[2]=s[10];s[6]=s[14];s[10]=o;s[14]=n;o=s[3];n=s[7];i=s[11];s[3]=s[15];s[7]=o;s[11]=n;s[15]=i;for(var y=0,w=this._keySize;y<16;++y,++w){s[y]^=t[w]}return s}},{key:"_decryptBlock2",value:function e(r,t){var a=r.length;var i=this.buffer,n=this.bufferPosition;var o=[],s=this.iv;for(var l=0;l<a;++l){i[n]=r[l];++n;if(n<16){continue}var c=this._decrypt(i,this._key);for(var u=0;u<16;++u){c[u]^=s[u]}s=i;o.push(c);i=new Uint8Array(16);n=0}this.buffer=i;this.bufferLength=n;this.iv=s;if(o.length===0){return new Uint8Array(0)}var f=16*o.length;if(t){var h=o[o.length-1];var d=h[15];if(d<=16){for(var v=15,g=16-d;v>=g;--v){if(h[v]!==d){d=0;break}}f-=d;o[o.length-1]=h.subarray(0,16-d)}}var m=new Uint8Array(f);for(var p=0,b=0,y=o.length;p<y;++p,b+=16){m.set(o[p],b)}return m}},{key:"decryptBlock",value:function e(r,t){var a=arguments.length>2&&arguments[2]!==undefined?arguments[2]:null;var i=r.length;var n=this.buffer,o=this.bufferPosition;if(a){this.iv=a}else{for(var s=0;o<16&&s<i;++s,++o){n[o]=r[s]}if(o<16){this.bufferLength=o;return new Uint8Array(0)}this.iv=n;r=r.subarray(16)}this.buffer=new Uint8Array(16);this.bufferLength=0;this.decryptBlock=this._decryptBlock2;return this.decryptBlock(r,t)}},{key:"encrypt",value:function e(r,t){var a=r.length;var i=this.buffer,n=this.bufferPosition;var o=[];if(!t){t=new Uint8Array(16)}for(var s=0;s<a;++s){i[n]=r[s];++n;if(n<16){continue}for(var l=0;l<16;++l){i[l]^=t[l]}var c=this._encrypt(i,this._key);t=c;o.push(c);i=new Uint8Array(16);n=0}this.buffer=i;this.bufferLength=n;this.iv=t;if(o.length===0){return new Uint8Array(0)}var u=16*o.length;var f=new Uint8Array(u);for(var h=0,d=0,v=o.length;h<v;++h,d+=16){f.set(o[h],d)}return f}}]);return e}();var b=function(e){l(r,e);function r(e){c(this,r);var t=s(this,(r.__proto__||Object.getPrototypeOf(r)).call(this));t._cyclesOfRepetition=10;t._keySize=160;t._rcon=new Uint8Array([141,1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145,57,114,228,211,189,97,194,159,37,74,148,51,102,204,131,29,58,116,232,203,141,1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145,57,114,228,211,189,97,194,159,37,74,148,51,102,204,131,29,58,116,232,203,141,1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145,57,114,228,211,189,97,194,159,37,74,148,51,102,204,131,29,58,116,232,203,141,1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145,57,114,228,211,189,97,194,159,37,74,148,51,102,204,131,29,58,116,232,203,141,1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145,57,114,228,211,189,97,194,159,37,74,148,51,102,204,131,29,58,116,232,203,141]);t._key=t._expandKey(e);return t}a(r,[{key:"_expandKey",value:function e(r){var t=176;var a=this._s;var i=this._rcon;var n=new Uint8Array(t);n.set(r);for(var o=16,s=1;o<t;++s){var l=n[o-3];var c=n[o-2];var u=n[o-1];var f=n[o-4];l=a[l];c=a[c];u=a[u];f=a[f];l=l^i[s];for(var h=0;h<4;++h){n[o]=l^=n[o-16];o++;n[o]=c^=n[o-16];o++;n[o]=u^=n[o-16];o++;n[o]=f^=n[o-16];o++}}return n}}]);return r}(p);var y=function(e){l(r,e);function r(e){c(this,r);var t=s(this,(r.__proto__||Object.getPrototypeOf(r)).call(this));t._cyclesOfRepetition=14;t._keySize=224;t._key=t._expandKey(e);return t}a(r,[{key:"_expandKey",value:function e(r){var t=240;var a=this._s;var i=new Uint8Array(t);i.set(r);var n=1;var o=void 0,s=void 0,l=void 0,c=void 0;for(var u=32,f=1;u<t;++f){if(u%32===16){o=a[o];s=a[s];l=a[l];c=a[c]}else if(u%32===0){o=i[u-3];s=i[u-2];l=i[u-1];c=i[u-4];o=a[o];s=a[s];l=a[l];c=a[c];o=o^n;if((n<<=1)>=256){n=(n^27)&255}}for(var h=0;h<4;++h){i[u]=o^=i[u-32];u++;i[u]=s^=i[u-32];u++;i[u]=l^=i[u-32];u++;i[u]=c^=i[u-32];u++}}return i}}]);return r}(p);var w=function e(){function r(e,r){if(e.length!==r.length){return false}for(var t=0;t<e.length;t++){if(e[t]!==r[t]){return false}}return true}function t(){}t.prototype={checkOwnerPassword:function e(t,a,i,n){var o=new Uint8Array(t.length+56);o.set(t,0);o.set(a,t.length);o.set(i,t.length+a.length);var s=d(o,0,o.length);return r(s,n)},checkUserPassword:function e(t,a,i){var n=new Uint8Array(t.length+8);n.set(t,0);n.set(a,t.length);var o=d(n,0,n.length);return r(o,i)},getOwnerKey:function e(r,t,a,i){var n=new Uint8Array(r.length+56);n.set(r,0);n.set(t,r.length);n.set(a,r.length+t.length);var o=d(n,0,n.length);var s=new y(o);return s.decryptBlock(i,false,new Uint8Array(16))},getUserKey:function e(r,t,a){var i=new Uint8Array(r.length+8);i.set(r,0);i.set(t,r.length);var n=d(i,0,i.length);var o=new y(n);return o.decryptBlock(a,false,new Uint8Array(16))}};return t}();var k=function e(){function r(e,r){var t=new Uint8Array(e.length+r.length);t.set(e,0);t.set(r,e.length);return t}function t(e,t,a){var i=d(t,0,t.length).subarray(0,32);var n=[0];var o=0;while(o<64||n[n.length-1]>o-32){var s=e.length+i.length+a.length;var l=new Uint8Array(s*64);var c=r(e,i);c=r(c,a);for(var u=0,f=0;u<64;u++,f+=s){l.set(c,f)}var h=new b(i.subarray(0,16));n=h.encrypt(l,i.subarray(16,32));var m=0;for(var p=0;p<16;p++){m*=256%3;m%=3;m+=(n[p]>>>0)%3;m%=3}if(m===0){i=d(n,0,n.length)}else if(m===1){i=g(n,0,n.length)}else if(m===2){i=v(n,0,n.length)}o++}return i.subarray(0,32)}function a(){}function i(e,r){if(e.length!==r.length){return false}for(var t=0;t<e.length;t++){if(e[t]!==r[t]){return false}}return true}a.prototype={hash:function e(r,a,i){return t(r,a,i)},checkOwnerPassword:function e(r,a,n,o){var s=new Uint8Array(r.length+56);s.set(r,0);s.set(a,r.length);s.set(n,r.length+a.length);var l=t(r,s,n);return i(l,o)},checkUserPassword:function e(r,a,n){var o=new Uint8Array(r.length+8);o.set(r,0);o.set(a,r.length);var s=t(r,o,[]);return i(s,n)},getOwnerKey:function e(r,a,i,n){var o=new Uint8Array(r.length+56);o.set(r,0);o.set(a,r.length);o.set(i,r.length+a.length);var s=t(r,o,i);var l=new y(s);return l.decryptBlock(n,false,new Uint8Array(16))},getUserKey:function e(r,a,i){var n=new Uint8Array(r.length+8);n.set(r,0);n.set(a,r.length);var o=t(r,n,[]);var s=new y(o);return s.decryptBlock(i,false,new Uint8Array(16))}};return a}();var S=function e(){function r(e,r){this.StringCipherConstructor=e;this.StreamCipherConstructor=r}r.prototype={createStream:function e(r,t){var a=new this.StreamCipherConstructor;return new o.DecryptStream(r,t,function e(r,t){return a.decryptBlock(r,t)})},decryptString:function e(r){var t=new this.StringCipherConstructor;var a=(0,i.stringToBytes)(r);a=t.decryptBlock(a,true);return(0,i.bytesToString)(a)}};return r}();var C=function e(){var r=new Uint8Array([40,191,78,94,78,117,138,65,100,0,78,86,255,250,1,8,46,46,0,182,208,104,62,128,47,12,169,254,100,83,105,122]);function t(e,r,t,a,i,n,o,s,l,c,u,f){if(r){var h=Math.min(127,r.length);r=r.subarray(0,h)}else{r=[]}var d;if(e===6){d=new k}else{d=new w}if(d.checkUserPassword(r,s,o)){return d.getUserKey(r,l,u)}else if(r.length&&d.checkOwnerPassword(r,a,n,t)){return d.getOwnerKey(r,i,n,c)}return null}function a(e,t,a,i,n,o,s,l){var c=40+a.length+e.length;var h=new Uint8Array(c),d=0,v,g;if(t){g=Math.min(32,t.length);for(;d<g;++d){h[d]=t[d]}}v=0;while(d<32){h[d++]=r[v++]}for(v=0,g=a.length;v<g;++v){h[d++]=a[v]}h[d++]=n&255;h[d++]=n>>8&255;h[d++]=n>>16&255;h[d++]=n>>>24&255;for(v=0,g=e.length;v<g;++v){h[d++]=e[v]}if(o>=4&&!l){h[d++]=255;h[d++]=255;h[d++]=255;h[d++]=255}var m=f(h,0,d);var p=s>>3;if(o>=3){for(v=0;v<50;++v){m=f(m,0,p)}}var b=m.subarray(0,p);var y,w;if(o>=3){for(d=0;d<32;++d){h[d]=r[d]}for(v=0,g=e.length;v<g;++v){h[d++]=e[v]}y=new u(b);w=y.encryptBlock(f(h,0,d));g=b.length;var k=new Uint8Array(g),S;for(v=1;v<=19;++v){for(S=0;S<g;++S){k[S]=b[S]^v}y=new u(k);w=y.encryptBlock(w)}for(v=0,g=w.length;v<g;++v){if(i[v]!==w[v]){return null}}}else{y=new u(b);w=y.encryptBlock(r);for(v=0,g=w.length;v<g;++v){if(i[v]!==w[v]){return null}}}return b}function o(e,t,a,i){var n=new Uint8Array(32),o=0,s,l;l=Math.min(32,e.length);for(;o<l;++o){n[o]=e[o]}s=0;while(o<32){n[o++]=r[s++]}var c=f(n,0,o);var h=i>>3;if(a>=3){for(s=0;s<50;++s){c=f(c,0,c.length)}}var d,v;if(a>=3){v=t;var g=new Uint8Array(h),m;for(s=19;s>=0;s--){for(m=0;m<h;++m){g[m]=c[m]^s}d=new u(g);v=d.encryptBlock(v)}}else{d=new u(c.subarray(0,h));v=d.encryptBlock(t)}return v}var s=n.Name.get("Identity");function l(e,r,l){var c=e.get("Filter");if(!(0,n.isName)(c,"Standard")){throw new i.FormatError("unknown encryption method")}this.dict=e;var u=e.get("V");if(!Number.isInteger(u)||u!==1&&u!==2&&u!==4&&u!==5){throw new i.FormatError("unsupported encryption algorithm")}this.algorithm=u;var f=e.get("Length");if(!f){if(u<=3){f=40}else{var h=e.get("CF");var d=e.get("StmF");if((0,n.isDict)(h)&&(0,n.isName)(d)){h.suppressEncryption=true;var v=h.get(d.name);f=v&&v.get("Length")||128;if(f<40){f<<=3}}}}if(!Number.isInteger(f)||f<40||f%8!==0){throw new i.FormatError("invalid key length")}var g=(0,i.stringToBytes)(e.get("O")).subarray(0,32);var m=(0,i.stringToBytes)(e.get("U")).subarray(0,32);var p=e.get("P");var b=e.get("R");var y=(u===4||u===5)&&e.get("EncryptMetadata")!==false;this.encryptMetadata=y;var w=(0,i.stringToBytes)(r);var k;if(l){if(b===6){try{l=(0,i.utf8StringToString)(l)}catch(e){(0,i.warn)("CipherTransformFactory: "+"Unable to convert UTF8 encoded password.")}}k=(0,i.stringToBytes)(l)}var S;if(u!==5){S=a(w,k,g,m,p,b,f,y)}else{var C=(0,i.stringToBytes)(e.get("O")).subarray(32,40);var x=(0,i.stringToBytes)(e.get("O")).subarray(40,48);var _=(0,i.stringToBytes)(e.get("U")).subarray(0,48);var A=(0,i.stringToBytes)(e.get("U")).subarray(32,40);var P=(0,i.stringToBytes)(e.get("U")).subarray(40,48);var I=(0,i.stringToBytes)(e.get("OE"));var O=(0,i.stringToBytes)(e.get("UE"));var T=(0,i.stringToBytes)(e.get("Perms"));S=t(b,k,g,C,x,_,m,A,P,I,O,T)}if(!S&&!l){throw new i.PasswordException("No password given",i.PasswordResponses.NEED_PASSWORD)}else if(!S&&l){var E=o(k,g,b,f);S=a(w,E,g,m,p,b,f,y)}if(!S){throw new i.PasswordException("Incorrect Password",i.PasswordResponses.INCORRECT_PASSWORD)}this.encryptionKey=S;if(u>=4){var F=e.get("CF");if((0,n.isDict)(F)){F.suppressEncryption=true}this.cf=F;this.stmf=e.get("StmF")||s;this.strf=e.get("StrF")||s;this.eff=e.get("EFF")||this.stmf}}function c(e,r,t,a){var i=new Uint8Array(t.length+9),n,o;for(n=0,o=t.length;n<o;++n){i[n]=t[n]}i[n++]=e&255;i[n++]=e>>8&255;i[n++]=e>>16&255;i[n++]=r&255;i[n++]=r>>8&255;if(a){i[n++]=115;i[n++]=65;i[n++]=108;i[n++]=84}var s=f(i,0,n);return s.subarray(0,Math.min(t.length+5,16))}function h(e,r,t,a,o){if(!(0,n.isName)(r)){throw new i.FormatError("Invalid crypt filter name.")}var s=e.get(r.name);var l;if(s!==null&&s!==undefined){l=s.get("CFM")}if(!l||l.name==="None"){return function e(){return new m}}if(l.name==="V2"){return function e(){return new u(c(t,a,o,false))}}if(l.name==="AESV2"){return function e(){return new b(c(t,a,o,true))}}if(l.name==="AESV3"){return function e(){return new y(o)}}throw new i.FormatError("Unknown crypto method")}l.prototype={createCipherTransform:function e(r,t){if(this.algorithm===4||this.algorithm===5){return new S(h(this.cf,this.stmf,r,t,this.encryptionKey),h(this.cf,this.strf,r,t,this.encryptionKey))}var a=c(r,t,this.encryptionKey,false);var i=function e(){return new u(a)};return new S(i,i)}};return l}();r.AES128Cipher=b;r.AES256Cipher=y;r.ARCFourCipher=u;r.CipherTransformFactory=C;r.PDF17=w;r.PDF20=k;r.calculateMD5=f;r.calculateSHA256=d;r.calculateSHA384=g;r.calculateSHA512=v},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:true});r.ColorSpace=undefined;var a=function(){function e(e,r){for(var t=0;t<r.length;t++){var a=r[t];a.enumerable=a.enumerable||false;a.configurable=true;if("value"in a)a.writable=true;Object.defineProperty(e,a.key,a)}}return function(r,t,a){if(t)e(r.prototype,t);if(a)e(r,a);return r}}();var i=t(2);var n=t(138);function o(e,r){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return r&&(typeof r==="object"||typeof r==="function")?r:e}function s(e,r){if(typeof r!=="function"&&r!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof r)}e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(r)Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r}function l(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}function c(e,r,t,a,i,n,o){var s=3;o=o!==1?0:o;var l=t/i;var c=a/n;var u=0,f=void 0;var h=new Uint16Array(i);var d=t*s;for(var v=0;v<i;v++){h[v]=Math.floor(v*l)*s}for(var g=0;g<n;g++){var m=Math.floor(g*c)*d;for(var p=0;p<i;p++){f=m+h[p];r[u++]=e[f++];r[u++]=e[f++];r[u++]=e[f++];u+=o}}}var u=function(){function e(r,t){l(this,e);if(this.constructor===e){(0,i.unreachable)("Cannot initialize ColorSpace.")}this.name=r;this.numComps=t}a(e,[{key:"getRgb",value:function e(r,t){var a=new Uint8ClampedArray(3);this.getRgbItem(r,t,a,0);return a}},{key:"getRgbItem",value:function e(r,t,a,n){(0,i.unreachable)("Should not call ColorSpace.getRgbItem")}},{key:"getRgbBuffer",value:function e(r,t,a,n,o,s,l){(0,i.unreachable)("Should not call ColorSpace.getRgbBuffer")}},{key:"getOutputLength",value:function e(r,t){(0,i.unreachable)("Should not call ColorSpace.getOutputLength")}},{key:"isPassthrough",value:function e(r){return false}},{key:"fillRgb",value:function e(r,t,a,i,n,o,s,l,u){var f=t*a;var h=null;var d=1<<s;var v=a!==n||t!==i;if(this.isPassthrough(s)){h=l}else if(this.numComps===1&&f>d&&this.name!=="DeviceGray"&&this.name!=="DeviceRGB"){var g=s<=8?new Uint8Array(d):new Uint16Array(d);for(var m=0;m<d;m++){g[m]=m}var p=new Uint8ClampedArray(d*3);this.getRgbBuffer(g,0,d,p,0,s,0);if(!v){var b=0;for(var y=0;y<f;++y){var w=l[y]*3;r[b++]=p[w];r[b++]=p[w+1];r[b++]=p[w+2];b+=u}}else{h=new Uint8Array(f*3);var k=0;for(var S=0;S<f;++S){var C=l[S]*3;h[k++]=p[C];h[k++]=p[C+1];h[k++]=p[C+2]}}}else{if(!v){this.getRgbBuffer(l,0,i*o,r,0,s,u)}else{h=new Uint8ClampedArray(f*3);this.getRgbBuffer(l,0,f,h,0,s,0)}}if(h){if(v){c(h,r,t,a,i,n,u)}else{var x=0,_=0;for(var A=0,P=i*o;A<P;A++){r[x++]=h[_++];r[x++]=h[_++];r[x++]=h[_++];x+=u}}}}},{key:"usesZeroToOneRange",get:function e(){return(0,i.shadow)(this,"usesZeroToOneRange",true)}}],[{key:"parse",value:function e(r,t,a,i){var n=this.parseToIR(r,t,a,i);return this.fromIR(n)}},{key:"fromIR",value:function e(r){var t=Array.isArray(r)?r[0]:r;var a=void 0,n=void 0,o=void 0;switch(t){case"DeviceGrayCS":return this.singletons.gray;case"DeviceRgbCS":return this.singletons.rgb;case"DeviceCmykCS":return this.singletons.cmyk;case"CalGrayCS":a=r[1];n=r[2];o=r[3];return new p(a,n,o);case"CalRGBCS":a=r[1];n=r[2];o=r[3];var s=r[4];return new b(a,n,o,s);case"PatternCS":var l=r[1];if(l){l=this.fromIR(l)}return new h(l);case"IndexedCS":var c=r[1];var u=r[2];var v=r[3];return new d(this.fromIR(c),u,v);case"AlternateCS":var g=r[1];var m=r[2];var w=r[3];return new f(g,this.fromIR(m),w);case"LabCS":a=r[1];n=r[2];var k=r[3];return new y(a,n,k);default:throw new i.FormatError("Unknown colorspace name: "+t)}}},{key:"parseToIR",value:function e(r,t){var a=arguments.length>2&&arguments[2]!==undefined?arguments[2]:null;var o=arguments[3];r=t.fetchIfRef(r);if((0,n.isName)(r)){switch(r.name){case"DeviceGray":case"G":return"DeviceGrayCS";case"DeviceRGB":case"RGB":return"DeviceRgbCS";case"DeviceCMYK":case"CMYK":return"DeviceCmykCS";case"Pattern":return["PatternCS",null];default:if((0,n.isDict)(a)){var s=a.get("ColorSpace");if((0,n.isDict)(s)){var l=s.get(r.name);if(l){if((0,n.isName)(l)){return this.parseToIR(l,t,a,o)}r=l;break}}}throw new i.FormatError("unrecognized colorspace "+r.name)}}if(Array.isArray(r)){var c=t.fetchIfRef(r[0]).name;var u=void 0,f=void 0,h=void 0,d=void 0,v=void 0,g=void 0;switch(c){case"DeviceGray":case"G":return"DeviceGrayCS";case"DeviceRGB":case"RGB":return"DeviceRgbCS";case"DeviceCMYK":case"CMYK":return"DeviceCmykCS";case"CalGray":f=t.fetchIfRef(r[1]);d=f.getArray("WhitePoint");v=f.getArray("BlackPoint");g=f.get("Gamma");return["CalGrayCS",d,v,g];case"CalRGB":f=t.fetchIfRef(r[1]);d=f.getArray("WhitePoint");v=f.getArray("BlackPoint");g=f.getArray("Gamma");var m=f.getArray("Matrix");return["CalRGBCS",d,v,g,m];case"ICCBased":var p=t.fetchIfRef(r[1]);var b=p.dict;u=b.get("N");h=b.get("Alternate");if(h){var y=this.parseToIR(h,t,a,o);var w=this.fromIR(y,o);if(w.numComps===u){return y}(0,i.warn)("ICCBased color space: Ignoring incorrect /Alternate entry.")}if(u===1){return"DeviceGrayCS"}else if(u===3){return"DeviceRgbCS"}else if(u===4){return"DeviceCmykCS"}break;case"Pattern":var k=r[1]||null;if(k){k=this.parseToIR(k,t,a,o)}return["PatternCS",k];case"Indexed":case"I":var S=this.parseToIR(r[1],t,a,o);var C=t.fetchIfRef(r[2])+1;var x=t.fetchIfRef(r[3]);if((0,n.isStream)(x)){x=x.getBytes()}return["IndexedCS",S,C,x];case"Separation":case"DeviceN":var _=t.fetchIfRef(r[1]);u=Array.isArray(_)?_.length:1;h=this.parseToIR(r[2],t,a,o);var A=o.create(t.fetchIfRef(r[3]));return["AlternateCS",u,h,A];case"Lab":f=t.fetchIfRef(r[1]);d=f.getArray("WhitePoint");v=f.getArray("BlackPoint");var P=f.getArray("Range");return["LabCS",d,v,P];default:throw new i.FormatError('unimplemented color space object "'+c+'"')}}throw new i.FormatError('unrecognized color space object: "'+r+'"')}},{key:"isDefaultDecode",value:function e(r,t){if(!Array.isArray(r)){return true}if(t*2!==r.length){(0,i.warn)("The decode map is not the correct length");return true}for(var a=0,n=r.length;a<n;a+=2){if(r[a]!==0||r[a+1]!==1){return false}}return true}},{key:"singletons",get:function e(){return(0,i.shadow)(this,"singletons",{get gray(){return(0,i.shadow)(this,"gray",new v)},get rgb(){return(0,i.shadow)(this,"rgb",new g)},get cmyk(){return(0,i.shadow)(this,"cmyk",new m)}})}}]);return e}();var f=function(e){s(r,e);function r(e,t,a){l(this,r);var i=o(this,(r.__proto__||Object.getPrototypeOf(r)).call(this,"Alternate",e));i.base=t;i.tintFn=a;i.tmpBuf=new Float32Array(t.numComps);return i}a(r,[{key:"getRgbItem",value:function e(r,t,a,i){var n=this.tmpBuf;this.tintFn(r,t,n,0);this.base.getRgbItem(n,0,a,i)}},{key:"getRgbBuffer",value:function e(r,t,a,i,n,o,s){var l=this.tintFn;var c=this.base;var u=1/((1<<o)-1);var f=c.numComps;var h=c.usesZeroToOneRange;var d=(c.isPassthrough(8)||!h)&&s===0;var v=d?n:0;var g=d?i:new Uint8ClampedArray(f*a);var m=this.numComps;var p=new Float32Array(m);var b=new Float32Array(f);var y=void 0,w=void 0;for(y=0;y<a;y++){for(w=0;w<m;w++){p[w]=r[t++]*u}l(p,0,b,0);if(h){for(w=0;w<f;w++){g[v++]=b[w]*255}}else{c.getRgbItem(b,0,g,v);v+=f}}if(!d){c.getRgbBuffer(g,0,a,i,n,8,s)}}},{key:"getOutputLength",value:function e(r,t){return this.base.getOutputLength(r*this.base.numComps/this.numComps,t)}},{key:"isDefaultDecode",value:function e(r){return u.isDefaultDecode(r,this.numComps)}}]);return r}(u);var h=function(e){s(r,e);function r(e){l(this,r);var t=o(this,(r.__proto__||Object.getPrototypeOf(r)).call(this,"Pattern",null));t.base=e;return t}return r}(u);var d=function(e){s(r,e);function r(e,t,a){l(this,r);var s=o(this,(r.__proto__||Object.getPrototypeOf(r)).call(this,"Indexed",1));s.base=e;s.highVal=t;var c=e.numComps;var u=c*t;if((0,n.isStream)(a)){s.lookup=new Uint8Array(u);var f=a.getBytes(u);s.lookup.set(f)}else if((0,i.isString)(a)){s.lookup=new Uint8Array(u);for(var h=0;h<u;++h){s.lookup[h]=a.charCodeAt(h)}}else if(a instanceof Uint8Array){s.lookup=a}else{throw new i.FormatError("Unrecognized lookup table: "+a)}return s}a(r,[{key:"getRgbItem",value:function e(r,t,a,i){var n=this.base.numComps;var o=r[t]*n;this.base.getRgbBuffer(this.lookup,o,1,a,i,8,0)}},{key:"getRgbBuffer",value:function e(r,t,a,i,n,o,s){var l=this.base;var c=l.numComps;var u=l.getOutputLength(c,s);var f=this.lookup;for(var h=0;h<a;++h){var d=r[t++]*c;l.getRgbBuffer(f,d,1,i,n,8,s);n+=u}}},{key:"getOutputLength",value:function e(r,t){return this.base.getOutputLength(r*this.base.numComps,t)}},{key:"isDefaultDecode",value:function e(r){return true}}]);return r}(u);var v=function(e){s(r,e);function r(){l(this,r);return o(this,(r.__proto__||Object.getPrototypeOf(r)).call(this,"DeviceGray",1))}a(r,[{key:"getRgbItem",value:function e(r,t,a,i){var n=r[t]*255;a[i]=a[i+1]=a[i+2]=n}},{key:"getRgbBuffer",value:function e(r,t,a,i,n,o,s){var l=255/((1<<o)-1);var c=t,u=n;for(var f=0;f<a;++f){var h=l*r[c++];i[u++]=h;i[u++]=h;i[u++]=h;u+=s}}},{key:"getOutputLength",value:function e(r,t){return r*(3+t)}},{key:"isDefaultDecode",value:function e(r){return u.isDefaultDecode(r,this.numComps)}}]);return r}(u);var g=function(e){s(r,e);function r(){l(this,r);return o(this,(r.__proto__||Object.getPrototypeOf(r)).call(this,"DeviceRGB",3))}a(r,[{key:"getRgbItem",value:function e(r,t,a,i){a[i]=r[t]*255;a[i+1]=r[t+1]*255;a[i+2]=r[t+2]*255}},{key:"getRgbBuffer",value:function e(r,t,a,i,n,o,s){if(o===8&&s===0){i.set(r.subarray(t,t+a*3),n);return}var l=255/((1<<o)-1);var c=t,u=n;for(var f=0;f<a;++f){i[u++]=l*r[c++];i[u++]=l*r[c++];i[u++]=l*r[c++];u+=s}}},{key:"getOutputLength",value:function e(r,t){return r*(3+t)/3|0}},{key:"isPassthrough",value:function e(r){return r===8}},{key:"isDefaultDecode",value:function e(r){return u.isDefaultDecode(r,this.numComps)}}]);return r}(u);var m=function e(){function r(e,r,t,a,i){var n=e[r]*t;var o=e[r+1]*t;var s=e[r+2]*t;var l=e[r+3]*t;a[i]=255+n*(-4.387332384609988*n+54.48615194189176*o+18.82290502165302*s+212.25662451639585*l+-285.2331026137004)+o*(1.7149763477362134*o-5.6096736904047315*s+-17.873870861415444*l-5.497006427196366)+s*(-2.5217340131683033*s-21.248923337353073*l+17.5119270841813)+l*(-21.86122147463605*l-189.48180835922747);a[i+1]=255+n*(8.841041422036149*n+60.118027045597366*o+6.871425592049007*s+31.159100130055922*l+-79.2970844816548)+o*(-15.310361306967817*o+17.575251261109482*s+131.35250912493976*l-190.9453302588951)+s*(4.444339102852739*s+9.8632861493405*l-24.86741582555878)+l*(-20.737325471181034*l-187.80453709719578);a[i+2]=255+n*(.8842522430003296*n+8.078677503112928*o+30.89978309703729*s-.23883238689178934*l+-14.183576799673286)+o*(10.49593273432072*o+63.02378494754052*s+50.606957656360734*l-112.23884253719248)+s*(.03296041114873217*s+115.60384449646641*l+-193.58209356861505)+l*(-22.33816807309886*l-180.12613974708367)}var t=function(e){s(t,e);function t(){l(this,t);return o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,"DeviceCMYK",4))}a(t,[{key:"getRgbItem",value:function e(t,a,i,n){r(t,a,1,i,n)}},{key:"getRgbBuffer",value:function e(t,a,i,n,o,s,l){var c=1/((1<<s)-1);for(var u=0;u<i;u++){r(t,a,c,n,o);a+=4;o+=3+l}}},{key:"getOutputLength",value:function e(r,t){return r/4*(3+t)|0}},{key:"isDefaultDecode",value:function e(r){return u.isDefaultDecode(r,this.numComps)}}]);return t}(u);return t}();var p=function e(){function r(e,r,t,a,i,n){var o=r[t]*n;var s=Math.pow(o,e.G);var l=e.YW*s;var c=Math.max(295.8*Math.pow(l,.3333333333333333)-40.8,0);a[i]=c;a[i+1]=c;a[i+2]=c}var t=function(e){s(t,e);function t(e,r,a){l(this,t);var n=o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,"CalGray",1));if(!e){throw new i.FormatError("WhitePoint missing - required for color space CalGray")}r=r||[0,0,0];a=a||1;n.XW=e[0];n.YW=e[1];n.ZW=e[2];n.XB=r[0];n.YB=r[1];n.ZB=r[2];n.G=a;if(n.XW<0||n.ZW<0||n.YW!==1){throw new i.FormatError("Invalid WhitePoint components for "+n.name+", no fallback available")}if(n.XB<0||n.YB<0||n.ZB<0){(0,i.info)("Invalid BlackPoint for "+n.name+", falling back to default.");n.XB=n.YB=n.ZB=0}if(n.XB!==0||n.YB!==0||n.ZB!==0){(0,i.warn)(n.name+", BlackPoint: XB: "+n.XB+", YB: "+n.YB+", "+("ZB: "+n.ZB+", only default values are supported."))}if(n.G<1){(0,i.info)("Invalid Gamma: "+n.G+" for "+n.name+", "+"falling back to default.");n.G=1}return n}a(t,[{key:"getRgbItem",value:function e(t,a,i,n){r(this,t,a,i,n,1)}},{key:"getRgbBuffer",value:function e(t,a,i,n,o,s,l){var c=1/((1<<s)-1);for(var u=0;u<i;++u){r(this,t,a,n,o,c);a+=1;o+=3+l}}},{key:"getOutputLength",value:function e(r,t){return r*(3+t)}},{key:"isDefaultDecode",value:function e(r){return u.isDefaultDecode(r,this.numComps)}}]);return t}(u);return t}();var b=function e(){var r=new Float32Array([.8951,.2664,-.1614,-.7502,1.7135,.0367,.0389,-.0685,1.0296]);var t=new Float32Array([.9869929,-.1470543,.1599627,.4323053,.5183603,.0492912,-.0085287,.0400428,.9684867]);var n=new Float32Array([3.2404542,-1.5371385,-.4985314,-.969266,1.8760108,.041556,.0556434,-.2040259,1.0572252]);var c=new Float32Array([1,1,1]);var f=new Float32Array(3);var h=new Float32Array(3);var d=new Float32Array(3);var v=Math.pow((8+16)/116,3)/8;function g(e,r,t){t[0]=e[0]*r[0]+e[1]*r[1]+e[2]*r[2];t[1]=e[3]*r[0]+e[4]*r[1]+e[5]*r[2];t[2]=e[6]*r[0]+e[7]*r[1]+e[8]*r[2]}function m(e,r,t){t[0]=r[0]*1/e[0];t[1]=r[1]*1/e[1];t[2]=r[2]*1/e[2]}function p(e,r,t){var a=.95047;var i=1;var n=1.08883;t[0]=r[0]*a/e[0];t[1]=r[1]*i/e[1];t[2]=r[2]*n/e[2]}function b(e){if(e<=.0031308){return y(0,1,12.92*e)}return y(0,1,(1+.055)*Math.pow(e,1/2.4)-.055)}function y(e,r,t){return Math.max(e,Math.min(r,t))}function w(e){if(e<0){return-w(-e)}if(e>8){return Math.pow((e+16)/116,3)}return e*v}function k(e,r,t){if(e[0]===0&&e[1]===0&&e[2]===0){t[0]=r[0];t[1]=r[1];t[2]=r[2];return}var a=w(0);var i=a;var n=w(e[0]);var o=a;var s=w(e[1]);var l=a;var c=w(e[2]);var u=(1-i)/(1-n);var f=1-u;var h=(1-o)/(1-s);var d=1-h;var v=(1-l)/(1-c);var g=1-v;t[0]=r[0]*u+f;t[1]=r[1]*h+d;t[2]=r[2]*v+g}function S(e,a,i){if(e[0]===1&&e[2]===1){i[0]=a[0];i[1]=a[1];i[2]=a[2];return}var n=i;g(r,a,n);var o=f;m(e,n,o);g(t,o,i)}function C(e,a,i){var n=i;g(r,a,n);var o=f;p(e,n,o);g(t,o,i)}function x(e,r,t,a,i,o){var s=y(0,1,r[t]*o);var l=y(0,1,r[t+1]*o);var u=y(0,1,r[t+2]*o);var f=Math.pow(s,e.GR);var v=Math.pow(l,e.GG);var m=Math.pow(u,e.GB);var p=e.MXA*f+e.MXB*v+e.MXC*m;var w=e.MYA*f+e.MYB*v+e.MYC*m;var x=e.MZA*f+e.MZB*v+e.MZC*m;var _=h;_[0]=p;_[1]=w;_[2]=x;var A=d;S(e.whitePoint,_,A);var P=h;k(e.blackPoint,A,P);var I=d;C(c,P,I);var O=h;g(n,I,O);a[i]=b(O[0])*255;a[i+1]=b(O[1])*255;a[i+2]=b(O[2])*255}var _=function(e){s(r,e);function r(e,t,a,n){l(this,r);var s=o(this,(r.__proto__||Object.getPrototypeOf(r)).call(this,"CalRGB",3));if(!e){throw new i.FormatError("WhitePoint missing - required for color space CalRGB")}t=t||new Float32Array(3);a=a||new Float32Array([1,1,1]);n=n||new Float32Array([1,0,0,0,1,0,0,0,1]);var c=e[0];var u=e[1];var f=e[2];s.whitePoint=e;var h=t[0];var d=t[1];var v=t[2];s.blackPoint=t;s.GR=a[0];s.GG=a[1];s.GB=a[2];s.MXA=n[0];s.MYA=n[1];s.MZA=n[2];s.MXB=n[3];s.MYB=n[4];s.MZB=n[5];s.MXC=n[6];s.MYC=n[7];s.MZC=n[8];if(c<0||f<0||u!==1){throw new i.FormatError("Invalid WhitePoint components for "+s.name+", no fallback available")}if(h<0||d<0||v<0){(0,i.info)("Invalid BlackPoint for "+s.name+" ["+h+", "+d+", "+v+"], "+"falling back to default.");s.blackPoint=new Float32Array(3)}if(s.GR<0||s.GG<0||s.GB<0){(0,i.info)("Invalid Gamma ["+s.GR+", "+s.GG+", "+s.GB+"] for "+(s.name+", falling back to default."));s.GR=s.GG=s.GB=1}return s}a(r,[{key:"getRgbItem",value:function e(r,t,a,i){x(this,r,t,a,i,1)}},{key:"getRgbBuffer",value:function e(r,t,a,i,n,o,s){var l=1/((1<<o)-1);for(var c=0;c<a;++c){x(this,r,t,i,n,l);t+=3;n+=3+s}}},{key:"getOutputLength",value:function e(r,t){return r*(3+t)/3|0}},{key:"isDefaultDecode",value:function e(r){return u.isDefaultDecode(r,this.numComps)}}]);return r}(u);return _}();var y=function e(){function r(e){var r=void 0;if(e>=6/29){r=e*e*e}else{r=108/841*(e-4/29)}return r}function t(e,r,t,a){return t+e*(a-t)/r}function n(e,a,i,n,o,s){var l=a[i];var c=a[i+1];var u=a[i+2];if(n!==false){l=t(l,n,0,100);c=t(c,n,e.amin,e.amax);u=t(u,n,e.bmin,e.bmax)}c=c>e.amax?e.amax:c<e.amin?e.amin:c;u=u>e.bmax?e.bmax:u<e.bmin?e.bmin:u;var f=(l+16)/116;var h=f+c/500;var d=f-u/200;var v=e.XW*r(h);var g=e.YW*r(f);var m=e.ZW*r(d);var p=void 0,b=void 0,y=void 0;if(e.ZW<1){p=v*3.1339+g*-1.617+m*-.4906;b=v*-.9785+g*1.916+m*.0333;y=v*.072+g*-.229+m*1.4057}else{p=v*3.2406+g*-1.5372+m*-.4986;b=v*-.9689+g*1.8758+m*.0415;y=v*.0557+g*-.204+m*1.057}o[s]=Math.sqrt(p)*255;o[s+1]=Math.sqrt(b)*255;o[s+2]=Math.sqrt(y)*255}var c=function(e){s(r,e);function r(e,t,a){l(this,r);var n=o(this,(r.__proto__||Object.getPrototypeOf(r)).call(this,"Lab",3));if(!e){throw new i.FormatError("WhitePoint missing - required for color space Lab")}t=t||[0,0,0];a=a||[-100,100,-100,100];n.XW=e[0];n.YW=e[1];n.ZW=e[2];n.amin=a[0];n.amax=a[1];n.bmin=a[2];n.bmax=a[3];n.XB=t[0];n.YB=t[1];n.ZB=t[2];if(n.XW<0||n.ZW<0||n.YW!==1){throw new i.FormatError("Invalid WhitePoint components, no fallback available")}if(n.XB<0||n.YB<0||n.ZB<0){(0,i.info)("Invalid BlackPoint, falling back to default");n.XB=n.YB=n.ZB=0}if(n.amin>n.amax||n.bmin>n.bmax){(0,i.info)("Invalid Range, falling back to defaults");n.amin=-100;n.amax=100;n.bmin=-100;n.bmax=100}return n}a(r,[{key:"getRgbItem",value:function e(r,t,a,i){n(this,r,t,false,a,i)}},{key:"getRgbBuffer",value:function e(r,t,a,i,o,s,l){var c=(1<<s)-1;for(var u=0;u<a;u++){n(this,r,t,c,i,o);t+=3;o+=3+l}}},{key:"getOutputLength",value:function e(r,t){return r*(3+t)/3|0}},{key:"isDefaultDecode",value:function e(r){return true}},{key:"usesZeroToOneRange",get:function e(){return(0,i.shadow)(this,"usesZeroToOneRange",false)}}]);return r}(u);return c}();r.ColorSpace=u},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:true});r.AnnotationFactory=r.AnnotationBorderStyle=r.Annotation=undefined;var a=function e(r,t,a){if(r===null)r=Function.prototype;var i=Object.getOwnPropertyDescriptor(r,t);if(i===undefined){var n=Object.getPrototypeOf(r);if(n===null){return undefined}else{return e(n,t,a)}}else if("value"in i){return i.value}else{var o=i.get;if(o===undefined){return undefined}return o.call(a)}};var i=function(){function e(e,r){for(var t=0;t<r.length;t++){var a=r[t];a.enumerable=a.enumerable||false;a.configurable=true;if("value"in a)a.writable=true;Object.defineProperty(e,a.key,a)}}return function(r,t,a){if(t)e(r.prototype,t);if(a)e(r,a);return r}}();var n=t(2);var o=t(137);var s=t(138);var l=t(151);var c=t(153);var u=t(140);function f(e,r){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return r&&(typeof r==="object"||typeof r==="function")?r:e}function h(e,r){if(typeof r!=="function"&&r!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof r)}e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(r)Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r}function d(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}var v=function(){function e(){d(this,e)}i(e,null,[{key:"create",value:function e(r,t,a,i){return a.ensure(this,"_create",[r,t,a,i])}},{key:"_create",value:function e(r,t,a,i){var o=r.fetchIfRef(t);if(!(0,s.isDict)(o)){return}var l=(0,s.isRef)(t)?t.toString():"annot_"+i.createObjId();var c=o.get("Subtype");c=(0,s.isName)(c)?c.name:null;var u={xref:r,dict:o,ref:(0,s.isRef)(t)?t:null,subtype:c,id:l,pdfManager:a};switch(c){case"Link":return new C(u);case"Text":return new S(u);case"Widget":var f=(0,n.getInheritableProperty)({dict:o,key:"FT"});f=(0,s.isName)(f)?f.name:null;switch(f){case"Tx":return new y(u);case"Btn":return new w(u);case"Ch":return new k(u)}(0,n.warn)('Unimplemented widget field type "'+f+'", '+"falling back to base field type.");return new b(u);case"Popup":return new x(u);case"Line":return new _(u);case"Square":return new A(u);case"Circle":return new P(u);case"PolyLine":return new I(u);case"Polygon":return new O(u);case"Ink":return new T(u);case"Highlight":return new E(u);case"Underline":return new F(u);case"Squiggly":return new R(u);case"StrikeOut":return new B(u);case"Stamp":return new D(u);case"FileAttachment":return new M(u);default:if(!c){(0,n.warn)("Annotation is missing the required /Subtype.")}else{(0,n.warn)('Unimplemented annotation type "'+c+'", '+"falling back to base annotation.")}return new m(u)}}}]);return e}();function g(e,r,t){var a=n.Util.getAxialAlignedBoundingBox(r,t);var i=a[0];var o=a[1];var s=a[2];var l=a[3];if(i===s||o===l){return[1,0,0,1,e[0],e[1]]}var c=(e[2]-e[0])/(s-i);var u=(e[3]-e[1])/(l-o);return[c,0,0,u,e[0]-i*c,e[1]-o*u]}var m=function(){function e(r){d(this,e);var t=r.dict;this.setFlags(t.get("F"));this.setRectangle(t.getArray("Rect"));this.setColor(t.getArray("C"));this.setBorderStyle(t);this.setAppearance(t);this.data={annotationFlags:this.flags,borderStyle:this.borderStyle,color:this.color,hasAppearance:!!this.appearance,id:r.id,rect:this.rectangle,subtype:r.subtype}}i(e,[{key:"_hasFlag",value:function e(r,t){return!!(r&t)}},{key:"_isViewable",value:function e(r){return!this._hasFlag(r,n.AnnotationFlag.INVISIBLE)&&!this._hasFlag(r,n.AnnotationFlag.HIDDEN)&&!this._hasFlag(r,n.AnnotationFlag.NOVIEW)}},{key:"_isPrintable",value:function e(r){return this._hasFlag(r,n.AnnotationFlag.PRINT)&&!this._hasFlag(r,n.AnnotationFlag.INVISIBLE)&&!this._hasFlag(r,n.AnnotationFlag.HIDDEN)}},{key:"setFlags",value:function e(r){this.flags=Number.isInteger(r)&&r>0?r:0}},{key:"hasFlag",value:function e(r){return this._hasFlag(this.flags,r)}},{key:"setRectangle",value:function e(r){if(Array.isArray(r)&&r.length===4){this.rectangle=n.Util.normalizeRect(r)}else{this.rectangle=[0,0,0,0]}}},{key:"setColor",value:function e(r){var t=new Uint8ClampedArray(3);if(!Array.isArray(r)){this.color=t;return}switch(r.length){case 0:this.color=null;break;case 1:l.ColorSpace.singletons.gray.getRgbItem(r,0,t,0);this.color=t;break;case 3:l.ColorSpace.singletons.rgb.getRgbItem(r,0,t,0);this.color=t;break;case 4:l.ColorSpace.singletons.cmyk.getRgbItem(r,0,t,0);this.color=t;break;default:this.color=t;break}}},{key:"setBorderStyle",value:function e(r){this.borderStyle=new p;if(!(0,s.isDict)(r)){return}if(r.has("BS")){var t=r.get("BS");var a=t.get("Type");if(!a||(0,s.isName)(a,"Border")){this.borderStyle.setWidth(t.get("W"));this.borderStyle.setStyle(t.get("S"));this.borderStyle.setDashArray(t.getArray("D"))}}else if(r.has("Border")){var i=r.getArray("Border");if(Array.isArray(i)&&i.length>=3){this.borderStyle.setHorizontalCornerRadius(i[0]);this.borderStyle.setVerticalCornerRadius(i[1]);this.borderStyle.setWidth(i[2]);if(i.length===4){this.borderStyle.setDashArray(i[3])}}}else{this.borderStyle.setWidth(0)}}},{key:"setAppearance",value:function e(r){this.appearance=null;var t=r.get("AP");if(!(0,s.isDict)(t)){return}var a=t.get("N");if((0,s.isStream)(a)){this.appearance=a;return}if(!(0,s.isDict)(a)){return}var i=r.get("AS");if(!(0,s.isName)(i)||!a.has(i.name)){return}this.appearance=a.get(i.name)}},{key:"_preparePopup",value:function e(r){if(!r.has("C")){this.data.color=null}this.data.hasPopup=r.has("Popup");this.data.title=(0,n.stringToPDFString)(r.get("T")||"");this.data.contents=(0,n.stringToPDFString)(r.get("Contents")||"")}},{key:"loadResources",value:function e(r){return this.appearance.dict.getAsync("Resources").then(function(e){if(!e){return}var t=new o.ObjectLoader(e,r,e.xref);return t.load().then(function(){return e})})}},{key:"getOperatorList",value:function e(r,t,a){var i=this;if(!this.appearance){return Promise.resolve(new c.OperatorList)}var o=this.data;var s=this.appearance.dict;var l=this.loadResources(["ExtGState","ColorSpace","Pattern","Shading","XObject","Font"]);var u=s.getArray("BBox")||[0,0,1,1];var f=s.getArray("Matrix")||[1,0,0,1,0,0];var h=g(o.rect,u,f);return l.then(function(e){var a=new c.OperatorList;a.addOp(n.OPS.beginAnnotation,[o.rect,h,f]);return r.getOperatorList({stream:i.appearance,task:t,resources:e,operatorList:a}).then(function(){a.addOp(n.OPS.endAnnotation,[]);i.appearance.reset();return a})})}},{key:"viewable",get:function e(){if(this.flags===0){return true}return this._isViewable(this.flags)}},{key:"printable",get:function e(){if(this.flags===0){return false}return this._isPrintable(this.flags)}}]);return e}();var p=function(){function e(){d(this,e);this.width=1;this.style=n.AnnotationBorderStyleType.SOLID;this.dashArray=[3];this.horizontalCornerRadius=0;this.verticalCornerRadius=0}i(e,[{key:"setWidth",value:function e(r){if(Number.isInteger(r)){this.width=r}}},{key:"setStyle",value:function e(r){if(!r){return}switch(r.name){case"S":this.style=n.AnnotationBorderStyleType.SOLID;break;case"D":this.style=n.AnnotationBorderStyleType.DASHED;break;case"B":this.style=n.AnnotationBorderStyleType.BEVELED;break;case"I":this.style=n.AnnotationBorderStyleType.INSET;break;case"U":this.style=n.AnnotationBorderStyleType.UNDERLINE;break;default:break}}},{key:"setDashArray",value:function e(r){if(Array.isArray(r)&&r.length>0){var t=true;var a=true;for(var i=0,n=r.length;i<n;i++){var o=r[i];var s=+o>=0;if(!s){t=false;break}else if(o>0){a=false}}if(t&&!a){this.dashArray=r}else{this.width=0}}else if(r){this.width=0}}},{key:"setHorizontalCornerRadius",value:function e(r){if(Number.isInteger(r)){this.horizontalCornerRadius=r}}},{key:"setVerticalCornerRadius",value:function e(r){if(Number.isInteger(r)){this.verticalCornerRadius=r}}}]);return e}();var b=function(e){h(r,e);function r(e){d(this,r);var t=f(this,(r.__proto__||Object.getPrototypeOf(r)).call(this,e));var a=e.dict;var i=t.data;i.annotationType=n.AnnotationType.WIDGET;i.fieldName=t._constructFieldName(a);i.fieldValue=(0,n.getInheritableProperty)({dict:a,key:"V",getArray:true});i.alternativeText=(0,n.stringToPDFString)(a.get("TU")||"");i.defaultAppearance=(0,n.getInheritableProperty)({dict:a,key:"DA"})||"";var o=(0,n.getInheritableProperty)({dict:a,key:"FT"});i.fieldType=(0,s.isName)(o)?o.name:null;t.fieldResources=(0,n.getInheritableProperty)({dict:a,key:"DR"})||s.Dict.empty;i.fieldFlags=(0,n.getInheritableProperty)({dict:a,key:"Ff"});if(!Number.isInteger(i.fieldFlags)||i.fieldFlags<0){i.fieldFlags=0}i.readOnly=t.hasFieldFlag(n.AnnotationFieldFlag.READONLY);if(i.fieldType==="Sig"){t.setFlags(n.AnnotationFlag.HIDDEN)}return t}i(r,[{key:"_constructFieldName",value:function e(r){if(!r.has("T")&&!r.has("Parent")){(0,n.warn)("Unknown field name, falling back to empty field name.");return""}if(!r.has("Parent")){return(0,n.stringToPDFString)(r.get("T"))}var t=[];if(r.has("T")){t.unshift((0,n.stringToPDFString)(r.get("T")))}var a=r;while(a.has("Parent")){a=a.get("Parent");if(!(0,s.isDict)(a)){break}if(a.has("T")){t.unshift((0,n.stringToPDFString)(a.get("T")))}}return t.join(".")}},{key:"hasFieldFlag",value:function e(r){return!!(this.data.fieldFlags&r)}},{key:"getOperatorList",value:function e(t,i,n){if(n){return Promise.resolve(new c.OperatorList)}return a(r.prototype.__proto__||Object.getPrototypeOf(r.prototype),"getOperatorList",this).call(this,t,i,n)}}]);return r}(m);var y=function(e){h(r,e);function r(e){d(this,r);var t=f(this,(r.__proto__||Object.getPrototypeOf(r)).call(this,e));var a=e.dict;t.data.fieldValue=(0,n.stringToPDFString)(t.data.fieldValue||"");var i=(0,n.getInheritableProperty)({dict:a,key:"Q"});if(!Number.isInteger(i)||i<0||i>2){i=null}t.data.textAlignment=i;var o=(0,n.getInheritableProperty)({dict:a,key:"MaxLen"});if(!Number.isInteger(o)||o<0){o=null}t.data.maxLen=o;t.data.multiLine=t.hasFieldFlag(n.AnnotationFieldFlag.MULTILINE);t.data.comb=t.hasFieldFlag(n.AnnotationFieldFlag.COMB)&&!t.hasFieldFlag(n.AnnotationFieldFlag.MULTILINE)&&!t.hasFieldFlag(n.AnnotationFieldFlag.PASSWORD)&&!t.hasFieldFlag(n.AnnotationFieldFlag.FILESELECT)&&t.data.maxLen!==null;return t}i(r,[{key:"getOperatorList",value:function e(t,i,o){if(o||this.appearance){return a(r.prototype.__proto__||Object.getPrototypeOf(r.prototype),"getOperatorList",this).call(this,t,i,o)}var s=new c.OperatorList;if(!this.data.defaultAppearance){return Promise.resolve(s)}var l=new u.Stream((0,n.stringToBytes)(this.data.defaultAppearance));return t.getOperatorList({stream:l,task:i,resources:this.fieldResources,operatorList:s}).then(function(){return s})}}]);return r}(b);var w=function(e){h(r,e);function r(e){d(this,r);var t=f(this,(r.__proto__||Object.getPrototypeOf(r)).call(this,e));t.data.checkBox=!t.hasFieldFlag(n.AnnotationFieldFlag.RADIO)&&!t.hasFieldFlag(n.AnnotationFieldFlag.PUSHBUTTON);t.data.radioButton=t.hasFieldFlag(n.AnnotationFieldFlag.RADIO)&&!t.hasFieldFlag(n.AnnotationFieldFlag.PUSHBUTTON);t.data.pushButton=t.hasFieldFlag(n.AnnotationFieldFlag.PUSHBUTTON);if(t.data.checkBox){t._processCheckBox(e)}else if(t.data.radioButton){t._processRadioButton(e)}else if(t.data.pushButton){t._processPushButton(e)}else{(0,n.warn)("Invalid field flags for button widget annotation")}return t}i(r,[{key:"_processCheckBox",value:function e(r){if((0,s.isName)(this.data.fieldValue)){this.data.fieldValue=this.data.fieldValue.name}var t=r.dict.get("AP");if(!(0,s.isDict)(t)){return}var a=t.get("D");if(!(0,s.isDict)(a)){return}var i=a.getKeys();var n=i.length===2;if(!n){return}this.data.exportValue=i[0]==="Off"?i[1]:i[0]}},{key:"_processRadioButton",value:function e(r){this.data.fieldValue=this.data.buttonValue=null;var t=r.dict.get("Parent");if((0,s.isDict)(t)&&t.has("V")){var a=t.get("V");if((0,s.isName)(a)){this.data.fieldValue=a.name}}var i=r.dict.get("AP");if(!(0,s.isDict)(i)){return}var n=i.get("N");if(!(0,s.isDict)(n)){return}var o=n.getKeys();for(var l=0,c=o.length;l<c;l++){if(o[l]!=="Off"){this.data.buttonValue=o[l];break}}}},{key:"_processPushButton",value:function e(r){if(!r.dict.has("A")){(0,n.warn)("Push buttons without action dictionaries are not supported");return}o.Catalog.parseDestDictionary({destDict:r.dict,resultObj:this.data,docBaseUrl:r.pdfManager.docBaseUrl})}}]);return r}(b);var k=function(e){h(r,e);function r(e){d(this,r);var t=f(this,(r.__proto__||Object.getPrototypeOf(r)).call(this,e));t.data.options=[];var a=(0,n.getInheritableProperty)({dict:e.dict,key:"Opt"});if(Array.isArray(a)){var i=e.xref;for(var o=0,s=a.length;o<s;o++){var l=i.fetchIfRef(a[o]);var c=Array.isArray(l);t.data.options[o]={exportValue:c?i.fetchIfRef(l[0]):l,displayValue:(0,n.stringToPDFString)(c?i.fetchIfRef(l[1]):l)}}}if(!Array.isArray(t.data.fieldValue)){t.data.fieldValue=[t.data.fieldValue]}t.data.combo=t.hasFieldFlag(n.AnnotationFieldFlag.COMBO);t.data.multiSelect=t.hasFieldFlag(n.AnnotationFieldFlag.MULTISELECT);return t}return r}(b);var S=function(e){h(r,e);function r(e){d(this,r);var t=22;var a=f(this,(r.__proto__||Object.getPrototypeOf(r)).call(this,e));a.data.annotationType=n.AnnotationType.TEXT;if(a.data.hasAppearance){a.data.name="NoIcon"}else{a.data.rect[1]=a.data.rect[3]-t;a.data.rect[2]=a.data.rect[0]+t;a.data.name=e.dict.has("Name")?e.dict.get("Name").name:"Note"}a._preparePopup(e.dict);return a}return r}(m);var C=function(e){h(r,e);function r(e){d(this,r);var t=f(this,(r.__proto__||Object.getPrototypeOf(r)).call(this,e));t.data.annotationType=n.AnnotationType.LINK;o.Catalog.parseDestDictionary({destDict:e.dict,resultObj:t.data,docBaseUrl:e.pdfManager.docBaseUrl});return t}return r}(m);var x=function(e){h(r,e);function r(e){d(this,r);var t=f(this,(r.__proto__||Object.getPrototypeOf(r)).call(this,e));t.data.annotationType=n.AnnotationType.POPUP;var a=e.dict;var i=a.get("Parent");if(!i){(0,n.warn)("Popup annotation has a missing or invalid parent annotation.");return f(t)}var o=i.get("Subtype");t.data.parentType=(0,s.isName)(o)?o.name:null;t.data.parentId=a.getRaw("Parent").toString();t.data.title=(0,n.stringToPDFString)(i.get("T")||"");t.data.contents=(0,n.stringToPDFString)(i.get("Contents")||"");if(!i.has("C")){t.data.color=null}else{t.setColor(i.getArray("C"));t.data.color=t.color}if(!t.viewable){var l=i.get("F");if(t._isViewable(l)){t.setFlags(l)}}return t}return r}(m);var _=function(e){h(r,e);function r(e){d(this,r);var t=f(this,(r.__proto__||Object.getPrototypeOf(r)).call(this,e));t.data.annotationType=n.AnnotationType.LINE;var a=e.dict;t.data.lineCoordinates=n.Util.normalizeRect(a.getArray("L"));t._preparePopup(a);return t}return r}(m);var A=function(e){h(r,e);function r(e){d(this,r);var t=f(this,(r.__proto__||Object.getPrototypeOf(r)).call(this,e));t.data.annotationType=n.AnnotationType.SQUARE;t._preparePopup(e.dict);return t}return r}(m);var P=function(e){h(r,e);function r(e){d(this,r);var t=f(this,(r.__proto__||Object.getPrototypeOf(r)).call(this,e));t.data.annotationType=n.AnnotationType.CIRCLE;t._preparePopup(e.dict);return t}return r}(m);var I=function(e){h(r,e);function r(e){d(this,r);var t=f(this,(r.__proto__||Object.getPrototypeOf(r)).call(this,e));t.data.annotationType=n.AnnotationType.POLYLINE;var a=e.dict;var i=a.getArray("Vertices");t.data.vertices=[];for(var o=0,s=i.length;o<s;o+=2){t.data.vertices.push({x:i[o],y:i[o+1]})}t._preparePopup(a);return t}return r}(m);var O=function(e){h(r,e);function r(e){d(this,r);var t=f(this,(r.__proto__||Object.getPrototypeOf(r)).call(this,e));t.data.annotationType=n.AnnotationType.POLYGON;return t}return r}(I);var T=function(e){h(r,e);function r(e){d(this,r);var t=f(this,(r.__proto__||Object.getPrototypeOf(r)).call(this,e));t.data.annotationType=n.AnnotationType.INK;var a=e.dict;var i=e.xref;var o=a.getArray("InkList");t.data.inkLists=[];for(var s=0,l=o.length;s<l;++s){t.data.inkLists.push([]);for(var c=0,u=o[s].length;c<u;c+=2){t.data.inkLists[s].push({x:i.fetchIfRef(o[s][c]),y:i.fetchIfRef(o[s][c+1])})}}t._preparePopup(a);return t}return r}(m);var E=function(e){h(r,e);function r(e){d(this,r);var t=f(this,(r.__proto__||Object.getPrototypeOf(r)).call(this,e));t.data.annotationType=n.AnnotationType.HIGHLIGHT;t._preparePopup(e.dict);return t}return r}(m);var F=function(e){h(r,e);function r(e){d(this,r);var t=f(this,(r.__proto__||Object.getPrototypeOf(r)).call(this,e));t.data.annotationType=n.AnnotationType.UNDERLINE;t._preparePopup(e.dict);return t}return r}(m);var R=function(e){h(r,e);function r(e){d(this,r);var t=f(this,(r.__proto__||Object.getPrototypeOf(r)).call(this,e));t.data.annotationType=n.AnnotationType.SQUIGGLY;t._preparePopup(e.dict);return t}return r}(m);var B=function(e){h(r,e);function r(e){d(this,r);var t=f(this,(r.__proto__||Object.getPrototypeOf(r)).call(this,e));t.data.annotationType=n.AnnotationType.STRIKEOUT;t._preparePopup(e.dict);return t}return r}(m);var D=function(e){h(r,e);function r(e){d(this,r);var t=f(this,(r.__proto__||Object.getPrototypeOf(r)).call(this,e));t.data.annotationType=n.AnnotationType.STAMP;t._preparePopup(e.dict);return t}return r}(m);var M=function(e){h(r,e);function r(e){d(this,r);var t=f(this,(r.__proto__||Object.getPrototypeOf(r)).call(this,e));var a=new o.FileSpec(e.dict.get("FS"),e.xref);t.data.annotationType=n.AnnotationType.FILEATTACHMENT;t.data.file=a.serializable;t._preparePopup(e.dict);return t}return r}(m);r.Annotation=m;r.AnnotationBorderStyle=p;r.AnnotationFactory=v},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:true});r.OperatorList=undefined;var a=t(2);var i=function e(){function r(e,r,t,a,i){var n=e;for(var o=0,s=r.length-1;o<s;o++){var l=r[o];n=n[l]||(n[l]=[])}n[r[r.length-1]]={checkFn:t,iterateFn:a,processFn:i}}function t(e,r,t,i){var n=e+2;for(var o=0;o<r;o++){var s=i[n+4*o];var l=s.length===1&&s[0];if(l&&l.width===1&&l.height===1&&(!l.data.length||l.data.length===1&&l.data[0]===0)){t[n+4*o]=a.OPS.paintSolidColorImageMask;continue}break}return r-o}var i=[];r(i,[a.OPS.save,a.OPS.transform,a.OPS.paintInlineImageXObject,a.OPS.restore],null,function e(r,t){var i=r.fnArray;var n=r.iCurr-3;var o=(t-n)%4;switch(o){case 0:return i[t]===a.OPS.save;case 1:return i[t]===a.OPS.transform;case 2:return i[t]===a.OPS.paintInlineImageXObject;case 3:return i[t]===a.OPS.restore}},function e(r,t){var i=10;var n=200;var o=1e3;var s=1;var l=r.fnArray,c=r.argsArray;var u=r.iCurr;var f=u-3;var h=u-2;var d=u-1;var v=Math.min(Math.floor((t-f)/4),n);if(v<i){return t-(t-f)%4}var g=0;var m=[],p=0;var b=s,y=s;var w;for(w=0;w<v;w++){var k=c[h+(w<<2)];var S=c[d+(w<<2)][0];if(b+S.width>o){g=Math.max(g,b);y+=p+2*s;b=0;p=0}m.push({transform:k,x:b,y:y,w:S.width,h:S.height});b+=S.width+2*s;p=Math.max(p,S.height)}var C=Math.max(g,b)+s;var x=y+p+s;var _=new Uint8ClampedArray(C*x*4);var A=C<<2;for(w=0;w<v;w++){var P=c[d+(w<<2)][0].data;var I=m[w].w<<2;var O=0;var T=m[w].x+m[w].y*C<<2;_.set(P.subarray(0,I),T-A);for(var E=0,F=m[w].h;E<F;E++){_.set(P.subarray(O,O+I),T);O+=I;T+=A}_.set(P.subarray(O-I,O),T);while(T>=0){P[T-4]=P[T];P[T-3]=P[T+1];P[T-2]=P[T+2];P[T-1]=P[T+3];P[T+I]=P[T+I-4];P[T+I+1]=P[T+I-3];P[T+I+2]=P[T+I-2];P[T+I+3]=P[T+I-1];T-=A}}l.splice(f,v*4,a.OPS.paintInlineImageXObjectGroup);c.splice(f,v*4,[{width:C,height:x,kind:a.ImageKind.RGBA_32BPP,data:_},m]);return f+1});r(i,[a.OPS.save,a.OPS.transform,a.OPS.paintImageMaskXObject,a.OPS.restore],null,function e(r,t){var i=r.fnArray;var n=r.iCurr-3;var o=(t-n)%4;switch(o){case 0:return i[t]===a.OPS.save;case 1:return i[t]===a.OPS.transform;case 2:return i[t]===a.OPS.paintImageMaskXObject;case 3:return i[t]===a.OPS.restore}},function e(r,i){var n=10;var o=100;var s=1e3;var l=r.fnArray,c=r.argsArray;var u=r.iCurr;var f=u-3;var h=u-2;var d=u-1;var v=Math.floor((i-f)/4);v=t(f,v,l,c);if(v<n){return i-(i-f)%4}var g;var m=false;var p,b;var y=c[d][0];if(c[h][1]===0&&c[h][2]===0){m=true;var w=c[h][0];var k=c[h][3];p=h+4;var S=d+4;for(g=1;g<v;g++,p+=4,S+=4){b=c[p];if(c[S][0]!==y||b[0]!==w||b[1]!==0||b[2]!==0||b[3]!==k){if(g<n){m=false}else{v=g}break}}}if(m){v=Math.min(v,s);var C=new Float32Array(v*2);p=h;for(g=0;g<v;g++,p+=4){b=c[p];C[g<<1]=b[4];C[(g<<1)+1]=b[5]}l.splice(f,v*4,a.OPS.paintImageMaskXObjectRepeat);c.splice(f,v*4,[y,w,k,C])}else{v=Math.min(v,o);var x=[];for(g=0;g<v;g++){b=c[h+(g<<2)];var _=c[d+(g<<2)][0];x.push({data:_.data,width:_.width,height:_.height,transform:b})}l.splice(f,v*4,a.OPS.paintImageMaskXObjectGroup);c.splice(f,v*4,[x])}return f+1});r(i,[a.OPS.save,a.OPS.transform,a.OPS.paintImageXObject,a.OPS.restore],function(e){var r=e.argsArray;var t=e.iCurr-2;return r[t][1]===0&&r[t][2]===0},function(e,r){var t=e.fnArray,i=e.argsArray;var n=e.iCurr-3;var o=(r-n)%4;switch(o){case 0:return t[r]===a.OPS.save;case 1:if(t[r]!==a.OPS.transform){return false}var s=e.iCurr-2;var l=i[s][0];var c=i[s][3];if(i[r][0]!==l||i[r][1]!==0||i[r][2]!==0||i[r][3]!==c){return false}return true;case 2:if(t[r]!==a.OPS.paintImageXObject){return false}var u=e.iCurr-1;var f=i[u][0];if(i[r][0]!==f){return false}return true;case 3:return t[r]===a.OPS.restore}},function(e,r){var t=3;var i=1e3;var n=e.fnArray,o=e.argsArray;var s=e.iCurr;var l=s-3;var c=s-2;var u=s-1;var f=o[u][0];var h=o[c][0];var d=o[c][3];var v=Math.min(Math.floor((r-l)/4),i);if(v<t){return r-(r-l)%4}var g=new Float32Array(v*2);var m=c;for(var p=0;p<v;p++,m+=4){var b=o[m];g[p<<1]=b[4];g[(p<<1)+1]=b[5]}var y=[f,h,d,g];n.splice(l,v*4,a.OPS.paintImageXObjectRepeat);o.splice(l,v*4,y);return l+1});r(i,[a.OPS.beginText,a.OPS.setFont,a.OPS.setTextMatrix,a.OPS.showText,a.OPS.endText],null,function(e,r){var t=e.fnArray,i=e.argsArray;var n=e.iCurr-4;var o=(r-n)%5;switch(o){case 0:return t[r]===a.OPS.beginText;case 1:return t[r]===a.OPS.setFont;case 2:return t[r]===a.OPS.setTextMatrix;case 3:if(t[r]!==a.OPS.showText){return false}var s=e.iCurr-3;var l=i[s][0];var c=i[s][1];if(i[r][0]!==l||i[r][1]!==c){return false}return true;case 4:return t[r]===a.OPS.endText}},function(e,r){var t=3;var a=1e3;var i=e.fnArray,n=e.argsArray;var o=e.iCurr;var s=o-4;var l=o-3;var c=o-2;var u=o-1;var f=o;var h=n[l][0];var d=n[l][1];var v=Math.min(Math.floor((r-s)/5),a);if(v<t){return r-(r-s)%5}var g=s;if(s>=4&&i[s-4]===i[l]&&i[s-3]===i[c]&&i[s-2]===i[u]&&i[s-1]===i[f]&&n[s-4][0]===h&&n[s-4][1]===d){v++;g-=5}var m=g+4;for(var p=1;p<v;p++){i.splice(m,3);n.splice(m,3);m+=2}return m+1});function n(e){this.queue=e;this.state=null;this.context={iCurr:0,fnArray:e.fnArray,argsArray:e.argsArray};this.match=null;this.lastProcessed=0}n.prototype={_optimize:function e(){var r=this.queue.fnArray;var t=this.lastProcessed,a=r.length;var n=this.state;var o=this.match;if(!n&&!o&&t+1===a&&!i[r[t]]){this.lastProcessed=a;return}var s=this.context;while(t<a){if(o){var l=(0,o.iterateFn)(s,t);if(l){t++;continue}t=(0,o.processFn)(s,t+1);a=r.length;o=null;n=null;if(t>=a){break}}n=(n||i)[r[t]];if(!n||Array.isArray(n)){t++;continue}s.iCurr=t;t++;if(n.checkFn&&!(0,n.checkFn)(s)){n=null;continue}o=n;n=null}this.state=n;this.match=o;this.lastProcessed=t},push:function e(r,t){this.queue.fnArray.push(r);this.queue.argsArray.push(t);this._optimize()},flush:function e(){while(this.match){var r=this.queue.fnArray.length;this.lastProcessed=(0,this.match.processFn)(this.context,r);this.match=null;this.state=null;this._optimize()}},reset:function e(){this.state=null;this.match=null;this.lastProcessed=0}};return n}();var n=function e(){function r(e){this.queue=e}r.prototype={push:function e(r,t){this.queue.fnArray.push(r);this.queue.argsArray.push(t)},flush:function e(){}};return r}();var o=function e(){var r=1e3;var t=r-5;function o(e){var r=[];var t=e.fnArray,i=e.argsArray;for(var n=0,o=e.length;n<o;n++){switch(t[n]){case a.OPS.paintInlineImageXObject:case a.OPS.paintInlineImageXObjectGroup:case a.OPS.paintImageMaskXObject:var s=i[n][0];if(!s.cached){r.push(s.data.buffer)}break}}return r}function s(e,r,t){this.messageHandler=r;this.fnArray=[];this.argsArray=[];if(r&&this.intent!=="oplist"){this.optimizer=new i(this)}else{this.optimizer=new n(this)}this.dependencies=Object.create(null);this._totalLength=0;this.pageIndex=t;this.intent=e;this.weight=0}s.prototype={get length(){return this.argsArray.length},get totalLength(){return this._totalLength+this.length},addOp:function e(i,n){this.optimizer.push(i,n);this.weight++;if(this.messageHandler){if(this.weight>=r){this.flush()}else if(this.weight>=t&&(i===a.OPS.restore||i===a.OPS.endText)){this.flush()}}},addDependency:function e(r){if(r in this.dependencies){return}this.dependencies[r]=true;this.addOp(a.OPS.dependency,[r])},addDependencies:function e(r){for(var t in r){this.addDependency(t)}},addOpList:function e(r){Object.assign(this.dependencies,r.dependencies);for(var t=0,a=r.length;t<a;t++){this.addOp(r.fnArray[t],r.argsArray[t])}},getIR:function e(){return{fnArray:this.fnArray,argsArray:this.argsArray,length:this.length}},flush:function e(r){this.optimizer.flush();var t=o(this);var a=this.length;this._totalLength+=a;this.messageHandler.send("RenderPageChunk",{operatorList:{fnArray:this.fnArray,argsArray:this.argsArray,lastChunk:r,length:a},pageIndex:this.pageIndex,intent:this.intent},t);this.dependencies=Object.create(null);this.fnArray.length=0;this.argsArray.length=0;this.weight=0;this.optimizer.reset()}};return s}();r.OperatorList=o},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:true});r.PartialEvaluator=undefined;var a=t(131);var i=x(a);var n=t(2);var o=t(155);var s=t(140);var l=t(138);var c=t(156);var u=t(159);var f=t(162);var h=t(161);var d=t(165);var v=t(139);var g=t(166);var m=t(151);var p=t(160);var b=t(167);var y=t(168);var w=t(146);var k=t(170);var S=t(153);var C=t(171);function x(e){return e&&e.__esModule?e:{default:e}}function _(e){return function(){var r=e.apply(this,arguments);return new Promise(function(e,t){function a(i,n){try{var o=r[i](n);var s=o.value}catch(e){t(e);return}if(o.done){e(s)}else{return Promise.resolve(s).then(function(e){a("next",e)},function(e){a("throw",e)})}}return a("next")})}}var A=function e(){var r={forceDataSchema:false,maxImageSize:-1,disableFontFace:false,nativeImageDecoderSupport:n.NativeImageDecoding.DECODE,ignoreErrors:false,isEvalSupported:true};function t(e){var r=e.xref,t=e.resources,a=e.handler,i=e.forceDataSchema,n=i===undefined?false:i,o=e.pdfFunctionFactory;this.xref=r;this.resources=t;this.handler=a;this.forceDataSchema=n;this.pdfFunctionFactory=o}t.prototype={canDecode:function e(r){return r instanceof w.JpegStream&&t.isDecodable(r,this.xref,this.resources,this.pdfFunctionFactory)},decode:function e(r){var t=r.dict;var a=t.get("ColorSpace","CS");a=m.ColorSpace.parse(a,this.xref,this.resources,this.pdfFunctionFactory);return this.handler.sendWithPromise("JpegDecode",[r.getIR(this.forceDataSchema),a.numComps]).then(function(e){var t=e.data,a=e.width,i=e.height;return new s.Stream(t,0,t.length,r.dict)})}};t.isSupported=function(e,r,t,a){var i=e.dict;if(i.has("DecodeParms")||i.has("DP")){return false}var n=m.ColorSpace.parse(i.get("ColorSpace","CS"),r,t,a);return(n.name==="DeviceGray"||n.name==="DeviceRGB")&&n.isDefaultDecode(i.getArray("Decode","D"))};t.isDecodable=function(e,r,t,a){var i=e.dict;if(i.has("DecodeParms")||i.has("DP")){return false}var n=m.ColorSpace.parse(i.get("ColorSpace","CS"),r,t,a);return(n.numComps===1||n.numComps===3)&&n.isDefaultDecode(i.getArray("Decode","D"))};function a(e){var t=this;var a=e.pdfManager,o=e.xref,s=e.handler,l=e.pageIndex,c=e.idFactory,u=e.fontCache,f=e.builtInCMapCache,h=e.options,d=h===undefined?null:h,v=e.pdfFunctionFactory;this.pdfManager=a;this.xref=o;this.handler=s;this.pageIndex=l;this.idFactory=c;this.fontCache=u;this.builtInCMapCache=f;this.options=d||r;this.pdfFunctionFactory=v;this.fetchBuiltInCMap=function(){var e=_(i.default.mark(function e(r){var a;return i.default.wrap(function e(i){while(1){switch(i.prev=i.next){case 0:if(!t.builtInCMapCache.has(r)){i.next=2;break}return i.abrupt("return",t.builtInCMapCache.get(r));case 2:i.next=4;return t.handler.sendWithPromise("FetchBuiltInCMap",{name:r});case 4:a=i.sent;if(a.compressionType!==n.CMapCompressionType.NONE){t.builtInCMapCache.set(r,a)}return i.abrupt("return",a);case 7:case"end":return i.stop()}}},e,t)}));return function(r){return e.apply(this,arguments)}}()}var v=20;var x=100;function A(){this.reset()}A.prototype={check:function e(){if(++this.checked<x){return false}this.checked=0;return this.endTime<=Date.now()},reset:function e(){this.endTime=Date.now()+v;this.checked=0}};function F(e){if(!(0,l.isName)(e)){return"source-over"}switch(e.name){case"Normal":case"Compatible":return"source-over";case"Multiply":return"multiply";case"Screen":return"screen";case"Overlay":return"overlay";case"Darken":return"darken";case"Lighten":return"lighten";case"ColorDodge":return"color-dodge";case"ColorBurn":return"color-burn";case"HardLight":return"hard-light";case"SoftLight":return"soft-light";case"Difference":return"difference";case"Exclusion":return"exclusion";case"Hue":return"hue";case"Saturation":return"saturation";case"Color":return"color";case"Luminosity":return"luminosity"}(0,n.warn)("Unsupported blend mode: "+e.name);return"source-over"}var R=Promise.resolve();var B=1,D=2;a.prototype={clone:function e(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:r;var a=Object.create(this);a.options=t;return a},hasBlendModes:function e(r){if(!(0,l.isDict)(r)){return false}var t=Object.create(null);if(r.objId){t[r.objId]=true}var a=[r],i=this.xref;while(a.length){var n,o,s;var c=a.shift();var u=c.get("ExtGState");if((0,l.isDict)(u)){var f=u.getKeys();for(o=0,s=f.length;o<s;o++){n=f[o];var h=u.get(n);var d=h.get("BM");if((0,l.isName)(d)&&d.name!=="Normal"){return true}}}var v=c.get("XObject");if(!(0,l.isDict)(v)){continue}var g=v.getKeys();for(o=0,s=g.length;o<s;o++){n=g[o];var m=v.getRaw(n);if((0,l.isRef)(m)){if(t[m.toString()]){continue}m=i.fetch(m)}if(!(0,l.isStream)(m)){continue}if(m.dict.objId){if(t[m.dict.objId]){continue}t[m.dict.objId]=true}var p=m.dict.get("Resources");if((0,l.isDict)(p)&&(!p.objId||!t[p.objId])){a.push(p);if(p.objId){t[p.objId]=true}}}}return false},buildFormXObject:function e(r,t,a,i,o,s){var c=t.dict;var u=c.getArray("Matrix");var f=c.getArray("BBox");var h=c.get("Group");if(h){var d={matrix:u,bbox:f,smask:a,isolated:false,knockout:false};var v=h.get("S");var g=null;if((0,l.isName)(v,"Transparency")){d.isolated=h.get("I")||false;d.knockout=h.get("K")||false;if(h.has("CS")){g=m.ColorSpace.parse(h.get("CS"),this.xref,r,this.pdfFunctionFactory)}}if(a&&a.backdrop){g=g||m.ColorSpace.singletons.rgb;a.backdrop=g.getRgb(a.backdrop,0)}i.addOp(n.OPS.beginGroup,[d])}i.addOp(n.OPS.paintFormXObjectBegin,[u,f]);return this.getOperatorList({stream:t,task:o,resources:c.get("Resources")||r,operatorList:i,initialState:s}).then(function(){i.addOp(n.OPS.paintFormXObjectEnd,[]);if(h){i.addOp(n.OPS.endGroup,[d])}})},buildPaintImageXObject:function e(r){var a=this;var i=r.resources,o=r.image,l=r.isInline,c=l===undefined?false:l,u=r.operatorList,f=r.cacheKey,h=r.imageCache,d=r.forceDisableNativeImageDecoder,v=d===undefined?false:d;var g=o.dict;var m=g.get("Width","W");var p=g.get("Height","H");if(!(m&&(0,n.isNum)(m))||!(p&&(0,n.isNum)(p))){(0,n.warn)("Image dimensions are missing, or not numbers.");return Promise.resolve()}var b=this.options.maxImageSize;if(b!==-1&&m*p>b){(0,n.warn)("Image exceeded maximum allowed size and was removed.");return Promise.resolve()}var y=g.get("ImageMask","IM")||false;var k,S;if(y){var x=g.get("Width","W");var _=g.get("Height","H");var A=x+7>>3;var P=o.getBytes(A*_,true);var I=g.getArray("Decode","D");k=C.PDFImage.createMask({imgArray:P,width:x,height:_,imageIsFromDecodeStream:o instanceof s.DecodeStream,inverseDecode:!!I&&I[0]>0});k.cached=true;S=[k];u.addOp(n.OPS.paintImageMaskXObject,S);if(f){h[f]={fn:n.OPS.paintImageMaskXObject,args:S}}return Promise.resolve()}var O=g.get("SMask","SM")||false;var T=g.get("Mask")||false;var E=200;if(c&&!O&&!T&&!(o instanceof w.JpegStream)&&m+p<E){var F=new C.PDFImage({xref:this.xref,res:i,image:o,isInline:c,pdfFunctionFactory:this.pdfFunctionFactory});k=F.createImageData(true);u.addOp(n.OPS.paintInlineImageXObject,[k]);return Promise.resolve()}var R=v?n.NativeImageDecoding.NONE:this.options.nativeImageDecoderSupport;var B="img_"+this.idFactory.createObjId();if(R!==n.NativeImageDecoding.NONE&&!O&&!T&&o instanceof w.JpegStream&&t.isSupported(o,this.xref,i,this.pdfFunctionFactory)){return this.handler.sendWithPromise("obj",[B,this.pageIndex,"JpegStream",o.getIR(this.options.forceDataSchema)]).then(function(){u.addDependency(B);S=[B,m,p];u.addOp(n.OPS.paintJpegXObject,S);if(f){h[f]={fn:n.OPS.paintJpegXObject,args:S}}},function(e){(0,n.warn)("Native JPEG decoding failed -- trying to recover: "+(e&&e.message));return a.buildPaintImageXObject({resources:i,image:o,isInline:c,operatorList:u,cacheKey:f,imageCache:h,forceDisableNativeImageDecoder:true})})}var D=null;if(R===n.NativeImageDecoding.DECODE&&(o instanceof w.JpegStream||T instanceof w.JpegStream||O instanceof w.JpegStream)){D=new t({xref:this.xref,resources:i,handler:this.handler,forceDataSchema:this.options.forceDataSchema,pdfFunctionFactory:this.pdfFunctionFactory})}u.addDependency(B);S=[B,m,p];C.PDFImage.buildImage({handler:this.handler,xref:this.xref,res:i,image:o,isInline:c,nativeDecoder:D,pdfFunctionFactory:this.pdfFunctionFactory}).then(function(e){var r=e.createImageData(false);a.handler.send("obj",[B,a.pageIndex,"Image",r],[r.data.buffer])}).catch(function(e){(0,n.warn)("Unable to decode image: "+e);a.handler.send("obj",[B,a.pageIndex,"Image",null])});u.addOp(n.OPS.paintImageXObject,S);if(f){h[f]={fn:n.OPS.paintImageXObject,args:S}}return Promise.resolve()},handleSMask:function e(r,t,a,i,n){var o=r.get("G");var s={subtype:r.get("S").name,backdrop:r.get("BC")};var l=r.get("TR");if((0,y.isPDFFunction)(l)){var c=this.pdfFunctionFactory.create(l);var u=new Uint8Array(256);var f=new Float32Array(1);for(var h=0;h<256;h++){f[0]=h/255;c(f,0,f,0);u[h]=f[0]*255|0}s.transferMap=u}return this.buildFormXObject(t,o,s,a,i,n.state.clone())},handleTilingType:function e(r,t,a,i,o,s,c){var u=this;var f=new S.OperatorList;var h=[o.get("Resources"),a];var v=l.Dict.merge(this.xref,h);return this.getOperatorList({stream:i,task:c,resources:v,operatorList:f}).then(function(){return(0,d.getTilingPatternIR)({fnArray:f.fnArray,argsArray:f.argsArray},o,t)}).then(function(e){s.addDependencies(f.dependencies);s.addOp(r,e)},function(e){if(u.options.ignoreErrors){u.handler.send("UnsupportedFeature",{featureId:n.UNSUPPORTED_FEATURES.unknown});(0,n.warn)('handleTilingType - ignoring pattern: "'+e+'".');return}throw e})},handleSetFont:function e(r,t,a,i,o,s){var l=this;var u;if(t){t=t.slice();u=t[0].name}return this.loadFont(u,a,r).then(function(e){if(!e.font.isType3Font){return e}return e.loadType3Data(l,r,i,o).then(function(){return e}).catch(function(r){l.handler.send("UnsupportedFeature",{featureId:n.UNSUPPORTED_FEATURES.font});return new P("g_font_error",new c.ErrorFont("Type3 font load error: "+r),e.font)})}).then(function(e){s.font=e.font;e.send(l.handler);return e.loadedName})},handleText:function e(r,t){var a=this;var i=t.font;var o=i.charsToGlyphs(r);var s=!!(t.textRenderingMode&n.TextRenderingMode.ADD_TO_PATH_FLAG);if(i.data&&(s||this.options.disableFontFace||t.fillColorSpace.name==="Pattern")){var l=function e(r){if(!i.renderer.hasBuiltPath(r)){var t=i.renderer.getPathJs(r);a.handler.send("commonobj",[i.loadedName+"_path_"+r,"FontPath",t])}};for(var c=0,u=o.length;c<u;c++){var f=o[c];l(f.fontChar);var h=f.accent;if(h&&h.fontChar){l(h.fontChar)}}}return o},setGState:function e(r,t,a,i,o){var s=this;var c=[];var u=t.getKeys();var f=Promise.resolve();var h=function e(){var h=u[d];var v=t.get(h);switch(h){case"Type":break;case"LW":case"LC":case"LJ":case"ML":case"D":case"RI":case"FL":case"CA":case"ca":c.push([h,v]);break;case"Font":f=f.then(function(){return s.handleSetFont(r,null,v[0],a,i,o.state).then(function(e){a.addDependency(e);c.push([h,[e,v[1]]])})});break;case"BM":c.push([h,F(v)]);break;case"SMask":if((0,l.isName)(v,"None")){c.push([h,false]);break}if((0,l.isDict)(v)){f=f.then(function(){return s.handleSMask(v,r,a,i,o)});c.push([h,true])}else{(0,n.warn)("Unsupported SMask type")}break;case"OP":case"op":case"OPM":case"BG":case"BG2":case"UCR":case"UCR2":case"TR":case"TR2":case"HT":case"SM":case"SA":case"AIS":case"TK":(0,n.info)("graphic state operator "+h);break;default:(0,n.info)("Unknown graphic state operator "+h);break}};for(var d=0,v=u.length;d<v;d++){h()}return f.then(function(){if(c.length>0){a.addOp(n.OPS.setGState,[c])}})},loadFont:function e(r,t,a){var i=this;function o(){return Promise.resolve(new P("g_font_error",new c.ErrorFont("Font "+r+" is not available"),t))}var s,u=this.xref;if(t){if(!(0,l.isRef)(t)){throw new Error('The "font" object should be a reference.')}s=t}else{var f=a.get("Font");if(f){s=f.getRaw(r)}else{(0,n.warn)("fontRes not available");return o()}}if(!s){(0,n.warn)("fontRef not available");return o()}if(this.fontCache.has(s)){return this.fontCache.get(s)}t=u.fetchIfRef(s);if(!(0,l.isDict)(t)){return o()}if(t.translated){return t.translated}var h=(0,n.createPromiseCapability)();var d=this.preEvaluateFont(t);var v=d.descriptor;var g=(0,l.isRef)(s),m;if(g){m=s.toString()}if((0,l.isDict)(v)){if(!v.fontAliases){v.fontAliases=Object.create(null)}var p=v.fontAliases;var b=d.hash;if(p[b]){var y=p[b].aliasRef;if(g&&y&&this.fontCache.has(y)){this.fontCache.putAlias(s,y);return this.fontCache.get(s)}}else{p[b]={fontID:c.Font.getFontID()}}if(g){p[b].aliasRef=s}m=p[b].fontID}if(g){this.fontCache.put(s,h.promise)}else{if(!m){m=this.idFactory.createObjId()}this.fontCache.put("id_"+m,h.promise)}(0,n.assert)(m,'The "fontID" must be defined.');t.loadedName="g_"+this.pdfManager.docId+"_f"+m;t.translated=h.promise;var w;try{w=this.translateFont(d)}catch(e){w=Promise.reject(e)}w.then(function(e){if(e.fontType!==undefined){var r=u.stats.fontTypes;r[e.fontType]=true}h.resolve(new P(t.loadedName,e,t))}).catch(function(e){i.handler.send("UnsupportedFeature",{featureId:n.UNSUPPORTED_FEATURES.font});try{var r=d.descriptor;var a=r&&r.get("FontFile3");var o=a&&a.get("Subtype");var s=(0,c.getFontType)(d.type,o&&o.name);var l=u.stats.fontTypes;l[s]=true}catch(e){}h.resolve(new P(t.loadedName,new c.ErrorFont(e instanceof Error?e.message:e),t))});return h.promise},buildPath:function e(r,t,a){var i=r.length-1;if(!a){a=[]}if(i<0||r.fnArray[i]!==n.OPS.constructPath){r.addOp(n.OPS.constructPath,[[t],a])}else{var o=r.argsArray[i];o[0].push(t);Array.prototype.push.apply(o[1],a)}},handleColorN:function e(r,t,a,i,n,o,s){var c=a[a.length-1];var u;if((0,l.isName)(c)&&(u=n.get(c.name))){var f=(0,l.isStream)(u)?u.dict:u;var h=f.get("PatternType");if(h===B){var v=i.base?i.base.getRgb(a,0):null;return this.handleTilingType(t,v,o,u,f,r,s)}else if(h===D){var g=f.get("Shading");var m=f.getArray("Matrix");u=d.Pattern.parseShading(g,m,this.xref,o,this.handler,this.pdfFunctionFactory);r.addOp(t,u.getIR());return Promise.resolve()}return Promise.reject(new Error("Unknown PatternType: "+h))}r.addOp(t,a);return Promise.resolve()},getOperatorList:function e(r){var t=this;var a=r.stream,i=r.task,o=r.resources,s=r.operatorList,c=r.initialState,u=c===undefined?null:c;o=o||l.Dict.empty;u=u||new T;if(!s){throw new Error('getOperatorList: missing "operatorList" parameter')}var f=this;var h=this.xref;var v=Object.create(null);var g=o.get("XObject")||l.Dict.empty;var p=o.get("Pattern")||l.Dict.empty;var b=new I(u);var y=new E(a,h,b);var w=new A;function k(e){for(var r=0,t=y.savedStatesDepth;r<t;r++){s.addOp(n.OPS.restore,[])}}return new Promise(function e(r,t){var a=function a(i){i.then(function(){try{e(r,t)}catch(e){t(e)}},t)};i.ensureNotTerminated();w.reset();var c,u={},S,C,x;while(!(c=w.check())){u.args=null;if(!y.read(u)){break}var _=u.args;var A=u.fn;switch(A|0){case n.OPS.paintXObject:var P=_[0].name;if(P&&v[P]!==undefined){s.addOp(v[P].fn,v[P].args);_=null;continue}a(new Promise(function(e,r){if(!P){throw new n.FormatError("XObject must be referred to by name.")}var t=g.get(P);if(!t){s.addOp(A,_);e();return}if(!(0,l.isStream)(t)){throw new n.FormatError("XObject should be a stream")}var a=t.dict.get("Subtype");if(!(0,l.isName)(a)){throw new n.FormatError("XObject should have a Name subtype")}if(a.name==="Form"){b.save();f.buildFormXObject(o,t,null,s,i,b.state.clone()).then(function(){b.restore();e()},r);return}else if(a.name==="Image"){f.buildPaintImageXObject({resources:o,image:t,operatorList:s,cacheKey:P,imageCache:v}).then(e,r);return}else if(a.name==="PS"){(0,n.info)("Ignored XObject subtype PS")}else{throw new n.FormatError("Unhandled XObject subtype "+a.name)}e()}).catch(function(e){if(f.options.ignoreErrors){f.handler.send("UnsupportedFeature",{featureId:n.UNSUPPORTED_FEATURES.unknown});(0,n.warn)('getOperatorList - ignoring XObject: "'+e+'".');return}throw e}));return;case n.OPS.setFont:var I=_[1];a(f.handleSetFont(o,_,null,s,i,b.state).then(function(e){s.addDependency(e);s.addOp(n.OPS.setFont,[e,I])}));return;case n.OPS.endInlineImage:var O=_[0].cacheKey;if(O){var T=v[O];if(T!==undefined){s.addOp(T.fn,T.args);_=null;continue}}a(f.buildPaintImageXObject({resources:o,image:_[0],isInline:true,operatorList:s,cacheKey:O,imageCache:v}));return;case n.OPS.showText:_[0]=f.handleText(_[0],b.state);break;case n.OPS.showSpacedText:var E=_[0];var F=[];var B=E.length;var D=b.state;for(S=0;S<B;++S){var M=E[S];if((0,n.isString)(M)){Array.prototype.push.apply(F,f.handleText(M,D))}else if((0,n.isNum)(M)){F.push(M)}}_[0]=F;A=n.OPS.showText;break;case n.OPS.nextLineShowText:s.addOp(n.OPS.nextLine);_[0]=f.handleText(_[0],b.state);A=n.OPS.showText;break;case n.OPS.nextLineSetSpacingShowText:s.addOp(n.OPS.nextLine);s.addOp(n.OPS.setWordSpacing,[_.shift()]);s.addOp(n.OPS.setCharSpacing,[_.shift()]);_[0]=f.handleText(_[0],b.state);A=n.OPS.showText;break;case n.OPS.setTextRenderingMode:b.state.textRenderingMode=_[0];break;case n.OPS.setFillColorSpace:b.state.fillColorSpace=m.ColorSpace.parse(_[0],h,o,f.pdfFunctionFactory);continue;case n.OPS.setStrokeColorSpace:b.state.strokeColorSpace=m.ColorSpace.parse(_[0],h,o,f.pdfFunctionFactory);continue;case n.OPS.setFillColor:x=b.state.fillColorSpace;_=x.getRgb(_,0);A=n.OPS.setFillRGBColor;break;case n.OPS.setStrokeColor:x=b.state.strokeColorSpace;_=x.getRgb(_,0);A=n.OPS.setStrokeRGBColor;break;case n.OPS.setFillGray:b.state.fillColorSpace=m.ColorSpace.singletons.gray;_=m.ColorSpace.singletons.gray.getRgb(_,0);A=n.OPS.setFillRGBColor;break;case n.OPS.setStrokeGray:b.state.strokeColorSpace=m.ColorSpace.singletons.gray;_=m.ColorSpace.singletons.gray.getRgb(_,0);A=n.OPS.setStrokeRGBColor;break;case n.OPS.setFillCMYKColor:b.state.fillColorSpace=m.ColorSpace.singletons.cmyk;_=m.ColorSpace.singletons.cmyk.getRgb(_,0);A=n.OPS.setFillRGBColor;break;case n.OPS.setStrokeCMYKColor:b.state.strokeColorSpace=m.ColorSpace.singletons.cmyk;_=m.ColorSpace.singletons.cmyk.getRgb(_,0);A=n.OPS.setStrokeRGBColor;break;case n.OPS.setFillRGBColor:b.state.fillColorSpace=m.ColorSpace.singletons.rgb;_=m.ColorSpace.singletons.rgb.getRgb(_,0);break;case n.OPS.setStrokeRGBColor:b.state.strokeColorSpace=m.ColorSpace.singletons.rgb;_=m.ColorSpace.singletons.rgb.getRgb(_,0);break;case n.OPS.setFillColorN:x=b.state.fillColorSpace;if(x.name==="Pattern"){a(f.handleColorN(s,n.OPS.setFillColorN,_,x,p,o,i));return}_=x.getRgb(_,0);A=n.OPS.setFillRGBColor;break;case n.OPS.setStrokeColorN:x=b.state.strokeColorSpace;if(x.name==="Pattern"){a(f.handleColorN(s,n.OPS.setStrokeColorN,_,x,p,o,i));return}_=x.getRgb(_,0);A=n.OPS.setStrokeRGBColor;break;case n.OPS.shadingFill:var L=o.get("Shading");if(!L){throw new n.FormatError("No shading resource found")}var N=L.get(_[0].name);if(!N){throw new n.FormatError("No shading object found")}var U=d.Pattern.parseShading(N,null,h,o,f.handler,f.pdfFunctionFactory);var q=U.getIR();_=[q];A=n.OPS.shadingFill;break;case n.OPS.setGState:var j=_[0];var z=o.get("ExtGState");if(!(0,l.isDict)(z)||!z.has(j.name)){break}var H=z.get(j.name);a(f.setGState(o,H,s,i,b));return;case n.OPS.moveTo:case n.OPS.lineTo:case n.OPS.curveTo:case n.OPS.curveTo2:case n.OPS.curveTo3:case n.OPS.closePath:f.buildPath(s,A,_);continue;case n.OPS.rectangle:f.buildPath(s,A,_);continue;case n.OPS.markPoint:case n.OPS.markPointProps:case n.OPS.beginMarkedContent:case n.OPS.beginMarkedContentProps:case n.OPS.endMarkedContent:case n.OPS.beginCompat:case n.OPS.endCompat:continue;default:if(_!==null){for(S=0,C=_.length;S<C;S++){if(_[S]instanceof l.Dict){break}}if(S<C){(0,n.warn)("getOperatorList - ignoring operator: "+A);continue}}}s.addOp(A,_)}if(c){a(R);return}k();r()}).catch(function(e){if(t.options.ignoreErrors){t.handler.send("UnsupportedFeature",{featureId:n.UNSUPPORTED_FEATURES.unknown});(0,n.warn)('getOperatorList - ignoring errors during "'+i.name+'" '+('task: "'+e+'".'));k();return}throw e})},getTextContent:function e(r){var t=this;var a=r.stream,i=r.task,o=r.resources,s=r.stateManager,c=s===undefined?null:s,u=r.normalizeWhitespace,h=u===undefined?false:u,d=r.combineTextItems,v=d===undefined?false:d,m=r.sink,p=r.seenStyles,b=p===undefined?Object.create(null):p;o=o||l.Dict.empty;c=c||new I(new O);var y=/\s/g;var w={items:[],styles:Object.create(null)};var k={initialized:false,str:[],width:0,height:0,vertical:false,lastAdvanceWidth:0,lastAdvanceHeight:0,textAdvanceScale:0,spaceWidth:0,fakeSpaceMin:Infinity,fakeMultiSpaceMin:Infinity,fakeMultiSpaceMax:-0,textRunBreakAllowed:false,transform:null,fontName:null};var S=.3;var C=1.5;var x=4;var _=this;var P=this.xref;var T=null;var F=Object.create(null);var B=new E(a,P,c);var D;function M(){if(k.initialized){return k}var e=D.font;if(!(e.loadedName in b)){b[e.loadedName]=true;w.styles[e.loadedName]={fontFamily:e.fallbackName,ascent:e.ascent,descent:e.descent,vertical:e.vertical}}k.fontName=e.loadedName;var r=[D.fontSize*D.textHScale,0,0,D.fontSize,0,D.textRise];if(e.isType3Font&&D.fontMatrix!==n.FONT_IDENTITY_MATRIX&&D.fontSize===1){var t=e.bbox[3]-e.bbox[1];if(t>0){t=t*D.fontMatrix[3];r[3]*=t}}var a=n.Util.transform(D.ctm,n.Util.transform(D.textMatrix,r));k.transform=a;if(!e.vertical){k.width=0;k.height=Math.sqrt(a[2]*a[2]+a[3]*a[3]);k.vertical=false}else{k.width=Math.sqrt(a[0]*a[0]+a[1]*a[1]);k.height=0;k.vertical=true}var i=D.textLineMatrix[0];var o=D.textLineMatrix[1];var s=Math.sqrt(i*i+o*o);i=D.ctm[0];o=D.ctm[1];var l=Math.sqrt(i*i+o*o);k.textAdvanceScale=l*s;k.lastAdvanceWidth=0;k.lastAdvanceHeight=0;var c=e.spaceWidth/1e3*D.fontSize;if(c){k.spaceWidth=c;k.fakeSpaceMin=c*S;k.fakeMultiSpaceMin=c*C;k.fakeMultiSpaceMax=c*x;k.textRunBreakAllowed=!e.isMonospace}else{k.spaceWidth=0;k.fakeSpaceMin=Infinity;k.fakeMultiSpaceMin=Infinity;k.fakeMultiSpaceMax=0;k.textRunBreakAllowed=false}k.initialized=true;return k}function L(e){var r=0,t=e.length,a;while(r<t&&(a=e.charCodeAt(r))>=32&&a<=127){r++}return r<t?e.replace(y," "):e}function N(e){var r=e.str.join("");var t=(0,g.bidi)(r,-1,e.vertical);return{str:h?L(t.str):t.str,dir:t.dir,width:e.width,height:e.height,transform:e.transform,fontName:e.fontName}}function U(e,r){return _.loadFont(e,r,o).then(function(e){D.font=e.font;D.fontMatrix=e.font.fontMatrix||n.FONT_IDENTITY_MATRIX})}function q(e){var r=D.font;var t=M();var a=0;var i=0;var n=r.charsToGlyphs(e);for(var o=0;o<n.length;o++){var s=n[o];var l=null;if(r.vertical&&s.vmetric){l=s.vmetric[0]}else{l=s.width}var c=s.unicode;var u=(0,f.getNormalizedUnicodes)();if(u[c]!==undefined){c=u[c]}c=(0,f.reverseIfRtl)(c);var h=D.charSpacing;if(s.isSpace){var d=D.wordSpacing;h+=d;if(d>0){j(d,t.str)}}var v=0;var g=0;if(!r.vertical){var m=l*D.fontMatrix[0];v=(m*D.fontSize+h)*D.textHScale;a+=v}else{var p=l*D.fontMatrix[0];g=p*D.fontSize+h;i+=g}D.translateTextMatrix(v,g);t.str.push(c)}if(!r.vertical){t.lastAdvanceWidth=a;t.width+=a}else{t.lastAdvanceHeight=i;t.height+=Math.abs(i)}return t}function j(e,r){if(e<k.fakeSpaceMin){return}if(e<k.fakeMultiSpaceMin){r.push(" ");return}var t=Math.round(e/k.spaceWidth);while(t-- >0){r.push(" ")}}function z(){if(!k.initialized){return}k.width*=k.textAdvanceScale;k.height*=k.textAdvanceScale;w.items.push(N(k));k.initialized=false;k.str.length=0}function H(){var e=w.items.length;if(e>0){m.enqueue(w,e);w.items=[];w.styles=Object.create(null)}}var G=new A;return new Promise(function e(r,t){var a=function a(i){H();Promise.all([i,m.ready]).then(function(){try{e(r,t)}catch(e){t(e)}},t)};i.ensureNotTerminated();G.reset();var s,u={},f=[];while(!(s=G.check())){f.length=0;u.args=f;if(!B.read(u)){break}D=c.state;var d=u.fn;f=u.args;var g,p;switch(d|0){case n.OPS.setFont:var y=f[0].name,S=f[1];if(D.font&&y===D.fontName&&S===D.fontSize){break}z();D.fontName=y;D.fontSize=S;a(U(y,null));return;case n.OPS.setTextRise:z();D.textRise=f[0];break;case n.OPS.setHScale:z();D.textHScale=f[0]/100;break;case n.OPS.setLeading:z();D.leading=f[0];break;case n.OPS.moveText:var C=!D.font?false:(D.font.vertical?f[0]:f[1])===0;g=f[0]-f[1];if(v&&C&&k.initialized&&g>0&&g<=k.fakeMultiSpaceMax){D.translateTextLineMatrix(f[0],f[1]);k.width+=f[0]-k.lastAdvanceWidth;k.height+=f[1]-k.lastAdvanceHeight;p=f[0]-k.lastAdvanceWidth-(f[1]-k.lastAdvanceHeight);j(p,k.str);break}z();D.translateTextLineMatrix(f[0],f[1]);D.textMatrix=D.textLineMatrix.slice();break;case n.OPS.setLeadingMoveText:z();D.leading=-f[1];D.translateTextLineMatrix(f[0],f[1]);D.textMatrix=D.textLineMatrix.slice();break;case n.OPS.nextLine:z();D.carriageReturn();break;case n.OPS.setTextMatrix:g=D.calcTextLineMatrixAdvance(f[0],f[1],f[2],f[3],f[4],f[5]);if(v&&g!==null&&k.initialized&&g.value>0&&g.value<=k.fakeMultiSpaceMax){D.translateTextLineMatrix(g.width,g.height);k.width+=g.width-k.lastAdvanceWidth;k.height+=g.height-k.lastAdvanceHeight;p=g.width-k.lastAdvanceWidth-(g.height-k.lastAdvanceHeight);j(p,k.str);break}z();D.setTextMatrix(f[0],f[1],f[2],f[3],f[4],f[5]);D.setTextLineMatrix(f[0],f[1],f[2],f[3],f[4],f[5]);break;case n.OPS.setCharSpacing:D.charSpacing=f[0];break;case n.OPS.setWordSpacing:D.wordSpacing=f[0];break;case n.OPS.beginText:z();D.textMatrix=n.IDENTITY_MATRIX.slice();D.textLineMatrix=n.IDENTITY_MATRIX.slice();break;case n.OPS.showSpacedText:var x=f[0];var A;for(var P=0,O=x.length;P<O;P++){if(typeof x[P]==="string"){q(x[P])}else if((0,n.isNum)(x[P])){M();g=x[P]*D.fontSize/1e3;var E=false;if(D.font.vertical){A=g;D.translateTextMatrix(0,A);E=k.textRunBreakAllowed&&g>k.fakeMultiSpaceMax;if(!E){k.height+=A}}else{g=-g;A=g*D.textHScale;D.translateTextMatrix(A,0);E=k.textRunBreakAllowed&&g>k.fakeMultiSpaceMax;if(!E){k.width+=A}}if(E){z()}else if(g>0){j(g,k.str)}}}break;case n.OPS.showText:q(f[0]);break;case n.OPS.nextLineShowText:z();D.carriageReturn();q(f[0]);break;case n.OPS.nextLineSetSpacingShowText:z();D.wordSpacing=f[0];D.charSpacing=f[1];D.carriageReturn();q(f[2]);break;case n.OPS.paintXObject:z();if(!T){T=o.get("XObject")||l.Dict.empty}var L=f[0].name;if(L&&F[L]!==undefined){break}a(new Promise(function(e,r){if(!L){throw new n.FormatError("XObject must be referred to by name.")}var t=T.get(L);if(!t){e();return}if(!(0,l.isStream)(t)){throw new n.FormatError("XObject should be a stream")}var a=t.dict.get("Subtype");if(!(0,l.isName)(a)){throw new n.FormatError("XObject should have a Name subtype")}if(a.name!=="Form"){F[L]=true;e();return}var s=c.state.clone();var u=new I(s);var f=t.dict.getArray("Matrix");if(Array.isArray(f)&&f.length===6){u.transform(f)}H();var d={enqueueInvoked:false,enqueue:function e(r,t){this.enqueueInvoked=true;m.enqueue(r,t)},get desiredSize(){return m.desiredSize},get ready(){return m.ready}};_.getTextContent({stream:t,task:i,resources:t.dict.get("Resources")||o,stateManager:u,normalizeWhitespace:h,combineTextItems:v,sink:d,seenStyles:b}).then(function(){if(!d.enqueueInvoked){F[L]=true}e()},r)}).catch(function(e){if(e instanceof n.AbortException){return}if(_.options.ignoreErrors){(0,n.warn)('getTextContent - ignoring XObject: "'+e+'".');return}throw e}));return;case n.OPS.setGState:z();var N=f[0];var W=o.get("ExtGState");if(!(0,l.isDict)(W)||!(0,l.isName)(N)){break}var X=W.get(N.name);if(!(0,l.isDict)(X)){break}var V=X.get("Font");if(V){D.fontName=null;D.fontSize=V[1];a(U(null,V[0]));return}break}if(w.items.length>=m.desiredSize){s=true;break}}if(s){a(R);return}z();H();r()}).catch(function(e){if(e instanceof n.AbortException){return}if(t.options.ignoreErrors){(0,n.warn)('getTextContent - ignoring errors during "'+i.name+'" '+('task: "'+e+'".'));z();H();return}throw e})},extractDataStructures:function e(r,t,a){var i=this;var o=this.xref;var s=r.get("ToUnicode")||t.get("ToUnicode");var f=s?this.readToUnicode(s):Promise.resolve(undefined);if(a.composite){var h=r.get("CIDSystemInfo");if((0,l.isDict)(h)){a.cidSystemInfo={registry:(0,n.stringToPDFString)(h.get("Registry")),ordering:(0,n.stringToPDFString)(h.get("Ordering")),supplement:h.get("Supplement")}}var d=r.get("CIDToGIDMap");if((0,l.isStream)(d)){a.cidToGidMap=this.readCidToGidMap(d)}}var v=[];var g=null;var m;if(r.has("Encoding")){m=r.get("Encoding");if((0,l.isDict)(m)){g=m.get("BaseEncoding");g=(0,l.isName)(g)?g.name:null;if(m.has("Differences")){var p=m.get("Differences");var b=0;for(var y=0,w=p.length;y<w;y++){var k=o.fetchIfRef(p[y]);if((0,n.isNum)(k)){b=k}else if((0,l.isName)(k)){v[b++]=k.name}else{throw new n.FormatError("Invalid entry in 'Differences' array: "+k)}}}}else if((0,l.isName)(m)){g=m.name}else{throw new n.FormatError("Encoding is not a Name nor a Dict")}if(g!=="MacRomanEncoding"&&g!=="MacExpertEncoding"&&g!=="WinAnsiEncoding"){g=null}}if(g){a.defaultEncoding=(0,u.getEncoding)(g).slice()}else{var S=!!(a.flags&c.FontFlags.Symbolic);var C=!!(a.flags&c.FontFlags.Nonsymbolic);m=u.StandardEncoding;if(a.type==="TrueType"&&!C){m=u.WinAnsiEncoding}if(S){m=u.MacRomanEncoding;if(!a.file){if(/Symbol/i.test(a.name)){m=u.SymbolSetEncoding}else if(/Dingbats/i.test(a.name)){m=u.ZapfDingbatsEncoding}}}a.defaultEncoding=m}a.differences=v;a.baseEncodingName=g;a.hasEncoding=!!g||v.length>0;a.dict=r;return f.then(function(e){a.toUnicode=e;return i.buildToUnicode(a)}).then(function(e){a.toUnicode=e;return a})},_buildSimpleFontToUnicode:function e(r){(0,n.assert)(!r.composite,"Must be a simple font.");var t=[],a=void 0,i=void 0;var o=r.defaultEncoding.slice();var s=r.baseEncodingName;var l=r.differences;for(a in l){i=l[a];if(i===".notdef"){continue}o[a]=i}var h=(0,p.getGlyphsUnicode)();for(a in o){i=o[a];if(i===""){continue}else if(h[i]===undefined){var d=0;switch(i[0]){case"G":if(i.length===3){d=parseInt(i.substring(1),16)}break;case"g":if(i.length===5){d=parseInt(i.substring(1),16)}break;case"C":case"c":if(i.length>=3){d=+i.substring(1)}break;default:var v=(0,f.getUnicodeForGlyph)(i,h);if(v!==-1){d=v}}if(d){if(s&&d===+a){var g=(0,u.getEncoding)(s);if(g&&(i=g[a])){t[a]=String.fromCharCode(h[i]);continue}}t[a]=String.fromCharCode(d)}continue}t[a]=String.fromCharCode(h[i])}return new c.ToUnicodeMap(t)},buildToUnicode:function e(r){r.hasIncludedToUnicodeMap=!!r.toUnicode&&r.toUnicode.length>0;if(r.hasIncludedToUnicodeMap){if(!r.composite&&r.hasEncoding){r.fallbackToUnicode=this._buildSimpleFontToUnicode(r)}return Promise.resolve(r.toUnicode)}if(!r.composite){return Promise.resolve(this._buildSimpleFontToUnicode(r))}if(r.composite&&(r.cMap.builtInCMap&&!(r.cMap instanceof o.IdentityCMap)||r.cidSystemInfo.registry==="Adobe"&&(r.cidSystemInfo.ordering==="GB1"||r.cidSystemInfo.ordering==="CNS1"||r.cidSystemInfo.ordering==="Japan1"||r.cidSystemInfo.ordering==="Korea1"))){var t=r.cidSystemInfo.registry;var a=r.cidSystemInfo.ordering;var i=l.Name.get(t+"-"+a+"-UCS2");return o.CMapFactory.create({encoding:i,fetchBuiltInCMap:this.fetchBuiltInCMap,useCMap:null}).then(function(e){var t=r.cMap;var a=[];t.forEach(function(r,t){if(t>65535){throw new n.FormatError("Max size of CID is 65,535")}var i=e.lookup(t);if(i){a[r]=String.fromCharCode((i.charCodeAt(0)<<8)+i.charCodeAt(1))}});return new c.ToUnicodeMap(a)})}return Promise.resolve(new c.IdentityToUnicodeMap(r.firstChar,r.lastChar))},readToUnicode:function e(r){var t=r;if((0,l.isName)(t)){return o.CMapFactory.create({encoding:t,fetchBuiltInCMap:this.fetchBuiltInCMap,useCMap:null}).then(function(e){if(e instanceof o.IdentityCMap){return new c.IdentityToUnicodeMap(0,65535)}return new c.ToUnicodeMap(e.getMap())})}else if((0,l.isStream)(t)){return o.CMapFactory.create({encoding:t,fetchBuiltInCMap:this.fetchBuiltInCMap,useCMap:null}).then(function(e){if(e instanceof o.IdentityCMap){return new c.IdentityToUnicodeMap(0,65535)}var r=new Array(e.length);e.forEach(function(e,t){var a=[];for(var i=0;i<t.length;i+=2){var n=t.charCodeAt(i)<<8|t.charCodeAt(i+1);if((n&63488)!==55296){a.push(n);continue}i+=2;var o=t.charCodeAt(i)<<8|t.charCodeAt(i+1);a.push(((n&1023)<<10)+(o&1023)+65536)}r[e]=String.fromCharCode.apply(String,a)});return new c.ToUnicodeMap(r)})}return Promise.resolve(null)},readCidToGidMap:function e(r){var t=r.getBytes();var a=[];for(var i=0,n=t.length;i<n;i++){var o=t[i++]<<8|t[i];if(o===0){continue}var s=i>>1;a[s]=o}return a},extractWidths:function e(r,t,a){var i=this.xref;var n=[];var o=0;var s=[];var u;var f,h,d,v,g,m,p;if(a.composite){o=r.has("DW")?r.get("DW"):1e3;p=r.get("W");if(p){for(f=0,h=p.length;f<h;f++){g=i.fetchIfRef(p[f++]);m=i.fetchIfRef(p[f]);if(Array.isArray(m)){for(d=0,v=m.length;d<v;d++){n[g++]=i.fetchIfRef(m[d])}}else{var b=i.fetchIfRef(p[++f]);for(d=g;d<=m;d++){n[d]=b}}}}if(a.vertical){var y=r.getArray("DW2")||[880,-1e3];u=[y[1],o*.5,y[0]];y=r.get("W2");if(y){for(f=0,h=y.length;f<h;f++){g=i.fetchIfRef(y[f++]);m=i.fetchIfRef(y[f]);if(Array.isArray(m)){for(d=0,v=m.length;d<v;d++){s[g++]=[i.fetchIfRef(m[d++]),i.fetchIfRef(m[d++]),i.fetchIfRef(m[d])]}}else{var w=[i.fetchIfRef(y[++f]),i.fetchIfRef(y[++f]),i.fetchIfRef(y[++f])];for(d=g;d<=m;d++){s[d]=w}}}}}}else{var k=a.firstChar;p=r.get("Widths");if(p){d=k;for(f=0,h=p.length;f<h;f++){n[d++]=i.fetchIfRef(p[f])}o=parseFloat(t.get("MissingWidth"))||0}else{var S=r.get("BaseFont");if((0,l.isName)(S)){var C=this.getBaseFontMetrics(S.name);n=this.buildCharCodeToWidth(C.widths,a);o=C.defaultWidth}}}var x=true;var _=o;for(var A in n){var P=n[A];if(!P){continue}if(!_){_=P;continue}if(_!==P){x=false;break}}if(x){a.flags|=c.FontFlags.FixedPitch}a.defaultWidth=o;a.widths=n;a.defaultVMetrics=u;a.vmetrics=s},isSerifFont:function e(r){var t=r.split("-")[0];return t in(0,h.getSerifFonts)()||t.search(/serif/gi)!==-1},getBaseFontMetrics:function e(r){var t=0;var a=[];var i=false;var o=(0,h.getStdFontMap)();var s=o[r]||r;var l=(0,b.getMetrics)();if(!(s in l)){if(this.isSerifFont(r)){s="Times-Roman"}else{s="Helvetica"}}var c=l[s];if((0,n.isNum)(c)){t=c;i=true}else{a=c()}return{defaultWidth:t,monospace:i,widths:a}},buildCharCodeToWidth:function e(r,t){var a=Object.create(null);var i=t.differences;var n=t.defaultEncoding;for(var o=0;o<256;o++){if(o in i&&r[i[o]]){a[o]=r[i[o]];continue}if(o in n&&r[n[o]]){a[o]=r[n[o]];continue}}return a},preEvaluateFont:function e(r){var t=r;var a=r.get("Subtype");if(!(0,l.isName)(a)){throw new n.FormatError("invalid font Subtype")}var i=false;var o;if(a.name==="Type0"){var s=r.get("DescendantFonts");if(!s){throw new n.FormatError("Descendant fonts are not specified")}r=Array.isArray(s)?this.xref.fetchIfRef(s[0]):s;a=r.get("Subtype");if(!(0,l.isName)(a)){throw new n.FormatError("invalid font Subtype")}i=true}var c=r.get("FontDescriptor");if(c){var u=new k.MurmurHash3_64;var f=t.getRaw("Encoding");if((0,l.isName)(f)){u.update(f.name)}else if((0,l.isRef)(f)){u.update(f.toString())}else if((0,l.isDict)(f)){var h=f.getKeys();for(var d=0,v=h.length;d<v;d++){var g=f.getRaw(h[d]);if((0,l.isName)(g)){u.update(g.name)}else if((0,l.isRef)(g)){u.update(g.toString())}else if(Array.isArray(g)){var m=g.length,p=new Array(m);for(var b=0;b<m;b++){var y=g[b];if((0,l.isName)(y)){p[b]=y.name}else if((0,n.isNum)(y)||(0,l.isRef)(y)){p[b]=y.toString()}}u.update(p.join())}}}var w=r.get("ToUnicode")||t.get("ToUnicode");if((0,l.isStream)(w)){var S=w.str||w;o=S.buffer?new Uint8Array(S.buffer.buffer,0,S.bufferLength):new Uint8Array(S.bytes.buffer,S.start,S.end-S.start);u.update(o)}else if((0,l.isName)(w)){u.update(w.name)}var C=r.get("Widths")||t.get("Widths");if(C){o=new Uint8Array(new Uint32Array(C).buffer);u.update(o)}}return{descriptor:c,dict:r,baseDict:t,composite:i,type:a.name,hash:u?u.hexdigest():""}},translateFont:function e(r){var t=this;var a=r.baseDict;var i=r.dict;var s=r.composite;var u=r.descriptor;var f=r.type;var d=s?65535:255;var v;if(!u){if(f==="Type3"){u=new l.Dict(null);u.set("FontName",l.Name.get(f));u.set("FontBBox",i.getArray("FontBBox"))}else{var g=i.get("BaseFont");if(!(0,l.isName)(g)){throw new n.FormatError("Base font is not specified")}g=g.name.replace(/[,_]/g,"-");var m=this.getBaseFontMetrics(g);var p=g.split("-")[0];var b=(this.isSerifFont(p)?c.FontFlags.Serif:0)|(m.monospace?c.FontFlags.FixedPitch:0)|((0,h.getSymbolsFonts)()[p]?c.FontFlags.Symbolic:c.FontFlags.Nonsymbolic);v={type:f,name:g,widths:m.widths,defaultWidth:m.defaultWidth,flags:b,firstChar:0,lastChar:d};return this.extractDataStructures(i,i,v).then(function(e){e.widths=t.buildCharCodeToWidth(m.widths,e);return new c.Font(g,null,e)})}}var y=i.get("FirstChar")||0;var w=i.get("LastChar")||d;var k=u.get("FontName");var S=i.get("BaseFont");if((0,n.isString)(k)){k=l.Name.get(k)}if((0,n.isString)(S)){S=l.Name.get(S)}if(f!=="Type3"){var C=k&&k.name;var x=S&&S.name;if(C!==x){(0,n.info)("The FontDescriptor's FontName is \""+C+'" but should be the same as the Font\'s BaseFont "'+x+'"');if(C&&x&&x.indexOf(C)===0){k=S}}}k=k||S;if(!(0,l.isName)(k)){throw new n.FormatError("invalid font name")}var _=u.get("FontFile","FontFile2","FontFile3");if(_){if(_.dict){var A=_.dict.get("Subtype");if(A){A=A.name}var P=_.dict.get("Length1");var I=_.dict.get("Length2");var O=_.dict.get("Length3")}}v={type:f,name:k.name,subtype:A,file:_,length1:P,length2:I,length3:O,loadedName:a.loadedName,composite:s,wideChars:s,fixedPitch:false,fontMatrix:i.getArray("FontMatrix")||n.FONT_IDENTITY_MATRIX,firstChar:y||0,lastChar:w||d,bbox:u.getArray("FontBBox"),ascent:u.get("Ascent"),descent:u.get("Descent"),xHeight:u.get("XHeight"),capHeight:u.get("CapHeight"),flags:u.get("Flags"),italicAngle:u.get("ItalicAngle"),isType3Font:false};var T;if(s){var E=a.get("Encoding");if((0,l.isName)(E)){v.cidEncoding=E.name}T=o.CMapFactory.create({encoding:E,fetchBuiltInCMap:this.fetchBuiltInCMap,useCMap:null}).then(function(e){v.cMap=e;v.vertical=v.cMap.vertical})}else{T=Promise.resolve(undefined)}return T.then(function(){return t.extractDataStructures(i,a,v)}).then(function(e){t.extractWidths(i,u,e);if(f==="Type3"){e.isType3Font=true}return new c.Font(k.name,_,e)})}};return a}();var P=function e(){function r(e,r,t){this.loadedName=e;this.font=r;this.dict=t;this.type3Loaded=null;this.sent=false}r.prototype={send:function e(r){if(this.sent){return}var t=this.font.exportData();r.send("commonobj",[this.loadedName,"Font",t]);this.sent=true},loadType3Data:function e(r,t,a,i){if(!this.font.isType3Font){throw new Error("Must be a Type3 font.")}if(this.type3Loaded){return this.type3Loaded}var o=Object.create(r.options);o.ignoreErrors=false;var s=r.clone(o);var l=this.font;var c=Promise.resolve();var u=this.dict.get("CharProcs");var f=this.dict.get("Resources")||t;var h=u.getKeys();var d=Object.create(null);var v=function e(){var r=h[g];c=c.then(function(){var e=u.get(r);var t=new S.OperatorList;return s.getOperatorList({stream:e,task:i,resources:f,operatorList:t}).then(function(){d[r]=t.getIR();a.addDependencies(t.dependencies)}).catch(function(e){(0,n.warn)('Type3 font resource "'+r+'" is not available.');var t=new S.OperatorList;d[r]=t.getIR()})})};for(var g=0,m=h.length;g<m;++g){v()}this.type3Loaded=c.then(function(){l.charProcOperatorList=d});return this.type3Loaded}};return r}();var I=function e(){function r(e){this.state=e;this.stateStack=[]}r.prototype={save:function e(){var r=this.state;this.stateStack.push(this.state);this.state=r.clone()},restore:function e(){var r=this.stateStack.pop();if(r){this.state=r}},transform:function e(r){this.state.ctm=n.Util.transform(this.state.ctm,r)}};return r}();var O=function e(){function r(){this.ctm=new Float32Array(n.IDENTITY_MATRIX);this.fontName=null;this.fontSize=0;this.font=null;this.fontMatrix=n.FONT_IDENTITY_MATRIX;this.textMatrix=n.IDENTITY_MATRIX.slice();this.textLineMatrix=n.IDENTITY_MATRIX.slice();this.charSpacing=0;this.wordSpacing=0;this.leading=0;this.textHScale=1;this.textRise=0}r.prototype={setTextMatrix:function e(r,t,a,i,n,o){var s=this.textMatrix;s[0]=r;s[1]=t;s[2]=a;s[3]=i;s[4]=n;s[5]=o},setTextLineMatrix:function e(r,t,a,i,n,o){var s=this.textLineMatrix;s[0]=r;s[1]=t;s[2]=a;s[3]=i;s[4]=n;s[5]=o},translateTextMatrix:function e(r,t){var a=this.textMatrix;a[4]=a[0]*r+a[2]*t+a[4];a[5]=a[1]*r+a[3]*t+a[5]},translateTextLineMatrix:function e(r,t){var a=this.textLineMatrix;a[4]=a[0]*r+a[2]*t+a[4];a[5]=a[1]*r+a[3]*t+a[5]},calcTextLineMatrixAdvance:function e(r,t,a,i,n,o){var s=this.font;if(!s){return null}var l=this.textLineMatrix;if(!(r===l[0]&&t===l[1]&&a===l[2]&&i===l[3])){return null}var c=n-l[4],u=o-l[5];if(s.vertical&&c!==0||!s.vertical&&u!==0){return null}var f,h,d=r*i-t*a;if(s.vertical){f=-u*a/d;h=u*r/d}else{f=c*i/d;h=-c*t/d}return{width:f,height:h,value:s.vertical?h:f}},calcRenderMatrix:function e(r){var t=[this.fontSize*this.textHScale,0,0,this.fontSize,0,this.textRise];return n.Util.transform(r,n.Util.transform(this.textMatrix,t))},carriageReturn:function e(){this.translateTextLineMatrix(0,-this.leading);this.textMatrix=this.textLineMatrix.slice()},clone:function e(){var r=Object.create(this);r.textMatrix=this.textMatrix.slice();r.textLineMatrix=this.textLineMatrix.slice();r.fontMatrix=this.fontMatrix.slice();return r}};return r}();var T=function e(){function r(){this.ctm=new Float32Array(n.IDENTITY_MATRIX);this.font=null;this.textRenderingMode=n.TextRenderingMode.FILL;this.fillColorSpace=m.ColorSpace.singletons.gray;this.strokeColorSpace=m.ColorSpace.singletons.gray}r.prototype={clone:function e(){return Object.create(this)}};return r}();var E=function e(){var r=(0,n.getLookupTableFactory)(function(e){e["w"]={id:n.OPS.setLineWidth,numArgs:1,variableArgs:false};e["J"]={id:n.OPS.setLineCap,numArgs:1,variableArgs:false};e["j"]={id:n.OPS.setLineJoin,numArgs:1,variableArgs:false};e["M"]={id:n.OPS.setMiterLimit,numArgs:1,variableArgs:false};e["d"]={id:n.OPS.setDash,numArgs:2,variableArgs:false};e["ri"]={id:n.OPS.setRenderingIntent,numArgs:1,variableArgs:false};e["i"]={id:n.OPS.setFlatness,numArgs:1,variableArgs:false};e["gs"]={id:n.OPS.setGState,numArgs:1,variableArgs:false};e["q"]={id:n.OPS.save,numArgs:0,variableArgs:false};e["Q"]={id:n.OPS.restore,numArgs:0,variableArgs:false};e["cm"]={id:n.OPS.transform,numArgs:6,variableArgs:false};e["m"]={id:n.OPS.moveTo,numArgs:2,variableArgs:false};e["l"]={id:n.OPS.lineTo,numArgs:2,variableArgs:false};e["c"]={id:n.OPS.curveTo,numArgs:6,variableArgs:false};e["v"]={id:n.OPS.curveTo2,numArgs:4,variableArgs:false};e["y"]={id:n.OPS.curveTo3,numArgs:4,variableArgs:false};e["h"]={id:n.OPS.closePath,numArgs:0,variableArgs:false};e["re"]={id:n.OPS.rectangle,numArgs:4,variableArgs:false};e["S"]={id:n.OPS.stroke,numArgs:0,variableArgs:false};e["s"]={id:n.OPS.closeStroke,numArgs:0,variableArgs:false};e["f"]={id:n.OPS.fill,numArgs:0,variableArgs:false};e["F"]={id:n.OPS.fill,numArgs:0,variableArgs:false};e["f*"]={id:n.OPS.eoFill,numArgs:0,variableArgs:false};e["B"]={id:n.OPS.fillStroke,numArgs:0,variableArgs:false};e["B*"]={id:n.OPS.eoFillStroke,numArgs:0,variableArgs:false};e["b"]={id:n.OPS.closeFillStroke,numArgs:0,variableArgs:false};e["b*"]={id:n.OPS.closeEOFillStroke,numArgs:0,variableArgs:false};e["n"]={id:n.OPS.endPath,numArgs:0,variableArgs:false};e["W"]={id:n.OPS.clip,numArgs:0,variableArgs:false};e["W*"]={id:n.OPS.eoClip,numArgs:0,variableArgs:false};e["BT"]={id:n.OPS.beginText,numArgs:0,variableArgs:false};e["ET"]={id:n.OPS.endText,numArgs:0,variableArgs:false};e["Tc"]={id:n.OPS.setCharSpacing,numArgs:1,variableArgs:false};e["Tw"]={id:n.OPS.setWordSpacing,numArgs:1,variableArgs:false};e["Tz"]={id:n.OPS.setHScale,numArgs:1,variableArgs:false};e["TL"]={id:n.OPS.setLeading,numArgs:1,variableArgs:false};e["Tf"]={id:n.OPS.setFont,numArgs:2,variableArgs:false};e["Tr"]={id:n.OPS.setTextRenderingMode,numArgs:1,variableArgs:false};e["Ts"]={id:n.OPS.setTextRise,numArgs:1,variableArgs:false};e["Td"]={id:n.OPS.moveText,numArgs:2,variableArgs:false};e["TD"]={id:n.OPS.setLeadingMoveText,numArgs:2,variableArgs:false};e["Tm"]={id:n.OPS.setTextMatrix,numArgs:6,variableArgs:false};e["T*"]={id:n.OPS.nextLine,numArgs:0,variableArgs:false};e["Tj"]={id:n.OPS.showText,numArgs:1,variableArgs:false};e["TJ"]={id:n.OPS.showSpacedText,numArgs:1,variableArgs:false};e["'"]={id:n.OPS.nextLineShowText,numArgs:1,variableArgs:false};e['"']={id:n.OPS.nextLineSetSpacingShowText,numArgs:3,variableArgs:false};e["d0"]={id:n.OPS.setCharWidth,numArgs:2,variableArgs:false};e["d1"]={id:n.OPS.setCharWidthAndBounds,numArgs:6,variableArgs:false};e["CS"]={id:n.OPS.setStrokeColorSpace,numArgs:1,variableArgs:false};e["cs"]={id:n.OPS.setFillColorSpace,numArgs:1,variableArgs:false};e["SC"]={id:n.OPS.setStrokeColor,numArgs:4,variableArgs:true};e["SCN"]={id:n.OPS.setStrokeColorN,numArgs:33,variableArgs:true};e["sc"]={id:n.OPS.setFillColor,numArgs:4,variableArgs:true};e["scn"]={id:n.OPS.setFillColorN,numArgs:33,variableArgs:true};e["G"]={id:n.OPS.setStrokeGray,numArgs:1,variableArgs:false};e["g"]={id:n.OPS.setFillGray,numArgs:1,variableArgs:false};e["RG"]={id:n.OPS.setStrokeRGBColor,numArgs:3,variableArgs:false};e["rg"]={id:n.OPS.setFillRGBColor,numArgs:3,variableArgs:false};e["K"]={id:n.OPS.setStrokeCMYKColor,numArgs:4,variableArgs:false};e["k"]={id:n.OPS.setFillCMYKColor,numArgs:4,variableArgs:false};e["sh"]={id:n.OPS.shadingFill,numArgs:1,variableArgs:false};e["BI"]={id:n.OPS.beginInlineImage,numArgs:0,variableArgs:false};e["ID"]={id:n.OPS.beginImageData,numArgs:0,variableArgs:false};e["EI"]={id:n.OPS.endInlineImage,numArgs:1,variableArgs:false};e["Do"]={id:n.OPS.paintXObject,numArgs:1,variableArgs:false};e["MP"]={id:n.OPS.markPoint,numArgs:1,variableArgs:false};e["DP"]={id:n.OPS.markPointProps,numArgs:2,variableArgs:false};e["BMC"]={id:n.OPS.beginMarkedContent,numArgs:1,variableArgs:false};e["BDC"]={id:n.OPS.beginMarkedContentProps,numArgs:2,variableArgs:false};e["EMC"]={id:n.OPS.endMarkedContent,numArgs:0,variableArgs:false};e["BX"]={id:n.OPS.beginCompat,numArgs:0,variableArgs:false};e["EX"]={id:n.OPS.endCompat,numArgs:0,variableArgs:false};e["BM"]=null;e["BD"]=null;e["true"]=null;e["fa"]=null;e["fal"]=null;e["fals"]=null;e["false"]=null;e["nu"]=null;e["nul"]=null;e["null"]=null});var t=20;function a(e,t,a){this.opMap=r();this.parser=new v.Parser(new v.Lexer(e,this.opMap),false,t);this.stateManager=a;this.nonProcessedArgs=[];this._numInvalidPathOPS=0}a.prototype={get savedStatesDepth(){return this.stateManager.stateStack.length},read:function e(r){var a=r.args;while(true){var i=this.parser.getObj();if((0,l.isCmd)(i)){var o=i.cmd;var s=this.opMap[o];if(!s){(0,n.warn)('Unknown command "'+o+'".');continue}var c=s.id;var u=s.numArgs;var f=a!==null?a.length:0;if(!s.variableArgs){if(f!==u){var h=this.nonProcessedArgs;while(f>u){h.push(a.shift());f--}while(f<u&&h.length!==0){if(a===null){a=[]}a.unshift(h.pop());f++}}if(f<u){var d="command "+o+": expected "+u+" args, "+("but received "+f+" args.");if(c>=n.OPS.moveTo&&c<=n.OPS.endPath&&++this._numInvalidPathOPS>t){throw new n.FormatError("Invalid "+d)}(0,n.warn)("Skipping "+d);if(a!==null){a.length=0}continue}}else if(f>u){(0,n.info)("Command "+o+": expected [0, "+u+"] args, "+("but received "+f+" args."))}this.preprocessCommand(c,a);r.fn=c;r.args=a;return true}if((0,l.isEOF)(i)){return false}if(i!==null){if(a===null){a=[]}a.push(i);if(a.length>33){throw new n.FormatError("Too many arguments")}}}},preprocessCommand:function e(r,t){switch(r|0){case n.OPS.save:this.stateManager.save();break;case n.OPS.restore:this.stateManager.restore();break;case n.OPS.transform:this.stateManager.transform(t);break}}};return a}();r.PartialEvaluator=A},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:true});r.CMapFactory=r.IdentityCMap=r.CMap=undefined;var a=function(){function e(e,r){for(var t=0;t<r.length;t++){var a=r[t];a.enumerable=a.enumerable||false;a.configurable=true;if("value"in a)a.writable=true;Object.defineProperty(e,a.key,a)}}return function(r,t,a){if(t)e(r.prototype,t);if(a)e(r,a);return r}}();var i=t(2);var n=t(138);var o=t(139);var s=t(140);function l(e,r){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return r&&(typeof r==="object"||typeof r==="function")?r:e}function c(e,r){if(typeof r!=="function"&&r!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof r)}e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(r)Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r}function u(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}var f=["Adobe-GB1-UCS2","Adobe-CNS1-UCS2","Adobe-Japan1-UCS2","Adobe-Korea1-UCS2","78-EUC-H","78-EUC-V","78-H","78-RKSJ-H","78-RKSJ-V","78-V","78ms-RKSJ-H","78ms-RKSJ-V","83pv-RKSJ-H","90ms-RKSJ-H","90ms-RKSJ-V","90msp-RKSJ-H","90msp-RKSJ-V","90pv-RKSJ-H","90pv-RKSJ-V","Add-H","Add-RKSJ-H","Add-RKSJ-V","Add-V","Adobe-CNS1-0","Adobe-CNS1-1","Adobe-CNS1-2","Adobe-CNS1-3","Adobe-CNS1-4","Adobe-CNS1-5","Adobe-CNS1-6","Adobe-GB1-0","Adobe-GB1-1","Adobe-GB1-2","Adobe-GB1-3","Adobe-GB1-4","Adobe-GB1-5","Adobe-Japan1-0","Adobe-Japan1-1","Adobe-Japan1-2","Adobe-Japan1-3","Adobe-Japan1-4","Adobe-Japan1-5","Adobe-Japan1-6","Adobe-Korea1-0","Adobe-Korea1-1","Adobe-Korea1-2","B5-H","B5-V","B5pc-H","B5pc-V","CNS-EUC-H","CNS-EUC-V","CNS1-H","CNS1-V","CNS2-H","CNS2-V","ETHK-B5-H","ETHK-B5-V","ETen-B5-H","ETen-B5-V","ETenms-B5-H","ETenms-B5-V","EUC-H","EUC-V","Ext-H","Ext-RKSJ-H","Ext-RKSJ-V","Ext-V","GB-EUC-H","GB-EUC-V","GB-H","GB-V","GBK-EUC-H","GBK-EUC-V","GBK2K-H","GBK2K-V","GBKp-EUC-H","GBKp-EUC-V","GBT-EUC-H","GBT-EUC-V","GBT-H","GBT-V","GBTpc-EUC-H","GBTpc-EUC-V","GBpc-EUC-H","GBpc-EUC-V","H","HKdla-B5-H","HKdla-B5-V","HKdlb-B5-H","HKdlb-B5-V","HKgccs-B5-H","HKgccs-B5-V","HKm314-B5-H","HKm314-B5-V","HKm471-B5-H","HKm471-B5-V","HKscs-B5-H","HKscs-B5-V","Hankaku","Hiragana","KSC-EUC-H","KSC-EUC-V","KSC-H","KSC-Johab-H","KSC-Johab-V","KSC-V","KSCms-UHC-H","KSCms-UHC-HW-H","KSCms-UHC-HW-V","KSCms-UHC-V","KSCpc-EUC-H","KSCpc-EUC-V","Katakana","NWP-H","NWP-V","RKSJ-H","RKSJ-V","Roman","UniCNS-UCS2-H","UniCNS-UCS2-V","UniCNS-UTF16-H","UniCNS-UTF16-V","UniCNS-UTF32-H","UniCNS-UTF32-V","UniCNS-UTF8-H","UniCNS-UTF8-V","UniGB-UCS2-H","UniGB-UCS2-V","UniGB-UTF16-H","UniGB-UTF16-V","UniGB-UTF32-H","UniGB-UTF32-V","UniGB-UTF8-H","UniGB-UTF8-V","UniJIS-UCS2-H","UniJIS-UCS2-HW-H","UniJIS-UCS2-HW-V","UniJIS-UCS2-V","UniJIS-UTF16-H","UniJIS-UTF16-V","UniJIS-UTF32-H","UniJIS-UTF32-V","UniJIS-UTF8-H","UniJIS-UTF8-V","UniJIS2004-UTF16-H","UniJIS2004-UTF16-V","UniJIS2004-UTF32-H","UniJIS2004-UTF32-V","UniJIS2004-UTF8-H","UniJIS2004-UTF8-V","UniJISPro-UCS2-HW-V","UniJISPro-UCS2-V","UniJISPro-UTF8-V","UniJISX0213-UTF32-H","UniJISX0213-UTF32-V","UniJISX02132004-UTF32-H","UniJISX02132004-UTF32-V","UniKS-UCS2-H","UniKS-UCS2-V","UniKS-UTF16-H","UniKS-UTF16-V","UniKS-UTF32-H","UniKS-UTF32-V","UniKS-UTF8-H","UniKS-UTF8-V","V","WP-Symbol"];var h=function(){function e(){var r=arguments.length>0&&arguments[0]!==undefined?arguments[0]:false;u(this,e);this.codespaceRanges=[[],[],[],[]];this.numCodespaceRanges=0;this._map=[];this.name="";this.vertical=false;this.useCMap=null;this.builtInCMap=r}a(e,[{key:"addCodespaceRange",value:function e(r,t,a){this.codespaceRanges[r-1].push(t,a);this.numCodespaceRanges++}},{key:"mapCidRange",value:function e(r,t,a){while(r<=t){this._map[r++]=a++}}},{key:"mapBfRange",value:function e(r,t,a){var i=a.length-1;while(r<=t){this._map[r++]=a;a=a.substring(0,i)+String.fromCharCode(a.charCodeAt(i)+1)}}},{key:"mapBfRangeToArray",value:function e(r,t,a){var i=0,n=a.length;while(r<=t&&i<n){this._map[r]=a[i++];++r}}},{key:"mapOne",value:function e(r,t){this._map[r]=t}},{key:"lookup",value:function e(r){return this._map[r]}},{key:"contains",value:function e(r){return this._map[r]!==undefined}},{key:"forEach",value:function e(r){var t=this._map;var a=t.length;if(a<=65536){for(var i=0;i<a;i++){if(t[i]!==undefined){r(i,t[i])}}}else{for(var n in t){r(n,t[n])}}}},{key:"charCodeOf",value:function e(r){var t=this._map;if(t.length<=65536){return t.indexOf(r)}for(var a in t){if(t[a]===r){return a|0}}return-1}},{key:"getMap",value:function e(){return this._map}},{key:"readCharCode",value:function e(r,t,a){var i=0;var n=this.codespaceRanges;for(var o=0,s=n.length;o<s;o++){i=(i<<8|r.charCodeAt(t+o))>>>0;var l=n[o];for(var c=0,u=l.length;c<u;){var f=l[c++];var h=l[c++];if(i>=f&&i<=h){a.charcode=i;a.length=o+1;return}}}a.charcode=0;a.length=1}},{key:"length",get:function e(){return this._map.length}},{key:"isIdentityCMap",get:function e(){if(!(this.name==="Identity-H"||this.name==="Identity-V")){return false}if(this._map.length!==65536){return false}for(var r=0;r<65536;r++){if(this._map[r]!==r){return false}}return true}}]);return e}();var d=function(e){c(r,e);function r(e,t){u(this,r);var a=l(this,(r.__proto__||Object.getPrototypeOf(r)).call(this));a.vertical=e;a.addCodespaceRange(t,0,65535);return a}a(r,[{key:"mapCidRange",value:function e(r,t,a){(0,i.unreachable)("should not call mapCidRange")}},{key:"mapBfRange",value:function e(r,t,a){(0,i.unreachable)("should not call mapBfRange")}},{key:"mapBfRangeToArray",value:function e(r,t,a){(0,i.unreachable)("should not call mapBfRangeToArray")}},{key:"mapOne",value:function e(r,t){(0,i.unreachable)("should not call mapCidOne")}},{key:"lookup",value:function e(r){return Number.isInteger(r)&&r<=65535?r:undefined}},{key:"contains",value:function e(r){return Number.isInteger(r)&&r<=65535}},{key:"forEach",value:function e(r){for(var t=0;t<=65535;t++){r(t,t)}}},{key:"charCodeOf",value:function e(r){return Number.isInteger(r)&&r<=65535?r:-1}},{key:"getMap",value:function e(){var r=new Array(65536);for(var t=0;t<=65535;t++){r[t]=t}return r}},{key:"length",get:function e(){return 65536}},{key:"isIdentityCMap",get:function e(){(0,i.unreachable)("should not access .isIdentityCMap")}}]);return r}(h);var v=function e(){function r(e,r){var t=0;for(var a=0;a<=r;a++){t=t<<8|e[a]}return t>>>0}function t(e,r){if(r===1){return String.fromCharCode(e[0],e[1])}if(r===3){return String.fromCharCode(e[0],e[1],e[2],e[3])}return String.fromCharCode.apply(null,e.subarray(0,r+1))}function a(e,r,t){var a=0;for(var i=t;i>=0;i--){a+=e[i]+r[i];e[i]=a&255;a>>=8}}function n(e,r){var t=1;for(var a=r;a>=0&&t>0;a--){t+=e[a];e[a]=t&255;t>>=8}}var o=16;var s=19;function l(e){this.buffer=e;this.pos=0;this.end=e.length;this.tmpBuf=new Uint8Array(s)}l.prototype={readByte:function e(){if(this.pos>=this.end){return-1}return this.buffer[this.pos++]},readNumber:function e(){var r=0;var t;do{var a=this.readByte();if(a<0){throw new i.FormatError("unexpected EOF in bcmap")}t=!(a&128);r=r<<7|a&127}while(!t);return r},readSigned:function e(){var r=this.readNumber();return r&1?~(r>>>1):r>>>1},readHex:function e(r,t){r.set(this.buffer.subarray(this.pos,this.pos+t+1));this.pos+=t+1},readHexNumber:function e(r,t){var a;var n=this.tmpBuf,o=0;do{var s=this.readByte();if(s<0){throw new i.FormatError("unexpected EOF in bcmap")}a=!(s&128);n[o++]=s&127}while(!a);var l=t,c=0,u=0;while(l>=0){while(u<8&&n.length>0){c=n[--o]<<u|c;u+=7}r[l]=c&255;l--;c>>=8;u-=8}},readHexSigned:function e(r,t){this.readHexNumber(r,t);var a=r[t]&1?255:0;var i=0;for(var n=0;n<=t;n++){i=(i&1)<<8|r[n];r[n]=i>>1^a}},readString:function e(){var r=this.readNumber();var t="";for(var a=0;a<r;a++){t+=String.fromCharCode(this.readNumber())}return t}};function c(e,i,s){return new Promise(function(c,u){var f=new l(e);var h=f.readByte();i.vertical=!!(h&1);var d=null;var v=new Uint8Array(o);var g=new Uint8Array(o);var m=new Uint8Array(o);var p=new Uint8Array(o);var b=new Uint8Array(o);var y;var w;while((w=f.readByte())>=0){var k=w>>5;if(k===7){switch(w&31){case 0:f.readString();break;case 1:d=f.readString();break}continue}var S=!!(w&16);var C=w&15;if(C+1>o){throw new Error("processBinaryCMap: Invalid dataSize.")}var x=1;var _=f.readNumber();var A;switch(k){case 0:f.readHex(v,C);f.readHexNumber(g,C);a(g,v,C);i.addCodespaceRange(C+1,r(v,C),r(g,C));for(A=1;A<_;A++){n(g,C);f.readHexNumber(v,C);a(v,g,C);f.readHexNumber(g,C);a(g,v,C);i.addCodespaceRange(C+1,r(v,C),r(g,C))}break;case 1:f.readHex(v,C);f.readHexNumber(g,C);a(g,v,C);f.readNumber();for(A=1;A<_;A++){n(g,C);f.readHexNumber(v,C);a(v,g,C);f.readHexNumber(g,C);a(g,v,C);f.readNumber()}break;case 2:f.readHex(m,C);y=f.readNumber();i.mapOne(r(m,C),y);for(A=1;A<_;A++){n(m,C);if(!S){f.readHexNumber(b,C);a(m,b,C)}y=f.readSigned()+(y+1);i.mapOne(r(m,C),y)}break;case 3:f.readHex(v,C);f.readHexNumber(g,C);a(g,v,C);y=f.readNumber();i.mapCidRange(r(v,C),r(g,C),y);for(A=1;A<_;A++){n(g,C);if(!S){f.readHexNumber(v,C);a(v,g,C)}else{v.set(g)}f.readHexNumber(g,C);a(g,v,C);y=f.readNumber();i.mapCidRange(r(v,C),r(g,C),y)}break;case 4:f.readHex(m,x);f.readHex(p,C);i.mapOne(r(m,x),t(p,C));for(A=1;A<_;A++){n(m,x);if(!S){f.readHexNumber(b,x);a(m,b,x)}n(p,C);f.readHexSigned(b,C);a(p,b,C);i.mapOne(r(m,x),t(p,C))}break;case 5:f.readHex(v,x);f.readHexNumber(g,x);a(g,v,x);f.readHex(p,C);i.mapBfRange(r(v,x),r(g,x),t(p,C));for(A=1;A<_;A++){n(g,x);if(!S){f.readHexNumber(v,x);a(v,g,x)}else{v.set(g)}f.readHexNumber(g,x);a(g,v,x);f.readHex(p,C);i.mapBfRange(r(v,x),r(g,x),t(p,C))}break;default:u(new Error("processBinaryCMap: Unknown type: "+k));return}}if(d){c(s(d));return}c(i)})}function u(){}u.prototype={process:c};return u}();var g=function e(){function r(e){var r=0;for(var t=0;t<e.length;t++){r=r<<8|e.charCodeAt(t)}return r>>>0}function t(e){if(!(0,i.isString)(e)){throw new i.FormatError("Malformed CMap: expected string.")}}function a(e){if(!Number.isInteger(e)){throw new i.FormatError("Malformed CMap: expected int.")}}function l(e,a){while(true){var i=a.getObj();if((0,n.isEOF)(i)){break}if((0,n.isCmd)(i,"endbfchar")){return}t(i);var o=r(i);i=a.getObj();t(i);var s=i;e.mapOne(o,s)}}function c(e,a){while(true){var o=a.getObj();if((0,n.isEOF)(o)){break}if((0,n.isCmd)(o,"endbfrange")){return}t(o);var s=r(o);o=a.getObj();t(o);var l=r(o);o=a.getObj();if(Number.isInteger(o)||(0,i.isString)(o)){var c=Number.isInteger(o)?String.fromCharCode(o):o;e.mapBfRange(s,l,c)}else if((0,n.isCmd)(o,"[")){o=a.getObj();var u=[];while(!(0,n.isCmd)(o,"]")&&!(0,n.isEOF)(o)){u.push(o);o=a.getObj()}e.mapBfRangeToArray(s,l,u)}else{break}}throw new i.FormatError("Invalid bf range.")}function u(e,i){while(true){var o=i.getObj();if((0,n.isEOF)(o)){break}if((0,n.isCmd)(o,"endcidchar")){return}t(o);var s=r(o);o=i.getObj();a(o);var l=o;e.mapOne(s,l)}}function g(e,i){while(true){var o=i.getObj();if((0,n.isEOF)(o)){break}if((0,n.isCmd)(o,"endcidrange")){return}t(o);var s=r(o);o=i.getObj();t(o);var l=r(o);o=i.getObj();a(o);var c=o;e.mapCidRange(s,l,c)}}function m(e,t){while(true){var a=t.getObj();if((0,n.isEOF)(a)){break}if((0,n.isCmd)(a,"endcodespacerange")){return}if(!(0,i.isString)(a)){break}var o=r(a);a=t.getObj();if(!(0,i.isString)(a)){break}var s=r(a);e.addCodespaceRange(a.length,o,s)}throw new i.FormatError("Invalid codespace range.")}function p(e,r){var t=r.getObj();if(Number.isInteger(t)){e.vertical=!!t}}function b(e,r){var t=r.getObj();if((0,n.isName)(t)&&(0,i.isString)(t.name)){e.name=t.name}}function y(e,r,t,a){var o;var s;e:while(true){try{var f=r.getObj();if((0,n.isEOF)(f)){break}else if((0,n.isName)(f)){if(f.name==="WMode"){p(e,r)}else if(f.name==="CMapName"){b(e,r)}o=f}else if((0,n.isCmd)(f)){switch(f.cmd){case"endcmap":break e;case"usecmap":if((0,n.isName)(o)){s=o.name}break;case"begincodespacerange":m(e,r);break;case"beginbfchar":l(e,r);break;case"begincidchar":u(e,r);break;case"beginbfrange":c(e,r);break;case"begincidrange":g(e,r);break}}}catch(e){if(e instanceof i.MissingDataException){throw e}(0,i.warn)("Invalid cMap data: "+e);continue}}if(!a&&s){a=s}if(a){return w(e,t,a)}return Promise.resolve(e)}function w(e,r,t){return k(t,r).then(function(r){e.useCMap=r;if(e.numCodespaceRanges===0){var t=e.useCMap.codespaceRanges;for(var a=0;a<t.length;a++){e.codespaceRanges[a]=t[a].slice()}e.numCodespaceRanges=e.useCMap.numCodespaceRanges}e.useCMap.forEach(function(r,t){if(!e.contains(r)){e.mapOne(r,e.useCMap.lookup(r))}});return e})}function k(e,r){if(e==="Identity-H"){return Promise.resolve(new d(false,2))}else if(e==="Identity-V"){return Promise.resolve(new d(true,2))}if(!f.includes(e)){return Promise.reject(new Error("Unknown CMap name: "+e))}if(!r){return Promise.reject(new Error("Built-in CMap parameters are not provided."))}return r(e).then(function(e){var t=e.cMapData,a=e.compressionType;var n=new h(true);if(a===i.CMapCompressionType.BINARY){return(new v).process(t,n,function(e){return w(n,r,e)})}if(a===i.CMapCompressionType.NONE){var l=new o.Lexer(new s.Stream(t));return y(n,l,r,null)}return Promise.reject(new Error("TODO: Only BINARY/NONE CMap compression is currently supported."))})}return{create:function e(r){var t=r.encoding;var a=r.fetchBuiltInCMap;var i=r.useCMap;if((0,n.isName)(t)){return k(t.name,a)}else if((0,n.isStream)(t)){var s=new h;var l=new o.Lexer(t);return y(s,l,a,i).then(function(e){if(e.isIdentityCMap){return k(e.name,a)}return e})}return Promise.reject(new Error("Encoding required."))}}}();r.CMap=h;r.IdentityCMap=d;r.CMapFactory=g},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:true});r.getFontType=r.IdentityToUnicodeMap=r.ToUnicodeMap=r.FontFlags=r.Font=r.ErrorFont=r.SEAC_ANALYSIS_ENABLED=undefined;var a=function(){function e(e,r){var t=[];var a=true;var i=false;var n=undefined;try{for(var o=e[Symbol.iterator](),s;!(a=(s=o.next()).done);a=true){t.push(s.value);if(r&&t.length===r)break}}catch(e){i=true;n=e}finally{try{if(!a&&o["return"])o["return"]()}finally{if(i)throw n}}return t}return function(r,t){if(Array.isArray(r)){return r}else if(Symbol.iterator in Object(r)){return e(r,t)}else{throw new TypeError("Invalid attempt to destructure non-iterable instance")}}}();var i=t(2);var n=t(157);var o=t(160);var s=t(159);var l=t(161);var c=t(162);var u=t(163);var f=t(155);var h=t(140);var d=t(164);var v=[[57344,63743],[1048576,1114109]];var g=1e3;var m=true;var p={FixedPitch:1,Serif:2,Symbolic:4,Script:8,Nonsymbolic:32,Italic:64,AllCap:65536,SmallCap:131072,ForceBold:262144};var b=[".notdef",".null","nonmarkingreturn","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quotesingle","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","grave","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","Adieresis","Aring","Ccedilla","Eacute","Ntilde","Odieresis","Udieresis","aacute","agrave","acircumflex","adieresis","atilde","aring","ccedilla","eacute","egrave","ecircumflex","edieresis","iacute","igrave","icircumflex","idieresis","ntilde","oacute","ograve","ocircumflex","odieresis","otilde","uacute","ugrave","ucircumflex","udieresis","dagger","degree","cent","sterling","section","bullet","paragraph","germandbls","registered","copyright","trademark","acute","dieresis","notequal","AE","Oslash","infinity","plusminus","lessequal","greaterequal","yen","mu","partialdiff","summation","product","pi","integral","ordfeminine","ordmasculine","Omega","ae","oslash","questiondown","exclamdown","logicalnot","radical","florin","approxequal","Delta","guillemotleft","guillemotright","ellipsis","nonbreakingspace","Agrave","Atilde","Otilde","OE","oe","endash","emdash","quotedblleft","quotedblright","quoteleft","quoteright","divide","lozenge","ydieresis","Ydieresis","fraction","currency","guilsinglleft","guilsinglright","fi","fl","daggerdbl","periodcentered","quotesinglbase","quotedblbase","perthousand","Acircumflex","Ecircumflex","Aacute","Edieresis","Egrave","Iacute","Icircumflex","Idieresis","Igrave","Oacute","Ocircumflex","apple","Ograve","Uacute","Ucircumflex","Ugrave","dotlessi","circumflex","tilde","macron","breve","dotaccent","ring","cedilla","hungarumlaut","ogonek","caron","Lslash","lslash","Scaron","scaron","Zcaron","zcaron","brokenbar","Eth","eth","Yacute","yacute","Thorn","thorn","minus","multiply","onesuperior","twosuperior","threesuperior","onehalf","onequarter","threequarters","franc","Gbreve","gbreve","Idotaccent","Scedilla","scedilla","Cacute","cacute","Ccaron","ccaron","dcroat"];function y(e){if(!e.fontMatrix){return}if(e.fontMatrix[0]===i.FONT_IDENTITY_MATRIX[0]){return}var r=.001/e.fontMatrix[0];var t=e.widths;for(var a in t){t[a]*=r}e.defaultWidth*=r}function w(e,r){if(e.hasIncludedToUnicodeMap){return}if(e.hasEncoding){return}if(r===e.defaultEncoding){return}if(e.toUnicode instanceof _){return}var t=[],a=(0,o.getGlyphsUnicode)();for(var i in r){var n=r[i];var s=(0,c.getUnicodeForGlyph)(n,a);if(s!==-1){t[i]=String.fromCharCode(s)}}e.toUnicode.amend(t)}function k(e,r){switch(e){case"Type1":return r==="Type1C"?i.FontType.TYPE1C:i.FontType.TYPE1;case"CIDFontType0":return r==="CIDFontType0C"?i.FontType.CIDFONTTYPE0C:i.FontType.CIDFONTTYPE0;case"OpenType":return i.FontType.OPENTYPE;case"TrueType":return i.FontType.TRUETYPE;case"CIDFontType2":return i.FontType.CIDFONTTYPE2;case"MMType1":return i.FontType.MMTYPE1;case"Type0":return i.FontType.TYPE0;default:return i.FontType.UNKNOWN}}function S(e,r){if(r[e]!==undefined){return e}var t=(0,c.getUnicodeForGlyph)(e,r);if(t!==-1){for(var a in r){if(r[a]===t){return a}}}(0,i.info)("Unable to recover a standard glyph name for: "+e);return e}var C=function e(){function r(e,r,t,a,i,n,o,s){this.fontChar=e;this.unicode=r;this.accent=t;this.width=a;this.vmetric=i;this.operatorListId=n;this.isSpace=o;this.isInFont=s}r.prototype.matchesForCache=function(e,r,t,a,i,n,o,s){return this.fontChar===e&&this.unicode===r&&this.accent===t&&this.width===a&&this.vmetric===i&&this.operatorListId===n&&this.isSpace===o&&this.isInFont===s};return r}();var x=function e(){function r(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:[];this._map=e}r.prototype={get length(){return this._map.length},forEach:function e(r){for(var t in this._map){r(t,this._map[t].charCodeAt(0))}},has:function e(r){return this._map[r]!==undefined},get:function e(r){return this._map[r]},charCodeOf:function e(r){var t=this._map;if(t.length<=65536){return t.indexOf(r)}for(var a in t){if(t[a]===r){return a|0}}return-1},amend:function e(r){for(var t in r){this._map[t]=r[t]}}};return r}();var _=function e(){function r(e,r){this.firstChar=e;this.lastChar=r}r.prototype={get length(){return this.lastChar+1-this.firstChar},forEach:function e(r){for(var t=this.firstChar,a=this.lastChar;t<=a;t++){r(t,t)}},has:function e(r){return this.firstChar<=r&&r<=this.lastChar},get:function e(r){if(this.firstChar<=r&&r<=this.lastChar){return String.fromCharCode(r)}return undefined},charCodeOf:function e(r){return Number.isInteger(r)&&r>=this.firstChar&&r<=this.lastChar?r:-1},amend:function e(r){(0,i.unreachable)("Should not call amend()")}};return r}();var A=function e(){function r(e,r,t){e[r]=t>>8&255;e[r+1]=t&255}function t(e,r,t){e[r]=t>>24&255;e[r+1]=t>>16&255;e[r+2]=t>>8&255;e[r+3]=t&255}function a(e,r,t){var a,i;if(t instanceof Uint8Array){e.set(t,r)}else if(typeof t==="string"){for(a=0,i=t.length;a<i;a++){e[r++]=t.charCodeAt(a)&255}}else{for(a=0,i=t.length;a<i;a++){e[r++]=t[a]&255}}}function n(e){this.sfnt=e;this.tables=Object.create(null)}n.getSearchParams=function e(r,t){var a=1,i=0;while((a^r)>a){a<<=1;i++}var n=a*t;return{range:n,entry:i,rangeShift:t*r-n}};var o=12;var s=16;n.prototype={toArray:function e(){var l=this.sfnt;var c=this.tables;var u=Object.keys(c);u.sort();var f=u.length;var h,d,v,g,m;var p=o+f*s;var b=[p];for(h=0;h<f;h++){g=c[u[h]];var y=(g.length+3&~3)>>>0;p+=y;b.push(p)}var w=new Uint8Array(p);for(h=0;h<f;h++){g=c[u[h]];a(w,b[h],g)}if(l==="true"){l=(0,i.string32)(65536)}w[0]=l.charCodeAt(0)&255;w[1]=l.charCodeAt(1)&255;w[2]=l.charCodeAt(2)&255;w[3]=l.charCodeAt(3)&255;r(w,4,f);var k=n.getSearchParams(f,16);r(w,6,k.range);r(w,8,k.entry);r(w,10,k.rangeShift);p=o;for(h=0;h<f;h++){m=u[h];w[p]=m.charCodeAt(0)&255;w[p+1]=m.charCodeAt(1)&255;w[p+2]=m.charCodeAt(2)&255;w[p+3]=m.charCodeAt(3)&255;var S=0;for(d=b[h],v=b[h+1];d<v;d+=4){var C=(0,i.readUint32)(w,d);S=S+C>>>0}t(w,p+4,S);t(w,p+8,b[h]);t(w,p+12,c[m].length);p+=s}return w},addTable:function e(r,t){if(r in this.tables){throw new Error("Table "+r+" already exists")}this.tables[r]=t}};return n}();var P=function e(){function r(e,r,t){var n;this.name=e;this.loadedName=t.loadedName;this.isType3Font=t.isType3Font;this.sizes=[];this.missingFile=false;this.glyphCache=Object.create(null);this.isSerifFont=!!(t.flags&p.Serif);this.isSymbolicFont=!!(t.flags&p.Symbolic);this.isMonospace=!!(t.flags&p.FixedPitch);var o=t.type;var s=t.subtype;this.type=o;this.subtype=s;this.fallbackName=this.isMonospace?"monospace":this.isSerifFont?"serif":"sans-serif";this.differences=t.differences;this.widths=t.widths;this.defaultWidth=t.defaultWidth;this.composite=t.composite;this.wideChars=t.wideChars;this.cMap=t.cMap;this.ascent=t.ascent/g;this.descent=t.descent/g;this.fontMatrix=t.fontMatrix;this.bbox=t.bbox;this.defaultEncoding=t.defaultEncoding;this.toUnicode=t.toUnicode;this.fallbackToUnicode=t.fallbackToUnicode||new x;this.toFontChar=[];if(t.type==="Type3"){for(n=0;n<256;n++){this.toFontChar[n]=this.differences[n]||t.defaultEncoding[n]}this.fontType=i.FontType.TYPE3;return}this.cidEncoding=t.cidEncoding;this.vertical=t.vertical;if(this.vertical){this.vmetrics=t.vmetrics;this.defaultVMetrics=t.defaultVMetrics}if(!r||r.isEmpty){if(r){(0,i.warn)('Font file is empty in "'+e+'" ('+this.loadedName+")")}this.fallbackToSystemFont();return}var l=N(r,t);var c=a(l,2);o=c[0];s=c[1];if(o!==this.type||s!==this.subtype){(0,i.info)("Inconsistent font file Type/SubType, expected: "+(this.type+"/"+this.subtype+" but found: "+o+"/"+s+"."))}try{var u;switch(o){case"MMType1":(0,i.info)("MMType1 font ("+e+"), falling back to Type1.");case"Type1":case"CIDFontType0":this.mimetype="font/opentype";var f=s==="Type1C"||s==="CIDFontType0C"?new E(r,t):new T(e,r,t);y(t);u=this.convert(e,f,t);break;case"OpenType":case"TrueType":case"CIDFontType2":this.mimetype="font/opentype";u=this.checkAndRepair(e,r,t);if(this.isOpenType){y(t);o="OpenType"}break;default:throw new i.FormatError("Font "+o+" is not supported")}}catch(e){(0,i.warn)(e);this.fallbackToSystemFont();return}this.data=u;this.fontType=k(o,s);this.fontMatrix=t.fontMatrix;this.widths=t.widths;this.defaultWidth=t.defaultWidth;this.toUnicode=t.toUnicode;this.encoding=t.baseEncoding;this.seacMap=t.seacMap}r.getFontID=function(){var e=1;return function r(){return String(e++)}}();function t(e,r){return(e<<8)+r}function d(e,r,t){e[r+1]=t;e[r]=t>>>8}function P(e,r){var t=(e<<8)+r;return t&1<<15?t-65536:t}function I(e,r,t,a){return(e<<24)+(r<<16)+(t<<8)+a}function O(e){return String.fromCharCode(e>>8&255,e&255)}function F(e){e=e>32767?32767:e<-32768?-32768:e;return String.fromCharCode(e>>8&255,e&255)}function R(e){var r=e.peekBytes(4);return(0,i.readUint32)(r,0)===65536||(0,i.bytesToString)(r)==="true"}function B(e){var r=e.peekBytes(4);return(0,i.bytesToString)(r)==="ttcf"}function D(e){var r=e.peekBytes(4);return(0,i.bytesToString)(r)==="OTTO"}function M(e){var r=e.peekBytes(2);if(r[0]===37&&r[1]===33){return true}if(r[0]===128&&r[1]===1){return true}return false}function L(e){var r=e.peekBytes(4);if(r[0]>=1&&r[3]>=1&&r[3]<=4){return true}return false}function N(e,r){var t=r.type,a=r.subtype,n=r.composite;var o=void 0,s=void 0;if(R(e)||B(e)){if(n){o="CIDFontType2"}else{o="TrueType"}}else if(D(e)){if(n){o="CIDFontType2"}else{o="OpenType"}}else if(M(e)){if(n){o="CIDFontType0"}else{o=t==="MMType1"?"MMType1":"Type1"}}else if(L(e)){if(n){o="CIDFontType0";s="CIDFontType0C"}else{o=t==="MMType1"?"MMType1":"Type1";s="Type1C"}}else{(0,i.warn)("getFontFileType: Unable to detect correct font file Type/Subtype.");o=t;s=a}return[o,s]}function U(e,r,t){var a=[],i;for(var n=0,o=e.length;n<o;n++){i=(0,c.getUnicodeForGlyph)(e[n],r);if(i!==-1){a[n]=i}}for(var s in t){i=(0,c.getUnicodeForGlyph)(t[s],r);if(i!==-1){a[+s]=i}}return a}function q(e,r,t){var a=Object.create(null);var n=[];var o=0;var s=v[o][0];var l=v[o][1];for(var c in e){c|=0;var u=e[c];if(!r(u)){continue}if(s>l){o++;if(o>=v.length){(0,i.warn)("Ran out of space in font private use area.");break}s=v[o][0];l=v[o][1]}var f=s++;if(u===0){u=t}a[f]=u;n[c]=f}return{toFontChar:n,charCodeToGlyphId:a,nextAvailableFontCharCode:s}}function j(e,r){var t=[];for(var a in e){if(e[a]>=r){continue}t.push({fontCharCode:a|0,glyphId:e[a]})}if(t.length===0){t.push({fontCharCode:0,glyphId:0})}t.sort(function e(r,t){return r.fontCharCode-t.fontCharCode});var i=[];var n=t.length;for(var o=0;o<n;){var s=t[o].fontCharCode;var l=[t[o].glyphId];++o;var c=s;while(o<n&&c+1===t[o].fontCharCode){l.push(t[o].glyphId);++c;++o;if(c===65535){break}}i.push([s,c,l])}return i}function z(e,r){var t=j(e,r);var a=t[t.length-1][1]>65535?2:1;var n="\0\0"+O(a)+"\0"+"\0"+(0,i.string32)(4+a*8);var o,s,l,c;for(o=t.length-1;o>=0;--o){if(t[o][0]<=65535){break}}var u=o+1;if(t[o][0]<65535&&t[o][1]===65535){t[o][1]=65534}var f=t[o][1]<65535?1:0;var h=u+f;var d=A.getSearchParams(h,2);var v="";var g="";var m="";var p="";var b="";var y=0;var w,k,S,C;for(o=0,s=u;o<s;o++){w=t[o];k=w[0];S=w[1];v+=O(k);g+=O(S);C=w[2];var x=true;for(l=1,c=C.length;l<c;++l){if(C[l]!==C[l-1]+1){x=false;break}}if(!x){var _=(h-o)*2+y*2;y+=S-k+1;m+=O(0);p+=O(_);for(l=0,c=C.length;l<c;++l){b+=O(C[l])}}else{var P=C[0];m+=O(P-k&65535);p+=O(0)}}if(f>0){g+="ÿÿ";v+="ÿÿ";m+="\0";p+="\0\0"}var I="\0\0"+O(2*h)+O(d.range)+O(d.entry)+O(d.rangeShift)+g+"\0\0"+v+m+p+b;var T="";var E="";if(a>1){n+="\0"+"\0\n"+(0,i.string32)(4+a*8+4+I.length);T="";for(o=0,s=t.length;o<s;o++){w=t[o];k=w[0];C=w[2];var F=C[0];for(l=1,c=C.length;l<c;++l){if(C[l]!==C[l-1]+1){S=w[0]+l-1;T+=(0,i.string32)(k)+(0,i.string32)(S)+(0,i.string32)(F);k=S+1;F=C[l]}}T+=(0,i.string32)(k)+(0,i.string32)(w[1])+(0,i.string32)(F)}E="\0\f"+"\0\0"+(0,i.string32)(T.length+16)+"\0\0\0\0"+(0,i.string32)(T.length/12)}return n+"\0"+O(I.length+4)+I+E+T}function H(e){var r=new h.Stream(e.data);var t=r.getUint16();r.getBytes(60);var a=r.getUint16();if(t<4&&a&768){return false}var i=r.getUint16();var n=r.getUint16();if(i>n){return false}r.getBytes(6);var o=r.getUint16();if(o===0){return false}e.data[8]=e.data[9]=0;return true}function G(e,r,t){t=t||{unitsPerEm:0,yMax:0,yMin:0,ascent:0,descent:0};var a=0;var n=0;var o=0;var s=0;var l=null;var u=0;if(r){for(var f in r){f|=0;if(l>f||!l){l=f}if(u<f){u=f}var h=(0,c.getUnicodeRangeFor)(f);if(h<32){a|=1<<h}else if(h<64){n|=1<<h-32}else if(h<96){o|=1<<h-64}else if(h<123){s|=1<<h-96}else{throw new i.FormatError("Unicode ranges Bits > 123 are reserved for internal usage")}}if(u>65535){u=65535}}else{l=0;u=255}var d=e.bbox||[0,0,0,0];var v=t.unitsPerEm||1/(e.fontMatrix||i.FONT_IDENTITY_MATRIX)[0];var m=e.ascentScaled?1:v/g;var p=t.ascent||Math.round(m*(e.ascent||d[3]));var b=t.descent||Math.round(m*(e.descent||d[1]));if(b>0&&e.descent>0&&d[1]<0){b=-b}var y=t.yMax||p;var w=-t.yMin||-b;return"\0"+"$"+"ô"+"\0"+"\0\0"+""+"»"+"\0\0"+"\0"+""+"»"+"\0\0"+"ß"+"\x001"+""+"\0\0"+"\0\0"+String.fromCharCode(e.fixedPitch?9:0)+"\0\0\0\0\0\0"+(0,i.string32)(a)+(0,i.string32)(n)+(0,i.string32)(o)+(0,i.string32)(s)+"*21*"+O(e.italicAngle?1:0)+O(l||e.firstChar)+O(u||e.lastChar)+O(p)+O(b)+"\0d"+O(y)+O(w)+"\0\0\0\0"+"\0\0\0\0"+O(e.xHeight)+O(e.capHeight)+O(0)+O(l||e.firstChar)+"\0"}function W(e){var r=Math.floor(e.italicAngle*Math.pow(2,16));return"\0\0\0"+(0,i.string32)(r)+"\0\0"+"\0\0"+(0,i.string32)(e.fixedPitch)+"\0\0\0\0"+"\0\0\0\0"+"\0\0\0\0"+"\0\0\0\0"}function X(e,r){if(!r){r=[[],[]]}var t=[r[0][0]||"Original licence",r[0][1]||e,r[0][2]||"Unknown",r[0][3]||"uniqueID",r[0][4]||e,r[0][5]||"Version 0.11",r[0][6]||"",r[0][7]||"Unknown",r[0][8]||"Unknown",r[0][9]||"Unknown"];var a=[];var i,n,o,s,l;for(i=0,n=t.length;i<n;i++){l=r[1][i]||t[i];var c=[];for(o=0,s=l.length;o<s;o++){c.push(O(l.charCodeAt(o)))}a.push(c.join(""))}var u=[t,a];var f=["\0","\0"];var h=["\0\0","\0"];var d=["\0\0","\t"];var v=t.length*f.length;var g="\0\0"+O(v)+O(v*12+6);var m=0;for(i=0,n=f.length;i<n;i++){var p=u[i];for(o=0,s=p.length;o<s;o++){l=p[o];var b=f[i]+h[i]+d[i]+O(o)+O(l.length)+O(m);g+=b;m+=l.length}}g+=t.join("")+a.join("");return g}r.prototype={name:null,font:null,mimetype:null,encoding:null,get renderer(){var e=u.FontRendererFactory.create(this,m);return(0,i.shadow)(this,"renderer",e)},exportData:function e(){var r={};for(var t in this){if(this.hasOwnProperty(t)){r[t]=this[t]}}return r},fallbackToSystemFont:function e(){var r=this;this.missingFile=true;var t,a;var n=this.name;var u=this.type;var f=this.subtype;var h=n.replace(/[,_]/g,"-");var d=(0,l.getStdFontMap)(),v=(0,l.getNonStdFontMap)();var g=!!d[h]||!!(v[h]&&d[v[h]]);h=d[h]||v[h]||h;this.bold=h.search(/bold/gi)!==-1;this.italic=h.search(/oblique/gi)!==-1||h.search(/italic/gi)!==-1;this.black=n.search(/Black/g)!==-1;this.remeasure=Object.keys(this.widths).length>0;if(g&&u==="CIDFontType2"&&this.cidEncoding.indexOf("Identity-")===0){var m=(0,l.getGlyphMapForStandardFonts)();var p=[];for(t in m){p[+t]=m[t]}if(/Arial-?Black/i.test(n)){var b=(0,l.getSupplementalGlyphMapForArialBlack)();for(t in b){p[+t]=b[t]}}else if(/Calibri/i.test(n)){var y=(0,l.getSupplementalGlyphMapForCalibri)();for(t in y){p[+t]=y[t]}}var w=this.toUnicode instanceof _;if(!w){this.toUnicode.forEach(function(e,r){p[+e]=r})}this.toFontChar=p;this.toUnicode=new x(p)}else if(/Symbol/i.test(h)){this.toFontChar=U(s.SymbolSetEncoding,(0,o.getGlyphsUnicode)(),this.differences)}else if(/Dingbats/i.test(h)){if(/Wingdings/i.test(n)){(0,i.warn)("Non-embedded Wingdings font, falling back to ZapfDingbats.")}this.toFontChar=U(s.ZapfDingbatsEncoding,(0,o.getDingbatsGlyphsUnicode)(),this.differences)}else if(g){this.toFontChar=U(this.defaultEncoding,(0,o.getGlyphsUnicode)(),this.differences)}else{var S=(0,o.getGlyphsUnicode)();this.toUnicode.forEach(function(e,t){if(!r.composite){var i=r.differences[e]||r.defaultEncoding[e];a=(0,c.getUnicodeForGlyph)(i,S);if(a!==-1){t=a}}r.toFontChar[e]=t})}this.loadedName=h.split("-")[0];this.fontType=k(u,f)},checkAndRepair:function e(r,a,l){var c=["OS/2","cmap","head","hhea","hmtx","maxp","name","post","loca","glyf","fpgm","prep","cvt ","CFF "];function u(e,r){var t=Object.create(null);t["OS/2"]=null;t["cmap"]=null;t["head"]=null;t["hhea"]=null;t["hmtx"]=null;t["maxp"]=null;t["name"]=null;t["post"]=null;for(var i=0;i<r;i++){var n=v(a);if(!c.includes(n.tag)){continue}if(n.length===0){continue}t[n.tag]=n}return t}function v(e){var r=(0,i.bytesToString)(e.getBytes(4));var t=e.getInt32()>>>0;var a=e.getInt32()>>>0;var n=e.getInt32()>>>0;var o=e.pos;e.pos=e.start?e.start:0;e.skip(a);var s=e.getBytes(n);e.pos=o;if(r==="head"){s[8]=s[9]=s[10]=s[11]=0;s[17]|=32}return{tag:r,checksum:t,length:n,offset:a,data:s}}function g(e){return{version:(0,i.bytesToString)(e.getBytes(4)),numTables:e.getUint16(),searchRange:e.getUint16(),entrySelector:e.getUint16(),rangeShift:e.getUint16()}}function p(e){var r=(0,i.bytesToString)(e.getBytes(4));(0,i.assert)(r==="ttcf","Must be a TrueType Collection font.");var t=e.getUint16();var a=e.getUint16();var n=e.getInt32()>>>0;var o=[];for(var s=0;s<n;s++){o.push(e.getInt32()>>>0)}var l={ttcTag:r,majorVersion:t,minorVersion:a,numFonts:n,offsetTable:o};switch(t){case 1:return l;case 2:l.dsigTag=e.getInt32()>>>0;l.dsigLength=e.getInt32()>>>0;l.dsigOffset=e.getInt32()>>>0;return l}throw new i.FormatError("Invalid TrueType Collection majorVersion: "+t+".")}function w(e,r){var t=p(e),a=t.numFonts,n=t.offsetTable;for(var o=0;o<a;o++){e.pos=(e.start||0)+n[o];var s=g(e);var l=u(e,s.numTables);if(!l["name"]){throw new i.FormatError('TrueType Collection font must contain a "name" table.')}var c=F(l["name"]);for(var f=0,h=c.length;f<h;f++){for(var d=0,v=c[f].length;d<v;d++){var m=c[f][d];if(m&&m.replace(/\s/g,"")===r){return{header:s,tables:l}}}}}throw new i.FormatError('TrueType Collection does not contain "'+r+'" font.')}function k(e,r,t,a){if(!e){(0,i.warn)("No cmap table available.");return{platformId:-1,encodingId:-1,mappings:[],hasShortCmap:false}}var n;var o=(r.start?r.start:0)+e.offset;r.pos=o;r.getUint16();var s=r.getUint16();var l;var c=false;for(var u=0;u<s;u++){var f=r.getUint16();var h=r.getUint16();var d=r.getInt32()>>>0;var v=false;if(l&&l.platformId===f&&l.encodingId===h){continue}if(f===0&&h===0){v=true}else if(f===1&&h===0){v=true}else if(f===3&&h===1&&(a||!l)){v=true;if(!t){c=true}}else if(t&&f===3&&h===0){v=true;c=true}if(v){l={platformId:f,encodingId:h,offset:d}}if(c){break}}if(l){r.pos=o+l.offset}if(!l||r.peekByte()===-1){(0,i.warn)("Could not find a preferred cmap table.");return{platformId:-1,encodingId:-1,mappings:[],hasShortCmap:false}}var g=r.getUint16();r.getUint16();r.getUint16();var m=false;var p=[];var b,y;if(g===0){for(b=0;b<256;b++){var w=r.getByte();if(!w){continue}p.push({charCode:b,glyphId:w})}m=true}else if(g===4){var k=r.getUint16()>>1;r.getBytes(6);var S,C=[];for(S=0;S<k;S++){C.push({end:r.getUint16()})}r.getUint16();for(S=0;S<k;S++){C[S].start=r.getUint16()}for(S=0;S<k;S++){C[S].delta=r.getUint16()}var x=0;for(S=0;S<k;S++){n=C[S];var _=r.getUint16();if(!_){n.offsetIndex=-1;continue}var A=(_>>1)-(k-S);n.offsetIndex=A;x=Math.max(x,A+n.end-n.start+1)}var P=[];for(b=0;b<x;b++){P.push(r.getUint16())}for(S=0;S<k;S++){n=C[S];o=n.start;var I=n.end;var O=n.delta;A=n.offsetIndex;for(b=o;b<=I;b++){if(b===65535){continue}y=A<0?b:P[A+b-o];y=y+O&65535;p.push({charCode:b,glyphId:y})}}}else if(g===6){var T=r.getUint16();var E=r.getUint16();for(b=0;b<E;b++){y=r.getUint16();var F=T+b;p.push({charCode:F,glyphId:y})}}else{(0,i.warn)("cmap table has unsupported format: "+g);return{platformId:-1,encodingId:-1,mappings:[],hasShortCmap:false}}p.sort(function(e,r){return e.charCode-r.charCode});for(u=1;u<p.length;u++){if(p[u-1].charCode===p[u].charCode){p.splice(u,1);u--}}return{platformId:l.platformId,encodingId:l.encodingId,mappings:p,hasShortCmap:m}}function C(e,r,t,a){if(!r){if(t){t.data=null}return}e.pos=(e.start?e.start:0)+r.offset;e.pos+=r.length-2;var n=e.getUint16();if(n>a){(0,i.info)("The numOfMetrics ("+n+") should not be "+"greater than the numGlyphs ("+a+")");n=a;r.data[34]=(n&65280)>>8;r.data[35]=n&255}var o=a-n;var s=o-(t.length-n*4>>1);if(s>0){var l=new Uint8Array(t.length+s*2);l.set(t.data);t.data=l}}function x(e,r,t,a,i,n){var o={length:0,sizeOfInstructions:0};if(t-r<=12){return o}var s=e.subarray(r,t);var l=P(s[0],s[1]);if(l<0){l=-1;d(s,0,l);a.set(s,i);o.length=s.length;return o}var c,u=10,f=0;for(c=0;c<l;c++){var h=s[u]<<8|s[u+1];f=h+1;u+=2}var v=u;var g=s[u]<<8|s[u+1];o.sizeOfInstructions=g;u+=2+g;var m=u;var p=0;for(c=0;c<f;c++){var b=s[u++];if(b&192){s[u-1]=b&63}var y=(b&2?1:b&16?0:2)+(b&4?1:b&32?0:2);p+=y;if(b&8){var w=s[u++];c+=w;p+=w*y}}if(p===0){return o}var k=u+p;if(k>s.length){return o}if(!n&&g>0){a.set(s.subarray(0,v),i);a.set([0,0],i+v);a.set(s.subarray(m,k),i+v+2);k-=g;if(s.length-k>3){k=k+3&~3}o.length=k;return o}if(s.length-k>3){k=k+3&~3;a.set(s.subarray(0,k),i);o.length=k;return o}a.set(s,i);o.length=s.length;return o}function _(e,r,a){var n=e.data;var o=I(n[0],n[1],n[2],n[3]);if(o>>16!==1){(0,i.info)("Attempting to fix invalid version in head table: "+o);n[0]=0;n[1]=1;n[2]=0;n[3]=0}var s=t(n[50],n[51]);if(s<0||s>1){(0,i.info)("Attempting to fix invalid indexToLocFormat in head table: "+s);var l=r+1;if(a===l<<1){n[50]=0;n[51]=0}else if(a===l<<2){n[50]=0;n[51]=1}else{throw new i.FormatError("Could not fix indexToLocFormat: "+s)}}}function O(e,r,t,a,i,n,o){var s,l,c;if(a){s=4;l=function e(r,t){return r[t]<<24|r[t+1]<<16|r[t+2]<<8|r[t+3]};c=function e(r,t,a){r[t]=a>>>24&255;r[t+1]=a>>16&255;r[t+2]=a>>8&255;r[t+3]=a&255}}else{s=2;l=function e(r,t){return r[t]<<9|r[t+1]<<1};c=function e(r,t,a){r[t]=a>>9&255;r[t+1]=a>>1&255}}var u=n?t+1:t;var f=e.data;var h=s*(1+u);f=new Uint8Array(h);f.set(e.data.subarray(0,h));e.data=f;var d=r.data;var v=d.length;var g=new Uint8Array(v);var m=l(f,0);var p=0;var b=Object.create(null);c(f,0,p);var y,w;for(y=0,w=s;y<t;y++,w+=s){var k=l(f,w);if(k===0){k=m}if(k>v&&(v+3&~3)===k){k=v}if(k>v){m=k}var S=x(d,m,k,g,p,i);var C=S.length;if(C===0){b[y]=true}if(S.sizeOfInstructions>o){o=S.sizeOfInstructions}p+=C;c(f,w,p);m=k}if(p===0){var _=new Uint8Array([0,1,0,0,0,0,0,0,0,0,0,0,0,0,49,0]);for(y=0,w=s;y<u;y++,w+=s){c(f,w,_.length)}r.data=_}else if(n){var A=l(f,s);if(g.length>A+p){r.data=g.subarray(0,A+p)}else{r.data=new Uint8Array(A+p);r.data.set(g.subarray(0,p))}r.data.set(g.subarray(0,A),p);c(e.data,f.length-s,p+A)}else{r.data=g.subarray(0,p)}return{missingGlyphs:b,maxSizeOfInstructions:o}}function T(e,r,t){var n=(a.start?a.start:0)+e.offset;a.pos=n;var o=e.length,s=n+o;var l=a.getInt32();a.getBytes(28);var c;var u=true;var f;switch(l){case 65536:c=b;break;case 131072:var h=a.getUint16();if(h!==t){u=false;break}var d=[];for(f=0;f<h;++f){var v=a.getUint16();if(v>=32768){u=false;break}d.push(v)}if(!u){break}var g=[];var m=[];while(a.pos<s){var p=a.getByte();m.length=p;for(f=0;f<p;++f){m[f]=String.fromCharCode(a.getByte())}g.push(m.join(""))}c=[];for(f=0;f<h;++f){var y=d[f];if(y<258){c.push(b[y]);continue}c.push(g[y-258])}break;case 196608:break;default:(0,i.warn)("Unknown/unsupported post table version "+l);u=false;if(r.defaultEncoding){c=r.defaultEncoding}break}r.glyphNames=c;return u}function F(e){var r=(a.start?a.start:0)+e.offset;a.pos=r;var t=[[],[]];var n=e.length,o=r+n;var s=a.getUint16();var l=6;if(s!==0||n<l){return t}var c=a.getUint16();var u=a.getUint16();var f=[];var h=12;var d,v;for(d=0;d<c&&a.pos+h<=o;d++){var g={platform:a.getUint16(),encoding:a.getUint16(),language:a.getUint16(),name:a.getUint16(),length:a.getUint16(),offset:a.getUint16()};if(g.platform===1&&g.encoding===0&&g.language===0||g.platform===3&&g.encoding===1&&g.language===1033){f.push(g)}}for(d=0,v=f.length;d<v;d++){var m=f[d];if(m.length<=0){continue}var p=r+u+m.offset;if(p+m.length>o){continue}a.pos=p;var b=m.name;if(m.encoding){var y="";for(var w=0,k=m.length;w<k;w+=2){y+=String.fromCharCode(a.getUint16())}t[1][b]=y}else{t[0][b]=(0,i.bytesToString)(a.getBytes(m.length))}}return t}var R=[0,0,0,0,0,0,0,0,-2,-2,-2,-2,0,0,-2,-5,-1,-1,-1,-1,-1,-1,-1,-1,0,0,-1,0,-1,-1,-1,-1,1,-1,-999,0,1,0,-1,-2,0,-1,-2,-1,-1,0,-1,-1,0,0,-999,-999,-1,-1,-1,-1,-2,-999,-2,-2,-999,0,-2,-2,0,0,-2,0,-2,0,0,0,-2,-1,-1,1,1,0,0,-1,-1,-1,-1,-1,-1,-1,0,0,-1,0,-1,-1,0,-999,-1,-1,-1,-1,-1,-1,0,0,0,0,0,0,0,0,0,0,0,0,-2,-999,-999,-999,-999,-999,-1,-1,-2,-2,0,0,0,0,-1,-1,-999,-2,-2,0,0,-1,-2,-2,0,0,0,-1,-1,-1,-2];function D(e,r){var t=e.data;var a=0,n,o,s,l,c,u=0,f=0;var h=[];var d=[];var v=[];var g=r.tooComplexToFollowFunctions;var m=false,p=0,b=0;for(var y=t.length;a<y;){var w=t[a++];if(w===64){o=t[a++];if(m||b){a+=o}else{for(n=0;n<o;n++){h.push(t[a++])}}}else if(w===65){o=t[a++];if(m||b){a+=o*2}else{for(n=0;n<o;n++){s=t[a++];h.push(s<<8|t[a++])}}}else if((w&248)===176){o=w-176+1;if(m||b){a+=o}else{for(n=0;n<o;n++){h.push(t[a++])}}}else if((w&248)===184){o=w-184+1;if(m||b){a+=o*2}else{for(n=0;n<o;n++){s=t[a++];h.push(s<<8|t[a++])}}}else if(w===43&&!g){if(!m&&!b){l=h[h.length-1];if(isNaN(l)){(0,i.info)("TT: CALL empty stack (or invalid entry).")}else{r.functionsUsed[l]=true;if(l in r.functionsStackDeltas){var k=h.length+r.functionsStackDeltas[l];if(k<0){(0,i.warn)("TT: CALL invalid functions stack delta.");r.hintsValid=false;return}h.length=k}else if(l in r.functionsDefined&&!v.includes(l)){d.push({data:t,i:a,stackTop:h.length-1});v.push(l);c=r.functionsDefined[l];if(!c){(0,i.warn)("TT: CALL non-existent function");r.hintsValid=false;return}t=c.data;a=c.i}}}}else if(w===44&&!g){if(m||b){(0,i.warn)("TT: nested FDEFs not allowed");g=true}m=true;f=a;l=h.pop();r.functionsDefined[l]={data:t,i:a}}else if(w===45){if(m){m=false;u=a}else{c=d.pop();if(!c){(0,i.warn)("TT: ENDF bad stack");r.hintsValid=false;return}l=v.pop();t=c.data;a=c.i;r.functionsStackDeltas[l]=h.length-c.stackTop}}else if(w===137){if(m||b){(0,i.warn)("TT: nested IDEFs not allowed");g=true}m=true;f=a}else if(w===88){++p}else if(w===27){b=p}else if(w===89){if(b===p){b=0}--p}else if(w===28){if(!m&&!b){var S=h[h.length-1];if(S>0){a+=S-1}}}if(!m&&!b){var C=w<=142?R[w]:w>=192&&w<=223?-1:w>=224?-2:0;if(w>=113&&w<=117){o=h.pop();if(!isNaN(o)){C=-o*2}}while(C<0&&h.length>0){h.pop();C++}while(C>0){h.push(NaN);C--}}}r.tooComplexToFollowFunctions=g;var x=[t];if(a>t.length){x.push(new Uint8Array(a-t.length))}if(f>u){(0,i.warn)("TT: complementing a missing function tail");x.push(new Uint8Array([34,45]))}L(e,x)}function M(e,r){if(e.tooComplexToFollowFunctions){return}if(e.functionsDefined.length>r){(0,i.warn)("TT: more functions defined than expected");e.hintsValid=false;return}for(var t=0,a=e.functionsUsed.length;t<a;t++){if(t>r){(0,i.warn)("TT: invalid function id: "+t);e.hintsValid=false;return}if(e.functionsUsed[t]&&!e.functionsDefined[t]){(0,i.warn)("TT: undefined function: "+t);e.hintsValid=false;return}}}function L(e,r){if(r.length>1){var t=0;var a,i;for(a=0,i=r.length;a<i;a++){t+=r[a].length}t=t+3&~3;var n=new Uint8Array(t);var o=0;for(a=0,i=r.length;a<i;a++){n.set(r[a],o);o+=r[a].length}e.data=n;e.length=t}}function N(e,r,t,a){var i={functionsDefined:[],functionsUsed:[],functionsStackDeltas:[],tooComplexToFollowFunctions:false,hintsValid:true};if(e){D(e,i)}if(r){D(r,i)}if(e){M(i,a)}if(t&&t.length&1){var n=new Uint8Array(t.length+1);n.set(t.data);t.data=n}return i.hintsValid}a=new h.Stream(new Uint8Array(a.getBytes()));var U=void 0,j=void 0;if(B(a)){var V=w(a,this.name);U=V.header;j=V.tables}else{U=g(a);j=u(a,U.numTables)}var K=void 0,Y=void 0;var J=!j["CFF "];if(!J){var Z=l.composite&&((l.cidToGidMap||[]).length>0||!(l.cMap instanceof f.IdentityCMap));if(U.version==="OTTO"&&!Z||!j["head"]||!j["hhea"]||!j["maxp"]||!j["post"]){Y=new h.Stream(j["CFF "].data);K=new E(Y,l);y(l);return this.convert(r,K,l)}delete j["glyf"];delete j["loca"];delete j["fpgm"];delete j["prep"];delete j["cvt "];this.isOpenType=true}else{if(!j["loca"]){throw new i.FormatError('Required "loca" table is not found')}if(!j["glyf"]){(0,i.warn)('Required "glyf" table is not found -- trying to recover.');j["glyf"]={tag:"glyf",data:new Uint8Array(0)}}this.isOpenType=false}if(!j["maxp"]){throw new i.FormatError('Required "maxp" table is not found')}a.pos=(a.start||0)+j["maxp"].offset;var Q=a.getInt32();var $=a.getUint16();var ee=$+1;var re=true;if(ee>65535){re=false;ee=$;(0,i.warn)("Not enough space in glyfs to duplicate first glyph.")}var te=0;var ae=0;if(Q>=65536&&j["maxp"].length>=22){a.pos+=8;var ie=a.getUint16();if(ie>2){j["maxp"].data[14]=0;j["maxp"].data[15]=2}a.pos+=4;te=a.getUint16();a.pos+=4;ae=a.getUint16()}j["maxp"].data[4]=ee>>8;j["maxp"].data[5]=ee&255;var ne=N(j["fpgm"],j["prep"],j["cvt "],te);if(!ne){delete j["fpgm"];delete j["prep"];delete j["cvt "]}C(a,j["hhea"],j["hmtx"],ee);if(!j["head"]){throw new i.FormatError('Required "head" table is not found')}_(j["head"],$,J?j["loca"].length:0);var oe=Object.create(null);if(J){var se=t(j["head"].data[50],j["head"].data[51]);var le=O(j["loca"],j["glyf"],$,se,ne,re,ae);oe=le.missingGlyphs;if(Q>=65536&&j["maxp"].length>=22){j["maxp"].data[26]=le.maxSizeOfInstructions>>8;j["maxp"].data[27]=le.maxSizeOfInstructions&255}}if(!j["hhea"]){throw new i.FormatError('Required "hhea" table is not found')}if(j["hhea"].data[10]===0&&j["hhea"].data[11]===0){j["hhea"].data[10]=255;j["hhea"].data[11]=255}var ce={unitsPerEm:t(j["head"].data[18],j["head"].data[19]),yMax:t(j["head"].data[42],j["head"].data[43]),yMin:P(j["head"].data[38],j["head"].data[39]),ascent:t(j["hhea"].data[4],j["hhea"].data[5]),descent:P(j["hhea"].data[6],j["hhea"].data[7])};this.ascent=ce.ascent/ce.unitsPerEm;this.descent=ce.descent/ce.unitsPerEm;if(j["post"]){T(j["post"],l,$)}j["post"]={tag:"post",data:W(l)};var ue=[],fe;function he(e){return!oe[e]}if(l.composite){var de=l.cidToGidMap||[];var ve=de.length===0;l.cMap.forEach(function(e,r){if(r>65535){throw new i.FormatError("Max size of CID is 65,535")}var t=-1;if(ve){t=r}else if(de[r]!==undefined){t=de[r]}if(t>=0&&t<$&&he(t)){ue[e]=t}})}else{var ge=k(j["cmap"],a,this.isSymbolicFont,l.hasEncoding);var me=ge.platformId;var pe=ge.encodingId;var be=ge.mappings;var ye=be.length;if(l.hasEncoding&&(me===3&&pe===1||me===1&&pe===0)||me===-1&&pe===-1&&!!(0,s.getEncoding)(l.baseEncodingName)){var we=[];if(l.baseEncodingName==="MacRomanEncoding"||l.baseEncodingName==="WinAnsiEncoding"){we=(0,s.getEncoding)(l.baseEncodingName)}var ke=(0,o.getGlyphsUnicode)();for(fe=0;fe<256;fe++){var Se,Ce;if(this.differences&&fe in this.differences){Se=this.differences[fe]}else if(fe in we&&we[fe]!==""){Se=we[fe]}else{Se=s.StandardEncoding[fe]}if(!Se){continue}Ce=S(Se,ke);var xe;if(me===3&&pe===1){xe=ke[Ce]}else if(me===1&&pe===0){xe=s.MacRomanEncoding.indexOf(Ce)}var _e=false;for(var Ae=0;Ae<ye;++Ae){if(be[Ae].charCode!==xe){continue}ue[fe]=be[Ae].glyphId;_e=true;break}if(!_e&&l.glyphNames){var Pe=l.glyphNames.indexOf(Se);if(Pe===-1&&Ce!==Se){Pe=l.glyphNames.indexOf(Ce)}if(Pe>0&&he(Pe)){ue[fe]=Pe}}}}else if(me===0&&pe===0){for(var Ie=0;Ie<ye;++Ie){ue[be[Ie].charCode]=be[Ie].glyphId}}else{for(var Oe=0;Oe<ye;++Oe){fe=be[Oe].charCode;if(me===3&&fe>=61440&&fe<=61695){fe&=255}ue[fe]=be[Oe].glyphId}}}if(ue.length===0){ue[0]=0}var Te=ee-1;if(!re){Te=0}var Ee=q(ue,he,Te);this.toFontChar=Ee.toFontChar;j["cmap"]={tag:"cmap",data:z(Ee.charCodeToGlyphId,ee)};if(!j["OS/2"]||!H(j["OS/2"])){j["OS/2"]={tag:"OS/2",data:G(l,Ee.charCodeToGlyphId,ce)}}if(!J){try{Y=new h.Stream(j["CFF "].data);var Fe=new n.CFFParser(Y,l,m);K=Fe.parse();K.duplicateFirstGlyph();var Re=new n.CFFCompiler(K);j["CFF "].data=Re.compile()}catch(e){(0,i.warn)("Failed to compile font "+l.loadedName)}}if(!j["name"]){j["name"]={tag:"name",data:X(this.name)}}else{var Be=F(j["name"]);j["name"].data=X(r,Be)}var De=new A(U.version);for(var Me in j){De.addTable(Me,j[Me].data)}return De.toArray()},convert:function e(r,t,a){a.fixedPitch=false;if(a.builtInEncoding){w(a,a.builtInEncoding)}var n=1;if(t instanceof E){n=t.numGlyphs-1}var o=t.getGlyphMapping(a);var l=q(o,t.hasGlyphId.bind(t),n);this.toFontChar=l.toFontChar;var c=t.numGlyphs;function u(e,r){var t=null;for(var a in e){if(r===e[a]){if(!t){t=[]}t.push(a|0)}}return t}function f(e,r){for(var t in e){if(r===e[t]){return t|0}}l.charCodeToGlyphId[l.nextAvailableFontCharCode]=r;return l.nextAvailableFontCharCode++}var h=t.seacs;if(m&&h&&h.length){var d=a.fontMatrix||i.FONT_IDENTITY_MATRIX;var v=t.getCharset();var g=Object.create(null);for(var p in h){p|=0;var b=h[p];var y=s.StandardEncoding[b[2]];var k=s.StandardEncoding[b[3]];var S=v.indexOf(y);var C=v.indexOf(k);if(S<0||C<0){continue}var x={x:b[0]*d[0]+b[1]*d[2]+d[4],y:b[0]*d[1]+b[1]*d[3]+d[5]};var _=u(o,p);if(!_){continue}for(var P=0,I=_.length;P<I;P++){var T=_[P];var R=l.charCodeToGlyphId;var B=f(R,S);var D=f(R,C);g[T]={baseFontCharCode:B,accentFontCharCode:D,accentOffset:x}}}a.seacMap=g}var M=1/(a.fontMatrix||i.FONT_IDENTITY_MATRIX)[0];var L=new A("OTTO");L.addTable("CFF ",t.data);L.addTable("OS/2",G(a,l.charCodeToGlyphId));L.addTable("cmap",z(l.charCodeToGlyphId,c));L.addTable("head","\0\0\0"+"\0\0\0"+"\0\0\0\0"+"_<õ"+"\0\0"+F(M)+"\0\0\0\0\v~'"+"\0\0\0\0\v~'"+"\0\0"+F(a.descent)+"ÿ"+F(a.ascent)+O(a.italicAngle?2:0)+"\0"+"\0\0"+"\0\0"+"\0\0");L.addTable("hhea","\0\0\0"+F(a.ascent)+F(a.descent)+"\0\0"+"ÿÿ"+"\0\0"+"\0\0"+"\0\0"+F(a.capHeight)+F(Math.tan(a.italicAngle)*a.xHeight)+"\0\0"+"\0\0"+"\0\0"+"\0\0"+"\0\0"+"\0\0"+O(c));L.addTable("hmtx",function e(){var r=t.charstrings;var a=t.cff?t.cff.widths:null;var i="\0\0\0\0";for(var n=1,o=c;n<o;n++){var s=0;if(r){var l=r[n-1];s="width"in l?l.width:0}else if(a){s=Math.ceil(a[n]||0)}i+=O(s)+O(0)}return i}());L.addTable("maxp","\0\0P\0"+O(c));L.addTable("name",X(r));L.addTable("post",W(a));return L.toArray()},get spaceWidth(){if("_shadowWidth"in this){return this._shadowWidth}var e=["space","minus","one","i","I"];var r;for(var t=0,a=e.length;t<a;t++){var i=e[t];if(i in this.widths){r=this.widths[i];break}var n=(0,o.getGlyphsUnicode)();var s=n[i];var l=0;if(this.composite){if(this.cMap.contains(s)){l=this.cMap.lookup(s)}}if(!l&&this.toUnicode){l=this.toUnicode.charCodeOf(s)}if(l<=0){l=s}r=this.widths[l];if(r){break}}r=r||this.defaultWidth;this._shadowWidth=r;return r},charToGlyph:function e(r,t){var a,n,o;var s=r;if(this.cMap&&this.cMap.contains(r)){s=this.cMap.lookup(r)}n=this.widths[s];n=(0,i.isNum)(n)?n:this.defaultWidth;var l=this.vmetrics&&this.vmetrics[s];var u=this.toUnicode.get(r)||this.fallbackToUnicode.get(r)||r;if(typeof u==="number"){u=String.fromCharCode(u)}var f=r in this.toFontChar;a=this.toFontChar[r]||r;if(this.missingFile){a=(0,c.mapSpecialUnicodeValues)(a)}if(this.isType3Font){o=a}var h=null;if(this.seacMap&&this.seacMap[r]){f=true;var d=this.seacMap[r];a=d.baseFontCharCode;h={fontChar:String.fromCodePoint(d.accentFontCharCode),offset:d.accentOffset}}var v=typeof a==="number"?String.fromCodePoint(a):"";var g=this.glyphCache[r];if(!g||!g.matchesForCache(v,u,h,n,l,o,t,f)){g=new C(v,u,h,n,l,o,t,f);this.glyphCache[r]=g}return g},charsToGlyphs:function e(r){var t=this.charsCache;var a,i,n;if(t){a=t[r];if(a){return a}}if(!t){t=this.charsCache=Object.create(null)}a=[];var o=r;var s=0,l;if(this.cMap){var c=Object.create(null);while(s<r.length){this.cMap.readCharCode(r,s,c);n=c.charcode;var u=c.length;s+=u;var f=u===1&&r.charCodeAt(s-1)===32;i=this.charToGlyph(n,f);a.push(i)}}else{for(s=0,l=r.length;s<l;++s){n=r.charCodeAt(s);i=this.charToGlyph(n,n===32);a.push(i)}}return t[o]=a}};return r}();var I=function e(){function r(e){this.error=e;this.loadedName="g_font_error";this.missingFile=true}r.prototype={charsToGlyphs:function e(){return[]},exportData:function e(){return{error:this.error}}};return r}();function O(e,r,t){var a=Object.create(null);var i,n,l;var c=!!(e.flags&p.Symbolic);if(e.baseEncodingName){l=(0,s.getEncoding)(e.baseEncodingName);for(n=0;n<l.length;n++){i=t.indexOf(l[n]);if(i>=0){a[n]=i}else{a[n]=0}}}else if(c){for(n in r){a[n]=r[n]}}else{l=s.StandardEncoding;for(n=0;n<l.length;n++){i=t.indexOf(l[n]);if(i>=0){a[n]=i}else{a[n]=0}}}var u=e.differences,f;if(u){for(n in u){var h=u[n];i=t.indexOf(h);if(i===-1){if(!f){f=(0,o.getGlyphsUnicode)()}var d=S(h,f);if(d!==h){i=t.indexOf(d)}}if(i>=0){a[n]=i}else{a[n]=0}}}return a}var T=function e(){function r(e,r,t){var a=e.length;var n=r.length;var o=a-n;var s=t,l,c=false;while(s<o){l=0;while(l<n&&e[s+l]===r[l]){l++}if(l>=n){s+=l;while(s<a&&(0,i.isSpace)(e[s])){s++}c=true;break}s++}return{found:c,length:s}}function t(e,t){var a=[101,101,120,101,99];var n=e.pos;var o,s,l;try{o=e.getBytes(t);s=o.length}catch(e){if(e instanceof i.MissingDataException){throw e}}if(s===t){l=r(o,a,t-2*a.length);if(l.found&&l.length===t){return{stream:new h.Stream(o),length:t}}}(0,i.warn)('Invalid "Length1" property in Type1 font -- trying to recover.');e.pos=n;var c=2048;var u;while(true){var f=e.peekBytes(c);l=r(f,a,0);if(l.length===0){break}e.pos+=l.length;if(l.found){u=e.pos-n;break}}e.pos=n;if(u){return{stream:new h.Stream(e.getBytes(u)),length:u}}(0,i.warn)('Unable to recover "Length1" property in Type1 font -- using as is.');return{stream:new h.Stream(e.getBytes(t)),length:t}}function a(e,r){var t=e.getBytes();return{stream:new h.Stream(t),length:t.length}}function o(e,r,i){var n=6;var o=i.length1;var s=i.length2;var l=r.peekBytes(n);var c=l[0]===128&&l[1]===1;if(c){r.skip(n);o=l[5]<<24|l[4]<<16|l[3]<<8|l[2]}var u=t(r,o);var f=new d.Type1Parser(u.stream,false,m);f.extractFontHeader(i);if(c){l=r.getBytes(n);s=l[5]<<24|l[4]<<16|l[3]<<8|l[2]}var h=a(r,s);var v=new d.Type1Parser(h.stream,true,m);var g=v.extractFontProgram();for(var p in g.properties){i[p]=g.properties[p]}var b=g.charstrings;var y=this.getType2Charstrings(b);var w=this.getType2Subrs(g.subrs);this.charstrings=b;this.data=this.wrap(e,y,this.charstrings,w,i);this.seacs=this.getSeacs(g.charstrings)}o.prototype={get numGlyphs(){return this.charstrings.length+1},getCharset:function e(){var r=[".notdef"];var t=this.charstrings;for(var a=0;a<t.length;a++){r.push(t[a].glyphName)}return r},getGlyphMapping:function e(r){var t=this.charstrings;var a=[".notdef"],i;for(i=0;i<t.length;i++){a.push(t[i].glyphName)}var n=r.builtInEncoding;if(n){var o=Object.create(null);for(var s in n){i=a.indexOf(n[s]);if(i>=0){o[s]=i}}}return O(r,o,a)},hasGlyphId:function e(r){if(r<0||r>=this.numGlyphs){return false}if(r===0){return true}var t=this.charstrings[r-1];return t.charstring.length>0},getSeacs:function e(r){var t,a;var i=[];for(t=0,a=r.length;t<a;t++){var n=r[t];if(n.seac){i[t+1]=n.seac}}return i},getType2Charstrings:function e(r){var t=[];for(var a=0,i=r.length;a<i;a++){t.push(r[a].charstring)}return t},getType2Subrs:function e(r){var t=0;var a=r.length;if(a<1133){t=107}else if(a<33769){t=1131}else{t=32768}var i=[];var n;for(n=0;n<t;n++){i.push([11])}for(n=0;n<a;n++){i.push(r[n])}return i},wrap:function e(r,t,a,i,o){var s=new n.CFF;s.header=new n.CFFHeader(1,0,4,4);s.names=[r];var l=new n.CFFTopDict;l.setByName("version",391);l.setByName("Notice",392);l.setByName("FullName",393);l.setByName("FamilyName",394);l.setByName("Weight",395);l.setByName("Encoding",null);l.setByName("FontMatrix",o.fontMatrix);l.setByName("FontBBox",o.bbox);l.setByName("charset",null);l.setByName("CharStrings",null);l.setByName("Private",null);s.topDict=l;var c=new n.CFFStrings;c.add("Version 0.11");c.add("See original notice");c.add(r);c.add(r);c.add("Medium");s.strings=c;s.globalSubrIndex=new n.CFFIndex;var u=t.length;var f=[0];var h,d;for(h=0;h<u;h++){var v=n.CFFStandardStrings.indexOf(a[h].glyphName);if(v===-1){v=0}f.push(v>>8&255,v&255)}s.charset=new n.CFFCharset(false,0,[],f);var g=new n.CFFIndex;g.add([139,14]);for(h=0;h<u;h++){g.add(t[h])}s.charStrings=g;var m=new n.CFFPrivateDict;m.setByName("Subrs",null);var p=["BlueValues","OtherBlues","FamilyBlues","FamilyOtherBlues","StemSnapH","StemSnapV","BlueShift","BlueFuzz","BlueScale","LanguageGroup","ExpansionFactor","ForceBold","StdHW","StdVW"];for(h=0,d=p.length;h<d;h++){var b=p[h];if(!(b in o.privateData)){continue}var y=o.privateData[b];if(Array.isArray(y)){for(var w=y.length-1;w>0;w--){y[w]-=y[w-1]}}m.setByName(b,y)}s.topDict.privateDict=m;var k=new n.CFFIndex;for(h=0,d=i.length;h<d;h++){k.add(i[h])}m.subrsIndex=k;var S=new n.CFFCompiler(s);return S.compile()}};return o}();var E=function e(){function r(e,r){this.properties=r;var t=new n.CFFParser(e,r,m);this.cff=t.parse();this.cff.duplicateFirstGlyph();var a=new n.CFFCompiler(this.cff);this.seacs=this.cff.seacs;try{this.data=a.compile()}catch(t){(0,i.warn)("Failed to compile font "+r.loadedName);this.data=e}}r.prototype={get numGlyphs(){return this.cff.charStrings.count},getCharset:function e(){return this.cff.charset.charset},getGlyphMapping:function e(){var r=this.cff;var t=this.properties;var a=r.charset.charset;var i;var n;if(t.composite){i=Object.create(null);if(r.isCIDFont){for(n=0;n<a.length;n++){var o=a[n];var s=t.cMap.charCodeOf(o);i[s]=n}}else{for(n=0;n<r.charStrings.count;n++){i[n]=n}}return i}var l=r.encoding?r.encoding.encoding:null;i=O(t,l,a);return i},hasGlyphId:function e(r){return this.cff.hasGlyphId(r)}};return r}();r.SEAC_ANALYSIS_ENABLED=m;r.ErrorFont=I;r.Font=P;r.FontFlags=p;r.ToUnicodeMap=x;r.IdentityToUnicodeMap=_;r.getFontType=k},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:true});r.CFFFDSelect=r.CFFCompiler=r.CFFPrivateDict=r.CFFTopDict=r.CFFCharset=r.CFFIndex=r.CFFStrings=r.CFFHeader=r.CFF=r.CFFParser=r.CFFStandardStrings=undefined;var a=t(2);var i=t(158);var n=t(159);var o=10;var s=[".notdef","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quoteright","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","quoteleft","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","exclamdown","cent","sterling","fraction","yen","florin","section","currency","quotesingle","quotedblleft","guillemotleft","guilsinglleft","guilsinglright","fi","fl","endash","dagger","daggerdbl","periodcentered","paragraph","bullet","quotesinglbase","quotedblbase","quotedblright","guillemotright","ellipsis","perthousand","questiondown","grave","acute","circumflex","tilde","macron","breve","dotaccent","dieresis","ring","cedilla","hungarumlaut","ogonek","caron","emdash","AE","ordfeminine","Lslash","Oslash","OE","ordmasculine","ae","dotlessi","lslash","oslash","oe","germandbls","onesuperior","logicalnot","mu","trademark","Eth","onehalf","plusminus","Thorn","onequarter","divide","brokenbar","degree","thorn","threequarters","twosuperior","registered","minus","eth","multiply","threesuperior","copyright","Aacute","Acircumflex","Adieresis","Agrave","Aring","Atilde","Ccedilla","Eacute","Ecircumflex","Edieresis","Egrave","Iacute","Icircumflex","Idieresis","Igrave","Ntilde","Oacute","Ocircumflex","Odieresis","Ograve","Otilde","Scaron","Uacute","Ucircumflex","Udieresis","Ugrave","Yacute","Ydieresis","Zcaron","aacute","acircumflex","adieresis","agrave","aring","atilde","ccedilla","eacute","ecircumflex","edieresis","egrave","iacute","icircumflex","idieresis","igrave","ntilde","oacute","ocircumflex","odieresis","ograve","otilde","scaron","uacute","ucircumflex","udieresis","ugrave","yacute","ydieresis","zcaron","exclamsmall","Hungarumlautsmall","dollaroldstyle","dollarsuperior","ampersandsmall","Acutesmall","parenleftsuperior","parenrightsuperior","twodotenleader","onedotenleader","zerooldstyle","oneoldstyle","twooldstyle","threeoldstyle","fouroldstyle","fiveoldstyle","sixoldstyle","sevenoldstyle","eightoldstyle","nineoldstyle","commasuperior","threequartersemdash","periodsuperior","questionsmall","asuperior","bsuperior","centsuperior","dsuperior","esuperior","isuperior","lsuperior","msuperior","nsuperior","osuperior","rsuperior","ssuperior","tsuperior","ff","ffi","ffl","parenleftinferior","parenrightinferior","Circumflexsmall","hyphensuperior","Gravesmall","Asmall","Bsmall","Csmall","Dsmall","Esmall","Fsmall","Gsmall","Hsmall","Ismall","Jsmall","Ksmall","Lsmall","Msmall","Nsmall","Osmall","Psmall","Qsmall","Rsmall","Ssmall","Tsmall","Usmall","Vsmall","Wsmall","Xsmall","Ysmall","Zsmall","colonmonetary","onefitted","rupiah","Tildesmall","exclamdownsmall","centoldstyle","Lslashsmall","Scaronsmall","Zcaronsmall","Dieresissmall","Brevesmall","Caronsmall","Dotaccentsmall","Macronsmall","figuredash","hypheninferior","Ogoneksmall","Ringsmall","Cedillasmall","questiondownsmall","oneeighth","threeeighths","fiveeighths","seveneighths","onethird","twothirds","zerosuperior","foursuperior","fivesuperior","sixsuperior","sevensuperior","eightsuperior","ninesuperior","zeroinferior","oneinferior","twoinferior","threeinferior","fourinferior","fiveinferior","sixinferior","seveninferior","eightinferior","nineinferior","centinferior","dollarinferior","periodinferior","commainferior","Agravesmall","Aacutesmall","Acircumflexsmall","Atildesmall","Adieresissmall","Aringsmall","AEsmall","Ccedillasmall","Egravesmall","Eacutesmall","Ecircumflexsmall","Edieresissmall","Igravesmall","Iacutesmall","Icircumflexsmall","Idieresissmall","Ethsmall","Ntildesmall","Ogravesmall","Oacutesmall","Ocircumflexsmall","Otildesmall","Odieresissmall","OEsmall","Oslashsmall","Ugravesmall","Uacutesmall","Ucircumflexsmall","Udieresissmall","Yacutesmall","Thornsmall","Ydieresissmall","001.000","001.001","001.002","001.003","Black","Bold","Book","Light","Medium","Regular","Roman","Semibold"];var l=function e(){var r=[null,{id:"hstem",min:2,stackClearing:true,stem:true},null,{id:"vstem",min:2,stackClearing:true,stem:true},{id:"vmoveto",min:1,stackClearing:true},{id:"rlineto",min:2,resetStack:true},{id:"hlineto",min:1,resetStack:true},{id:"vlineto",min:1,resetStack:true},{id:"rrcurveto",min:6,resetStack:true},null,{id:"callsubr",min:1,undefStack:true},{id:"return",min:0,undefStack:true},null,null,{id:"endchar",min:0,stackClearing:true},null,null,null,{id:"hstemhm",min:2,stackClearing:true,stem:true},{id:"hintmask",min:0,stackClearing:true},{id:"cntrmask",min:0,stackClearing:true},{id:"rmoveto",min:2,stackClearing:true},{id:"hmoveto",min:1,stackClearing:true},{id:"vstemhm",min:2,stackClearing:true,stem:true},{id:"rcurveline",min:8,resetStack:true},{id:"rlinecurve",min:8,resetStack:true},{id:"vvcurveto",min:4,resetStack:true},{id:"hhcurveto",min:4,resetStack:true},null,{id:"callgsubr",min:1,undefStack:true},{id:"vhcurveto",min:4,resetStack:true},{id:"hvcurveto",min:4,resetStack:true}];var t=[null,null,null,{id:"and",min:2,stackDelta:-1},{id:"or",min:2,stackDelta:-1},{id:"not",min:1,stackDelta:0},null,null,null,{id:"abs",min:1,stackDelta:0},{id:"add",min:2,stackDelta:-1,stackFn:function e(r,t){r[t-2]=r[t-2]+r[t-1]}},{id:"sub",min:2,stackDelta:-1,stackFn:function e(r,t){r[t-2]=r[t-2]-r[t-1]}},{id:"div",min:2,stackDelta:-1,stackFn:function e(r,t){r[t-2]=r[t-2]/r[t-1]}},null,{id:"neg",min:1,stackDelta:0,stackFn:function e(r,t){r[t-1]=-r[t-1]}},{id:"eq",min:2,stackDelta:-1},null,null,{id:"drop",min:1,stackDelta:-1},null,{id:"put",min:2,stackDelta:-2},{id:"get",min:1,stackDelta:0},{id:"ifelse",min:4,stackDelta:-3},{id:"random",min:0,stackDelta:1},{id:"mul",min:2,stackDelta:-1,stackFn:function e(r,t){r[t-2]=r[t-2]*r[t-1]}},null,{id:"sqrt",min:1,stackDelta:0},{id:"dup",min:1,stackDelta:1},{id:"exch",min:2,stackDelta:0},{id:"index",min:2,stackDelta:0},{id:"roll",min:3,stackDelta:-2},null,null,null,{id:"hflex",min:7,resetStack:true},{id:"flex",min:13,resetStack:true},{id:"hflex1",min:9,resetStack:true},{id:"flex1",min:11,resetStack:true}];function s(e,r,t){this.bytes=e.getBytes();this.properties=r;this.seacAnalysisEnabled=!!t}s.prototype={parse:function e(){var r=this.properties;var t=new c;this.cff=t;var a=this.parseHeader();var i=this.parseIndex(a.endPos);var n=this.parseIndex(i.endPos);var o=this.parseIndex(n.endPos);var s=this.parseIndex(o.endPos);var l=this.parseDict(n.obj.get(0));var u=this.createDict(v,l,t.strings);t.header=a.obj;t.names=this.parseNameIndex(i.obj);t.strings=this.parseStringIndex(o.obj);t.topDict=u;t.globalSubrIndex=s.obj;this.parsePrivateDict(t.topDict);t.isCIDFont=u.hasName("ROS");var f=u.getByName("CharStrings");var h=this.parseIndex(f).obj;var d=u.getByName("FontMatrix");if(d){r.fontMatrix=d}var g=u.getByName("FontBBox");if(g){r.ascent=Math.max(g[3],g[1]);r.descent=Math.min(g[1],g[3]);r.ascentScaled=true}var m,p;if(t.isCIDFont){var b=this.parseIndex(u.getByName("FDArray")).obj;for(var y=0,w=b.count;y<w;++y){var k=b.get(y);var S=this.createDict(v,this.parseDict(k),t.strings);this.parsePrivateDict(S);t.fdArray.push(S)}p=null;m=this.parseCharsets(u.getByName("charset"),h.count,t.strings,true);t.fdSelect=this.parseFDSelect(u.getByName("FDSelect"),h.count)}else{m=this.parseCharsets(u.getByName("charset"),h.count,t.strings,false);p=this.parseEncoding(u.getByName("Encoding"),r,t.strings,m.charset)}t.charset=m;t.encoding=p;var C=this.parseCharStrings({charStrings:h,localSubrIndex:u.privateDict.subrsIndex,globalSubrIndex:s.obj,fdSelect:t.fdSelect,fdArray:t.fdArray,privateDict:u.privateDict});t.charStrings=C.charStrings;t.seacs=C.seacs;t.widths=C.widths;return t},parseHeader:function e(){var r=this.bytes;var t=r.length;var i=0;while(i<t&&r[i]!==1){++i}if(i>=t){throw new a.FormatError("Invalid CFF header")}if(i!==0){(0,a.info)("cff data is shifted");r=r.subarray(i);this.bytes=r}var n=r[0];var o=r[1];var s=r[2];var l=r[3];var c=new u(n,o,s,l);return{obj:c,endPos:s}},parseDict:function e(r){var t=0;function i(){var e=r[t++];if(e===30){return n()}else if(e===28){e=r[t++];e=(e<<24|r[t++]<<16)>>16;return e}else if(e===29){e=r[t++];e=e<<8|r[t++];e=e<<8|r[t++];e=e<<8|r[t++];return e}else if(e>=32&&e<=246){return e-139}else if(e>=247&&e<=250){return(e-247)*256+r[t++]+108}else if(e>=251&&e<=254){return-((e-251)*256)-r[t++]-108}(0,a.warn)('CFFParser_parseDict: "'+e+'" is a reserved command.');return NaN}function n(){var e="";var a=15;var i=["0","1","2","3","4","5","6","7","8","9",".","E","E-",null,"-"];var n=r.length;while(t<n){var o=r[t++];var s=o>>4;var l=o&15;if(s===a){break}e+=i[s];if(l===a){break}e+=i[l]}return parseFloat(e)}var o=[];var s=[];t=0;var l=r.length;while(t<l){var c=r[t];if(c<=21){if(c===12){c=c<<8|r[++t]}s.push([c,o]);o=[];++t}else{o.push(i())}}return s},parseIndex:function e(r){var t=new h;var a=this.bytes;var i=a[r++]<<8|a[r++];var n=[];var o=r;var s,l;if(i!==0){var c=a[r++];var u=r+(i+1)*c-1;for(s=0,l=i+1;s<l;++s){var f=0;for(var d=0;d<c;++d){f<<=8;f+=a[r++]}n.push(u+f)}o=n[i]}for(s=0,l=n.length-1;s<l;++s){var v=n[s];var g=n[s+1];t.add(a.subarray(v,g))}return{obj:t,endPos:o}},parseNameIndex:function e(r){var t=[];for(var i=0,n=r.count;i<n;++i){var o=r.get(i);t.push((0,a.bytesToString)(o))}return t},parseStringIndex:function e(r){var t=new f;for(var i=0,n=r.count;i<n;++i){var o=r.get(i);t.add((0,a.bytesToString)(o))}return t},createDict:function e(r,t,a){var i=new r(a);for(var n=0,o=t.length;n<o;++n){var s=t[n];var l=s[0];var c=s[1];i.setByKey(l,c)}return i},parseCharString:function e(i,n,s,l){if(!n||i.callDepth>o){return false}var c=i.stackSize;var u=i.stack;var f=n.length;for(var h=0;h<f;){var d=n[h++];var v=null;if(d===12){var g=n[h++];if(g===0){n[h-2]=139;n[h-1]=22;c=0}else{v=t[g]}}else if(d===28){u[c]=(n[h]<<24|n[h+1]<<16)>>16;h+=2;c++}else if(d===14){if(c>=4){c-=4;if(this.seacAnalysisEnabled){i.seac=u.slice(c,c+4);return false}}v=r[d]}else if(d>=32&&d<=246){u[c]=d-139;c++}else if(d>=247&&d<=254){u[c]=d<251?(d-247<<8)+n[h]+108:-(d-251<<8)-n[h]-108;h++;c++}else if(d===255){u[c]=(n[h]<<24|n[h+1]<<16|n[h+2]<<8|n[h+3])/65536;h+=4;c++}else if(d===19||d===20){i.hints+=c>>1;h+=i.hints+7>>3;c%=2;v=r[d]}else if(d===10||d===29){var m;if(d===10){m=s}else{m=l}if(!m){v=r[d];(0,a.warn)("Missing subrsIndex for "+v.id);return false}var p=32768;if(m.count<1240){p=107}else if(m.count<33900){p=1131}var b=u[--c]+p;if(b<0||b>=m.count||isNaN(b)){v=r[d];(0,a.warn)("Out of bounds subrIndex for "+v.id);return false}i.stackSize=c;i.callDepth++;var y=this.parseCharString(i,m.get(b),s,l);if(!y){return false}i.callDepth--;c=i.stackSize;continue}else if(d===11){i.stackSize=c;return true}else{v=r[d]}if(v){if(v.stem){i.hints+=c>>1}if("min"in v){if(!i.undefStack&&c<v.min){(0,a.warn)("Not enough parameters for "+v.id+"; actual: "+c+", expected: "+v.min);return false}}if(i.firstStackClearing&&v.stackClearing){i.firstStackClearing=false;c-=v.min;if(c>=2&&v.stem){c%=2}else if(c>1){(0,a.warn)("Found too many parameters for stack-clearing command")}if(c>0&&u[c-1]>=0){i.width=u[c-1]}}if("stackDelta"in v){if("stackFn"in v){v.stackFn(u,c)}c+=v.stackDelta}else if(v.stackClearing){c=0}else if(v.resetStack){c=0;i.undefStack=false}else if(v.undefStack){c=0;i.undefStack=true;i.firstStackClearing=false}}}i.stackSize=c;return true},parseCharStrings:function e(r){var t=r.charStrings,i=r.localSubrIndex,n=r.globalSubrIndex,o=r.fdSelect,s=r.fdArray,l=r.privateDict;var c=[];var u=[];var f=t.count;for(var h=0;h<f;h++){var d=t.get(h);var v={callDepth:0,stackSize:0,stack:[],undefStack:true,hints:0,firstStackClearing:true,seac:null,width:null};var g=true;var m=null;var p=l;if(o&&s.length){var b=o.getFDIndex(h);if(b===-1){(0,a.warn)("Glyph index is not in fd select.");g=false}if(b>=s.length){(0,a.warn)("Invalid fd index for glyph index.");g=false}if(g){p=s[b].privateDict;m=p.subrsIndex}}else if(i){m=i}if(g){g=this.parseCharString(v,d,m,n)}if(v.width!==null){var y=p.getByName("nominalWidthX");u[h]=y+v.width}else{var w=p.getByName("defaultWidthX");u[h]=w}if(v.seac!==null){c[h]=v.seac}if(!g){t.set(h,new Uint8Array([14]))}}return{charStrings:t,seacs:c,widths:u}},emptyPrivateDictionary:function e(r){var t=this.createDict(g,[],r.strings);r.setByKey(18,[0,0]);r.privateDict=t},parsePrivateDict:function e(r){if(!r.hasName("Private")){this.emptyPrivateDictionary(r);return}var t=r.getByName("Private");if(!Array.isArray(t)||t.length!==2){r.removeByName("Private");return}var a=t[0];var i=t[1];if(a===0||i>=this.bytes.length){this.emptyPrivateDictionary(r);return}var n=i+a;var o=this.bytes.subarray(i,n);var s=this.parseDict(o);var l=this.createDict(g,s,r.strings);r.privateDict=l;if(!l.getByName("Subrs")){return}var c=l.getByName("Subrs");var u=i+c;if(c===0||u>=this.bytes.length){this.emptyPrivateDictionary(r);return}var f=this.parseIndex(u);l.subrsIndex=f.obj},parseCharsets:function e(r,t,n,o){if(r===0){return new p(true,m.ISO_ADOBE,i.ISOAdobeCharset)}else if(r===1){return new p(true,m.EXPERT,i.ExpertCharset)}else if(r===2){return new p(true,m.EXPERT_SUBSET,i.ExpertSubsetCharset)}var s=this.bytes;var l=r;var c=s[r++];var u=[".notdef"];var f,h,d;t-=1;switch(c){case 0:for(d=0;d<t;d++){f=s[r++]<<8|s[r++];u.push(o?f:n.get(f))}break;case 1:while(u.length<=t){f=s[r++]<<8|s[r++];h=s[r++];for(d=0;d<=h;d++){u.push(o?f++:n.get(f++))}}break;case 2:while(u.length<=t){f=s[r++]<<8|s[r++];h=s[r++]<<8|s[r++];for(d=0;d<=h;d++){u.push(o?f++:n.get(f++))}}break;default:throw new a.FormatError("Unknown charset format")}var v=r;var g=s.subarray(l,v);return new p(false,c,u,g)},parseEncoding:function e(r,t,i,o){var s=Object.create(null);var l=this.bytes;var c=false;var u,f,h;var d=null;function v(){var e=l[r++];for(f=0;f<e;f++){var t=l[r++];var a=(l[r++]<<8)+(l[r++]&255);s[t]=o.indexOf(i.get(a))}}if(r===0||r===1){c=true;u=r;var g=r?n.ExpertEncoding:n.StandardEncoding;for(f=0,h=o.length;f<h;f++){var m=g.indexOf(o[f]);if(m!==-1){s[m]=f}}}else{var p=r;u=l[r++];switch(u&127){case 0:var y=l[r++];for(f=1;f<=y;f++){s[l[r++]]=f}break;case 1:var w=l[r++];var k=1;for(f=0;f<w;f++){var S=l[r++];var C=l[r++];for(var x=S;x<=S+C;x++){s[x]=k++}}break;default:throw new a.FormatError("Unknown encoding format: "+u+" in CFF")}var _=r;if(u&128){l[p]&=127;v()}d=l.subarray(p,_)}u=u&127;return new b(c,u,s,d)},parseFDSelect:function e(r,t){var i=this.bytes;var n=i[r++];var o=[];var s;switch(n){case 0:for(s=0;s<t;++s){var l=i[r++];o.push(l)}break;case 3:var c=i[r++]<<8|i[r++];for(s=0;s<c;++s){var u=i[r++]<<8|i[r++];if(s===0&&u!==0){(0,a.warn)("parseFDSelect: The first range must have a first GID of 0"+" -- trying to recover.");u=0}var f=i[r++];var h=i[r]<<8|i[r+1];for(var d=u;d<h;++d){o.push(f)}}r+=2;break;default:throw new a.FormatError('parseFDSelect: Unknown format "'+n+'".')}if(o.length!==t){throw new a.FormatError("parseFDSelect: Invalid font data.")}return new y(n,o)}};return s}();var c=function e(){function r(){this.header=null;this.names=[];this.topDict=null;this.strings=new f;this.globalSubrIndex=null;this.encoding=null;this.charset=null;this.charStrings=null;this.fdArray=[];this.fdSelect=null;this.isCIDFont=false}r.prototype={duplicateFirstGlyph:function e(){if(this.charStrings.count>=65535){(0,a.warn)("Not enough space in charstrings to duplicate first glyph.");return}var r=this.charStrings.get(0);this.charStrings.add(r);if(this.isCIDFont){this.fdSelect.fdSelect.push(this.fdSelect.fdSelect[0])}},hasGlyphId:function e(r){if(r<0||r>=this.charStrings.count){return false}var t=this.charStrings.get(r);return t.length>0}};return r}();var u=function e(){function r(e,r,t,a){this.major=e;this.minor=r;this.hdrSize=t;this.offSize=a}return r}();var f=function e(){function r(){this.strings=[]}r.prototype={get:function e(r){if(r>=0&&r<=390){return s[r]}if(r-391<=this.strings.length){return this.strings[r-391]}return s[0]},add:function e(r){this.strings.push(r)},get count(){return this.strings.length}};return r}();var h=function e(){function r(){this.objects=[];this.length=0}r.prototype={add:function e(r){this.length+=r.length;this.objects.push(r)},set:function e(r,t){this.length+=t.length-this.objects[r].length;this.objects[r]=t},get:function e(r){return this.objects[r]},get count(){return this.objects.length}};return r}();var d=function e(){function r(e,r){this.keyToNameMap=e.keyToNameMap;this.nameToKeyMap=e.nameToKeyMap;this.defaults=e.defaults;this.types=e.types;this.opcodes=e.opcodes;this.order=e.order;this.strings=r;this.values=Object.create(null)}r.prototype={setByKey:function e(r,t){if(!(r in this.keyToNameMap)){return false}var i=t.length;if(i===0){return true}for(var n=0;n<i;n++){if(isNaN(t[n])){(0,a.warn)('Invalid CFFDict value: "'+t+'" for key "'+r+'".');return true}}var o=this.types[r];if(o==="num"||o==="sid"||o==="offset"){t=t[0]}this.values[r]=t;return true},setByName:function e(r,t){if(!(r in this.nameToKeyMap)){throw new a.FormatError('Invalid dictionary name "'+r+'"')}this.values[this.nameToKeyMap[r]]=t},hasName:function e(r){return this.nameToKeyMap[r]in this.values},getByName:function e(r){if(!(r in this.nameToKeyMap)){throw new a.FormatError("Invalid dictionary name "+r+'"')}var t=this.nameToKeyMap[r];if(!(t in this.values)){return this.defaults[t]}return this.values[t]},removeByName:function e(r){delete this.values[this.nameToKeyMap[r]]}};r.createTables=function e(r){var t={keyToNameMap:{},nameToKeyMap:{},defaults:{},types:{},opcodes:{},order:[]};for(var a=0,i=r.length;a<i;++a){var n=r[a];var o=Array.isArray(n[0])?(n[0][0]<<8)+n[0][1]:n[0];t.keyToNameMap[o]=n[1];t.nameToKeyMap[n[1]]=o;t.types[o]=n[2];t.defaults[o]=n[3];t.opcodes[o]=Array.isArray(n[0])?n[0]:[n[0]];t.order.push(o)}return t};return r}();var v=function e(){var r=[[[12,30],"ROS",["sid","sid","num"],null],[[12,20],"SyntheticBase","num",null],[0,"version","sid",null],[1,"Notice","sid",null],[[12,0],"Copyright","sid",null],[2,"FullName","sid",null],[3,"FamilyName","sid",null],[4,"Weight","sid",null],[[12,1],"isFixedPitch","num",0],[[12,2],"ItalicAngle","num",0],[[12,3],"UnderlinePosition","num",-100],[[12,4],"UnderlineThickness","num",50],[[12,5],"PaintType","num",0],[[12,6],"CharstringType","num",2],[[12,7],"FontMatrix",["num","num","num","num","num","num"],[.001,0,0,.001,0,0]],[13,"UniqueID","num",null],[5,"FontBBox",["num","num","num","num"],[0,0,0,0]],[[12,8],"StrokeWidth","num",0],[14,"XUID","array",null],[15,"charset","offset",0],[16,"Encoding","offset",0],[17,"CharStrings","offset",0],[18,"Private",["offset","offset"],null],[[12,21],"PostScript","sid",null],[[12,22],"BaseFontName","sid",null],[[12,23],"BaseFontBlend","delta",null],[[12,31],"CIDFontVersion","num",0],[[12,32],"CIDFontRevision","num",0],[[12,33],"CIDFontType","num",0],[[12,34],"CIDCount","num",8720],[[12,35],"UIDBase","num",null],[[12,37],"FDSelect","offset",null],[[12,36],"FDArray","offset",null],[[12,38],"FontName","sid",null]];var t=null;function a(e){if(t===null){t=d.createTables(r)}d.call(this,t,e);this.privateDict=null}a.prototype=Object.create(d.prototype);return a}();var g=function e(){var r=[[6,"BlueValues","delta",null],[7,"OtherBlues","delta",null],[8,"FamilyBlues","delta",null],[9,"FamilyOtherBlues","delta",null],[[12,9],"BlueScale","num",.039625],[[12,10],"BlueShift","num",7],[[12,11],"BlueFuzz","num",1],[10,"StdHW","num",null],[11,"StdVW","num",null],[[12,12],"StemSnapH","delta",null],[[12,13],"StemSnapV","delta",null],[[12,14],"ForceBold","num",0],[[12,17],"LanguageGroup","num",0],[[12,18],"ExpansionFactor","num",.06],[[12,19],"initialRandomSeed","num",0],[20,"defaultWidthX","num",0],[21,"nominalWidthX","num",0],[19,"Subrs","offset",null]];var t=null;function a(e){if(t===null){t=d.createTables(r)}d.call(this,t,e);this.subrsIndex=null}a.prototype=Object.create(d.prototype);return a}();var m={ISO_ADOBE:0,EXPERT:1,EXPERT_SUBSET:2};var p=function e(){function r(e,r,t,a){this.predefined=e;this.format=r;this.charset=t;this.raw=a}return r}();var b=function e(){function r(e,r,t,a){this.predefined=e;this.format=r;this.encoding=t;this.raw=a}return r}();var y=function e(){function r(e,r){this.format=e;this.fdSelect=r}r.prototype={getFDIndex:function e(r){if(r<0||r>=this.fdSelect.length){return-1}return this.fdSelect[r]}};return r}();var w=function e(){function r(){this.offsets=Object.create(null)}r.prototype={isTracking:function e(r){return r in this.offsets},track:function e(r,t){if(r in this.offsets){throw new a.FormatError("Already tracking location of "+r)}this.offsets[r]=t},offset:function e(r){for(var t in this.offsets){this.offsets[t]+=r}},setEntryLocation:function e(r,t,i){if(!(r in this.offsets)){throw new a.FormatError("Not tracking location of "+r)}var n=i.data;var o=this.offsets[r];var s=5;for(var l=0,c=t.length;l<c;++l){var u=l*s+o;var f=u+1;var h=u+2;var d=u+3;var v=u+4;if(n[u]!==29||n[f]!==0||n[h]!==0||n[d]!==0||n[v]!==0){throw new a.FormatError("writing to an offset that is not empty")}var g=t[l];n[u]=29;n[f]=g>>24&255;n[h]=g>>16&255;n[d]=g>>8&255;n[v]=g&255}}};return r}();var k=function e(){function r(e){this.cff=e}r.prototype={compile:function e(){var r=this.cff;var t={data:[],length:0,add:function e(r){this.data=this.data.concat(r);this.length=this.data.length}};var i=this.compileHeader(r.header);t.add(i);var n=this.compileNameIndex(r.names);t.add(n);if(r.isCIDFont){if(r.topDict.hasName("FontMatrix")){var o=r.topDict.getByName("FontMatrix");r.topDict.removeByName("FontMatrix");for(var s=0,l=r.fdArray.length;s<l;s++){var c=r.fdArray[s];var u=o.slice(0);if(c.hasName("FontMatrix")){u=a.Util.transform(u,c.getByName("FontMatrix"))}c.setByName("FontMatrix",u)}}}r.topDict.setByName("charset",0);var f=this.compileTopDicts([r.topDict],t.length,r.isCIDFont);t.add(f.output);var h=f.trackers[0];var d=this.compileStringIndex(r.strings.strings);t.add(d);var v=this.compileIndex(r.globalSubrIndex);t.add(v);if(r.encoding&&r.topDict.hasName("Encoding")){if(r.encoding.predefined){h.setEntryLocation("Encoding",[r.encoding.format],t)}else{var g=this.compileEncoding(r.encoding);h.setEntryLocation("Encoding",[t.length],t);t.add(g)}}var m=this.compileCharset(r.charset);h.setEntryLocation("charset",[t.length],t);t.add(m);var p=this.compileCharStrings(r.charStrings);h.setEntryLocation("CharStrings",[t.length],t);t.add(p);if(r.isCIDFont){h.setEntryLocation("FDSelect",[t.length],t);var b=this.compileFDSelect(r.fdSelect);t.add(b);f=this.compileTopDicts(r.fdArray,t.length,true);h.setEntryLocation("FDArray",[t.length],t);t.add(f.output);var y=f.trackers;this.compilePrivateDicts(r.fdArray,y,t)}this.compilePrivateDicts([r.topDict],[h],t);t.add([0]);return t.data},encodeNumber:function e(r){if(parseFloat(r)===parseInt(r,10)&&!isNaN(r)){return this.encodeInteger(r)}return this.encodeFloat(r)},encodeFloat:function e(r){var t=r.toString();var a=/\.(\d*?)(?:9{5,20}|0{5,20})\d{0,2}(?:e(.+)|$)/.exec(t);if(a){var i=parseFloat("1e"+((a[2]?+a[2]:0)+a[1].length));t=(Math.round(r*i)/i).toString()}var n="";var o,s;for(o=0,s=t.length;o<s;++o){var l=t[o];if(l==="e"){n+=t[++o]==="-"?"c":"b"}else if(l==="."){n+="a"}else if(l==="-"){n+="e"}else{n+=l}}n+=n.length&1?"f":"ff";var c=[30];for(o=0,s=n.length;o<s;o+=2){c.push(parseInt(n.substring(o,o+2),16))}return c},encodeInteger:function e(r){var t;if(r>=-107&&r<=107){t=[r+139]}else if(r>=108&&r<=1131){r=r-108;t=[(r>>8)+247,r&255]}else if(r>=-1131&&r<=-108){r=-r-108;t=[(r>>8)+251,r&255]}else if(r>=-32768&&r<=32767){t=[28,r>>8&255,r&255]}else{t=[29,r>>24&255,r>>16&255,r>>8&255,r&255]}return t},compileHeader:function e(r){return[r.major,r.minor,r.hdrSize,r.offSize]},compileNameIndex:function e(r){var t=new h;for(var i=0,n=r.length;i<n;++i){var o=r[i];var s=Math.min(o.length,127);var l=new Array(s);for(var c=0;c<s;c++){var u=o[c];if(u<"!"||u>"~"||u==="["||u==="]"||u==="("||u===")"||u==="{"||u==="}"||u==="<"||u===">"||u==="/"||u==="%"){u="_"}l[c]=u}l=l.join("");if(l===""){l="Bad_Font_Name"}t.add((0,a.stringToBytes)(l))}return this.compileIndex(t)},compileTopDicts:function e(r,t,a){var i=[];var n=new h;for(var o=0,s=r.length;o<s;++o){var l=r[o];if(a){l.removeByName("CIDFontVersion");l.removeByName("CIDFontRevision");l.removeByName("CIDFontType");l.removeByName("CIDCount");l.removeByName("UIDBase")}var c=new w;var u=this.compileDict(l,c);i.push(c);n.add(u);c.offset(t)}n=this.compileIndex(n,i);return{trackers:i,output:n}},compilePrivateDicts:function e(r,t,i){for(var n=0,o=r.length;n<o;++n){var s=r[n];var l=s.privateDict;if(!l||!s.hasName("Private")){throw new a.FormatError("There must be a private dictionary.")}var c=new w;var u=this.compileDict(l,c);var f=i.length;c.offset(f);if(!u.length){f=0}t[n].setEntryLocation("Private",[u.length,f],i);i.add(u);if(l.subrsIndex&&l.hasName("Subrs")){var h=this.compileIndex(l.subrsIndex);c.setEntryLocation("Subrs",[u.length],i);i.add(h)}}},compileDict:function e(r,t){var i=[];var n=r.order;for(var o=0;o<n.length;++o){var s=n[o];if(!(s in r.values)){continue}var l=r.values[s];var c=r.types[s];if(!Array.isArray(c)){c=[c]}if(!Array.isArray(l)){l=[l]}if(l.length===0){continue}for(var u=0,f=c.length;u<f;++u){var h=c[u];var d=l[u];switch(h){case"num":case"sid":i=i.concat(this.encodeNumber(d));break;case"offset":var v=r.keyToNameMap[s];if(!t.isTracking(v)){t.track(v,i.length)}i=i.concat([29,0,0,0,0]);break;case"array":case"delta":i=i.concat(this.encodeNumber(d));for(var g=1,m=l.length;g<m;++g){i=i.concat(this.encodeNumber(l[g]))}break;default:throw new a.FormatError("Unknown data type of "+h)}}i=i.concat(r.opcodes[s])}return i},compileStringIndex:function e(r){var t=new h;for(var i=0,n=r.length;i<n;++i){t.add((0,a.stringToBytes)(r[i]))}return this.compileIndex(t)},compileGlobalSubrIndex:function e(){var r=this.cff.globalSubrIndex;this.out.writeByteArray(this.compileIndex(r))},compileCharStrings:function e(r){var t=new h;for(var a=0;a<r.count;a++){var i=r.get(a);if(i.length===0){t.add(new Uint8Array([139,14]));continue}t.add(i)}return this.compileIndex(t)},compileCharset:function e(r){var t=1+(this.cff.charStrings.count-1)*2;var a=new Uint8Array(t);return this.compileTypedArray(a)},compileEncoding:function e(r){return this.compileTypedArray(r.raw)},compileFDSelect:function e(r){var t=r.format;var a=void 0,i=void 0;switch(t){case 0:a=new Uint8Array(1+r.fdSelect.length);a[0]=t;for(i=0;i<r.fdSelect.length;i++){a[i+1]=r.fdSelect[i]}break;case 3:var n=0;var o=r.fdSelect[0];var s=[t,0,0,n>>8&255,n&255,o];for(i=1;i<r.fdSelect.length;i++){var l=r.fdSelect[i];if(l!==o){s.push(i>>8&255,i&255,l);o=l}}var c=(s.length-3)/3;s[1]=c>>8&255;s[2]=c&255;s.push(i>>8&255,i&255);a=new Uint8Array(s);break}return this.compileTypedArray(a)},compileTypedArray:function e(r){var t=[];for(var a=0,i=r.length;a<i;++a){t[a]=r[a]}return t},compileIndex:function e(r,t){t=t||[];var a=r.objects;var i=a.length;if(i===0){return[0,0,0]}var n=[i>>8&255,i&255];var o=1,s;for(s=0;s<i;++s){o+=a[s].length}var l;if(o<256){l=1}else if(o<65536){l=2}else if(o<16777216){l=3}else{l=4}n.push(l);var c=1;for(s=0;s<i+1;s++){if(l===1){n.push(c&255)}else if(l===2){n.push(c>>8&255,c&255)}else if(l===3){n.push(c>>16&255,c>>8&255,c&255)}else{n.push(c>>>24&255,c>>16&255,c>>8&255,c&255)}if(a[s]){c+=a[s].length}}for(s=0;s<i;s++){if(t[s]){t[s].offset(n.length)}for(var u=0,f=a[s].length;u<f;u++){n.push(a[s][u])}}return n}};return r}();r.CFFStandardStrings=s;r.CFFParser=l;r.CFF=c;r.CFFHeader=u;r.CFFStrings=f;r.CFFIndex=h;r.CFFCharset=p;r.CFFTopDict=v;r.CFFPrivateDict=g;r.CFFCompiler=k;r.CFFFDSelect=y},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:true});var a=[".notdef","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quoteright","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","quoteleft","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","exclamdown","cent","sterling","fraction","yen","florin","section","currency","quotesingle","quotedblleft","guillemotleft","guilsinglleft","guilsinglright","fi","fl","endash","dagger","daggerdbl","periodcentered","paragraph","bullet","quotesinglbase","quotedblbase","quotedblright","guillemotright","ellipsis","perthousand","questiondown","grave","acute","circumflex","tilde","macron","breve","dotaccent","dieresis","ring","cedilla","hungarumlaut","ogonek","caron","emdash","AE","ordfeminine","Lslash","Oslash","OE","ordmasculine","ae","dotlessi","lslash","oslash","oe","germandbls","onesuperior","logicalnot","mu","trademark","Eth","onehalf","plusminus","Thorn","onequarter","divide","brokenbar","degree","thorn","threequarters","twosuperior","registered","minus","eth","multiply","threesuperior","copyright","Aacute","Acircumflex","Adieresis","Agrave","Aring","Atilde","Ccedilla","Eacute","Ecircumflex","Edieresis","Egrave","Iacute","Icircumflex","Idieresis","Igrave","Ntilde","Oacute","Ocircumflex","Odieresis","Ograve","Otilde","Scaron","Uacute","Ucircumflex","Udieresis","Ugrave","Yacute","Ydieresis","Zcaron","aacute","acircumflex","adieresis","agrave","aring","atilde","ccedilla","eacute","ecircumflex","edieresis","egrave","iacute","icircumflex","idieresis","igrave","ntilde","oacute","ocircumflex","odieresis","ograve","otilde","scaron","uacute","ucircumflex","udieresis","ugrave","yacute","ydieresis","zcaron"];var i=[".notdef","space","exclamsmall","Hungarumlautsmall","dollaroldstyle","dollarsuperior","ampersandsmall","Acutesmall","parenleftsuperior","parenrightsuperior","twodotenleader","onedotenleader","comma","hyphen","period","fraction","zerooldstyle","oneoldstyle","twooldstyle","threeoldstyle","fouroldstyle","fiveoldstyle","sixoldstyle","sevenoldstyle","eightoldstyle","nineoldstyle","colon","semicolon","commasuperior","threequartersemdash","periodsuperior","questionsmall","asuperior","bsuperior","centsuperior","dsuperior","esuperior","isuperior","lsuperior","msuperior","nsuperior","osuperior","rsuperior","ssuperior","tsuperior","ff","fi","fl","ffi","ffl","parenleftinferior","parenrightinferior","Circumflexsmall","hyphensuperior","Gravesmall","Asmall","Bsmall","Csmall","Dsmall","Esmall","Fsmall","Gsmall","Hsmall","Ismall","Jsmall","Ksmall","Lsmall","Msmall","Nsmall","Osmall","Psmall","Qsmall","Rsmall","Ssmall","Tsmall","Usmall","Vsmall","Wsmall","Xsmall","Ysmall","Zsmall","colonmonetary","onefitted","rupiah","Tildesmall","exclamdownsmall","centoldstyle","Lslashsmall","Scaronsmall","Zcaronsmall","Dieresissmall","Brevesmall","Caronsmall","Dotaccentsmall","Macronsmall","figuredash","hypheninferior","Ogoneksmall","Ringsmall","Cedillasmall","onequarter","onehalf","threequarters","questiondownsmall","oneeighth","threeeighths","fiveeighths","seveneighths","onethird","twothirds","zerosuperior","onesuperior","twosuperior","threesuperior","foursuperior","fivesuperior","sixsuperior","sevensuperior","eightsuperior","ninesuperior","zeroinferior","oneinferior","twoinferior","threeinferior","fourinferior","fiveinferior","sixinferior","seveninferior","eightinferior","nineinferior","centinferior","dollarinferior","periodinferior","commainferior","Agravesmall","Aacutesmall","Acircumflexsmall","Atildesmall","Adieresissmall","Aringsmall","AEsmall","Ccedillasmall","Egravesmall","Eacutesmall","Ecircumflexsmall","Edieresissmall","Igravesmall","Iacutesmall","Icircumflexsmall","Idieresissmall","Ethsmall","Ntildesmall","Ogravesmall","Oacutesmall","Ocircumflexsmall","Otildesmall","Odieresissmall","OEsmall","Oslashsmall","Ugravesmall","Uacutesmall","Ucircumflexsmall","Udieresissmall","Yacutesmall","Thornsmall","Ydieresissmall"];var n=[".notdef","space","dollaroldstyle","dollarsuperior","parenleftsuperior","parenrightsuperior","twodotenleader","onedotenleader","comma","hyphen","period","fraction","zerooldstyle","oneoldstyle","twooldstyle","threeoldstyle","fouroldstyle","fiveoldstyle","sixoldstyle","sevenoldstyle","eightoldstyle","nineoldstyle","colon","semicolon","commasuperior","threequartersemdash","periodsuperior","asuperior","bsuperior","centsuperior","dsuperior","esuperior","isuperior","lsuperior","msuperior","nsuperior","osuperior","rsuperior","ssuperior","tsuperior","ff","fi","fl","ffi","ffl","parenleftinferior","parenrightinferior","hyphensuperior","colonmonetary","onefitted","rupiah","centoldstyle","figuredash","hypheninferior","onequarter","onehalf","threequarters","oneeighth","threeeighths","fiveeighths","seveneighths","onethird","twothirds","zerosuperior","onesuperior","twosuperior","threesuperior","foursuperior","fivesuperior","sixsuperior","sevensuperior","eightsuperior","ninesuperior","zeroinferior","oneinferior","twoinferior","threeinferior","fourinferior","fiveinferior","sixinferior","seveninferior","eightinferior","nineinferior","centinferior","dollarinferior","periodinferior","commainferior"];r.ISOAdobeCharset=a;r.ExpertCharset=i;r.ExpertSubsetCharset=n},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:true});var a=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","exclamsmall","Hungarumlautsmall","","dollaroldstyle","dollarsuperior","ampersandsmall","Acutesmall","parenleftsuperior","parenrightsuperior","twodotenleader","onedotenleader","comma","hyphen","period","fraction","zerooldstyle","oneoldstyle","twooldstyle","threeoldstyle","fouroldstyle","fiveoldstyle","sixoldstyle","sevenoldstyle","eightoldstyle","nineoldstyle","colon","semicolon","commasuperior","threequartersemdash","periodsuperior","questionsmall","","asuperior","bsuperior","centsuperior","dsuperior","esuperior","","","","isuperior","","","lsuperior","msuperior","nsuperior","osuperior","","","rsuperior","ssuperior","tsuperior","","ff","fi","fl","ffi","ffl","parenleftinferior","","parenrightinferior","Circumflexsmall","hyphensuperior","Gravesmall","Asmall","Bsmall","Csmall","Dsmall","Esmall","Fsmall","Gsmall","Hsmall","Ismall","Jsmall","Ksmall","Lsmall","Msmall","Nsmall","Osmall","Psmall","Qsmall","Rsmall","Ssmall","Tsmall","Usmall","Vsmall","Wsmall","Xsmall","Ysmall","Zsmall","colonmonetary","onefitted","rupiah","Tildesmall","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","exclamdownsmall","centoldstyle","Lslashsmall","","","Scaronsmall","Zcaronsmall","Dieresissmall","Brevesmall","Caronsmall","","Dotaccentsmall","","","Macronsmall","","","figuredash","hypheninferior","","","Ogoneksmall","Ringsmall","Cedillasmall","","","","onequarter","onehalf","threequarters","questiondownsmall","oneeighth","threeeighths","fiveeighths","seveneighths","onethird","twothirds","","","zerosuperior","onesuperior","twosuperior","threesuperior","foursuperior","fivesuperior","sixsuperior","sevensuperior","eightsuperior","ninesuperior","zeroinferior","oneinferior","twoinferior","threeinferior","fourinferior","fiveinferior","sixinferior","seveninferior","eightinferior","nineinferior","centinferior","dollarinferior","periodinferior","commainferior","Agravesmall","Aacutesmall","Acircumflexsmall","Atildesmall","Adieresissmall","Aringsmall","AEsmall","Ccedillasmall","Egravesmall","Eacutesmall","Ecircumflexsmall","Edieresissmall","Igravesmall","Iacutesmall","Icircumflexsmall","Idieresissmall","Ethsmall","Ntildesmall","Ogravesmall","Oacutesmall","Ocircumflexsmall","Otildesmall","Odieresissmall","OEsmall","Oslashsmall","Ugravesmall","Uacutesmall","Ucircumflexsmall","Udieresissmall","Yacutesmall","Thornsmall","Ydieresissmall"];var i=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","exclamsmall","Hungarumlautsmall","centoldstyle","dollaroldstyle","dollarsuperior","ampersandsmall","Acutesmall","parenleftsuperior","parenrightsuperior","twodotenleader","onedotenleader","comma","hyphen","period","fraction","zerooldstyle","oneoldstyle","twooldstyle","threeoldstyle","fouroldstyle","fiveoldstyle","sixoldstyle","sevenoldstyle","eightoldstyle","nineoldstyle","colon","semicolon","","threequartersemdash","","questionsmall","","","","","Ethsmall","","","onequarter","onehalf","threequarters","oneeighth","threeeighths","fiveeighths","seveneighths","onethird","twothirds","","","","","","","ff","fi","fl","ffi","ffl","parenleftinferior","","parenrightinferior","Circumflexsmall","hypheninferior","Gravesmall","Asmall","Bsmall","Csmall","Dsmall","Esmall","Fsmall","Gsmall","Hsmall","Ismall","Jsmall","Ksmall","Lsmall","Msmall","Nsmall","Osmall","Psmall","Qsmall","Rsmall","Ssmall","Tsmall","Usmall","Vsmall","Wsmall","Xsmall","Ysmall","Zsmall","colonmonetary","onefitted","rupiah","Tildesmall","","","asuperior","centsuperior","","","","","Aacutesmall","Agravesmall","Acircumflexsmall","Adieresissmall","Atildesmall","Aringsmall","Ccedillasmall","Eacutesmall","Egravesmall","Ecircumflexsmall","Edieresissmall","Iacutesmall","Igravesmall","Icircumflexsmall","Idieresissmall","Ntildesmall","Oacutesmall","Ogravesmall","Ocircumflexsmall","Odieresissmall","Otildesmall","Uacutesmall","Ugravesmall","Ucircumflexsmall","Udieresissmall","","eightsuperior","fourinferior","threeinferior","sixinferior","eightinferior","seveninferior","Scaronsmall","","centinferior","twoinferior","","Dieresissmall","","Caronsmall","osuperior","fiveinferior","","commainferior","periodinferior","Yacutesmall","","dollarinferior","","","Thornsmall","","nineinferior","zeroinferior","Zcaronsmall","AEsmall","Oslashsmall","questiondownsmall","oneinferior","Lslashsmall","","","","","","","Cedillasmall","","","","","","OEsmall","figuredash","hyphensuperior","","","","","exclamdownsmall","","Ydieresissmall","","onesuperior","twosuperior","threesuperior","foursuperior","fivesuperior","sixsuperior","sevensuperior","ninesuperior","zerosuperior","","esuperior","rsuperior","tsuperior","","","isuperior","ssuperior","dsuperior","","","","","","lsuperior","Ogoneksmall","Brevesmall","Macronsmall","bsuperior","nsuperior","msuperior","commasuperior","periodsuperior","Dotaccentsmall","Ringsmall","","","",""];var n=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quotesingle","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","grave","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","","Adieresis","Aring","Ccedilla","Eacute","Ntilde","Odieresis","Udieresis","aacute","agrave","acircumflex","adieresis","atilde","aring","ccedilla","eacute","egrave","ecircumflex","edieresis","iacute","igrave","icircumflex","idieresis","ntilde","oacute","ograve","ocircumflex","odieresis","otilde","uacute","ugrave","ucircumflex","udieresis","dagger","degree","cent","sterling","section","bullet","paragraph","germandbls","registered","copyright","trademark","acute","dieresis","notequal","AE","Oslash","infinity","plusminus","lessequal","greaterequal","yen","mu","partialdiff","summation","product","pi","integral","ordfeminine","ordmasculine","Omega","ae","oslash","questiondown","exclamdown","logicalnot","radical","florin","approxequal","Delta","guillemotleft","guillemotright","ellipsis","space","Agrave","Atilde","Otilde","OE","oe","endash","emdash","quotedblleft","quotedblright","quoteleft","quoteright","divide","lozenge","ydieresis","Ydieresis","fraction","currency","guilsinglleft","guilsinglright","fi","fl","daggerdbl","periodcentered","quotesinglbase","quotedblbase","perthousand","Acircumflex","Ecircumflex","Aacute","Edieresis","Egrave","Iacute","Icircumflex","Idieresis","Igrave","Oacute","Ocircumflex","apple","Ograve","Uacute","Ucircumflex","Ugrave","dotlessi","circumflex","tilde","macron","breve","dotaccent","ring","cedilla","hungarumlaut","ogonek","caron"];var o=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quoteright","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","quoteleft","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","exclamdown","cent","sterling","fraction","yen","florin","section","currency","quotesingle","quotedblleft","guillemotleft","guilsinglleft","guilsinglright","fi","fl","","endash","dagger","daggerdbl","periodcentered","","paragraph","bullet","quotesinglbase","quotedblbase","quotedblright","guillemotright","ellipsis","perthousand","","questiondown","","grave","acute","circumflex","tilde","macron","breve","dotaccent","dieresis","","ring","cedilla","","hungarumlaut","ogonek","caron","emdash","","","","","","","","","","","","","","","","","AE","","ordfeminine","","","","","Lslash","Oslash","OE","ordmasculine","","","","","","ae","","","","dotlessi","","","lslash","oslash","oe","germandbls","","","",""];var s=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quotesingle","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","grave","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","bullet","Euro","bullet","quotesinglbase","florin","quotedblbase","ellipsis","dagger","daggerdbl","circumflex","perthousand","Scaron","guilsinglleft","OE","bullet","Zcaron","bullet","bullet","quoteleft","quoteright","quotedblleft","quotedblright","bullet","endash","emdash","tilde","trademark","scaron","guilsinglright","oe","bullet","zcaron","Ydieresis","space","exclamdown","cent","sterling","currency","yen","brokenbar","section","dieresis","copyright","ordfeminine","guillemotleft","logicalnot","hyphen","registered","macron","degree","plusminus","twosuperior","threesuperior","acute","mu","paragraph","periodcentered","cedilla","onesuperior","ordmasculine","guillemotright","onequarter","onehalf","threequarters","questiondown","Agrave","Aacute","Acircumflex","Atilde","Adieresis","Aring","AE","Ccedilla","Egrave","Eacute","Ecircumflex","Edieresis","Igrave","Iacute","Icircumflex","Idieresis","Eth","Ntilde","Ograve","Oacute","Ocircumflex","Otilde","Odieresis","multiply","Oslash","Ugrave","Uacute","Ucircumflex","Udieresis","Yacute","Thorn","germandbls","agrave","aacute","acircumflex","atilde","adieresis","aring","ae","ccedilla","egrave","eacute","ecircumflex","edieresis","igrave","iacute","icircumflex","idieresis","eth","ntilde","ograve","oacute","ocircumflex","otilde","odieresis","divide","oslash","ugrave","uacute","ucircumflex","udieresis","yacute","thorn","ydieresis"];var l=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","exclam","universal","numbersign","existential","percent","ampersand","suchthat","parenleft","parenright","asteriskmath","plus","comma","minus","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","congruent","Alpha","Beta","Chi","Delta","Epsilon","Phi","Gamma","Eta","Iota","theta1","Kappa","Lambda","Mu","Nu","Omicron","Pi","Theta","Rho","Sigma","Tau","Upsilon","sigma1","Omega","Xi","Psi","Zeta","bracketleft","therefore","bracketright","perpendicular","underscore","radicalex","alpha","beta","chi","delta","epsilon","phi","gamma","eta","iota","phi1","kappa","lambda","mu","nu","omicron","pi","theta","rho","sigma","tau","upsilon","omega1","omega","xi","psi","zeta","braceleft","bar","braceright","similar","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Euro","Upsilon1","minute","lessequal","fraction","infinity","florin","club","diamond","heart","spade","arrowboth","arrowleft","arrowup","arrowright","arrowdown","degree","plusminus","second","greaterequal","multiply","proportional","partialdiff","bullet","divide","notequal","equivalence","approxequal","ellipsis","arrowvertex","arrowhorizex","carriagereturn","aleph","Ifraktur","Rfraktur","weierstrass","circlemultiply","circleplus","emptyset","intersection","union","propersuperset","reflexsuperset","notsubset","propersubset","reflexsubset","element","notelement","angle","gradient","registerserif","copyrightserif","trademarkserif","product","radical","dotmath","logicalnot","logicaland","logicalor","arrowdblboth","arrowdblleft","arrowdblup","arrowdblright","arrowdbldown","lozenge","angleleft","registersans","copyrightsans","trademarksans","summation","parenlefttp","parenleftex","parenleftbt","bracketlefttp","bracketleftex","bracketleftbt","bracelefttp","braceleftmid","braceleftbt","braceex","","angleright","integral","integraltp","integralex","integralbt","parenrighttp","parenrightex","parenrightbt","bracketrighttp","bracketrightex","bracketrightbt","bracerighttp","bracerightmid","bracerightbt",""];var c=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","a1","a2","a202","a3","a4","a5","a119","a118","a117","a11","a12","a13","a14","a15","a16","a105","a17","a18","a19","a20","a21","a22","a23","a24","a25","a26","a27","a28","a6","a7","a8","a9","a10","a29","a30","a31","a32","a33","a34","a35","a36","a37","a38","a39","a40","a41","a42","a43","a44","a45","a46","a47","a48","a49","a50","a51","a52","a53","a54","a55","a56","a57","a58","a59","a60","a61","a62","a63","a64","a65","a66","a67","a68","a69","a70","a71","a72","a73","a74","a203","a75","a204","a76","a77","a78","a79","a81","a82","a83","a84","a97","a98","a99","a100","","a89","a90","a93","a94","a91","a92","a205","a85","a206","a86","a87","a88","a95","a96","","","","","","","","","","","","","","","","","","","","a101","a102","a103","a104","a106","a107","a108","a112","a111","a110","a109","a120","a121","a122","a123","a124","a125","a126","a127","a128","a129","a130","a131","a132","a133","a134","a135","a136","a137","a138","a139","a140","a141","a142","a143","a144","a145","a146","a147","a148","a149","a150","a151","a152","a153","a154","a155","a156","a157","a158","a159","a160","a161","a163","a164","a196","a165","a192","a166","a167","a168","a169","a170","a171","a172","a173","a162","a174","a175","a176","a177","a178","a179","a193","a180","a199","a181","a200","a182","","a201","a183","a184","a197","a185","a194","a198","a186","a195","a187","a188","a189","a190","a191",""];function u(e){switch(e){case"WinAnsiEncoding":return s;case"StandardEncoding":return o;case"MacRomanEncoding":return n;case"SymbolSetEncoding":return l;case"ZapfDingbatsEncoding":return c;case"ExpertEncoding":return a;case"MacExpertEncoding":return i;default:return null}}r.WinAnsiEncoding=s;r.StandardEncoding=o;r.MacRomanEncoding=n;r.SymbolSetEncoding=l;r.ZapfDingbatsEncoding=c;r.ExpertEncoding=a;r.getEncoding=u},function(e,r,t){var a=t(2).getLookupTableFactory;var i=a(function(e){e["A"]=65;e["AE"]=198;e["AEacute"]=508;e["AEmacron"]=482;e["AEsmall"]=63462;e["Aacute"]=193;e["Aacutesmall"]=63457;e["Abreve"]=258;e["Abreveacute"]=7854;e["Abrevecyrillic"]=1232;e["Abrevedotbelow"]=7862;e["Abrevegrave"]=7856;e["Abrevehookabove"]=7858;e["Abrevetilde"]=7860;e["Acaron"]=461;e["Acircle"]=9398;e["Acircumflex"]=194;e["Acircumflexacute"]=7844;e["Acircumflexdotbelow"]=7852;e["Acircumflexgrave"]=7846;e["Acircumflexhookabove"]=7848;e["Acircumflexsmall"]=63458;e["Acircumflextilde"]=7850;e["Acute"]=63177;e["Acutesmall"]=63412;e["Acyrillic"]=1040;e["Adblgrave"]=512;e["Adieresis"]=196;e["Adieresiscyrillic"]=1234;e["Adieresismacron"]=478;e["Adieresissmall"]=63460;e["Adotbelow"]=7840;e["Adotmacron"]=480;e["Agrave"]=192;e["Agravesmall"]=63456;e["Ahookabove"]=7842;e["Aiecyrillic"]=1236;e["Ainvertedbreve"]=514;e["Alpha"]=913;e["Alphatonos"]=902;e["Amacron"]=256;e["Amonospace"]=65313;e["Aogonek"]=260;e["Aring"]=197;e["Aringacute"]=506;e["Aringbelow"]=7680;e["Aringsmall"]=63461;e["Asmall"]=63329;e["Atilde"]=195;e["Atildesmall"]=63459;e["Aybarmenian"]=1329;e["B"]=66;e["Bcircle"]=9399;e["Bdotaccent"]=7682;e["Bdotbelow"]=7684;e["Becyrillic"]=1041;e["Benarmenian"]=1330;e["Beta"]=914;e["Bhook"]=385;e["Blinebelow"]=7686;e["Bmonospace"]=65314;e["Brevesmall"]=63220;e["Bsmall"]=63330;e["Btopbar"]=386;e["C"]=67;e["Caarmenian"]=1342;e["Cacute"]=262;e["Caron"]=63178;e["Caronsmall"]=63221;e["Ccaron"]=268;e["Ccedilla"]=199;e["Ccedillaacute"]=7688;e["Ccedillasmall"]=63463;e["Ccircle"]=9400;e["Ccircumflex"]=264;e["Cdot"]=266;e["Cdotaccent"]=266;e["Cedillasmall"]=63416;e["Chaarmenian"]=1353;e["Cheabkhasiancyrillic"]=1212;e["Checyrillic"]=1063;e["Chedescenderabkhasiancyrillic"]=1214;e["Chedescendercyrillic"]=1206;e["Chedieresiscyrillic"]=1268;e["Cheharmenian"]=1347;e["Chekhakassiancyrillic"]=1227;e["Cheverticalstrokecyrillic"]=1208;e["Chi"]=935;e["Chook"]=391;e["Circumflexsmall"]=63222;e["Cmonospace"]=65315;e["Coarmenian"]=1361;e["Csmall"]=63331;e["D"]=68;e["DZ"]=497;e["DZcaron"]=452;e["Daarmenian"]=1332;e["Dafrican"]=393;e["Dcaron"]=270;e["Dcedilla"]=7696;e["Dcircle"]=9401;e["Dcircumflexbelow"]=7698;e["Dcroat"]=272;e["Ddotaccent"]=7690;e["Ddotbelow"]=7692;e["Decyrillic"]=1044;e["Deicoptic"]=1006;e["Delta"]=8710;e["Deltagreek"]=916;e["Dhook"]=394;e["Dieresis"]=63179;e["DieresisAcute"]=63180;e["DieresisGrave"]=63181;e["Dieresissmall"]=63400;e["Digammagreek"]=988;e["Djecyrillic"]=1026;e["Dlinebelow"]=7694;e["Dmonospace"]=65316;e["Dotaccentsmall"]=63223;e["Dslash"]=272;e["Dsmall"]=63332;e["Dtopbar"]=395;e["Dz"]=498;e["Dzcaron"]=453;e["Dzeabkhasiancyrillic"]=1248;e["Dzecyrillic"]=1029;e["Dzhecyrillic"]=1039;e["E"]=69;e["Eacute"]=201;e["Eacutesmall"]=63465;e["Ebreve"]=276;e["Ecaron"]=282;e["Ecedillabreve"]=7708;e["Echarmenian"]=1333;e["Ecircle"]=9402;e["Ecircumflex"]=202;e["Ecircumflexacute"]=7870;e["Ecircumflexbelow"]=7704;e["Ecircumflexdotbelow"]=7878;e["Ecircumflexgrave"]=7872;e["Ecircumflexhookabove"]=7874;e["Ecircumflexsmall"]=63466;e["Ecircumflextilde"]=7876;e["Ecyrillic"]=1028;e["Edblgrave"]=516;e["Edieresis"]=203;e["Edieresissmall"]=63467;e["Edot"]=278;e["Edotaccent"]=278;e["Edotbelow"]=7864;e["Efcyrillic"]=1060;e["Egrave"]=200;e["Egravesmall"]=63464;e["Eharmenian"]=1335;e["Ehookabove"]=7866;e["Eightroman"]=8551;e["Einvertedbreve"]=518;e["Eiotifiedcyrillic"]=1124;e["Elcyrillic"]=1051;e["Elevenroman"]=8554;e["Emacron"]=274;e["Emacronacute"]=7702;e["Emacrongrave"]=7700;e["Emcyrillic"]=1052;e["Emonospace"]=65317;e["Encyrillic"]=1053;e["Endescendercyrillic"]=1186;e["Eng"]=330;e["Enghecyrillic"]=1188;e["Enhookcyrillic"]=1223;e["Eogonek"]=280;e["Eopen"]=400;e["Epsilon"]=917;e["Epsilontonos"]=904;e["Ercyrillic"]=1056;e["Ereversed"]=398;e["Ereversedcyrillic"]=1069;e["Escyrillic"]=1057;e["Esdescendercyrillic"]=1194;e["Esh"]=425;e["Esmall"]=63333;e["Eta"]=919;e["Etarmenian"]=1336;e["Etatonos"]=905;e["Eth"]=208;e["Ethsmall"]=63472;e["Etilde"]=7868;e["Etildebelow"]=7706;e["Euro"]=8364;e["Ezh"]=439;e["Ezhcaron"]=494;e["Ezhreversed"]=440;e["F"]=70;e["Fcircle"]=9403;e["Fdotaccent"]=7710;e["Feharmenian"]=1366;e["Feicoptic"]=996;e["Fhook"]=401;e["Fitacyrillic"]=1138;e["Fiveroman"]=8548;e["Fmonospace"]=65318;e["Fourroman"]=8547;e["Fsmall"]=63334;e["G"]=71;e["GBsquare"]=13191;e["Gacute"]=500;e["Gamma"]=915;e["Gammaafrican"]=404;e["Gangiacoptic"]=1002;e["Gbreve"]=286;e["Gcaron"]=486;e["Gcedilla"]=290;e["Gcircle"]=9404;e["Gcircumflex"]=284;e["Gcommaaccent"]=290;e["Gdot"]=288;e["Gdotaccent"]=288;e["Gecyrillic"]=1043;e["Ghadarmenian"]=1346;e["Ghemiddlehookcyrillic"]=1172;e["Ghestrokecyrillic"]=1170;e["Gheupturncyrillic"]=1168;e["Ghook"]=403;e["Gimarmenian"]=1331;e["Gjecyrillic"]=1027;e["Gmacron"]=7712;e["Gmonospace"]=65319;e["Grave"]=63182;e["Gravesmall"]=63328;e["Gsmall"]=63335;e["Gsmallhook"]=667;e["Gstroke"]=484;e["H"]=72;e["H18533"]=9679;e["H18543"]=9642;e["H18551"]=9643;e["H22073"]=9633;e["HPsquare"]=13259;e["Haabkhasiancyrillic"]=1192;e["Hadescendercyrillic"]=1202;e["Hardsigncyrillic"]=1066;e["Hbar"]=294;e["Hbrevebelow"]=7722;e["Hcedilla"]=7720;e["Hcircle"]=9405;e["Hcircumflex"]=292;e["Hdieresis"]=7718;e["Hdotaccent"]=7714;e["Hdotbelow"]=7716;e["Hmonospace"]=65320;e["Hoarmenian"]=1344;e["Horicoptic"]=1e3;e["Hsmall"]=63336;e["Hungarumlaut"]=63183;e["Hungarumlautsmall"]=63224;e["Hzsquare"]=13200;e["I"]=73;e["IAcyrillic"]=1071;e["IJ"]=306;e["IUcyrillic"]=1070;e["Iacute"]=205;e["Iacutesmall"]=63469;e["Ibreve"]=300;e["Icaron"]=463;e["Icircle"]=9406;e["Icircumflex"]=206;e["Icircumflexsmall"]=63470;e["Icyrillic"]=1030;e["Idblgrave"]=520;e["Idieresis"]=207;e["Idieresisacute"]=7726;e["Idieresiscyrillic"]=1252;e["Idieresissmall"]=63471;e["Idot"]=304;e["Idotaccent"]=304;e["Idotbelow"]=7882;e["Iebrevecyrillic"]=1238;e["Iecyrillic"]=1045;e["Ifraktur"]=8465;e["Igrave"]=204;e["Igravesmall"]=63468;e["Ihookabove"]=7880;e["Iicyrillic"]=1048;e["Iinvertedbreve"]=522;e["Iishortcyrillic"]=1049;e["Imacron"]=298;e["Imacroncyrillic"]=1250;e["Imonospace"]=65321;e["Iniarmenian"]=1339;e["Iocyrillic"]=1025;e["Iogonek"]=302;e["Iota"]=921;e["Iotaafrican"]=406;e["Iotadieresis"]=938;e["Iotatonos"]=906;e["Ismall"]=63337;e["Istroke"]=407;e["Itilde"]=296;e["Itildebelow"]=7724;e["Izhitsacyrillic"]=1140;e["Izhitsadblgravecyrillic"]=1142;e["J"]=74;e["Jaarmenian"]=1345;e["Jcircle"]=9407;e["Jcircumflex"]=308;e["Jecyrillic"]=1032;e["Jheharmenian"]=1355;e["Jmonospace"]=65322;e["Jsmall"]=63338;e["K"]=75;e["KBsquare"]=13189;e["KKsquare"]=13261;e["Kabashkircyrillic"]=1184;e["Kacute"]=7728;e["Kacyrillic"]=1050;e["Kadescendercyrillic"]=1178;e["Kahookcyrillic"]=1219;e["Kappa"]=922;e["Kastrokecyrillic"]=1182;e["Kaverticalstrokecyrillic"]=1180;e["Kcaron"]=488;e["Kcedilla"]=310;e["Kcircle"]=9408;e["Kcommaaccent"]=310;e["Kdotbelow"]=7730;e["Keharmenian"]=1364;e["Kenarmenian"]=1343;e["Khacyrillic"]=1061;e["Kheicoptic"]=998;e["Khook"]=408;e["Kjecyrillic"]=1036;e["Klinebelow"]=7732;e["Kmonospace"]=65323;e["Koppacyrillic"]=1152;e["Koppagreek"]=990;e["Ksicyrillic"]=1134;e["Ksmall"]=63339;e["L"]=76;e["LJ"]=455;e["LL"]=63167;e["Lacute"]=313;e["Lambda"]=923;e["Lcaron"]=317;e["Lcedilla"]=315;e["Lcircle"]=9409;e["Lcircumflexbelow"]=7740;e["Lcommaaccent"]=315;e["Ldot"]=319;e["Ldotaccent"]=319;e["Ldotbelow"]=7734;e["Ldotbelowmacron"]=7736;e["Liwnarmenian"]=1340;e["Lj"]=456;e["Ljecyrillic"]=1033;e["Llinebelow"]=7738;e["Lmonospace"]=65324;e["Lslash"]=321;e["Lslashsmall"]=63225;e["Lsmall"]=63340;e["M"]=77;e["MBsquare"]=13190;e["Macron"]=63184;e["Macronsmall"]=63407;e["Macute"]=7742;e["Mcircle"]=9410;e["Mdotaccent"]=7744;e["Mdotbelow"]=7746;e["Menarmenian"]=1348;e["Mmonospace"]=65325;e["Msmall"]=63341;e["Mturned"]=412;e["Mu"]=924;e["N"]=78;e["NJ"]=458;e["Nacute"]=323;e["Ncaron"]=327;e["Ncedilla"]=325;e["Ncircle"]=9411;e["Ncircumflexbelow"]=7754;e["Ncommaaccent"]=325;e["Ndotaccent"]=7748;e["Ndotbelow"]=7750;e["Nhookleft"]=413;e["Nineroman"]=8552;e["Nj"]=459;e["Njecyrillic"]=1034;e["Nlinebelow"]=7752;e["Nmonospace"]=65326;e["Nowarmenian"]=1350;e["Nsmall"]=63342;e["Ntilde"]=209;e["Ntildesmall"]=63473;e["Nu"]=925;e["O"]=79;e["OE"]=338;e["OEsmall"]=63226;e["Oacute"]=211;e["Oacutesmall"]=63475;e["Obarredcyrillic"]=1256;e["Obarreddieresiscyrillic"]=1258;e["Obreve"]=334;e["Ocaron"]=465;e["Ocenteredtilde"]=415;e["Ocircle"]=9412;e["Ocircumflex"]=212;e["Ocircumflexacute"]=7888;e["Ocircumflexdotbelow"]=7896;e["Ocircumflexgrave"]=7890;e["Ocircumflexhookabove"]=7892;e["Ocircumflexsmall"]=63476;e["Ocircumflextilde"]=7894;e["Ocyrillic"]=1054;e["Odblacute"]=336;e["Odblgrave"]=524;e["Odieresis"]=214;e["Odieresiscyrillic"]=1254;e["Odieresissmall"]=63478;e["Odotbelow"]=7884;e["Ogoneksmall"]=63227;e["Ograve"]=210;e["Ogravesmall"]=63474;e["Oharmenian"]=1365;e["Ohm"]=8486;e["Ohookabove"]=7886;e["Ohorn"]=416;e["Ohornacute"]=7898;e["Ohorndotbelow"]=7906;e["Ohorngrave"]=7900;e["Ohornhookabove"]=7902;e["Ohorntilde"]=7904;e["Ohungarumlaut"]=336;e["Oi"]=418;e["Oinvertedbreve"]=526;e["Omacron"]=332;e["Omacronacute"]=7762;e["Omacrongrave"]=7760;e["Omega"]=8486;e["Omegacyrillic"]=1120;e["Omegagreek"]=937;e["Omegaroundcyrillic"]=1146;e["Omegatitlocyrillic"]=1148;e["Omegatonos"]=911;e["Omicron"]=927;e["Omicrontonos"]=908;e["Omonospace"]=65327;e["Oneroman"]=8544;e["Oogonek"]=490;e["Oogonekmacron"]=492;e["Oopen"]=390;e["Oslash"]=216;e["Oslashacute"]=510;e["Oslashsmall"]=63480;e["Osmall"]=63343;e["Ostrokeacute"]=510;e["Otcyrillic"]=1150;e["Otilde"]=213;e["Otildeacute"]=7756;e["Otildedieresis"]=7758;e["Otildesmall"]=63477;e["P"]=80;e["Pacute"]=7764;e["Pcircle"]=9413;e["Pdotaccent"]=7766;e["Pecyrillic"]=1055;e["Peharmenian"]=1354;e["Pemiddlehookcyrillic"]=1190;e["Phi"]=934;e["Phook"]=420;e["Pi"]=928;e["Piwrarmenian"]=1363;e["Pmonospace"]=65328;e["Psi"]=936;e["Psicyrillic"]=1136;e["Psmall"]=63344;e["Q"]=81;e["Qcircle"]=9414;e["Qmonospace"]=65329;e["Qsmall"]=63345;e["R"]=82;e["Raarmenian"]=1356;e["Racute"]=340;e["Rcaron"]=344;e["Rcedilla"]=342;e["Rcircle"]=9415;e["Rcommaaccent"]=342;e["Rdblgrave"]=528;e["Rdotaccent"]=7768;e["Rdotbelow"]=7770;e["Rdotbelowmacron"]=7772;e["Reharmenian"]=1360;e["Rfraktur"]=8476;e["Rho"]=929;e["Ringsmall"]=63228;e["Rinvertedbreve"]=530;e["Rlinebelow"]=7774;e["Rmonospace"]=65330;e["Rsmall"]=63346;e["Rsmallinverted"]=641;e["Rsmallinvertedsuperior"]=694;e["S"]=83;e["SF010000"]=9484;e["SF020000"]=9492;e["SF030000"]=9488;e["SF040000"]=9496;e["SF050000"]=9532;e["SF060000"]=9516;e["SF070000"]=9524;e["SF080000"]=9500;e["SF090000"]=9508;e["SF100000"]=9472;e["SF110000"]=9474;e["SF190000"]=9569;e["SF200000"]=9570;e["SF210000"]=9558;e["SF220000"]=9557;e["SF230000"]=9571;e["SF240000"]=9553;e["SF250000"]=9559;e["SF260000"]=9565;e["SF270000"]=9564;e["SF280000"]=9563;e["SF360000"]=9566;e["SF370000"]=9567;e["SF380000"]=9562;e["SF390000"]=9556;e["SF400000"]=9577;e["SF410000"]=9574;e["SF420000"]=9568;e["SF430000"]=9552;e["SF440000"]=9580;e["SF450000"]=9575;e["SF460000"]=9576;e["SF470000"]=9572;e["SF480000"]=9573;e["SF490000"]=9561;e["SF500000"]=9560;e["SF510000"]=9554;e["SF520000"]=9555;e["SF530000"]=9579;e["SF540000"]=9578;e["Sacute"]=346;e["Sacutedotaccent"]=7780;e["Sampigreek"]=992;e["Scaron"]=352;e["Scarondotaccent"]=7782;e["Scaronsmall"]=63229;e["Scedilla"]=350;e["Schwa"]=399;e["Schwacyrillic"]=1240;e["Schwadieresiscyrillic"]=1242;e["Scircle"]=9416;e["Scircumflex"]=348;e["Scommaaccent"]=536;e["Sdotaccent"]=7776;e["Sdotbelow"]=7778;e["Sdotbelowdotaccent"]=7784;e["Seharmenian"]=1357;e["Sevenroman"]=8550;e["Shaarmenian"]=1351;e["Shacyrillic"]=1064;e["Shchacyrillic"]=1065;e["Sheicoptic"]=994;e["Shhacyrillic"]=1210;e["Shimacoptic"]=1004;e["Sigma"]=931;e["Sixroman"]=8549;e["Smonospace"]=65331;e["Softsigncyrillic"]=1068;e["Ssmall"]=63347;e["Stigmagreek"]=986;e["T"]=84;e["Tau"]=932;e["Tbar"]=358;e["Tcaron"]=356;e["Tcedilla"]=354;e["Tcircle"]=9417;e["Tcircumflexbelow"]=7792;e["Tcommaaccent"]=354;e["Tdotaccent"]=7786;e["Tdotbelow"]=7788;e["Tecyrillic"]=1058;e["Tedescendercyrillic"]=1196;e["Tenroman"]=8553;e["Tetsecyrillic"]=1204;e["Theta"]=920;e["Thook"]=428;e["Thorn"]=222;e["Thornsmall"]=63486;e["Threeroman"]=8546;e["Tildesmall"]=63230;e["Tiwnarmenian"]=1359;e["Tlinebelow"]=7790;e["Tmonospace"]=65332;e["Toarmenian"]=1337;e["Tonefive"]=444;e["Tonesix"]=388;e["Tonetwo"]=423;e["Tretroflexhook"]=430;e["Tsecyrillic"]=1062;e["Tshecyrillic"]=1035;e["Tsmall"]=63348;e["Twelveroman"]=8555;e["Tworoman"]=8545;e["U"]=85;e["Uacute"]=218;e["Uacutesmall"]=63482;e["Ubreve"]=364;e["Ucaron"]=467;e["Ucircle"]=9418;e["Ucircumflex"]=219;e["Ucircumflexbelow"]=7798;e["Ucircumflexsmall"]=63483;e["Ucyrillic"]=1059;e["Udblacute"]=368;e["Udblgrave"]=532;e["Udieresis"]=220;e["Udieresisacute"]=471;e["Udieresisbelow"]=7794;e["Udieresiscaron"]=473;e["Udieresiscyrillic"]=1264;e["Udieresisgrave"]=475;e["Udieresismacron"]=469;e["Udieresissmall"]=63484;e["Udotbelow"]=7908;e["Ugrave"]=217;e["Ugravesmall"]=63481;e["Uhookabove"]=7910;e["Uhorn"]=431;e["Uhornacute"]=7912;e["Uhorndotbelow"]=7920;e["Uhorngrave"]=7914;e["Uhornhookabove"]=7916;e["Uhorntilde"]=7918;e["Uhungarumlaut"]=368;e["Uhungarumlautcyrillic"]=1266;e["Uinvertedbreve"]=534;e["Ukcyrillic"]=1144;e["Umacron"]=362;e["Umacroncyrillic"]=1262;e["Umacrondieresis"]=7802;e["Umonospace"]=65333;e["Uogonek"]=370;e["Upsilon"]=933;e["Upsilon1"]=978;e["Upsilonacutehooksymbolgreek"]=979;e["Upsilonafrican"]=433;e["Upsilondieresis"]=939;e["Upsilondieresishooksymbolgreek"]=980;e["Upsilonhooksymbol"]=978;e["Upsilontonos"]=910;e["Uring"]=366;e["Ushortcyrillic"]=1038;e["Usmall"]=63349;e["Ustraightcyrillic"]=1198;e["Ustraightstrokecyrillic"]=1200;e["Utilde"]=360;e["Utildeacute"]=7800;e["Utildebelow"]=7796;e["V"]=86;e["Vcircle"]=9419;e["Vdotbelow"]=7806;e["Vecyrillic"]=1042;e["Vewarmenian"]=1358;e["Vhook"]=434;e["Vmonospace"]=65334;e["Voarmenian"]=1352;e["Vsmall"]=63350;e["Vtilde"]=7804;e["W"]=87;e["Wacute"]=7810;e["Wcircle"]=9420;e["Wcircumflex"]=372;e["Wdieresis"]=7812;e["Wdotaccent"]=7814;e["Wdotbelow"]=7816;e["Wgrave"]=7808;e["Wmonospace"]=65335;e["Wsmall"]=63351;e["X"]=88;e["Xcircle"]=9421;e["Xdieresis"]=7820;e["Xdotaccent"]=7818;e["Xeharmenian"]=1341;e["Xi"]=926;e["Xmonospace"]=65336;e["Xsmall"]=63352;e["Y"]=89;e["Yacute"]=221;e["Yacutesmall"]=63485;e["Yatcyrillic"]=1122;e["Ycircle"]=9422;e["Ycircumflex"]=374;e["Ydieresis"]=376;e["Ydieresissmall"]=63487;e["Ydotaccent"]=7822;e["Ydotbelow"]=7924;e["Yericyrillic"]=1067;e["Yerudieresiscyrillic"]=1272;e["Ygrave"]=7922;e["Yhook"]=435;e["Yhookabove"]=7926;e["Yiarmenian"]=1349;e["Yicyrillic"]=1031;e["Yiwnarmenian"]=1362;e["Ymonospace"]=65337;e["Ysmall"]=63353;e["Ytilde"]=7928;e["Yusbigcyrillic"]=1130;e["Yusbigiotifiedcyrillic"]=1132;e["Yuslittlecyrillic"]=1126;e["Yuslittleiotifiedcyrillic"]=1128;e["Z"]=90;e["Zaarmenian"]=1334;e["Zacute"]=377;e["Zcaron"]=381;e["Zcaronsmall"]=63231;e["Zcircle"]=9423;e["Zcircumflex"]=7824;e["Zdot"]=379;e["Zdotaccent"]=379;e["Zdotbelow"]=7826;e["Zecyrillic"]=1047;e["Zedescendercyrillic"]=1176;e["Zedieresiscyrillic"]=1246;e["Zeta"]=918;e["Zhearmenian"]=1338;e["Zhebrevecyrillic"]=1217;e["Zhecyrillic"]=1046;e["Zhedescendercyrillic"]=1174;e["Zhedieresiscyrillic"]=1244;e["Zlinebelow"]=7828;e["Zmonospace"]=65338;e["Zsmall"]=63354;e["Zstroke"]=437;e["a"]=97;e["aabengali"]=2438;e["aacute"]=225;e["aadeva"]=2310;e["aagujarati"]=2694;e["aagurmukhi"]=2566;e["aamatragurmukhi"]=2622;e["aarusquare"]=13059;e["aavowelsignbengali"]=2494;e["aavowelsigndeva"]=2366;e["aavowelsigngujarati"]=2750;e["abbreviationmarkarmenian"]=1375;e["abbreviationsigndeva"]=2416;e["abengali"]=2437;e["abopomofo"]=12570;e["abreve"]=259;e["abreveacute"]=7855;e["abrevecyrillic"]=1233;e["abrevedotbelow"]=7863;e["abrevegrave"]=7857;e["abrevehookabove"]=7859;e["abrevetilde"]=7861;e["acaron"]=462;e["acircle"]=9424;e["acircumflex"]=226;e["acircumflexacute"]=7845;e["acircumflexdotbelow"]=7853;e["acircumflexgrave"]=7847;e["acircumflexhookabove"]=7849;e["acircumflextilde"]=7851;e["acute"]=180;e["acutebelowcmb"]=791;e["acutecmb"]=769;e["acutecomb"]=769;e["acutedeva"]=2388;e["acutelowmod"]=719;e["acutetonecmb"]=833;e["acyrillic"]=1072;e["adblgrave"]=513;e["addakgurmukhi"]=2673;e["adeva"]=2309;e["adieresis"]=228;e["adieresiscyrillic"]=1235;e["adieresismacron"]=479;e["adotbelow"]=7841;e["adotmacron"]=481;e["ae"]=230;e["aeacute"]=509;e["aekorean"]=12624;e["aemacron"]=483;e["afii00208"]=8213;e["afii08941"]=8356;e["afii10017"]=1040;e["afii10018"]=1041;e["afii10019"]=1042;e["afii10020"]=1043;e["afii10021"]=1044;e["afii10022"]=1045;e["afii10023"]=1025;e["afii10024"]=1046;e["afii10025"]=1047;e["afii10026"]=1048;e["afii10027"]=1049;e["afii10028"]=1050;e["afii10029"]=1051;e["afii10030"]=1052;e["afii10031"]=1053;e["afii10032"]=1054;e["afii10033"]=1055;e["afii10034"]=1056;e["afii10035"]=1057;e["afii10036"]=1058;e["afii10037"]=1059;e["afii10038"]=1060;e["afii10039"]=1061;e["afii10040"]=1062;e["afii10041"]=1063;e["afii10042"]=1064;e["afii10043"]=1065;e["afii10044"]=1066;e["afii10045"]=1067;e["afii10046"]=1068;e["afii10047"]=1069;e["afii10048"]=1070;e["afii10049"]=1071;e["afii10050"]=1168;e["afii10051"]=1026;e["afii10052"]=1027;e["afii10053"]=1028;e["afii10054"]=1029;e["afii10055"]=1030;e["afii10056"]=1031;e["afii10057"]=1032;e["afii10058"]=1033;e["afii10059"]=1034;e["afii10060"]=1035;e["afii10061"]=1036;e["afii10062"]=1038;e["afii10063"]=63172;e["afii10064"]=63173;e["afii10065"]=1072;e["afii10066"]=1073;e["afii10067"]=1074;e["afii10068"]=1075;e["afii10069"]=1076;e["afii10070"]=1077;e["afii10071"]=1105;e["afii10072"]=1078;e["afii10073"]=1079;e["afii10074"]=1080;e["afii10075"]=1081;e["afii10076"]=1082;e["afii10077"]=1083;e["afii10078"]=1084;e["afii10079"]=1085;e["afii10080"]=1086;e["afii10081"]=1087;e["afii10082"]=1088;e["afii10083"]=1089;e["afii10084"]=1090;e["afii10085"]=1091;e["afii10086"]=1092;e["afii10087"]=1093;e["afii10088"]=1094;e["afii10089"]=1095;e["afii10090"]=1096;e["afii10091"]=1097;e["afii10092"]=1098;e["afii10093"]=1099;e["afii10094"]=1100;e["afii10095"]=1101;e["afii10096"]=1102;e["afii10097"]=1103;e["afii10098"]=1169;e["afii10099"]=1106;e["afii10100"]=1107;e["afii10101"]=1108;e["afii10102"]=1109;e["afii10103"]=1110;e["afii10104"]=1111;e["afii10105"]=1112;e["afii10106"]=1113;e["afii10107"]=1114;e["afii10108"]=1115;e["afii10109"]=1116;e["afii10110"]=1118;e["afii10145"]=1039;e["afii10146"]=1122;e["afii10147"]=1138;e["afii10148"]=1140;e["afii10192"]=63174;e["afii10193"]=1119;e["afii10194"]=1123;e["afii10195"]=1139;e["afii10196"]=1141;e["afii10831"]=63175;e["afii10832"]=63176;e["afii10846"]=1241;e["afii299"]=8206;e["afii300"]=8207;e["afii301"]=8205;e["afii57381"]=1642;e["afii57388"]=1548;e["afii57392"]=1632;e["afii57393"]=1633;e["afii57394"]=1634;e["afii57395"]=1635;e["afii57396"]=1636;e["afii57397"]=1637;e["afii57398"]=1638;e["afii57399"]=1639;e["afii57400"]=1640;e["afii57401"]=1641;e["afii57403"]=1563;e["afii57407"]=1567;e["afii57409"]=1569;e["afii57410"]=1570;e["afii57411"]=1571;e["afii57412"]=1572;e["afii57413"]=1573;e["afii57414"]=1574;e["afii57415"]=1575;e["afii57416"]=1576;e["afii57417"]=1577;e["afii57418"]=1578;e["afii57419"]=1579;e["afii57420"]=1580;e["afii57421"]=1581;e["afii57422"]=1582;e["afii57423"]=1583;e["afii57424"]=1584;e["afii57425"]=1585;e["afii57426"]=1586;e["afii57427"]=1587;e["afii57428"]=1588;e["afii57429"]=1589;e["afii57430"]=1590;e["afii57431"]=1591;e["afii57432"]=1592;e["afii57433"]=1593;e["afii57434"]=1594;e["afii57440"]=1600;e["afii57441"]=1601;e["afii57442"]=1602;e["afii57443"]=1603;e["afii57444"]=1604;e["afii57445"]=1605;e["afii57446"]=1606;e["afii57448"]=1608;e["afii57449"]=1609;e["afii57450"]=1610;e["afii57451"]=1611;e["afii57452"]=1612;e["afii57453"]=1613;e["afii57454"]=1614;e["afii57455"]=1615;e["afii57456"]=1616;e["afii57457"]=1617;e["afii57458"]=1618;e["afii57470"]=1607;e["afii57505"]=1700;e["afii57506"]=1662;e["afii57507"]=1670;e["afii57508"]=1688;e["afii57509"]=1711;e["afii57511"]=1657;e["afii57512"]=1672;e["afii57513"]=1681;e["afii57514"]=1722;e["afii57519"]=1746;e["afii57534"]=1749;e["afii57636"]=8362;e["afii57645"]=1470;e["afii57658"]=1475;e["afii57664"]=1488;e["afii57665"]=1489;e["afii57666"]=1490;e["afii57667"]=1491;e["afii57668"]=1492;e["afii57669"]=1493;e["afii57670"]=1494;e["afii57671"]=1495;e["afii57672"]=1496;e["afii57673"]=1497;e["afii57674"]=1498;e["afii57675"]=1499;e["afii57676"]=1500;e["afii57677"]=1501;e["afii57678"]=1502;e["afii57679"]=1503;e["afii57680"]=1504;e["afii57681"]=1505;e["afii57682"]=1506;e["afii57683"]=1507;e["afii57684"]=1508;e["afii57685"]=1509;e["afii57686"]=1510;e["afii57687"]=1511;e["afii57688"]=1512;e["afii57689"]=1513;e["afii57690"]=1514;e["afii57694"]=64298;e["afii57695"]=64299;e["afii57700"]=64331;e["afii57705"]=64287;e["afii57716"]=1520;e["afii57717"]=1521;e["afii57718"]=1522;e["afii57723"]=64309;e["afii57793"]=1460;e["afii57794"]=1461;e["afii57795"]=1462;e["afii57796"]=1467;e["afii57797"]=1464;e["afii57798"]=1463;e["afii57799"]=1456;e["afii57800"]=1458;e["afii57801"]=1457;e["afii57802"]=1459;e["afii57803"]=1474;e["afii57804"]=1473;e["afii57806"]=1465;e["afii57807"]=1468;e["afii57839"]=1469;e["afii57841"]=1471;e["afii57842"]=1472;e["afii57929"]=700;e["afii61248"]=8453;e["afii61289"]=8467;e["afii61352"]=8470;e["afii61573"]=8236;e["afii61574"]=8237;e["afii61575"]=8238;e["afii61664"]=8204;e["afii63167"]=1645;e["afii64937"]=701;e["agrave"]=224;e["agujarati"]=2693;e["agurmukhi"]=2565;e["ahiragana"]=12354;e["ahookabove"]=7843;e["aibengali"]=2448;e["aibopomofo"]=12574;e["aideva"]=2320;e["aiecyrillic"]=1237;e["aigujarati"]=2704;e["aigurmukhi"]=2576;e["aimatragurmukhi"]=2632;e["ainarabic"]=1593;e["ainfinalarabic"]=65226;e["aininitialarabic"]=65227;e["ainmedialarabic"]=65228;e["ainvertedbreve"]=515;e["aivowelsignbengali"]=2504;e["aivowelsigndeva"]=2376;e["aivowelsigngujarati"]=2760;e["akatakana"]=12450;e["akatakanahalfwidth"]=65393;e["akorean"]=12623;e["alef"]=1488;e["alefarabic"]=1575;e["alefdageshhebrew"]=64304;e["aleffinalarabic"]=65166;e["alefhamzaabovearabic"]=1571;e["alefhamzaabovefinalarabic"]=65156;e["alefhamzabelowarabic"]=1573;e["alefhamzabelowfinalarabic"]=65160;e["alefhebrew"]=1488;e["aleflamedhebrew"]=64335;e["alefmaddaabovearabic"]=1570;e["alefmaddaabovefinalarabic"]=65154;e["alefmaksuraarabic"]=1609;e["alefmaksurafinalarabic"]=65264;e["alefmaksurainitialarabic"]=65267;e["alefmaksuramedialarabic"]=65268;e["alefpatahhebrew"]=64302;e["alefqamatshebrew"]=64303;e["aleph"]=8501;e["allequal"]=8780;e["alpha"]=945;e["alphatonos"]=940;e["amacron"]=257;e["amonospace"]=65345;e["ampersand"]=38;e["ampersandmonospace"]=65286;e["ampersandsmall"]=63270;e["amsquare"]=13250;e["anbopomofo"]=12578;e["angbopomofo"]=12580;e["angbracketleft"]=12296;e["angbracketright"]=12297;e["angkhankhuthai"]=3674;e["angle"]=8736;e["anglebracketleft"]=12296;e["anglebracketleftvertical"]=65087;e["anglebracketright"]=12297;e["anglebracketrightvertical"]=65088;e["angleleft"]=9001;e["angleright"]=9002;e["angstrom"]=8491;e["anoteleia"]=903;e["anudattadeva"]=2386;e["anusvarabengali"]=2434;e["anusvaradeva"]=2306;e["anusvaragujarati"]=2690;e["aogonek"]=261;e["apaatosquare"]=13056;e["aparen"]=9372;e["apostrophearmenian"]=1370;e["apostrophemod"]=700;e["apple"]=63743;e["approaches"]=8784;e["approxequal"]=8776;e["approxequalorimage"]=8786;e["approximatelyequal"]=8773;e["araeaekorean"]=12686;e["araeakorean"]=12685;e["arc"]=8978;e["arighthalfring"]=7834;e["aring"]=229;e["aringacute"]=507;e["aringbelow"]=7681;e["arrowboth"]=8596;e["arrowdashdown"]=8675;e["arrowdashleft"]=8672;e["arrowdashright"]=8674;e["arrowdashup"]=8673;e["arrowdblboth"]=8660;e["arrowdbldown"]=8659;e["arrowdblleft"]=8656;e["arrowdblright"]=8658;e["arrowdblup"]=8657;e["arrowdown"]=8595;e["arrowdownleft"]=8601;e["arrowdownright"]=8600;e["arrowdownwhite"]=8681;e["arrowheaddownmod"]=709;e["arrowheadleftmod"]=706;e["arrowheadrightmod"]=707;e["arrowheadupmod"]=708;e["arrowhorizex"]=63719;e["arrowleft"]=8592;e["arrowleftdbl"]=8656;e["arrowleftdblstroke"]=8653;e["arrowleftoverright"]=8646;e["arrowleftwhite"]=8678;e["arrowright"]=8594;e["arrowrightdblstroke"]=8655;e["arrowrightheavy"]=10142;e["arrowrightoverleft"]=8644;e["arrowrightwhite"]=8680;e["arrowtableft"]=8676;e["arrowtabright"]=8677;e["arrowup"]=8593;e["arrowupdn"]=8597;e["arrowupdnbse"]=8616;e["arrowupdownbase"]=8616;e["arrowupleft"]=8598;e["arrowupleftofdown"]=8645;e["arrowupright"]=8599;e["arrowupwhite"]=8679;e["arrowvertex"]=63718;e["asciicircum"]=94;e["asciicircummonospace"]=65342;e["asciitilde"]=126;e["asciitildemonospace"]=65374;e["ascript"]=593;e["ascriptturned"]=594;e["asmallhiragana"]=12353;e["asmallkatakana"]=12449;e["asmallkatakanahalfwidth"]=65383;e["asterisk"]=42;e["asteriskaltonearabic"]=1645;e["asteriskarabic"]=1645;e["asteriskmath"]=8727;e["asteriskmonospace"]=65290;e["asterisksmall"]=65121;e["asterism"]=8258;e["asuperior"]=63209;e["asymptoticallyequal"]=8771;e["at"]=64;e["atilde"]=227;e["atmonospace"]=65312;e["atsmall"]=65131;e["aturned"]=592;e["aubengali"]=2452;e["aubopomofo"]=12576;e["audeva"]=2324;e["augujarati"]=2708;e["augurmukhi"]=2580;e["aulengthmarkbengali"]=2519;e["aumatragurmukhi"]=2636;e["auvowelsignbengali"]=2508;e["auvowelsigndeva"]=2380;e["auvowelsigngujarati"]=2764;e["avagrahadeva"]=2365;e["aybarmenian"]=1377;e["ayin"]=1506;e["ayinaltonehebrew"]=64288;e["ayinhebrew"]=1506;e["b"]=98;e["babengali"]=2476;e["backslash"]=92;e["backslashmonospace"]=65340;e["badeva"]=2348;e["bagujarati"]=2732;e["bagurmukhi"]=2604;e["bahiragana"]=12400;e["bahtthai"]=3647;e["bakatakana"]=12496;e["bar"]=124;e["barmonospace"]=65372;e["bbopomofo"]=12549;e["bcircle"]=9425;e["bdotaccent"]=7683;e["bdotbelow"]=7685;e["beamedsixteenthnotes"]=9836;e["because"]=8757;e["becyrillic"]=1073;e["beharabic"]=1576;e["behfinalarabic"]=65168;e["behinitialarabic"]=65169;e["behiragana"]=12409;e["behmedialarabic"]=65170;e["behmeeminitialarabic"]=64671;e["behmeemisolatedarabic"]=64520;e["behnoonfinalarabic"]=64621;e["bekatakana"]=12505;e["benarmenian"]=1378;e["bet"]=1489;e["beta"]=946;e["betasymbolgreek"]=976;e["betdagesh"]=64305;e["betdageshhebrew"]=64305;e["bethebrew"]=1489;e["betrafehebrew"]=64332;e["bhabengali"]=2477;e["bhadeva"]=2349;e["bhagujarati"]=2733;e["bhagurmukhi"]=2605;e["bhook"]=595;e["bihiragana"]=12403;e["bikatakana"]=12499;e["bilabialclick"]=664;e["bindigurmukhi"]=2562;e["birusquare"]=13105;e["blackcircle"]=9679;e["blackdiamond"]=9670;e["blackdownpointingtriangle"]=9660;e["blackleftpointingpointer"]=9668;e["blackleftpointingtriangle"]=9664;e["blacklenticularbracketleft"]=12304;e["blacklenticularbracketleftvertical"]=65083;e["blacklenticularbracketright"]=12305;e["blacklenticularbracketrightvertical"]=65084;e["blacklowerlefttriangle"]=9699;e["blacklowerrighttriangle"]=9698;e["blackrectangle"]=9644;e["blackrightpointingpointer"]=9658;e["blackrightpointingtriangle"]=9654;e["blacksmallsquare"]=9642;e["blacksmilingface"]=9787;e["blacksquare"]=9632;e["blackstar"]=9733;e["blackupperlefttriangle"]=9700;e["blackupperrighttriangle"]=9701;e["blackuppointingsmalltriangle"]=9652;e["blackuppointingtriangle"]=9650;e["blank"]=9251;e["blinebelow"]=7687;e["block"]=9608;e["bmonospace"]=65346;e["bobaimaithai"]=3610;e["bohiragana"]=12412;e["bokatakana"]=12508;e["bparen"]=9373;e["bqsquare"]=13251;e["braceex"]=63732;e["braceleft"]=123;e["braceleftbt"]=63731;e["braceleftmid"]=63730;e["braceleftmonospace"]=65371;e["braceleftsmall"]=65115;e["bracelefttp"]=63729;e["braceleftvertical"]=65079;e["braceright"]=125;e["bracerightbt"]=63742;e["bracerightmid"]=63741;e["bracerightmonospace"]=65373;e["bracerightsmall"]=65116;e["bracerighttp"]=63740;e["bracerightvertical"]=65080;e["bracketleft"]=91;e["bracketleftbt"]=63728;e["bracketleftex"]=63727;e["bracketleftmonospace"]=65339;e["bracketlefttp"]=63726;e["bracketright"]=93;e["bracketrightbt"]=63739;e["bracketrightex"]=63738;e["bracketrightmonospace"]=65341;e["bracketrighttp"]=63737;e["breve"]=728;e["brevebelowcmb"]=814;e["brevecmb"]=774;e["breveinvertedbelowcmb"]=815;e["breveinvertedcmb"]=785;e["breveinverteddoublecmb"]=865;e["bridgebelowcmb"]=810;e["bridgeinvertedbelowcmb"]=826;e["brokenbar"]=166;e["bstroke"]=384;e["bsuperior"]=63210;e["btopbar"]=387;e["buhiragana"]=12406;e["bukatakana"]=12502;e["bullet"]=8226;e["bulletinverse"]=9688;e["bulletoperator"]=8729;e["bullseye"]=9678;e["c"]=99;e["caarmenian"]=1390;e["cabengali"]=2458;e["cacute"]=263;e["cadeva"]=2330;e["cagujarati"]=2714;e["cagurmukhi"]=2586;e["calsquare"]=13192;e["candrabindubengali"]=2433;e["candrabinducmb"]=784;e["candrabindudeva"]=2305;e["candrabindugujarati"]=2689;e["capslock"]=8682;e["careof"]=8453;e["caron"]=711;e["caronbelowcmb"]=812;e["caroncmb"]=780;e["carriagereturn"]=8629;e["cbopomofo"]=12568;e["ccaron"]=269;e["ccedilla"]=231;e["ccedillaacute"]=7689;e["ccircle"]=9426;e["ccircumflex"]=265;e["ccurl"]=597;e["cdot"]=267;e["cdotaccent"]=267;e["cdsquare"]=13253;e["cedilla"]=184;e["cedillacmb"]=807;e["cent"]=162;e["centigrade"]=8451;e["centinferior"]=63199;e["centmonospace"]=65504;e["centoldstyle"]=63394;e["centsuperior"]=63200;e["chaarmenian"]=1401;e["chabengali"]=2459;e["chadeva"]=2331;e["chagujarati"]=2715;e["chagurmukhi"]=2587;e["chbopomofo"]=12564;e["cheabkhasiancyrillic"]=1213;e["checkmark"]=10003;e["checyrillic"]=1095;e["chedescenderabkhasiancyrillic"]=1215;e["chedescendercyrillic"]=1207;e["chedieresiscyrillic"]=1269;e["cheharmenian"]=1395;e["chekhakassiancyrillic"]=1228;e["cheverticalstrokecyrillic"]=1209;e["chi"]=967;e["chieuchacirclekorean"]=12919;e["chieuchaparenkorean"]=12823;e["chieuchcirclekorean"]=12905;e["chieuchkorean"]=12618;e["chieuchparenkorean"]=12809;e["chochangthai"]=3594;e["chochanthai"]=3592;e["chochingthai"]=3593;e["chochoethai"]=3596;e["chook"]=392;e["cieucacirclekorean"]=12918;e["cieucaparenkorean"]=12822;e["cieuccirclekorean"]=12904;e["cieuckorean"]=12616;e["cieucparenkorean"]=12808;e["cieucuparenkorean"]=12828;e["circle"]=9675;e["circlecopyrt"]=169;e["circlemultiply"]=8855;e["circleot"]=8857;e["circleplus"]=8853;e["circlepostalmark"]=12342;e["circlewithlefthalfblack"]=9680;e["circlewithrighthalfblack"]=9681;e["circumflex"]=710;e["circumflexbelowcmb"]=813;e["circumflexcmb"]=770;e["clear"]=8999;e["clickalveolar"]=450;e["clickdental"]=448;e["clicklateral"]=449;e["clickretroflex"]=451;e["club"]=9827;e["clubsuitblack"]=9827;e["clubsuitwhite"]=9831;e["cmcubedsquare"]=13220;e["cmonospace"]=65347;e["cmsquaredsquare"]=13216;e["coarmenian"]=1409;e["colon"]=58;e["colonmonetary"]=8353;e["colonmonospace"]=65306;e["colonsign"]=8353;e["colonsmall"]=65109;e["colontriangularhalfmod"]=721;e["colontriangularmod"]=720;e["comma"]=44;e["commaabovecmb"]=787;e["commaaboverightcmb"]=789;e["commaaccent"]=63171;e["commaarabic"]=1548;e["commaarmenian"]=1373;e["commainferior"]=63201;e["commamonospace"]=65292;e["commareversedabovecmb"]=788;e["commareversedmod"]=701;e["commasmall"]=65104;e["commasuperior"]=63202;e["commaturnedabovecmb"]=786;e["commaturnedmod"]=699;e["compass"]=9788;e["congruent"]=8773;e["contourintegral"]=8750;e["control"]=8963;e["controlACK"]=6;e["controlBEL"]=7;e["controlBS"]=8;e["controlCAN"]=24;e["controlCR"]=13;e["controlDC1"]=17;e["controlDC2"]=18;e["controlDC3"]=19;e["controlDC4"]=20;e["controlDEL"]=127;e["controlDLE"]=16;e["controlEM"]=25;e["controlENQ"]=5;e["controlEOT"]=4;e["controlESC"]=27;e["controlETB"]=23;e["controlETX"]=3;e["controlFF"]=12;e["controlFS"]=28;e["controlGS"]=29;e["controlHT"]=9;e["controlLF"]=10;e["controlNAK"]=21;e["controlNULL"]=0;e["controlRS"]=30;e["controlSI"]=15;e["controlSO"]=14;e["controlSOT"]=2;e["controlSTX"]=1;e["controlSUB"]=26;e["controlSYN"]=22;e["controlUS"]=31;e["controlVT"]=11;e["copyright"]=169;e["copyrightsans"]=63721;e["copyrightserif"]=63193;e["cornerbracketleft"]=12300;e["cornerbracketlefthalfwidth"]=65378;e["cornerbracketleftvertical"]=65089;e["cornerbracketright"]=12301;e["cornerbracketrighthalfwidth"]=65379;e["cornerbracketrightvertical"]=65090;e["corporationsquare"]=13183;e["cosquare"]=13255;e["coverkgsquare"]=13254;e["cparen"]=9374;e["cruzeiro"]=8354;e["cstretched"]=663;e["curlyand"]=8911;e["curlyor"]=8910;e["currency"]=164;e["cyrBreve"]=63185;e["cyrFlex"]=63186;e["cyrbreve"]=63188;e["cyrflex"]=63189;e["d"]=100;e["daarmenian"]=1380;e["dabengali"]=2470;e["dadarabic"]=1590;e["dadeva"]=2342;e["dadfinalarabic"]=65214;e["dadinitialarabic"]=65215;e["dadmedialarabic"]=65216;e["dagesh"]=1468;e["dageshhebrew"]=1468;e["dagger"]=8224;e["daggerdbl"]=8225;e["dagujarati"]=2726;e["dagurmukhi"]=2598;e["dahiragana"]=12384;e["dakatakana"]=12480;e["dalarabic"]=1583;e["dalet"]=1491;e["daletdagesh"]=64307;e["daletdageshhebrew"]=64307;e["dalethebrew"]=1491;e["dalfinalarabic"]=65194;e["dammaarabic"]=1615;e["dammalowarabic"]=1615;e["dammatanaltonearabic"]=1612;e["dammatanarabic"]=1612;e["danda"]=2404;e["dargahebrew"]=1447;e["dargalefthebrew"]=1447;e["dasiapneumatacyrilliccmb"]=1157;e["dblGrave"]=63187;e["dblanglebracketleft"]=12298;e["dblanglebracketleftvertical"]=65085;e["dblanglebracketright"]=12299;e["dblanglebracketrightvertical"]=65086;e["dblarchinvertedbelowcmb"]=811;e["dblarrowleft"]=8660;e["dblarrowright"]=8658;e["dbldanda"]=2405;e["dblgrave"]=63190;e["dblgravecmb"]=783;e["dblintegral"]=8748;e["dbllowline"]=8215;e["dbllowlinecmb"]=819;e["dbloverlinecmb"]=831;e["dblprimemod"]=698;e["dblverticalbar"]=8214;e["dblverticallineabovecmb"]=782;e["dbopomofo"]=12553;e["dbsquare"]=13256;e["dcaron"]=271;e["dcedilla"]=7697;e["dcircle"]=9427;e["dcircumflexbelow"]=7699;e["dcroat"]=273;e["ddabengali"]=2465;e["ddadeva"]=2337;e["ddagujarati"]=2721;e["ddagurmukhi"]=2593;e["ddalarabic"]=1672;e["ddalfinalarabic"]=64393;e["dddhadeva"]=2396;e["ddhabengali"]=2466;e["ddhadeva"]=2338;e["ddhagujarati"]=2722;e["ddhagurmukhi"]=2594;e["ddotaccent"]=7691;e["ddotbelow"]=7693;e["decimalseparatorarabic"]=1643;e["decimalseparatorpersian"]=1643;e["decyrillic"]=1076;e["degree"]=176;e["dehihebrew"]=1453;e["dehiragana"]=12391;e["deicoptic"]=1007;e["dekatakana"]=12487;e["deleteleft"]=9003;e["deleteright"]=8998;e["delta"]=948;e["deltaturned"]=397;e["denominatorminusonenumeratorbengali"]=2552;e["dezh"]=676;e["dhabengali"]=2471;e["dhadeva"]=2343;e["dhagujarati"]=2727;e["dhagurmukhi"]=2599;e["dhook"]=599;e["dialytikatonos"]=901;e["dialytikatonoscmb"]=836;e["diamond"]=9830;e["diamondsuitwhite"]=9826;e["dieresis"]=168;e["dieresisacute"]=63191;e["dieresisbelowcmb"]=804;e["dieresiscmb"]=776;e["dieresisgrave"]=63192;e["dieresistonos"]=901;e["dihiragana"]=12386;e["dikatakana"]=12482;e["dittomark"]=12291;e["divide"]=247;e["divides"]=8739;e["divisionslash"]=8725;e["djecyrillic"]=1106;e["dkshade"]=9619;e["dlinebelow"]=7695;e["dlsquare"]=13207;e["dmacron"]=273;e["dmonospace"]=65348;e["dnblock"]=9604;e["dochadathai"]=3598;e["dodekthai"]=3604;e["dohiragana"]=12393;e["dokatakana"]=12489;e["dollar"]=36;e["dollarinferior"]=63203;e["dollarmonospace"]=65284;e["dollaroldstyle"]=63268;e["dollarsmall"]=65129;e["dollarsuperior"]=63204;e["dong"]=8363;e["dorusquare"]=13094;e["dotaccent"]=729;e["dotaccentcmb"]=775;e["dotbelowcmb"]=803;e["dotbelowcomb"]=803;e["dotkatakana"]=12539;e["dotlessi"]=305;e["dotlessj"]=63166;e["dotlessjstrokehook"]=644;e["dotmath"]=8901;e["dottedcircle"]=9676;e["doubleyodpatah"]=64287;e["doubleyodpatahhebrew"]=64287;e["downtackbelowcmb"]=798;e["downtackmod"]=725;e["dparen"]=9375;e["dsuperior"]=63211;e["dtail"]=598;e["dtopbar"]=396;e["duhiragana"]=12389;e["dukatakana"]=12485;e["dz"]=499;e["dzaltone"]=675;e["dzcaron"]=454;e["dzcurl"]=677;e["dzeabkhasiancyrillic"]=1249;e["dzecyrillic"]=1109;e["dzhecyrillic"]=1119;e["e"]=101;e["eacute"]=233;e["earth"]=9793;e["ebengali"]=2447;e["ebopomofo"]=12572;e["ebreve"]=277;e["ecandradeva"]=2317;e["ecandragujarati"]=2701;e["ecandravowelsigndeva"]=2373;e["ecandravowelsigngujarati"]=2757;e["ecaron"]=283;e["ecedillabreve"]=7709;e["echarmenian"]=1381;e["echyiwnarmenian"]=1415;e["ecircle"]=9428;e["ecircumflex"]=234;e["ecircumflexacute"]=7871;e["ecircumflexbelow"]=7705;e["ecircumflexdotbelow"]=7879;e["ecircumflexgrave"]=7873;e["ecircumflexhookabove"]=7875;e["ecircumflextilde"]=7877;e["ecyrillic"]=1108;e["edblgrave"]=517;e["edeva"]=2319;e["edieresis"]=235;e["edot"]=279;e["edotaccent"]=279;e["edotbelow"]=7865;e["eegurmukhi"]=2575;e["eematragurmukhi"]=2631;e["efcyrillic"]=1092;e["egrave"]=232;e["egujarati"]=2703;e["eharmenian"]=1383;e["ehbopomofo"]=12573;e["ehiragana"]=12360;e["ehookabove"]=7867;e["eibopomofo"]=12575;e["eight"]=56;e["eightarabic"]=1640;e["eightbengali"]=2542;e["eightcircle"]=9319;e["eightcircleinversesansserif"]=10129;e["eightdeva"]=2414;e["eighteencircle"]=9329;e["eighteenparen"]=9349;e["eighteenperiod"]=9369;e["eightgujarati"]=2798;e["eightgurmukhi"]=2670;e["eighthackarabic"]=1640;e["eighthangzhou"]=12328;e["eighthnotebeamed"]=9835;e["eightideographicparen"]=12839;e["eightinferior"]=8328;e["eightmonospace"]=65304;e["eightoldstyle"]=63288;e["eightparen"]=9339;e["eightperiod"]=9359;e["eightpersian"]=1784;e["eightroman"]=8567;e["eightsuperior"]=8312;e["eightthai"]=3672;e["einvertedbreve"]=519;e["eiotifiedcyrillic"]=1125;e["ekatakana"]=12456;e["ekatakanahalfwidth"]=65396;e["ekonkargurmukhi"]=2676;e["ekorean"]=12628;e["elcyrillic"]=1083;e["element"]=8712;e["elevencircle"]=9322;e["elevenparen"]=9342;e["elevenperiod"]=9362;e["elevenroman"]=8570;e["ellipsis"]=8230;e["ellipsisvertical"]=8942;e["emacron"]=275;e["emacronacute"]=7703;e["emacrongrave"]=7701;e["emcyrillic"]=1084;e["emdash"]=8212;e["emdashvertical"]=65073;e["emonospace"]=65349;e["emphasismarkarmenian"]=1371;e["emptyset"]=8709;e["enbopomofo"]=12579;e["encyrillic"]=1085;e["endash"]=8211;e["endashvertical"]=65074;e["endescendercyrillic"]=1187;e["eng"]=331;e["engbopomofo"]=12581;e["enghecyrillic"]=1189;e["enhookcyrillic"]=1224;e["enspace"]=8194;e["eogonek"]=281;e["eokorean"]=12627;e["eopen"]=603;e["eopenclosed"]=666;e["eopenreversed"]=604;e["eopenreversedclosed"]=606;e["eopenreversedhook"]=605;e["eparen"]=9376;e["epsilon"]=949;e["epsilontonos"]=941;e["equal"]=61;e["equalmonospace"]=65309;e["equalsmall"]=65126;e["equalsuperior"]=8316;e["equivalence"]=8801;e["erbopomofo"]=12582;e["ercyrillic"]=1088;e["ereversed"]=600;e["ereversedcyrillic"]=1101;e["escyrillic"]=1089;e["esdescendercyrillic"]=1195;e["esh"]=643;e["eshcurl"]=646;e["eshortdeva"]=2318;e["eshortvowelsigndeva"]=2374;e["eshreversedloop"]=426;e["eshsquatreversed"]=645;e["esmallhiragana"]=12359;e["esmallkatakana"]=12455;e["esmallkatakanahalfwidth"]=65386;e["estimated"]=8494;e["esuperior"]=63212;e["eta"]=951;e["etarmenian"]=1384;e["etatonos"]=942;e["eth"]=240;e["etilde"]=7869;e["etildebelow"]=7707;e["etnahtafoukhhebrew"]=1425;e["etnahtafoukhlefthebrew"]=1425;e["etnahtahebrew"]=1425;e["etnahtalefthebrew"]=1425;e["eturned"]=477;e["eukorean"]=12641;e["euro"]=8364;e["evowelsignbengali"]=2503;e["evowelsigndeva"]=2375;e["evowelsigngujarati"]=2759;e["exclam"]=33;e["exclamarmenian"]=1372;e["exclamdbl"]=8252;e["exclamdown"]=161;e["exclamdownsmall"]=63393;e["exclammonospace"]=65281;e["exclamsmall"]=63265;e["existential"]=8707;e["ezh"]=658;e["ezhcaron"]=495;e["ezhcurl"]=659;e["ezhreversed"]=441;e["ezhtail"]=442;e["f"]=102;e["fadeva"]=2398;e["fagurmukhi"]=2654;e["fahrenheit"]=8457;e["fathaarabic"]=1614;e["fathalowarabic"]=1614;e["fathatanarabic"]=1611;e["fbopomofo"]=12552;e["fcircle"]=9429;e["fdotaccent"]=7711;e["feharabic"]=1601;e["feharmenian"]=1414;e["fehfinalarabic"]=65234;e["fehinitialarabic"]=65235;e["fehmedialarabic"]=65236;e["feicoptic"]=997;e["female"]=9792;e["ff"]=64256;e["ffi"]=64259;e["ffl"]=64260;e["fi"]=64257;e["fifteencircle"]=9326;e["fifteenparen"]=9346;e["fifteenperiod"]=9366;e["figuredash"]=8210;e["filledbox"]=9632;e["filledrect"]=9644;e["finalkaf"]=1498;e["finalkafdagesh"]=64314;e["finalkafdageshhebrew"]=64314;e["finalkafhebrew"]=1498;e["finalmem"]=1501;e["finalmemhebrew"]=1501;e["finalnun"]=1503;e["finalnunhebrew"]=1503;e["finalpe"]=1507;e["finalpehebrew"]=1507;e["finaltsadi"]=1509;e["finaltsadihebrew"]=1509;e["firsttonechinese"]=713;e["fisheye"]=9673;e["fitacyrillic"]=1139;e["five"]=53;e["fivearabic"]=1637;e["fivebengali"]=2539;e["fivecircle"]=9316;e["fivecircleinversesansserif"]=10126;e["fivedeva"]=2411;e["fiveeighths"]=8541;e["fivegujarati"]=2795;e["fivegurmukhi"]=2667;e["fivehackarabic"]=1637;e["fivehangzhou"]=12325;e["fiveideographicparen"]=12836;e["fiveinferior"]=8325;e["fivemonospace"]=65301;e["fiveoldstyle"]=63285;e["fiveparen"]=9336;e["fiveperiod"]=9356;e["fivepersian"]=1781;e["fiveroman"]=8564;e["fivesuperior"]=8309;e["fivethai"]=3669;e["fl"]=64258;e["florin"]=402;e["fmonospace"]=65350;e["fmsquare"]=13209;e["fofanthai"]=3615;e["fofathai"]=3613;e["fongmanthai"]=3663;e["forall"]=8704;e["four"]=52;e["fourarabic"]=1636;e["fourbengali"]=2538;e["fourcircle"]=9315;e["fourcircleinversesansserif"]=10125;e["fourdeva"]=2410;e["fourgujarati"]=2794;e["fourgurmukhi"]=2666;e["fourhackarabic"]=1636;e["fourhangzhou"]=12324;e["fourideographicparen"]=12835;e["fourinferior"]=8324;e["fourmonospace"]=65300;e["fournumeratorbengali"]=2551;e["fouroldstyle"]=63284;e["fourparen"]=9335;e["fourperiod"]=9355;e["fourpersian"]=1780;e["fourroman"]=8563;e["foursuperior"]=8308;e["fourteencircle"]=9325;e["fourteenparen"]=9345;e["fourteenperiod"]=9365;e["fourthai"]=3668;e["fourthtonechinese"]=715;e["fparen"]=9377;e["fraction"]=8260;e["franc"]=8355;e["g"]=103;e["gabengali"]=2455;e["gacute"]=501;e["gadeva"]=2327;e["gafarabic"]=1711;e["gaffinalarabic"]=64403;e["gafinitialarabic"]=64404;e["gafmedialarabic"]=64405;e["gagujarati"]=2711;e["gagurmukhi"]=2583;e["gahiragana"]=12364;e["gakatakana"]=12460;e["gamma"]=947;e["gammalatinsmall"]=611;e["gammasuperior"]=736;e["gangiacoptic"]=1003;e["gbopomofo"]=12557;e["gbreve"]=287;e["gcaron"]=487;e["gcedilla"]=291;e["gcircle"]=9430;e["gcircumflex"]=285;e["gcommaaccent"]=291;e["gdot"]=289;e["gdotaccent"]=289;e["gecyrillic"]=1075;e["gehiragana"]=12370;e["gekatakana"]=12466;e["geometricallyequal"]=8785;e["gereshaccenthebrew"]=1436;e["gereshhebrew"]=1523;e["gereshmuqdamhebrew"]=1437;e["germandbls"]=223;e["gershayimaccenthebrew"]=1438;e["gershayimhebrew"]=1524;e["getamark"]=12307;e["ghabengali"]=2456;e["ghadarmenian"]=1394;e["ghadeva"]=2328;e["ghagujarati"]=2712;e["ghagurmukhi"]=2584;e["ghainarabic"]=1594;e["ghainfinalarabic"]=65230;e["ghaininitialarabic"]=65231;e["ghainmedialarabic"]=65232;e["ghemiddlehookcyrillic"]=1173;e["ghestrokecyrillic"]=1171;e["gheupturncyrillic"]=1169;e["ghhadeva"]=2394;e["ghhagurmukhi"]=2650;e["ghook"]=608;e["ghzsquare"]=13203;e["gihiragana"]=12366;e["gikatakana"]=12462;e["gimarmenian"]=1379;e["gimel"]=1490;e["gimeldagesh"]=64306;e["gimeldageshhebrew"]=64306;e["gimelhebrew"]=1490;e["gjecyrillic"]=1107;e["glottalinvertedstroke"]=446;e["glottalstop"]=660;e["glottalstopinverted"]=662;e["glottalstopmod"]=704;e["glottalstopreversed"]=661;e["glottalstopreversedmod"]=705;e["glottalstopreversedsuperior"]=740;e["glottalstopstroke"]=673;e["glottalstopstrokereversed"]=674;e["gmacron"]=7713;e["gmonospace"]=65351;e["gohiragana"]=12372;e["gokatakana"]=12468;e["gparen"]=9378;e["gpasquare"]=13228;e["gradient"]=8711;e["grave"]=96;e["gravebelowcmb"]=790;e["gravecmb"]=768;e["gravecomb"]=768;e["gravedeva"]=2387;e["gravelowmod"]=718;e["gravemonospace"]=65344;e["gravetonecmb"]=832;e["greater"]=62;e["greaterequal"]=8805;e["greaterequalorless"]=8923;e["greatermonospace"]=65310;e["greaterorequivalent"]=8819;e["greaterorless"]=8823;e["greateroverequal"]=8807;e["greatersmall"]=65125;e["gscript"]=609;e["gstroke"]=485;e["guhiragana"]=12368;e["guillemotleft"]=171;e["guillemotright"]=187;e["guilsinglleft"]=8249;e["guilsinglright"]=8250;e["gukatakana"]=12464;e["guramusquare"]=13080;e["gysquare"]=13257;e["h"]=104;e["haabkhasiancyrillic"]=1193;e["haaltonearabic"]=1729;e["habengali"]=2489;e["hadescendercyrillic"]=1203;e["hadeva"]=2361;e["hagujarati"]=2745;e["hagurmukhi"]=2617;e["haharabic"]=1581;e["hahfinalarabic"]=65186;e["hahinitialarabic"]=65187;e["hahiragana"]=12399;e["hahmedialarabic"]=65188;e["haitusquare"]=13098;e["hakatakana"]=12495;e["hakatakanahalfwidth"]=65418;e["halantgurmukhi"]=2637;e["hamzaarabic"]=1569;e["hamzalowarabic"]=1569;e["hangulfiller"]=12644;e["hardsigncyrillic"]=1098;e["harpoonleftbarbup"]=8636;e["harpoonrightbarbup"]=8640;e["hasquare"]=13258;e["hatafpatah"]=1458;e["hatafpatah16"]=1458;e["hatafpatah23"]=1458;e["hatafpatah2f"]=1458;e["hatafpatahhebrew"]=1458;e["hatafpatahnarrowhebrew"]=1458;e["hatafpatahquarterhebrew"]=1458;e["hatafpatahwidehebrew"]=1458;e["hatafqamats"]=1459;e["hatafqamats1b"]=1459;e["hatafqamats28"]=1459;e["hatafqamats34"]=1459;e["hatafqamatshebrew"]=1459;e["hatafqamatsnarrowhebrew"]=1459;e["hatafqamatsquarterhebrew"]=1459;e["hatafqamatswidehebrew"]=1459;e["hatafsegol"]=1457;e["hatafsegol17"]=1457;e["hatafsegol24"]=1457;e["hatafsegol30"]=1457;e["hatafsegolhebrew"]=1457;e["hatafsegolnarrowhebrew"]=1457;e["hatafsegolquarterhebrew"]=1457;e["hatafsegolwidehebrew"]=1457;e["hbar"]=295;e["hbopomofo"]=12559;e["hbrevebelow"]=7723;e["hcedilla"]=7721;e["hcircle"]=9431;e["hcircumflex"]=293;e["hdieresis"]=7719;e["hdotaccent"]=7715;e["hdotbelow"]=7717;e["he"]=1492;e["heart"]=9829;e["heartsuitblack"]=9829;e["heartsuitwhite"]=9825;e["hedagesh"]=64308;e["hedageshhebrew"]=64308;e["hehaltonearabic"]=1729;e["heharabic"]=1607;e["hehebrew"]=1492;e["hehfinalaltonearabic"]=64423;e["hehfinalalttwoarabic"]=65258;e["hehfinalarabic"]=65258;e["hehhamzaabovefinalarabic"]=64421;e["hehhamzaaboveisolatedarabic"]=64420;e["hehinitialaltonearabic"]=64424;e["hehinitialarabic"]=65259;e["hehiragana"]=12408;e["hehmedialaltonearabic"]=64425;e["hehmedialarabic"]=65260;e["heiseierasquare"]=13179;e["hekatakana"]=12504;e["hekatakanahalfwidth"]=65421;e["hekutaarusquare"]=13110;e["henghook"]=615;e["herutusquare"]=13113;e["het"]=1495;e["hethebrew"]=1495;e["hhook"]=614;e["hhooksuperior"]=689;e["hieuhacirclekorean"]=12923;e["hieuhaparenkorean"]=12827;e["hieuhcirclekorean"]=12909;e["hieuhkorean"]=12622;e["hieuhparenkorean"]=12813;e["hihiragana"]=12402;e["hikatakana"]=12498;e["hikatakanahalfwidth"]=65419;e["hiriq"]=1460;e["hiriq14"]=1460;e["hiriq21"]=1460;e["hiriq2d"]=1460;e["hiriqhebrew"]=1460;e["hiriqnarrowhebrew"]=1460;e["hiriqquarterhebrew"]=1460;e["hiriqwidehebrew"]=1460;e["hlinebelow"]=7830;e["hmonospace"]=65352;e["hoarmenian"]=1392;e["hohipthai"]=3627;e["hohiragana"]=12411;e["hokatakana"]=12507;e["hokatakanahalfwidth"]=65422;e["holam"]=1465;e["holam19"]=1465;e["holam26"]=1465;e["holam32"]=1465;e["holamhebrew"]=1465;e["holamnarrowhebrew"]=1465;e["holamquarterhebrew"]=1465;e["holamwidehebrew"]=1465;e["honokhukthai"]=3630;e["hookabovecomb"]=777;e["hookcmb"]=777;e["hookpalatalizedbelowcmb"]=801;e["hookretroflexbelowcmb"]=802;e["hoonsquare"]=13122;e["horicoptic"]=1001;e["horizontalbar"]=8213;e["horncmb"]=795;e["hotsprings"]=9832;e["house"]=8962;e["hparen"]=9379;e["hsuperior"]=688;e["hturned"]=613;e["huhiragana"]=12405;e["huiitosquare"]=13107;e["hukatakana"]=12501;e["hukatakanahalfwidth"]=65420;e["hungarumlaut"]=733;e["hungarumlautcmb"]=779;e["hv"]=405;e["hyphen"]=45;e["hypheninferior"]=63205;e["hyphenmonospace"]=65293;e["hyphensmall"]=65123;e["hyphensuperior"]=63206;e["hyphentwo"]=8208;e["i"]=105;e["iacute"]=237;e["iacyrillic"]=1103;e["ibengali"]=2439;e["ibopomofo"]=12583;e["ibreve"]=301;e["icaron"]=464;e["icircle"]=9432;e["icircumflex"]=238;e["icyrillic"]=1110;e["idblgrave"]=521;e["ideographearthcircle"]=12943;e["ideographfirecircle"]=12939;e["ideographicallianceparen"]=12863;e["ideographiccallparen"]=12858;e["ideographiccentrecircle"]=12965;e["ideographicclose"]=12294;e["ideographiccomma"]=12289;e["ideographiccommaleft"]=65380;e["ideographiccongratulationparen"]=12855;e["ideographiccorrectcircle"]=12963;e["ideographicearthparen"]=12847;e["ideographicenterpriseparen"]=12861;e["ideographicexcellentcircle"]=12957;e["ideographicfestivalparen"]=12864;e["ideographicfinancialcircle"]=12950;e["ideographicfinancialparen"]=12854;e["ideographicfireparen"]=12843;e["ideographichaveparen"]=12850;e["ideographichighcircle"]=12964;e["ideographiciterationmark"]=12293;e["ideographiclaborcircle"]=12952;e["ideographiclaborparen"]=12856;e["ideographicleftcircle"]=12967;e["ideographiclowcircle"]=12966;e["ideographicmedicinecircle"]=12969;e["ideographicmetalparen"]=12846;e["ideographicmoonparen"]=12842;e["ideographicnameparen"]=12852;e["ideographicperiod"]=12290;e["ideographicprintcircle"]=12958;e["ideographicreachparen"]=12867;e["ideographicrepresentparen"]=12857;e["ideographicresourceparen"]=12862;e["ideographicrightcircle"]=12968;e["ideographicsecretcircle"]=12953;e["ideographicselfparen"]=12866;e["ideographicsocietyparen"]=12851;e["ideographicspace"]=12288;e["ideographicspecialparen"]=12853;e["ideographicstockparen"]=12849;e["ideographicstudyparen"]=12859;e["ideographicsunparen"]=12848;e["ideographicsuperviseparen"]=12860;e["ideographicwaterparen"]=12844;e["ideographicwoodparen"]=12845;e["ideographiczero"]=12295;e["ideographmetalcircle"]=12942;e["ideographmooncircle"]=12938;e["ideographnamecircle"]=12948;e["ideographsuncircle"]=12944;e["ideographwatercircle"]=12940;e["ideographwoodcircle"]=12941;e["ideva"]=2311;e["idieresis"]=239;e["idieresisacute"]=7727;e["idieresiscyrillic"]=1253;e["idotbelow"]=7883;e["iebrevecyrillic"]=1239;e["iecyrillic"]=1077;e["ieungacirclekorean"]=12917;e["ieungaparenkorean"]=12821;e["ieungcirclekorean"]=12903;e["ieungkorean"]=12615;e["ieungparenkorean"]=12807;e["igrave"]=236;e["igujarati"]=2695;e["igurmukhi"]=2567;e["ihiragana"]=12356;e["ihookabove"]=7881;e["iibengali"]=2440;e["iicyrillic"]=1080;e["iideva"]=2312;e["iigujarati"]=2696;e["iigurmukhi"]=2568;e["iimatragurmukhi"]=2624;e["iinvertedbreve"]=523;e["iishortcyrillic"]=1081;e["iivowelsignbengali"]=2496;e["iivowelsigndeva"]=2368;e["iivowelsigngujarati"]=2752;e["ij"]=307;e["ikatakana"]=12452;e["ikatakanahalfwidth"]=65394;e["ikorean"]=12643;e["ilde"]=732;e["iluyhebrew"]=1452;e["imacron"]=299;e["imacroncyrillic"]=1251;e["imageorapproximatelyequal"]=8787;e["imatragurmukhi"]=2623;e["imonospace"]=65353;e["increment"]=8710;e["infinity"]=8734;e["iniarmenian"]=1387;e["integral"]=8747;e["integralbottom"]=8993;e["integralbt"]=8993;e["integralex"]=63733;e["integraltop"]=8992;e["integraltp"]=8992;e["intersection"]=8745;e["intisquare"]=13061;e["invbullet"]=9688;e["invcircle"]=9689;e["invsmileface"]=9787;e["iocyrillic"]=1105;e["iogonek"]=303;e["iota"]=953;e["iotadieresis"]=970;e["iotadieresistonos"]=912;e["iotalatin"]=617;e["iotatonos"]=943;e["iparen"]=9380;e["irigurmukhi"]=2674;e["ismallhiragana"]=12355;e["ismallkatakana"]=12451;e["ismallkatakanahalfwidth"]=65384;e["issharbengali"]=2554;e["istroke"]=616;e["isuperior"]=63213;e["iterationhiragana"]=12445;e["iterationkatakana"]=12541;e["itilde"]=297;e["itildebelow"]=7725;e["iubopomofo"]=12585;e["iucyrillic"]=1102;e["ivowelsignbengali"]=2495;e["ivowelsigndeva"]=2367;e["ivowelsigngujarati"]=2751;e["izhitsacyrillic"]=1141;e["izhitsadblgravecyrillic"]=1143;e["j"]=106;e["jaarmenian"]=1393;e["jabengali"]=2460;e["jadeva"]=2332;e["jagujarati"]=2716;e["jagurmukhi"]=2588;e["jbopomofo"]=12560;e["jcaron"]=496;e["jcircle"]=9433;e["jcircumflex"]=309;e["jcrossedtail"]=669;e["jdotlessstroke"]=607;e["jecyrillic"]=1112;e["jeemarabic"]=1580;e["jeemfinalarabic"]=65182;e["jeeminitialarabic"]=65183;e["jeemmedialarabic"]=65184;e["jeharabic"]=1688;e["jehfinalarabic"]=64395;e["jhabengali"]=2461;e["jhadeva"]=2333;e["jhagujarati"]=2717;e["jhagurmukhi"]=2589;e["jheharmenian"]=1403;e["jis"]=12292;e["jmonospace"]=65354;e["jparen"]=9381;e["jsuperior"]=690;e["k"]=107;e["kabashkircyrillic"]=1185;e["kabengali"]=2453;e["kacute"]=7729;e["kacyrillic"]=1082;e["kadescendercyrillic"]=1179;e["kadeva"]=2325;e["kaf"]=1499;e["kafarabic"]=1603;e["kafdagesh"]=64315;e["kafdageshhebrew"]=64315;e["kaffinalarabic"]=65242;e["kafhebrew"]=1499;e["kafinitialarabic"]=65243;e["kafmedialarabic"]=65244;e["kafrafehebrew"]=64333;e["kagujarati"]=2709;e["kagurmukhi"]=2581;e["kahiragana"]=12363;e["kahookcyrillic"]=1220;e["kakatakana"]=12459;e["kakatakanahalfwidth"]=65398;e["kappa"]=954;e["kappasymbolgreek"]=1008;e["kapyeounmieumkorean"]=12657;e["kapyeounphieuphkorean"]=12676;e["kapyeounpieupkorean"]=12664;e["kapyeounssangpieupkorean"]=12665;e["karoriisquare"]=13069;e["kashidaautoarabic"]=1600;e["kashidaautonosidebearingarabic"]=1600;e["kasmallkatakana"]=12533;e["kasquare"]=13188;e["kasraarabic"]=1616;e["kasratanarabic"]=1613;e["kastrokecyrillic"]=1183;e["katahiraprolongmarkhalfwidth"]=65392;e["kaverticalstrokecyrillic"]=1181;e["kbopomofo"]=12558;e["kcalsquare"]=13193;e["kcaron"]=489;e["kcedilla"]=311;e["kcircle"]=9434;e["kcommaaccent"]=311;e["kdotbelow"]=7731;e["keharmenian"]=1412;e["kehiragana"]=12369;e["kekatakana"]=12465;e["kekatakanahalfwidth"]=65401;e["kenarmenian"]=1391;e["kesmallkatakana"]=12534;e["kgreenlandic"]=312;e["khabengali"]=2454;e["khacyrillic"]=1093;e["khadeva"]=2326;e["khagujarati"]=2710;e["khagurmukhi"]=2582;e["khaharabic"]=1582;e["khahfinalarabic"]=65190;e["khahinitialarabic"]=65191;e["khahmedialarabic"]=65192;e["kheicoptic"]=999;e["khhadeva"]=2393;e["khhagurmukhi"]=2649;e["khieukhacirclekorean"]=12920;e["khieukhaparenkorean"]=12824;e["khieukhcirclekorean"]=12906;e["khieukhkorean"]=12619;e["khieukhparenkorean"]=12810;e["khokhaithai"]=3586;e["khokhonthai"]=3589;e["khokhuatthai"]=3587;e["khokhwaithai"]=3588;e["khomutthai"]=3675;e["khook"]=409;e["khorakhangthai"]=3590;e["khzsquare"]=13201;e["kihiragana"]=12365;e["kikatakana"]=12461;e["kikatakanahalfwidth"]=65399;e["kiroguramusquare"]=13077;e["kiromeetorusquare"]=13078;e["kirosquare"]=13076;e["kiyeokacirclekorean"]=12910;e["kiyeokaparenkorean"]=12814;e["kiyeokcirclekorean"]=12896;e["kiyeokkorean"]=12593;e["kiyeokparenkorean"]=12800;e["kiyeoksioskorean"]=12595;e["kjecyrillic"]=1116;e["klinebelow"]=7733;e["klsquare"]=13208;e["kmcubedsquare"]=13222;e["kmonospace"]=65355;e["kmsquaredsquare"]=13218;e["kohiragana"]=12371;e["kohmsquare"]=13248;e["kokaithai"]=3585;e["kokatakana"]=12467;e["kokatakanahalfwidth"]=65402;e["kooposquare"]=13086;e["koppacyrillic"]=1153;e["koreanstandardsymbol"]=12927;e["koroniscmb"]=835;e["kparen"]=9382;e["kpasquare"]=13226;e["ksicyrillic"]=1135;e["ktsquare"]=13263;e["kturned"]=670;e["kuhiragana"]=12367;e["kukatakana"]=12463;e["kukatakanahalfwidth"]=65400;e["kvsquare"]=13240;e["kwsquare"]=13246;e["l"]=108;e["labengali"]=2482;e["lacute"]=314;e["ladeva"]=2354;e["lagujarati"]=2738;e["lagurmukhi"]=2610;e["lakkhangyaothai"]=3653;e["lamaleffinalarabic"]=65276;e["lamalefhamzaabovefinalarabic"]=65272;e["lamalefhamzaaboveisolatedarabic"]=65271;e["lamalefhamzabelowfinalarabic"]=65274;e["lamalefhamzabelowisolatedarabic"]=65273;e["lamalefisolatedarabic"]=65275;e["lamalefmaddaabovefinalarabic"]=65270;e["lamalefmaddaaboveisolatedarabic"]=65269;e["lamarabic"]=1604;e["lambda"]=955;e["lambdastroke"]=411;e["lamed"]=1500;e["lameddagesh"]=64316;e["lameddageshhebrew"]=64316;e["lamedhebrew"]=1500;e["lamfinalarabic"]=65246;e["lamhahinitialarabic"]=64714;e["laminitialarabic"]=65247;e["lamjeeminitialarabic"]=64713;e["lamkhahinitialarabic"]=64715;e["lamlamhehisolatedarabic"]=65010;e["lammedialarabic"]=65248;e["lammeemhahinitialarabic"]=64904;e["lammeeminitialarabic"]=64716;e["largecircle"]=9711;e["lbar"]=410;e["lbelt"]=620;e["lbopomofo"]=12556;e["lcaron"]=318;e["lcedilla"]=316;e["lcircle"]=9435;e["lcircumflexbelow"]=7741;e["lcommaaccent"]=316;e["ldot"]=320;e["ldotaccent"]=320;e["ldotbelow"]=7735;e["ldotbelowmacron"]=7737;e["leftangleabovecmb"]=794;e["lefttackbelowcmb"]=792;e["less"]=60;e["lessequal"]=8804;e["lessequalorgreater"]=8922;e["lessmonospace"]=65308;e["lessorequivalent"]=8818;e["lessorgreater"]=8822;e["lessoverequal"]=8806;e["lesssmall"]=65124;e["lezh"]=622;e["lfblock"]=9612;e["lhookretroflex"]=621;e["lira"]=8356;e["liwnarmenian"]=1388;e["lj"]=457;e["ljecyrillic"]=1113;e["ll"]=63168;e["lladeva"]=2355;e["llagujarati"]=2739;e["llinebelow"]=7739;e["llladeva"]=2356;e["llvocalicbengali"]=2529;e["llvocalicdeva"]=2401;e["llvocalicvowelsignbengali"]=2531;e["llvocalicvowelsigndeva"]=2403;e["lmiddletilde"]=619;e["lmonospace"]=65356;e["lmsquare"]=13264;e["lochulathai"]=3628;e["logicaland"]=8743;e["logicalnot"]=172;e["logicalnotreversed"]=8976;e["logicalor"]=8744;e["lolingthai"]=3621;e["longs"]=383;e["lowlinecenterline"]=65102;e["lowlinecmb"]=818;e["lowlinedashed"]=65101;e["lozenge"]=9674;e["lparen"]=9383;e["lslash"]=322;e["lsquare"]=8467;e["lsuperior"]=63214;e["ltshade"]=9617;e["luthai"]=3622;e["lvocalicbengali"]=2444;e["lvocalicdeva"]=2316;e["lvocalicvowelsignbengali"]=2530;e["lvocalicvowelsigndeva"]=2402;e["lxsquare"]=13267;e["m"]=109;e["mabengali"]=2478;e["macron"]=175;e["macronbelowcmb"]=817;e["macroncmb"]=772;e["macronlowmod"]=717;e["macronmonospace"]=65507;e["macute"]=7743;e["madeva"]=2350;e["magujarati"]=2734;e["magurmukhi"]=2606;e["mahapakhhebrew"]=1444;e["mahapakhlefthebrew"]=1444;e["mahiragana"]=12414;e["maichattawalowleftthai"]=63637;e["maichattawalowrightthai"]=63636;e["maichattawathai"]=3659;e["maichattawaupperleftthai"]=63635;e["maieklowleftthai"]=63628;e["maieklowrightthai"]=63627;e["maiekthai"]=3656;e["maiekupperleftthai"]=63626;e["maihanakatleftthai"]=63620;e["maihanakatthai"]=3633;e["maitaikhuleftthai"]=63625;e["maitaikhuthai"]=3655;e["maitholowleftthai"]=63631;e["maitholowrightthai"]=63630;e["maithothai"]=3657;e["maithoupperleftthai"]=63629;e["maitrilowleftthai"]=63634;e["maitrilowrightthai"]=63633;e["maitrithai"]=3658;e["maitriupperleftthai"]=63632;e["maiyamokthai"]=3654;e["makatakana"]=12510;e["makatakanahalfwidth"]=65423;e["male"]=9794;e["mansyonsquare"]=13127;e["maqafhebrew"]=1470;e["mars"]=9794;e["masoracirclehebrew"]=1455;e["masquare"]=13187;e["mbopomofo"]=12551;e["mbsquare"]=13268;e["mcircle"]=9436;e["mcubedsquare"]=13221;e["mdotaccent"]=7745;e["mdotbelow"]=7747;e["meemarabic"]=1605;e["meemfinalarabic"]=65250;e["meeminitialarabic"]=65251;e["meemmedialarabic"]=65252;e["meemmeeminitialarabic"]=64721;e["meemmeemisolatedarabic"]=64584;e["meetorusquare"]=13133;e["mehiragana"]=12417;e["meizierasquare"]=13182;e["mekatakana"]=12513;e["mekatakanahalfwidth"]=65426;e["mem"]=1502;e["memdagesh"]=64318;e["memdageshhebrew"]=64318;e["memhebrew"]=1502;e["menarmenian"]=1396;e["merkhahebrew"]=1445;e["merkhakefulahebrew"]=1446;e["merkhakefulalefthebrew"]=1446;e["merkhalefthebrew"]=1445;e["mhook"]=625;e["mhzsquare"]=13202;e["middledotkatakanahalfwidth"]=65381;e["middot"]=183;e["mieumacirclekorean"]=12914;e["mieumaparenkorean"]=12818;e["mieumcirclekorean"]=12900;e["mieumkorean"]=12609;e["mieumpansioskorean"]=12656;e["mieumparenkorean"]=12804;e["mieumpieupkorean"]=12654;e["mieumsioskorean"]=12655;e["mihiragana"]=12415;e["mikatakana"]=12511;e["mikatakanahalfwidth"]=65424;e["minus"]=8722;e["minusbelowcmb"]=800;e["minuscircle"]=8854;e["minusmod"]=727;e["minusplus"]=8723;e["minute"]=8242;e["miribaarusquare"]=13130;e["mirisquare"]=13129;e["mlonglegturned"]=624;e["mlsquare"]=13206;e["mmcubedsquare"]=13219;e["mmonospace"]=65357;e["mmsquaredsquare"]=13215;e["mohiragana"]=12418;e["mohmsquare"]=13249;e["mokatakana"]=12514;e["mokatakanahalfwidth"]=65427;e["molsquare"]=13270;e["momathai"]=3617;e["moverssquare"]=13223;e["moverssquaredsquare"]=13224;e["mparen"]=9384;e["mpasquare"]=13227;e["mssquare"]=13235;e["msuperior"]=63215;e["mturned"]=623;e["mu"]=181;e["mu1"]=181;e["muasquare"]=13186;e["muchgreater"]=8811;e["muchless"]=8810;e["mufsquare"]=13196;e["mugreek"]=956;e["mugsquare"]=13197;e["muhiragana"]=12416;e["mukatakana"]=12512;e["mukatakanahalfwidth"]=65425;e["mulsquare"]=13205;e["multiply"]=215;e["mumsquare"]=13211;e["munahhebrew"]=1443;e["munahlefthebrew"]=1443;e["musicalnote"]=9834;e["musicalnotedbl"]=9835;e["musicflatsign"]=9837;e["musicsharpsign"]=9839;e["mussquare"]=13234;e["muvsquare"]=13238;e["muwsquare"]=13244;e["mvmegasquare"]=13241;e["mvsquare"]=13239;e["mwmegasquare"]=13247;e["mwsquare"]=13245;e["n"]=110;e["nabengali"]=2472;e["nabla"]=8711;e["nacute"]=324;e["nadeva"]=2344;e["nagujarati"]=2728;e["nagurmukhi"]=2600;e["nahiragana"]=12394;e["nakatakana"]=12490;e["nakatakanahalfwidth"]=65413;e["napostrophe"]=329;e["nasquare"]=13185;e["nbopomofo"]=12555;e["nbspace"]=160;e["ncaron"]=328;e["ncedilla"]=326;e["ncircle"]=9437;e["ncircumflexbelow"]=7755;e["ncommaaccent"]=326;e["ndotaccent"]=7749;e["ndotbelow"]=7751;e["nehiragana"]=12397;e["nekatakana"]=12493;e["nekatakanahalfwidth"]=65416;e["newsheqelsign"]=8362;e["nfsquare"]=13195;e["ngabengali"]=2457;e["ngadeva"]=2329;e["ngagujarati"]=2713;e["ngagurmukhi"]=2585;e["ngonguthai"]=3591;e["nhiragana"]=12435;e["nhookleft"]=626;e["nhookretroflex"]=627;e["nieunacirclekorean"]=12911;e["nieunaparenkorean"]=12815;e["nieuncieuckorean"]=12597;e["nieuncirclekorean"]=12897;e["nieunhieuhkorean"]=12598;e["nieunkorean"]=12596;e["nieunpansioskorean"]=12648;e["nieunparenkorean"]=12801;e["nieunsioskorean"]=12647;e["nieuntikeutkorean"]=12646;e["nihiragana"]=12395;e["nikatakana"]=12491;e["nikatakanahalfwidth"]=65414;e["nikhahitleftthai"]=63641;e["nikhahitthai"]=3661;e["nine"]=57;e["ninearabic"]=1641;e["ninebengali"]=2543;e["ninecircle"]=9320;e["ninecircleinversesansserif"]=10130;e["ninedeva"]=2415;e["ninegujarati"]=2799;e["ninegurmukhi"]=2671;e["ninehackarabic"]=1641;e["ninehangzhou"]=12329;e["nineideographicparen"]=12840;e["nineinferior"]=8329;e["ninemonospace"]=65305;e["nineoldstyle"]=63289;e["nineparen"]=9340;e["nineperiod"]=9360;e["ninepersian"]=1785;e["nineroman"]=8568;e["ninesuperior"]=8313;e["nineteencircle"]=9330;e["nineteenparen"]=9350;e["nineteenperiod"]=9370;e["ninethai"]=3673;e["nj"]=460;e["njecyrillic"]=1114;e["nkatakana"]=12531;e["nkatakanahalfwidth"]=65437;e["nlegrightlong"]=414;e["nlinebelow"]=7753;e["nmonospace"]=65358;e["nmsquare"]=13210;e["nnabengali"]=2467;e["nnadeva"]=2339;e["nnagujarati"]=2723;e["nnagurmukhi"]=2595;e["nnnadeva"]=2345;e["nohiragana"]=12398;e["nokatakana"]=12494;e["nokatakanahalfwidth"]=65417;e["nonbreakingspace"]=160;e["nonenthai"]=3603;e["nonuthai"]=3609;e["noonarabic"]=1606;e["noonfinalarabic"]=65254;e["noonghunnaarabic"]=1722;e["noonghunnafinalarabic"]=64415;e["nooninitialarabic"]=65255;e["noonjeeminitialarabic"]=64722;e["noonjeemisolatedarabic"]=64587;e["noonmedialarabic"]=65256;e["noonmeeminitialarabic"]=64725;e["noonmeemisolatedarabic"]=64590;e["noonnoonfinalarabic"]=64653;e["notcontains"]=8716;e["notelement"]=8713;e["notelementof"]=8713;e["notequal"]=8800;e["notgreater"]=8815;e["notgreaternorequal"]=8817;e["notgreaternorless"]=8825;e["notidentical"]=8802;e["notless"]=8814;e["notlessnorequal"]=8816;e["notparallel"]=8742;e["notprecedes"]=8832;e["notsubset"]=8836;e["notsucceeds"]=8833;e["notsuperset"]=8837;e["nowarmenian"]=1398;e["nparen"]=9385;e["nssquare"]=13233;e["nsuperior"]=8319;e["ntilde"]=241;e["nu"]=957;e["nuhiragana"]=12396;e["nukatakana"]=12492;e["nukatakanahalfwidth"]=65415;e["nuktabengali"]=2492;e["nuktadeva"]=2364;e["nuktagujarati"]=2748;e["nuktagurmukhi"]=2620;e["numbersign"]=35;e["numbersignmonospace"]=65283;e["numbersignsmall"]=65119;e["numeralsigngreek"]=884;e["numeralsignlowergreek"]=885;e["numero"]=8470;e["nun"]=1504;e["nundagesh"]=64320;e["nundageshhebrew"]=64320;e["nunhebrew"]=1504;e["nvsquare"]=13237;e["nwsquare"]=13243;e["nyabengali"]=2462;e["nyadeva"]=2334;e["nyagujarati"]=2718;e["nyagurmukhi"]=2590;e["o"]=111;e["oacute"]=243;e["oangthai"]=3629;e["obarred"]=629;e["obarredcyrillic"]=1257;e["obarreddieresiscyrillic"]=1259;e["obengali"]=2451;e["obopomofo"]=12571;e["obreve"]=335;e["ocandradeva"]=2321;e["ocandragujarati"]=2705;e["ocandravowelsigndeva"]=2377;e["ocandravowelsigngujarati"]=2761;e["ocaron"]=466;e["ocircle"]=9438;e["ocircumflex"]=244;e["ocircumflexacute"]=7889;e["ocircumflexdotbelow"]=7897;e["ocircumflexgrave"]=7891;e["ocircumflexhookabove"]=7893;e["ocircumflextilde"]=7895;e["ocyrillic"]=1086;e["odblacute"]=337;e["odblgrave"]=525;e["odeva"]=2323;e["odieresis"]=246;e["odieresiscyrillic"]=1255;e["odotbelow"]=7885;e["oe"]=339;e["oekorean"]=12634;e["ogonek"]=731;e["ogonekcmb"]=808;e["ograve"]=242;e["ogujarati"]=2707;e["oharmenian"]=1413;e["ohiragana"]=12362;e["ohookabove"]=7887;e["ohorn"]=417;e["ohornacute"]=7899;e["ohorndotbelow"]=7907;e["ohorngrave"]=7901;e["ohornhookabove"]=7903;e["ohorntilde"]=7905;e["ohungarumlaut"]=337;e["oi"]=419;e["oinvertedbreve"]=527;e["okatakana"]=12458;e["okatakanahalfwidth"]=65397;e["okorean"]=12631;e["olehebrew"]=1451;e["omacron"]=333;e["omacronacute"]=7763;e["omacrongrave"]=7761;e["omdeva"]=2384;e["omega"]=969;e["omega1"]=982;e["omegacyrillic"]=1121;e["omegalatinclosed"]=631;e["omegaroundcyrillic"]=1147;e["omegatitlocyrillic"]=1149;e["omegatonos"]=974;e["omgujarati"]=2768;e["omicron"]=959;e["omicrontonos"]=972;e["omonospace"]=65359;e["one"]=49;e["onearabic"]=1633;e["onebengali"]=2535;e["onecircle"]=9312;e["onecircleinversesansserif"]=10122;e["onedeva"]=2407;e["onedotenleader"]=8228;e["oneeighth"]=8539;e["onefitted"]=63196;e["onegujarati"]=2791;e["onegurmukhi"]=2663;e["onehackarabic"]=1633;e["onehalf"]=189;e["onehangzhou"]=12321;e["oneideographicparen"]=12832;e["oneinferior"]=8321;e["onemonospace"]=65297;e["onenumeratorbengali"]=2548;e["oneoldstyle"]=63281;e["oneparen"]=9332;e["oneperiod"]=9352;e["onepersian"]=1777;e["onequarter"]=188;e["oneroman"]=8560;e["onesuperior"]=185;e["onethai"]=3665;e["onethird"]=8531;e["oogonek"]=491;e["oogonekmacron"]=493;e["oogurmukhi"]=2579;e["oomatragurmukhi"]=2635;e["oopen"]=596;e["oparen"]=9386;e["openbullet"]=9702;e["option"]=8997;e["ordfeminine"]=170;e["ordmasculine"]=186;e["orthogonal"]=8735;e["oshortdeva"]=2322;e["oshortvowelsigndeva"]=2378;e["oslash"]=248;e["oslashacute"]=511;e["osmallhiragana"]=12361;e["osmallkatakana"]=12457;e["osmallkatakanahalfwidth"]=65387;e["ostrokeacute"]=511;e["osuperior"]=63216;e["otcyrillic"]=1151;e["otilde"]=245;e["otildeacute"]=7757;e["otildedieresis"]=7759;e["oubopomofo"]=12577;e["overline"]=8254;e["overlinecenterline"]=65098;e["overlinecmb"]=773;e["overlinedashed"]=65097;e["overlinedblwavy"]=65100;e["overlinewavy"]=65099;e["overscore"]=175;e["ovowelsignbengali"]=2507;e["ovowelsigndeva"]=2379;e["ovowelsigngujarati"]=2763;e["p"]=112;e["paampssquare"]=13184;e["paasentosquare"]=13099;e["pabengali"]=2474;e["pacute"]=7765;e["padeva"]=2346;e["pagedown"]=8671;e["pageup"]=8670;e["pagujarati"]=2730;e["pagurmukhi"]=2602;e["pahiragana"]=12401;e["paiyannoithai"]=3631;e["pakatakana"]=12497;e["palatalizationcyrilliccmb"]=1156;e["palochkacyrillic"]=1216;e["pansioskorean"]=12671;e["paragraph"]=182;e["parallel"]=8741;e["parenleft"]=40;e["parenleftaltonearabic"]=64830;e["parenleftbt"]=63725;e["parenleftex"]=63724;e["parenleftinferior"]=8333;e["parenleftmonospace"]=65288;e["parenleftsmall"]=65113;e["parenleftsuperior"]=8317;e["parenlefttp"]=63723;e["parenleftvertical"]=65077;e["parenright"]=41;e["parenrightaltonearabic"]=64831;e["parenrightbt"]=63736;e["parenrightex"]=63735;e["parenrightinferior"]=8334;e["parenrightmonospace"]=65289;e["parenrightsmall"]=65114;e["parenrightsuperior"]=8318;e["parenrighttp"]=63734;e["parenrightvertical"]=65078;e["partialdiff"]=8706;e["paseqhebrew"]=1472;e["pashtahebrew"]=1433;e["pasquare"]=13225;e["patah"]=1463;e["patah11"]=1463;e["patah1d"]=1463;e["patah2a"]=1463;e["patahhebrew"]=1463;e["patahnarrowhebrew"]=1463;e["patahquarterhebrew"]=1463;e["patahwidehebrew"]=1463;e["pazerhebrew"]=1441;e["pbopomofo"]=12550;e["pcircle"]=9439;e["pdotaccent"]=7767;e["pe"]=1508;e["pecyrillic"]=1087;e["pedagesh"]=64324;e["pedageshhebrew"]=64324;e["peezisquare"]=13115;e["pefinaldageshhebrew"]=64323;e["peharabic"]=1662;e["peharmenian"]=1402;e["pehebrew"]=1508;e["pehfinalarabic"]=64343;e["pehinitialarabic"]=64344;e["pehiragana"]=12410;e["pehmedialarabic"]=64345;e["pekatakana"]=12506;e["pemiddlehookcyrillic"]=1191;e["perafehebrew"]=64334;e["percent"]=37;e["percentarabic"]=1642;e["percentmonospace"]=65285;e["percentsmall"]=65130;e["period"]=46;e["periodarmenian"]=1417;e["periodcentered"]=183;e["periodhalfwidth"]=65377;e["periodinferior"]=63207;e["periodmonospace"]=65294;e["periodsmall"]=65106;e["periodsuperior"]=63208;e["perispomenigreekcmb"]=834;e["perpendicular"]=8869;e["perthousand"]=8240;e["peseta"]=8359;e["pfsquare"]=13194;e["phabengali"]=2475;e["phadeva"]=2347;e["phagujarati"]=2731;e["phagurmukhi"]=2603;e["phi"]=966;e["phi1"]=981;e["phieuphacirclekorean"]=12922;e["phieuphaparenkorean"]=12826;e["phieuphcirclekorean"]=12908;e["phieuphkorean"]=12621;e["phieuphparenkorean"]=12812;e["philatin"]=632;e["phinthuthai"]=3642;e["phisymbolgreek"]=981;e["phook"]=421;e["phophanthai"]=3614;e["phophungthai"]=3612;e["phosamphaothai"]=3616;e["pi"]=960;e["pieupacirclekorean"]=12915;e["pieupaparenkorean"]=12819;e["pieupcieuckorean"]=12662;e["pieupcirclekorean"]=12901;e["pieupkiyeokkorean"]=12658;e["pieupkorean"]=12610;e["pieupparenkorean"]=12805;e["pieupsioskiyeokkorean"]=12660;e["pieupsioskorean"]=12612;e["pieupsiostikeutkorean"]=12661;e["pieupthieuthkorean"]=12663;e["pieuptikeutkorean"]=12659;e["pihiragana"]=12404;e["pikatakana"]=12500;e["pisymbolgreek"]=982;e["piwrarmenian"]=1411;e["plus"]=43;e["plusbelowcmb"]=799;e["pluscircle"]=8853;e["plusminus"]=177;e["plusmod"]=726;e["plusmonospace"]=65291;e["plussmall"]=65122;e["plussuperior"]=8314;e["pmonospace"]=65360;e["pmsquare"]=13272;e["pohiragana"]=12413;e["pointingindexdownwhite"]=9759;e["pointingindexleftwhite"]=9756;e["pointingindexrightwhite"]=9758;e["pointingindexupwhite"]=9757;e["pokatakana"]=12509;e["poplathai"]=3611;e["postalmark"]=12306;e["postalmarkface"]=12320;e["pparen"]=9387;e["precedes"]=8826;e["prescription"]=8478;e["primemod"]=697;e["primereversed"]=8245;e["product"]=8719;e["projective"]=8965;e["prolongedkana"]=12540;e["propellor"]=8984;e["propersubset"]=8834;e["propersuperset"]=8835;e["proportion"]=8759;e["proportional"]=8733;e["psi"]=968;e["psicyrillic"]=1137;e["psilipneumatacyrilliccmb"]=1158;e["pssquare"]=13232;e["puhiragana"]=12407;e["pukatakana"]=12503;e["pvsquare"]=13236;e["pwsquare"]=13242;e["q"]=113;e["qadeva"]=2392;e["qadmahebrew"]=1448;e["qafarabic"]=1602;e["qaffinalarabic"]=65238;e["qafinitialarabic"]=65239;e["qafmedialarabic"]=65240;e["qamats"]=1464;e["qamats10"]=1464;e["qamats1a"]=1464;e["qamats1c"]=1464;e["qamats27"]=1464;e["qamats29"]=1464;e["qamats33"]=1464;e["qamatsde"]=1464;e["qamatshebrew"]=1464;e["qamatsnarrowhebrew"]=1464;e["qamatsqatanhebrew"]=1464;e["qamatsqatannarrowhebrew"]=1464;e["qamatsqatanquarterhebrew"]=1464;e["qamatsqatanwidehebrew"]=1464;e["qamatsquarterhebrew"]=1464;e["qamatswidehebrew"]=1464;e["qarneyparahebrew"]=1439;e["qbopomofo"]=12561;e["qcircle"]=9440;e["qhook"]=672;e["qmonospace"]=65361;e["qof"]=1511;e["qofdagesh"]=64327;e["qofdageshhebrew"]=64327;e["qofhebrew"]=1511;e["qparen"]=9388;e["quarternote"]=9833;e["qubuts"]=1467;e["qubuts18"]=1467;e["qubuts25"]=1467;e["qubuts31"]=1467;e["qubutshebrew"]=1467;e["qubutsnarrowhebrew"]=1467;e["qubutsquarterhebrew"]=1467;e["qubutswidehebrew"]=1467;e["question"]=63;e["questionarabic"]=1567;e["questionarmenian"]=1374;e["questiondown"]=191;e["questiondownsmall"]=63423;e["questiongreek"]=894;e["questionmonospace"]=65311;e["questionsmall"]=63295;e["quotedbl"]=34;e["quotedblbase"]=8222;e["quotedblleft"]=8220;e["quotedblmonospace"]=65282;e["quotedblprime"]=12318;e["quotedblprimereversed"]=12317;e["quotedblright"]=8221;e["quoteleft"]=8216;e["quoteleftreversed"]=8219;e["quotereversed"]=8219;e["quoteright"]=8217;e["quoterightn"]=329;e["quotesinglbase"]=8218;e["quotesingle"]=39;e["quotesinglemonospace"]=65287;e["r"]=114;e["raarmenian"]=1404;e["rabengali"]=2480;e["racute"]=341;e["radeva"]=2352;e["radical"]=8730;e["radicalex"]=63717;e["radoverssquare"]=13230;e["radoverssquaredsquare"]=13231;e["radsquare"]=13229;e["rafe"]=1471;e["rafehebrew"]=1471;e["ragujarati"]=2736;e["ragurmukhi"]=2608;e["rahiragana"]=12425;e["rakatakana"]=12521;e["rakatakanahalfwidth"]=65431;e["ralowerdiagonalbengali"]=2545;e["ramiddlediagonalbengali"]=2544;e["ramshorn"]=612;e["ratio"]=8758;e["rbopomofo"]=12566;e["rcaron"]=345;e["rcedilla"]=343;e["rcircle"]=9441;e["rcommaaccent"]=343;e["rdblgrave"]=529;e["rdotaccent"]=7769;e["rdotbelow"]=7771;e["rdotbelowmacron"]=7773;e["referencemark"]=8251;e["reflexsubset"]=8838;e["reflexsuperset"]=8839;e["registered"]=174;e["registersans"]=63720;e["registerserif"]=63194;e["reharabic"]=1585;e["reharmenian"]=1408;e["rehfinalarabic"]=65198;e["rehiragana"]=12428;e["rekatakana"]=12524;e["rekatakanahalfwidth"]=65434;e["resh"]=1512;e["reshdageshhebrew"]=64328;e["reshhebrew"]=1512;e["reversedtilde"]=8765;e["reviahebrew"]=1431;e["reviamugrashhebrew"]=1431;e["revlogicalnot"]=8976;e["rfishhook"]=638;e["rfishhookreversed"]=639;e["rhabengali"]=2525;e["rhadeva"]=2397;e["rho"]=961;e["rhook"]=637;e["rhookturned"]=635;e["rhookturnedsuperior"]=693;e["rhosymbolgreek"]=1009;e["rhotichookmod"]=734;e["rieulacirclekorean"]=12913;e["rieulaparenkorean"]=12817;e["rieulcirclekorean"]=12899;e["rieulhieuhkorean"]=12608;e["rieulkiyeokkorean"]=12602;e["rieulkiyeoksioskorean"]=12649;e["rieulkorean"]=12601;e["rieulmieumkorean"]=12603;e["rieulpansioskorean"]=12652;e["rieulparenkorean"]=12803;e["rieulphieuphkorean"]=12607;e["rieulpieupkorean"]=12604;e["rieulpieupsioskorean"]=12651;e["rieulsioskorean"]=12605;e["rieulthieuthkorean"]=12606;e["rieultikeutkorean"]=12650;e["rieulyeorinhieuhkorean"]=12653;e["rightangle"]=8735;e["righttackbelowcmb"]=793;e["righttriangle"]=8895;e["rihiragana"]=12426;e["rikatakana"]=12522;e["rikatakanahalfwidth"]=65432;e["ring"]=730;e["ringbelowcmb"]=805;e["ringcmb"]=778;e["ringhalfleft"]=703;e["ringhalfleftarmenian"]=1369;e["ringhalfleftbelowcmb"]=796;e["ringhalfleftcentered"]=723;e["ringhalfright"]=702;e["ringhalfrightbelowcmb"]=825;e["ringhalfrightcentered"]=722;e["rinvertedbreve"]=531;e["rittorusquare"]=13137;e["rlinebelow"]=7775;e["rlongleg"]=636;e["rlonglegturned"]=634;e["rmonospace"]=65362;e["rohiragana"]=12429;e["rokatakana"]=12525;e["rokatakanahalfwidth"]=65435;e["roruathai"]=3619;e["rparen"]=9389;e["rrabengali"]=2524;e["rradeva"]=2353;e["rragurmukhi"]=2652;e["rreharabic"]=1681;e["rrehfinalarabic"]=64397;e["rrvocalicbengali"]=2528;e["rrvocalicdeva"]=2400;e["rrvocalicgujarati"]=2784;e["rrvocalicvowelsignbengali"]=2500;e["rrvocalicvowelsigndeva"]=2372;e["rrvocalicvowelsigngujarati"]=2756;e["rsuperior"]=63217;e["rtblock"]=9616;e["rturned"]=633;e["rturnedsuperior"]=692;e["ruhiragana"]=12427;e["rukatakana"]=12523;e["rukatakanahalfwidth"]=65433;e["rupeemarkbengali"]=2546;e["rupeesignbengali"]=2547;e["rupiah"]=63197;e["ruthai"]=3620;e["rvocalicbengali"]=2443;e["rvocalicdeva"]=2315;e["rvocalicgujarati"]=2699;e["rvocalicvowelsignbengali"]=2499;e["rvocalicvowelsigndeva"]=2371;e["rvocalicvowelsigngujarati"]=2755;e["s"]=115;e["sabengali"]=2488;e["sacute"]=347;e["sacutedotaccent"]=7781;e["sadarabic"]=1589;e["sadeva"]=2360;e["sadfinalarabic"]=65210;e["sadinitialarabic"]=65211;e["sadmedialarabic"]=65212;e["sagujarati"]=2744;e["sagurmukhi"]=2616;e["sahiragana"]=12373;e["sakatakana"]=12469;e["sakatakanahalfwidth"]=65403;e["sallallahoualayhewasallamarabic"]=65018;e["samekh"]=1505;e["samekhdagesh"]=64321;e["samekhdageshhebrew"]=64321;e["samekhhebrew"]=1505;e["saraaathai"]=3634;e["saraaethai"]=3649;e["saraaimaimalaithai"]=3652;e["saraaimaimuanthai"]=3651;e["saraamthai"]=3635;e["saraathai"]=3632;e["saraethai"]=3648;e["saraiileftthai"]=63622;e["saraiithai"]=3637;e["saraileftthai"]=63621;e["saraithai"]=3636;e["saraothai"]=3650;e["saraueeleftthai"]=63624;e["saraueethai"]=3639;e["saraueleftthai"]=63623;e["sarauethai"]=3638;e["sarauthai"]=3640;e["sarauuthai"]=3641;e["sbopomofo"]=12569;e["scaron"]=353;e["scarondotaccent"]=7783;e["scedilla"]=351;e["schwa"]=601;e["schwacyrillic"]=1241;e["schwadieresiscyrillic"]=1243;e["schwahook"]=602;e["scircle"]=9442;e["scircumflex"]=349;e["scommaaccent"]=537;e["sdotaccent"]=7777;e["sdotbelow"]=7779;e["sdotbelowdotaccent"]=7785;e["seagullbelowcmb"]=828;e["second"]=8243;e["secondtonechinese"]=714;e["section"]=167;e["seenarabic"]=1587;e["seenfinalarabic"]=65202;e["seeninitialarabic"]=65203;e["seenmedialarabic"]=65204;e["segol"]=1462;e["segol13"]=1462;e["segol1f"]=1462;e["segol2c"]=1462;e["segolhebrew"]=1462;e["segolnarrowhebrew"]=1462;e["segolquarterhebrew"]=1462;e["segoltahebrew"]=1426;e["segolwidehebrew"]=1462;e["seharmenian"]=1405;e["sehiragana"]=12379;e["sekatakana"]=12475;e["sekatakanahalfwidth"]=65406;e["semicolon"]=59;e["semicolonarabic"]=1563;e["semicolonmonospace"]=65307;e["semicolonsmall"]=65108;e["semivoicedmarkkana"]=12444;e["semivoicedmarkkanahalfwidth"]=65439;e["sentisquare"]=13090;e["sentosquare"]=13091;e["seven"]=55;e["sevenarabic"]=1639;e["sevenbengali"]=2541;e["sevencircle"]=9318;e["sevencircleinversesansserif"]=10128;e["sevendeva"]=2413;e["seveneighths"]=8542;e["sevengujarati"]=2797;e["sevengurmukhi"]=2669;e["sevenhackarabic"]=1639;e["sevenhangzhou"]=12327;e["sevenideographicparen"]=12838;e["seveninferior"]=8327;e["sevenmonospace"]=65303;e["sevenoldstyle"]=63287;e["sevenparen"]=9338;e["sevenperiod"]=9358;e["sevenpersian"]=1783;e["sevenroman"]=8566;e["sevensuperior"]=8311;e["seventeencircle"]=9328;e["seventeenparen"]=9348;e["seventeenperiod"]=9368;e["seventhai"]=3671;e["sfthyphen"]=173;e["shaarmenian"]=1399;e["shabengali"]=2486;e["shacyrillic"]=1096;e["shaddaarabic"]=1617;e["shaddadammaarabic"]=64609;e["shaddadammatanarabic"]=64606;e["shaddafathaarabic"]=64608;e["shaddakasraarabic"]=64610;e["shaddakasratanarabic"]=64607;e["shade"]=9618;e["shadedark"]=9619;e["shadelight"]=9617;e["shademedium"]=9618;e["shadeva"]=2358;e["shagujarati"]=2742;e["shagurmukhi"]=2614;e["shalshelethebrew"]=1427;e["shbopomofo"]=12565;e["shchacyrillic"]=1097;e["sheenarabic"]=1588;e["sheenfinalarabic"]=65206;e["sheeninitialarabic"]=65207;e["sheenmedialarabic"]=65208;e["sheicoptic"]=995;e["sheqel"]=8362;e["sheqelhebrew"]=8362;e["sheva"]=1456;e["sheva115"]=1456;e["sheva15"]=1456;e["sheva22"]=1456;e["sheva2e"]=1456;e["shevahebrew"]=1456;e["shevanarrowhebrew"]=1456;e["shevaquarterhebrew"]=1456;e["shevawidehebrew"]=1456;e["shhacyrillic"]=1211;e["shimacoptic"]=1005;e["shin"]=1513;e["shindagesh"]=64329;e["shindageshhebrew"]=64329;e["shindageshshindot"]=64300;e["shindageshshindothebrew"]=64300;e["shindageshsindot"]=64301;e["shindageshsindothebrew"]=64301;e["shindothebrew"]=1473;e["shinhebrew"]=1513;e["shinshindot"]=64298;e["shinshindothebrew"]=64298;e["shinsindot"]=64299;e["shinsindothebrew"]=64299;e["shook"]=642;e["sigma"]=963;e["sigma1"]=962;e["sigmafinal"]=962;e["sigmalunatesymbolgreek"]=1010;e["sihiragana"]=12375;e["sikatakana"]=12471;e["sikatakanahalfwidth"]=65404;e["siluqhebrew"]=1469;e["siluqlefthebrew"]=1469;e["similar"]=8764;e["sindothebrew"]=1474;e["siosacirclekorean"]=12916;e["siosaparenkorean"]=12820;e["sioscieuckorean"]=12670;e["sioscirclekorean"]=12902;e["sioskiyeokkorean"]=12666;e["sioskorean"]=12613;e["siosnieunkorean"]=12667;e["siosparenkorean"]=12806;e["siospieupkorean"]=12669;e["siostikeutkorean"]=12668;e["six"]=54;e["sixarabic"]=1638;e["sixbengali"]=2540;e["sixcircle"]=9317;e["sixcircleinversesansserif"]=10127;e["sixdeva"]=2412;e["sixgujarati"]=2796;e["sixgurmukhi"]=2668;e["sixhackarabic"]=1638;e["sixhangzhou"]=12326;e["sixideographicparen"]=12837;e["sixinferior"]=8326;e["sixmonospace"]=65302;e["sixoldstyle"]=63286;e["sixparen"]=9337;e["sixperiod"]=9357;e["sixpersian"]=1782;e["sixroman"]=8565;e["sixsuperior"]=8310;e["sixteencircle"]=9327;e["sixteencurrencydenominatorbengali"]=2553;e["sixteenparen"]=9347;e["sixteenperiod"]=9367;e["sixthai"]=3670;e["slash"]=47;e["slashmonospace"]=65295;e["slong"]=383;e["slongdotaccent"]=7835;e["smileface"]=9786;e["smonospace"]=65363;e["sofpasuqhebrew"]=1475;e["softhyphen"]=173;e["softsigncyrillic"]=1100;e["sohiragana"]=12381;e["sokatakana"]=12477;e["sokatakanahalfwidth"]=65407;e["soliduslongoverlaycmb"]=824;e["solidusshortoverlaycmb"]=823;e["sorusithai"]=3625;e["sosalathai"]=3624;e["sosothai"]=3595;e["sosuathai"]=3626;e["space"]=32;e["spacehackarabic"]=32;e["spade"]=9824;e["spadesuitblack"]=9824;e["spadesuitwhite"]=9828;e["sparen"]=9390;e["squarebelowcmb"]=827;e["squarecc"]=13252;e["squarecm"]=13213;e["squarediagonalcrosshatchfill"]=9641;e["squarehorizontalfill"]=9636;e["squarekg"]=13199;e["squarekm"]=13214;e["squarekmcapital"]=13262;e["squareln"]=13265;e["squarelog"]=13266;e["squaremg"]=13198;e["squaremil"]=13269;e["squaremm"]=13212;e["squaremsquared"]=13217;e["squareorthogonalcrosshatchfill"]=9638;e["squareupperlefttolowerrightfill"]=9639;e["squareupperrighttolowerleftfill"]=9640;e["squareverticalfill"]=9637;e["squarewhitewithsmallblack"]=9635;e["srsquare"]=13275;e["ssabengali"]=2487;e["ssadeva"]=2359;e["ssagujarati"]=2743;e["ssangcieuckorean"]=12617;e["ssanghieuhkorean"]=12677;e["ssangieungkorean"]=12672;e["ssangkiyeokkorean"]=12594;e["ssangnieunkorean"]=12645;e["ssangpieupkorean"]=12611;e["ssangsioskorean"]=12614;e["ssangtikeutkorean"]=12600;e["ssuperior"]=63218;e["sterling"]=163;e["sterlingmonospace"]=65505;e["strokelongoverlaycmb"]=822;e["strokeshortoverlaycmb"]=821;e["subset"]=8834;e["subsetnotequal"]=8842;e["subsetorequal"]=8838;e["succeeds"]=8827;e["suchthat"]=8715;e["suhiragana"]=12377;e["sukatakana"]=12473;e["sukatakanahalfwidth"]=65405;e["sukunarabic"]=1618;e["summation"]=8721;e["sun"]=9788;e["superset"]=8835;e["supersetnotequal"]=8843;e["supersetorequal"]=8839;e["svsquare"]=13276;e["syouwaerasquare"]=13180;e["t"]=116;e["tabengali"]=2468;e["tackdown"]=8868;e["tackleft"]=8867;e["tadeva"]=2340;e["tagujarati"]=2724;e["tagurmukhi"]=2596;e["taharabic"]=1591;e["tahfinalarabic"]=65218;e["tahinitialarabic"]=65219;e["tahiragana"]=12383;e["tahmedialarabic"]=65220;e["taisyouerasquare"]=13181;e["takatakana"]=12479;e["takatakanahalfwidth"]=65408;e["tatweelarabic"]=1600;e["tau"]=964;e["tav"]=1514;e["tavdages"]=64330;e["tavdagesh"]=64330;e["tavdageshhebrew"]=64330;e["tavhebrew"]=1514;e["tbar"]=359;e["tbopomofo"]=12554;e["tcaron"]=357;e["tccurl"]=680;e["tcedilla"]=355;e["tcheharabic"]=1670;e["tchehfinalarabic"]=64379;e["tchehinitialarabic"]=64380;e["tchehmedialarabic"]=64381;e["tcircle"]=9443;e["tcircumflexbelow"]=7793;e["tcommaaccent"]=355;e["tdieresis"]=7831;e["tdotaccent"]=7787;e["tdotbelow"]=7789;e["tecyrillic"]=1090;e["tedescendercyrillic"]=1197;e["teharabic"]=1578;e["tehfinalarabic"]=65174;e["tehhahinitialarabic"]=64674;e["tehhahisolatedarabic"]=64524;e["tehinitialarabic"]=65175;e["tehiragana"]=12390;e["tehjeeminitialarabic"]=64673;e["tehjeemisolatedarabic"]=64523;e["tehmarbutaarabic"]=1577;e["tehmarbutafinalarabic"]=65172;e["tehmedialarabic"]=65176;e["tehmeeminitialarabic"]=64676;e["tehmeemisolatedarabic"]=64526;e["tehnoonfinalarabic"]=64627;e["tekatakana"]=12486;e["tekatakanahalfwidth"]=65411;e["telephone"]=8481;e["telephoneblack"]=9742;e["telishagedolahebrew"]=1440;e["telishaqetanahebrew"]=1449;e["tencircle"]=9321;e["tenideographicparen"]=12841;e["tenparen"]=9341;e["tenperiod"]=9361;e["tenroman"]=8569;e["tesh"]=679;e["tet"]=1496;e["tetdagesh"]=64312;e["tetdageshhebrew"]=64312;e["tethebrew"]=1496;e["tetsecyrillic"]=1205;e["tevirhebrew"]=1435;e["tevirlefthebrew"]=1435;e["thabengali"]=2469;e["thadeva"]=2341;e["thagujarati"]=2725;e["thagurmukhi"]=2597;e["thalarabic"]=1584;e["thalfinalarabic"]=65196;e["thanthakhatlowleftthai"]=63640;e["thanthakhatlowrightthai"]=63639;e["thanthakhatthai"]=3660;e["thanthakhatupperleftthai"]=63638;e["theharabic"]=1579;e["thehfinalarabic"]=65178;e["thehinitialarabic"]=65179;e["thehmedialarabic"]=65180;e["thereexists"]=8707;e["therefore"]=8756;e["theta"]=952;e["theta1"]=977;e["thetasymbolgreek"]=977;e["thieuthacirclekorean"]=12921;e["thieuthaparenkorean"]=12825;e["thieuthcirclekorean"]=12907;e["thieuthkorean"]=12620;e["thieuthparenkorean"]=12811;e["thirteencircle"]=9324;e["thirteenparen"]=9344;e["thirteenperiod"]=9364;e["thonangmonthothai"]=3601;e["thook"]=429;e["thophuthaothai"]=3602;e["thorn"]=254;e["thothahanthai"]=3607;e["thothanthai"]=3600;e["thothongthai"]=3608;e["thothungthai"]=3606;e["thousandcyrillic"]=1154;e["thousandsseparatorarabic"]=1644;e["thousandsseparatorpersian"]=1644;e["three"]=51;e["threearabic"]=1635;e["threebengali"]=2537;e["threecircle"]=9314;e["threecircleinversesansserif"]=10124;e["threedeva"]=2409;e["threeeighths"]=8540;e["threegujarati"]=2793;e["threegurmukhi"]=2665;e["threehackarabic"]=1635;e["threehangzhou"]=12323;e["threeideographicparen"]=12834;e["threeinferior"]=8323;e["threemonospace"]=65299;e["threenumeratorbengali"]=2550;e["threeoldstyle"]=63283;e["threeparen"]=9334;e["threeperiod"]=9354;e["threepersian"]=1779;e["threequarters"]=190;e["threequartersemdash"]=63198;e["threeroman"]=8562;e["threesuperior"]=179;e["threethai"]=3667;e["thzsquare"]=13204;e["tihiragana"]=12385;e["tikatakana"]=12481;e["tikatakanahalfwidth"]=65409;e["tikeutacirclekorean"]=12912;e["tikeutaparenkorean"]=12816;e["tikeutcirclekorean"]=12898;e["tikeutkorean"]=12599;e["tikeutparenkorean"]=12802;e["tilde"]=732;e["tildebelowcmb"]=816;e["tildecmb"]=771;e["tildecomb"]=771;e["tildedoublecmb"]=864;e["tildeoperator"]=8764;e["tildeoverlaycmb"]=820;e["tildeverticalcmb"]=830;e["timescircle"]=8855;e["tipehahebrew"]=1430;e["tipehalefthebrew"]=1430;e["tippigurmukhi"]=2672;e["titlocyrilliccmb"]=1155;e["tiwnarmenian"]=1407;e["tlinebelow"]=7791;e["tmonospace"]=65364;e["toarmenian"]=1385;e["tohiragana"]=12392;e["tokatakana"]=12488;e["tokatakanahalfwidth"]=65412;e["tonebarextrahighmod"]=741;e["tonebarextralowmod"]=745;e["tonebarhighmod"]=742;e["tonebarlowmod"]=744;e["tonebarmidmod"]=743;e["tonefive"]=445;e["tonesix"]=389;e["tonetwo"]=424;e["tonos"]=900;e["tonsquare"]=13095;e["topatakthai"]=3599;e["tortoiseshellbracketleft"]=12308;e["tortoiseshellbracketleftsmall"]=65117;e["tortoiseshellbracketleftvertical"]=65081;e["tortoiseshellbracketright"]=12309;e["tortoiseshellbracketrightsmall"]=65118;e["tortoiseshellbracketrightvertical"]=65082;e["totaothai"]=3605;e["tpalatalhook"]=427;e["tparen"]=9391;e["trademark"]=8482;e["trademarksans"]=63722;e["trademarkserif"]=63195;e["tretroflexhook"]=648;e["triagdn"]=9660;e["triaglf"]=9668;e["triagrt"]=9658;e["triagup"]=9650;e["ts"]=678;e["tsadi"]=1510;e["tsadidagesh"]=64326;e["tsadidageshhebrew"]=64326;e["tsadihebrew"]=1510;e["tsecyrillic"]=1094;e["tsere"]=1461;e["tsere12"]=1461;e["tsere1e"]=1461;e["tsere2b"]=1461;e["tserehebrew"]=1461;e["tserenarrowhebrew"]=1461;e["tserequarterhebrew"]=1461;e["tserewidehebrew"]=1461;e["tshecyrillic"]=1115;e["tsuperior"]=63219;e["ttabengali"]=2463;e["ttadeva"]=2335;e["ttagujarati"]=2719;e["ttagurmukhi"]=2591;e["tteharabic"]=1657;e["ttehfinalarabic"]=64359;e["ttehinitialarabic"]=64360;e["ttehmedialarabic"]=64361;e["tthabengali"]=2464;e["tthadeva"]=2336;e["tthagujarati"]=2720;e["tthagurmukhi"]=2592;e["tturned"]=647;e["tuhiragana"]=12388;e["tukatakana"]=12484;e["tukatakanahalfwidth"]=65410;e["tusmallhiragana"]=12387;e["tusmallkatakana"]=12483;e["tusmallkatakanahalfwidth"]=65391;e["twelvecircle"]=9323;e["twelveparen"]=9343;e["twelveperiod"]=9363;e["twelveroman"]=8571;e["twentycircle"]=9331;e["twentyhangzhou"]=21316;e["twentyparen"]=9351;e["twentyperiod"]=9371;e["two"]=50;e["twoarabic"]=1634;e["twobengali"]=2536;e["twocircle"]=9313;e["twocircleinversesansserif"]=10123;e["twodeva"]=2408;e["twodotenleader"]=8229;e["twodotleader"]=8229;e["twodotleadervertical"]=65072;e["twogujarati"]=2792;e["twogurmukhi"]=2664;e["twohackarabic"]=1634;e["twohangzhou"]=12322;e["twoideographicparen"]=12833;e["twoinferior"]=8322;e["twomonospace"]=65298;e["twonumeratorbengali"]=2549;e["twooldstyle"]=63282;e["twoparen"]=9333;e["twoperiod"]=9353;e["twopersian"]=1778;e["tworoman"]=8561;e["twostroke"]=443;e["twosuperior"]=178;e["twothai"]=3666;e["twothirds"]=8532;e["u"]=117;e["uacute"]=250;e["ubar"]=649;e["ubengali"]=2441;e["ubopomofo"]=12584;e["ubreve"]=365;e["ucaron"]=468;e["ucircle"]=9444;e["ucircumflex"]=251;e["ucircumflexbelow"]=7799;e["ucyrillic"]=1091;e["udattadeva"]=2385;e["udblacute"]=369;e["udblgrave"]=533;e["udeva"]=2313;e["udieresis"]=252;e["udieresisacute"]=472;e["udieresisbelow"]=7795;e["udieresiscaron"]=474;e["udieresiscyrillic"]=1265;e["udieresisgrave"]=476;e["udieresismacron"]=470;e["udotbelow"]=7909;e["ugrave"]=249;e["ugujarati"]=2697;e["ugurmukhi"]=2569;e["uhiragana"]=12358;e["uhookabove"]=7911;e["uhorn"]=432;e["uhornacute"]=7913;e["uhorndotbelow"]=7921;e["uhorngrave"]=7915;e["uhornhookabove"]=7917;e["uhorntilde"]=7919;e["uhungarumlaut"]=369;e["uhungarumlautcyrillic"]=1267;e["uinvertedbreve"]=535;e["ukatakana"]=12454;e["ukatakanahalfwidth"]=65395;e["ukcyrillic"]=1145;e["ukorean"]=12636;e["umacron"]=363;e["umacroncyrillic"]=1263;e["umacrondieresis"]=7803;e["umatragurmukhi"]=2625;e["umonospace"]=65365;e["underscore"]=95;e["underscoredbl"]=8215;e["underscoremonospace"]=65343;e["underscorevertical"]=65075;e["underscorewavy"]=65103;e["union"]=8746;e["universal"]=8704;e["uogonek"]=371;e["uparen"]=9392;e["upblock"]=9600;e["upperdothebrew"]=1476;e["upsilon"]=965;e["upsilondieresis"]=971;e["upsilondieresistonos"]=944;e["upsilonlatin"]=650;e["upsilontonos"]=973;e["uptackbelowcmb"]=797;e["uptackmod"]=724;e["uragurmukhi"]=2675;e["uring"]=367;e["ushortcyrillic"]=1118;e["usmallhiragana"]=12357;e["usmallkatakana"]=12453;e["usmallkatakanahalfwidth"]=65385;e["ustraightcyrillic"]=1199;e["ustraightstrokecyrillic"]=1201;e["utilde"]=361;e["utildeacute"]=7801;e["utildebelow"]=7797;e["uubengali"]=2442;e["uudeva"]=2314;e["uugujarati"]=2698;e["uugurmukhi"]=2570;e["uumatragurmukhi"]=2626;e["uuvowelsignbengali"]=2498;e["uuvowelsigndeva"]=2370;e["uuvowelsigngujarati"]=2754;e["uvowelsignbengali"]=2497;e["uvowelsigndeva"]=2369;e["uvowelsigngujarati"]=2753;e["v"]=118;e["vadeva"]=2357;e["vagujarati"]=2741;e["vagurmukhi"]=2613;e["vakatakana"]=12535;e["vav"]=1493;e["vavdagesh"]=64309;e["vavdagesh65"]=64309;e["vavdageshhebrew"]=64309;e["vavhebrew"]=1493;e["vavholam"]=64331;e["vavholamhebrew"]=64331;e["vavvavhebrew"]=1520;e["vavyodhebrew"]=1521;e["vcircle"]=9445;e["vdotbelow"]=7807;e["vecyrillic"]=1074;e["veharabic"]=1700;e["vehfinalarabic"]=64363;e["vehinitialarabic"]=64364;e["vehmedialarabic"]=64365;e["vekatakana"]=12537;e["venus"]=9792;e["verticalbar"]=124;e["verticallineabovecmb"]=781;e["verticallinebelowcmb"]=809;e["verticallinelowmod"]=716;e["verticallinemod"]=712;e["vewarmenian"]=1406;e["vhook"]=651;e["vikatakana"]=12536;e["viramabengali"]=2509;e["viramadeva"]=2381;e["viramagujarati"]=2765;e["visargabengali"]=2435;e["visargadeva"]=2307;e["visargagujarati"]=2691;e["vmonospace"]=65366;e["voarmenian"]=1400;e["voicediterationhiragana"]=12446;e["voicediterationkatakana"]=12542;e["voicedmarkkana"]=12443;e["voicedmarkkanahalfwidth"]=65438;e["vokatakana"]=12538;e["vparen"]=9393;e["vtilde"]=7805;e["vturned"]=652;e["vuhiragana"]=12436;e["vukatakana"]=12532;e["w"]=119;e["wacute"]=7811;e["waekorean"]=12633;e["wahiragana"]=12431;e["wakatakana"]=12527;e["wakatakanahalfwidth"]=65436;e["wakorean"]=12632;e["wasmallhiragana"]=12430;e["wasmallkatakana"]=12526;e["wattosquare"]=13143;e["wavedash"]=12316;e["wavyunderscorevertical"]=65076;e["wawarabic"]=1608;e["wawfinalarabic"]=65262;e["wawhamzaabovearabic"]=1572;e["wawhamzaabovefinalarabic"]=65158;e["wbsquare"]=13277;e["wcircle"]=9446;e["wcircumflex"]=373;e["wdieresis"]=7813;e["wdotaccent"]=7815;e["wdotbelow"]=7817;e["wehiragana"]=12433;e["weierstrass"]=8472;e["wekatakana"]=12529;e["wekorean"]=12638;e["weokorean"]=12637;e["wgrave"]=7809;e["whitebullet"]=9702;e["whitecircle"]=9675;e["whitecircleinverse"]=9689;e["whitecornerbracketleft"]=12302;e["whitecornerbracketleftvertical"]=65091;e["whitecornerbracketright"]=12303;e["whitecornerbracketrightvertical"]=65092;e["whitediamond"]=9671;e["whitediamondcontainingblacksmalldiamond"]=9672;e["whitedownpointingsmalltriangle"]=9663;e["whitedownpointingtriangle"]=9661;e["whiteleftpointingsmalltriangle"]=9667;e["whiteleftpointingtriangle"]=9665;e["whitelenticularbracketleft"]=12310;e["whitelenticularbracketright"]=12311;e["whiterightpointingsmalltriangle"]=9657;e["whiterightpointingtriangle"]=9655;e["whitesmallsquare"]=9643;e["whitesmilingface"]=9786;e["whitesquare"]=9633;e["whitestar"]=9734;e["whitetelephone"]=9743;e["whitetortoiseshellbracketleft"]=12312;e["whitetortoiseshellbracketright"]=12313;e["whiteuppointingsmalltriangle"]=9653;e["whiteuppointingtriangle"]=9651;e["wihiragana"]=12432;e["wikatakana"]=12528;e["wikorean"]=12639;e["wmonospace"]=65367;e["wohiragana"]=12434;e["wokatakana"]=12530;e["wokatakanahalfwidth"]=65382;e["won"]=8361;e["wonmonospace"]=65510;e["wowaenthai"]=3623;e["wparen"]=9394;e["wring"]=7832;e["wsuperior"]=695;e["wturned"]=653;e["wynn"]=447;e["x"]=120;e["xabovecmb"]=829;e["xbopomofo"]=12562;e["xcircle"]=9447;e["xdieresis"]=7821;e["xdotaccent"]=7819;e["xeharmenian"]=1389;e["xi"]=958;e["xmonospace"]=65368;e["xparen"]=9395;e["xsuperior"]=739;e["y"]=121;e["yaadosquare"]=13134;e["yabengali"]=2479;e["yacute"]=253;e["yadeva"]=2351;e["yaekorean"]=12626;e["yagujarati"]=2735;e["yagurmukhi"]=2607;e["yahiragana"]=12420;e["yakatakana"]=12516;e["yakatakanahalfwidth"]=65428;e["yakorean"]=12625;e["yamakkanthai"]=3662;e["yasmallhiragana"]=12419;e["yasmallkatakana"]=12515;e["yasmallkatakanahalfwidth"]=65388;e["yatcyrillic"]=1123;e["ycircle"]=9448;e["ycircumflex"]=375;e["ydieresis"]=255;e["ydotaccent"]=7823;e["ydotbelow"]=7925;e["yeharabic"]=1610;e["yehbarreearabic"]=1746;e["yehbarreefinalarabic"]=64431;e["yehfinalarabic"]=65266;e["yehhamzaabovearabic"]=1574;e["yehhamzaabovefinalarabic"]=65162;e["yehhamzaaboveinitialarabic"]=65163;e["yehhamzaabovemedialarabic"]=65164;e["yehinitialarabic"]=65267;e["yehmedialarabic"]=65268;e["yehmeeminitialarabic"]=64733;e["yehmeemisolatedarabic"]=64600;e["yehnoonfinalarabic"]=64660;e["yehthreedotsbelowarabic"]=1745;e["yekorean"]=12630;e["yen"]=165;e["yenmonospace"]=65509;e["yeokorean"]=12629;e["yeorinhieuhkorean"]=12678;e["yerahbenyomohebrew"]=1450;e["yerahbenyomolefthebrew"]=1450;e["yericyrillic"]=1099;e["yerudieresiscyrillic"]=1273;e["yesieungkorean"]=12673;e["yesieungpansioskorean"]=12675;e["yesieungsioskorean"]=12674;e["yetivhebrew"]=1434;e["ygrave"]=7923;e["yhook"]=436;e["yhookabove"]=7927;e["yiarmenian"]=1397;e["yicyrillic"]=1111;e["yikorean"]=12642;e["yinyang"]=9775;e["yiwnarmenian"]=1410;e["ymonospace"]=65369;e["yod"]=1497;e["yoddagesh"]=64313;e["yoddageshhebrew"]=64313;e["yodhebrew"]=1497;e["yodyodhebrew"]=1522;e["yodyodpatahhebrew"]=64287;e["yohiragana"]=12424;e["yoikorean"]=12681;e["yokatakana"]=12520;e["yokatakanahalfwidth"]=65430;e["yokorean"]=12635;e["yosmallhiragana"]=12423;e["yosmallkatakana"]=12519;e["yosmallkatakanahalfwidth"]=65390;e["yotgreek"]=1011;e["yoyaekorean"]=12680;e["yoyakorean"]=12679;e["yoyakthai"]=3618;e["yoyingthai"]=3597;e["yparen"]=9396;e["ypogegrammeni"]=890;e["ypogegrammenigreekcmb"]=837;e["yr"]=422;e["yring"]=7833;e["ysuperior"]=696;e["ytilde"]=7929;e["yturned"]=654;e["yuhiragana"]=12422;e["yuikorean"]=12684;e["yukatakana"]=12518;e["yukatakanahalfwidth"]=65429;e["yukorean"]=12640;e["yusbigcyrillic"]=1131;e["yusbigiotifiedcyrillic"]=1133;e["yuslittlecyrillic"]=1127;e["yuslittleiotifiedcyrillic"]=1129;e["yusmallhiragana"]=12421;e["yusmallkatakana"]=12517;e["yusmallkatakanahalfwidth"]=65389;e["yuyekorean"]=12683;e["yuyeokorean"]=12682;e["yyabengali"]=2527;e["yyadeva"]=2399;e["z"]=122;e["zaarmenian"]=1382;e["zacute"]=378;e["zadeva"]=2395;e["zagurmukhi"]=2651;e["zaharabic"]=1592;e["zahfinalarabic"]=65222;e["zahinitialarabic"]=65223;e["zahiragana"]=12374;e["zahmedialarabic"]=65224;e["zainarabic"]=1586;e["zainfinalarabic"]=65200;e["zakatakana"]=12470;e["zaqefgadolhebrew"]=1429;e["zaqefqatanhebrew"]=1428;e["zarqahebrew"]=1432;e["zayin"]=1494;e["zayindagesh"]=64310;e["zayindageshhebrew"]=64310;e["zayinhebrew"]=1494;e["zbopomofo"]=12567;e["zcaron"]=382;e["zcircle"]=9449;e["zcircumflex"]=7825;e["zcurl"]=657;e["zdot"]=380;e["zdotaccent"]=380;e["zdotbelow"]=7827;e["zecyrillic"]=1079;e["zedescendercyrillic"]=1177;e["zedieresiscyrillic"]=1247;e["zehiragana"]=12380;e["zekatakana"]=12476;e["zero"]=48;e["zeroarabic"]=1632;e["zerobengali"]=2534;e["zerodeva"]=2406;e["zerogujarati"]=2790;e["zerogurmukhi"]=2662;e["zerohackarabic"]=1632;e["zeroinferior"]=8320;e["zeromonospace"]=65296;e["zerooldstyle"]=63280;e["zeropersian"]=1776;e["zerosuperior"]=8304;e["zerothai"]=3664;e["zerowidthjoiner"]=65279;e["zerowidthnonjoiner"]=8204;e["zerowidthspace"]=8203;e["zeta"]=950;e["zhbopomofo"]=12563;e["zhearmenian"]=1386;e["zhebrevecyrillic"]=1218;e["zhecyrillic"]=1078;e["zhedescendercyrillic"]=1175;e["zhedieresiscyrillic"]=1245;e["zihiragana"]=12376;e["zikatakana"]=12472;e["zinorhebrew"]=1454;e["zlinebelow"]=7829;e["zmonospace"]=65370;e["zohiragana"]=12382;e["zokatakana"]=12478;e["zparen"]=9397;e["zretroflexhook"]=656;e["zstroke"]=438;e["zuhiragana"]=12378;e["zukatakana"]=12474;e[".notdef"]=0;e["angbracketleftbig"]=9001;e["angbracketleftBig"]=9001;e["angbracketleftbigg"]=9001;e["angbracketleftBigg"]=9001;e["angbracketrightBig"]=9002;e["angbracketrightbig"]=9002;e["angbracketrightBigg"]=9002;e["angbracketrightbigg"]=9002;e["arrowhookleft"]=8618;e["arrowhookright"]=8617;e["arrowlefttophalf"]=8636;e["arrowleftbothalf"]=8637;e["arrownortheast"]=8599;e["arrownorthwest"]=8598;e["arrowrighttophalf"]=8640;e["arrowrightbothalf"]=8641;e["arrowsoutheast"]=8600;e["arrowsouthwest"]=8601;e["backslashbig"]=8726;e["backslashBig"]=8726;e["backslashBigg"]=8726;e["backslashbigg"]=8726;e["bardbl"]=8214;e["bracehtipdownleft"]=65079;e["bracehtipdownright"]=65079;e["bracehtipupleft"]=65080;e["bracehtipupright"]=65080;e["braceleftBig"]=123;e["braceleftbig"]=123;e["braceleftbigg"]=123;e["braceleftBigg"]=123;e["bracerightBig"]=125;e["bracerightbig"]=125;e["bracerightbigg"]=125;e["bracerightBigg"]=125;e["bracketleftbig"]=91;e["bracketleftBig"]=91;e["bracketleftbigg"]=91;e["bracketleftBigg"]=91;e["bracketrightBig"]=93;e["bracketrightbig"]=93;e["bracketrightbigg"]=93;e["bracketrightBigg"]=93;e["ceilingleftbig"]=8968;e["ceilingleftBig"]=8968;e["ceilingleftBigg"]=8968;e["ceilingleftbigg"]=8968;e["ceilingrightbig"]=8969;e["ceilingrightBig"]=8969;e["ceilingrightbigg"]=8969;e["ceilingrightBigg"]=8969;e["circledotdisplay"]=8857;e["circledottext"]=8857;e["circlemultiplydisplay"]=8855;e["circlemultiplytext"]=8855;e["circleplusdisplay"]=8853;e["circleplustext"]=8853;e["contintegraldisplay"]=8750;e["contintegraltext"]=8750;e["coproductdisplay"]=8720;e["coproducttext"]=8720;e["floorleftBig"]=8970;e["floorleftbig"]=8970;e["floorleftbigg"]=8970;e["floorleftBigg"]=8970;e["floorrightbig"]=8971;e["floorrightBig"]=8971;e["floorrightBigg"]=8971;e["floorrightbigg"]=8971;e["hatwide"]=770;e["hatwider"]=770;e["hatwidest"]=770;e["intercal"]=7488;e["integraldisplay"]=8747;e["integraltext"]=8747;e["intersectiondisplay"]=8898;e["intersectiontext"]=8898;e["logicalanddisplay"]=8743;e["logicalandtext"]=8743;e["logicalordisplay"]=8744;e["logicalortext"]=8744;e["parenleftBig"]=40;e["parenleftbig"]=40;e["parenleftBigg"]=40;e["parenleftbigg"]=40;e["parenrightBig"]=41;e["parenrightbig"]=41;e["parenrightBigg"]=41;e["parenrightbigg"]=41;e["prime"]=8242;e["productdisplay"]=8719;e["producttext"]=8719;e["radicalbig"]=8730;e["radicalBig"]=8730;e["radicalBigg"]=8730;e["radicalbigg"]=8730;e["radicalbt"]=8730;e["radicaltp"]=8730;e["radicalvertex"]=8730;e["slashbig"]=47;e["slashBig"]=47;e["slashBigg"]=47;e["slashbigg"]=47;e["summationdisplay"]=8721;e["summationtext"]=8721;e["tildewide"]=732;e["tildewider"]=732;e["tildewidest"]=732;e["uniondisplay"]=8899;e["unionmultidisplay"]=8846;e["unionmultitext"]=8846;e["unionsqdisplay"]=8852;e["unionsqtext"]=8852;e["uniontext"]=8899;e["vextenddouble"]=8741;e["vextendsingle"]=8739});var n=a(function(e){e["space"]=32;e["a1"]=9985;e["a2"]=9986;e["a202"]=9987;e["a3"]=9988;e["a4"]=9742;e["a5"]=9990;e["a119"]=9991;e["a118"]=9992;e["a117"]=9993;e["a11"]=9755;e["a12"]=9758;e["a13"]=9996;e["a14"]=9997;e["a15"]=9998;e["a16"]=9999;e["a105"]=1e4;e["a17"]=10001;e["a18"]=10002;e["a19"]=10003;e["a20"]=10004;e["a21"]=10005;e["a22"]=10006;e["a23"]=10007;e["a24"]=10008;e["a25"]=10009;e["a26"]=10010;e["a27"]=10011;e["a28"]=10012;e["a6"]=10013;e["a7"]=10014;e["a8"]=10015;e["a9"]=10016;e["a10"]=10017;e["a29"]=10018;e["a30"]=10019;e["a31"]=10020;e["a32"]=10021;e["a33"]=10022;e["a34"]=10023;e["a35"]=9733;e["a36"]=10025;e["a37"]=10026;e["a38"]=10027;e["a39"]=10028;e["a40"]=10029;e["a41"]=10030;e["a42"]=10031;e["a43"]=10032;e["a44"]=10033;e["a45"]=10034;e["a46"]=10035;e["a47"]=10036;e["a48"]=10037;e["a49"]=10038;e["a50"]=10039;e["a51"]=10040;e["a52"]=10041;e["a53"]=10042;e["a54"]=10043;e["a55"]=10044;e["a56"]=10045;e["a57"]=10046;e["a58"]=10047;e["a59"]=10048;e["a60"]=10049;e["a61"]=10050;e["a62"]=10051;e["a63"]=10052;e["a64"]=10053;e["a65"]=10054;e["a66"]=10055;e["a67"]=10056;e["a68"]=10057;e["a69"]=10058;e["a70"]=10059;e["a71"]=9679;e["a72"]=10061;e["a73"]=9632;e["a74"]=10063;e["a203"]=10064;e["a75"]=10065;e["a204"]=10066;e["a76"]=9650;e["a77"]=9660;e["a78"]=9670;e["a79"]=10070;e["a81"]=9687;e["a82"]=10072;e["a83"]=10073;e["a84"]=10074;e["a97"]=10075;e["a98"]=10076;e["a99"]=10077;e["a100"]=10078;e["a101"]=10081;e["a102"]=10082;e["a103"]=10083;e["a104"]=10084;e["a106"]=10085;e["a107"]=10086;e["a108"]=10087;e["a112"]=9827;e["a111"]=9830;e["a110"]=9829;e["a109"]=9824;e["a120"]=9312;e["a121"]=9313;e["a122"]=9314;e["a123"]=9315;e["a124"]=9316;e["a125"]=9317;e["a126"]=9318;e["a127"]=9319;e["a128"]=9320;e["a129"]=9321;e["a130"]=10102;e["a131"]=10103;e["a132"]=10104;e["a133"]=10105;e["a134"]=10106;e["a135"]=10107;e["a136"]=10108;e["a137"]=10109;e["a138"]=10110;e["a139"]=10111;e["a140"]=10112;e["a141"]=10113;e["a142"]=10114;e["a143"]=10115;e["a144"]=10116;e["a145"]=10117;e["a146"]=10118;e["a147"]=10119;e["a148"]=10120;e["a149"]=10121;e["a150"]=10122;e["a151"]=10123;e["a152"]=10124;e["a153"]=10125;e["a154"]=10126;e["a155"]=10127;e["a156"]=10128;e["a157"]=10129;e["a158"]=10130;e["a159"]=10131;e["a160"]=10132;e["a161"]=8594;e["a163"]=8596;e["a164"]=8597;e["a196"]=10136;e["a165"]=10137;e["a192"]=10138;e["a166"]=10139;e["a167"]=10140;e["a168"]=10141;e["a169"]=10142;e["a170"]=10143;e["a171"]=10144;e["a172"]=10145;e["a173"]=10146;e["a162"]=10147;e["a174"]=10148;e["a175"]=10149;e["a176"]=10150;e["a177"]=10151;e["a178"]=10152;e["a179"]=10153;e["a193"]=10154;e["a180"]=10155;e["a199"]=10156;e["a181"]=10157;e["a200"]=10158;e["a182"]=10159;e["a201"]=10161;e["a183"]=10162;e["a184"]=10163;e["a197"]=10164;e["a185"]=10165;e["a194"]=10166;e["a198"]=10167;e["a186"]=10168;e["a195"]=10169;e["a187"]=10170;e["a188"]=10171;e["a189"]=10172;e["a190"]=10173;e["a191"]=10174;e["a89"]=10088;e["a90"]=10089;e["a93"]=10090;e["a94"]=10091;e["a91"]=10092;e["a92"]=10093;e["a205"]=10094;e["a85"]=10095;e["a206"]=10096;e["a86"]=10097;e["a87"]=10098;e["a88"]=10099;e["a95"]=10100;e["a96"]=10101;e[".notdef"]=0});r.getGlyphsUnicode=i;r.getDingbatsGlyphsUnicode=n},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:true});r.getSupplementalGlyphMapForCalibri=r.getSupplementalGlyphMapForArialBlack=r.getGlyphMapForStandardFonts=r.getSymbolsFonts=r.getSerifFonts=r.getNonStdFontMap=r.getStdFontMap=undefined;var a=t(2);var i=(0,a.getLookupTableFactory)(function(e){e["ArialNarrow"]="Helvetica";e["ArialNarrow-Bold"]="Helvetica-Bold";e["ArialNarrow-BoldItalic"]="Helvetica-BoldOblique";e["ArialNarrow-Italic"]="Helvetica-Oblique";e["ArialBlack"]="Helvetica";e["ArialBlack-Bold"]="Helvetica-Bold";e["ArialBlack-BoldItalic"]="Helvetica-BoldOblique";e["ArialBlack-Italic"]="Helvetica-Oblique";e["Arial-Black"]="Helvetica";e["Arial-Black-Bold"]="Helvetica-Bold";e["Arial-Black-BoldItalic"]="Helvetica-BoldOblique";e["Arial-Black-Italic"]="Helvetica-Oblique";e["Arial"]="Helvetica";e["Arial-Bold"]="Helvetica-Bold";e["Arial-BoldItalic"]="Helvetica-BoldOblique";e["Arial-Italic"]="Helvetica-Oblique";e["Arial-BoldItalicMT"]="Helvetica-BoldOblique";e["Arial-BoldMT"]="Helvetica-Bold";e["Arial-ItalicMT"]="Helvetica-Oblique";e["ArialMT"]="Helvetica";e["Courier-Bold"]="Courier-Bold";e["Courier-BoldItalic"]="Courier-BoldOblique";e["Courier-Italic"]="Courier-Oblique";e["CourierNew"]="Courier";e["CourierNew-Bold"]="Courier-Bold";e["CourierNew-BoldItalic"]="Courier-BoldOblique";e["CourierNew-Italic"]="Courier-Oblique";e["CourierNewPS-BoldItalicMT"]="Courier-BoldOblique";e["CourierNewPS-BoldMT"]="Courier-Bold";e["CourierNewPS-ItalicMT"]="Courier-Oblique";e["CourierNewPSMT"]="Courier";e["Helvetica"]="Helvetica";e["Helvetica-Bold"]="Helvetica-Bold";e["Helvetica-BoldItalic"]="Helvetica-BoldOblique";e["Helvetica-BoldOblique"]="Helvetica-BoldOblique";e["Helvetica-Italic"]="Helvetica-Oblique";e["Helvetica-Oblique"]="Helvetica-Oblique";e["SegoeUISymbol"]="Helvetica";e["Symbol-Bold"]="Symbol";e["Symbol-BoldItalic"]="Symbol";e["Symbol-Italic"]="Symbol";e["TimesNewRoman"]="Times-Roman";e["TimesNewRoman-Bold"]="Times-Bold";e["TimesNewRoman-BoldItalic"]="Times-BoldItalic";e["TimesNewRoman-Italic"]="Times-Italic";e["TimesNewRomanPS"]="Times-Roman";e["TimesNewRomanPS-Bold"]="Times-Bold";e["TimesNewRomanPS-BoldItalic"]="Times-BoldItalic";e["TimesNewRomanPS-BoldItalicMT"]="Times-BoldItalic";e["TimesNewRomanPS-BoldMT"]="Times-Bold";e["TimesNewRomanPS-Italic"]="Times-Italic";e["TimesNewRomanPS-ItalicMT"]="Times-Italic";e["TimesNewRomanPSMT"]="Times-Roman";e["TimesNewRomanPSMT-Bold"]="Times-Bold";e["TimesNewRomanPSMT-BoldItalic"]="Times-BoldItalic";e["TimesNewRomanPSMT-Italic"]="Times-Italic"});var n=(0,a.getLookupTableFactory)(function(e){e["Calibri"]="Helvetica";e["Calibri-Bold"]="Helvetica-Bold";e["Calibri-BoldItalic"]="Helvetica-BoldOblique";e["Calibri-Italic"]="Helvetica-Oblique";e["CenturyGothic"]="Helvetica";e["CenturyGothic-Bold"]="Helvetica-Bold";e["CenturyGothic-BoldItalic"]="Helvetica-BoldOblique";e["CenturyGothic-Italic"]="Helvetica-Oblique";e["ComicSansMS"]="Comic Sans MS";e["ComicSansMS-Bold"]="Comic Sans MS-Bold";e["ComicSansMS-BoldItalic"]="Comic Sans MS-BoldItalic";e["ComicSansMS-Italic"]="Comic Sans MS-Italic";e["LucidaConsole"]="Courier";e["LucidaConsole-Bold"]="Courier-Bold";e["LucidaConsole-BoldItalic"]="Courier-BoldOblique";e["LucidaConsole-Italic"]="Courier-Oblique";e["LucidaSans-Demi"]="Helvetica-Bold";e["MS-Gothic"]="MS Gothic";e["MS-Gothic-Bold"]="MS Gothic-Bold";e["MS-Gothic-BoldItalic"]="MS Gothic-BoldItalic";e["MS-Gothic-Italic"]="MS Gothic-Italic";e["MS-Mincho"]="MS Mincho";e["MS-Mincho-Bold"]="MS Mincho-Bold";e["MS-Mincho-BoldItalic"]="MS Mincho-BoldItalic";e["MS-Mincho-Italic"]="MS Mincho-Italic";e["MS-PGothic"]="MS PGothic";e["MS-PGothic-Bold"]="MS PGothic-Bold";e["MS-PGothic-BoldItalic"]="MS PGothic-BoldItalic";e["MS-PGothic-Italic"]="MS PGothic-Italic";e["MS-PMincho"]="MS PMincho";e["MS-PMincho-Bold"]="MS PMincho-Bold";e["MS-PMincho-BoldItalic"]="MS PMincho-BoldItalic";e["MS-PMincho-Italic"]="MS PMincho-Italic";e["NuptialScript"]="Times-Italic";e["Wingdings"]="ZapfDingbats"});var o=(0,a.getLookupTableFactory)(function(e){e["Adobe Jenson"]=true;e["Adobe Text"]=true;e["Albertus"]=true;e["Aldus"]=true;e["Alexandria"]=true;e["Algerian"]=true;e["American Typewriter"]=true;e["Antiqua"]=true;e["Apex"]=true;e["Arno"]=true;e["Aster"]=true;e["Aurora"]=true;e["Baskerville"]=true;e["Bell"]=true;e["Bembo"]=true;e["Bembo Schoolbook"]=true;e["Benguiat"]=true;e["Berkeley Old Style"]=true;e["Bernhard Modern"]=true;e["Berthold City"]=true;e["Bodoni"]=true;e["Bauer Bodoni"]=true;e["Book Antiqua"]=true;e["Bookman"]=true;e["Bordeaux Roman"]=true;e["Californian FB"]=true;e["Calisto"]=true;e["Calvert"]=true;e["Capitals"]=true;e["Cambria"]=true;e["Cartier"]=true;e["Caslon"]=true;e["Catull"]=true;e["Centaur"]=true;e["Century Old Style"]=true;e["Century Schoolbook"]=true;e["Chaparral"]=true;e["Charis SIL"]=true;e["Cheltenham"]=true;e["Cholla Slab"]=true;e["Clarendon"]=true;e["Clearface"]=true;e["Cochin"]=true;e["Colonna"]=true;e["Computer Modern"]=true;e["Concrete Roman"]=true;e["Constantia"]=true;e["Cooper Black"]=true;e["Corona"]=true;e["Ecotype"]=true;e["Egyptienne"]=true;e["Elephant"]=true;e["Excelsior"]=true;e["Fairfield"]=true;e["FF Scala"]=true;e["Folkard"]=true;e["Footlight"]=true;e["FreeSerif"]=true;e["Friz Quadrata"]=true;e["Garamond"]=true;e["Gentium"]=true;e["Georgia"]=true;e["Gloucester"]=true;e["Goudy Old Style"]=true;e["Goudy Schoolbook"]=true;e["Goudy Pro Font"]=true;e["Granjon"]=true;e["Guardian Egyptian"]=true;e["Heather"]=true;e["Hercules"]=true;e["High Tower Text"]=true;e["Hiroshige"]=true;e["Hoefler Text"]=true;e["Humana Serif"]=true;e["Imprint"]=true;e["Ionic No. 5"]=true;e["Janson"]=true;e["Joanna"]=true;e["Korinna"]=true;e["Lexicon"]=true;e["Liberation Serif"]=true;e["Linux Libertine"]=true;e["Literaturnaya"]=true;e["Lucida"]=true;e["Lucida Bright"]=true;e["Melior"]=true;e["Memphis"]=true;e["Miller"]=true;e["Minion"]=true;e["Modern"]=true;e["Mona Lisa"]=true;e["Mrs Eaves"]=true;e["MS Serif"]=true;e["Museo Slab"]=true;e["New York"]=true;e["Nimbus Roman"]=true;e["NPS Rawlinson Roadway"]=true;e["NuptialScript"]=true;e["Palatino"]=true;e["Perpetua"]=true;e["Plantin"]=true;e["Plantin Schoolbook"]=true;e["Playbill"]=true;e["Poor Richard"]=true;e["Rawlinson Roadway"]=true;e["Renault"]=true;e["Requiem"]=true;e["Rockwell"]=true;e["Roman"]=true;e["Rotis Serif"]=true;e["Sabon"]=true;e["Scala"]=true;e["Seagull"]=true;e["Sistina"]=true;e["Souvenir"]=true;e["STIX"]=true;e["Stone Informal"]=true;e["Stone Serif"]=true;e["Sylfaen"]=true;e["Times"]=true;e["Trajan"]=true;e["Trinité"]=true;e["Trump Mediaeval"]=true;e["Utopia"]=true;e["Vale Type"]=true;e["Bitstream Vera"]=true;e["Vera Serif"]=true;e["Versailles"]=true;e["Wanted"]=true;e["Weiss"]=true;e["Wide Latin"]=true;e["Windsor"]=true;e["XITS"]=true});var s=(0,a.getLookupTableFactory)(function(e){e["Dingbats"]=true;e["Symbol"]=true;e["ZapfDingbats"]=true});var l=(0,a.getLookupTableFactory)(function(e){e[2]=10;e[3]=32;e[4]=33;e[5]=34;e[6]=35;e[7]=36;e[8]=37;e[9]=38;e[10]=39;e[11]=40;e[12]=41;e[13]=42;e[14]=43;e[15]=44;e[16]=45;e[17]=46;e[18]=47;e[19]=48;e[20]=49;e[21]=50;e[22]=51;e[23]=52;e[24]=53;e[25]=54;e[26]=55;e[27]=56;e[28]=57;e[29]=58;e[30]=894;e[31]=60;e[32]=61;e[33]=62;e[34]=63;e[35]=64;e[36]=65;e[37]=66;e[38]=67;e[39]=68;e[40]=69;e[41]=70;e[42]=71;e[43]=72;e[44]=73;e[45]=74;e[46]=75;e[47]=76;e[48]=77;e[49]=78;e[50]=79;e[51]=80;e[52]=81;e[53]=82;e[54]=83;e[55]=84;e[56]=85;e[57]=86;e[58]=87;e[59]=88;e[60]=89;e[61]=90;e[62]=91;e[63]=92;e[64]=93;e[65]=94;e[66]=95;e[67]=96;e[68]=97;e[69]=98;e[70]=99;e[71]=100;e[72]=101;e[73]=102;e[74]=103;e[75]=104;e[76]=105;e[77]=106;e[78]=107;e[79]=108;e[80]=109;e[81]=110;e[82]=111;e[83]=112;e[84]=113;e[85]=114;e[86]=115;e[87]=116;e[88]=117;e[89]=118;e[90]=119;e[91]=120;e[92]=121;e[93]=122;e[94]=123;e[95]=124;e[96]=125;e[97]=126;e[98]=196;e[99]=197;e[100]=199;e[101]=201;e[102]=209;e[103]=214;e[104]=220;e[105]=225;e[106]=224;e[107]=226;e[108]=228;e[109]=227;e[110]=229;e[111]=231;e[112]=233;e[113]=232;e[114]=234;e[115]=235;e[116]=237;e[117]=236;e[118]=238;e[119]=239;e[120]=241;e[121]=243;e[122]=242;e[123]=244;e[124]=246;e[125]=245;e[126]=250;e[127]=249;e[128]=251;e[129]=252;e[130]=8224;e[131]=176;e[132]=162;e[133]=163;e[134]=167;e[135]=8226;e[136]=182;e[137]=223;e[138]=174;e[139]=169;e[140]=8482;e[141]=180;e[142]=168;e[143]=8800;e[144]=198;e[145]=216;e[146]=8734;e[147]=177;e[148]=8804;e[149]=8805;e[150]=165;e[151]=181;e[152]=8706;e[153]=8721;e[154]=8719;e[156]=8747;e[157]=170;e[158]=186;e[159]=8486;e[160]=230;e[161]=248;e[162]=191;e[163]=161;e[164]=172;e[165]=8730;e[166]=402;e[167]=8776;e[168]=8710;e[169]=171;e[170]=187;e[171]=8230;e[210]=218;e[223]=711;e[224]=321;e[225]=322;e[227]=353;e[229]=382;e[234]=253;e[252]=263;e[253]=268;e[254]=269;e[258]=258;e[260]=260;e[261]=261;e[265]=280;e[266]=281;e[268]=283;e[269]=313;e[275]=323;e[276]=324;e[278]=328;e[284]=345;e[285]=346;e[286]=347;e[292]=367;e[295]=377;e[296]=378;e[298]=380;e[305]=963;e[306]=964;e[307]=966;e[308]=8215;e[309]=8252;e[310]=8319;e[311]=8359;e[312]=8592;e[313]=8593;e[337]=9552;e[493]=1039;e[494]=1040;e[705]=1524;e[706]=8362;e[710]=64288;e[711]=64298;e[759]=1617;e[761]=1776;e[763]=1778;e[775]=1652;e[777]=1764;e[778]=1780;e[779]=1781;e[780]=1782;e[782]=771;e[783]=64726;e[786]=8363;e[788]=8532;e[790]=768;e[791]=769;e[792]=768;e[795]=803;e[797]=64336;e[798]=64337;e[799]=64342;e[800]=64343;e[801]=64344;e[802]=64345;e[803]=64362;e[804]=64363;e[805]=64364;e[2424]=7821;e[2425]=7822;e[2426]=7823;e[2427]=7824;e[2428]=7825;e[2429]=7826;e[2430]=7827;e[2433]=7682;e[2678]=8045;e[2679]=8046;e[2830]=1552;e[2838]=686;e[2840]=751;e[2842]=753;e[2843]=754;e[2844]=755;e[2846]=757;e[2856]=767;e[2857]=848;e[2858]=849;e[2862]=853;e[2863]=854;e[2864]=855;e[2865]=861;e[2866]=862;e[2906]=7460;e[2908]=7462;e[2909]=7463;e[2910]=7464;e[2912]=7466;e[2913]=7467;e[2914]=7468;e[2916]=7470;e[2917]=7471;e[2918]=7472;e[2920]=7474;e[2921]=7475;e[2922]=7476;e[2924]=7478;e[2925]=7479;e[2926]=7480;e[2928]=7482;e[2929]=7483;e[2930]=7484;e[2932]=7486;e[2933]=7487;e[2934]=7488;e[2936]=7490;e[2937]=7491;e[2938]=7492;e[2940]=7494;e[2941]=7495;e[2942]=7496;e[2944]=7498;e[2946]=7500;e[2948]=7502;e[2950]=7504;e[2951]=7505;e[2952]=7506;e[2954]=7508;e[2955]=7509;e[2956]=7510;e[2958]=7512;e[2959]=7513;e[2960]=7514;e[2962]=7516;e[2963]=7517;e[2964]=7518;e[2966]=7520;e[2967]=7521;e[2968]=7522;e[2970]=7524;e[2971]=7525;e[2972]=7526;e[2974]=7528;e[2975]=7529;e[2976]=7530;e[2978]=1537;e[2979]=1538;e[2980]=1539;e[2982]=1549;e[2983]=1551;e[2984]=1552;e[2986]=1554;e[2987]=1555;e[2988]=1556;e[2990]=1623;e[2991]=1624;e[2995]=1775;e[2999]=1791;e[3002]=64290;e[3003]=64291;e[3004]=64292;e[3006]=64294;e[3007]=64295;e[3008]=64296;e[3011]=1900;e[3014]=8223;e[3015]=8244;e[3017]=7532;e[3018]=7533;e[3019]=7534;e[3075]=7590;e[3076]=7591;e[3079]=7594;e[3080]=7595;e[3083]=7598;e[3084]=7599;e[3087]=7602;e[3088]=7603;e[3091]=7606;e[3092]=7607;e[3095]=7610;e[3096]=7611;e[3099]=7614;e[3100]=7615;e[3103]=7618;e[3104]=7619;e[3107]=8337;e[3108]=8338;e[3116]=1884;e[3119]=1885;e[3120]=1885;e[3123]=1886;e[3124]=1886;e[3127]=1887;e[3128]=1887;e[3131]=1888;e[3132]=1888;e[3135]=1889;e[3136]=1889;e[3139]=1890;e[3140]=1890;e[3143]=1891;e[3144]=1891;e[3147]=1892;e[3148]=1892;e[3153]=580;e[3154]=581;e[3157]=584;e[3158]=585;e[3161]=588;e[3162]=589;e[3165]=891;e[3166]=892;e[3169]=1274;e[3170]=1275;e[3173]=1278;e[3174]=1279;e[3181]=7622;e[3182]=7623;e[3282]=11799;e[3316]=578;e[3379]=42785;e[3393]=1159;e[3416]=8377});var c=(0,a.getLookupTableFactory)(function(e){e[227]=322;e[264]=261;e[291]=346});var u=(0,a.getLookupTableFactory)(function(e){e[1]=32;e[4]=65;e[17]=66;e[18]=67;e[24]=68;e[28]=69;e[38]=70;e[39]=71;e[44]=72;e[47]=73;e[58]=74;e[60]=75;e[62]=76;e[68]=77;e[69]=78;e[75]=79;e[87]=80;e[89]=81;e[90]=82;e[94]=83;e[100]=84;e[104]=85;e[115]=86;e[116]=87;e[121]=88;e[122]=89;e[127]=90;e[258]=97;e[268]=261;e[271]=98;e[272]=99;e[273]=263;e[282]=100;e[286]=101;e[295]=281;e[296]=102;e[336]=103;e[346]=104;e[349]=105;e[361]=106;e[364]=107;e[367]=108;e[371]=322;e[373]=109;e[374]=110;e[381]=111;e[383]=243;e[393]=112;e[395]=113;e[396]=114;e[400]=115;e[401]=347;e[410]=116;e[437]=117;e[448]=118;e[449]=119;e[454]=120;e[455]=121;e[460]=122;e[463]=380;e[853]=44;e[855]=58;e[856]=46;e[876]=47;e[878]=45;e[882]=45;e[894]=40;e[895]=41;e[896]=91;e[897]=93;e[923]=64;e[1004]=48;e[1005]=49;e[1006]=50;e[1007]=51;e[1008]=52;e[1009]=53;e[1010]=54;e[1011]=55;e[1012]=56;e[1013]=57;e[1081]=37;e[1085]=43;e[1086]=45});r.getStdFontMap=i;r.getNonStdFontMap=n;r.getSerifFonts=o;r.getSymbolsFonts=s;r.getGlyphMapForStandardFonts=l;r.getSupplementalGlyphMapForArialBlack=c;r.getSupplementalGlyphMapForCalibri=u},function(e,r,t){var a=t(2).getLookupTableFactory;var i=a(function(e){e[63721]=169;e[63193]=169;e[63720]=174;e[63194]=174;e[63722]=8482;e[63195]=8482;e[63729]=9127;e[63730]=9128;e[63731]=9129;e[63740]=9131;e[63741]=9132;e[63742]=9133;e[63726]=9121;e[63727]=9122;e[63728]=9123;e[63737]=9124;e[63738]=9125;e[63739]=9126;e[63723]=9115;e[63724]=9116;e[63725]=9117;e[63734]=9118;e[63735]=9119;e[63736]=9120});function n(e){if(e>=65520&&e<=65535){return 0}else if(e>=62976&&e<=63743){return i()[e]||e}else if(e===173){return 45}return e}function o(e,r){var t=r[e];if(t!==undefined){return t}if(!e){return-1}if(e[0]==="u"){var a=e.length,i;if(a===7&&e[1]==="n"&&e[2]==="i"){i=e.substring(3)}else if(a>=5&&a<=7){i=e.substring(1)}else{return-1}if(i===i.toUpperCase()){t=parseInt(i,16);if(t>=0){return t}}}return-1}var s=[{begin:0,end:127},{begin:128,end:255},{begin:256,end:383},{begin:384,end:591},{begin:592,end:687},{begin:688,end:767},{begin:768,end:879},{begin:880,end:1023},{begin:11392,end:11519},{begin:1024,end:1279},{begin:1328,end:1423},{begin:1424,end:1535},{begin:42240,end:42559},{begin:1536,end:1791},{begin:1984,end:2047},{begin:2304,end:2431},{begin:2432,end:2559},{begin:2560,end:2687},{begin:2688,end:2815},{begin:2816,end:2943},{begin:2944,end:3071},{begin:3072,end:3199},{begin:3200,end:3327},{begin:3328,end:3455},{begin:3584,end:3711},{begin:3712,end:3839},{begin:4256,end:4351},{begin:6912,end:7039},{begin:4352,end:4607},{begin:7680,end:7935},{begin:7936,end:8191},{begin:8192,end:8303},{begin:8304,end:8351},{begin:8352,end:8399},{begin:8400,end:8447},{begin:8448,end:8527},{begin:8528,end:8591},{begin:8592,end:8703},{begin:8704,end:8959},{begin:8960,end:9215},{begin:9216,end:9279},{begin:9280,end:9311},{begin:9312,end:9471},{begin:9472,end:9599},{begin:9600,end:9631},{begin:9632,end:9727},{begin:9728,end:9983},{begin:9984,end:10175},{begin:12288,end:12351},{begin:12352,end:12447},{begin:12448,end:12543},{begin:12544,end:12591},{begin:12592,end:12687},{begin:43072,end:43135},{begin:12800,end:13055},{begin:13056,end:13311},{begin:44032,end:55215},{begin:55296,end:57343},{begin:67840,end:67871},{begin:19968,end:40959},{begin:57344,end:63743},{begin:12736,end:12783},{begin:64256,end:64335},{begin:64336,end:65023},{begin:65056,end:65071},{begin:65040,end:65055},{begin:65104,end:65135},{begin:65136,end:65279},{begin:65280,end:65519},{begin:65520,end:65535},{begin:3840,end:4095},{begin:1792,end:1871},{begin:1920,end:1983},{begin:3456,end:3583},{begin:4096,end:4255},{begin:4608,end:4991},{begin:5024,end:5119},{begin:5120,end:5759},{begin:5760,end:5791},{begin:5792,end:5887},{begin:6016,end:6143},{begin:6144,end:6319},{begin:10240,end:10495},{begin:40960,end:42127},{begin:5888,end:5919},{begin:66304,end:66351},{begin:66352,end:66383},{begin:66560,end:66639},{begin:118784,end:119039},{begin:119808,end:120831},{begin:1044480,end:1048573},{begin:65024,end:65039},{begin:917504,end:917631},{begin:6400,end:6479},{begin:6480,end:6527},{begin:6528,end:6623},{begin:6656,end:6687},{begin:11264,end:11359},{begin:11568,end:11647},{begin:19904,end:19967},{begin:43008,end:43055},{begin:65536,end:65663},{begin:65856,end:65935},{begin:66432,end:66463},{begin:66464,end:66527},{begin:66640,end:66687},{begin:66688,end:66735},{begin:67584,end:67647},{begin:68096,end:68191},{begin:119552,end:119647},{begin:73728,end:74751},{begin:119648,end:119679},{begin:7040,end:7103},{begin:7168,end:7247},{begin:7248,end:7295},{begin:43136,end:43231},{begin:43264,end:43311},{begin:43312,end:43359},{begin:43520,end:43615},{begin:65936,end:65999},{begin:66e3,end:66047},{begin:66208,end:66271},{begin:127024,end:127135}];function l(e){for(var r=0,t=s.length;r<t;r++){var a=s[r];if(e>=a.begin&&e<a.end){return r}}return-1}function c(e){var r=s[13];if(e>=r.begin&&e<r.end){return true}r=s[11];if(e>=r.begin&&e<r.end){return true}return false}var u=a(function(e){e["¨"]=" ̈";e["¯"]=" ̄";e["´"]=" ́";e["µ"]="μ";e["¸"]=" ̧";e["IJ"]="IJ";e["ij"]="ij";e["Ŀ"]="L·";e["ŀ"]="l·";e["ʼn"]="ʼn";e["ſ"]="s";e["DŽ"]="DŽ";e["Dž"]="Dž";e["dž"]="dž";e["LJ"]="LJ";e["Lj"]="Lj";e["lj"]="lj";e["NJ"]="NJ";e["Nj"]="Nj";e["nj"]="nj";e["DZ"]="DZ";e["Dz"]="Dz";e["dz"]="dz";e["˘"]=" ̆";e["˙"]=" ̇";e["˚"]=" ̊";e["˛"]=" ̨";e["˜"]=" ̃";e["˝"]=" ̋";e["ͺ"]=" ͅ";e["΄"]=" ́";e["ϐ"]="β";e["ϑ"]="θ";e["ϒ"]="Υ";e["ϕ"]="φ";e["ϖ"]="π";e["ϰ"]="κ";e["ϱ"]="ρ";e["ϲ"]="ς";e["ϴ"]="Θ";e["ϵ"]="ε";e["Ϲ"]="Σ";e["և"]="եւ";e["ٵ"]="اٴ";e["ٶ"]="وٴ";e["ٷ"]="ۇٴ";e["ٸ"]="يٴ";e["ำ"]="ํา";e["ຳ"]="ໍາ";e["ໜ"]="ຫນ";e["ໝ"]="ຫມ";e["ཷ"]="ྲཱྀ";e["ཹ"]="ླཱྀ";e["ẚ"]="aʾ";e["᾽"]=" ̓";e["᾿"]=" ̓";e["῀"]=" ͂";e["῾"]=" ̔";e[" "]=" ";e[" "]=" ";e[" "]=" ";e[" "]=" ";e[" "]=" ";e[" "]=" ";e[" "]=" ";e[" "]=" ";e["‗"]=" ̳";e["․"]=".";e["‥"]="..";e["…"]="...";e["″"]="′′";e["‴"]="′′′";e["‶"]="‵‵";e["‷"]="‵‵‵";e["‼"]="!!";e["‾"]=" ̅";e["⁇"]="??";e["⁈"]="?!";e["⁉"]="!?";e["⁗"]="′′′′";e[" "]=" ";e["₨"]="Rs";e["℀"]="a/c";e["℁"]="a/s";e["℃"]="°C";e["℅"]="c/o";e["℆"]="c/u";e["ℇ"]="Ɛ";e["℉"]="°F";e["№"]="No";e["℡"]="TEL";e["ℵ"]="א";e["ℶ"]="ב";e["ℷ"]="ג";e["ℸ"]="ד";e["℻"]="FAX";e["Ⅰ"]="I";e["Ⅱ"]="II";e["Ⅲ"]="III";e["Ⅳ"]="IV";e["Ⅴ"]="V";e["Ⅵ"]="VI";e["Ⅶ"]="VII";e["Ⅷ"]="VIII";e["Ⅸ"]="IX";e["Ⅹ"]="X";e["Ⅺ"]="XI";e["Ⅻ"]="XII";e["Ⅼ"]="L";e["Ⅽ"]="C";e["Ⅾ"]="D";e["Ⅿ"]="M";e["ⅰ"]="i";e["ⅱ"]="ii";e["ⅲ"]="iii";e["ⅳ"]="iv";e["ⅴ"]="v";e["ⅵ"]="vi";e["ⅶ"]="vii";e["ⅷ"]="viii";e["ⅸ"]="ix";e["ⅹ"]="x";e["ⅺ"]="xi";e["ⅻ"]="xii";e["ⅼ"]="l";e["ⅽ"]="c";e["ⅾ"]="d";e["ⅿ"]="m";e["∬"]="∫∫";e["∭"]="∫∫∫";e["∯"]="∮∮";e["∰"]="∮∮∮";e["⑴"]="(1)";e["⑵"]="(2)";e["⑶"]="(3)";e["⑷"]="(4)";e["⑸"]="(5)";e["⑹"]="(6)";e["⑺"]="(7)";e["⑻"]="(8)";e["⑼"]="(9)";e["⑽"]="(10)";e["⑾"]="(11)";e["⑿"]="(12)";e["⒀"]="(13)";e["⒁"]="(14)";e["⒂"]="(15)";e["⒃"]="(16)";e["⒄"]="(17)";e["⒅"]="(18)";e["⒆"]="(19)";e["⒇"]="(20)";e["⒈"]="1.";e["⒉"]="2.";e["⒊"]="3.";e["⒋"]="4.";e["⒌"]="5.";e["⒍"]="6.";e["⒎"]="7.";e["⒏"]="8.";e["⒐"]="9.";e["⒑"]="10.";e["⒒"]="11.";e["⒓"]="12.";e["⒔"]="13.";e["⒕"]="14.";e["⒖"]="15.";e["⒗"]="16.";e["⒘"]="17.";e["⒙"]="18.";e["⒚"]="19.";e["⒛"]="20.";e["⒜"]="(a)";e["⒝"]="(b)";e["⒞"]="(c)";e["⒟"]="(d)";e["⒠"]="(e)";e["⒡"]="(f)";e["⒢"]="(g)";e["⒣"]="(h)";e["⒤"]="(i)";e["⒥"]="(j)";e["⒦"]="(k)";e["⒧"]="(l)";e["⒨"]="(m)";e["⒩"]="(n)";e["⒪"]="(o)";e["⒫"]="(p)";e["⒬"]="(q)";e["⒭"]="(r)";e["⒮"]="(s)";e["⒯"]="(t)";e["⒰"]="(u)";e["⒱"]="(v)";e["⒲"]="(w)";e["⒳"]="(x)";e["⒴"]="(y)";e["⒵"]="(z)";e["⨌"]="∫∫∫∫";e["⩴"]="::=";e["⩵"]="==";e["⩶"]="===";e["⺟"]="母";e["⻳"]="龟";e["⼀"]="一";e["⼁"]="丨";e["⼂"]="丶";e["⼃"]="丿";e["⼄"]="乙";e["⼅"]="亅";e["⼆"]="二";e["⼇"]="亠";e["⼈"]="人";e["⼉"]="儿";e["⼊"]="入";e["⼋"]="八";e["⼌"]="冂";e["⼍"]="冖";e["⼎"]="冫";e["⼏"]="几";e["⼐"]="凵";e["⼑"]="刀";e["⼒"]="力";e["⼓"]="勹";e["⼔"]="匕";e["⼕"]="匚";e["⼖"]="匸";e["⼗"]="十";e["⼘"]="卜";e["⼙"]="卩";e["⼚"]="厂";e["⼛"]="厶";e["⼜"]="又";e["⼝"]="口";e["⼞"]="囗";e["⼟"]="土";e["⼠"]="士";e["⼡"]="夂";e["⼢"]="夊";e["⼣"]="夕";e["⼤"]="大";e["⼥"]="女";e["⼦"]="子";e["⼧"]="宀";e["⼨"]="寸";e["⼩"]="小";e["⼪"]="尢";e["⼫"]="尸";e["⼬"]="屮";e["⼭"]="山";e["⼮"]="巛";e["⼯"]="工";e["⼰"]="己";e["⼱"]="巾";e["⼲"]="干";e["⼳"]="幺";e["⼴"]="广";e["⼵"]="廴";e["⼶"]="廾";e["⼷"]="弋";e["⼸"]="弓";e["⼹"]="彐";e["⼺"]="彡";e["⼻"]="彳";e["⼼"]="心";e["⼽"]="戈";e["⼾"]="戶";e["⼿"]="手";e["⽀"]="支";e["⽁"]="攴";e["⽂"]="文";e["⽃"]="斗";e["⽄"]="斤";e["⽅"]="方";e["⽆"]="无";e["⽇"]="日";e["⽈"]="曰";e["⽉"]="月";e["⽊"]="木";e["⽋"]="欠";e["⽌"]="止";e["⽍"]="歹";e["⽎"]="殳";e["⽏"]="毋";e["⽐"]="比";e["⽑"]="毛";e["⽒"]="氏";e["⽓"]="气";e["⽔"]="水";e["⽕"]="火";e["⽖"]="爪";e["⽗"]="父";e["⽘"]="爻";e["⽙"]="爿";e["⽚"]="片";e["⽛"]="牙";e["⽜"]="牛";e["⽝"]="犬";e["⽞"]="玄";e["⽟"]="玉";e["⽠"]="瓜";e["⽡"]="瓦";e["⽢"]="甘";e["⽣"]="生";e["⽤"]="用";e["⽥"]="田";e["⽦"]="疋";e["⽧"]="疒";e["⽨"]="癶";e["⽩"]="白";e["⽪"]="皮";e["⽫"]="皿";e["⽬"]="目";e["⽭"]="矛";e["⽮"]="矢";e["⽯"]="石";e["⽰"]="示";e["⽱"]="禸";e["⽲"]="禾";e["⽳"]="穴";e["⽴"]="立";e["⽵"]="竹";e["⽶"]="米";e["⽷"]="糸";e["⽸"]="缶";e["⽹"]="网";e["⽺"]="羊";e["⽻"]="羽";e["⽼"]="老";e["⽽"]="而";e["⽾"]="耒";e["⽿"]="耳";e["⾀"]="聿";e["⾁"]="肉";e["⾂"]="臣";e["⾃"]="自";e["⾄"]="至";e["⾅"]="臼";e["⾆"]="舌";e["⾇"]="舛";e["⾈"]="舟";e["⾉"]="艮";e["⾊"]="色";e["⾋"]="艸";e["⾌"]="虍";e["⾍"]="虫";e["⾎"]="血";e["⾏"]="行";e["⾐"]="衣";e["⾑"]="襾";e["⾒"]="見";e["⾓"]="角";e["⾔"]="言";e["⾕"]="谷";e["⾖"]="豆";e["⾗"]="豕";e["⾘"]="豸";e["⾙"]="貝";e["⾚"]="赤";e["⾛"]="走";e["⾜"]="足";e["⾝"]="身";e["⾞"]="車";e["⾟"]="辛";e["⾠"]="辰";e["⾡"]="辵";e["⾢"]="邑";e["⾣"]="酉";e["⾤"]="釆";e["⾥"]="里";e["⾦"]="金";e["⾧"]="長";e["⾨"]="門";e["⾩"]="阜";e["⾪"]="隶";e["⾫"]="隹";e["⾬"]="雨";e["⾭"]="靑";e["⾮"]="非";e["⾯"]="面";e["⾰"]="革";e["⾱"]="韋";e["⾲"]="韭";e["⾳"]="音";e["⾴"]="頁";e["⾵"]="風";e["⾶"]="飛";e["⾷"]="食";e["⾸"]="首";e["⾹"]="香";e["⾺"]="馬";e["⾻"]="骨";e["⾼"]="高";e["⾽"]="髟";e["⾾"]="鬥";e["⾿"]="鬯";e["⿀"]="鬲";e["⿁"]="鬼";e["⿂"]="魚";e["⿃"]="鳥";e["⿄"]="鹵";e["⿅"]="鹿";e["⿆"]="麥";e["⿇"]="麻";e["⿈"]="黃";e["⿉"]="黍";e["⿊"]="黑";e["⿋"]="黹";e["⿌"]="黽";e["⿍"]="鼎";e["⿎"]="鼓";e["⿏"]="鼠";e["⿐"]="鼻";e["⿑"]="齊";e["⿒"]="齒";e["⿓"]="龍";e["⿔"]="龜";e["⿕"]="龠";e["〶"]="〒";e["〸"]="十";e["〹"]="卄";e["〺"]="卅";e["゛"]=" ゙";e["゜"]=" ゚";e["ㄱ"]="ᄀ";e["ㄲ"]="ᄁ";e["ㄳ"]="ᆪ";e["ㄴ"]="ᄂ";e["ㄵ"]="ᆬ";e["ㄶ"]="ᆭ";e["ㄷ"]="ᄃ";e["ㄸ"]="ᄄ";e["ㄹ"]="ᄅ";e["ㄺ"]="ᆰ";e["ㄻ"]="ᆱ";e["ㄼ"]="ᆲ";e["ㄽ"]="ᆳ";e["ㄾ"]="ᆴ";e["ㄿ"]="ᆵ";e["ㅀ"]="ᄚ";e["ㅁ"]="ᄆ";e["ㅂ"]="ᄇ";e["ㅃ"]="ᄈ";e["ㅄ"]="ᄡ";e["ㅅ"]="ᄉ";e["ㅆ"]="ᄊ";e["ㅇ"]="ᄋ";e["ㅈ"]="ᄌ";e["ㅉ"]="ᄍ";e["ㅊ"]="ᄎ";e["ㅋ"]="ᄏ";e["ㅌ"]="ᄐ";e["ㅍ"]="ᄑ";e["ㅎ"]="ᄒ";e["ㅏ"]="ᅡ";e["ㅐ"]="ᅢ";e["ㅑ"]="ᅣ";e["ㅒ"]="ᅤ";e["ㅓ"]="ᅥ";e["ㅔ"]="ᅦ";e["ㅕ"]="ᅧ";e["ㅖ"]="ᅨ";e["ㅗ"]="ᅩ";e["ㅘ"]="ᅪ";e["ㅙ"]="ᅫ";e["ㅚ"]="ᅬ";e["ㅛ"]="ᅭ";e["ㅜ"]="ᅮ";e["ㅝ"]="ᅯ";e["ㅞ"]="ᅰ";e["ㅟ"]="ᅱ";e["ㅠ"]="ᅲ";e["ㅡ"]="ᅳ";e["ㅢ"]="ᅴ";e["ㅣ"]="ᅵ";e["ㅤ"]="ᅠ";e["ㅥ"]="ᄔ";e["ㅦ"]="ᄕ";e["ㅧ"]="ᇇ";e["ㅨ"]="ᇈ";e["ㅩ"]="ᇌ";e["ㅪ"]="ᇎ";e["ㅫ"]="ᇓ";e["ㅬ"]="ᇗ";e["ㅭ"]="ᇙ";e["ㅮ"]="ᄜ";e["ㅯ"]="ᇝ";e["ㅰ"]="ᇟ";e["ㅱ"]="ᄝ";e["ㅲ"]="ᄞ";e["ㅳ"]="ᄠ";e["ㅴ"]="ᄢ";e["ㅵ"]="ᄣ";e["ㅶ"]="ᄧ";e["ㅷ"]="ᄩ";e["ㅸ"]="ᄫ";e["ㅹ"]="ᄬ";e["ㅺ"]="ᄭ";e["ㅻ"]="ᄮ";e["ㅼ"]="ᄯ";e["ㅽ"]="ᄲ";e["ㅾ"]="ᄶ";e["ㅿ"]="ᅀ";e["ㆀ"]="ᅇ";e["ㆁ"]="ᅌ";e["ㆂ"]="ᇱ";e["ㆃ"]="ᇲ";e["ㆄ"]="ᅗ";e["ㆅ"]="ᅘ";e["ㆆ"]="ᅙ";e["ㆇ"]="ᆄ";e["ㆈ"]="ᆅ";e["ㆉ"]="ᆈ";e["ㆊ"]="ᆑ";e["ㆋ"]="ᆒ";e["ㆌ"]="ᆔ";e["ㆍ"]="ᆞ";e["ㆎ"]="ᆡ";e["㈀"]="(ᄀ)";e["㈁"]="(ᄂ)";e["㈂"]="(ᄃ)";e["㈃"]="(ᄅ)";e["㈄"]="(ᄆ)";e["㈅"]="(ᄇ)";e["㈆"]="(ᄉ)";e["㈇"]="(ᄋ)";e["㈈"]="(ᄌ)";e["㈉"]="(ᄎ)";e["㈊"]="(ᄏ)";e["㈋"]="(ᄐ)";e["㈌"]="(ᄑ)";e["㈍"]="(ᄒ)";e["㈎"]="(가)";e["㈏"]="(나)";e["㈐"]="(다)";e["㈑"]="(라)";e["㈒"]="(마)";e["㈓"]="(바)";e["㈔"]="(사)";e["㈕"]="(아)";e["㈖"]="(자)";e["㈗"]="(차)";e["㈘"]="(카)";e["㈙"]="(타)";e["㈚"]="(파)";e["㈛"]="(하)";e["㈜"]="(주)";e["㈝"]="(오전)";e["㈞"]="(오후)";e["㈠"]="(一)";e["㈡"]="(二)";e["㈢"]="(三)";e["㈣"]="(四)";e["㈤"]="(五)";e["㈥"]="(六)";e["㈦"]="(七)";e["㈧"]="(八)";e["㈨"]="(九)";e["㈩"]="(十)";e["㈪"]="(月)";e["㈫"]="(火)";e["㈬"]="(水)";e["㈭"]="(木)";e["㈮"]="(金)";e["㈯"]="(土)";e["㈰"]="(日)";e["㈱"]="(株)";e["㈲"]="(有)";e["㈳"]="(社)";e["㈴"]="(名)";e["㈵"]="(特)";e["㈶"]="(財)";e["㈷"]="(祝)";e["㈸"]="(労)";e["㈹"]="(代)";e["㈺"]="(呼)";e["㈻"]="(学)";e["㈼"]="(監)";e["㈽"]="(企)";e["㈾"]="(資)";e["㈿"]="(協)";e["㉀"]="(祭)";e["㉁"]="(休)";e["㉂"]="(自)";e["㉃"]="(至)";e["㋀"]="1月";e["㋁"]="2月";e["㋂"]="3月";e["㋃"]="4月";e["㋄"]="5月";e["㋅"]="6月";e["㋆"]="7月";e["㋇"]="8月";e["㋈"]="9月";e["㋉"]="10月";e["㋊"]="11月";e["㋋"]="12月";e["㍘"]="0点";e["㍙"]="1点";e["㍚"]="2点";e["㍛"]="3点";e["㍜"]="4点";e["㍝"]="5点";e["㍞"]="6点";e["㍟"]="7点";e["㍠"]="8点";e["㍡"]="9点";e["㍢"]="10点";e["㍣"]="11点";e["㍤"]="12点";e["㍥"]="13点";e["㍦"]="14点";e["㍧"]="15点";e["㍨"]="16点";e["㍩"]="17点";e["㍪"]="18点";e["㍫"]="19点";e["㍬"]="20点";e["㍭"]="21点";e["㍮"]="22点";e["㍯"]="23点";e["㍰"]="24点";e["㏠"]="1日";e["㏡"]="2日";e["㏢"]="3日";e["㏣"]="4日";e["㏤"]="5日";e["㏥"]="6日";e["㏦"]="7日";e["㏧"]="8日";e["㏨"]="9日";e["㏩"]="10日";e["㏪"]="11日";e["㏫"]="12日";e["㏬"]="13日";e["㏭"]="14日";e["㏮"]="15日";e["㏯"]="16日";e["㏰"]="17日";e["㏱"]="18日";e["㏲"]="19日";e["㏳"]="20日";e["㏴"]="21日";e["㏵"]="22日";e["㏶"]="23日";e["㏷"]="24日";e["㏸"]="25日";e["㏹"]="26日";e["㏺"]="27日";e["㏻"]="28日";e["㏼"]="29日";e["㏽"]="30日";e["㏾"]="31日";e["ff"]="ff";e["fi"]="fi";e["fl"]="fl";e["ffi"]="ffi";e["ffl"]="ffl";e["ſt"]="ſt";e["st"]="st";e["ﬓ"]="մն";e["ﬔ"]="մե";e["ﬕ"]="մի";e["ﬖ"]="վն";e["ﬗ"]="մխ";e["ﭏ"]="אל";e["ﭐ"]="ٱ";e["ﭑ"]="ٱ";e["ﭒ"]="ٻ";e["ﭓ"]="ٻ";e["ﭔ"]="ٻ";e["ﭕ"]="ٻ";e["ﭖ"]="پ";e["ﭗ"]="پ";e["ﭘ"]="پ";e["ﭙ"]="پ";e["ﭚ"]="ڀ";e["ﭛ"]="ڀ";e["ﭜ"]="ڀ";e["ﭝ"]="ڀ";e["ﭞ"]="ٺ";e["ﭟ"]="ٺ";e["ﭠ"]="ٺ";e["ﭡ"]="ٺ";e["ﭢ"]="ٿ";e["ﭣ"]="ٿ";e["ﭤ"]="ٿ";e["ﭥ"]="ٿ";e["ﭦ"]="ٹ";e["ﭧ"]="ٹ";e["ﭨ"]="ٹ";e["ﭩ"]="ٹ";e["ﭪ"]="ڤ";e["ﭫ"]="ڤ";e["ﭬ"]="ڤ";e["ﭭ"]="ڤ";e["ﭮ"]="ڦ";e["ﭯ"]="ڦ";e["ﭰ"]="ڦ";e["ﭱ"]="ڦ";e["ﭲ"]="ڄ";e["ﭳ"]="ڄ";e["ﭴ"]="ڄ";e["ﭵ"]="ڄ";e["ﭶ"]="ڃ";e["ﭷ"]="ڃ";e["ﭸ"]="ڃ";e["ﭹ"]="ڃ";e["ﭺ"]="چ";e["ﭻ"]="چ";e["ﭼ"]="چ";e["ﭽ"]="چ";e["ﭾ"]="ڇ";e["ﭿ"]="ڇ";e["ﮀ"]="ڇ";e["ﮁ"]="ڇ";e["ﮂ"]="ڍ";e["ﮃ"]="ڍ";e["ﮄ"]="ڌ";e["ﮅ"]="ڌ";e["ﮆ"]="ڎ";e["ﮇ"]="ڎ";e["ﮈ"]="ڈ";e["ﮉ"]="ڈ";e["ﮊ"]="ژ";e["ﮋ"]="ژ";e["ﮌ"]="ڑ";e["ﮍ"]="ڑ";e["ﮎ"]="ک";e["ﮏ"]="ک";e["ﮐ"]="ک";e["ﮑ"]="ک";e["ﮒ"]="گ";e["ﮓ"]="گ";e["ﮔ"]="گ";e["ﮕ"]="گ";e["ﮖ"]="ڳ";e["ﮗ"]="ڳ";e["ﮘ"]="ڳ";e["ﮙ"]="ڳ";e["ﮚ"]="ڱ";e["ﮛ"]="ڱ";e["ﮜ"]="ڱ";e["ﮝ"]="ڱ";e["ﮞ"]="ں";e["ﮟ"]="ں";e["ﮠ"]="ڻ";e["ﮡ"]="ڻ";e["ﮢ"]="ڻ";e["ﮣ"]="ڻ";e["ﮤ"]="ۀ";e["ﮥ"]="ۀ";e["ﮦ"]="ہ";e["ﮧ"]="ہ";e["ﮨ"]="ہ";e["ﮩ"]="ہ";e["ﮪ"]="ھ";e["ﮫ"]="ھ";e["ﮬ"]="ھ";e["ﮭ"]="ھ";e["ﮮ"]="ے";e["ﮯ"]="ے";e["ﮰ"]="ۓ";e["ﮱ"]="ۓ";e["ﯓ"]="ڭ";e["ﯔ"]="ڭ";e["ﯕ"]="ڭ";e["ﯖ"]="ڭ";e["ﯗ"]="ۇ";e["ﯘ"]="ۇ";e["ﯙ"]="ۆ";e["ﯚ"]="ۆ";e["ﯛ"]="ۈ";e["ﯜ"]="ۈ";e["ﯝ"]="ٷ";e["ﯞ"]="ۋ";e["ﯟ"]="ۋ";e["ﯠ"]="ۅ";e["ﯡ"]="ۅ";e["ﯢ"]="ۉ";e["ﯣ"]="ۉ";e["ﯤ"]="ې";e["ﯥ"]="ې";e["ﯦ"]="ې";e["ﯧ"]="ې";e["ﯨ"]="ى";e["ﯩ"]="ى";e["ﯪ"]="ئا";e["ﯫ"]="ئا";e["ﯬ"]="ئە";e["ﯭ"]="ئە";e["ﯮ"]="ئو";e["ﯯ"]="ئو";e["ﯰ"]="ئۇ";e["ﯱ"]="ئۇ";e["ﯲ"]="ئۆ";e["ﯳ"]="ئۆ";e["ﯴ"]="ئۈ";e["ﯵ"]="ئۈ";e["ﯶ"]="ئې";e["ﯷ"]="ئې";e["ﯸ"]="ئې";e["ﯹ"]="ئى";e["ﯺ"]="ئى";e["ﯻ"]="ئى";e["ﯼ"]="ی";e["ﯽ"]="ی";e["ﯾ"]="ی";e["ﯿ"]="ی";e["ﰀ"]="ئج";e["ﰁ"]="ئح";e["ﰂ"]="ئم";e["ﰃ"]="ئى";e["ﰄ"]="ئي";e["ﰅ"]="بج";e["ﰆ"]="بح";e["ﰇ"]="بخ";e["ﰈ"]="بم";e["ﰉ"]="بى";e["ﰊ"]="بي";e["ﰋ"]="تج";e["ﰌ"]="تح";e["ﰍ"]="تخ";e["ﰎ"]="تم";e["ﰏ"]="تى";e["ﰐ"]="تي";e["ﰑ"]="ثج";e["ﰒ"]="ثم";e["ﰓ"]="ثى";e["ﰔ"]="ثي";e["ﰕ"]="جح";e["ﰖ"]="جم";e["ﰗ"]="حج";e["ﰘ"]="حم";e["ﰙ"]="خج";e["ﰚ"]="خح";e["ﰛ"]="خم";e["ﰜ"]="سج";e["ﰝ"]="سح";e["ﰞ"]="سخ";e["ﰟ"]="سم";e["ﰠ"]="صح";e["ﰡ"]="صم";e["ﰢ"]="ضج";e["ﰣ"]="ضح";e["ﰤ"]="ضخ";e["ﰥ"]="ضم";e["ﰦ"]="طح";e["ﰧ"]="طم";e["ﰨ"]="ظم";e["ﰩ"]="عج";e["ﰪ"]="عم";e["ﰫ"]="غج";e["ﰬ"]="غم";e["ﰭ"]="فج";e["ﰮ"]="فح";e["ﰯ"]="فخ";e["ﰰ"]="فم";e["ﰱ"]="فى";e["ﰲ"]="في";e["ﰳ"]="قح";e["ﰴ"]="قم";e["ﰵ"]="قى";e["ﰶ"]="قي";e["ﰷ"]="كا";e["ﰸ"]="كج";e["ﰹ"]="كح";e["ﰺ"]="كخ";e["ﰻ"]="كل";e["ﰼ"]="كم";e["ﰽ"]="كى";e["ﰾ"]="كي";e["ﰿ"]="لج";e["ﱀ"]="لح";e["ﱁ"]="لخ";e["ﱂ"]="لم";e["ﱃ"]="لى";e["ﱄ"]="لي";e["ﱅ"]="مج";e["ﱆ"]="مح";e["ﱇ"]="مخ";e["ﱈ"]="مم";e["ﱉ"]="مى";e["ﱊ"]="مي";e["ﱋ"]="نج";e["ﱌ"]="نح";e["ﱍ"]="نخ";e["ﱎ"]="نم";e["ﱏ"]="نى";e["ﱐ"]="ني";e["ﱑ"]="هج";e["ﱒ"]="هم";e["ﱓ"]="هى";e["ﱔ"]="هي";e["ﱕ"]="يج";e["ﱖ"]="يح";e["ﱗ"]="يخ";e["ﱘ"]="يم";e["ﱙ"]="يى";e["ﱚ"]="يي";e["ﱛ"]="ذٰ";e["ﱜ"]="رٰ";e["ﱝ"]="ىٰ";e["ﱞ"]=" ٌّ";e["ﱟ"]=" ٍّ";e["ﱠ"]=" َّ";e["ﱡ"]=" ُّ";e["ﱢ"]=" ِّ";e["ﱣ"]=" ّٰ";e["ﱤ"]="ئر";e["ﱥ"]="ئز";e["ﱦ"]="ئم";e["ﱧ"]="ئن";e["ﱨ"]="ئى";e["ﱩ"]="ئي";e["ﱪ"]="بر";e["ﱫ"]="بز";e["ﱬ"]="بم";e["ﱭ"]="بن";e["ﱮ"]="بى";e["ﱯ"]="بي";e["ﱰ"]="تر";e["ﱱ"]="تز";e["ﱲ"]="تم";e["ﱳ"]="تن";e["ﱴ"]="تى";e["ﱵ"]="تي";e["ﱶ"]="ثر";e["ﱷ"]="ثز";e["ﱸ"]="ثم";e["ﱹ"]="ثن";e["ﱺ"]="ثى";e["ﱻ"]="ثي";e["ﱼ"]="فى";e["ﱽ"]="في";e["ﱾ"]="قى";e["ﱿ"]="قي";e["ﲀ"]="كا";e["ﲁ"]="كل";e["ﲂ"]="كم";e["ﲃ"]="كى";e["ﲄ"]="كي";e["ﲅ"]="لم";e["ﲆ"]="لى";e["ﲇ"]="لي";e["ﲈ"]="ما";e["ﲉ"]="مم";e["ﲊ"]="نر";e["ﲋ"]="نز";e["ﲌ"]="نم";e["ﲍ"]="نن";e["ﲎ"]="نى";e["ﲏ"]="ني";e["ﲐ"]="ىٰ";e["ﲑ"]="ير";e["ﲒ"]="يز";e["ﲓ"]="يم";e["ﲔ"]="ين";e["ﲕ"]="يى";e["ﲖ"]="يي";e["ﲗ"]="ئج";e["ﲘ"]="ئح";e["ﲙ"]="ئخ";e["ﲚ"]="ئم";e["ﲛ"]="ئه";e["ﲜ"]="بج";e["ﲝ"]="بح";e["ﲞ"]="بخ";e["ﲟ"]="بم";e["ﲠ"]="به";e["ﲡ"]="تج";e["ﲢ"]="تح";e["ﲣ"]="تخ";e["ﲤ"]="تم";e["ﲥ"]="ته";e["ﲦ"]="ثم";e["ﲧ"]="جح";e["ﲨ"]="جم";e["ﲩ"]="حج";e["ﲪ"]="حم";e["ﲫ"]="خج";e["ﲬ"]="خم";e["ﲭ"]="سج";e["ﲮ"]="سح";e["ﲯ"]="سخ";e["ﲰ"]="سم";e["ﲱ"]="صح";e["ﲲ"]="صخ";e["ﲳ"]="صم";e["ﲴ"]="ضج";e["ﲵ"]="ضح";e["ﲶ"]="ضخ";e["ﲷ"]="ضم";e["ﲸ"]="طح";e["ﲹ"]="ظم";e["ﲺ"]="عج";e["ﲻ"]="عم";e["ﲼ"]="غج";e["ﲽ"]="غم";e["ﲾ"]="فج";e["ﲿ"]="فح";e["ﳀ"]="فخ";e["ﳁ"]="فم";e["ﳂ"]="قح";e["ﳃ"]="قم";e["ﳄ"]="كج";e["ﳅ"]="كح";e["ﳆ"]="كخ";e["ﳇ"]="كل";e["ﳈ"]="كم";e["ﳉ"]="لج";e["ﳊ"]="لح";e["ﳋ"]="لخ";e["ﳌ"]="لم";e["ﳍ"]="له";e["ﳎ"]="مج";e["ﳏ"]="مح";e["ﳐ"]="مخ";e["ﳑ"]="مم";e["ﳒ"]="نج";e["ﳓ"]="نح";e["ﳔ"]="نخ";e["ﳕ"]="نم";e["ﳖ"]="نه";e["ﳗ"]="هج";e["ﳘ"]="هم";e["ﳙ"]="هٰ";e["ﳚ"]="يج";e["ﳛ"]="يح";e["ﳜ"]="يخ";e["ﳝ"]="يم";e["ﳞ"]="يه";e["ﳟ"]="ئم";e["ﳠ"]="ئه";e["ﳡ"]="بم";e["ﳢ"]="به";e["ﳣ"]="تم";e["ﳤ"]="ته";e["ﳥ"]="ثم";e["ﳦ"]="ثه";e["ﳧ"]="سم";e["ﳨ"]="سه";e["ﳩ"]="شم";e["ﳪ"]="شه";e["ﳫ"]="كل";e["ﳬ"]="كم";e["ﳭ"]="لم";e["ﳮ"]="نم";e["ﳯ"]="نه";e["ﳰ"]="يم";e["ﳱ"]="يه";e["ﳲ"]="ـَّ";e["ﳳ"]="ـُّ";e["ﳴ"]="ـِّ";e["ﳵ"]="طى";e["ﳶ"]="طي";e["ﳷ"]="عى";e["ﳸ"]="عي";e["ﳹ"]="غى";e["ﳺ"]="غي";e["ﳻ"]="سى";e["ﳼ"]="سي";e["ﳽ"]="شى";e["ﳾ"]="شي";e["ﳿ"]="حى";e["ﴀ"]="حي";e["ﴁ"]="جى";e["ﴂ"]="جي";e["ﴃ"]="خى";e["ﴄ"]="خي";e["ﴅ"]="صى";e["ﴆ"]="صي";e["ﴇ"]="ضى";e["ﴈ"]="ضي";e["ﴉ"]="شج";e["ﴊ"]="شح";e["ﴋ"]="شخ";e["ﴌ"]="شم";e["ﴍ"]="شر";e["ﴎ"]="سر";e["ﴏ"]="صر";e["ﴐ"]="ضر";e["ﴑ"]="طى";e["ﴒ"]="طي";e["ﴓ"]="عى";e["ﴔ"]="عي";e["ﴕ"]="غى";e["ﴖ"]="غي";e["ﴗ"]="سى";e["ﴘ"]="سي";e["ﴙ"]="شى";e["ﴚ"]="شي";e["ﴛ"]="حى";e["ﴜ"]="حي";e["ﴝ"]="جى";e["ﴞ"]="جي";e["ﴟ"]="خى";e["ﴠ"]="خي";e["ﴡ"]="صى";e["ﴢ"]="صي";e["ﴣ"]="ضى";e["ﴤ"]="ضي";e["ﴥ"]="شج";e["ﴦ"]="شح";e["ﴧ"]="شخ";e["ﴨ"]="شم";e["ﴩ"]="شر";e["ﴪ"]="سر";e["ﴫ"]="صر";e["ﴬ"]="ضر";e["ﴭ"]="شج";e["ﴮ"]="شح";e["ﴯ"]="شخ";e["ﴰ"]="شم";e["ﴱ"]="سه";e["ﴲ"]="شه";e["ﴳ"]="طم";e["ﴴ"]="سج";e["ﴵ"]="سح";e["ﴶ"]="سخ";e["ﴷ"]="شج";e["ﴸ"]="شح";e["ﴹ"]="شخ";e["ﴺ"]="طم";e["ﴻ"]="ظم";e["ﴼ"]="اً";e["ﴽ"]="اً";e["ﵐ"]="تجم";e["ﵑ"]="تحج";e["ﵒ"]="تحج";e["ﵓ"]="تحم";e["ﵔ"]="تخم";e["ﵕ"]="تمج";e["ﵖ"]="تمح";e["ﵗ"]="تمخ";e["ﵘ"]="جمح";e["ﵙ"]="جمح";e["ﵚ"]="حمي";e["ﵛ"]="حمى";e["ﵜ"]="سحج";e["ﵝ"]="سجح";e["ﵞ"]="سجى";e["ﵟ"]="سمح";e["ﵠ"]="سمح";e["ﵡ"]="سمج";e["ﵢ"]="سمم";e["ﵣ"]="سمم";e["ﵤ"]="صحح";e["ﵥ"]="صحح";e["ﵦ"]="صمم";e["ﵧ"]="شحم";e["ﵨ"]="شحم";e["ﵩ"]="شجي";e["ﵪ"]="شمخ";e["ﵫ"]="شمخ";e["ﵬ"]="شمم";e["ﵭ"]="شمم";e["ﵮ"]="ضحى";e["ﵯ"]="ضخم";e["ﵰ"]="ضخم";e["ﵱ"]="طمح";e["ﵲ"]="طمح";e["ﵳ"]="طمم";e["ﵴ"]="طمي";e["ﵵ"]="عجم";e["ﵶ"]="عمم";e["ﵷ"]="عمم";e["ﵸ"]="عمى";e["ﵹ"]="غمم";e["ﵺ"]="غمي";e["ﵻ"]="غمى";e["ﵼ"]="فخم";e["ﵽ"]="فخم";e["ﵾ"]="قمح";e["ﵿ"]="قمم";e["ﶀ"]="لحم";e["ﶁ"]="لحي";e["ﶂ"]="لحى";e["ﶃ"]="لجج";e["ﶄ"]="لجج";e["ﶅ"]="لخم";e["ﶆ"]="لخم";e["ﶇ"]="لمح";e["ﶈ"]="لمح";e["ﶉ"]="محج";e["ﶊ"]="محم";e["ﶋ"]="محي";e["ﶌ"]="مجح";e["ﶍ"]="مجم";e["ﶎ"]="مخج";e["ﶏ"]="مخم";e["ﶒ"]="مجخ";e["ﶓ"]="همج";e["ﶔ"]="همم";e["ﶕ"]="نحم";e["ﶖ"]="نحى";e["ﶗ"]="نجم";e["ﶘ"]="نجم";e["ﶙ"]="نجى";e["ﶚ"]="نمي";e["ﶛ"]="نمى";e["ﶜ"]="يمم";e["ﶝ"]="يمم";e["ﶞ"]="بخي";e["ﶟ"]="تجي";e["ﶠ"]="تجى";e["ﶡ"]="تخي";e["ﶢ"]="تخى";e["ﶣ"]="تمي";e["ﶤ"]="تمى";e["ﶥ"]="جمي";e["ﶦ"]="جحى";e["ﶧ"]="جمى";e["ﶨ"]="سخى";e["ﶩ"]="صحي";e["ﶪ"]="شحي";e["ﶫ"]="ضحي";e["ﶬ"]="لجي";e["ﶭ"]="لمي";e["ﶮ"]="يحي";e["ﶯ"]="يجي";e["ﶰ"]="يمي";e["ﶱ"]="ممي";e["ﶲ"]="قمي";e["ﶳ"]="نحي";e["ﶴ"]="قمح";e["ﶵ"]="لحم";e["ﶶ"]="عمي";e["ﶷ"]="كمي";e["ﶸ"]="نجح";e["ﶹ"]="مخي";e["ﶺ"]="لجم";e["ﶻ"]="كمم";e["ﶼ"]="لجم";e["ﶽ"]="نجح";e["ﶾ"]="جحي";e["ﶿ"]="حجي";e["ﷀ"]="مجي";e["ﷁ"]="فمي";e["ﷂ"]="بحي";e["ﷃ"]="كمم";e["ﷄ"]="عجم";e["ﷅ"]="صمم";e["ﷆ"]="سخي";e["ﷇ"]="نجي";e["﹉"]="‾";e["﹊"]="‾";e["﹋"]="‾";e["﹌"]="‾";e["﹍"]="_";e["﹎"]="_";e["﹏"]="_";e["ﺀ"]="ء";e["ﺁ"]="آ";e["ﺂ"]="آ";e["ﺃ"]="أ";e["ﺄ"]="أ";e["ﺅ"]="ؤ";e["ﺆ"]="ؤ";e["ﺇ"]="إ";e["ﺈ"]="إ";e["ﺉ"]="ئ";e["ﺊ"]="ئ";e["ﺋ"]="ئ";e["ﺌ"]="ئ";e["ﺍ"]="ا";e["ﺎ"]="ا";e["ﺏ"]="ب";e["ﺐ"]="ب";e["ﺑ"]="ب";e["ﺒ"]="ب";e["ﺓ"]="ة";e["ﺔ"]="ة";e["ﺕ"]="ت";e["ﺖ"]="ت";e["ﺗ"]="ت";e["ﺘ"]="ت";e["ﺙ"]="ث";e["ﺚ"]="ث";e["ﺛ"]="ث";e["ﺜ"]="ث";e["ﺝ"]="ج";e["ﺞ"]="ج";e["ﺟ"]="ج";e["ﺠ"]="ج";e["ﺡ"]="ح";e["ﺢ"]="ح";e["ﺣ"]="ح";e["ﺤ"]="ح";e["ﺥ"]="خ";e["ﺦ"]="خ";e["ﺧ"]="خ";e["ﺨ"]="خ";e["ﺩ"]="د";e["ﺪ"]="د";e["ﺫ"]="ذ";e["ﺬ"]="ذ";e["ﺭ"]="ر";e["ﺮ"]="ر";e["ﺯ"]="ز";e["ﺰ"]="ز";e["ﺱ"]="س";e["ﺲ"]="س";e["ﺳ"]="س";e["ﺴ"]="س";e["ﺵ"]="ش";e["ﺶ"]="ش";e["ﺷ"]="ش";e["ﺸ"]="ش";e["ﺹ"]="ص";e["ﺺ"]="ص";e["ﺻ"]="ص";e["ﺼ"]="ص";e["ﺽ"]="ض";e["ﺾ"]="ض";e["ﺿ"]="ض";e["ﻀ"]="ض";e["ﻁ"]="ط";e["ﻂ"]="ط";e["ﻃ"]="ط";e["ﻄ"]="ط";e["ﻅ"]="ظ";e["ﻆ"]="ظ";e["ﻇ"]="ظ";e["ﻈ"]="ظ";e["ﻉ"]="ع";e["ﻊ"]="ع";e["ﻋ"]="ع";e["ﻌ"]="ع";e["ﻍ"]="غ";e["ﻎ"]="غ";e["ﻏ"]="غ";e["ﻐ"]="غ";e["ﻑ"]="ف";e["ﻒ"]="ف";e["ﻓ"]="ف";e["ﻔ"]="ف";e["ﻕ"]="ق";e["ﻖ"]="ق";e["ﻗ"]="ق";e["ﻘ"]="ق";e["ﻙ"]="ك";e["ﻚ"]="ك";e["ﻛ"]="ك";e["ﻜ"]="ك";e["ﻝ"]="ل";e["ﻞ"]="ل";e["ﻟ"]="ل";e["ﻠ"]="ل";e["ﻡ"]="م";e["ﻢ"]="م";e["ﻣ"]="م";e["ﻤ"]="م";e["ﻥ"]="ن";e["ﻦ"]="ن";e["ﻧ"]="ن";e["ﻨ"]="ن";e["ﻩ"]="ه";e["ﻪ"]="ه";e["ﻫ"]="ه";e["ﻬ"]="ه";e["ﻭ"]="و";e["ﻮ"]="و";e["ﻯ"]="ى";e["ﻰ"]="ى";e["ﻱ"]="ي";e["ﻲ"]="ي";e["ﻳ"]="ي";e["ﻴ"]="ي";e["ﻵ"]="لآ";e["ﻶ"]="لآ";e["ﻷ"]="لأ";e["ﻸ"]="لأ";e["ﻹ"]="لإ";e["ﻺ"]="لإ";e["ﻻ"]="لا";e["ﻼ"]="لا"});function f(e){var r=e.length;if(r<=1||!c(e.charCodeAt(0))){return e}var t="";for(var a=r-1;a>=0;a--){t+=e[a]}return t}r.mapSpecialUnicodeValues=n;r.reverseIfRtl=f;r.getUnicodeRangeFor=l;r.getNormalizedUnicodes=u;r.getUnicodeForGlyph=o},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:true});r.FontRendererFactory=undefined;var a=function(){function e(e,r){for(var t=0;t<r.length;t++){var a=r[t];a.enumerable=a.enumerable||false;a.configurable=true;if("value"in a)a.writable=true;Object.defineProperty(e,a.key,a)}}return function(r,t,a){if(t)e(r.prototype,t);if(a)e(r,a);return r}}();var i=t(2);var n=t(157);var o=t(160);var s=t(159);var l=t(140);function c(e,r){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return r&&(typeof r==="object"||typeof r==="function")?r:e}function u(e,r){if(typeof r!=="function"&&r!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof r)}e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(r)Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r}function f(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}var h=function e(){function r(e,r){return e[r]<<24|e[r+1]<<16|e[r+2]<<8|e[r+3]}function t(e,r){return e[r]<<8|e[r+1]}function h(e,a,n){var o=t(e,a+2)===1?r(e,a+8):r(e,a+16);var s=t(e,a+o);var l,c,u;if(s===4){t(e,a+o+2);var f=t(e,a+o+6)>>1;c=a+o+14;l=[];for(u=0;u<f;u++,c+=2){l[u]={end:t(e,c)}}c+=2;for(u=0;u<f;u++,c+=2){l[u].start=t(e,c)}for(u=0;u<f;u++,c+=2){l[u].idDelta=t(e,c)}for(u=0;u<f;u++,c+=2){var h=t(e,c);if(h===0){continue}l[u].ids=[];for(var d=0,v=l[u].end-l[u].start+1;d<v;d++){l[u].ids[d]=t(e,c+h);h+=2}}return l}else if(s===12){r(e,a+o+4);var g=r(e,a+o+12);c=a+o+16;l=[];for(u=0;u<g;u++){l.push({start:r(e,c),end:r(e,c+4),idDelta:r(e,c+8)-r(e,c)});c+=12}return l}throw new i.FormatError("unsupported cmap: "+s)}function d(e,r,t,a){var i={};var o=new n.CFFParser(new l.Stream(e,r,t-r),i,a);var s=o.parse();return{glyphs:s.charStrings.objects,subrs:s.topDict.privateDict&&s.topDict.privateDict.subrsIndex&&s.topDict.privateDict.subrsIndex.objects,gsubrs:s.globalSubrIndex&&s.globalSubrIndex.objects,isCFFCIDFont:s.isCIDFont,fdSelect:s.fdSelect,fdArray:s.fdArray}}function v(e,r,t){var a,i;if(t){a=4;i=function e(r,t){return r[t]<<24|r[t+1]<<16|r[t+2]<<8|r[t+3]}}else{a=2;i=function e(r,t){return r[t]<<9|r[t+1]<<1}}var n=[];var o=i(r,0);for(var s=a;s<r.length;s+=a){var l=i(r,s);n.push(e.subarray(o,l));o=l}return n}function g(e,r){var t=r.codePointAt(0),a=0;var i=0,n=e.length-1;while(i<n){var o=i+n+1>>1;if(t<e[o].start){n=o-1}else{i=o}}if(e[i].start<=t&&t<=e[i].end){a=e[i].idDelta+(e[i].ids?e[i].ids[t-e[i].start]:t)&65535}return{charCode:t,glyphId:a}}function m(e,r,t){function a(e,t){r.push({cmd:"moveTo",args:[e,t]})}function i(e,t){r.push({cmd:"lineTo",args:[e,t]})}function n(e,t,a,i){r.push({cmd:"quadraticCurveTo",args:[e,t,a,i]})}var o=0;var s=(e[o]<<24|e[o+1]<<16)>>16;var l;var c=0,u=0;o+=10;if(s<0){do{l=e[o]<<8|e[o+1];var f=e[o+2]<<8|e[o+3];o+=4;var h,d;if(l&1){h=(e[o]<<24|e[o+1]<<16)>>16;d=(e[o+2]<<24|e[o+3]<<16)>>16;o+=4}else{h=e[o++];d=e[o++]}if(l&2){c=h;u=d}else{c=0;u=0}var v=1,g=1,p=0,b=0;if(l&8){v=g=(e[o]<<24|e[o+1]<<16)/1073741824;o+=2}else if(l&64){v=(e[o]<<24|e[o+1]<<16)/1073741824;g=(e[o+2]<<24|e[o+3]<<16)/1073741824;o+=4}else if(l&128){v=(e[o]<<24|e[o+1]<<16)/1073741824;p=(e[o+2]<<24|e[o+3]<<16)/1073741824;b=(e[o+4]<<24|e[o+5]<<16)/1073741824;g=(e[o+6]<<24|e[o+7]<<16)/1073741824;o+=8}var y=t.glyphs[f];if(y){r.push({cmd:"save"});r.push({cmd:"transform",args:[v,p,b,g,c,u]});m(y,r,t);r.push({cmd:"restore"})}}while(l&32)}else{var w=[];var k,S;for(k=0;k<s;k++){w.push(e[o]<<8|e[o+1]);o+=2}var C=e[o]<<8|e[o+1];o+=2+C;var x=w[w.length-1]+1;var _=[];while(_.length<x){l=e[o++];var A=1;if(l&8){A+=e[o++]}while(A-- >0){_.push({flags:l})}}for(k=0;k<x;k++){switch(_[k].flags&18){case 0:c+=(e[o]<<24|e[o+1]<<16)>>16;o+=2;break;case 2:c-=e[o++];break;case 18:c+=e[o++];break}_[k].x=c}for(k=0;k<x;k++){switch(_[k].flags&36){case 0:u+=(e[o]<<24|e[o+1]<<16)>>16;o+=2;break;case 4:u-=e[o++];break;case 36:u+=e[o++];break}_[k].y=u}var P=0;for(o=0;o<s;o++){var I=w[o];var O=_.slice(P,I+1);if(O[0].flags&1){O.push(O[0])}else if(O[O.length-1].flags&1){O.unshift(O[O.length-1])}else{var T={flags:1,x:(O[0].x+O[O.length-1].x)/2,y:(O[0].y+O[O.length-1].y)/2};O.unshift(T);O.push(T)}a(O[0].x,O[0].y);for(k=1,S=O.length;k<S;k++){if(O[k].flags&1){i(O[k].x,O[k].y)}else if(O[k+1].flags&1){n(O[k].x,O[k].y,O[k+1].x,O[k+1].y);k++}else{n(O[k].x,O[k].y,(O[k].x+O[k+1].x)/2,(O[k].y+O[k+1].y)/2)}}P=I+1}}}function p(e,r,t,a){var n=[];var o=0,l=0;var c=0;function u(e,t){r.push({cmd:"moveTo",args:[e,t]})}function f(e,t){r.push({cmd:"lineTo",args:[e,t]})}function h(e,t,a,i,n,o){r.push({cmd:"bezierCurveTo",args:[e,t,a,i,n,o]})}function d(e){var v=0;while(v<e.length){var m=false;var b=e[v++];var y,w,k,S,C,x,_,A,P;switch(b){case 1:c+=n.length>>1;m=true;break;case 3:c+=n.length>>1;m=true;break;case 4:l+=n.pop();u(o,l);m=true;break;case 5:while(n.length>0){o+=n.shift();l+=n.shift();f(o,l)}break;case 6:while(n.length>0){o+=n.shift();f(o,l);if(n.length===0){break}l+=n.shift();f(o,l)}break;case 7:while(n.length>0){l+=n.shift();f(o,l);if(n.length===0){break}o+=n.shift();f(o,l)}break;case 8:while(n.length>0){y=o+n.shift();k=l+n.shift();w=y+n.shift();S=k+n.shift();o=w+n.shift();l=S+n.shift();h(y,k,w,S,o,l)}break;case 10:A=n.pop();P=null;if(t.isCFFCIDFont){var I=t.fdSelect.getFDIndex(a);if(I>=0&&I<t.fdArray.length){var O=t.fdArray[I],T=void 0;if(O.privateDict&&O.privateDict.subrsIndex){T=O.privateDict.subrsIndex.objects}if(T){var E=T.length;A+=E<1240?107:E<33900?1131:32768;P=T[A]}}else{(0,i.warn)("Invalid fd index for glyph index.")}}else{P=t.subrs[A+t.subrsBias]}if(P){d(P)}break;case 11:return;case 12:b=e[v++];switch(b){case 34:y=o+n.shift();w=y+n.shift();C=l+n.shift();o=w+n.shift();h(y,l,w,C,o,C);y=o+n.shift();w=y+n.shift();o=w+n.shift();h(y,C,w,l,o,l);break;case 35:y=o+n.shift();k=l+n.shift();w=y+n.shift();S=k+n.shift();o=w+n.shift();l=S+n.shift();h(y,k,w,S,o,l);y=o+n.shift();k=l+n.shift();w=y+n.shift();S=k+n.shift();o=w+n.shift();l=S+n.shift();h(y,k,w,S,o,l);n.pop();break;case 36:y=o+n.shift();C=l+n.shift();w=y+n.shift();x=C+n.shift();o=w+n.shift();h(y,C,w,x,o,x);y=o+n.shift();w=y+n.shift();_=x+n.shift();o=w+n.shift();h(y,x,w,_,o,l);break;case 37:var F=o,R=l;y=o+n.shift();k=l+n.shift();w=y+n.shift();S=k+n.shift();o=w+n.shift();l=S+n.shift();h(y,k,w,S,o,l);y=o+n.shift();k=l+n.shift();w=y+n.shift();S=k+n.shift();o=w;l=S;if(Math.abs(o-F)>Math.abs(l-R)){o+=n.shift()}else{l+=n.shift()}h(y,k,w,S,o,l);break;default:throw new i.FormatError("unknown operator: 12 "+b)}break;case 14:if(n.length>=4){var B=n.pop();var D=n.pop();l=n.pop();o=n.pop();r.push({cmd:"save"});r.push({cmd:"translate",args:[o,l]});var M=g(t.cmap,String.fromCharCode(t.glyphNameMap[s.StandardEncoding[B]]));p(t.glyphs[M.glyphId],r,t,M.glyphId);r.push({cmd:"restore"});M=g(t.cmap,String.fromCharCode(t.glyphNameMap[s.StandardEncoding[D]]));p(t.glyphs[M.glyphId],r,t,M.glyphId)}return;case 18:c+=n.length>>1;m=true;break;case 19:c+=n.length>>1;v+=c+7>>3;m=true;break;case 20:c+=n.length>>1;v+=c+7>>3;m=true;break;case 21:l+=n.pop();o+=n.pop();u(o,l);m=true;break;case 22:o+=n.pop();u(o,l);m=true;break;case 23:c+=n.length>>1;m=true;break;case 24:while(n.length>2){y=o+n.shift();k=l+n.shift();w=y+n.shift();S=k+n.shift();o=w+n.shift();l=S+n.shift();h(y,k,w,S,o,l)}o+=n.shift();l+=n.shift();f(o,l);break;case 25:while(n.length>6){o+=n.shift();l+=n.shift();f(o,l)}y=o+n.shift();k=l+n.shift();w=y+n.shift();S=k+n.shift();o=w+n.shift();l=S+n.shift();h(y,k,w,S,o,l);break;case 26:if(n.length%2){o+=n.shift()}while(n.length>0){y=o;k=l+n.shift();w=y+n.shift();S=k+n.shift();o=w;l=S+n.shift();h(y,k,w,S,o,l)}break;case 27:if(n.length%2){l+=n.shift()}while(n.length>0){y=o+n.shift();k=l;w=y+n.shift();S=k+n.shift();o=w+n.shift();l=S;h(y,k,w,S,o,l)}break;case 28:n.push((e[v]<<24|e[v+1]<<16)>>16);v+=2;break;case 29:A=n.pop()+t.gsubrsBias;P=t.gsubrs[A];if(P){d(P)}break;case 30:while(n.length>0){y=o;k=l+n.shift();w=y+n.shift();S=k+n.shift();o=w+n.shift();l=S+(n.length===1?n.shift():0);h(y,k,w,S,o,l);if(n.length===0){break}y=o+n.shift();k=l;w=y+n.shift();S=k+n.shift();l=S+n.shift();o=w+(n.length===1?n.shift():0);h(y,k,w,S,o,l)}break;case 31:while(n.length>0){y=o+n.shift();k=l;w=y+n.shift();S=k+n.shift();l=S+n.shift();o=w+(n.length===1?n.shift():0);h(y,k,w,S,o,l);if(n.length===0){break}y=o;k=l+n.shift();w=y+n.shift();S=k+n.shift();o=w+n.shift();l=S+(n.length===1?n.shift():0);h(y,k,w,S,o,l)}break;default:if(b<32){throw new i.FormatError("unknown operator: "+b)}if(b<247){n.push(b-139)}else if(b<251){n.push((b-247)*256+e[v++]+108)}else if(b<255){n.push(-(b-251)*256-e[v++]-108)}else{n.push((e[v]<<24|e[v+1]<<16|e[v+2]<<8|e[v+3])/65536);v+=4}break}if(m){n.length=0}}}d(e)}var b=[];var y=function(){function e(r){f(this,e);if(this.constructor===e){(0,i.unreachable)("Cannot initialize CompiledFont.")}this.fontMatrix=r;this.compiledGlyphs=Object.create(null);this.compiledCharCodeToGlyphId=Object.create(null)}a(e,[{key:"getPathJs",value:function e(r){var t=g(this.cmap,r);var a=this.compiledGlyphs[t.glyphId];if(!a){a=this.compileGlyph(this.glyphs[t.glyphId],t.glyphId);this.compiledGlyphs[t.glyphId]=a}if(this.compiledCharCodeToGlyphId[t.charCode]===undefined){this.compiledCharCodeToGlyphId[t.charCode]=t.glyphId}return a}},{key:"compileGlyph",value:function e(r,t){if(!r||r.length===0||r[0]===14){return b}var a=this.fontMatrix;if(this.isCFFCIDFont){var n=this.fdSelect.getFDIndex(t);if(n>=0&&n<this.fdArray.length){var o=this.fdArray[n];a=o.getByName("FontMatrix")||i.FONT_IDENTITY_MATRIX}else{(0,i.warn)("Invalid fd index for glyph index.")}}var s=[];s.push({cmd:"save"});s.push({cmd:"transform",args:a.slice()});s.push({cmd:"scale",args:["size","-size"]});this.compileGlyphImpl(r,s,t);s.push({cmd:"restore"});return s}},{key:"compileGlyphImpl",value:function e(){(0,i.unreachable)("Children classes should implement this.")}},{key:"hasBuiltPath",value:function e(r){var t=g(this.cmap,r);return this.compiledGlyphs[t.glyphId]!==undefined&&this.compiledCharCodeToGlyphId[t.charCode]!==undefined}}]);return e}();var w=function(e){u(r,e);function r(e,t,a){f(this,r);var i=c(this,(r.__proto__||Object.getPrototypeOf(r)).call(this,a||[488e-6,0,0,488e-6,0,0]));i.glyphs=e;i.cmap=t;return i}a(r,[{key:"compileGlyphImpl",value:function e(r,t){m(r,t,this)}}]);return r}(y);var k=function(e){u(r,e);function r(e,t,a,i){f(this,r);var n=c(this,(r.__proto__||Object.getPrototypeOf(r)).call(this,a||[.001,0,0,.001,0,0]));n.glyphs=e.glyphs;n.gsubrs=e.gsubrs||[];n.subrs=e.subrs||[];n.cmap=t;n.glyphNameMap=i||(0,o.getGlyphsUnicode)();n.gsubrsBias=n.gsubrs.length<1240?107:n.gsubrs.length<33900?1131:32768;n.subrsBias=n.subrs.length<1240?107:n.subrs.length<33900?1131:32768;n.isCFFCIDFont=e.isCFFCIDFont;n.fdSelect=e.fdSelect;n.fdArray=e.fdArray;return n}a(r,[{key:"compileGlyphImpl",value:function e(r,t,a){p(r,t,this,a)}}]);return r}(y);return{create:function e(a,n){var o=new Uint8Array(a.data);var s,l,c,u,f,g;var m=t(o,4);for(var p=0,b=12;p<m;p++,b+=16){var y=(0,i.bytesToString)(o.subarray(b,b+4));var S=r(o,b+8);var C=r(o,b+12);switch(y){case"cmap":s=h(o,S,S+C);break;case"glyf":l=o.subarray(S,S+C);break;case"loca":c=o.subarray(S,S+C);break;case"head":g=t(o,S+18);f=t(o,S+50);break;case"CFF ":u=d(o,S,S+C,n);break}}if(l){var x=!g?a.fontMatrix:[1/g,0,0,1/g,0,0];return new w(v(l,c,f),s,x)}return new k(u,s,a.fontMatrix,a.glyphNameMap)}}}();r.FontRendererFactory=h},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:true});r.Type1Parser=undefined;var a=t(2);var i=t(159);var n=t(140);var o=false;var s=function e(){var r={hstem:[1],vstem:[3],vmoveto:[4],rlineto:[5],hlineto:[6],vlineto:[7],rrcurveto:[8],callsubr:[10],flex:[12,35],drop:[12,18],endchar:[14],rmoveto:[21],hmoveto:[22],vhcurveto:[30],hvcurveto:[31]};function t(){this.width=0;this.lsb=0;this.flexing=false;this.output=[];this.stack=[]}t.prototype={convert:function e(t,i,n){var s=t.length;var l=false;var c,u,f;for(var h=0;h<s;h++){var d=t[h];if(d<32){if(d===12){d=(d<<8)+t[++h]}switch(d){case 1:if(!o){this.stack=[];break}l=this.executeCommand(2,r.hstem);break;case 3:if(!o){this.stack=[];break}l=this.executeCommand(2,r.vstem);break;case 4:if(this.flexing){if(this.stack.length<1){l=true;break}var v=this.stack.pop();this.stack.push(0,v);break}l=this.executeCommand(1,r.vmoveto);break;case 5:l=this.executeCommand(2,r.rlineto);break;case 6:l=this.executeCommand(1,r.hlineto);break;case 7:l=this.executeCommand(1,r.vlineto);break;case 8:l=this.executeCommand(6,r.rrcurveto);break;case 9:this.stack=[];break;case 10:if(this.stack.length<1){l=true;break}f=this.stack.pop();if(!i[f]){l=true;break}l=this.convert(i[f],i,n);break;case 11:return l;case 13:if(this.stack.length<2){l=true;break}c=this.stack.pop();u=this.stack.pop();this.lsb=u;this.width=c;this.stack.push(c,u);l=this.executeCommand(2,r.hmoveto);break;case 14:this.output.push(r.endchar[0]);break;case 21:if(this.flexing){break}l=this.executeCommand(2,r.rmoveto);break;case 22:if(this.flexing){this.stack.push(0);break}l=this.executeCommand(1,r.hmoveto);break;case 30:l=this.executeCommand(4,r.vhcurveto);break;case 31:l=this.executeCommand(4,r.hvcurveto);break;case(12<<8)+0:this.stack=[];break;case(12<<8)+1:if(!o){this.stack=[];break}l=this.executeCommand(2,r.vstem);break;case(12<<8)+2:if(!o){this.stack=[];break}l=this.executeCommand(2,r.hstem);break;case(12<<8)+6:if(n){this.seac=this.stack.splice(-4,4);l=this.executeCommand(0,r.endchar)}else{l=this.executeCommand(4,r.endchar)}break;case(12<<8)+7:if(this.stack.length<4){l=true;break}this.stack.pop();c=this.stack.pop();var g=this.stack.pop();u=this.stack.pop();this.lsb=u;this.width=c;this.stack.push(c,u,g);l=this.executeCommand(3,r.rmoveto);break;case(12<<8)+12:if(this.stack.length<2){l=true;break}var m=this.stack.pop();var p=this.stack.pop();this.stack.push(p/m);break;case(12<<8)+16:if(this.stack.length<2){l=true;break}f=this.stack.pop();var b=this.stack.pop();if(f===0&&b===3){var y=this.stack.splice(this.stack.length-17,17);this.stack.push(y[2]+y[0],y[3]+y[1],y[4],y[5],y[6],y[7],y[8],y[9],y[10],y[11],y[12],y[13],y[14]);l=this.executeCommand(13,r.flex,true);this.flexing=false;this.stack.push(y[15],y[16])}else if(f===1&&b===0){this.flexing=true}break;case(12<<8)+17:break;case(12<<8)+33:this.stack=[];break;default:(0,a.warn)('Unknown type 1 charstring command of "'+d+'"');break}if(l){break}continue}else if(d<=246){d=d-139}else if(d<=250){d=(d-247)*256+t[++h]+108}else if(d<=254){d=-((d-251)*256)-t[++h]-108}else{d=(t[++h]&255)<<24|(t[++h]&255)<<16|(t[++h]&255)<<8|(t[++h]&255)<<0}this.stack.push(d)}return l},executeCommand:function e(r,t,a){var i=this.stack.length;if(r>i){return true}var n=i-r;for(var o=n;o<i;o++){var s=this.stack[o];if(Number.isInteger(s)){this.output.push(28,s>>8&255,s&255)}else{s=65536*s|0;this.output.push(255,s>>24&255,s>>16&255,s>>8&255,s&255)}}this.output.push.apply(this.output,t);if(a){this.stack.splice(n,r)}else{this.stack.length=0}return false}};return t}();var l=function e(){var r=55665;var t=4330;function l(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function c(e,r,t){if(t>=e.length){return new Uint8Array(0)}var a=r|0,i=52845,n=22719,o,s;for(o=0;o<t;o++){a=(e[o]+a)*i+n&(1<<16)-1}var l=e.length-t;var c=new Uint8Array(l);for(o=t,s=0;s<l;o++,s++){var u=e[o];c[s]=u^a>>8;a=(u+a)*i+n&(1<<16)-1}return c}function u(e,r,t){var a=r|0,i=52845,n=22719;var o=e.length,s=o>>>1;var c=new Uint8Array(s);var u,f;for(u=0,f=0;u<o;u++){var h=e[u];if(!l(h)){continue}u++;var d;while(u<o&&!l(d=e[u])){u++}if(u<o){var v=parseInt(String.fromCharCode(h,d),16);c[f++]=v^a>>8;a=(v+a)*i+n&(1<<16)-1}}return Array.prototype.slice.call(c,t,f)}function f(e){return e===47||e===91||e===93||e===123||e===125||e===40||e===41}function h(e,t,a){if(t){var i=e.getBytes();var o=!(l(i[0])&&l(i[1])&&l(i[2])&&l(i[3]));e=new n.Stream(o?c(i,r,4):u(i,r,4))}this.seacAnalysisEnabled=!!a;this.stream=e;this.nextChar()}h.prototype={readNumberArray:function e(){this.getToken();var r=[];while(true){var t=this.getToken();if(t===null||t==="]"||t==="}"){break}r.push(parseFloat(t||0))}return r},readNumber:function e(){var r=this.getToken();return parseFloat(r||0)},readInt:function e(){var r=this.getToken();return parseInt(r||0,10)|0},readBoolean:function e(){var r=this.getToken();return r==="true"?1:0},nextChar:function e(){return this.currentChar=this.stream.getByte()},getToken:function e(){var r=false;var t=this.currentChar;while(true){if(t===-1){return null}if(r){if(t===10||t===13){r=false}}else if(t===37){r=true}else if(!(0,a.isSpace)(t)){break}t=this.nextChar()}if(f(t)){this.nextChar();return String.fromCharCode(t)}var i="";do{i+=String.fromCharCode(t);t=this.nextChar()}while(t>=0&&!(0,a.isSpace)(t)&&!f(t));return i},readCharStrings:function e(r,a){if(a===-1){return r}return c(r,t,a)},extractFontProgram:function e(){var r=this.stream;var t=[],a=[];var i=Object.create(null);i["lenIV"]=4;var n={subrs:[],charstrings:[],properties:{privateData:i}};var l,c,u,f,h;while((l=this.getToken())!==null){if(l!=="/"){continue}l=this.getToken();switch(l){case"CharStrings":this.getToken();this.getToken();this.getToken();this.getToken();while(true){l=this.getToken();if(l===null||l==="end"){break}if(l!=="/"){continue}var d=this.getToken();c=this.readInt();this.getToken();u=c>0?r.getBytes(c):new Uint8Array(0);f=n.properties.privateData["lenIV"];h=this.readCharStrings(u,f);this.nextChar();l=this.getToken();if(l==="noaccess"){this.getToken()}a.push({glyph:d,encoded:h})}break;case"Subrs":this.readInt();this.getToken();while(this.getToken()==="dup"){var v=this.readInt();c=this.readInt();this.getToken();u=c>0?r.getBytes(c):new Uint8Array(0);f=n.properties.privateData["lenIV"];h=this.readCharStrings(u,f);this.nextChar();l=this.getToken();if(l==="noaccess"){this.getToken()}t[v]=h}break;case"BlueValues":case"OtherBlues":case"FamilyBlues":case"FamilyOtherBlues":var g=this.readNumberArray();if(g.length>0&&g.length%2===0&&o){n.properties.privateData[l]=g}break;case"StemSnapH":case"StemSnapV":n.properties.privateData[l]=this.readNumberArray();break;case"StdHW":case"StdVW":n.properties.privateData[l]=this.readNumberArray()[0];break;case"BlueShift":case"lenIV":case"BlueFuzz":case"BlueScale":case"LanguageGroup":case"ExpansionFactor":n.properties.privateData[l]=this.readNumber();break;case"ForceBold":n.properties.privateData[l]=this.readBoolean();break}}for(var m=0;m<a.length;m++){d=a[m].glyph;h=a[m].encoded;var p=new s;var b=p.convert(h,t,this.seacAnalysisEnabled);var y=p.output;if(b){y=[14]}n.charstrings.push({glyphName:d,charstring:y,width:p.width,lsb:p.lsb,seac:p.seac})}return n},extractFontHeader:function e(r){var t;while((t=this.getToken())!==null){if(t!=="/"){continue}t=this.getToken();switch(t){case"FontMatrix":var a=this.readNumberArray();r.fontMatrix=a;break;case"Encoding":var n=this.getToken();var o;if(!/^\d+$/.test(n)){o=(0,i.getEncoding)(n)}else{o=[];var s=parseInt(n,10)|0;this.getToken();for(var l=0;l<s;l++){t=this.getToken();while(t!=="dup"&&t!=="def"){t=this.getToken();if(t===null){return}}if(t==="def"){break}var c=this.readInt();this.getToken();var u=this.getToken();o[c]=u;this.getToken()}}r.builtInEncoding=o;break;case"FontBBox":var f=this.readNumberArray();r.ascent=Math.max(f[3],f[1]);r.descent=Math.min(f[1],f[3]);r.ascentScaled=true;break}}}};return h}();r.Type1Parser=l},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:true});r.getTilingPatternIR=r.Pattern=undefined;var a=t(2);var i=t(151);var n=t(138);var o={FUNCTION_BASED:1,AXIAL:2,RADIAL:3,FREE_FORM_MESH:4,LATTICE_FORM_MESH:5,COONS_PATCH_MESH:6,TENSOR_PATCH_MESH:7};var s=function e(){function r(){(0,a.unreachable)("should not call Pattern constructor")}r.prototype={getPattern:function e(r){(0,a.unreachable)("Should not call Pattern.getStyle: "+r)}};r.parseShading=function(e,r,t,i,s,c){var u=(0,n.isStream)(e)?e.dict:e;var f=u.get("ShadingType");try{switch(f){case o.AXIAL:case o.RADIAL:return new l.RadialAxial(u,r,t,i,c);case o.FREE_FORM_MESH:case o.LATTICE_FORM_MESH:case o.COONS_PATCH_MESH:case o.TENSOR_PATCH_MESH:return new l.Mesh(e,r,t,i,c);default:throw new a.FormatError("Unsupported ShadingType: "+f)}}catch(e){if(e instanceof a.MissingDataException){throw e}s.send("UnsupportedFeature",{featureId:a.UNSUPPORTED_FEATURES.shadingPattern});(0,a.warn)(e);return new l.Dummy}};return r}();var l={};l.SMALL_NUMBER=1e-6;l.RadialAxial=function e(){function r(e,r,t,n,s){this.matrix=r;this.coordsArr=e.getArray("Coords");this.shadingType=e.get("ShadingType");this.type="Pattern";var c=e.get("ColorSpace","CS");c=i.ColorSpace.parse(c,t,n,s);this.cs=c;var u=0,f=1;if(e.has("Domain")){var h=e.getArray("Domain");u=h[0];f=h[1]}var d=false,v=false;if(e.has("Extend")){var g=e.getArray("Extend");d=g[0];v=g[1]}if(this.shadingType===o.RADIAL&&(!d||!v)){var m=this.coordsArr[0];var p=this.coordsArr[1];var b=this.coordsArr[2];var y=this.coordsArr[3];var w=this.coordsArr[4];var k=this.coordsArr[5];var S=Math.sqrt((m-y)*(m-y)+(p-w)*(p-w));if(b<=k+S&&k<=b+S){(0,a.warn)("Unsupported radial gradient.")}}this.extendStart=d;this.extendEnd=v;var C=e.get("Function");var x=s.createFromArray(C);var _=f-u;var A=_/10;var P=this.colorStops=[];if(u>=f||A<=0){(0,a.info)("Bad shading domain.");return}var I=new Float32Array(c.numComps),O=new Float32Array(1);var T;for(var E=u;E<=f;E+=A){O[0]=E;x(O,0,I,0);T=c.getRgb(I,0);var F=a.Util.makeCssRgb(T[0],T[1],T[2]);P.push([(E-u)/_,F])}var R="transparent";if(e.has("Background")){T=c.getRgb(e.get("Background"),0);R=a.Util.makeCssRgb(T[0],T[1],T[2])}if(!d){P.unshift([0,R]);P[1][0]+=l.SMALL_NUMBER}if(!v){P[P.length-1][0]-=l.SMALL_NUMBER;P.push([1,R])}this.colorStops=P}r.prototype={getIR:function e(){var r=this.coordsArr;var t=this.shadingType;var i,n,s,l,c;if(t===o.AXIAL){n=[r[0],r[1]];s=[r[2],r[3]];l=null;c=null;i="axial"}else if(t===o.RADIAL){n=[r[0],r[1]];s=[r[3],r[4]];l=r[2];c=r[5];i="radial"}else{(0,a.unreachable)("getPattern type unknown: "+t)}var u=this.matrix;if(u){n=a.Util.applyTransform(n,u);s=a.Util.applyTransform(s,u);if(t===o.RADIAL){var f=a.Util.singularValueDecompose2dScale(u);l*=f[0];c*=f[1]}}return["RadialAxial",i,this.colorStops,n,s,l,c]}};return r}();l.Mesh=function e(){function r(e,r){this.stream=e;this.context=r;this.buffer=0;this.bufferLength=0;var t=r.numComps;this.tmpCompsBuf=new Float32Array(t);var a=r.colorSpace.numComps;this.tmpCsCompsBuf=r.colorFn?new Float32Array(a):this.tmpCompsBuf}r.prototype={get hasData(){if(this.stream.end){return this.stream.pos<this.stream.end}if(this.bufferLength>0){return true}var e=this.stream.getByte();if(e<0){return false}this.buffer=e;this.bufferLength=8;return true},readBits:function e(r){var t=this.buffer;var a=this.bufferLength;if(r===32){if(a===0){return(this.stream.getByte()<<24|this.stream.getByte()<<16|this.stream.getByte()<<8|this.stream.getByte())>>>0}t=t<<24|this.stream.getByte()<<16|this.stream.getByte()<<8|this.stream.getByte();var i=this.stream.getByte();this.buffer=i&(1<<a)-1;return(t<<8-a|(i&255)>>a)>>>0}if(r===8&&a===0){return this.stream.getByte()}while(a<r){t=t<<8|this.stream.getByte();a+=8}a-=r;this.bufferLength=a;this.buffer=t&(1<<a)-1;return t>>a},align:function e(){this.buffer=0;this.bufferLength=0},readFlag:function e(){return this.readBits(this.context.bitsPerFlag)},readCoordinate:function e(){var r=this.context.bitsPerCoordinate;var t=this.readBits(r);var a=this.readBits(r);var i=this.context.decode;var n=r<32?1/((1<<r)-1):2.3283064365386963e-10;return[t*n*(i[1]-i[0])+i[0],a*n*(i[3]-i[2])+i[2]]},readComponents:function e(){var r=this.context.numComps;var t=this.context.bitsPerComponent;var a=t<32?1/((1<<t)-1):2.3283064365386963e-10;var i=this.context.decode;var n=this.tmpCompsBuf;for(var o=0,s=4;o<r;o++,s+=2){var l=this.readBits(t);n[o]=l*a*(i[s+1]-i[s])+i[s]}var c=this.tmpCsCompsBuf;if(this.context.colorFn){this.context.colorFn(n,0,c,0)}return this.context.colorSpace.getRgb(c,0)}};function t(e,r){var t=e.coords;var i=e.colors;var n=[];var o=[];var s=0;while(r.hasData){var l=r.readFlag();var c=r.readCoordinate();var u=r.readComponents();if(s===0){if(!(0<=l&&l<=2)){throw new a.FormatError("Unknown type4 flag")}switch(l){case 0:s=3;break;case 1:o.push(o[o.length-2],o[o.length-1]);s=1;break;case 2:o.push(o[o.length-3],o[o.length-1]);s=1;break}n.push(l)}o.push(t.length);t.push(c);i.push(u);s--;r.align()}e.figures.push({type:"triangles",coords:new Int32Array(o),colors:new Int32Array(o)})}function s(e,r,t){var a=e.coords;var i=e.colors;var n=[];while(r.hasData){var o=r.readCoordinate();var s=r.readComponents();n.push(a.length);a.push(o);i.push(s)}e.figures.push({type:"lattice",coords:new Int32Array(n),colors:new Int32Array(n),verticesPerRow:t})}var l=3;var c=20;var u=20;var f=function e(){function r(e){var r=[];for(var t=0;t<=e;t++){var a=t/e,i=1-a;r.push(new Float32Array([i*i*i,3*a*i*i,3*a*a*i,a*a*a]))}return r}var t=[];return function e(a){if(!t[a]){t[a]=r(a)}return t[a]}}();function h(e,r){var t=e.figures[r];(0,a.assert)(t.type==="patch","Unexpected patch mesh figure");var i=e.coords,n=e.colors;var o=t.coords;var s=t.colors;var h=Math.min(i[o[0]][0],i[o[3]][0],i[o[12]][0],i[o[15]][0]);var d=Math.min(i[o[0]][1],i[o[3]][1],i[o[12]][1],i[o[15]][1]);var v=Math.max(i[o[0]][0],i[o[3]][0],i[o[12]][0],i[o[15]][0]);var g=Math.max(i[o[0]][1],i[o[3]][1],i[o[12]][1],i[o[15]][1]);var m=Math.ceil((v-h)*u/(e.bounds[2]-e.bounds[0]));m=Math.max(l,Math.min(c,m));var p=Math.ceil((g-d)*u/(e.bounds[3]-e.bounds[1]));p=Math.max(l,Math.min(c,p));var b=m+1;var y=new Int32Array((p+1)*b);var w=new Int32Array((p+1)*b);var k=0;var S=new Uint8Array(3),C=new Uint8Array(3);var x=n[s[0]],_=n[s[1]],A=n[s[2]],P=n[s[3]];var I=f(p),O=f(m);for(var T=0;T<=p;T++){S[0]=(x[0]*(p-T)+A[0]*T)/p|0;S[1]=(x[1]*(p-T)+A[1]*T)/p|0;S[2]=(x[2]*(p-T)+A[2]*T)/p|0;C[0]=(_[0]*(p-T)+P[0]*T)/p|0;C[1]=(_[1]*(p-T)+P[1]*T)/p|0;C[2]=(_[2]*(p-T)+P[2]*T)/p|0;for(var E=0;E<=m;E++,k++){if((T===0||T===p)&&(E===0||E===m)){continue}var F=0,R=0;var B=0;for(var D=0;D<=3;D++){for(var M=0;M<=3;M++,B++){var L=I[T][D]*O[E][M];F+=i[o[B]][0]*L;R+=i[o[B]][1]*L}}y[k]=i.length;i.push([F,R]);w[k]=n.length;var N=new Uint8Array(3);N[0]=(S[0]*(m-E)+C[0]*E)/m|0;N[1]=(S[1]*(m-E)+C[1]*E)/m|0;N[2]=(S[2]*(m-E)+C[2]*E)/m|0;n.push(N)}}y[0]=o[0];w[0]=s[0];y[m]=o[3];w[m]=s[1];y[b*p]=o[12];w[b*p]=s[2];y[b*p+m]=o[15];w[b*p+m]=s[3];e.figures[r]={type:"lattice",coords:y,colors:w,verticesPerRow:b}}function d(e,r){var t=e.coords;var i=e.colors;var n=new Int32Array(16);var o=new Int32Array(4);while(r.hasData){var s=r.readFlag();if(!(0<=s&&s<=3)){throw new a.FormatError("Unknown type6 flag")}var l,c;var u=t.length;for(l=0,c=s!==0?8:12;l<c;l++){t.push(r.readCoordinate())}var f=i.length;for(l=0,c=s!==0?2:4;l<c;l++){i.push(r.readComponents())}var h,d,v,g;switch(s){case 0:n[12]=u+3;n[13]=u+4;n[14]=u+5;n[15]=u+6;n[8]=u+2;n[11]=u+7;n[4]=u+1;n[7]=u+8;n[0]=u;n[1]=u+11;n[2]=u+10;n[3]=u+9;o[2]=f+1;o[3]=f+2;o[0]=f;o[1]=f+3;break;case 1:h=n[12];d=n[13];v=n[14];g=n[15];n[12]=g;n[13]=u+0;n[14]=u+1;n[15]=u+2;n[8]=v;n[11]=u+3;n[4]=d;n[7]=u+4;n[0]=h;n[1]=u+7;n[2]=u+6;n[3]=u+5;h=o[2];d=o[3];o[2]=d;o[3]=f;o[0]=h;o[1]=f+1;break;case 2:h=n[15];d=n[11];n[12]=n[3];n[13]=u+0;n[14]=u+1;n[15]=u+2;n[8]=n[7];n[11]=u+3;n[4]=d;n[7]=u+4;n[0]=h;n[1]=u+7;n[2]=u+6;n[3]=u+5;h=o[3];o[2]=o[1];o[3]=f;o[0]=h;o[1]=f+1;break;case 3:n[12]=n[0];n[13]=u+0;n[14]=u+1;n[15]=u+2;n[8]=n[1];n[11]=u+3;n[4]=n[2];n[7]=u+4;n[0]=n[3];n[1]=u+7;n[2]=u+6;n[3]=u+5;o[2]=o[0];o[3]=f;o[0]=o[1];o[1]=f+1;break}n[5]=t.length;t.push([(-4*t[n[0]][0]-t[n[15]][0]+6*(t[n[4]][0]+t[n[1]][0])-2*(t[n[12]][0]+t[n[3]][0])+3*(t[n[13]][0]+t[n[7]][0]))/9,(-4*t[n[0]][1]-t[n[15]][1]+6*(t[n[4]][1]+t[n[1]][1])-2*(t[n[12]][1]+t[n[3]][1])+3*(t[n[13]][1]+t[n[7]][1]))/9]);n[6]=t.length;t.push([(-4*t[n[3]][0]-t[n[12]][0]+6*(t[n[2]][0]+t[n[7]][0])-2*(t[n[0]][0]+t[n[15]][0])+3*(t[n[4]][0]+t[n[14]][0]))/9,(-4*t[n[3]][1]-t[n[12]][1]+6*(t[n[2]][1]+t[n[7]][1])-2*(t[n[0]][1]+t[n[15]][1])+3*(t[n[4]][1]+t[n[14]][1]))/9]);n[9]=t.length;t.push([(-4*t[n[12]][0]-t[n[3]][0]+6*(t[n[8]][0]+t[n[13]][0])-2*(t[n[0]][0]+t[n[15]][0])+3*(t[n[11]][0]+t[n[1]][0]))/9,(-4*t[n[12]][1]-t[n[3]][1]+6*(t[n[8]][1]+t[n[13]][1])-2*(t[n[0]][1]+t[n[15]][1])+3*(t[n[11]][1]+t[n[1]][1]))/9]);n[10]=t.length;t.push([(-4*t[n[15]][0]-t[n[0]][0]+6*(t[n[11]][0]+t[n[14]][0])-2*(t[n[12]][0]+t[n[3]][0])+3*(t[n[2]][0]+t[n[8]][0]))/9,(-4*t[n[15]][1]-t[n[0]][1]+6*(t[n[11]][1]+t[n[14]][1])-2*(t[n[12]][1]+t[n[3]][1])+3*(t[n[2]][1]+t[n[8]][1]))/9]);e.figures.push({type:"patch",coords:new Int32Array(n),colors:new Int32Array(o)})}}function v(e,r){var t=e.coords;var i=e.colors;var n=new Int32Array(16);var o=new Int32Array(4);while(r.hasData){var s=r.readFlag();if(!(0<=s&&s<=3)){throw new a.FormatError("Unknown type7 flag")}var l,c;var u=t.length;for(l=0,c=s!==0?12:16;l<c;l++){t.push(r.readCoordinate())}var f=i.length;for(l=0,c=s!==0?2:4;l<c;l++){i.push(r.readComponents())}var h,d,v,g;switch(s){case 0:n[12]=u+3;n[13]=u+4;n[14]=u+5;n[15]=u+6;n[8]=u+2;n[9]=u+13;n[10]=u+14;n[11]=u+7;n[4]=u+1;n[5]=u+12;n[6]=u+15;n[7]=u+8;n[0]=u;n[1]=u+11;n[2]=u+10;n[3]=u+9;o[2]=f+1;o[3]=f+2;o[0]=f;o[1]=f+3;break;case 1:h=n[12];d=n[13];v=n[14];g=n[15];n[12]=g;n[13]=u+0;n[14]=u+1;n[15]=u+2;n[8]=v;n[9]=u+9;n[10]=u+10;n[11]=u+3;n[4]=d;n[5]=u+8;n[6]=u+11;n[7]=u+4;n[0]=h;n[1]=u+7;n[2]=u+6;n[3]=u+5;h=o[2];d=o[3];o[2]=d;o[3]=f;o[0]=h;o[1]=f+1;break;case 2:h=n[15];d=n[11];n[12]=n[3];n[13]=u+0;n[14]=u+1;n[15]=u+2;n[8]=n[7];n[9]=u+9;n[10]=u+10;n[11]=u+3;n[4]=d;n[5]=u+8;n[6]=u+11;n[7]=u+4;n[0]=h;n[1]=u+7;n[2]=u+6;n[3]=u+5;h=o[3];o[2]=o[1];o[3]=f;o[0]=h;o[1]=f+1;break;case 3:n[12]=n[0];n[13]=u+0;n[14]=u+1;n[15]=u+2;n[8]=n[1];n[9]=u+9;n[10]=u+10;n[11]=u+3;n[4]=n[2];n[5]=u+8;n[6]=u+11;n[7]=u+4;n[0]=n[3];n[1]=u+7;n[2]=u+6;n[3]=u+5;o[2]=o[0];o[3]=f;o[0]=o[1];o[1]=f+1;break}e.figures.push({type:"patch",coords:new Int32Array(n),colors:new Int32Array(o)})}}function g(e){var r=e.coords[0][0],t=e.coords[0][1],a=r,i=t;for(var n=1,o=e.coords.length;n<o;n++){var s=e.coords[n][0],l=e.coords[n][1];r=r>s?s:r;t=t>l?l:t;a=a<s?s:a;i=i<l?l:i}e.bounds=[r,t,a,i]}function m(e){var r,t,a,i;var n=e.coords;var o=new Float32Array(n.length*2);for(r=0,a=0,t=n.length;r<t;r++){var s=n[r];o[a++]=s[0];o[a++]=s[1]}e.coords=o;var l=e.colors;var c=new Uint8Array(l.length*3);for(r=0,a=0,t=l.length;r<t;r++){var u=l[r];c[a++]=u[0];c[a++]=u[1];c[a++]=u[2]}e.colors=c;var f=e.figures;for(r=0,t=f.length;r<t;r++){var h=f[r],d=h.coords,v=h.colors;for(a=0,i=d.length;a<i;a++){d[a]*=2;v[a]*=3}}}function p(e,l,c,u,f){if(!(0,n.isStream)(e)){throw new a.FormatError("Mesh data is not a stream")}var p=e.dict;this.matrix=l;this.shadingType=p.get("ShadingType");this.type="Pattern";this.bbox=p.getArray("BBox");var b=p.get("ColorSpace","CS");b=i.ColorSpace.parse(b,c,u,f);this.cs=b;this.background=p.has("Background")?b.getRgb(p.get("Background"),0):null;var y=p.get("Function");var w=y?f.createFromArray(y):null;this.coords=[];this.colors=[];this.figures=[];var k={bitsPerCoordinate:p.get("BitsPerCoordinate"),bitsPerComponent:p.get("BitsPerComponent"),bitsPerFlag:p.get("BitsPerFlag"),decode:p.getArray("Decode"),colorFn:w,colorSpace:b,numComps:w?1:b.numComps};var S=new r(e,k);var C=false;switch(this.shadingType){case o.FREE_FORM_MESH:t(this,S);break;case o.LATTICE_FORM_MESH:var x=p.get("VerticesPerRow")|0;if(x<2){throw new a.FormatError("Invalid VerticesPerRow")}s(this,S,x);break;case o.COONS_PATCH_MESH:d(this,S);C=true;break;case o.TENSOR_PATCH_MESH:v(this,S);C=true;break;default:(0,a.unreachable)("Unsupported mesh type.");break}if(C){g(this);for(var _=0,A=this.figures.length;_<A;_++){h(this,_)}}g(this);m(this)}p.prototype={getIR:function e(){return["Mesh",this.shadingType,this.coords,this.colors,this.figures,this.bounds,this.matrix,this.bbox,this.background]}};return p}();l.Dummy=function e(){function r(){this.type="Pattern"}r.prototype={getIR:function e(){return["Dummy"]}};return r}();function c(e,r,t){var i=r.getArray("Matrix");var n=a.Util.normalizeRect(r.getArray("BBox"));var o=r.get("XStep");var s=r.get("YStep");var l=r.get("PaintType");var c=r.get("TilingType");if(n[2]-n[0]===0||n[3]-n[1]===0){throw new a.FormatError("Invalid getTilingPatternIR /BBox array: ["+n+"].")}return["TilingPattern",t,e,i,n,o,s,l,c]}r.Pattern=s;r.getTilingPatternIR=c},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:true});r.bidi=undefined;var a=t(2);var i=["BN","BN","BN","BN","BN","BN","BN","BN","BN","S","B","S","WS","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","B","B","B","S","WS","ON","ON","ET","ET","ET","ON","ON","ON","ON","ON","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","ON","ON","ON","ON","ON","ON","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","ON","ON","ON","ON","ON","ON","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","ON","ON","ON","ON","BN","BN","BN","BN","BN","BN","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","CS","ON","ET","ET","ET","ET","ON","ON","ON","ON","L","ON","ON","BN","ON","ON","ET","ET","EN","EN","ON","L","ON","ON","ON","EN","L","ON","ON","ON","ON","ON","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","ON","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","ON","L","L","L","L","L","L","L","L"];var n=["AN","AN","AN","AN","AN","AN","ON","ON","AL","ET","ET","AL","CS","AL","ON","ON","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","AN","AN","AN","AN","AN","AN","AN","AN","AN","ET","AN","AN","AL","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","ON","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","NSM","NSM","ON","NSM","NSM","NSM","NSM","AL","AL","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","AL","AL","AL","AL","AL","AL"];function o(e){return(e&1)!==0}function s(e){return(e&1)===0}function l(e,r,t){for(var a=r,i=e.length;a<i;++a){if(e[a]!==t){return a}}return a}function c(e,r,t,a){for(var i=r;i<t;++i){e[i]=a}}function u(e,r,t){for(var a=r,i=t-1;a<i;++a,--i){var n=e[a];e[a]=e[i];e[i]=n}}function f(e,r,t){return{str:e,dir:t?"ttb":r?"ltr":"rtl"}}var h=[];var d=[];function v(e,r,t){var v=true;var g=e.length;if(g===0||t){return f(e,v,t)}h.length=g;d.length=g;var m=0;var p,b;for(p=0;p<g;++p){h[p]=e.charAt(p);var y=e.charCodeAt(p);var w="L";if(y<=255){w=i[y]}else if(1424<=y&&y<=1524){w="R"}else if(1536<=y&&y<=1791){w=n[y&255];if(!w){(0,a.warn)("Bidi: invalid Unicode character "+y.toString(16))}}else if(1792<=y&&y<=2220){w="AL"}if(w==="R"||w==="AL"||w==="AN"){m++}d[p]=w}if(m===0){v=true;return f(e,v)}if(r===-1){if(m/g<.3){v=true;r=0}else{v=false;r=1}}var k=[];for(p=0;p<g;++p){k[p]=r}var S=o(r)?"R":"L";var C=S;var x=C;var _=C;for(p=0;p<g;++p){if(d[p]==="NSM"){d[p]=_}else{_=d[p]}}_=C;var A;for(p=0;p<g;++p){A=d[p];if(A==="EN"){d[p]=_==="AL"?"AN":"EN"}else if(A==="R"||A==="L"||A==="AL"){_=A}}for(p=0;p<g;++p){A=d[p];if(A==="AL"){d[p]="R"}}for(p=1;p<g-1;++p){if(d[p]==="ES"&&d[p-1]==="EN"&&d[p+1]==="EN"){d[p]="EN"}if(d[p]==="CS"&&(d[p-1]==="EN"||d[p-1]==="AN")&&d[p+1]===d[p-1]){d[p]=d[p-1]}}for(p=0;p<g;++p){if(d[p]==="EN"){var P;for(P=p-1;P>=0;--P){if(d[P]!=="ET"){break}d[P]="EN"}for(P=p+1;P<g;++P){if(d[P]!=="ET"){break}d[P]="EN"}}}for(p=0;p<g;++p){A=d[p];if(A==="WS"||A==="ES"||A==="ET"||A==="CS"){d[p]="ON"}}_=C;for(p=0;p<g;++p){A=d[p];if(A==="EN"){d[p]=_==="L"?"L":"EN"}else if(A==="R"||A==="L"){_=A}}for(p=0;p<g;++p){if(d[p]==="ON"){var I=l(d,p+1,"ON");var O=C;if(p>0){O=d[p-1]}var T=x;if(I+1<g){T=d[I+1]}if(O!=="L"){O="R"}if(T!=="L"){T="R"}if(O===T){c(d,p,I,O)}p=I-1}}for(p=0;p<g;++p){if(d[p]==="ON"){d[p]=S}}for(p=0;p<g;++p){A=d[p];if(s(k[p])){if(A==="R"){k[p]+=1}else if(A==="AN"||A==="EN"){k[p]+=2}}else{if(A==="L"||A==="AN"||A==="EN"){k[p]+=1}}}var E=-1;var F=99;var R;for(p=0,b=k.length;p<b;++p){R=k[p];if(E<R){E=R}if(F>R&&o(R)){F=R}}for(R=E;R>=F;--R){var B=-1;for(p=0,b=k.length;p<b;++p){if(k[p]<R){if(B>=0){u(h,B,p);B=-1}}else if(B<0){B=p}}if(B>=0){u(h,B,k.length)}}for(p=0,b=h.length;p<b;++p){var D=h[p];if(D==="<"||D===">"){h[p]=""}}return f(h.join(""),v)}r.bidi=v},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:true});r.getMetrics=undefined;var a=t(2);var i=(0,a.getLookupTableFactory)(function(e){e["Courier"]=600;e["Courier-Bold"]=600;e["Courier-BoldOblique"]=600;e["Courier-Oblique"]=600;e["Helvetica"]=(0,a.getLookupTableFactory)(function(e){e["space"]=278;e["exclam"]=278;e["quotedbl"]=355;e["numbersign"]=556;e["dollar"]=556;e["percent"]=889;e["ampersand"]=667;e["quoteright"]=222;e["parenleft"]=333;e["parenright"]=333;e["asterisk"]=389;e["plus"]=584;e["comma"]=278;e["hyphen"]=333;e["period"]=278;e["slash"]=278;e["zero"]=556;e["one"]=556;e["two"]=556;e["three"]=556;e["four"]=556;e["five"]=556;e["six"]=556;e["seven"]=556;e["eight"]=556;e["nine"]=556;e["colon"]=278;e["semicolon"]=278;e["less"]=584;e["equal"]=584;e["greater"]=584;e["question"]=556;e["at"]=1015;e["A"]=667;e["B"]=667;e["C"]=722;e["D"]=722;e["E"]=667;e["F"]=611;e["G"]=778;e["H"]=722;e["I"]=278;e["J"]=500;e["K"]=667;e["L"]=556;e["M"]=833;e["N"]=722;e["O"]=778;e["P"]=667;e["Q"]=778;e["R"]=722;e["S"]=667;e["T"]=611;e["U"]=722;e["V"]=667;e["W"]=944;e["X"]=667;e["Y"]=667;e["Z"]=611;e["bracketleft"]=278;e["backslash"]=278;e["bracketright"]=278;e["asciicircum"]=469;e["underscore"]=556;e["quoteleft"]=222;e["a"]=556;e["b"]=556;e["c"]=500;e["d"]=556;e["e"]=556;e["f"]=278;e["g"]=556;e["h"]=556;e["i"]=222;e["j"]=222;e["k"]=500;e["l"]=222;e["m"]=833;e["n"]=556;e["o"]=556;e["p"]=556;e["q"]=556;e["r"]=333;e["s"]=500;e["t"]=278;e["u"]=556;e["v"]=500;e["w"]=722;e["x"]=500;e["y"]=500;e["z"]=500;e["braceleft"]=334;e["bar"]=260;e["braceright"]=334;e["asciitilde"]=584;e["exclamdown"]=333;e["cent"]=556;e["sterling"]=556;e["fraction"]=167;e["yen"]=556;e["florin"]=556;e["section"]=556;e["currency"]=556;e["quotesingle"]=191;e["quotedblleft"]=333;e["guillemotleft"]=556;e["guilsinglleft"]=333;e["guilsinglright"]=333;e["fi"]=500;e["fl"]=500;e["endash"]=556;e["dagger"]=556;e["daggerdbl"]=556;e["periodcentered"]=278;e["paragraph"]=537;e["bullet"]=350;e["quotesinglbase"]=222;e["quotedblbase"]=333;e["quotedblright"]=333;e["guillemotright"]=556;e["ellipsis"]=1e3;e["perthousand"]=1e3;e["questiondown"]=611;e["grave"]=333;e["acute"]=333;e["circumflex"]=333;e["tilde"]=333;e["macron"]=333;e["breve"]=333;e["dotaccent"]=333;e["dieresis"]=333;e["ring"]=333;e["cedilla"]=333;e["hungarumlaut"]=333;e["ogonek"]=333;e["caron"]=333;e["emdash"]=1e3;e["AE"]=1e3;e["ordfeminine"]=370;e["Lslash"]=556;e["Oslash"]=778;e["OE"]=1e3;e["ordmasculine"]=365;e["ae"]=889;e["dotlessi"]=278;e["lslash"]=222;e["oslash"]=611;e["oe"]=944;e["germandbls"]=611;e["Idieresis"]=278;e["eacute"]=556;e["abreve"]=556;e["uhungarumlaut"]=556;e["ecaron"]=556;e["Ydieresis"]=667;e["divide"]=584;e["Yacute"]=667;e["Acircumflex"]=667;e["aacute"]=556;e["Ucircumflex"]=722;e["yacute"]=500;e["scommaaccent"]=500;e["ecircumflex"]=556;e["Uring"]=722;e["Udieresis"]=722;e["aogonek"]=556;e["Uacute"]=722;e["uogonek"]=556;e["Edieresis"]=667;e["Dcroat"]=722;e["commaaccent"]=250;e["copyright"]=737;e["Emacron"]=667;e["ccaron"]=500;e["aring"]=556;e["Ncommaaccent"]=722;e["lacute"]=222;e["agrave"]=556;e["Tcommaaccent"]=611;e["Cacute"]=722;e["atilde"]=556;e["Edotaccent"]=667;e["scaron"]=500;e["scedilla"]=500;e["iacute"]=278;e["lozenge"]=471;e["Rcaron"]=722;e["Gcommaaccent"]=778;e["ucircumflex"]=556;e["acircumflex"]=556;e["Amacron"]=667;e["rcaron"]=333;e["ccedilla"]=500;e["Zdotaccent"]=611;e["Thorn"]=667;e["Omacron"]=778;e["Racute"]=722;e["Sacute"]=667;e["dcaron"]=643;e["Umacron"]=722;e["uring"]=556;e["threesuperior"]=333;e["Ograve"]=778;e["Agrave"]=667;e["Abreve"]=667;e["multiply"]=584;e["uacute"]=556;e["Tcaron"]=611;e["partialdiff"]=476;e["ydieresis"]=500;e["Nacute"]=722;e["icircumflex"]=278;e["Ecircumflex"]=667;e["adieresis"]=556;e["edieresis"]=556;e["cacute"]=500;e["nacute"]=556;e["umacron"]=556;e["Ncaron"]=722;e["Iacute"]=278;e["plusminus"]=584;e["brokenbar"]=260;e["registered"]=737;e["Gbreve"]=778;e["Idotaccent"]=278;e["summation"]=600;e["Egrave"]=667;e["racute"]=333;e["omacron"]=556;e["Zacute"]=611;e["Zcaron"]=611;e["greaterequal"]=549;e["Eth"]=722;e["Ccedilla"]=722;e["lcommaaccent"]=222;e["tcaron"]=317;e["eogonek"]=556;e["Uogonek"]=722;e["Aacute"]=667;e["Adieresis"]=667;e["egrave"]=556;e["zacute"]=500;e["iogonek"]=222;e["Oacute"]=778;e["oacute"]=556;e["amacron"]=556;e["sacute"]=500;e["idieresis"]=278;e["Ocircumflex"]=778;e["Ugrave"]=722;e["Delta"]=612;e["thorn"]=556;e["twosuperior"]=333;e["Odieresis"]=778;e["mu"]=556;e["igrave"]=278;e["ohungarumlaut"]=556;e["Eogonek"]=667;e["dcroat"]=556;e["threequarters"]=834;e["Scedilla"]=667;e["lcaron"]=299;e["Kcommaaccent"]=667;e["Lacute"]=556;e["trademark"]=1e3;e["edotaccent"]=556;e["Igrave"]=278;e["Imacron"]=278;e["Lcaron"]=556;e["onehalf"]=834;e["lessequal"]=549;e["ocircumflex"]=556;e["ntilde"]=556;e["Uhungarumlaut"]=722;e["Eacute"]=667;e["emacron"]=556;e["gbreve"]=556;e["onequarter"]=834;e["Scaron"]=667;e["Scommaaccent"]=667;e["Ohungarumlaut"]=778;e["degree"]=400;e["ograve"]=556;e["Ccaron"]=722;e["ugrave"]=556;e["radical"]=453;e["Dcaron"]=722;e["rcommaaccent"]=333;e["Ntilde"]=722;e["otilde"]=556;e["Rcommaaccent"]=722;e["Lcommaaccent"]=556;e["Atilde"]=667;e["Aogonek"]=667;e["Aring"]=667;e["Otilde"]=778;e["zdotaccent"]=500;e["Ecaron"]=667;e["Iogonek"]=278;e["kcommaaccent"]=500;e["minus"]=584;e["Icircumflex"]=278;e["ncaron"]=556;e["tcommaaccent"]=278;e["logicalnot"]=584;e["odieresis"]=556;e["udieresis"]=556;e["notequal"]=549;e["gcommaaccent"]=556;e["eth"]=556;e["zcaron"]=500;e["ncommaaccent"]=556;e["onesuperior"]=333;e["imacron"]=278;e["Euro"]=556});e["Helvetica-Bold"]=(0,a.getLookupTableFactory)(function(e){e["space"]=278;e["exclam"]=333;e["quotedbl"]=474;e["numbersign"]=556;e["dollar"]=556;e["percent"]=889;e["ampersand"]=722;e["quoteright"]=278;e["parenleft"]=333;e["parenright"]=333;e["asterisk"]=389;e["plus"]=584;e["comma"]=278;e["hyphen"]=333;e["period"]=278;e["slash"]=278;e["zero"]=556;e["one"]=556;e["two"]=556;e["three"]=556;e["four"]=556;e["five"]=556;e["six"]=556;e["seven"]=556;e["eight"]=556;e["nine"]=556;e["colon"]=333;e["semicolon"]=333;e["less"]=584;e["equal"]=584;e["greater"]=584;e["question"]=611;e["at"]=975;e["A"]=722;e["B"]=722;e["C"]=722;e["D"]=722;e["E"]=667;e["F"]=611;e["G"]=778;e["H"]=722;e["I"]=278;e["J"]=556;e["K"]=722;e["L"]=611;e["M"]=833;e["N"]=722;e["O"]=778;e["P"]=667;e["Q"]=778;e["R"]=722;e["S"]=667;e["T"]=611;e["U"]=722;e["V"]=667;e["W"]=944;e["X"]=667;e["Y"]=667;e["Z"]=611;e["bracketleft"]=333;e["backslash"]=278;e["bracketright"]=333;e["asciicircum"]=584;e["underscore"]=556;e["quoteleft"]=278;e["a"]=556;e["b"]=611;e["c"]=556;e["d"]=611;e["e"]=556;e["f"]=333;e["g"]=611;e["h"]=611;e["i"]=278;e["j"]=278;e["k"]=556;e["l"]=278;e["m"]=889;e["n"]=611;e["o"]=611;e["p"]=611;e["q"]=611;e["r"]=389;e["s"]=556;e["t"]=333;e["u"]=611;e["v"]=556;e["w"]=778;e["x"]=556;e["y"]=556;e["z"]=500;e["braceleft"]=389;e["bar"]=280;e["braceright"]=389;e["asciitilde"]=584;e["exclamdown"]=333;e["cent"]=556;e["sterling"]=556;e["fraction"]=167;e["yen"]=556;e["florin"]=556;e["section"]=556;e["currency"]=556;e["quotesingle"]=238;e["quotedblleft"]=500;e["guillemotleft"]=556;e["guilsinglleft"]=333;e["guilsinglright"]=333;e["fi"]=611;e["fl"]=611;e["endash"]=556;e["dagger"]=556;e["daggerdbl"]=556;e["periodcentered"]=278;e["paragraph"]=556;e["bullet"]=350;e["quotesinglbase"]=278;e["quotedblbase"]=500;e["quotedblright"]=500;e["guillemotright"]=556;e["ellipsis"]=1e3;e["perthousand"]=1e3;e["questiondown"]=611;e["grave"]=333;e["acute"]=333;e["circumflex"]=333;e["tilde"]=333;e["macron"]=333;e["breve"]=333;e["dotaccent"]=333;e["dieresis"]=333;e["ring"]=333;e["cedilla"]=333;e["hungarumlaut"]=333;e["ogonek"]=333;e["caron"]=333;e["emdash"]=1e3;e["AE"]=1e3;e["ordfeminine"]=370;e["Lslash"]=611;e["Oslash"]=778;e["OE"]=1e3;e["ordmasculine"]=365;e["ae"]=889;e["dotlessi"]=278;e["lslash"]=278;e["oslash"]=611;e["oe"]=944;e["germandbls"]=611;e["Idieresis"]=278;e["eacute"]=556;e["abreve"]=556;e["uhungarumlaut"]=611;e["ecaron"]=556;e["Ydieresis"]=667;e["divide"]=584;e["Yacute"]=667;e["Acircumflex"]=722;e["aacute"]=556;e["Ucircumflex"]=722;e["yacute"]=556;e["scommaaccent"]=556;e["ecircumflex"]=556;e["Uring"]=722;e["Udieresis"]=722;e["aogonek"]=556;e["Uacute"]=722;e["uogonek"]=611;e["Edieresis"]=667;e["Dcroat"]=722;e["commaaccent"]=250;e["copyright"]=737;e["Emacron"]=667;e["ccaron"]=556;e["aring"]=556;e["Ncommaaccent"]=722;e["lacute"]=278;e["agrave"]=556;e["Tcommaaccent"]=611;e["Cacute"]=722;e["atilde"]=556;e["Edotaccent"]=667;e["scaron"]=556;e["scedilla"]=556;e["iacute"]=278;e["lozenge"]=494;e["Rcaron"]=722;e["Gcommaaccent"]=778;e["ucircumflex"]=611;e["acircumflex"]=556;e["Amacron"]=722;e["rcaron"]=389;e["ccedilla"]=556;e["Zdotaccent"]=611;e["Thorn"]=667;e["Omacron"]=778;e["Racute"]=722;e["Sacute"]=667;e["dcaron"]=743;e["Umacron"]=722;e["uring"]=611;e["threesuperior"]=333;e["Ograve"]=778;e["Agrave"]=722;e["Abreve"]=722;e["multiply"]=584;e["uacute"]=611;e["Tcaron"]=611;e["partialdiff"]=494;e["ydieresis"]=556;e["Nacute"]=722;e["icircumflex"]=278;e["Ecircumflex"]=667;e["adieresis"]=556;e["edieresis"]=556;e["cacute"]=556;e["nacute"]=611;e["umacron"]=611;e["Ncaron"]=722;e["Iacute"]=278;e["plusminus"]=584;e["brokenbar"]=280;e["registered"]=737;e["Gbreve"]=778;e["Idotaccent"]=278;e["summation"]=600;e["Egrave"]=667;e["racute"]=389;e["omacron"]=611;e["Zacute"]=611;e["Zcaron"]=611;e["greaterequal"]=549;e["Eth"]=722;e["Ccedilla"]=722;e["lcommaaccent"]=278;e["tcaron"]=389;e["eogonek"]=556;e["Uogonek"]=722;e["Aacute"]=722;e["Adieresis"]=722;e["egrave"]=556;e["zacute"]=500;e["iogonek"]=278;e["Oacute"]=778;e["oacute"]=611;e["amacron"]=556;e["sacute"]=556;e["idieresis"]=278;e["Ocircumflex"]=778;e["Ugrave"]=722;e["Delta"]=612;e["thorn"]=611;e["twosuperior"]=333;e["Odieresis"]=778;e["mu"]=611;e["igrave"]=278;e["ohungarumlaut"]=611;e["Eogonek"]=667;e["dcroat"]=611;e["threequarters"]=834;e["Scedilla"]=667;e["lcaron"]=400;e["Kcommaaccent"]=722;e["Lacute"]=611;e["trademark"]=1e3;e["edotaccent"]=556;e["Igrave"]=278;e["Imacron"]=278;e["Lcaron"]=611;e["onehalf"]=834;e["lessequal"]=549;e["ocircumflex"]=611;e["ntilde"]=611;e["Uhungarumlaut"]=722;e["Eacute"]=667;e["emacron"]=556;e["gbreve"]=611;e["onequarter"]=834;e["Scaron"]=667;e["Scommaaccent"]=667;e["Ohungarumlaut"]=778;e["degree"]=400;e["ograve"]=611;e["Ccaron"]=722;e["ugrave"]=611;e["radical"]=549;e["Dcaron"]=722;e["rcommaaccent"]=389;e["Ntilde"]=722;e["otilde"]=611;e["Rcommaaccent"]=722;e["Lcommaaccent"]=611;e["Atilde"]=722;e["Aogonek"]=722;e["Aring"]=722;e["Otilde"]=778;e["zdotaccent"]=500;e["Ecaron"]=667;e["Iogonek"]=278;e["kcommaaccent"]=556;e["minus"]=584;e["Icircumflex"]=278;e["ncaron"]=611;e["tcommaaccent"]=333;e["logicalnot"]=584;e["odieresis"]=611;e["udieresis"]=611;e["notequal"]=549;e["gcommaaccent"]=611;e["eth"]=611;e["zcaron"]=500;e["ncommaaccent"]=611;e["onesuperior"]=333;e["imacron"]=278;e["Euro"]=556});e["Helvetica-BoldOblique"]=(0,a.getLookupTableFactory)(function(e){e["space"]=278;e["exclam"]=333;e["quotedbl"]=474;e["numbersign"]=556;e["dollar"]=556;e["percent"]=889;e["ampersand"]=722;e["quoteright"]=278;e["parenleft"]=333;e["parenright"]=333;e["asterisk"]=389;e["plus"]=584;e["comma"]=278;e["hyphen"]=333;e["period"]=278;e["slash"]=278;e["zero"]=556;e["one"]=556;e["two"]=556;e["three"]=556;e["four"]=556;e["five"]=556;e["six"]=556;e["seven"]=556;e["eight"]=556;e["nine"]=556;e["colon"]=333;e["semicolon"]=333;e["less"]=584;e["equal"]=584;e["greater"]=584;e["question"]=611;e["at"]=975;e["A"]=722;e["B"]=722;e["C"]=722;e["D"]=722;e["E"]=667;e["F"]=611;e["G"]=778;e["H"]=722;e["I"]=278;e["J"]=556;e["K"]=722;e["L"]=611;e["M"]=833;e["N"]=722;e["O"]=778;e["P"]=667;e["Q"]=778;e["R"]=722;e["S"]=667;e["T"]=611;e["U"]=722;e["V"]=667;e["W"]=944;e["X"]=667;e["Y"]=667;e["Z"]=611;e["bracketleft"]=333;e["backslash"]=278;e["bracketright"]=333;e["asciicircum"]=584;e["underscore"]=556;e["quoteleft"]=278;e["a"]=556;e["b"]=611;e["c"]=556;e["d"]=611;e["e"]=556;e["f"]=333;e["g"]=611;e["h"]=611;e["i"]=278;e["j"]=278;e["k"]=556;e["l"]=278;e["m"]=889;e["n"]=611;e["o"]=611;e["p"]=611;e["q"]=611;e["r"]=389;e["s"]=556;e["t"]=333;e["u"]=611;e["v"]=556;e["w"]=778;e["x"]=556;e["y"]=556;e["z"]=500;e["braceleft"]=389;e["bar"]=280;e["braceright"]=389;e["asciitilde"]=584;e["exclamdown"]=333;e["cent"]=556;e["sterling"]=556;e["fraction"]=167;e["yen"]=556;e["florin"]=556;e["section"]=556;e["currency"]=556;e["quotesingle"]=238;e["quotedblleft"]=500;e["guillemotleft"]=556;e["guilsinglleft"]=333;e["guilsinglright"]=333;e["fi"]=611;e["fl"]=611;e["endash"]=556;e["dagger"]=556;e["daggerdbl"]=556;e["periodcentered"]=278;e["paragraph"]=556;e["bullet"]=350;e["quotesinglbase"]=278;e["quotedblbase"]=500;e["quotedblright"]=500;e["guillemotright"]=556;e["ellipsis"]=1e3;e["perthousand"]=1e3;e["questiondown"]=611;e["grave"]=333;e["acute"]=333;e["circumflex"]=333;e["tilde"]=333;e["macron"]=333;e["breve"]=333;e["dotaccent"]=333;e["dieresis"]=333;e["ring"]=333;e["cedilla"]=333;e["hungarumlaut"]=333;e["ogonek"]=333;e["caron"]=333;e["emdash"]=1e3;e["AE"]=1e3;e["ordfeminine"]=370;e["Lslash"]=611;e["Oslash"]=778;e["OE"]=1e3;e["ordmasculine"]=365;e["ae"]=889;e["dotlessi"]=278;e["lslash"]=278;e["oslash"]=611;e["oe"]=944;e["germandbls"]=611;e["Idieresis"]=278;e["eacute"]=556;e["abreve"]=556;e["uhungarumlaut"]=611;e["ecaron"]=556;e["Ydieresis"]=667;e["divide"]=584;e["Yacute"]=667;e["Acircumflex"]=722;e["aacute"]=556;e["Ucircumflex"]=722;e["yacute"]=556;e["scommaaccent"]=556;e["ecircumflex"]=556;e["Uring"]=722;e["Udieresis"]=722;e["aogonek"]=556;e["Uacute"]=722;e["uogonek"]=611;e["Edieresis"]=667;e["Dcroat"]=722;e["commaaccent"]=250;e["copyright"]=737;e["Emacron"]=667;e["ccaron"]=556;e["aring"]=556;e["Ncommaaccent"]=722;e["lacute"]=278;e["agrave"]=556;e["Tcommaaccent"]=611;e["Cacute"]=722;e["atilde"]=556;e["Edotaccent"]=667;e["scaron"]=556;e["scedilla"]=556;e["iacute"]=278;e["lozenge"]=494;e["Rcaron"]=722;e["Gcommaaccent"]=778;e["ucircumflex"]=611;e["acircumflex"]=556;e["Amacron"]=722;e["rcaron"]=389;e["ccedilla"]=556;e["Zdotaccent"]=611;e["Thorn"]=667;e["Omacron"]=778;e["Racute"]=722;e["Sacute"]=667;e["dcaron"]=743;e["Umacron"]=722;e["uring"]=611;e["threesuperior"]=333;e["Ograve"]=778;e["Agrave"]=722;e["Abreve"]=722;e["multiply"]=584;e["uacute"]=611;e["Tcaron"]=611;e["partialdiff"]=494;e["ydieresis"]=556;e["Nacute"]=722;e["icircumflex"]=278;e["Ecircumflex"]=667;e["adieresis"]=556;e["edieresis"]=556;e["cacute"]=556;e["nacute"]=611;e["umacron"]=611;e["Ncaron"]=722;e["Iacute"]=278;e["plusminus"]=584;e["brokenbar"]=280;e["registered"]=737;e["Gbreve"]=778;e["Idotaccent"]=278;e["summation"]=600;e["Egrave"]=667;e["racute"]=389;e["omacron"]=611;e["Zacute"]=611;e["Zcaron"]=611;e["greaterequal"]=549;e["Eth"]=722;e["Ccedilla"]=722;e["lcommaaccent"]=278;e["tcaron"]=389;e["eogonek"]=556;e["Uogonek"]=722;e["Aacute"]=722;e["Adieresis"]=722;e["egrave"]=556;e["zacute"]=500;e["iogonek"]=278;e["Oacute"]=778;e["oacute"]=611;e["amacron"]=556;e["sacute"]=556;e["idieresis"]=278;e["Ocircumflex"]=778;e["Ugrave"]=722;e["Delta"]=612;e["thorn"]=611;e["twosuperior"]=333;e["Odieresis"]=778;e["mu"]=611;e["igrave"]=278;e["ohungarumlaut"]=611;e["Eogonek"]=667;e["dcroat"]=611;e["threequarters"]=834;e["Scedilla"]=667;e["lcaron"]=400;e["Kcommaaccent"]=722;e["Lacute"]=611;e["trademark"]=1e3;e["edotaccent"]=556;e["Igrave"]=278;e["Imacron"]=278;e["Lcaron"]=611;e["onehalf"]=834;e["lessequal"]=549;e["ocircumflex"]=611;e["ntilde"]=611;e["Uhungarumlaut"]=722;e["Eacute"]=667;e["emacron"]=556;e["gbreve"]=611;e["onequarter"]=834;e["Scaron"]=667;e["Scommaaccent"]=667;e["Ohungarumlaut"]=778;e["degree"]=400;e["ograve"]=611;e["Ccaron"]=722;e["ugrave"]=611;e["radical"]=549;e["Dcaron"]=722;e["rcommaaccent"]=389;e["Ntilde"]=722;e["otilde"]=611;e["Rcommaaccent"]=722;e["Lcommaaccent"]=611;e["Atilde"]=722;e["Aogonek"]=722;e["Aring"]=722;e["Otilde"]=778;e["zdotaccent"]=500;e["Ecaron"]=667;e["Iogonek"]=278;e["kcommaaccent"]=556;e["minus"]=584;e["Icircumflex"]=278;e["ncaron"]=611;e["tcommaaccent"]=333;e["logicalnot"]=584;e["odieresis"]=611;e["udieresis"]=611;e["notequal"]=549;e["gcommaaccent"]=611;e["eth"]=611;e["zcaron"]=500;e["ncommaaccent"]=611;e["onesuperior"]=333;e["imacron"]=278;e["Euro"]=556});e["Helvetica-Oblique"]=(0,a.getLookupTableFactory)(function(e){e["space"]=278;e["exclam"]=278;e["quotedbl"]=355;e["numbersign"]=556;e["dollar"]=556;e["percent"]=889;e["ampersand"]=667;e["quoteright"]=222;e["parenleft"]=333;e["parenright"]=333;e["asterisk"]=389;e["plus"]=584;e["comma"]=278;e["hyphen"]=333;e["period"]=278;e["slash"]=278;e["zero"]=556;e["one"]=556;e["two"]=556;e["three"]=556;e["four"]=556;e["five"]=556;e["six"]=556;e["seven"]=556;e["eight"]=556;e["nine"]=556;e["colon"]=278;e["semicolon"]=278;e["less"]=584;e["equal"]=584;e["greater"]=584;e["question"]=556;e["at"]=1015;e["A"]=667;e["B"]=667;e["C"]=722;e["D"]=722;e["E"]=667;e["F"]=611;e["G"]=778;e["H"]=722;e["I"]=278;e["J"]=500;e["K"]=667;e["L"]=556;e["M"]=833;e["N"]=722;e["O"]=778;e["P"]=667;e["Q"]=778;e["R"]=722;e["S"]=667;e["T"]=611;e["U"]=722;e["V"]=667;e["W"]=944;e["X"]=667;e["Y"]=667;e["Z"]=611;e["bracketleft"]=278;e["backslash"]=278;e["bracketright"]=278;e["asciicircum"]=469;e["underscore"]=556;e["quoteleft"]=222;e["a"]=556;e["b"]=556;e["c"]=500;e["d"]=556;e["e"]=556;e["f"]=278;e["g"]=556;e["h"]=556;e["i"]=222;e["j"]=222;e["k"]=500;e["l"]=222;e["m"]=833;e["n"]=556;e["o"]=556;e["p"]=556;e["q"]=556;e["r"]=333;e["s"]=500;e["t"]=278;e["u"]=556;e["v"]=500;e["w"]=722;e["x"]=500;e["y"]=500;e["z"]=500;e["braceleft"]=334;e["bar"]=260;e["braceright"]=334;e["asciitilde"]=584;e["exclamdown"]=333;e["cent"]=556;e["sterling"]=556;e["fraction"]=167;e["yen"]=556;e["florin"]=556;e["section"]=556;e["currency"]=556;e["quotesingle"]=191;e["quotedblleft"]=333;e["guillemotleft"]=556;e["guilsinglleft"]=333;e["guilsinglright"]=333;e["fi"]=500;e["fl"]=500;e["endash"]=556;e["dagger"]=556;e["daggerdbl"]=556;e["periodcentered"]=278;e["paragraph"]=537;e["bullet"]=350;e["quotesinglbase"]=222;e["quotedblbase"]=333;e["quotedblright"]=333;e["guillemotright"]=556;e["ellipsis"]=1e3;e["perthousand"]=1e3;e["questiondown"]=611;e["grave"]=333;e["acute"]=333;e["circumflex"]=333;e["tilde"]=333;e["macron"]=333;e["breve"]=333;e["dotaccent"]=333;e["dieresis"]=333;e["ring"]=333;e["cedilla"]=333;e["hungarumlaut"]=333;e["ogonek"]=333;e["caron"]=333;e["emdash"]=1e3;e["AE"]=1e3;e["ordfeminine"]=370;e["Lslash"]=556;e["Oslash"]=778;e["OE"]=1e3;e["ordmasculine"]=365;e["ae"]=889;e["dotlessi"]=278;e["lslash"]=222;e["oslash"]=611;e["oe"]=944;e["germandbls"]=611;e["Idieresis"]=278;e["eacute"]=556;e["abreve"]=556;e["uhungarumlaut"]=556;e["ecaron"]=556;e["Ydieresis"]=667;e["divide"]=584;e["Yacute"]=667;e["Acircumflex"]=667;e["aacute"]=556;e["Ucircumflex"]=722;e["yacute"]=500;e["scommaaccent"]=500;e["ecircumflex"]=556;e["Uring"]=722;e["Udieresis"]=722;e["aogonek"]=556;e["Uacute"]=722;e["uogonek"]=556;e["Edieresis"]=667;e["Dcroat"]=722;e["commaaccent"]=250;e["copyright"]=737;e["Emacron"]=667;e["ccaron"]=500;e["aring"]=556;e["Ncommaaccent"]=722;e["lacute"]=222;e["agrave"]=556;e["Tcommaaccent"]=611;e["Cacute"]=722;e["atilde"]=556;e["Edotaccent"]=667;e["scaron"]=500;e["scedilla"]=500;e["iacute"]=278;e["lozenge"]=471;e["Rcaron"]=722;e["Gcommaaccent"]=778;e["ucircumflex"]=556;e["acircumflex"]=556;e["Amacron"]=667;e["rcaron"]=333;e["ccedilla"]=500;e["Zdotaccent"]=611;e["Thorn"]=667;e["Omacron"]=778;e["Racute"]=722;e["Sacute"]=667;e["dcaron"]=643;e["Umacron"]=722;e["uring"]=556;e["threesuperior"]=333;e["Ograve"]=778;e["Agrave"]=667;e["Abreve"]=667;e["multiply"]=584;e["uacute"]=556;e["Tcaron"]=611;e["partialdiff"]=476;e["ydieresis"]=500;e["Nacute"]=722;e["icircumflex"]=278;e["Ecircumflex"]=667;e["adieresis"]=556;e["edieresis"]=556;e["cacute"]=500;e["nacute"]=556;e["umacron"]=556;e["Ncaron"]=722;e["Iacute"]=278;e["plusminus"]=584;e["brokenbar"]=260;e["registered"]=737;e["Gbreve"]=778;e["Idotaccent"]=278;e["summation"]=600;e["Egrave"]=667;e["racute"]=333;e["omacron"]=556;e["Zacute"]=611;e["Zcaron"]=611;e["greaterequal"]=549;e["Eth"]=722;e["Ccedilla"]=722;e["lcommaaccent"]=222;e["tcaron"]=317;e["eogonek"]=556;e["Uogonek"]=722;e["Aacute"]=667;e["Adieresis"]=667;e["egrave"]=556;e["zacute"]=500;e["iogonek"]=222;e["Oacute"]=778;e["oacute"]=556;e["amacron"]=556;e["sacute"]=500;e["idieresis"]=278;e["Ocircumflex"]=778;e["Ugrave"]=722;e["Delta"]=612;e["thorn"]=556;e["twosuperior"]=333;e["Odieresis"]=778;e["mu"]=556;e["igrave"]=278;e["ohungarumlaut"]=556;e["Eogonek"]=667;e["dcroat"]=556;e["threequarters"]=834;e["Scedilla"]=667;e["lcaron"]=299;e["Kcommaaccent"]=667;e["Lacute"]=556;e["trademark"]=1e3;e["edotaccent"]=556;e["Igrave"]=278;e["Imacron"]=278;e["Lcaron"]=556;e["onehalf"]=834;e["lessequal"]=549;e["ocircumflex"]=556;e["ntilde"]=556;e["Uhungarumlaut"]=722;e["Eacute"]=667;e["emacron"]=556;e["gbreve"]=556;e["onequarter"]=834;e["Scaron"]=667;e["Scommaaccent"]=667;e["Ohungarumlaut"]=778;e["degree"]=400;e["ograve"]=556;e["Ccaron"]=722;e["ugrave"]=556;e["radical"]=453;e["Dcaron"]=722;e["rcommaaccent"]=333;e["Ntilde"]=722;e["otilde"]=556;e["Rcommaaccent"]=722;e["Lcommaaccent"]=556;e["Atilde"]=667;e["Aogonek"]=667;e["Aring"]=667;e["Otilde"]=778;e["zdotaccent"]=500;e["Ecaron"]=667;e["Iogonek"]=278;e["kcommaaccent"]=500;e["minus"]=584;e["Icircumflex"]=278;e["ncaron"]=556;e["tcommaaccent"]=278;e["logicalnot"]=584;e["odieresis"]=556;e["udieresis"]=556;e["notequal"]=549;e["gcommaaccent"]=556;e["eth"]=556;e["zcaron"]=500;e["ncommaaccent"]=556;e["onesuperior"]=333;e["imacron"]=278;e["Euro"]=556});e["Symbol"]=(0,a.getLookupTableFactory)(function(e){e["space"]=250;e["exclam"]=333;e["universal"]=713;e["numbersign"]=500;e["existential"]=549;e["percent"]=833;e["ampersand"]=778;e["suchthat"]=439;e["parenleft"]=333;e["parenright"]=333;e["asteriskmath"]=500;e["plus"]=549;e["comma"]=250;e["minus"]=549;e["period"]=250;e["slash"]=278;e["zero"]=500;e["one"]=500;e["two"]=500;e["three"]=500;e["four"]=500;e["five"]=500;e["six"]=500;e["seven"]=500;e["eight"]=500;e["nine"]=500;e["colon"]=278;e["semicolon"]=278;e["less"]=549;e["equal"]=549;e["greater"]=549;e["question"]=444;e["congruent"]=549;e["Alpha"]=722;e["Beta"]=667;e["Chi"]=722;e["Delta"]=612;e["Epsilon"]=611;e["Phi"]=763;e["Gamma"]=603;e["Eta"]=722;e["Iota"]=333;e["theta1"]=631;e["Kappa"]=722;e["Lambda"]=686;e["Mu"]=889;e["Nu"]=722;e["Omicron"]=722;e["Pi"]=768;e["Theta"]=741;e["Rho"]=556;e["Sigma"]=592;e["Tau"]=611;e["Upsilon"]=690;e["sigma1"]=439;e["Omega"]=768;e["Xi"]=645;e["Psi"]=795;e["Zeta"]=611;e["bracketleft"]=333;e["therefore"]=863;e["bracketright"]=333;e["perpendicular"]=658;e["underscore"]=500;e["radicalex"]=500;e["alpha"]=631;e["beta"]=549;e["chi"]=549;e["delta"]=494;e["epsilon"]=439;e["phi"]=521;e["gamma"]=411;e["eta"]=603;e["iota"]=329;e["phi1"]=603;e["kappa"]=549;e["lambda"]=549;e["mu"]=576;e["nu"]=521;e["omicron"]=549;e["pi"]=549;e["theta"]=521;e["rho"]=549;e["sigma"]=603;e["tau"]=439;e["upsilon"]=576;e["omega1"]=713;e["omega"]=686;e["xi"]=493;e["psi"]=686;e["zeta"]=494;e["braceleft"]=480;e["bar"]=200;e["braceright"]=480;e["similar"]=549;e["Euro"]=750;e["Upsilon1"]=620;e["minute"]=247;e["lessequal"]=549;e["fraction"]=167;e["infinity"]=713;e["florin"]=500;e["club"]=753;e["diamond"]=753;e["heart"]=753;e["spade"]=753;e["arrowboth"]=1042;e["arrowleft"]=987;e["arrowup"]=603;e["arrowright"]=987;e["arrowdown"]=603;e["degree"]=400;e["plusminus"]=549;e["second"]=411;e["greaterequal"]=549;e["multiply"]=549;e["proportional"]=713;e["partialdiff"]=494;e["bullet"]=460;e["divide"]=549;e["notequal"]=549;e["equivalence"]=549;e["approxequal"]=549;e["ellipsis"]=1e3;e["arrowvertex"]=603;e["arrowhorizex"]=1e3;e["carriagereturn"]=658;e["aleph"]=823;e["Ifraktur"]=686;e["Rfraktur"]=795;e["weierstrass"]=987;e["circlemultiply"]=768;e["circleplus"]=768;e["emptyset"]=823;e["intersection"]=768;e["union"]=768;e["propersuperset"]=713;e["reflexsuperset"]=713;e["notsubset"]=713;e["propersubset"]=713;e["reflexsubset"]=713;e["element"]=713;e["notelement"]=713;e["angle"]=768;e["gradient"]=713;e["registerserif"]=790;e["copyrightserif"]=790;e["trademarkserif"]=890;e["product"]=823;e["radical"]=549;e["dotmath"]=250;e["logicalnot"]=713;e["logicaland"]=603;e["logicalor"]=603;e["arrowdblboth"]=1042;e["arrowdblleft"]=987;e["arrowdblup"]=603;e["arrowdblright"]=987;e["arrowdbldown"]=603;e["lozenge"]=494;e["angleleft"]=329;e["registersans"]=790;e["copyrightsans"]=790;e["trademarksans"]=786;e["summation"]=713;e["parenlefttp"]=384;e["parenleftex"]=384;e["parenleftbt"]=384;e["bracketlefttp"]=384;e["bracketleftex"]=384;e["bracketleftbt"]=384;e["bracelefttp"]=494;e["braceleftmid"]=494;e["braceleftbt"]=494;e["braceex"]=494;e["angleright"]=329;e["integral"]=274;e["integraltp"]=686;e["integralex"]=686;e["integralbt"]=686;e["parenrighttp"]=384;e["parenrightex"]=384;e["parenrightbt"]=384;e["bracketrighttp"]=384;e["bracketrightex"]=384;e["bracketrightbt"]=384;e["bracerighttp"]=494;e["bracerightmid"]=494;e["bracerightbt"]=494;e["apple"]=790});e["Times-Roman"]=(0,a.getLookupTableFactory)(function(e){e["space"]=250;e["exclam"]=333;e["quotedbl"]=408;e["numbersign"]=500;e["dollar"]=500;e["percent"]=833;e["ampersand"]=778;e["quoteright"]=333;e["parenleft"]=333;e["parenright"]=333;e["asterisk"]=500;e["plus"]=564;e["comma"]=250;e["hyphen"]=333;e["period"]=250;e["slash"]=278;e["zero"]=500;e["one"]=500;e["two"]=500;e["three"]=500;e["four"]=500;e["five"]=500;e["six"]=500;e["seven"]=500;e["eight"]=500;e["nine"]=500;e["colon"]=278;e["semicolon"]=278;e["less"]=564;e["equal"]=564;e["greater"]=564;e["question"]=444;e["at"]=921;e["A"]=722;e["B"]=667;e["C"]=667;e["D"]=722;e["E"]=611;e["F"]=556;e["G"]=722;e["H"]=722;e["I"]=333;e["J"]=389;e["K"]=722;e["L"]=611;e["M"]=889;e["N"]=722;e["O"]=722;e["P"]=556;e["Q"]=722;e["R"]=667;e["S"]=556;e["T"]=611;e["U"]=722;e["V"]=722;e["W"]=944;e["X"]=722;e["Y"]=722;e["Z"]=611;e["bracketleft"]=333;e["backslash"]=278;e["bracketright"]=333;e["asciicircum"]=469;e["underscore"]=500;e["quoteleft"]=333;e["a"]=444;e["b"]=500;e["c"]=444;e["d"]=500;e["e"]=444;e["f"]=333;e["g"]=500;e["h"]=500;e["i"]=278;e["j"]=278;e["k"]=500;e["l"]=278;e["m"]=778;e["n"]=500;e["o"]=500;e["p"]=500;e["q"]=500;e["r"]=333;e["s"]=389;e["t"]=278;e["u"]=500;e["v"]=500;e["w"]=722;e["x"]=500;e["y"]=500;e["z"]=444;e["braceleft"]=480;e["bar"]=200;e["braceright"]=480;e["asciitilde"]=541;e["exclamdown"]=333;e["cent"]=500;e["sterling"]=500;e["fraction"]=167;e["yen"]=500;e["florin"]=500;e["section"]=500;e["currency"]=500;e["quotesingle"]=180;e["quotedblleft"]=444;e["guillemotleft"]=500;e["guilsinglleft"]=333;e["guilsinglright"]=333;e["fi"]=556;e["fl"]=556;e["endash"]=500;e["dagger"]=500;e["daggerdbl"]=500;e["periodcentered"]=250;e["paragraph"]=453;e["bullet"]=350;e["quotesinglbase"]=333;e["quotedblbase"]=444;e["quotedblright"]=444;e["guillemotright"]=500;e["ellipsis"]=1e3;e["perthousand"]=1e3;e["questiondown"]=444;e["grave"]=333;e["acute"]=333;e["circumflex"]=333;e["tilde"]=333;e["macron"]=333;e["breve"]=333;e["dotaccent"]=333;e["dieresis"]=333;e["ring"]=333;e["cedilla"]=333;e["hungarumlaut"]=333;e["ogonek"]=333;e["caron"]=333;e["emdash"]=1e3;e["AE"]=889;e["ordfeminine"]=276;e["Lslash"]=611;e["Oslash"]=722;e["OE"]=889;e["ordmasculine"]=310;e["ae"]=667;e["dotlessi"]=278;e["lslash"]=278;e["oslash"]=500;e["oe"]=722;e["germandbls"]=500;e["Idieresis"]=333;e["eacute"]=444;e["abreve"]=444;e["uhungarumlaut"]=500;e["ecaron"]=444;e["Ydieresis"]=722;e["divide"]=564;e["Yacute"]=722;e["Acircumflex"]=722;e["aacute"]=444;e["Ucircumflex"]=722;e["yacute"]=500;e["scommaaccent"]=389;e["ecircumflex"]=444;e["Uring"]=722;e["Udieresis"]=722;e["aogonek"]=444;e["Uacute"]=722;e["uogonek"]=500;e["Edieresis"]=611;e["Dcroat"]=722;e["commaaccent"]=250;e["copyright"]=760;e["Emacron"]=611;e["ccaron"]=444;e["aring"]=444;e["Ncommaaccent"]=722;e["lacute"]=278;e["agrave"]=444;e["Tcommaaccent"]=611;e["Cacute"]=667;e["atilde"]=444;e["Edotaccent"]=611;e["scaron"]=389;e["scedilla"]=389;e["iacute"]=278;e["lozenge"]=471;e["Rcaron"]=667;e["Gcommaaccent"]=722;e["ucircumflex"]=500;e["acircumflex"]=444;e["Amacron"]=722;e["rcaron"]=333;e["ccedilla"]=444;e["Zdotaccent"]=611;e["Thorn"]=556;e["Omacron"]=722;e["Racute"]=667;e["Sacute"]=556;e["dcaron"]=588;e["Umacron"]=722;e["uring"]=500;e["threesuperior"]=300;e["Ograve"]=722;e["Agrave"]=722;e["Abreve"]=722;e["multiply"]=564;e["uacute"]=500;e["Tcaron"]=611;e["partialdiff"]=476;e["ydieresis"]=500;e["Nacute"]=722;e["icircumflex"]=278;e["Ecircumflex"]=611;e["adieresis"]=444;e["edieresis"]=444;e["cacute"]=444;e["nacute"]=500;e["umacron"]=500;e["Ncaron"]=722;e["Iacute"]=333;e["plusminus"]=564;e["brokenbar"]=200;e["registered"]=760;e["Gbreve"]=722;e["Idotaccent"]=333;e["summation"]=600;e["Egrave"]=611;e["racute"]=333;e["omacron"]=500;e["Zacute"]=611;e["Zcaron"]=611;e["greaterequal"]=549;e["Eth"]=722;e["Ccedilla"]=667;e["lcommaaccent"]=278;e["tcaron"]=326;e["eogonek"]=444;e["Uogonek"]=722;e["Aacute"]=722;e["Adieresis"]=722;e["egrave"]=444;e["zacute"]=444;e["iogonek"]=278;e["Oacute"]=722;e["oacute"]=500;e["amacron"]=444;e["sacute"]=389;e["idieresis"]=278;e["Ocircumflex"]=722;e["Ugrave"]=722;e["Delta"]=612;e["thorn"]=500;e["twosuperior"]=300;e["Odieresis"]=722;e["mu"]=500;e["igrave"]=278;e["ohungarumlaut"]=500;e["Eogonek"]=611;e["dcroat"]=500;e["threequarters"]=750;e["Scedilla"]=556;e["lcaron"]=344;e["Kcommaaccent"]=722;e["Lacute"]=611;e["trademark"]=980;e["edotaccent"]=444;e["Igrave"]=333;e["Imacron"]=333;e["Lcaron"]=611;e["onehalf"]=750;e["lessequal"]=549;e["ocircumflex"]=500;e["ntilde"]=500;e["Uhungarumlaut"]=722;e["Eacute"]=611;e["emacron"]=444;e["gbreve"]=500;e["onequarter"]=750;e["Scaron"]=556;e["Scommaaccent"]=556;e["Ohungarumlaut"]=722;e["degree"]=400;e["ograve"]=500;e["Ccaron"]=667;e["ugrave"]=500;e["radical"]=453;e["Dcaron"]=722;e["rcommaaccent"]=333;e["Ntilde"]=722;e["otilde"]=500;e["Rcommaaccent"]=667;e["Lcommaaccent"]=611;e["Atilde"]=722;e["Aogonek"]=722;e["Aring"]=722;e["Otilde"]=722;e["zdotaccent"]=444;e["Ecaron"]=611;e["Iogonek"]=333;e["kcommaaccent"]=500;e["minus"]=564;e["Icircumflex"]=333;e["ncaron"]=500;e["tcommaaccent"]=278;e["logicalnot"]=564;e["odieresis"]=500;e["udieresis"]=500;e["notequal"]=549;e["gcommaaccent"]=500;e["eth"]=500;e["zcaron"]=444;e["ncommaaccent"]=500;e["onesuperior"]=300;e["imacron"]=278;e["Euro"]=500});e["Times-Bold"]=(0,a.getLookupTableFactory)(function(e){e["space"]=250;e["exclam"]=333;e["quotedbl"]=555;e["numbersign"]=500;e["dollar"]=500;e["percent"]=1e3;e["ampersand"]=833;e["quoteright"]=333;e["parenleft"]=333;e["parenright"]=333;e["asterisk"]=500;e["plus"]=570;e["comma"]=250;e["hyphen"]=333;e["period"]=250;e["slash"]=278;e["zero"]=500;e["one"]=500;e["two"]=500;e["three"]=500;e["four"]=500;e["five"]=500;e["six"]=500;e["seven"]=500;e["eight"]=500;e["nine"]=500;e["colon"]=333;e["semicolon"]=333;e["less"]=570;e["equal"]=570;e["greater"]=570;e["question"]=500;e["at"]=930;e["A"]=722;e["B"]=667;e["C"]=722;e["D"]=722;e["E"]=667;e["F"]=611;e["G"]=778;e["H"]=778;e["I"]=389;e["J"]=500;e["K"]=778;e["L"]=667;e["M"]=944;e["N"]=722;e["O"]=778;e["P"]=611;e["Q"]=778;e["R"]=722;e["S"]=556;e["T"]=667;e["U"]=722;e["V"]=722;e["W"]=1e3;e["X"]=722;e["Y"]=722;e["Z"]=667;e["bracketleft"]=333;e["backslash"]=278;e["bracketright"]=333;e["asciicircum"]=581;e["underscore"]=500;e["quoteleft"]=333;e["a"]=500;e["b"]=556;e["c"]=444;e["d"]=556;e["e"]=444;e["f"]=333;e["g"]=500;e["h"]=556;e["i"]=278;e["j"]=333;e["k"]=556;e["l"]=278;e["m"]=833;e["n"]=556;e["o"]=500;e["p"]=556;e["q"]=556;e["r"]=444;e["s"]=389;e["t"]=333;e["u"]=556;e["v"]=500;e["w"]=722;e["x"]=500;e["y"]=500;e["z"]=444;e["braceleft"]=394;e["bar"]=220;e["braceright"]=394;e["asciitilde"]=520;e["exclamdown"]=333;e["cent"]=500;e["sterling"]=500;e["fraction"]=167;e["yen"]=500;e["florin"]=500;e["section"]=500;e["currency"]=500;e["quotesingle"]=278;e["quotedblleft"]=500;e["guillemotleft"]=500;e["guilsinglleft"]=333;e["guilsinglright"]=333;e["fi"]=556;e["fl"]=556;e["endash"]=500;e["dagger"]=500;e["daggerdbl"]=500;e["periodcentered"]=250;e["paragraph"]=540;e["bullet"]=350;e["quotesinglbase"]=333;e["quotedblbase"]=500;e["quotedblright"]=500;e["guillemotright"]=500;e["ellipsis"]=1e3;e["perthousand"]=1e3;e["questiondown"]=500;e["grave"]=333;e["acute"]=333;e["circumflex"]=333;e["tilde"]=333;e["macron"]=333;e["breve"]=333;e["dotaccent"]=333;e["dieresis"]=333;e["ring"]=333;e["cedilla"]=333;e["hungarumlaut"]=333;e["ogonek"]=333;e["caron"]=333;e["emdash"]=1e3;e["AE"]=1e3;e["ordfeminine"]=300;e["Lslash"]=667;e["Oslash"]=778;e["OE"]=1e3;e["ordmasculine"]=330;e["ae"]=722;e["dotlessi"]=278;e["lslash"]=278;e["oslash"]=500;e["oe"]=722;e["germandbls"]=556;e["Idieresis"]=389;e["eacute"]=444;e["abreve"]=500;e["uhungarumlaut"]=556;e["ecaron"]=444;e["Ydieresis"]=722;e["divide"]=570;e["Yacute"]=722;e["Acircumflex"]=722;e["aacute"]=500;e["Ucircumflex"]=722;e["yacute"]=500;e["scommaaccent"]=389;e["ecircumflex"]=444;e["Uring"]=722;e["Udieresis"]=722;e["aogonek"]=500;e["Uacute"]=722;e["uogonek"]=556;e["Edieresis"]=667;e["Dcroat"]=722;e["commaaccent"]=250;e["copyright"]=747;e["Emacron"]=667;e["ccaron"]=444;e["aring"]=500;e["Ncommaaccent"]=722;e["lacute"]=278;e["agrave"]=500;e["Tcommaaccent"]=667;e["Cacute"]=722;e["atilde"]=500;e["Edotaccent"]=667;e["scaron"]=389;e["scedilla"]=389;e["iacute"]=278;e["lozenge"]=494;e["Rcaron"]=722;e["Gcommaaccent"]=778;e["ucircumflex"]=556;e["acircumflex"]=500;e["Amacron"]=722;e["rcaron"]=444;e["ccedilla"]=444;e["Zdotaccent"]=667;e["Thorn"]=611;e["Omacron"]=778;e["Racute"]=722;e["Sacute"]=556;e["dcaron"]=672;e["Umacron"]=722;e["uring"]=556;e["threesuperior"]=300;e["Ograve"]=778;e["Agrave"]=722;e["Abreve"]=722;e["multiply"]=570;e["uacute"]=556;e["Tcaron"]=667;e["partialdiff"]=494;e["ydieresis"]=500;e["Nacute"]=722;e["icircumflex"]=278;e["Ecircumflex"]=667;e["adieresis"]=500;e["edieresis"]=444;e["cacute"]=444;e["nacute"]=556;e["umacron"]=556;e["Ncaron"]=722;e["Iacute"]=389;e["plusminus"]=570;e["brokenbar"]=220;e["registered"]=747;e["Gbreve"]=778;e["Idotaccent"]=389;e["summation"]=600;e["Egrave"]=667;e["racute"]=444;e["omacron"]=500;e["Zacute"]=667;e["Zcaron"]=667;e["greaterequal"]=549;e["Eth"]=722;e["Ccedilla"]=722;e["lcommaaccent"]=278;e["tcaron"]=416;e["eogonek"]=444;e["Uogonek"]=722;e["Aacute"]=722;e["Adieresis"]=722;e["egrave"]=444;e["zacute"]=444;e["iogonek"]=278;e["Oacute"]=778;e["oacute"]=500;e["amacron"]=500;e["sacute"]=389;e["idieresis"]=278;e["Ocircumflex"]=778;e["Ugrave"]=722;e["Delta"]=612;e["thorn"]=556;e["twosuperior"]=300;e["Odieresis"]=778;e["mu"]=556;e["igrave"]=278;e["ohungarumlaut"]=500;e["Eogonek"]=667;e["dcroat"]=556;e["threequarters"]=750;e["Scedilla"]=556;e["lcaron"]=394;e["Kcommaaccent"]=778;e["Lacute"]=667;e["trademark"]=1e3;e["edotaccent"]=444;e["Igrave"]=389;e["Imacron"]=389;e["Lcaron"]=667;e["onehalf"]=750;e["lessequal"]=549;e["ocircumflex"]=500;e["ntilde"]=556;e["Uhungarumlaut"]=722;e["Eacute"]=667;e["emacron"]=444;e["gbreve"]=500;e["onequarter"]=750;e["Scaron"]=556;e["Scommaaccent"]=556;e["Ohungarumlaut"]=778;e["degree"]=400;e["ograve"]=500;e["Ccaron"]=722;e["ugrave"]=556;e["radical"]=549;e["Dcaron"]=722;e["rcommaaccent"]=444;e["Ntilde"]=722;e["otilde"]=500;e["Rcommaaccent"]=722;e["Lcommaaccent"]=667;e["Atilde"]=722;e["Aogonek"]=722;e["Aring"]=722;e["Otilde"]=778;e["zdotaccent"]=444;e["Ecaron"]=667;e["Iogonek"]=389;e["kcommaaccent"]=556;e["minus"]=570;e["Icircumflex"]=389;e["ncaron"]=556;e["tcommaaccent"]=333;e["logicalnot"]=570;e["odieresis"]=500;e["udieresis"]=556;e["notequal"]=549;e["gcommaaccent"]=500;e["eth"]=500;e["zcaron"]=444;e["ncommaaccent"]=556;e["onesuperior"]=300;e["imacron"]=278;e["Euro"]=500});e["Times-BoldItalic"]=(0,a.getLookupTableFactory)(function(e){e["space"]=250;e["exclam"]=389;e["quotedbl"]=555;e["numbersign"]=500;e["dollar"]=500;e["percent"]=833;e["ampersand"]=778;e["quoteright"]=333;e["parenleft"]=333;e["parenright"]=333;e["asterisk"]=500;e["plus"]=570;e["comma"]=250;e["hyphen"]=333;e["period"]=250;e["slash"]=278;e["zero"]=500;e["one"]=500;e["two"]=500;e["three"]=500;e["four"]=500;e["five"]=500;e["six"]=500;e["seven"]=500;e["eight"]=500;e["nine"]=500;e["colon"]=333;e["semicolon"]=333;e["less"]=570;e["equal"]=570;e["greater"]=570;e["question"]=500;e["at"]=832;e["A"]=667;e["B"]=667;e["C"]=667;e["D"]=722;e["E"]=667;e["F"]=667;e["G"]=722;e["H"]=778;e["I"]=389;e["J"]=500;e["K"]=667;e["L"]=611;e["M"]=889;e["N"]=722;e["O"]=722;e["P"]=611;e["Q"]=722;e["R"]=667;e["S"]=556;e["T"]=611;e["U"]=722;e["V"]=667;e["W"]=889;e["X"]=667;e["Y"]=611;e["Z"]=611;e["bracketleft"]=333;e["backslash"]=278;e["bracketright"]=333;e["asciicircum"]=570;e["underscore"]=500;e["quoteleft"]=333;e["a"]=500;e["b"]=500;e["c"]=444;e["d"]=500;e["e"]=444;e["f"]=333;e["g"]=500;e["h"]=556;e["i"]=278;e["j"]=278;e["k"]=500;e["l"]=278;e["m"]=778;e["n"]=556;e["o"]=500;e["p"]=500;e["q"]=500;e["r"]=389;e["s"]=389;e["t"]=278;e["u"]=556;e["v"]=444;e["w"]=667;e["x"]=500;e["y"]=444;e["z"]=389;e["braceleft"]=348;e["bar"]=220;e["braceright"]=348;e["asciitilde"]=570;e["exclamdown"]=389;e["cent"]=500;e["sterling"]=500;e["fraction"]=167;e["yen"]=500;e["florin"]=500;e["section"]=500;e["currency"]=500;e["quotesingle"]=278;e["quotedblleft"]=500;e["guillemotleft"]=500;e["guilsinglleft"]=333;e["guilsinglright"]=333;e["fi"]=556;e["fl"]=556;e["endash"]=500;e["dagger"]=500;e["daggerdbl"]=500;e["periodcentered"]=250;e["paragraph"]=500;e["bullet"]=350;e["quotesinglbase"]=333;e["quotedblbase"]=500;e["quotedblright"]=500;e["guillemotright"]=500;e["ellipsis"]=1e3;e["perthousand"]=1e3;e["questiondown"]=500;e["grave"]=333;e["acute"]=333;e["circumflex"]=333;e["tilde"]=333;e["macron"]=333;e["breve"]=333;e["dotaccent"]=333;e["dieresis"]=333;e["ring"]=333;e["cedilla"]=333;e["hungarumlaut"]=333;e["ogonek"]=333;e["caron"]=333;e["emdash"]=1e3;e["AE"]=944;e["ordfeminine"]=266;e["Lslash"]=611;e["Oslash"]=722;e["OE"]=944;e["ordmasculine"]=300;e["ae"]=722;e["dotlessi"]=278;e["lslash"]=278;e["oslash"]=500;e["oe"]=722;e["germandbls"]=500;e["Idieresis"]=389;e["eacute"]=444;e["abreve"]=500;e["uhungarumlaut"]=556;e["ecaron"]=444;e["Ydieresis"]=611;e["divide"]=570;e["Yacute"]=611;e["Acircumflex"]=667;e["aacute"]=500;e["Ucircumflex"]=722;e["yacute"]=444;e["scommaaccent"]=389;e["ecircumflex"]=444;e["Uring"]=722;e["Udieresis"]=722;e["aogonek"]=500;e["Uacute"]=722;e["uogonek"]=556;e["Edieresis"]=667;e["Dcroat"]=722;e["commaaccent"]=250;e["copyright"]=747;e["Emacron"]=667;e["ccaron"]=444;e["aring"]=500;e["Ncommaaccent"]=722;e["lacute"]=278;e["agrave"]=500;e["Tcommaaccent"]=611;e["Cacute"]=667;e["atilde"]=500;e["Edotaccent"]=667;e["scaron"]=389;e["scedilla"]=389;e["iacute"]=278;e["lozenge"]=494;e["Rcaron"]=667;e["Gcommaaccent"]=722;e["ucircumflex"]=556;e["acircumflex"]=500;e["Amacron"]=667;e["rcaron"]=389;e["ccedilla"]=444;e["Zdotaccent"]=611;e["Thorn"]=611;e["Omacron"]=722;e["Racute"]=667;e["Sacute"]=556;e["dcaron"]=608;e["Umacron"]=722;e["uring"]=556;e["threesuperior"]=300;e["Ograve"]=722;e["Agrave"]=667;e["Abreve"]=667;e["multiply"]=570;e["uacute"]=556;e["Tcaron"]=611;e["partialdiff"]=494;e["ydieresis"]=444;e["Nacute"]=722;e["icircumflex"]=278;e["Ecircumflex"]=667;e["adieresis"]=500;e["edieresis"]=444;e["cacute"]=444;e["nacute"]=556;e["umacron"]=556;e["Ncaron"]=722;e["Iacute"]=389;e["plusminus"]=570;e["brokenbar"]=220;e["registered"]=747;e["Gbreve"]=722;e["Idotaccent"]=389;e["summation"]=600;e["Egrave"]=667;e["racute"]=389;e["omacron"]=500;e["Zacute"]=611;e["Zcaron"]=611;e["greaterequal"]=549;e["Eth"]=722;e["Ccedilla"]=667;e["lcommaaccent"]=278;e["tcaron"]=366;e["eogonek"]=444;e["Uogonek"]=722;e["Aacute"]=667;e["Adieresis"]=667;e["egrave"]=444;e["zacute"]=389;e["iogonek"]=278;e["Oacute"]=722;e["oacute"]=500;e["amacron"]=500;e["sacute"]=389;e["idieresis"]=278;e["Ocircumflex"]=722;e["Ugrave"]=722;e["Delta"]=612;e["thorn"]=500;e["twosuperior"]=300;e["Odieresis"]=722;e["mu"]=576;e["igrave"]=278;e["ohungarumlaut"]=500;e["Eogonek"]=667;e["dcroat"]=500;e["threequarters"]=750;e["Scedilla"]=556;e["lcaron"]=382;e["Kcommaaccent"]=667;e["Lacute"]=611;e["trademark"]=1e3;e["edotaccent"]=444;e["Igrave"]=389;e["Imacron"]=389;e["Lcaron"]=611;e["onehalf"]=750;e["lessequal"]=549;e["ocircumflex"]=500;e["ntilde"]=556;e["Uhungarumlaut"]=722;e["Eacute"]=667;e["emacron"]=444;e["gbreve"]=500;e["onequarter"]=750;e["Scaron"]=556;e["Scommaaccent"]=556;e["Ohungarumlaut"]=722;e["degree"]=400;e["ograve"]=500;e["Ccaron"]=667;e["ugrave"]=556;e["radical"]=549;e["Dcaron"]=722;e["rcommaaccent"]=389;e["Ntilde"]=722;e["otilde"]=500;e["Rcommaaccent"]=667;e["Lcommaaccent"]=611;e["Atilde"]=667;e["Aogonek"]=667;e["Aring"]=667;e["Otilde"]=722;e["zdotaccent"]=389;e["Ecaron"]=667;e["Iogonek"]=389;e["kcommaaccent"]=500;e["minus"]=606;e["Icircumflex"]=389;e["ncaron"]=556;e["tcommaaccent"]=278;e["logicalnot"]=606;e["odieresis"]=500;e["udieresis"]=556;e["notequal"]=549;e["gcommaaccent"]=500;e["eth"]=500;e["zcaron"]=389;e["ncommaaccent"]=556;e["onesuperior"]=300;e["imacron"]=278;e["Euro"]=500});e["Times-Italic"]=(0,a.getLookupTableFactory)(function(e){e["space"]=250;e["exclam"]=333;e["quotedbl"]=420;e["numbersign"]=500;e["dollar"]=500;e["percent"]=833;e["ampersand"]=778;e["quoteright"]=333;e["parenleft"]=333;e["parenright"]=333;e["asterisk"]=500;e["plus"]=675;e["comma"]=250;e["hyphen"]=333;e["period"]=250;e["slash"]=278;e["zero"]=500;e["one"]=500;e["two"]=500;e["three"]=500;e["four"]=500;e["five"]=500;e["six"]=500;e["seven"]=500;e["eight"]=500;e["nine"]=500;e["colon"]=333;e["semicolon"]=333;e["less"]=675;e["equal"]=675;e["greater"]=675;e["question"]=500;e["at"]=920;e["A"]=611;e["B"]=611;e["C"]=667;e["D"]=722;e["E"]=611;e["F"]=611;e["G"]=722;e["H"]=722;e["I"]=333;e["J"]=444;e["K"]=667;e["L"]=556;e["M"]=833;e["N"]=667;e["O"]=722;e["P"]=611;e["Q"]=722;e["R"]=611;e["S"]=500;e["T"]=556;e["U"]=722;e["V"]=611;e["W"]=833;e["X"]=611;e["Y"]=556;e["Z"]=556;e["bracketleft"]=389;e["backslash"]=278;e["bracketright"]=389;e["asciicircum"]=422;e["underscore"]=500;e["quoteleft"]=333;e["a"]=500;e["b"]=500;e["c"]=444;e["d"]=500;e["e"]=444;e["f"]=278;e["g"]=500;e["h"]=500;e["i"]=278;e["j"]=278;e["k"]=444;e["l"]=278;e["m"]=722;e["n"]=500;e["o"]=500;e["p"]=500;e["q"]=500;e["r"]=389;e["s"]=389;e["t"]=278;e["u"]=500;e["v"]=444;e["w"]=667;e["x"]=444;e["y"]=444;e["z"]=389;e["braceleft"]=400;e["bar"]=275;e["braceright"]=400;e["asciitilde"]=541;e["exclamdown"]=389;e["cent"]=500;e["sterling"]=500;e["fraction"]=167;e["yen"]=500;e["florin"]=500;e["section"]=500;e["currency"]=500;e["quotesingle"]=214;e["quotedblleft"]=556;e["guillemotleft"]=500;e["guilsinglleft"]=333;e["guilsinglright"]=333;e["fi"]=500;e["fl"]=500;e["endash"]=500;e["dagger"]=500;e["daggerdbl"]=500;e["periodcentered"]=250;e["paragraph"]=523;e["bullet"]=350;e["quotesinglbase"]=333;e["quotedblbase"]=556;e["quotedblright"]=556;e["guillemotright"]=500;e["ellipsis"]=889;e["perthousand"]=1e3;e["questiondown"]=500;e["grave"]=333;e["acute"]=333;e["circumflex"]=333;e["tilde"]=333;e["macron"]=333;e["breve"]=333;e["dotaccent"]=333;e["dieresis"]=333;e["ring"]=333;e["cedilla"]=333;e["hungarumlaut"]=333;e["ogonek"]=333;e["caron"]=333;e["emdash"]=889;e["AE"]=889;e["ordfeminine"]=276;e["Lslash"]=556;e["Oslash"]=722;e["OE"]=944;e["ordmasculine"]=310;e["ae"]=667;e["dotlessi"]=278;e["lslash"]=278;e["oslash"]=500;e["oe"]=667;e["germandbls"]=500;e["Idieresis"]=333;e["eacute"]=444;e["abreve"]=500;e["uhungarumlaut"]=500;e["ecaron"]=444;e["Ydieresis"]=556;e["divide"]=675;e["Yacute"]=556;e["Acircumflex"]=611;e["aacute"]=500;e["Ucircumflex"]=722;e["yacute"]=444;e["scommaaccent"]=389;e["ecircumflex"]=444;e["Uring"]=722;e["Udieresis"]=722;e["aogonek"]=500;e["Uacute"]=722;e["uogonek"]=500;e["Edieresis"]=611;e["Dcroat"]=722;e["commaaccent"]=250;e["copyright"]=760;e["Emacron"]=611;e["ccaron"]=444;e["aring"]=500;e["Ncommaaccent"]=667;e["lacute"]=278;e["agrave"]=500;e["Tcommaaccent"]=556;e["Cacute"]=667;e["atilde"]=500;e["Edotaccent"]=611;e["scaron"]=389;e["scedilla"]=389;e["iacute"]=278;e["lozenge"]=471;e["Rcaron"]=611;e["Gcommaaccent"]=722;e["ucircumflex"]=500;e["acircumflex"]=500;e["Amacron"]=611;e["rcaron"]=389;e["ccedilla"]=444;e["Zdotaccent"]=556;e["Thorn"]=611;e["Omacron"]=722;e["Racute"]=611;e["Sacute"]=500;e["dcaron"]=544;e["Umacron"]=722;e["uring"]=500;e["threesuperior"]=300;e["Ograve"]=722;e["Agrave"]=611;e["Abreve"]=611;e["multiply"]=675;e["uacute"]=500;e["Tcaron"]=556;e["partialdiff"]=476;e["ydieresis"]=444;e["Nacute"]=667;e["icircumflex"]=278;e["Ecircumflex"]=611;e["adieresis"]=500;e["edieresis"]=444;e["cacute"]=444;e["nacute"]=500;e["umacron"]=500;e["Ncaron"]=667;e["Iacute"]=333;e["plusminus"]=675;e["brokenbar"]=275;e["registered"]=760;e["Gbreve"]=722;e["Idotaccent"]=333;e["summation"]=600;e["Egrave"]=611;e["racute"]=389;e["omacron"]=500;e["Zacute"]=556;e["Zcaron"]=556;e["greaterequal"]=549;e["Eth"]=722;e["Ccedilla"]=667;e["lcommaaccent"]=278;e["tcaron"]=300;e["eogonek"]=444;e["Uogonek"]=722;e["Aacute"]=611;e["Adieresis"]=611;e["egrave"]=444;e["zacute"]=389;e["iogonek"]=278;e["Oacute"]=722;e["oacute"]=500;e["amacron"]=500;e["sacute"]=389;e["idieresis"]=278;e["Ocircumflex"]=722;e["Ugrave"]=722;e["Delta"]=612;e["thorn"]=500;e["twosuperior"]=300;e["Odieresis"]=722;e["mu"]=500;e["igrave"]=278;e["ohungarumlaut"]=500;e["Eogonek"]=611;e["dcroat"]=500;e["threequarters"]=750;e["Scedilla"]=500;e["lcaron"]=300;e["Kcommaaccent"]=667;e["Lacute"]=556;e["trademark"]=980;e["edotaccent"]=444;e["Igrave"]=333;e["Imacron"]=333;e["Lcaron"]=611;e["onehalf"]=750;e["lessequal"]=549;e["ocircumflex"]=500;e["ntilde"]=500;e["Uhungarumlaut"]=722;e["Eacute"]=611;e["emacron"]=444;e["gbreve"]=500;e["onequarter"]=750;e["Scaron"]=500;e["Scommaaccent"]=500;e["Ohungarumlaut"]=722;e["degree"]=400;e["ograve"]=500;e["Ccaron"]=667;e["ugrave"]=500;e["radical"]=453;e["Dcaron"]=722;e["rcommaaccent"]=389;e["Ntilde"]=667;e["otilde"]=500;e["Rcommaaccent"]=611;e["Lcommaaccent"]=556;e["Atilde"]=611;e["Aogonek"]=611;e["Aring"]=611;e["Otilde"]=722;e["zdotaccent"]=389;e["Ecaron"]=611;e["Iogonek"]=333;e["kcommaaccent"]=444;e["minus"]=675;e["Icircumflex"]=333;e["ncaron"]=500;e["tcommaaccent"]=278;e["logicalnot"]=675;e["odieresis"]=500;e["udieresis"]=500;e["notequal"]=549;e["gcommaaccent"]=500;e["eth"]=500;e["zcaron"]=389;e["ncommaaccent"]=500;e["onesuperior"]=300;e["imacron"]=278;e["Euro"]=500});e["ZapfDingbats"]=(0,a.getLookupTableFactory)(function(e){e["space"]=278;e["a1"]=974;e["a2"]=961;e["a202"]=974;e["a3"]=980;e["a4"]=719;e["a5"]=789;e["a119"]=790;e["a118"]=791;e["a117"]=690;e["a11"]=960;e["a12"]=939;e["a13"]=549;e["a14"]=855;e["a15"]=911;e["a16"]=933;e["a105"]=911;e["a17"]=945;e["a18"]=974;e["a19"]=755;e["a20"]=846;e["a21"]=762;e["a22"]=761;e["a23"]=571;e["a24"]=677;e["a25"]=763;e["a26"]=760;e["a27"]=759;e["a28"]=754;e["a6"]=494;e["a7"]=552;e["a8"]=537;e["a9"]=577;e["a10"]=692;e["a29"]=786;e["a30"]=788;e["a31"]=788;e["a32"]=790;e["a33"]=793;e["a34"]=794;e["a35"]=816;e["a36"]=823;e["a37"]=789;e["a38"]=841;e["a39"]=823;e["a40"]=833;e["a41"]=816;e["a42"]=831;e["a43"]=923;e["a44"]=744;e["a45"]=723;e["a46"]=749;e["a47"]=790;e["a48"]=792;e["a49"]=695;e["a50"]=776;e["a51"]=768;e["a52"]=792;e["a53"]=759;e["a54"]=707;e["a55"]=708;e["a56"]=682;e["a57"]=701;e["a58"]=826;e["a59"]=815;e["a60"]=789;e["a61"]=789;e["a62"]=707;e["a63"]=687;e["a64"]=696;e["a65"]=689;e["a66"]=786;e["a67"]=787;e["a68"]=713;e["a69"]=791;e["a70"]=785;e["a71"]=791;e["a72"]=873;e["a73"]=761;e["a74"]=762;e["a203"]=762;e["a75"]=759;e["a204"]=759;e["a76"]=892;e["a77"]=892;e["a78"]=788;e["a79"]=784;e["a81"]=438;e["a82"]=138;e["a83"]=277;e["a84"]=415;e["a97"]=392;e["a98"]=392;e["a99"]=668;e["a100"]=668;e["a89"]=390;e["a90"]=390;e["a93"]=317;e["a94"]=317;e["a91"]=276;e["a92"]=276;e["a205"]=509;e["a85"]=509;e["a206"]=410;e["a86"]=410;e["a87"]=234;e["a88"]=234;e["a95"]=334;e["a96"]=334;e["a101"]=732;e["a102"]=544;e["a103"]=544;e["a104"]=910;e["a106"]=667;e["a107"]=760;e["a108"]=760;e["a112"]=776;e["a111"]=595;e["a110"]=694;e["a109"]=626;e["a120"]=788;e["a121"]=788;e["a122"]=788;e["a123"]=788;e["a124"]=788;e["a125"]=788;e["a126"]=788;e["a127"]=788;e["a128"]=788;e["a129"]=788;e["a130"]=788;e["a131"]=788;e["a132"]=788;e["a133"]=788;e["a134"]=788;e["a135"]=788;e["a136"]=788;e["a137"]=788;e["a138"]=788;e["a139"]=788;e["a140"]=788;e["a141"]=788;e["a142"]=788;e["a143"]=788;e["a144"]=788;e["a145"]=788;e["a146"]=788;e["a147"]=788;e["a148"]=788;e["a149"]=788;e["a150"]=788;e["a151"]=788;e["a152"]=788;e["a153"]=788;e["a154"]=788;e["a155"]=788;e["a156"]=788;e["a157"]=788;e["a158"]=788;e["a159"]=788;e["a160"]=894;e["a161"]=838;e["a163"]=1016;e["a164"]=458;e["a196"]=748;e["a165"]=924;e["a192"]=748;e["a166"]=918;e["a167"]=927;e["a168"]=928;e["a169"]=928;e["a170"]=834;e["a171"]=873;e["a172"]=828;e["a173"]=924;e["a162"]=924;e["a174"]=917;e["a175"]=930;e["a176"]=931;e["a177"]=463;e["a178"]=883;e["a179"]=836;e["a193"]=836;e["a180"]=867;e["a199"]=867;e["a181"]=696;e["a200"]=696;e["a182"]=874;e["a201"]=874;e["a183"]=760;e["a184"]=946;e["a197"]=771;e["a185"]=865;e["a194"]=771;e["a198"]=888;e["a186"]=967;e["a195"]=888;e["a187"]=831;e["a188"]=873;e["a189"]=927;e["a190"]=970;e["a191"]=918})});r.getMetrics=i},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:true});r.PostScriptCompiler=r.PostScriptEvaluator=r.PDFFunctionFactory=r.isPDFFunction=undefined;var a=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol==="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};var i=function(){function e(e,r){for(var t=0;t<r.length;t++){var a=r[t];a.enumerable=a.enumerable||false;a.configurable=true;if("value"in a)a.writable=true;Object.defineProperty(e,a.key,a)}}return function(r,t,a){if(t)e(r.prototype,t);if(a)e(r,a);return r}}();var n=t(2);var o=t(138);var s=t(169);function l(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}var c={get value(){return(0,n.shadow)(this,"value",(0,n.isEvalSupported)())}};var u=function(){function e(r){var t=r.xref,a=r.isEvalSupported,i=a===undefined?true:a;l(this,e);this.xref=t;this.isEvalSupported=i!==false}i(e,[{key:"create",value:function e(r){return h.parse({xref:this.xref,isEvalSupported:this.isEvalSupported,fn:r})}},{key:"createFromArray",value:function e(r){return h.parseArray({xref:this.xref,isEvalSupported:this.isEvalSupported,fnObj:r})}}]);return e}();function f(e){if(!Array.isArray(e)){return null}var r=e.length;for(var t=0;t<r;t++){if(typeof e[t]!=="number"){var a=new Array(r);for(var i=0;i<r;i++){a[i]=+e[i]}return a}}return e}var h=function e(){var r=0;var t=2;var a=3;var i=4;return{getSampleArray:function e(r,t,a,i){var n,o;var s=1;for(n=0,o=r.length;n<o;n++){s*=r[n]}s*=t;var l=new Array(s);var c=0;var u=0;var f=1/(Math.pow(2,a)-1);var h=i.getBytes((s*a+7)/8);var d=0;for(n=0;n<s;n++){while(c<a){u<<=8;u|=h[d++];c+=8}c-=a;l[n]=(u>>c)*f;u&=(1<<c)-1}return l},getIR:function e(r){var t=r.xref,a=r.isEvalSupported,i=r.fn;var o=i.dict;if(!o){o=i}var s=[this.constructSampled,null,this.constructInterpolated,this.constructStiched,this.constructPostScript];var l=o.get("FunctionType");var c=s[l];if(!c){throw new n.FormatError("Unknown type of function")}return c.call(this,{xref:t,isEvalSupported:a,fn:i,dict:o})},fromIR:function e(i){var n=i.xref,o=i.isEvalSupported,s=i.IR;var l=s[0];switch(l){case r:return this.constructSampledFromIR({xref:n,isEvalSupported:o,IR:s});case t:return this.constructInterpolatedFromIR({xref:n,isEvalSupported:o,IR:s});case a:return this.constructStichedFromIR({xref:n,isEvalSupported:o,IR:s});default:return this.constructPostScriptFromIR({xref:n,isEvalSupported:o,IR:s})}},parse:function e(r){var t=r.xref,a=r.isEvalSupported,i=r.fn;var n=this.getIR({xref:t,isEvalSupported:a,fn:i});return this.fromIR({xref:t,isEvalSupported:a,IR:n})},parseArray:function e(r){var t=r.xref,a=r.isEvalSupported,i=r.fnObj;if(!Array.isArray(i)){return this.parse({xref:t,isEvalSupported:a,fn:i})}var n=[];for(var o=0,s=i.length;o<s;o++){n.push(this.parse({xref:t,isEvalSupported:a,fn:t.fetchIfRef(i[o])}))}return function(e,r,t,a){for(var i=0,o=n.length;i<o;i++){n[i](e,r,t,a+i)}}},constructSampled:function e(t){var a=t.xref,i=t.isEvalSupported,o=t.fn,s=t.dict;function l(e){var r=e.length;var t=[];var a=0;for(var i=0;i<r;i+=2){t[a]=[e[i],e[i+1]];++a}return t}var c=f(s.getArray("Domain"));var u=f(s.getArray("Range"));if(!c||!u){throw new n.FormatError("No domain or range")}var h=c.length/2;var d=u.length/2;c=l(c);u=l(u);var v=f(s.getArray("Size"));var g=s.get("BitsPerSample");var m=s.get("Order")||1;if(m!==1){(0,n.info)("No support for cubic spline interpolation: "+m)}var p=f(s.getArray("Encode"));if(!p){p=[];for(var b=0;b<h;++b){p.push([0,v[b]-1])}}else{p=l(p)}var y=f(s.getArray("Decode"));if(!y){y=u}else{y=l(y)}var w=this.getSampleArray(v,d,g,o);return[r,h,c,p,y,w,v,d,Math.pow(2,g)-1,u]},constructSampledFromIR:function e(r){var t=r.xref,a=r.isEvalSupported,i=r.IR;function n(e,r,t,a,i){return a+(e-r)*((i-a)/(t-r))}return function e(r,t,a,o){var s=i[1];var l=i[2];var c=i[3];var u=i[4];var f=i[5];var h=i[6];var d=i[7];var v=i[9];var g=1<<s;var m=new Float64Array(g);var p=new Uint32Array(g);var b,y;for(y=0;y<g;y++){m[y]=1}var w=d,k=1;for(b=0;b<s;++b){var S=l[b][0];var C=l[b][1];var x=Math.min(Math.max(r[t+b],S),C);var _=n(x,S,C,c[b][0],c[b][1]);var A=h[b];_=Math.min(Math.max(_,0),A-1);var P=_<A-1?Math.floor(_):_-1;var I=P+1-_;var O=_-P;var T=P*w;var E=T+w;for(y=0;y<g;y++){if(y&k){m[y]*=O;p[y]+=E}else{m[y]*=I;p[y]+=T}}w*=A;k<<=1}for(y=0;y<d;++y){var F=0;for(b=0;b<g;b++){F+=f[p[b]+y]*m[b]}F=n(F,0,1,u[y][0],u[y][1]);a[o+y]=Math.min(Math.max(F,v[y][0]),v[y][1])}}},constructInterpolated:function e(r){var a=r.xref,i=r.isEvalSupported,n=r.fn,o=r.dict;var s=f(o.getArray("C0"))||[0];var l=f(o.getArray("C1"))||[1];var c=o.get("N");var u=s.length;var h=[];for(var d=0;d<u;++d){h.push(l[d]-s[d])}return[t,s,h,c]},constructInterpolatedFromIR:function e(r){var t=r.xref,a=r.isEvalSupported,i=r.IR;var n=i[1];var o=i[2];var s=i[3];var l=o.length;return function e(r,t,a,i){var c=s===1?r[t]:Math.pow(r[t],s);for(var u=0;u<l;++u){a[i+u]=n[u]+c*o[u]}}},constructStiched:function e(r){var t=r.xref,i=r.isEvalSupported,o=r.fn,s=r.dict;var l=f(s.getArray("Domain"));if(!l){throw new n.FormatError("No domain")}var c=l.length/2;if(c!==1){throw new n.FormatError("Bad domain for stiched function")}var u=s.get("Functions");var h=[];for(var d=0,v=u.length;d<v;++d){h.push(this.parse({xref:t,isEvalSupported:i,fn:t.fetchIfRef(u[d])}))}var g=f(s.getArray("Bounds"));var m=f(s.getArray("Encode"));return[a,l,g,m,h]},constructStichedFromIR:function e(r){var t=r.xref,a=r.isEvalSupported,i=r.IR;var n=i[1];var o=i[2];var s=i[3];var l=i[4];var c=new Float32Array(1);return function e(r,t,a,i){var u=function e(r,t,a){if(r>a){r=a}else if(r<t){r=t}return r};var f=u(r[t],n[0],n[1]);for(var h=0,d=o.length;h<d;++h){if(f<o[h]){break}}var v=n[0];if(h>0){v=o[h-1]}var g=n[1];if(h<o.length){g=o[h]}var m=s[2*h];var p=s[2*h+1];c[0]=v===g?m:m+(f-v)*(p-m)/(g-v);l[h](c,0,a,i)}},constructPostScript:function e(r){var t=r.xref,a=r.isEvalSupported,o=r.fn,l=r.dict;var c=f(l.getArray("Domain"));var u=f(l.getArray("Range"));if(!c){throw new n.FormatError("No domain.")}if(!u){throw new n.FormatError("No range.")}var h=new s.PostScriptLexer(o);var d=new s.PostScriptParser(h);var v=d.parse();return[i,c,u,v]},constructPostScriptFromIR:function e(r){var t=r.xref,a=r.isEvalSupported,i=r.IR;var o=i[1];var s=i[2];var l=i[3];if(a&&c.value){var u=(new m).compile(l,o,s);if(u){return new Function("src","srcOffset","dest","destOffset",u)}}(0,n.info)("Unable to compile PS function");var f=s.length>>1;var h=o.length>>1;var d=new g(l);var v=Object.create(null);var p=2048*4;var b=p;var y=new Float32Array(h);return function e(r,t,a,i){var n,o;var l="";var c=y;for(n=0;n<h;n++){o=r[t+n];c[n]=o;l+=o+"_"}var u=v[l];if(u!==undefined){a.set(u,i);return}var g=new Float32Array(f);var m=d.execute(c);var p=m.length-f;for(n=0;n<f;n++){o=m[p+n];var w=s[n*2];if(o<w){o=w}else{w=s[n*2+1];if(o>w){o=w}}g[n]=o}if(b>0){b--;v[l]=g}a.set(g,i)}}}}();function d(e){var r;if((typeof e==="undefined"?"undefined":a(e))!=="object"){return false}else if((0,o.isDict)(e)){r=e}else if((0,o.isStream)(e)){r=e.dict}else{return false}return r.has("FunctionType")}var v=function e(){var r=100;function t(e){this.stack=!e?[]:Array.prototype.slice.call(e,0)}t.prototype={push:function e(t){if(this.stack.length>=r){throw new Error("PostScript function stack overflow.")}this.stack.push(t)},pop:function e(){if(this.stack.length<=0){throw new Error("PostScript function stack underflow.")}return this.stack.pop()},copy:function e(t){if(this.stack.length+t>=r){throw new Error("PostScript function stack overflow.")}var a=this.stack;for(var i=a.length-t,n=t-1;n>=0;n--,i++){a.push(a[i])}},index:function e(r){this.push(this.stack[this.stack.length-r-1])},roll:function e(r,t){var a=this.stack;var i=a.length-r;var n=a.length-1,o=i+(t-Math.floor(t/r)*r),s,l,c;for(s=i,l=n;s<l;s++,l--){c=a[s];a[s]=a[l];a[l]=c}for(s=i,l=o-1;s<l;s++,l--){c=a[s];a[s]=a[l];a[l]=c}for(s=o,l=n;s<l;s++,l--){c=a[s];a[s]=a[l];a[l]=c}}};return t}();var g=function e(){function r(e){this.operators=e}r.prototype={execute:function e(r){var t=new v(r);var a=0;var i=this.operators;var o=i.length;var s,l,c;while(a<o){s=i[a++];if(typeof s==="number"){t.push(s);continue}switch(s){case"jz":c=t.pop();l=t.pop();if(!l){a=c}break;case"j":l=t.pop();a=l;break;case"abs":l=t.pop();t.push(Math.abs(l));break;case"add":c=t.pop();l=t.pop();t.push(l+c);break;case"and":c=t.pop();l=t.pop();if((0,n.isBool)(l)&&(0,n.isBool)(c)){t.push(l&&c)}else{t.push(l&c)}break;case"atan":l=t.pop();t.push(Math.atan(l));break;case"bitshift":c=t.pop();l=t.pop();if(l>0){t.push(l<<c)}else{t.push(l>>c)}break;case"ceiling":l=t.pop();t.push(Math.ceil(l));break;case"copy":l=t.pop();t.copy(l);break;case"cos":l=t.pop();t.push(Math.cos(l));break;case"cvi":l=t.pop()|0;t.push(l);break;case"cvr":break;case"div":c=t.pop();l=t.pop();t.push(l/c);break;case"dup":t.copy(1);break;case"eq":c=t.pop();l=t.pop();t.push(l===c);break;case"exch":t.roll(2,1);break;case"exp":c=t.pop();l=t.pop();t.push(Math.pow(l,c));break;case"false":t.push(false);break;case"floor":l=t.pop();t.push(Math.floor(l));break;case"ge":c=t.pop();l=t.pop();t.push(l>=c);break;case"gt":c=t.pop();l=t.pop();t.push(l>c);break;case"idiv":c=t.pop();l=t.pop();t.push(l/c|0);break;case"index":l=t.pop();t.index(l);break;case"le":c=t.pop();l=t.pop();t.push(l<=c);break;case"ln":l=t.pop();t.push(Math.log(l));break;case"log":l=t.pop();t.push(Math.log(l)/Math.LN10);break;case"lt":c=t.pop();l=t.pop();t.push(l<c);break;case"mod":c=t.pop();l=t.pop();t.push(l%c);break;case"mul":c=t.pop();l=t.pop();t.push(l*c);break;case"ne":c=t.pop();l=t.pop();t.push(l!==c);break;case"neg":l=t.pop();t.push(-l);break;case"not":l=t.pop();if((0,n.isBool)(l)){t.push(!l)}else{t.push(~l)}break;case"or":c=t.pop();l=t.pop();if((0,n.isBool)(l)&&(0,n.isBool)(c)){t.push(l||c)}else{t.push(l|c)}break;case"pop":t.pop();break;case"roll":c=t.pop();l=t.pop();t.roll(l,c);break;case"round":l=t.pop();t.push(Math.round(l));break;case"sin":l=t.pop();t.push(Math.sin(l));break;case"sqrt":l=t.pop();t.push(Math.sqrt(l));break;case"sub":c=t.pop();l=t.pop();t.push(l-c);break;case"true":t.push(true);break;case"truncate":l=t.pop();l=l<0?Math.ceil(l):Math.floor(l);t.push(l);break;case"xor":c=t.pop();l=t.pop();if((0,n.isBool)(l)&&(0,n.isBool)(c)){t.push(l!==c)}else{t.push(l^c)}break;default:throw new n.FormatError("Unknown operator "+s)}}return t.stack}};return r}();var m=function e(){function r(e){this.type=e}r.prototype.visit=function(e){(0,n.unreachable)("abstract method")};function t(e,t,a){r.call(this,"args");this.index=e;this.min=t;this.max=a}t.prototype=Object.create(r.prototype);t.prototype.visit=function(e){e.visitArgument(this)};function a(e){r.call(this,"literal");this.number=e;this.min=e;this.max=e}a.prototype=Object.create(r.prototype);a.prototype.visit=function(e){e.visitLiteral(this)};function i(e,t,a,i,n){r.call(this,"binary");this.op=e;this.arg1=t;this.arg2=a;this.min=i;this.max=n}i.prototype=Object.create(r.prototype);i.prototype.visit=function(e){e.visitBinaryOperation(this)};function o(e,t){r.call(this,"max");this.arg=e;this.min=e.min;this.max=t}o.prototype=Object.create(r.prototype);o.prototype.visit=function(e){e.visitMin(this)};function s(e,t,a){r.call(this,"var");this.index=e;this.min=t;this.max=a}s.prototype=Object.create(r.prototype);s.prototype.visit=function(e){e.visitVariable(this)};function l(e,t){r.call(this,"definition");this.variable=e;this.arg=t}l.prototype=Object.create(r.prototype);l.prototype.visit=function(e){e.visitVariableDefinition(this)};function c(){this.parts=[]}c.prototype={visitArgument:function e(r){this.parts.push("Math.max(",r.min,", Math.min(",r.max,", src[srcOffset + ",r.index,"]))")},visitVariable:function e(r){this.parts.push("v",r.index)},visitLiteral:function e(r){this.parts.push(r.number)},visitBinaryOperation:function e(r){this.parts.push("(");r.arg1.visit(this);this.parts.push(" ",r.op," ");r.arg2.visit(this);this.parts.push(")")},visitVariableDefinition:function e(r){this.parts.push("var ");r.variable.visit(this);this.parts.push(" = ");r.arg.visit(this);this.parts.push(";")},visitMin:function e(r){this.parts.push("Math.min(");r.arg.visit(this);this.parts.push(", ",r.max,")")},toString:function e(){return this.parts.join("")}};function u(e,r){if(r.type==="literal"&&r.number===0){return e}if(e.type==="literal"&&e.number===0){return r}if(r.type==="literal"&&e.type==="literal"){return new a(e.number+r.number)}return new i("+",e,r,e.min+r.min,e.max+r.max)}function f(e,r){if(r.type==="literal"){if(r.number===0){return new a(0)}else if(r.number===1){return e}else if(e.type==="literal"){return new a(e.number*r.number)}}if(e.type==="literal"){if(e.number===0){return new a(0)}else if(e.number===1){return r}}var t=Math.min(e.min*r.min,e.min*r.max,e.max*r.min,e.max*r.max);var n=Math.max(e.min*r.min,e.min*r.max,e.max*r.min,e.max*r.max);return new i("*",e,r,t,n)}function h(e,r){if(r.type==="literal"){if(r.number===0){return e}else if(e.type==="literal"){return new a(e.number-r.number)}}if(r.type==="binary"&&r.op==="-"&&e.type==="literal"&&e.number===1&&r.arg1.type==="literal"&&r.arg1.number===1){return r.arg2}return new i("-",e,r,e.min-r.max,e.max-r.min)}function d(e,r){if(e.min>=r){return new a(r)}else if(e.max<=r){return e}return new o(e,r)}function v(){}v.prototype={compile:function e(r,i,n){var o=[];var v,g;var m=[];var p=i.length>>1,b=n.length>>1;var y=0;var w,k;var S,C,x,_,A,P;for(v=0;v<p;v++){o.push(new t(v,i[v*2],i[v*2+1]))}for(v=0,g=r.length;v<g;v++){P=r[v];if(typeof P==="number"){o.push(new a(P));continue}switch(P){case"add":if(o.length<2){return null}C=o.pop();S=o.pop();o.push(u(S,C));break;case"cvr":if(o.length<1){return null}break;case"mul":if(o.length<2){return null}C=o.pop();S=o.pop();o.push(f(S,C));break;case"sub":if(o.length<2){return null}C=o.pop();S=o.pop();o.push(h(S,C));break;case"exch":if(o.length<2){return null}x=o.pop();_=o.pop();o.push(x,_);break;case"pop":if(o.length<1){return null}o.pop();break;case"index":if(o.length<1){return null}S=o.pop();if(S.type!=="literal"){return null}w=S.number;if(w<0||!Number.isInteger(w)||o.length<w){return null}x=o[o.length-w-1];if(x.type==="literal"||x.type==="var"){o.push(x);break}A=new s(y++,x.min,x.max);o[o.length-w-1]=A;o.push(A);m.push(new l(A,x));break;case"dup":if(o.length<1){return null}if(typeof r[v+1]==="number"&&r[v+2]==="gt"&&r[v+3]===v+7&&r[v+4]==="jz"&&r[v+5]==="pop"&&r[v+6]===r[v+1]){S=o.pop();o.push(d(S,r[v+1]));v+=6;break}x=o[o.length-1];if(x.type==="literal"||x.type==="var"){o.push(x);break}A=new s(y++,x.min,x.max);o[o.length-1]=A;o.push(A);m.push(new l(A,x));break;case"roll":if(o.length<2){return null}C=o.pop();S=o.pop();if(C.type!=="literal"||S.type!=="literal"){return null}k=C.number;w=S.number;if(w<=0||!Number.isInteger(w)||!Number.isInteger(k)||o.length<w){return null}k=(k%w+w)%w;if(k===0){break}Array.prototype.push.apply(o,o.splice(o.length-w,w-k));break;default:return null}}if(o.length!==b){return null}var I=[];m.forEach(function(e){var r=new c;e.visit(r);I.push(r.toString())});o.forEach(function(e,r){var t=new c;e.visit(t);var a=n[r*2],i=n[r*2+1];var o=[t.toString()];if(a>e.min){o.unshift("Math.max(",a,", ");o.push(")")}if(i<e.max){o.unshift("Math.min(",i,", ");o.push(")")}o.unshift("dest[destOffset + ",r,"] = ");o.push(";");I.push(o.join(""))});return I.join("\n")}};return v}();r.isPDFFunction=d;r.PDFFunctionFactory=u;r.PostScriptEvaluator=g;r.PostScriptCompiler=m},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:true});r.PostScriptParser=r.PostScriptLexer=undefined;var a=t(2);var i=t(138);var n=function e(){function r(e){this.lexer=e;this.operators=[];this.token=null;this.prev=null}r.prototype={nextToken:function e(){this.prev=this.token;this.token=this.lexer.getToken()},accept:function e(r){if(this.token.type===r){this.nextToken();return true}return false},expect:function e(r){if(this.accept(r)){return true}throw new a.FormatError("Unexpected symbol: found "+this.token.type+" expected "+r+".")},parse:function e(){this.nextToken();this.expect(o.LBRACE);this.parseBlock();this.expect(o.RBRACE);return this.operators},parseBlock:function e(){while(true){if(this.accept(o.NUMBER)){this.operators.push(this.prev.value)}else if(this.accept(o.OPERATOR)){this.operators.push(this.prev.value)}else if(this.accept(o.LBRACE)){this.parseCondition()}else{return}}},parseCondition:function e(){var r=this.operators.length;this.operators.push(null,null);this.parseBlock();this.expect(o.RBRACE);if(this.accept(o.IF)){this.operators[r]=this.operators.length;this.operators[r+1]="jz"}else if(this.accept(o.LBRACE)){var t=this.operators.length;this.operators.push(null,null);var i=this.operators.length;this.parseBlock();this.expect(o.RBRACE);this.expect(o.IFELSE);this.operators[t]=this.operators.length;this.operators[t+1]="j";this.operators[r]=i;this.operators[r+1]="jz"}else{throw new a.FormatError("PS Function: error parsing conditional.")}}};return r}();var o={LBRACE:0,RBRACE:1,NUMBER:2,OPERATOR:3,IF:4,IFELSE:5};var s=function e(){function r(e,r){this.type=e;this.value=r}var t=Object.create(null);r.getOperator=function e(a){var i=t[a];if(i){return i}return t[a]=new r(o.OPERATOR,a)};r.LBRACE=new r(o.LBRACE,"{");r.RBRACE=new r(o.RBRACE,"}");r.IF=new r(o.IF,"IF");r.IFELSE=new r(o.IFELSE,"IFELSE");return r}();var l=function e(){function r(e){this.stream=e;this.nextChar();this.strBuf=[]}r.prototype={nextChar:function e(){return this.currentChar=this.stream.getByte()},getToken:function e(){var r=false;var t=this.currentChar;while(true){if(t<0){return i.EOF}if(r){if(t===10||t===13){r=false}}else if(t===37){r=true}else if(!(0,a.isSpace)(t)){break}t=this.nextChar()}switch(t|0){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:case 43:case 45:case 46:return new s(o.NUMBER,this.getNumber());case 123:this.nextChar();return s.LBRACE;case 125:this.nextChar();return s.RBRACE}var n=this.strBuf;n.length=0;n[0]=String.fromCharCode(t);while((t=this.nextChar())>=0&&(t>=65&&t<=90||t>=97&&t<=122)){n.push(String.fromCharCode(t))}var l=n.join("");switch(l.toLowerCase()){case"if":return s.IF;case"ifelse":return s.IFELSE;default:return s.getOperator(l)}},getNumber:function e(){var r=this.currentChar;var t=this.strBuf;t.length=0;t[0]=String.fromCharCode(r);while((r=this.nextChar())>=0){if(r>=48&&r<=57||r===45||r===46){t.push(String.fromCharCode(r))}else{break}}var i=parseFloat(t.join(""));if(isNaN(i)){throw new a.FormatError("Invalid floating point number: "+i)}return i}};return r}();r.PostScriptLexer=l;r.PostScriptParser=n},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:true});r.MurmurHash3_64=undefined;var a=t(2);var i=function e(r){var t=4294901760;var i=65535;function n(e){var r=3285377520;this.h1=e?e&4294967295:r;this.h2=e?e&4294967295:r}n.prototype={update:function e(r){var n=void 0,o=void 0;if((0,a.isString)(r)){n=new Uint8Array(r.length*2);o=0;for(var s=0,l=r.length;s<l;s++){var c=r.charCodeAt(s);if(c<=255){n[o++]=c}else{n[o++]=c>>>8;n[o++]=c&255}}}else if((0,a.isArrayBuffer)(r)){n=r;o=n.byteLength}else{throw new Error("Wrong data format in MurmurHash3_64_update. "+"Input must be a string or array.")}var u=o>>2;var f=o-u*4;var h=new Uint32Array(n.buffer,0,u);var d=0;var v=0;var g=this.h1;var m=this.h2;var p=3432918353;var b=461845907;var y=p&i;var w=b&i;for(var k=0;k<u;k++){if(k&1){d=h[k];d=d*p&t|d*y&i;d=d<<15|d>>>17;d=d*b&t|d*w&i;g^=d;g=g<<13|g>>>19;g=g*5+3864292196}else{v=h[k];v=v*p&t|v*y&i;v=v<<15|v>>>17;v=v*b&t|v*w&i;m^=v;m=m<<13|m>>>19;m=m*5+3864292196}}d=0;switch(f){case 3:d^=n[u*4+2]<<16;case 2:d^=n[u*4+1]<<8;case 1:d^=n[u*4];d=d*p&t|d*y&i;d=d<<15|d>>>17;d=d*b&t|d*w&i;if(u&1){g^=d}else{m^=d}}this.h1=g;this.h2=m;return this},hexdigest:function e(){var r=this.h1;var a=this.h2;r^=a>>>1;r=r*3981806797&t|r*36045&i;a=a*4283543511&t|((a<<16|r>>>16)*2950163797&t)>>>16;r^=a>>>1;r=r*444984403&t|r*60499&i;a=a*3301882366&t|((a<<16|r>>>16)*3120437893&t)>>>16;r^=a>>>1;for(var n=0,o=[r,a],s="";n<o.length;n++){var l=(o[n]>>>0).toString(16);while(l.length<8){l="0"+l}s+=l}return s}};return n}();r.MurmurHash3_64=i},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:true});r.PDFImage=undefined;var a=function(){function e(e,r){var t=[];var a=true;var i=false;var n=undefined;try{for(var o=e[Symbol.iterator](),s;!(a=(s=o.next()).done);a=true){t.push(s.value);if(r&&t.length===r)break}}catch(e){i=true;n=e}finally{try{if(!a&&o["return"])o["return"]()}finally{if(i)throw n}}return t}return function(r,t){if(Array.isArray(r)){return r}else if(Symbol.iterator in Object(r)){return e(r,t)}else{throw new TypeError("Invalid attempt to destructure non-iterable instance")}}}();var i=t(2);var n=t(138);var o=t(151);var s=t(140);var l=t(146);var c=t(149);var u=function e(){function r(e,r){if(r&&r.canDecode(e)){return r.decode(e).catch(function(r){(0,i.warn)("Native image decoding failed -- trying to recover: "+(r&&r.message));return e})}return Promise.resolve(e)}function t(e,r,t,a){e=r+e*t;return e<0?0:e>a?a:e}function u(e,r,t,a,i,n){var o=i*n;var s=r<=8?new Uint8Array(o):r<=16?new Uint16Array(o):new Uint32Array(o);var l=t/i;var c=a/n;var u,f,h,d=0,v;var g=new Uint16Array(i);var m=t;for(u=0;u<i;u++){g[u]=Math.floor(u*l)}for(u=0;u<n;u++){h=Math.floor(u*c)*m;for(f=0;f<i;f++){v=h+g[f];s[d++]=e[v]}}return s}function f(e){var r=e.xref,t=e.res,a=e.image,s=e.isInline,l=s===undefined?false:s,u=e.smask,h=u===undefined?null:u,d=e.mask,v=d===undefined?null:d,g=e.isMask,m=g===undefined?false:g,p=e.pdfFunctionFactory;this.image=a;var b=a.dict;var y=b.get("Filter");if((0,n.isName)(y)){switch(y.name){case"JPXDecode":var w=new c.JpxImage;w.parseImageProperties(a.stream);a.stream.reset();a.width=w.width;a.height=w.height;a.bitsPerComponent=w.bitsPerComponent;a.numComps=w.componentsCount;break;case"JBIG2Decode":a.bitsPerComponent=1;a.numComps=1;break}}var k=b.get("Width","W");var S=b.get("Height","H");if(Number.isInteger(a.width)&&a.width>0&&Number.isInteger(a.height)&&a.height>0&&(a.width!==k||a.height!==S)){(0,i.warn)("PDFImage - using the Width/Height of the image data, "+"rather than the image dictionary.");k=a.width;S=a.height}if(k<1||S<1){throw new i.FormatError("Invalid image width: "+k+" or "+("height: "+S))}this.width=k;this.height=S;this.interpolate=b.get("Interpolate","I")||false;this.imageMask=b.get("ImageMask","IM")||false;this.matte=b.get("Matte")||false;var C=a.bitsPerComponent;if(!C){C=b.get("BitsPerComponent","BPC");if(!C){if(this.imageMask){C=1}else{throw new i.FormatError("Bits per component missing in image: "+this.imageMask)}}}this.bpc=C;if(!this.imageMask){var x=b.get("ColorSpace","CS");if(!x){(0,i.info)("JPX images (which do not require color spaces)");switch(a.numComps){case 1:x=n.Name.get("DeviceGray");break;case 3:x=n.Name.get("DeviceRGB");break;case 4:x=n.Name.get("DeviceCMYK");break;default:throw new Error("JPX images with "+a.numComps+" "+"color components not supported.")}}var _=l?t:null;this.colorSpace=o.ColorSpace.parse(x,r,_,p);this.numComps=this.colorSpace.numComps}this.decode=b.getArray("Decode","D");this.needsDecode=false;if(this.decode&&(this.colorSpace&&!this.colorSpace.isDefaultDecode(this.decode)||m&&!o.ColorSpace.isDefaultDecode(this.decode,1))){this.needsDecode=true;var A=(1<<C)-1;this.decodeCoefficients=[];this.decodeAddends=[];for(var P=0,I=0;P<this.decode.length;P+=2,++I){var O=this.decode[P];var T=this.decode[P+1];this.decodeCoefficients[I]=T-O;this.decodeAddends[I]=A*O}}if(h){this.smask=new f({xref:r,res:t,image:h,isInline:l,pdfFunctionFactory:p})}else if(v){if((0,n.isStream)(v)){var E=v.dict,F=E.get("ImageMask","IM");if(!F){(0,i.warn)("Ignoring /Mask in image without /ImageMask.")}else{this.mask=new f({xref:r,res:t,image:v,isInline:l,isMask:true,pdfFunctionFactory:p})}}else{this.mask=v}}}f.buildImage=function(e){var t=e.handler,o=e.xref,s=e.res,l=e.image,c=e.isInline,u=c===undefined?false:c,h=e.nativeDecoder,d=h===undefined?null:h,v=e.pdfFunctionFactory;var g=r(l,d);var m;var p;var b=l.dict.get("SMask");var y=l.dict.get("Mask");if(b){m=r(b,d);p=Promise.resolve(null)}else{m=Promise.resolve(null);if(y){if((0,n.isStream)(y)){p=r(y,d)}else if(Array.isArray(y)){p=Promise.resolve(y)}else{(0,i.warn)("Unsupported mask format.");p=Promise.resolve(null)}}else{p=Promise.resolve(null)}}return Promise.all([g,m,p]).then(function(e){var r=a(e,3),t=r[0],i=r[1],n=r[2];return new f({xref:o,res:s,image:t,isInline:u,smask:i,mask:n,pdfFunctionFactory:v})})};f.createMask=function(e){var r=e.imgArray,t=e.width,a=e.height,i=e.imageIsFromDecodeStream,n=e.inverseDecode;var o=(t+7>>3)*a;var s=r.byteLength;var l=o===s;var c,u;if(i&&(!n||l)){c=r}else if(!n){c=new Uint8ClampedArray(s);c.set(r)}else{c=new Uint8ClampedArray(o);c.set(r);for(u=s;u<o;u++){c[u]=255}}if(n){for(u=0;u<s;u++){c[u]^=255}}return{data:c,width:t,height:a}};f.prototype={get drawWidth(){return Math.max(this.width,this.smask&&this.smask.width||0,this.mask&&this.mask.width||0)},get drawHeight(){return Math.max(this.height,this.smask&&this.smask.height||0,this.mask&&this.mask.height||0)},decodeBuffer:function e(r){var a=this.bpc;var i=this.numComps;var n=this.decodeAddends;var o=this.decodeCoefficients;var s=(1<<a)-1;var l,c;if(a===1){for(l=0,c=r.length;l<c;l++){r[l]=+!r[l]}return}var u=0;for(l=0,c=this.width*this.height;l<c;l++){for(var f=0;f<i;f++){r[u]=t(r[u],n[f],o[f],s);u++}}},getComponents:function e(r){var t=this.bpc;if(t===8){return r}var a=this.width;var i=this.height;var n=this.numComps;var o=a*i*n;var s=0;var l=t<=8?new Uint8Array(o):t<=16?new Uint16Array(o):new Uint32Array(o);var c=a*n;var u=(1<<t)-1;var f=0,h,d;if(t===1){var v,g,m;for(var p=0;p<i;p++){g=f+(c&~7);m=f+c;while(f<g){d=r[s++];l[f]=d>>7&1;l[f+1]=d>>6&1;l[f+2]=d>>5&1;l[f+3]=d>>4&1;l[f+4]=d>>3&1;l[f+5]=d>>2&1;l[f+6]=d>>1&1;l[f+7]=d&1;f+=8}if(f<m){d=r[s++];v=128;while(f<m){l[f++]=+!!(d&v);v>>=1}}}}else{var b=0;d=0;for(f=0,h=o;f<h;++f){if(f%c===0){d=0;b=0}while(b<t){d=d<<8|r[s++];b+=8}var y=b-t;var w=d>>y;l[f]=w<0?0:w>u?u:w;d=d&(1<<y)-1;b=y}}return l},fillOpacity:function e(r,t,a,n,o){var s=this.smask;var l=this.mask;var c,h,d,v,g,m;if(s){h=s.width;d=s.height;c=new Uint8ClampedArray(h*d);s.fillGrayBuffer(c);if(h!==t||d!==a){c=u(c,s.bpc,h,d,t,a)}}else if(l){if(l instanceof f){h=l.width;d=l.height;c=new Uint8ClampedArray(h*d);l.numComps=1;l.fillGrayBuffer(c);for(v=0,g=h*d;v<g;++v){c[v]=255-c[v]}if(h!==t||d!==a){c=u(c,l.bpc,h,d,t,a)}}else if(Array.isArray(l)){c=new Uint8ClampedArray(t*a);var p=this.numComps;for(v=0,g=t*a;v<g;++v){var b=0;var y=v*p;for(m=0;m<p;++m){var w=o[y+m];var k=m*2;if(w<l[k]||w>l[k+1]){b=255;break}}c[v]=b}}else{throw new i.FormatError("Unknown mask format.")}}if(c){for(v=0,m=3,g=t*n;v<g;++v,m+=4){r[m]=c[v]}}else{for(v=0,m=3,g=t*n;v<g;++v,m+=4){r[m]=255}}},undoPreblend:function e(r,t,a){var i=this.smask&&this.smask.matte;if(!i){return}var n=this.colorSpace.getRgb(i,0);var o=n[0];var s=n[1];var l=n[2];var c=t*a*4;for(var u=0;u<c;u+=4){var f=r[u+3];if(f===0){r[u]=255;r[u+1]=255;r[u+2]=255;continue}var h=255/f;r[u]=(r[u]-o)*h+o;r[u+1]=(r[u+1]-s)*h+s;r[u+2]=(r[u+2]-l)*h+l}},createImageData:function e(){var r=arguments.length>0&&arguments[0]!==undefined?arguments[0]:false;var t=this.drawWidth;var a=this.drawHeight;var n={width:t,height:a,kind:0,data:null};var o=this.numComps;var c=this.width;var u=this.height;var f=this.bpc;var h=c*o*f+7>>3;var d;if(!r){var v;if(this.colorSpace.name==="DeviceGray"&&f===1){v=i.ImageKind.GRAYSCALE_1BPP}else if(this.colorSpace.name==="DeviceRGB"&&f===8&&!this.needsDecode){v=i.ImageKind.RGB_24BPP}if(v&&!this.smask&&!this.mask&&t===c&&a===u){n.kind=v;d=this.getImageBytes(u*h);if(this.image instanceof s.DecodeStream){n.data=d}else{var g=new Uint8ClampedArray(d.length);g.set(d);n.data=g}if(this.needsDecode){(0,i.assert)(v===i.ImageKind.GRAYSCALE_1BPP,"PDFImage.createImageData: The image must be grayscale.");var m=n.data;for(var p=0,b=m.length;p<b;p++){m[p]^=255}}return n}if(this.image instanceof l.JpegStream&&!this.smask&&!this.mask){var y=u*h;switch(this.colorSpace.name){case"DeviceGray":y*=3;case"DeviceRGB":case"DeviceCMYK":n.kind=i.ImageKind.RGB_24BPP;n.data=this.getImageBytes(y,t,a,true);return n}}}d=this.getImageBytes(u*h);var w=0|d.length/h*a/u;var k=this.getComponents(d);var S,C;if(!r&&!this.smask&&!this.mask){n.kind=i.ImageKind.RGB_24BPP;n.data=new Uint8ClampedArray(t*a*3);S=0;C=false}else{n.kind=i.ImageKind.RGBA_32BPP;n.data=new Uint8ClampedArray(t*a*4);S=1;C=true;this.fillOpacity(n.data,t,a,w,k)}if(this.needsDecode){this.decodeBuffer(k)}this.colorSpace.fillRgb(n.data,c,u,t,a,w,f,k,S);if(C){this.undoPreblend(n.data,t,w)}return n},fillGrayBuffer:function e(r){var t=this.numComps;if(t!==1){throw new i.FormatError("Reading gray scale from a color image: "+t)}var a=this.width;var n=this.height;var o=this.bpc;var s=a*t*o+7>>3;var l=this.getImageBytes(n*s);var c=this.getComponents(l);var u,f;if(o===1){f=a*n;if(this.needsDecode){for(u=0;u<f;++u){r[u]=c[u]-1&255}}else{for(u=0;u<f;++u){r[u]=-c[u]&255}}return}if(this.needsDecode){this.decodeBuffer(c)}f=a*n;var h=255/((1<<o)-1);for(u=0;u<f;++u){r[u]=h*c[u]}},getImageBytes:function e(r,t,a){var i=arguments.length>3&&arguments[3]!==undefined?arguments[3]:false;this.image.reset();this.image.drawWidth=t||this.width;this.image.drawHeight=a||this.height;this.image.forceRGB=!!i;return this.image.getBytes(r,true)}};return f}();r.PDFImage=u},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:true});r.MessageHandler=undefined;var a=t(131);var i=l(a);var n=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol==="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};var o=function(){var e=c(i.default.mark(function e(r,t){var a=arguments.length>2&&arguments[2]!==undefined?arguments[2]:null;return i.default.wrap(function e(i){while(1){switch(i.prev=i.next){case 0:if(r){i.next=2;break}return i.abrupt("return");case 2:return i.abrupt("return",r.apply(a,t));case 3:case"end":return i.stop()}}},e,this)}));return function r(t,a){return e.apply(this,arguments)}}();var s=t(2);function l(e){return e&&e.__esModule?e:{default:e}}function c(e){return function(){var r=e.apply(this,arguments);return new Promise(function(e,t){function a(i,n){try{var o=r[i](n);var s=o.value}catch(e){t(e);return}if(o.done){e(s)}else{return Promise.resolve(s).then(function(e){a("next",e)},function(e){a("throw",e)})}}return a("next")})}}function u(e){if((typeof e==="undefined"?"undefined":n(e))!=="object"){return e}switch(e.name){case"AbortException":return new s.AbortException(e.message);case"MissingPDFException":return new s.MissingPDFException(e.message);case"UnexpectedResponseException":return new s.UnexpectedResponseException(e.message,e.status);default:return new s.UnknownErrorException(e.message,e.details)}}function f(e){if(!(e instanceof Error)||e instanceof s.AbortException||e instanceof s.MissingPDFException||e instanceof s.UnexpectedResponseException||e instanceof s.UnknownErrorException){return e}return new s.UnknownErrorException(e.message,e.toString())}function h(e,r,t){if(r){e.resolve()}else{e.reject(t)}}function d(e){return Promise.resolve(e).catch(function(){})}function v(e,r,t){var a=this;this.sourceName=e;this.targetName=r;this.comObj=t;this.callbackId=1;this.streamId=1;this.postMessageTransfers=true;this.streamSinks=Object.create(null);this.streamControllers=Object.create(null);var i=this.callbacksCapabilities=Object.create(null);var n=this.actionHandler=Object.create(null);this._onComObjOnMessage=function(e){var r=e.data;if(r.targetName!==a.sourceName){return}if(r.stream){a._processStreamMessage(r)}else if(r.isReply){var o=r.callbackId;if(r.callbackId in i){var s=i[o];delete i[o];if("error"in r){s.reject(u(r.error))}else{s.resolve(r.data)}}else{throw new Error("Cannot resolve callback "+o)}}else if(r.action in n){var l=n[r.action];if(r.callbackId){var c=a.sourceName;var h=r.sourceName;Promise.resolve().then(function(){return l[0].call(l[1],r.data)}).then(function(e){t.postMessage({sourceName:c,targetName:h,isReply:true,callbackId:r.callbackId,data:e})},function(e){t.postMessage({sourceName:c,targetName:h,isReply:true,callbackId:r.callbackId,error:f(e)})})}else if(r.streamId){a._createStreamSink(r)}else{l[0].call(l[1],r.data)}}else{throw new Error("Unknown action from worker: "+r.action)}};t.addEventListener("message",this._onComObjOnMessage)}v.prototype={on:function e(r,t,a){var i=this.actionHandler;if(i[r]){throw new Error('There is already an actionName called "'+r+'"')}i[r]=[t,a]},send:function e(r,t,a){var i={sourceName:this.sourceName,targetName:this.targetName,action:r,data:t};this.postMessage(i,a)},sendWithPromise:function e(r,t,a){var i=this.callbackId++;var n={sourceName:this.sourceName,targetName:this.targetName,action:r,data:t,callbackId:i};var o=(0,s.createPromiseCapability)();this.callbacksCapabilities[i]=o;try{this.postMessage(n,a)}catch(e){o.reject(e)}return o.promise},sendWithStream:function e(r,t,a,i){var n=this;var o=this.streamId++;var l=this.sourceName;var c=this.targetName;return new s.ReadableStream({start:function e(a){var i=(0,s.createPromiseCapability)();n.streamControllers[o]={controller:a,startCall:i,isClosed:false};n.postMessage({sourceName:l,targetName:c,action:r,streamId:o,data:t,desiredSize:a.desiredSize});return i.promise},pull:function e(r){var t=(0,s.createPromiseCapability)();n.streamControllers[o].pullCall=t;n.postMessage({sourceName:l,targetName:c,stream:"pull",streamId:o,desiredSize:r.desiredSize});return t.promise},cancel:function e(r){var t=(0,s.createPromiseCapability)();n.streamControllers[o].cancelCall=t;n.streamControllers[o].isClosed=true;n.postMessage({sourceName:l,targetName:c,stream:"cancel",reason:r,streamId:o});return t.promise}},a)},_createStreamSink:function e(r){var t=this;var a=this;var i=this.actionHandler[r.action];var n=r.streamId;var l=r.desiredSize;var c=this.sourceName;var u=r.sourceName;var f=(0,s.createPromiseCapability)();var h=function e(r){var a=r.stream,i=r.chunk,o=r.transfers,s=r.success,l=r.reason;t.postMessage({sourceName:c,targetName:u,stream:a,streamId:n,chunk:i,success:s,reason:l},o)};var d={enqueue:function e(r){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:1;var a=arguments[2];if(this.isCancelled){return}var i=this.desiredSize;this.desiredSize-=t;if(i>0&&this.desiredSize<=0){this.sinkCapability=(0,s.createPromiseCapability)();this.ready=this.sinkCapability.promise}h({stream:"enqueue",chunk:r,transfers:a})},close:function e(){if(this.isCancelled){return}this.isCancelled=true;h({stream:"close"});delete a.streamSinks[n]},error:function e(r){if(this.isCancelled){return}this.isCancelled=true;h({stream:"error",reason:r})},sinkCapability:f,onPull:null,onCancel:null,isCancelled:false,desiredSize:l,ready:null};d.sinkCapability.resolve();d.ready=d.sinkCapability.promise;this.streamSinks[n]=d;o(i[0],[r.data,d],i[1]).then(function(){h({stream:"start_complete",success:true})},function(e){h({stream:"start_complete",success:false,reason:e})})},_processStreamMessage:function e(r){var t=this;var a=this.sourceName;var i=r.sourceName;var n=r.streamId;var l=function e(r){var o=r.stream,s=r.success,l=r.reason;t.comObj.postMessage({sourceName:a,targetName:i,stream:o,success:s,streamId:n,reason:l})};var c=function e(){Promise.all([t.streamControllers[r.streamId].startCall,t.streamControllers[r.streamId].pullCall,t.streamControllers[r.streamId].cancelCall].map(function(e){return e&&d(e.promise)})).then(function(){delete t.streamControllers[r.streamId]})};switch(r.stream){case"start_complete":h(this.streamControllers[r.streamId].startCall,r.success,u(r.reason));break;case"pull_complete":h(this.streamControllers[r.streamId].pullCall,r.success,u(r.reason));break;case"pull":if(!this.streamSinks[r.streamId]){l({stream:"pull_complete",success:true});break}if(this.streamSinks[r.streamId].desiredSize<=0&&r.desiredSize>0){this.streamSinks[r.streamId].sinkCapability.resolve()}this.streamSinks[r.streamId].desiredSize=r.desiredSize;o(this.streamSinks[r.streamId].onPull).then(function(){l({stream:"pull_complete",success:true})},function(e){l({stream:"pull_complete",success:false,reason:e})});break;case"enqueue":(0,s.assert)(this.streamControllers[r.streamId],"enqueue should have stream controller");if(!this.streamControllers[r.streamId].isClosed){this.streamControllers[r.streamId].controller.enqueue(r.chunk)}break;case"close":(0,s.assert)(this.streamControllers[r.streamId],"close should have stream controller");if(this.streamControllers[r.streamId].isClosed){break}this.streamControllers[r.streamId].isClosed=true;this.streamControllers[r.streamId].controller.close();c();break;case"error":(0,s.assert)(this.streamControllers[r.streamId],"error should have stream controller");this.streamControllers[r.streamId].controller.error(u(r.reason));c();break;case"cancel_complete":h(this.streamControllers[r.streamId].cancelCall,r.success,u(r.reason));c();break;case"cancel":if(!this.streamSinks[r.streamId]){break}o(this.streamSinks[r.streamId].onCancel,[u(r.reason)]).then(function(){l({stream:"cancel_complete",success:true})},function(e){l({stream:"cancel_complete",success:false,reason:e})});this.streamSinks[r.streamId].sinkCapability.reject(u(r.reason));this.streamSinks[r.streamId].isCancelled=true;delete this.streamSinks[r.streamId];break;default:throw new Error("Unexpected stream case")}},postMessage:function e(r,t){if(t&&this.postMessageTransfers){this.comObj.postMessage(r,t)}else{this.comObj.postMessage(r)}},destroy:function e(){this.comObj.removeEventListener("message",this._onComObjOnMessage)}};r.MessageHandler=v}])}); //# sourceMappingURL=pdf.worker.map.js