PageSourceSearch

https://app.smartread.jp/pdf.worker.8967bd4a98e86e9b001c.js

js smartread.jp collected 2026-10-04 09:20:01 UTC 1,164,654 bytes, 3 lines download raw bytes

1/*! For license information please see pdf.worker.8967bd4a98e86e9b001c.js.LICENSE.txt */
2!function(){var e={181:function(e,t,r){var a,n=r(452).default,i=r(395).default,o=r(72).default,s=r(693).default,c=r(132).default,l=r(336).default,u=r(511).default,h=r(633).default,f=r(53).default,d=r(883).default,g=r(715).default,p=r(293).default,m=r(383).default,v=r(579).default;globalThis,a=function(){return function(){"use strict";var e=[,function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.WorkerTask=t.WorkerMessageHandler=void 0;var a=r(2),n=r(5),i=r(6),o=r(8),s=r(71),c=r(65),l=r(4),u=r(102),b=r(103),y=function(){return v((function e(t){m(this,e),this.name=t,this.terminated=!1,this._capability=(0,a.createPromiseCapability)()}),[{key:"finished",get:function(){return this._capability.promise}},{key:"finish",value:function(){this._capability.resolve()}},{key:"terminate",value:function(){this.terminated=!0}},{key:"ensureNotTerminated",value:function(){if(this.terminated)throw new Error("Worker task was terminated")}}])}();t.WorkerTask=y;var k,w=function(){function e(){m(this,e)}return v(e,null,[{key:"setup",value:function(t,r){var n=!1;t.on("test",(function(e){n||(n=!0,t.send("test",e instanceof Uint8Array))})),t.on("configure",(function(e){(0,a.setVerbosityLevel)(e.verbosity)})),t.on("GetDocRequest",(function(t){return e.createDocumentHandler(t,r)}))}},{key:"createDocumentHandler",value:function(e,t){var r,m=!1,v=null,k=[],w=(0,a.getVerbosityLevel)(),x=e.apiVersion,S="2.16.105";if(x!==S)throw new Error('The API version "'.concat(x,'" does not match ')+'the Worker version "'.concat(S,'".'));var A=[];for(var C in[])A.push(C);if(A.length)throw new Error("The `Array.prototype` contains unexpected enumerable properties: "+A.join(", ")+"; thus breaking e.g. `for...in` iteration of `Array`s.");if("undefined"===typeof ReadableStream){var F="The browser/environment lacks native support for critical functionality used by the PDF.js library (e.g. `ReadableStream`); ";if(l.isNodeJS)throw new Error(F+"please use a `legacy`-build instead.");throw new Error(F+"please update to a supported browser.")}var O=e.docId,I=e.docBaseUrl,T=e.docId+"_worker",M=new u.MessageHandler(T,O,t);function P(){if(m)throw new Error("Worker was terminated")}function E(e){k.push(e)}function N(e){e.finish();var t=k.indexOf(e);k.splice(t,1)}function D(e){return B.apply(this,arguments)}function B(){return(B=p(h().mark((function e(t){var a,n,i,o,s,c,l;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.ensureDoc("checkHeader");case 2:return e.next=4,r.ensureDoc("parseStartXRef");case 4:return e.next=6,r.ensureDoc("parse",[t]);case 6:return e.next=8,r.ensureDoc("checkFirstPage",[t]);case 8:return e.next=10,r.ensureDoc("checkLastPage",[t]);case 10:return e.next=12,r.ensureDoc("isPureXfa");case 12:if(!(a=e.sent)){e.next=18;break}return E(n=new y("loadXfaFonts")),e.next=18,Promise.all([r.loadXfaFonts(M,n).catch((function(e){})).then((function(){return N(n)})),r.loadXfaImages()]);case 18:return e.next=20,Promise.all([r.ensureDoc("numPages"),r.ensureDoc("fingerprints")]);case 20:if(i=e.sent,o=g(i,2),s=o[0],c=o[1],!a){e.next=30;break}return e.next=27,r.ensureDoc("htmlForXfa");case 27:e.t0=e.sent,e.next=31;break;case 30:e.t0=null;case 31:return l=e.t0,e.abrupt("return",{numPages:s,fingerprints:c,htmlForXfa:l});case 33:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function L(e,t,r){var n,i=(0,a.createPromiseCapability)(),s=e.source;if(s.data){try{n=new o.LocalPdfManager(O,s.data,s.password,M,t,r,I),i.resolve(n)}catch(f){i.reject(f)}return i.promise}var c,l=[];try{c=new b.PDFWorkerStream(M)}catch(f){return i.reject(f),i.promise}var u=c.getFullReader();u.headersReady.then((function(){if(u.isRangeSupported){var e=s.disableAutoFetch||u.isStreamingSupported;n=new o.NetworkPdfManager(O,c,{msgHandler:M,password:s.password,length:u.contentLength,disableAutoFetch:e,rangeChunkSize:s.rangeChunkSize},t,r,I);for(var a=0,h=l;a<h.length;a++){var f=h[a];n.sendProgressiveData(f)}l=[],i.resolve(n),v=null}})).catch((function(e){i.reject(e),v=null}));var h=0;return new Promise((function(e,c){u.read().then((function e(d){var g=d.value,p=d.done;try{if(P(),p)return n||function(){var e=(0,a.arraysToBytes)(l);s.length&&e.length!==s.length&&(0,a.warn)("reported HTTP length is different from actual");try{n=new o.LocalPdfManager(O,e,s.password,M,t,r,I),i.resolve(n)}catch(f){i.reject(f)}l=[]}(),void(v=null);h+=(0,a.arrayByteLength)(g),u.isStreamingSupported||M.send("DocProgress",{loaded:h,total:Math.max(h,u.contentLength||0)}),n?n.sendProgressiveData(g):l.push(g),u.read().then(e,c)}catch(m){c(m)}}),c)})).catch((function(e){i.reject(e),v=null})),v=function(e){c.cancelAllRequests(e)},i.promise}return M.on("GetPage",(function(e){return r.getPage(e.pageIndex).then((function(e){return Promise.all([r.ensure(e,"rotate"),r.ensure(e,"ref"),r.ensure(e,"userUnit"),r.ensure(e,"view")]).then((function(e){var t=g(e,4);return{rotate:t[0],ref:t[1],userUnit:t[2],view:t[3]}}))}))})),M.on("GetPageIndex",(function(e){var t=n.Ref.get(e.num,e.gen);return r.ensureCatalog("getPageIndex",[t])})),M.on("GetDestinations",(function(e){return r.ensureCatalog("destinations")})),M.on("GetDestination",(function(e){return r.ensureCatalog("getDestination",[e.id])})),M.on("GetPageLabels",(function(e){return r.ensureCatalog("pageLabels")})),M.on("GetPageLayout",(function(e){return r.ensureCatalog("pageLayout")})),M.on("GetPageMode",(function(e){return r.ensureCatalog("pageMode")})),M.on("GetViewerPreferences",(function(e){return r.ensureCatalog("viewerPreferences")})),M.on("GetOpenAction",(function(e){return r.ensureCatalog("openAction")})),M.on("GetAttachments",(function(e){return r.ensureCatalog("attachments")})),M.on("GetJavaScript",(function(e){return r.ensureCatalog("javaScript")})),M.on("GetDocJSActions",(function(e){return r.ensureCatalog("jsActions")})),M.on("GetPageJSActions",(function(e){var t=e.pageIndex;return r.getPage(t).then((function(e){return r.ensure(e,"jsActions")}))})),M.on("GetOutline",(function(e){return r.ensureCatalog("documentOutline")})),M.on("GetOptionalContentConfig",(function(e){return r.ensureCatalog("optionalContentConfig")})),M.on("GetPermissions",(function(e){return r.ensureCatalog("permissions")})),M.on("GetMetadata",(function(e){return Promise.all([r.ensureDoc("documentInfo"),r.ensureCatalog("metadata")])})),M.on("GetMarkInfo",(function(e){return r.ensureCatalog("markInfo")})),M.on("GetData",(function(e){return r.requestLoadedStream(),r.onLoadedStream().then((function(e){return e.bytes}))})),M.on("GetAnnotations",(function(e){var t=e.pageIndex,a=e.intent;return r.getPage(t).then((function(e){var r=new y("GetAnnotations: page ".concat(t));return E(r),e.getAnnotationsData(M,r,a).then((function(e){return N(r),e}),(function(e){N(r)}))}
2))})),M.on("GetFieldObjects",(function(e){return r.ensureDoc("fieldObjects")})),M.on("HasJSActions",(function(e){return r.ensureDoc("hasJSActions")})),M.on("GetCalculationOrderIds",(function(e){return r.ensureDoc("calculationOrderIds")})),M.on("SaveDocument",(function(e){var t=e.isPureXfa,o=e.numPages,s=e.annotationStorage,l=e.filename;r.requestLoadedStream();var u=t?null:(0,i.getNewAnnotationsMap)(s),h=[r.onLoadedStream(),r.ensureCatalog("acroForm"),r.ensureCatalog("acroFormRef"),r.ensureDoc("xref"),r.ensureDoc("startXRef")];if(u){var p,m=d(u);try{var v=function(){var e=g(p.value,2),t=e[0],a=e[1];h.push(r.getPage(t).then((function(e){var r=new y("Save (editor): page ".concat(t));return e.saveNewAnnotations(M,r,a).finally((function(){N(r)}))})))};for(m.s();!(p=m.n()).done;)v()}catch(w){m.e(w)}finally{m.f()}}if(t)h.push(r.serializeXfaData(s));else for(var b=function(e){h.push(r.getPage(e).then((function(t){var r=new y("Save: page ".concat(e));return t.save(M,r,s).finally((function(){N(r)}))})))},k=0;k<o;k++)b(k);return Promise.all(h).then((function(e){var r=f(e),i=r[0],o=r[1],s=r[2],u=r[3],h=r[4],d=r.slice(5),g=[],p=null;if(t){if(!(p=d[0]))return i.bytes}else if(0===(g=d.flat(2)).length)return i.bytes;var m=o instanceof n.Dict&&o.get("XFA")||null,v=null,b=!1;if(Array.isArray(m)){for(var y=0,k=m.length;y<k;y+=2)"datasets"===m[y]&&(v=m[y+1],s=null,b=!0);null===v&&(v=u.getNewRef())}else m&&(s=null,(0,a.warn)("Unsupported XFA type."));var w=Object.create(null);if(u.trailer){var x=Object.create(null),S=u.trailer.get("Info")||null;S instanceof n.Dict&&S.forEach((function(e,t){"string"===typeof t&&(x[e]=(0,a.stringToPDFString)(t))})),w={rootRef:u.trailer.getRaw("Root")||null,encryptRef:u.trailer.getRaw("Encrypt")||null,newRef:u.getNewRef(),infoRef:u.trailer.getRaw("Info")||null,info:x,fileIds:u.trailer.get("ID")||null,startXRef:h,filename:l}}return u.resetNewRef(),(0,c.incrementalUpdate)({originalData:i.bytes,xrefInfo:w,newRefs:g,xref:u,hasXfa:!!m,xfaDatasetsRef:v,hasXfaDatasetsEntry:b,acroFormRef:s,acroForm:o,xfaData:p})}))})),M.on("GetOperatorList",(function(e,t){var n=e.pageIndex;r.getPage(n).then((function(r){var i=new y("GetOperatorList: page ".concat(n));E(i);var o=w>=a.VerbosityLevel.INFOS?Date.now():0;r.getOperatorList({handler:M,sink:t,task:i,intent:e.intent,cacheKey:e.cacheKey,annotationStorage:e.annotationStorage}).then((function(e){N(i),o&&(0,a.info)("page=".concat(n+1," - getOperatorList: time=")+"".concat(Date.now()-o,"ms, len=").concat(e.length)),t.close()}),(function(e){N(i),i.terminated||(M.send("UnsupportedFeature",{featureId:a.UNSUPPORTED_FEATURES.errorOperatorList}),t.error(e))}))}))})),M.on("GetTextContent",(function(e,t){var n=e.pageIndex;r.getPage(n).then((function(r){var i=new y("GetTextContent: page "+n);E(i);var o=w>=a.VerbosityLevel.INFOS?Date.now():0;r.extractTextContent({handler:M,task:i,sink:t,includeMarkedContent:e.includeMarkedContent,combineTextItems:e.combineTextItems}).then((function(){N(i),o&&(0,a.info)("page=".concat(n+1," - getTextContent: time=")+"".concat(Date.now()-o,"ms")),t.close()}),(function(e){N(i),i.terminated||t.error(e)}))}))})),M.on("GetStructTree",(function(e){return r.getPage(e.pageIndex).then((function(e){return r.ensure(e,"getStructTree")}))})),M.on("FontFallback",(function(e){return r.fontFallback(e.id,M)})),M.on("Cleanup",(function(e){return r.cleanup(!0)})),M.on("Terminate",(function(e){m=!0;var t=[];if(r){r.terminate(new a.AbortException("Worker was terminated."));var n=r.cleanup();t.push(n),r=null}else(0,s.clearGlobalCaches)();v&&v(new a.AbortException("Worker was terminated."));for(var i=0,o=k;i<o.length;i++){var c=o[i];t.push(c.finished),c.terminate()}return Promise.all(t).then((function(){M.destroy(),M=null}))})),M.on("Ready",(function(t){!function(e){function t(e){P(),M.send("GetDoc",{pdfInfo:e})}function n(e){if(P(),e instanceof a.PasswordException){var t=new y("PasswordException: response ".concat(e.code));E(t),M.sendWithPromise("PasswordRequest",e).then((function(e){var a=e.password;N(t),r.updatePassword(a),o()})).catch((function(){N(t),M.send("DocException",e)}))}else e instanceof a.InvalidPDFException||e instanceof a.MissingPDFException||e instanceof a.UnexpectedResponseException||e instanceof a.UnknownErrorException?M.send("DocException",e):M.send("DocException",new a.UnknownErrorException(e.message,e.toString()))}function o(){P(),D(!1).then(t,(function(e){P(),e instanceof i.XRefParseException?(r.requestLoadedStream(),r.onLoadedStream().then((function(){P(),D(!0).then(t,n)}))):n(e)}))}P(),L(e,{maxImageSize:e.maxImageSize,disableFontFace:e.disableFontFace,ignoreErrors:e.ignoreErrors,isEvalSupported:e.isEvalSupported,fontExtraProperties:e.fontExtraProperties,use
2SystemFonts:e.useSystemFonts,cMapUrl:e.cMapUrl,standardFontDataUrl:e.standardFontDataUrl},e.enableXfa).then((function(e){if(m)throw e.terminate(new a.AbortException("Worker was terminated.")),new Error("Worker was terminated");(r=e).onLoadedStream().then((function(e){M.send("DataLoaded",{length:e.bytes.byteLength})}))})).then(o,n)}(e),e=null})),T}},{key:"initializeFromPort",value:function(t){var r=new u.MessageHandler("worker","main",t);e.setup(r,t),r.send("ready",null)}}])}();t.WorkerMessageHandler=w,"undefined"===typeof window&&!l.isNodeJS&&"undefined"!==typeof self&&"function"===typeof(k=self).postMessage&&"onmessage"in k&&w.initializeFromPort(self)},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.VerbosityLevel=t.Util=t.UnknownErrorException=t.UnexpectedResponseException=t.UNSUPPORTED_FEATURES=t.TextRenderingMode=t.StreamType=t.RenderingIntentFlag=t.PermissionFlag=t.PasswordResponses=t.PasswordException=t.PageActionEventType=t.OPS=t.MissingPDFException=t.LINE_FACTOR=t.LINE_DESCENT_FACTOR=t.InvalidPDFException=t.ImageKind=t.IDENTITY_MATRIX=t.FormatError=t.FontType=t.FeatureTest=t.FONT_IDENTITY_MATRIX=t.DocumentActionEventType=t.CMapCompressionType=t.BaseException=t.AnnotationType=t.AnnotationStateModelType=t.AnnotationReviewState=t.AnnotationReplyType=t.AnnotationMode=t.AnnotationMarkedState=t.AnnotationFlag=t.AnnotationFieldFlag=t.AnnotationEditorType=t.AnnotationEditorPrefix=t.AnnotationEditorParamsType=t.AnnotationBorderStyleType=t.AnnotationActionEventType=t.AbortException=void 0,t.arrayByteLength=A,t.arraysToBytes=function(e){var t=e.length;if(1===t&&e[0]instanceof Uint8Array)return e[0];for(var r=0,a=0;a<t;a++)r+=A(e[a]);for(var n=0,i=new Uint8Array(r),o=0;o<t;o++){var s=e[o];s instanceof Uint8Array||(s="string"===typeof s?S(s):new Uint8Array(s));var c=s.byteLength;i.set(s,n),n+=c}return i},t.assert=function(e,t){e||o(t)},t.bytesToString=function(e){"object"===typeof e&&null!==e&&void 0!==e.length||o("Invalid argument for bytesToString");var t=e.length,r=8192;if(t<r)return String.fromCharCode.apply(null,e);for(var a=[],n=0;n<t;n+=r){var i=Math.min(n+r,t),s=e.subarray(n,i);a.push(String.fromCharCode.apply(null,s))}return a.join("")},t.createPromiseCapability=function(){var e=Object.create(null),t=!1;return Object.defineProperty(e,"settled",{get:function(){return t}}),e.promise=new Promise((function(r,a){e.resolve=function(e){t=!0,r(e)},e.reject=function(e){t=!0,a(e)}})),e},t.createValidAbsoluteUrl=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(!e)return null;try{if(r&&"string"===typeof e){if(r.addDefaultProtocol&&e.startsWith("www.")){var a=e.match(/\./g);a&&a.length>=2&&(e="http://".concat(e))}if(r.tryConvertEncoding)try{e=T(e)}catch(i){}}var n=t?new URL(e,t):new URL(e);if(function(e){if(!e)return!1;switch(e.protocol){case"http:":case"https:":case"ftp:":case"mailto:":case"tel:":return!0;default:return!1}}(n))return n}catch(i){}return null},t.escapeString=function(e){return e.replace(/([()\\\n\r])/g,(function(e){return"\n"===e?"\\n":"\r"===e?"\\r":"\\".concat(e)}))},t.getModificationDate=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Date;return[e.getUTCFullYear().toString(),(e.getUTCMonth()+1).toString().padStart(2,"0"),e.getUTCDate().toString().padStart(2,"0"),e.getUTCHours().toString().padStart(2,"0"),e.getUTCMinutes().toString().padStart(2,"0"),e.getUTCSeconds().toString().padStart(2,"0")].join("")},t.getVerbosityLevel=function(){return n},t.info=function(e){n>=a.INFOS&&console.log("Info: ".concat(e))},t.isArrayBuffer=function(e){return"object"===typeof e&&null!==e&&void 0!==e.byteLength},t.isArrayEqual=function(e,t){if(e.length!==t.length)return!1;for(var r=0,a=e.length;r<a;r++)if(e[r]!==t[r])return!1;return!0},t.isAscii=function(e){return/^[\x00-\x7F]*$/.test(e)},t.objectFromMap=function(e){var t,r=Object.create(null),a=d(e);try{for(a.s();!(t=a.n()).done;){var n=g(t.value,2),i=n[0],o=n[1];r[i]=o}}catch(s){a.e(s)}finally{a.f()}return r},t.objectSize=function(e){return Object.keys(e).length},t.setVerbosityLevel=function(e){Number.isInteger(e)&&(n=e)},t.shadow=s,t.string32=function(e){return String.fromCharCode(e>>24&255,e>>16&255,e>>8&255,255&e)},t.stringToBytes=S,t.stringToPDFString=function(e){var t;if(e[0]>="\xef"&&("\xfe"===e[0]&&"\xff"===e[1]?t="utf-16be":"\xff"===e[0]&&"\xfe"===e[1]?t="utf-16le":"\xef"===e[0]&&"\xbb"===e[1]&&"\xbf"===e[2]&&(t="utf-8"),t))try{var r=new TextDecoder(t,{fatal:!0}),a=S(e);return r.decode(a)}catch(l){i('stringToPDFString: "'.concat(l,'".'))}for(var n=[],o=0,s=e.length;o<s;o++){var c=I[e.charCodeAt(o)];n.push(c?String.fromCharCode(c):e.charAt(o))}return n.join("")},t.stringToUTF16BEString=function(e){for(var t=["\xfe\xff"],r=0,a=e.length;r<a;r++){var n=e.charCodeAt(r);t.push(String.fromCharCode(n>>8&255),String.fromCharCode(255&n))}return t.join("")},t.stringToUTF8String=T,t.unreachable=o,t.utf8StringToString=function(e){return unescape(encodeURIComponent(e))},t.warn=i,r(3),t.IDENTITY_MATRIX=[1,0,0,1,0,0],t.FONT_IDENTITY_MATRIX=[.001,0,0,.001,0,0],t.LINE_FACTOR=1.35,t.LINE_DESCENT_FACTOR=.35,t.RenderingIntentFlag={ANY:1,DISPLAY:2,PRINT:4,ANNOTATIONS_FORMS:16,ANNOTATIONS_STORAGE:32,ANNOTATIONS_DISABLE:64,OP
2LIST:256},t.AnnotationMode={DISABLE:0,ENABLE:1,ENABLE_FORMS:2,ENABLE_STORAGE:3},t.AnnotationEditorPrefix="pdfjs_internal_editor_",t.AnnotationEditorType={DISABLE:-1,NONE:0,FREETEXT:3,INK:15},t.AnnotationEditorParamsType={FREETEXT_SIZE:1,FREETEXT_COLOR:2,FREETEXT_OPACITY:3,INK_COLOR:11,INK_THICKNESS:12,INK_OPACITY:13},t.PermissionFlag={PRINT:4,MODIFY_CONTENTS:8,COPY:16,MODIFY_ANNOTATIONS:32,FILL_INTERACTIVE_FORMS:256,COPY_FOR_ACCESSIBILITY:512,ASSEMBLE:1024,PRINT_HIGH_QUALITY:2048},t.TextRenderingMode={FILL:0,STROKE:1,FILL_STROKE:2,INVISIBLE:3,FILL_ADD_TO_PATH:4,STROKE_ADD_TO_PATH:5,FILL_STROKE_ADD_TO_PATH:6,ADD_TO_PATH:7,FILL_STROKE_MASK:3,ADD_TO_PATH_FLAG:4},t.ImageKind={GRAYSCALE_1BPP:1,RGB_24BPP:2,RGBA_32BPP:3},t.AnnotationType={TEXT:1,LINK:2,FREETEXT:3,LINE:4,SQUARE:5,CIRCLE:6,POLYGON:7,POLYLINE:8,HIGHLIGHT:9,UNDERLINE:10,SQUIGGLY:11,STRIKEOUT:12,STAMP:13,CARET:14,INK:15,POPUP:16,FILEATTACHMENT:17,SOUND:18,MOVIE:19,WIDGET:20,SCREEN:21,PRINTERMARK:22,TRAPNET:23,WATERMARK:24,THREED:25,REDACT:26},t.AnnotationStateModelType={MARKED:"Marked",REVIEW:"Review"},t.AnnotationMarkedState={MARKED:"Marked",UNMARKED:"Unmarked"},t.AnnotationReviewState={ACCEPTED:"Accepted",REJECTED:"Rejected",CANCELLED:"Cancelled",COMPLETED:"Completed",NONE:"None"},t.AnnotationReplyType={GROUP:"Group",REPLY:"R"},t.AnnotationFlag={INVISIBLE:1,HIDDEN:2,PRINT:4,NOZOOM:8,NOROTATE:16,NOVIEW:32,READONLY:64,LOCKED:128,TOGGLENOVIEW:256,LOCKEDCONTENTS:512},t.AnnotationFieldFlag={READONLY:1,REQUIRED:2,NOEXPORT:4,MULTILINE:4096,PASSWORD:8192,NOTOGGLETOOFF:16384,RADIO:32768,PUSHBUTTON:65536,COMBO:131072,EDIT:262144,SORT:524288,FILESELECT:1048576,MULTISELECT:2097152,DONOTSPELLCHECK:4194304,DONOTSCROLL:8388608,COMB:16777216,RICHTEXT:33554432,RADIOSINUNISON:33554432,COMMITONSELCHANGE:67108864},t.AnnotationBorderStyleType={SOLID:1,DASHED:2,BEVELED:3,INSET:4,UNDERLINE:5},t.AnnotationActionEventType={E:"Mouse Enter",X:"Mouse Exit",D:"Mouse Down",U:"Mouse Up",Fo:"Focus",Bl:"Blur",PO:"PageOpen",PC:"PageClose",PV:"PageVisible",PI:"PageInvisible",K:"Keystroke",F:"Format",V:"Validate",C:"Calculate"},t.DocumentActionEventType={WC:"WillClose",WS:"WillSave",DS:"DidSave",WP:"WillPrint",DP:"DidPrint"},t.PageActionEventType={O:"PageOpen",C:"PageClose"},t.StreamType={UNKNOWN:"UNKNOWN",FLATE:"FLATE",LZW:"LZW",DCT:"DCT",JPX:"JPX",JBIG:"JBIG",A85:"A85",AHX:"AHX",CCF:"CCF",RLX:"RLX"},t.FontType={UNKNOWN:"UNKNOWN",TYPE1:"TYPE1",TYPE1STANDARD:"TYPE1STANDARD",TYPE1C:"TYPE1C",CIDFONTTYPE0:"CIDFONTTYPE0",CIDFONTTYPE0C:"CIDFONTTYPE0C",TRUETYPE:"TRUETYPE",CIDFONTTYPE2:"CIDFONTTYPE2",TYPE3:"TYPE3",OPENTYPE:"OPENTYPE",TYPE0:"TYPE0",MMTYPE1:"MMTYPE1"};var a={ERRORS:0,WARNINGS:1,INFOS:5};t.VerbosityLevel=a,t.CMapCompressionType={NONE:0,BINARY:1,STREAM:2},t.OPS={dependency:1,setLineWidth:2,setLineCap:3,setLineJoin:4,setMiterLimit:5,setDash:6,setRenderingIntent:7,setFlatness:8,setGState:9,save:10,restore:11,transform:12,moveTo:13,lineTo:14,curveTo:15,curveTo2:16,curveTo3:17,closePath:18,rectangle:19,stroke:20,closeStroke:21,fill:22,eoFill:23,fillStroke:24,eoFillStroke:25,closeFillStroke:26,closeEOFillStroke:27,endPath:28,clip:29,eoClip:30,beginText:31,endText:32,setCharSpacing:33,setWordSpacing:34,setHScale:35,setLeading:36,setFont:37,setTextRenderingMode:38,setTextRise:39,moveText:40,setLeadingMoveText:41,setTextMatrix:42,nextLine:43,showText:44,showSpacedText:45,nextLineShowText:46,nextLineSetSpacingShowText:47,setCharWidth:48,setCharWidthAndBounds:49,setStrokeColorSpace:50,setFillColorSpace:51,setStrokeColor:52,setStrokeColorN:53,setFillColor:54,setFillColorN:55,setStrokeGray:56,setFillGray:57,setStrokeRGBColor:58,setFillRGBColor:59,setStrokeCMYKColor:60,setFillCMYKColor:61,shadingFill:62,beginInlineImage:63,beginImageData:64,endInlineImage:65,paintXObject:66,markPoint:67,markPointProps:68,beginMarkedContent:69,beginMarkedContentProps:70,endMarkedContent:71,beginCompat:72,endCompat:73,paintFormXObjectBegin:74,paintFormXObjectEnd:75,beginGroup:76,endGroup:77,beginAnnotations:78,endAnnotations:79,beginAnnotation:80,endAnnotation:81,paintJpegXObject:82,paintImageMaskXObject:83,paintImageMaskXObjectGroup:84,paintImageXObject:85,paintInlineImageXObject:86,paintInlineImageXObjectGroup:87,paintImageXObjectRepeat:88,paintImageMaskXObjectRepeat:89,paintSolidColorImageMask:90,constructPath:91},t.UNSUPPORTED_FEATURES={unknown:"unknown",forms:"forms",javaScript:"javaScript",signatures:"signatures",smask:"smask",shadingPattern:"shadingPattern",font:"font",errorTilingPattern:"errorTilingPattern",errorExtGState:"errorExtGState",errorXObject:"errorXObject",errorFontLoadType3:"errorFontLoadType3",errorFontState:"errorFontState",errorFontMissing:"errorFontMissing",errorFontTranslate:"errorFontTranslate",errorColorSpace:"errorColorSpace",errorOperatorList:"errorOperatorList",errorFontToUnicode:"errorFontToUnicode",errorFontLoadNative:"errorFontLoadNative",errorFontBuildPath:"errorFontBuildPath",errorFontGetPath:"errorFontGetPath",errorMarkedContent:"errorMarkedContent",errorContentSubStream:"errorContentSubStream"},t.PasswordResponses={NEED_PASSWORD:1,INCORRECT_PASSWORD:2};var n=a.WARNINGS;function i(e){n>=a.WARNINGS&&console.log("Warning: ".concat(e))}function o(e){throw new Error(e)}function s(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!1}),r}var h=function(){function e(t,r){this.constructor===e&&o("Cannot initialize BaseException."),this.message=t,this.name=r}return e.prototype=new Error,e.constructor=e,e}();t.BaseException=h;var f=function(e){function t(e,r){var a;return m(this,t),(a=l(this,t,[e,"PasswordException"])).code=r,a}return u(t,e),v(t)}(h);t.PasswordException=f;var p=function(e){function t(e,r){var a;return m(this,t),(a=l(this,t,[e,"UnknownErrorException"])).details=r,a}return u(t,e),v(t)}(h);t.UnknownErrorException=p;var b=function(e){function t(e){return m(this,t),l(this,t,[e,"InvalidPDFException"])}return u(t,e),v(t)}(h);t.InvalidPDFException=b;var y=function(e){function t(e){return m(this,t),l(this,t,[e,"MissingPDFException"])}return u(t,e),v(t)}(h);t.MissingPDFException=y;var k=function(e){function t(e,r){var a;return m(this,t),(a=l(this,t,[e,"UnexpectedResponseException"])).status=r,a}return u(t,e),v(t)}(h);t.UnexpectedResponseException=k;var w=function(e){function t(e){return m(this,t),l(this,t,[e,"FormatError"])}return u(t,e),v(t)}(h);t.FormatError=w;var x=function(e){function t(e){return m(this,t),l(this,t,[e,"AbortException"])}return u(t,e),v(t)}(h);function S(e){"string"!==typeof e&&o("Invalid argument for stringToBytes");for(var t=e.length,r=new Uint8Array(t),a=0;a<t;
vendor: 4,322 bytes, line 2
2++a)r[a]=255&e.charCodeAt(a);return r}function A(e){return void 0!==e.length?e.length:void 0!==e.byteLength?e.byteLength:void o("Invalid argument for arrayByteLength")}t.AbortException=x;var C=function(){return v((function e(){m(this,e)}),null,[{key:"isLittleEndian",get:function(){return s(this,"isLittleEndian",function(){var e=new Uint8Array(4);return e[0]=1,1===new Uint32Array(e.buffer,0,1)[0]}())}},{key:"isEvalSupported",get:function(){return s(this,"isEvalSupported",function(){try{return new Function(""),!0}catch(e){return!1}}())}},{key:"isOffscreenCanvasSupported",get:function(){return s(this,"isOffscreenCanvasSupported","undefined"!==typeof OffscreenCanvas)}}])}();t.FeatureTest=C;var F=c(Array(256).keys()).map((function(e){return e.toString(16).padStart(2,"0")})),O=function(){function e(){m(this,e)}return v(e,null,[{key:"makeHexColor",value:function(e,t,r){return"#".concat(F[e]).concat(F[t]).concat(F[r])}},{key:"scaleMinMax",value:function(e,t){var r;e[0]?(e[0]<0&&(r=t[0],t[0]=t[1],t[1]=r),t[0]*=e[0],t[1]*=e[0],e[3]<0&&(r=t[2],t[2]=t[3],t[3]=r),t[2]*=e[3],t[3]*=e[3]):(r=t[0],t[0]=t[2],t[2]=r,r=t[1],t[1]=t[3],t[3]=r,e[1]<0&&(r=t[2],t[2]=t[3],t[3]=r),t[2]*=e[1],t[3]*=e[1],e[2]<0&&(r=t[0],t[0]=t[1],t[1]=r),t[0]*=e[2],t[1]*=e[2]),t[0]+=e[4],t[1]+=e[4],t[2]+=e[5],t[3]+=e[5]}},{key:"transform",value:function(e,t){return[e[0]*t[0]+e[2]*t[1],e[1]*t[0]+e[3]*t[1],e[0]*t[2]+e[2]*t[3],e[1]*t[2]+e[3]*t[3],e[0]*t[4]+e[2]*t[5]+e[4],e[1]*t[4]+e[3]*t[5]+e[5]]}},{key:"applyTransform",value:function(e,t){return[e[0]*t[0]+e[1]*t[2]+t[4],e[0]*t[1]+e[1]*t[3]+t[5]]}},{key:"applyInverseTransform",value:function(e,t){var r=t[0]*t[3]-t[1]*t[2];return[(e[0]*t[3]-e[1]*t[2]+t[2]*t[5]-t[4]*t[3])/r,(-e[0]*t[1]+e[1]*t[0]+t[4]*t[1]-t[5]*t[0])/r]}},{key:"getAxialAlignedBoundingBox",value:function(t,r){var a=e.applyTransform(t,r),n=e.applyTransform(t.slice(2,4),r),i=e.applyTransform([t[0],t[3]],r),o=e.applyTransform([t[2],t[1]],r);return[Math.min(a[0],n[0],i[0],o[0]),Math.min(a[1],n[1],i[1],o[1]),Math.max(a[0],n[0],i[0],o[0]),Math.max(a[1],n[1],i[1],o[1])]}},{key:"inverseTransform",value:function(e){var t=e[0]*e[3]-e[1]*e[2];return[e[3]/t,-e[1]/t,-e[2]/t,e[0]/t,(e[2]*e[5]-e[4]*e[3])/t,(e[4]*e[1]-e[5]*e[0])/t]}},{key:"apply3dTransform",value:function(e,t){return[e[0]*t[0]+e[1]*t[1]+e[2]*t[2],e[3]*t[0]+e[4]*t[1]+e[5]*t[2],e[6]*t[0]+e[7]*t[1]+e[8]*t[2]]}},{key:"singularValueDecompose2dScale",value:function(e){var t=[e[0],e[2],e[1],e[3]],r=e[0]*t[0]+e[1]*t[2],a=e[0]*t[1]+e[1]*t[3],n=e[2]*t[0]+e[3]*t[2],i=e[2]*t[1]+e[3]*t[3],o=(r+i)/2,s=Math.sqrt(Math.pow(r+i,2)-4*(r*i-n*a))/2,c=o+s||1,l=o-s||1;return[Math.sqrt(c),Math.sqrt(l)]}},{key:"normalizeRect",value:function(e){var t=e.slice(0);return e[0]>e[2]&&(t[0]=e[2],t[2]=e[0]),e[1]>e[3]&&(t[1]=e[3],t[3]=e[1]),t}},{key:"intersect",value:function(e,t){var r=Math.max(Math.min(e[0],e[2]),Math.min(t[0],t[2])),a=Math.min(Math.max(e[0],e[2]),Math.max(t[0],t[2]));if(r>a)return null;var n=Math.max(Math.min(e[1],e[3]),Math.min(t[1],t[3])),i=Math.min(Math.max(e[1],e[3]),Math.max(t[1],t[3]));return n>i?null:[r,n,a,i]}},{key:"bezierBoundingBox",value:function(e,t,r,a,n,i,o,s){for(var l,u,h,f,d,g,p,m,v=[],b=[[],[]],y=0;y<2;++y)if(0===y?(u=6*e-12*r+6*n,l=-3*e+9*r-9*n+3*o,h=3*r-3*e):(u=6*t-12*a+6*i,l=-3*t+9*a-9*i+3*s,h=3*a-3*t),Math.abs(l)<1e-12){if(Math.abs(u)<1e-12)continue;0<(f=-h/u)&&f<1&&v.push(f)}else p=u*u-4*h*l,m=Math.sqrt(p),p<0||(0<(d=(-u+m)/(2*l))&&d<1&&v.push(d),0<(g=(-u-m)/(2*l))&&g<1&&v.push(g));for(var k,w=v.length,x=w;w--;)k=1-(f=v[w]),b[0][w]=k*k*k*e+3*k*k*f*r+3*k*f*f*n+f*f*f*o,b[1][w]=k*k*k*t+3*k*k*f*a+3*k*f*f*i+f*f*f*s;return b[0][x]=e,b[1][x]=t,b[0][x+1]=o,b[1][x+1]=s,b[0].length=b[1].length=x+2,[Math.min.apply(Math,c(b[0])),Math.min.apply(Math,c(b[1])),Math.max.apply(Math,c(b[0])),Math.max.apply(Math,c(b[1]))]}}])}();t.Util=O;var I=[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 T(e){return decodeURIComponent(escape(e))}},function(e,t,r){r(4)}
2,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.isNodeJS=void 0;var r="object"===typeof process&&process+""==="[object process]"&&!process.versions.nw&&!(process.versions.electron&&process.type&&"browser"!==process.type);t.isNodeJS=r},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.RefSetCache=t.RefSet=t.Ref=t.Name=t.EOF=t.Dict=t.Cmd=t.CIRCULAR_REF=void 0,t.clearPrimitiveCaches=function(){s._clearCache(),o._clearCache(),u._clearCache()},t.isCmd=function(e,t){return e instanceof s&&(void 0===t||e.cmd===t)},t.isDict=function(e,t){return e instanceof l&&(void 0===t||y(e.get("Type"),t))},t.isName=y,t.isRefsEqual=function(e,t){return e.num===t.num&&e.gen===t.gen};var a=r(2),n=Symbol("CIRCULAR_REF");t.CIRCULAR_REF=n;var i=Symbol("EOF");t.EOF=i;var o=function(){var e=Object.create(null);return function(){function t(e){m(this,t),this.name=e}return v(t,null,[{key:"get",value:function(r){return e[r]||(e[r]=new t(r))}},{key:"_clearCache",value:function(){e=Object.create(null)}}])}()}();t.Name=o;var s=function(){var e=Object.create(null);return function(){function t(e){m(this,t),this.cmd=e}return v(t,null,[{key:"get",value:function(r){return e[r]||(e[r]=new t(r))}},{key:"_clearCache",value:function(){e=Object.create(null)}}])}()}();t.Cmd=s;var c=function(){return c},l=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;m(this,e),this._map=Object.create(null),this.xref=t,this.objId=null,this.suppressEncryption=!1,this.__nonSerializable__=c}return v(e,[{key:"assignXref",value:function(e){this.xref=e}},{key:"size",get:function(){return Object.keys(this._map).length}},{key:"get",value:function(e,t,r){var a=this._map[e];return void 0===a&&void 0!==t&&void 0===(a=this._map[t])&&void 0!==r&&(a=this._map[r]),a instanceof u&&this.xref?this.xref.fetch(a,this.suppressEncryption):a}},{key:"getAsync",value:function(){var e=p(h().mark((function e(t,r,a){var n;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0===(n=this._map[t])&&void 0!==r&&void 0===(n=this._map[r])&&void 0!==a&&(n=this._map[a]),!(n instanceof u&&this.xref)){e.next=4;break}return e.abrupt("return",this.xref.fetchAsync(n,this.suppressEncryption));case 4:return e.abrupt("return",n);case 5:case"end":return e.stop()}}),e,this)})));return function(t,r,a){return e.apply(this,arguments)}}()},{key:"getArray",value:function(e,t,r){var a=this._map[e];if(void 0===a&&void 0!==t&&void 0===(a=this._map[t])&&void 0!==r&&(a=this._map[r]),a instanceof u&&this.xref&&(a=this.xref.fetch(a,this.suppressEncryption)),Array.isArray(a))for(var n=0,i=(a=a.slice()).length;n<i;n++)a[n]instanceof u&&this.xref&&(a[n]=this.xref.fetch(a[n],this.suppressEncryption));return a}},{key:"getRaw",value:function(e){return this._map[e]}},{key:"getKeys",value:function(){return Object.keys(this._map)}},{key:"getRawValues",value:function(){return Object.values(this._map)}},{key:"set",value:function(e,t){this._map[e]=t}},{key:"has",value:function(e){return void 0!==this._map[e]}},{key:"forEach",value:function(e){for(var t in this._map)e(t,this.get(t))}}],[{key:"empty",get:function(){var t=new e(null);return t.set=function(e,t){(0,a.unreachable)("Should not call `set` on the empty dictionary.")},(0,a.shadow)(this,"empty",t)}},{key:"merge",value:function(t){var r,a=t.xref,n=t.dictArray,i=t.mergeSubDicts,o=void 0!==i&&i,s=new e(a),c=new Map,l=d(n);try{for(l.s();!(r=l.n()).done;){var u=r.value;if(u instanceof e)for(var h=0,f=Object.entries(u._map);h<f.length;h++){var p=g(f[h],2),m=p[0],v=p[1],b=c.get(m);if(void 0===b)b=[],c.set(m,b);else if(!o||!(v instanceof e))continue;b.push(v)}}}catch(N){l.e(N)}finally{l.f()}var y,k=d(c);try{for(k.s();!(y=k.n()).done;){var w=g(y.value,2),x=w[0],S=w[1];if(1!==S.length&&S[0]instanceof e){var A,C=new e(a),F=d(S);try{for(F.s();!(A=F.n()).done;)for(var O=A.value,I=0,T=Object.entries(O._map);I<T.length;I++){var M=g(T[I],2),P=M[0],E=M[1];void 0===C._map[P]&&(C._map[P]=E)}}catch(N){F.e(N)}finally{F.f()}C.size>0&&(s._map[x]=C)}else s._map[x]=S[0]}}catch(N){k.e(N)}finally{k.f()}return c.clear(),s.size>0?s:e.empty}}])}();t.Dict=l;var u=function(){var e=Object.create(null);return function(){function t(e,r){m(this,t),this.num=e,this.gen=r}return v(t,[{key:"toString",value:function(){return 0===this.gen?"".concat(this.num,"R"):"".concat(this.num,"R").concat(this.gen)}}],[{key:"get",value:function(r,a){var n=0===a?"".concat(r,"R"):"".concat(r,"R").concat(a);return e[n]||(e[n]=new t(r,a))}},{key:"_clearCache",value:function(){e=Object.create(null)}}])}()}();t.Ref=u;var f=function(){return v((function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;m(this,e),this._set=new Set(t&&t._set)}),[{key:"has",value:function(e){return this._set.has(e.toString())}},{key:"put",value:function(e){this._set.add(e.toString())}},{key:"remove",value:function(e){this._set.delete(e.toString())}},{key:Symbol.iterator,value:function(){return this._set.values()}},{key:"clear",value:function(){this._set.clear()}}])}();t.RefSet=f;var b=function(){return v((function e(){m(this,e),this._map=new Map}),[{key:"size",get:function(){return this._map.size}},{key:"get",value:function(e){return this._map.get(e.toString())}},{key:"has",value:function(e){return this._map.has(e.toString())}},{key:"put",value:function(e,t){this._map.set(e.toString(),t)}},{key:"putAlias",value:function(e,t){this._map.set(e.toString(),this.get(t))}},{key:Symbol.iterator,value:function(){return this._map.values()}},{key:"clear",value:function(){this._map.clear()}}])}();function y(e,t){return e instanceof o&&(void 0===t||e.name===t)}t.RefSetCache=b}
2,function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.XRefParseException=t.XRefEntryException=t.ParserEOFException=t.MissingDataException=t.DocStats=void 0,t.collectActions=function(e,t,r){var i=Object.create(null),o=p({dict:t,key:"AA",stopWhenFound:!1});if(o)for(var s=o.length-1;s>=0;s--){var c=o[s];if(c instanceof n.Dict){var l,u=d(c.getKeys());try{for(u.s();!(l=u.n()).done;){var h=l.value,f=r[h];if(f){var g=c.getRaw(h),m=new n.RefSet,v=[];y(g,e,v,m),v.length>0&&(i[f]=v)}}}catch(k){u.e(k)}finally{u.f()}}}if(t.has("A")){var b=[];y(t.get("A"),e,b,new n.RefSet),b.length>0&&(i.Action=b)}return(0,a.objectSize)(i)>0?i:null},t.encodeToXmlString=function(e){for(var t=[],r=0,a=0,n=e.length;a<n;a++){var i=e.codePointAt(a);if(32<=i&&i<=126){var o=k[i];o&&(r<a&&t.push(e.substring(r,a)),t.push(o),r=a+1)}else r<a&&t.push(e.substring(r,a)),t.push("&#x".concat(i.toString(16).toUpperCase(),";")),i>55295&&(i<57344||i>65533)&&a++,r=a+1}return 0===t.length?e:(r<e.length&&t.push(e.substring(r,e.length)),t.join(""))},t.escapePDFName=function(e){for(var t=[],r=0,a=0,n=e.length;a<n;a++){var i=e.charCodeAt(a);(i<33||i>126||35===i||40===i||41===i||60===i||62===i||91===i||93===i||123===i||125===i||47===i||37===i)&&(r<a&&t.push(e.substring(r,a)),t.push("#".concat(i.toString(16))),r=a+1)}return 0===t.length?e:(r<e.length&&t.push(e.substring(r,e.length)),t.join(""))},t.getArrayLookupTableFactory=function(e){var t;return function(){if(e){var r=e();e=null,t=Object.create(null);for(var a=0,n=r.length;a<n;a+=2)t[r[a]]=r[a+1];r=null}return t}},t.getInheritableProperty=p,t.getLookupTableFactory=function(e){var t;return function(){return e&&(t=Object.create(null),e(t),e=null),t}},t.getNewAnnotationsMap=function(e){if(!e)return null;var t,r=new Map,n=d(e);try{for(n.s();!(t=n.n()).done;){var i=g(t.value,2),o=i[0],s=i[1];if(o.startsWith(a.AnnotationEditorPrefix)){var c=r.get(s.pageIndex);c||(c=[],r.set(s.pageIndex,c)),c.push(s)}}}catch(l){n.e(l)}finally{n.f()}return r.size>0?r:null},t.isWhiteSpace=function(e){return 32===e||9===e||13===e||10===e},t.log2=function(e){return e<=0?0:Math.ceil(Math.log2(e))},t.numberToString=function(e){if(Number.isInteger(e))return e.toString();var t=Math.round(100*e);return t%100===0?(t/100).toString():t%10===0?e.toFixed(1):e.toFixed(2)},t.parseXFAPath=function(e){var t=/(.+)\[(\d+)\]$/;return e.split(".").map((function(e){var r=e.match(t);return r?{name:r[1],pos:parseInt(r[2],10)}:{name:e,pos:0}}))},t.readInt8=function(e,t){return e[t]<<24>>24},t.readUint16=function(e,t){return e[t]<<8|e[t+1]},t.readUint32=function(e,t){return(e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3])>>>0},t.recoverJsURL=function(e){var t=new RegExp("^\\s*("+["app.launchURL","window.open","xfa.host.gotoURL"].join("|").split(".").join("\\.")+")\\((?:'|\")([^'\"]*)(?:'|\")(?:,\\s*(\\w+)\\)|\\))","i").exec(e);if(t&&t[2]){var r=t[2],a=!1;return"true"===t[3]&&"app.launchURL"===t[1]&&(a=!0),{url:r,newWindow:a}}return null},t.toRomanNumerals=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];(0,a.assert)(Number.isInteger(e)&&e>0,"The number should be a positive integer.");for(var r,n=[];e>=1e3;)e-=1e3,n.push("M");r=e/100|0,e%=100,n.push(b[r]),r=e/10|0,e%=10,n.push(b[10+r]),n.push(b[20+e]);var i=n.join("");return t?i.toLowerCase():i},t.validateCSSFont=function(e){var t=new Set(["100","200","300","400","500","600","700","800","900","1000","normal","bold","bolder","lighter"]),r=e.fontFamily,n=e.fontWeight,i=e.italicAngle;if(/^".*"$/.test(r)){if(/[^\\]"/.test(r.slice(1,r.length-1)))return(0,a.warn)('XFA - FontFamily contains some unescaped ": '.concat(r,".")),!1}else if(/^'.*'$/.test(r)){if(/[^\\]'/.test(r.slice(1,r.length-1)))return(0,a.warn)("XFA - FontFamily contains some unescaped ': ".concat(r,".")),!1}else{var o,s=d(r.split(/[ \t]+/));try{for(s.s();!(o=s.n()).done;){var c=o.value;if(/^(\d|(-(\d|-)))/.test(c)||!/^[\w-\\]+$/.test(c))return(0,a.warn)("XFA - FontFamily contains some invalid <custom-ident>: ".concat(r,".")),!1}}catch(h){s.e(h)}finally{s.f()}}var l=n?n.toString():"";e.fontWeight=t.has(l)?l:"400";var u=parseFloat(i);return e.italicAngle=isNaN(u)||u<-90||u>90?"14":i.toString(),!0};var a=r(2),n=r(5),i=r(7),o=function(e){function t(e,r){var a;return m(this,t),(a=l(this,t,["Missing data [".concat(e,", ").concat(r,")"),"MissingDataException"])).begin=e,a.end=r,a}return u(t,e),v(t)}(a.BaseException);t.MissingDataException=o;var s=function(e){function t(e){return m(this,t),l(this,t,[e,"ParserEOFException"])}return u(t,e),v(t)}(a.BaseException);t.ParserEOFException=s;var c=function(e){function t(e){return m(this,t),l(this,t,[e,"XRefEntryException"])}return u(t,e),v(t)}(a.BaseException);t.XRefEntryException=c;var h=function(e){function t(e){return m(this,t),l(this,t,[e,"XRefParseException"])}return u(t,e),v(t)}(a.BaseException);t.XRefParseException=h;var f=function(){return v((function e(t){m(this,e),this._handler=t,this._streamTypes=new Set,this._fontTypes=new Set}),[{key:"_send",value:function(){var e,t=Object.create(null),r=Object.create(null),a=d(this._streamTypes);try{for(a.s();!(e=a.n()).done;)t[e.value]=!0}catch(o){a.e(o)}finally{a.f()}var n,i=d(this._fontTypes);try{for(i.s();!(n=i.n()).done;)r[n.value]=!0}catch(o){i.e(o)}finally{i.f()}this._handler.send("DocStats",{streamTypes:t,fontTypes:r})}},{key:"addStreamType",value:function(e){this._streamTypes.has(e)||(this._streamTypes.add(e),this._send())}},{key:"addFontType",value:function(e){this._fontTypes.has(e)||(this._fontTypes.add(e),this._send())}}])}();
2function p(e){for(var t,r=e.dict,a=e.key,i=e.getArray,o=void 0!==i&&i,s=e.stopWhenFound,c=void 0===s||s,l=new n.RefSet;r instanceof n.Dict&&(!r.objId||!l.has(r.objId));){r.objId&&l.put(r.objId);var u=o?r.getArray(a):r.get(a);if(void 0!==u){if(c)return u;t||(t=[]),t.push(u)}r=r.get("Parent")}return t}t.DocStats=f;var b=["","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 y(e,t,r,o){if(e){var s=null;if(e instanceof n.Ref){if(o.has(e))return;s=e,o.put(s),e=t.fetch(e)}if(Array.isArray(e)){var c,l=d(e);try{for(l.s();!(c=l.n()).done;)y(c.value,t,r,o)}catch(f){l.e(f)}finally{l.f()}}else if(e instanceof n.Dict){if((0,n.isName)(e.get("S"),"JavaScript")){var u,h=e.get("JS");h instanceof i.BaseStream?u=h.getString():"string"===typeof h&&(u=h),(u=u&&(0,a.stringToPDFString)(u).replace(/\u0000/g,""))&&r.push(u)}y(e.getRaw("Next"),t,r,o)}s&&o.remove(s)}}var k={60:"&lt;",62:"&gt;",38:"&amp;",34:"&quot;",39:"&apos;"}},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.BaseStream=void 0;var a=r(2),n=function(){return v((function e(){m(this,e),this.constructor===e&&(0,a.unreachable)("Cannot initialize BaseStream.")}),[{key:"length",get:function(){(0,a.unreachable)("Abstract getter `length` accessed")}},{key:"isEmpty",get:function(){(0,a.unreachable)("Abstract getter `isEmpty` accessed")}},{key:"isDataLoaded",get:function(){return(0,a.shadow)(this,"isDataLoaded",!0)}},{key:"getByte",value:function(){(0,a.unreachable)("Abstract method `getByte` called")}},{key:"getBytes",value:function(e){(0,a.unreachable)("Abstract method `getBytes` called")}},{key:"peekByte",value:function(){var e=this.getByte();return-1!==e&&this.pos--,e}},{key:"peekBytes",value:function(e){var t=this.getBytes(e);return this.pos-=t.length,t}},{key:"getUint16",value:function(){var e=this.getByte(),t=this.getByte();return-1===e||-1===t?-1:(e<<8)+t}},{key:"getInt32",value:function(){return(this.getByte()<<24)+(this.getByte()<<16)+(this.getByte()<<8)+this.getByte()}},{key:"getByteRange",value:function(e,t){(0,a.unreachable)("Abstract method `getByteRange` called")}},{key:"getString",value:function(e){return(0,a.bytesToString)(this.getBytes(e))}},{key:"skip",value:function(e){this.pos+=e||1}},{key:"reset",value:function(){(0,a.unreachable)("Abstract method `reset` called")}},{key:"moveStart",value:function(){(0,a.unreachable)("Abstract method `moveStart` called")}},{key:"makeSubStream",value:function(e,t){(0,a.unreachable)("Abstract method `makeSubStream` called")}},{key:"getBaseStreams",value:function(){return null}}])}();t.BaseStream=n},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.NetworkPdfManager=t.LocalPdfManager=void 0;var a=r(2),n=r(9),i=r(6),o=r(11),s=r(10);function c(e){if(e){var t=(0,a.createValidAbsoluteUrl)(e);if(t)return t.href;(0,a.warn)('Invalid absolute docBaseUrl: "'.concat(e,'".'))}return null}var f=function(){return v((function e(){m(this,e),this.constructor===e&&(0,a.unreachable)("Cannot initialize BasePdfManager.")}),[{key:"docId",get:function(){return this._docId}},{key:"password",get:function(){return this._password}},{key:"docBaseUrl",get:function(){var e=this.pdfDocument.catalog;return(0,a.shadow)(this,"docBaseUrl",e.baseUrl||this._docBaseUrl)}},{key:"onLoadedStream",value:function(){(0,a.unreachable)("Abstract method `onLoadedStream` called")}},{key:"ensureDoc",value:function(e,t){return this.ensure(this.pdfDocument,e,t)}},{key:"ensureXRef",value:function(e,t){return this.ensure(this.pdfDocument.xref,e,t)}},{key:"ensureCatalog",value:function(e,t){return this.ensure(this.pdfDocument.catalog,e,t)}},{key:"getPage",value:function(e){return this.pdfDocument.getPage(e)}},{key:"fontFallback",value:function(e,t){return this.pdfDocument.fontFallback(e,t)}},{key:"loadXfaFonts",value:function(e,t){return this.pdfDocument.loadXfaFonts(e,t)}},{key:"loadXfaImages",value:function(){return this.pdfDocument.loadXfaImages()}},{key:"serializeXfaData",value:function(e){return this.pdfDocument.serializeXfaData(e)}},{key:"cleanup",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this.pdfDocument.cleanup(e)}},{key:"ensure",value:function(){var e=p(h().mark((function e(t,r,n){return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:(0,a.unreachable)("Abstract method `ensure` called");case 1:case"end":return e.stop()}}),e)})));return function(t,r,a){return e.apply(this,arguments)}}()},{key:"requestRange",value:function(e,t){(0,a.unreachable)("Abstract method `requestRange` called")}},{key:"requestLoadedStream",value:function(){(0,a.unreachable)("Abstract method `requestLoadedStream` called")}},{key:"sendProgressiveData",value:function(e){(0,a.unreachable)("Abstract method `sendProgressiveData` called")}},{key:"updatePassword",value:function(e){this._password=e}},{key:"terminate",value:function(e){(0,a.unreachable)("Abstract method `terminate` called")}}])}(),d=function(e){function t(e,r,a,n,i,u,h){var f;m(this,t),(f=l(this,t))._docId=e,f._password=a,f._docBaseUrl=c(h),f.msgHandler=n,f.evaluatorOptions=i,f.enableXfa=u;var d=new s.Stream(r);return f.pdfDocument=new o.PDFDocument(f,d),f._loadedStreamPromise=Promise.resolve(d),f}return u(t,e),v(t,[{key:"ensure",value:function(){var e=p(h().mark((function e(t,r,a){var n;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("function"!==typeof(n=t[r])){e.next=3;break}return e.abrupt("return",n.apply(t,a));case 3:return e.abrupt("return",n);case 4:case"end":return e.stop()}}),e)})));return function(t,r,a){return e.apply(this,arguments)}}()},{key:"requestRange",value:function(e,t){return Promise.resolve()}},{key:"requestLoadedStream",value:function(){}},{key:"onLoadedStream",value:function(){return this._loadedStreamPromise}},{key:"terminate",value:function(e){}}])}(f);t.LocalPdfManager=d;var g=function(e){function t(e,r,a,i,s,u){var h;return m(this,t),(h=l(this,t))._docId=e,h._password=a.password,h._docBaseUrl=c(u),h.msgHandler=a.msgHandler,h.evaluatorOptions=i,h.enableXfa=s,h.streamManager=new n.ChunkedStreamManager(r,{msgHandler:a.msgHandler,length:a.length,disableAutoFetch:a.disableAutoFetch,rangeChunkSize:a.rangeChunkSize}),h.pdfDocument=new o.PDFDocument(h,h.streamManager.getStream()),h}return u(t,e),v(t,[{key:"ensure",value:function(){var e=p(h().mark((function e(t,r,a){var n;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,"function"!==typeof(n=t[r])){e.next=4;break}return e.abrupt("return",n.apply(t,a));case 4:return e.abrupt("return",n);case 7:if(e.prev=7,e.t0=e.catch(0),e.t0 instanceof i.MissingDataException){e.next=11;break}throw e.t0;case 11:return e.next=13,this.requestRange(e.t0.begin,e.t0.end);case 13:return e.abrupt("return",this.ensure(t,r,a));case 14:case"end":return e.stop()}}),e,this,[[0,7]])})));return function(t,r,a){return e.apply(this,arguments)}}()},{key:"requestRange",value:function(e,t){return this.streamManager.requestRange(e,t)}},{key:"requestLoadedStream",value:function(){this.streamManager.requestAllChunks()}},{key:"sendProgressiveData",value:function(e){this.streamManager.onReceiveData({chunk:e})}},{key:"onLoadedStream",value:function(){return this.streamManager.onLoadedStream()}},{key:"terminate",value:function(e){this.streamManager.abort(e)}}])}(f);t.NetworkPdfManager=g}
2,function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.ChunkedStreamManager=t.ChunkedStream=void 0;var a=r(2),n=r(6),i=function(e){function t(e,r,a){var n;return m(this,t),(n=l(this,t,[new Uint8Array(e),0,e,null])).chunkSize=r,n._loadedChunks=new Set,n.numChunks=Math.ceil(e/r),n.manager=a,n.progressiveDataLength=0,n.lastSuccessfulEnsureByteChunk=-1,n}return u(t,e),v(t,[{key:"getMissingChunks",value:function(){for(var e=[],t=0,r=this.numChunks;t<r;++t)this._loadedChunks.has(t)||e.push(t);return e}},{key:"numChunksLoaded",get:function(){return this._loadedChunks.size}},{key:"isDataLoaded",get:function(){return this.numChunksLoaded===this.numChunks}},{key:"onReceiveData",value:function(e,t){var r=this.chunkSize;if(e%r!==0)throw new Error("Bad begin offset: ".concat(e));var a=e+t.byteLength;if(a%r!==0&&a!==this.bytes.length)throw new Error("Bad end offset: ".concat(a));this.bytes.set(new Uint8Array(t),e);for(var n=Math.floor(e/r),i=Math.floor((a-1)/r)+1,o=n;o<i;++o)this._loadedChunks.add(o)}},{key:"onReceiveProgressiveData",value:function(e){var t=this.progressiveDataLength,r=Math.floor(t/this.chunkSize);this.bytes.set(new Uint8Array(e),t),t+=e.byteLength,this.progressiveDataLength=t;for(var a=t>=this.end?this.numChunks:Math.floor(t/this.chunkSize),n=r;n<a;++n)this._loadedChunks.add(n)}},{key:"ensureByte",value:function(e){if(!(e<this.progressiveDataLength)){var t=Math.floor(e/this.chunkSize);if(!(t>this.numChunks)&&t!==this.lastSuccessfulEnsureByteChunk){if(!this._loadedChunks.has(t))throw new n.MissingDataException(e,e+1);this.lastSuccessfulEnsureByteChunk=t}}}},{key:"ensureRange",value:function(e,t){if(!(e>=t)&&!(t<=this.progressiveDataLength)){var r=Math.floor(e/this.chunkSize);if(!(r>this.numChunks))for(var a=Math.min(Math.floor((t-1)/this.chunkSize)+1,this.numChunks),i=r;i<a;++i)if(!this._loadedChunks.has(i))throw new n.MissingDataException(e,t)}}},{key:"nextEmptyChunk",value:function(e){for(var t=this.numChunks,r=0;r<t;++r){var a=(e+r)%t;if(!this._loadedChunks.has(a))return a}return null}},{key:"hasChunk",value:function(e){return this._loadedChunks.has(e)}},{key:"getByte",value:function(){var e=this.pos;return e>=this.end?-1:(e>=this.progressiveDataLength&&this.ensureByte(e),this.bytes[this.pos++])}},{key:"getBytes",value:function(e){var t=this.bytes,r=this.pos,a=this.end;if(!e)return a>this.progressiveDataLength&&this.ensureRange(r,a),t.subarray(r,a);var n=r+e;return n>a&&(n=a),n>this.progressiveDataLength&&this.ensureRange(r,n),this.pos=n,t.subarray(r,n)}},{key:"getByteRange",value:function(e,t){return e<0&&(e=0),t>this.end&&(t=this.end),t>this.progressiveDataLength&&this.ensureRange(e,t),this.bytes.subarray(e,t)}},{key:"makeSubStream",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;function a(){}t?e+t>this.progressiveDataLength&&this.ensureRange(e,e+t):e>=this.progressiveDataLength&&this.ensureByte(e),a.prototype=Object.create(this),a.prototype.getMissingChunks=function(){for(var e=this.chunkSize,t=Math.floor(this.start/e),r=Math.floor((this.end-1)/e)+1,a=[],n=t;n<r;++n)this._loadedChunks.has(n)||a.push(n);return a},Object.defineProperty(a.prototype,"isDataLoaded",{get:function(){return this.numChunksLoaded===this.numChunks||0===this.getMissingChunks().length},configurable:!0});var n=new a;return n.pos=n.start=e,n.end=e+t||this.end,n.dict=r,n}},{key:"getBaseStreams",value:function(){return[this]}}])}(r(10).Stream);t.ChunkedStream=i;var o=function(){return v((function e(t,r){m(this,e),this.length=r.length,this.chunkSize=r.rangeChunkSize,this.stream=new i(this.length,this.chunkSize,this),this.pdfNetworkStream=t,this.disableAutoFetch=r.disableAutoFetch,this.msgHandler=r.msgHandler,this.currRequestId=0,this._chunksNeededByRequest=new Map,this._requestsByChunk=new Map,this._promisesByRequest=new Map,this.progressiveDataLength=0,this.aborted=!1,this._loadedStreamCapability=(0,a.createPromiseCapability)()}),[{key:"onLoadedStream",value:function(){return this._loadedStreamCapability.promise}},{key:"sendRequest",value:function(e,t){var r=this,n=this.pdfNetworkStream.getRangeReader(e,t);n.isStreamingSupported||(n.onProgress=this.onProgress.bind(this));var i=[],o=0;return new Promise((function(e,t){n.read().then((function s(c){try{if(!c.done){var l=c.value;return i.push(l),o+=(0,a.arrayByteLength)(l),n.isStreamingSupported&&r.onProgress({loaded:o}),void n.read().then(s,t)}var u=(0,a.arraysToBytes)(i);i=null,e(u)}catch(h){t(h)}}),t)})).then((function(t){r.aborted||r.onReceiveData({chunk:t,begin:e})}))}},{key:"requestAllChunks",value:function(){var e=this.stream.getMissingChunks();return this._requestChunks(e),this._loadedStreamCapability.promise}},{key:"_requestChunks",value:function(e){var t=this,r=this.currRequestId++,n=new Set;this._chunksNeededByRequest.set(r,n);var i,o=d(e);try{for(o.s();!(i=o.n()).done;){var s=i.value;this.stream.hasChunk(s)||n.add(s)}}catch(w){o.e(w)}finally{o.f()}if(0===n.size)return Promise.resolve();var c=(0,a.createPromiseCapability)();this._promisesByRequest.set(r,c);var l,u=[],h=d(n);try{for(h.s();!(l=h.n()).done;){var f=l.value,g=this._requestsByChunk.get(f);g||(g=[],this._requestsByChunk.set(f,g),u.push(f)),g.push(r)}}catch(w){h.e(w)}finally{h.f()}if(u.length>0){var p,m=this.groupChunks(u),v=d(m);try{for(v.s();!(p=v.n()).done;){var b=p.value,y=b.beginChunk*this.chunkSize,k=Math.min(b.endChunk*this.chunkSize,this.length);this.sendRequest(y,k).catch(c.reject)}}catch(w){v.e(w)}finally{v.f()}}return c.promise.catch((function(e){if(!t.aborted)throw e}))}},{key:"getStream",value:function(){return this.stream}},{key:"requestRange",value:function(e,t){t=Math.min(t,this.length);
vendor: 5,569 bytes, line 2
2for(var r=this.getBeginChunk(e),a=this.getEndChunk(t),n=[],i=r;i<a;++i)n.push(i);return this._requestChunks(n)}},{key:"requestRanges",value:function(){var e,t=[],r=d(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]);try{for(r.s();!(e=r.n()).done;)for(var a=e.value,n=this.getBeginChunk(a.begin),i=this.getEndChunk(a.end),o=n;o<i;++o)t.includes(o)||t.push(o)}catch(s){r.e(s)}finally{r.f()}return t.sort((function(e,t){return e-t})),this._requestChunks(t)}},{key:"groupChunks",value:function(e){for(var t=[],r=-1,a=-1,n=0,i=e.length;n<i;++n){var o=e[n];r<0&&(r=o),a>=0&&a+1!==o&&(t.push({beginChunk:r,endChunk:a+1}),r=o),n+1===e.length&&t.push({beginChunk:r,endChunk:o+1}),a=o}return t}},{key:"onProgress",value:function(e){this.msgHandler.send("DocProgress",{loaded:this.stream.numChunksLoaded*this.chunkSize+e.loaded,total:this.length})}},{key:"onReceiveData",value:function(e){var t=e.chunk,r=void 0===e.begin,a=r?this.progressiveDataLength:e.begin,n=a+t.byteLength,i=Math.floor(a/this.chunkSize),o=n<this.length?Math.floor(n/this.chunkSize):Math.ceil(n/this.chunkSize);r?(this.stream.onReceiveProgressiveData(t),this.progressiveDataLength=n):this.stream.onReceiveData(a,t),this.stream.isDataLoaded&&this._loadedStreamCapability.resolve(this.stream);for(var s=[],c=i;c<o;++c){var l=this._requestsByChunk.get(c);if(l){this._requestsByChunk.delete(c);var u,h=d(l);try{for(h.s();!(u=h.n()).done;){var f=u.value,g=this._chunksNeededByRequest.get(f);g.has(c)&&g.delete(c),g.size>0||s.push(f)}}catch(w){h.e(w)}finally{h.f()}}}if(!this.disableAutoFetch&&0===this._requestsByChunk.size){var p;if(1===this.stream.numChunksLoaded){var m=this.stream.numChunks-1;this.stream.hasChunk(m)||(p=m)}else p=this.stream.nextEmptyChunk(o);Number.isInteger(p)&&this._requestChunks([p])}for(var v=0,b=s;v<b.length;v++){var y=b[v],k=this._promisesByRequest.get(y);this._promisesByRequest.delete(y),k.resolve()}this.msgHandler.send("DocProgress",{loaded:this.stream.numChunksLoaded*this.chunkSize,total:this.length})}},{key:"onError",value:function(e){this._loadedStreamCapability.reject(e)}},{key:"getBeginChunk",value:function(e){return Math.floor(e/this.chunkSize)}},{key:"getEndChunk",value:function(e){return Math.floor((e-1)/this.chunkSize)+1}},{key:"abort",value:function(e){this.aborted=!0,this.pdfNetworkStream&&this.pdfNetworkStream.cancelAllRequests(e);var t,r=d(this._promisesByRequest.values());try{for(r.s();!(t=r.n()).done;)t.value.reject(e)}catch(a){r.e(a)}finally{r.f()}}}])}();t.ChunkedStreamManager=o},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.StringStream=t.Stream=t.NullStream=void 0;var a=r(7),n=r(2),i=function(e){function t(e,r,a,n){var i;return m(this,t),(i=l(this,t)).bytes=e instanceof Uint8Array?e:new Uint8Array(e),i.start=r||0,i.pos=i.start,i.end=r+a||i.bytes.length,i.dict=n,i}return u(t,e),v(t,[{key:"length",get:function(){return this.end-this.start}},{key:"isEmpty",get:function(){return 0===this.length}},{key:"getByte",value:function(){return this.pos>=this.end?-1:this.bytes[this.pos++]}},{key:"getBytes",value:function(e){var t=this.bytes,r=this.pos,a=this.end;if(!e)return t.subarray(r,a);var n=r+e;return n>a&&(n=a),this.pos=n,t.subarray(r,n)}},{key:"getByteRange",value:function(e,t){return e<0&&(e=0),t>this.end&&(t=this.end),this.bytes.subarray(e,t)}},{key:"reset",value:function(){this.pos=this.start}},{key:"moveStart",value:function(){this.start=this.pos}},{key:"makeSubStream",value:function(e,r){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return new t(this.bytes.buffer,e,r,a)}}])}(a.BaseStream);t.Stream=i;var o=function(e){function t(e){return m(this,t),l(this,t,[(0,n.stringToBytes)(e)])}return u(t,e),v(t)}(i);t.StringStream=o;var s=function(e){function t(){return m(this,t),l(this,t,[new Uint8Array(0)])}return u(t,e),v(t)}(i);t.NullStream=s},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.Page=t.PDFDocument=void 0;var a=r(12),n=r(2),i=r(6),o=r(5),f=r(51),b=r(7),y=r(67),k=r(69),w=r(71),x=r(100),S=r(17),A=r(10),C=r(75),F=r(62),O=r(15),I=r(19),T=r(74),M=r(65),P=r(76),E=r(101),N=[0,0,612,792],D=function(){return v((function e(t){var r=t.pdfManager,a=t.xref,n=t.pageIndex,i=t.pageDict,o=t.ref,s=t.globalIdFactory,c=t.fontCache,h=t.builtInCMapCache,f=t.standardFontDataCache,d=t.globalImageCache,g=t.nonBlendModesSet,p=t.xfaFactory;m(this,e),this.pdfManager=r,this.pageIndex=n,this.pageDict=i,this.xref=a,this.ref=o,this.fontCache=c,this.builtInCMapCache=h,this.standardFontDataCache=f,this.globalImageCache=d,this.nonBlendModesSet=g,this.evaluatorOptions=r.evaluatorOptions,this.resourcesPromise=null,this.xfaFactory=p;var b={obj:0};this._localIdFactory=function(e){function t(){return m(this,t),l(this,t,arguments)}return u(t,e),v(t,null,[{key:"createObjId",value:function(){return"p".concat(n,"_").concat(++b.obj)}},{key:"getPageObjId",value:function(){return"page".concat(o.toString())}}])}(s)}),[{key:"_getInheritableProperty",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=(0,i.getInheritableProperty)({dict:this.pageDict,key:e,getArray:t,stopWhenFound:!1});return Array.isArray(r)?1!==r.length&&r[0]instanceof o.Dict?o.Dict.merge({xref:this.xref,dictArray:r}):r[0]:r}},{key:"content",get:function(){return this.pageDict.getArray("Contents")}},{key:"resources",get:function(){var e=this._getInheritableProperty("Resources");return(0,n.shadow)(this,"resources",e instanceof o.Dict?e:o.Dict.empty)}},{key:"_getBoundingBox",value:function(e){if(this.xfaData)return this.xfaData.bbox;var t=this._getInheritableProperty(e,!0);
2if(Array.isArray(t)&&4===t.length){if(t[2]-t[0]!==0&&t[3]-t[1]!==0)return t;(0,n.warn)("Empty /".concat(e," entry."))}return null}},{key:"mediaBox",get:function(){return(0,n.shadow)(this,"mediaBox",this._getBoundingBox("MediaBox")||N)}},{key:"cropBox",get:function(){return(0,n.shadow)(this,"cropBox",this._getBoundingBox("CropBox")||this.mediaBox)}},{key:"userUnit",get:function(){var e=this.pageDict.get("UserUnit");return("number"!==typeof e||e<=0)&&(e=1),(0,n.shadow)(this,"userUnit",e)}},{key:"view",get:function(){var e,t=this.cropBox,r=this.mediaBox;if(t===r||(0,n.isArrayEqual)(t,r))e=r;else{var a=n.Util.intersect(t,r);a&&a[2]-a[0]!==0&&a[3]-a[1]!==0?e=a:(0,n.warn)("Empty /CropBox and /MediaBox intersection.")}return(0,n.shadow)(this,"view",e||r)}},{key:"rotate",get:function(){var e=this._getInheritableProperty("Rotate")||0;return e%90!==0?e=0:e>=360?e%=360:e<0&&(e=(e%360+360)%360),(0,n.shadow)(this,"rotate",e)}},{key:"_onSubStreamError",value:function(e,t,r){if(this.evaluatorOptions.ignoreErrors)return e.send("UnsupportedFeature",{featureId:n.UNSUPPORTED_FEATURES.errorContentSubStream}),void(0,n.warn)("getContentStream - ignoring sub-stream (".concat(r,'): "').concat(t,'".'));throw t}},{key:"getContentStream",value:function(e){var t=this;return this.pdfManager.ensure(this,"content").then((function(r){return r instanceof b.BaseStream?r:Array.isArray(r)?new I.StreamsSequenceStream(r,t._onSubStreamError.bind(t,e)):new A.NullStream}))}},{key:"xfaData",get:function(){return(0,n.shadow)(this,"xfaData",this.xfaFactory?{bbox:this.xfaFactory.getBoundingBox(this.pageIndex)}:null)}},{key:"saveNewAnnotations",value:function(){var e=p(h().mark((function e(t,r,n){var i,o,s,l,u,f,g,p,m,v,b;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.xfaFactory){e.next=2;break}throw new Error("XFA: Cannot save new annotations.");case 2:return i=new O.PartialEvaluator({xref:this.xref,handler:t,pageIndex:this.pageIndex,idFactory:this._localIdFactory,fontCache:this.fontCache,builtInCMapCache:this.builtInCMapCache,standardFontDataCache:this.standardFontDataCache,globalImageCache:this.globalImageCache,options:this.evaluatorOptions}),o=this.pageDict,s=this.annotations.slice(),e.next=7,a.AnnotationFactory.saveNewAnnotations(i,r,n);case 7:l=e.sent,u=d(l.annotations);try{for(u.s();!(f=u.n()).done;)g=f.value.ref,s.push(g)}catch(h){u.e(h)}finally{u.f()}return p=o.get("Annots"),o.set("Annots",s),m=[],v=null,this.xref.encrypt&&(v=this.xref.encrypt.createCipherTransform(this.ref.num,this.ref.gen)),(0,M.writeObject)(this.ref,o,m,v),p&&o.set("Annots",p),(b=l.dependencies).push.apply(b,[{ref:this.ref,data:m.join("")}].concat(c(l.annotations))),e.abrupt("return",b);case 20:case"end":return e.stop()}}),e,this)})));return function(t,r,a){return e.apply(this,arguments)}}()},{key:"save",value:function(e,t,r){var a=new O.PartialEvaluator({xref:this.xref,handler:e,pageIndex:this.pageIndex,idFactory:this._localIdFactory,fontCache:this.fontCache,builtInCMapCache:this.builtInCMapCache,standardFontDataCache:this.standardFontDataCache,globalImageCache:this.globalImageCache,options:this.evaluatorOptions});return this._parsedAnnotations.then((function(e){var i,o=[],s=d(e);try{for(s.s();!(i=s.n()).done;){var c=i.value;c.mustBePrinted(r)&&o.push(c.save(a,t,r).catch((function(e){return(0,n.warn)("save - ignoring annotation data during "+'"'.concat(t.name,'" task: "').concat(e,'".')),null})))}}catch(l){s.e(l)}finally{s.f()}return Promise.all(o).then((function(e){return e.filter((function(e){return!!e}))}))}))}},{key:"loadResources",value:function(e){var t=this;return this.resourcesPromise||(this.resourcesPromise=this.pdfManager.ensure(this,"resources")),this.resourcesPromise.then((function(){return new C.ObjectLoader(t.resources,e,t.xref).load()}))}},{key:"getOperatorList",value:function(e){var t=this,r=e.handler,o=e.sink,s=e.task,c=e.intent,l=e.cacheKey,u=e.annotationStorage,h=void 0===u?null:u,f=this.getContentStream(r),p=this.loadResources(["ColorSpace","ExtGState","Font","Pattern","Properties","Shading","XObject"]),m=new O.PartialEvaluator({xref:this.xref,handler:r,pageIndex:this.pageIndex,idFactory:this._localIdFactory,fontCache:this.fontCache,builtInCMapCache:this.builtInCMapCache,standardFontDataCache:this.standardFontDataCache,globalImageCache:this.globalImageCache,options:this.evaluatorOptions}),v=this.xfaFactory?null:(0,i.getNewAnnotationsMap)(h),b=Promise.resolve(null);if(v){var y=v.get(this.pageIndex);y&&(b=a.AnnotationFactory.printNewAnnotations(m,s,y))}var k=Promise.all([f,p]).then((function(e){var a=g(e,1)[0],n=new F.OperatorList(c,o);return r.send("StartRenderPage",{transparency:m.hasBlendModes(t.resources,t.nonBlendModesSet),pageIndex:t.pageIndex,cacheKey:l}
2),m.getOperatorList({stream:a,task:s,resources:t.resources,operatorList:n}).then((function(){return n}))}));return Promise.all([k,this._parsedAnnotations,b]).then((function(e){var t=g(e,3),r=t[0],a=t[1],i=t[2];if(i&&(a=a.concat(i)),0===a.length||c&n.RenderingIntentFlag.ANNOTATIONS_DISABLE)return r.flush(!0),{length:r.totalLength};var o,l=!!(c&n.RenderingIntentFlag.ANNOTATIONS_FORMS),u=!!(c&n.RenderingIntentFlag.ANY),f=!!(c&n.RenderingIntentFlag.DISPLAY),p=!!(c&n.RenderingIntentFlag.PRINT),v=[],b=d(a);try{for(b.s();!(o=b.n()).done;){var y=o.value;(u||f&&y.mustBeViewed(h)||p&&y.mustBePrinted(h))&&v.push(y.getOperatorList(m,s,c,l,h).catch((function(e){return(0,n.warn)("getOperatorList - ignoring annotation data during "+'"'.concat(s.name,'" task: "').concat(e,'".')),null})))}}catch(k){b.e(k)}finally{b.f()}return Promise.all(v).then((function(e){var t,a=!1,n=!1,i=d(e);try{for(i.s();!(t=i.n()).done;){var o=t.value,s=o.opList,c=o.separateForm,l=o.separateCanvas;r.addOpList(s),c&&(a=c),l&&(n=l)}}catch(k){i.e(k)}finally{i.f()}return r.flush(!0,{form:a,canvas:n}),{length:r.totalLength}}))}))}},{key:"extractTextContent",value:function(e){var t=this,r=e.handler,a=e.task,n=e.includeMarkedContent,i=e.sink,o=e.combineTextItems,s=this.getContentStream(r),c=this.loadResources(["ExtGState","Font","Properties","XObject"]);return Promise.all([s,c]).then((function(e){var s=g(e,1)[0];return new O.PartialEvaluator({xref:t.xref,handler:r,pageIndex:t.pageIndex,idFactory:t._localIdFactory,fontCache:t.fontCache,builtInCMapCache:t.builtInCMapCache,standardFontDataCache:t.standardFontDataCache,globalImageCache:t.globalImageCache,options:t.evaluatorOptions}).getTextContent({stream:s,task:a,resources:t.resources,includeMarkedContent:n,combineTextItems:o,sink:i,viewBox:t.view})}))}},{key:"getStructTree",value:function(){var e=p(h().mark((function e(){var t,r;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.pdfManager.ensureCatalog("structTreeRoot");case 2:if(t=e.sent){e.next=5;break}return e.abrupt("return",null);case 5:return e.next=7,this.pdfManager.ensure(this,"_parseStructTree",[t]);case 7:return r=e.sent,e.abrupt("return",r.serializable);case 9:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"_parseStructTree",value:function(e){var t=new T.StructTreePage(e,this.pageDict);return t.parse(),t}},{key:"getAnnotationsData",value:function(){var e=p(h().mark((function e(t,r,a){var i,o,s,c,l,u,f,g,p,m,v;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this._parsedAnnotations;case 2:if(0!==(i=e.sent).length){e.next=5;break}return e.abrupt("return",[]);case 5:o=[],s=[],l=!!(a&n.RenderingIntentFlag.ANY),u=!!(a&n.RenderingIntentFlag.DISPLAY),f=!!(a&n.RenderingIntentFlag.PRINT),g=d(i);try{for(g.s();!(p=g.n()).done;)m=p.value,((v=l||u&&m.viewable)||f&&m.printable)&&s.push(m.data),m.hasTextContent&&v&&(c||(c=new O.PartialEvaluator({xref:this.xref,handler:t,pageIndex:this.pageIndex,idFactory:this._localIdFactory,fontCache:this.fontCache,builtInCMapCache:this.builtInCMapCache,standardFontDataCache:this.standardFontDataCache,globalImageCache:this.globalImageCache,options:this.evaluatorOptions})),o.push(m.extractTextContent(c,r,this.view).catch((function(e){(0,n.warn)('getAnnotationsData - ignoring textContent during "'.concat(r.name,'" task: "').concat(e,'".'))}))))}catch(h){g.e(h)}finally{g.f()}return e.next=12,Promise.all(o);case 12:return e.abrupt("return",s);case 13:case"end":return e.stop()}}),e,this)})));return function(t,r,a){return e.apply(this,arguments)}}()},{key:"annotations",get:function(){var e=this._getInheritableProperty("Annots");return(0,n.shadow)(this,"annotations",Array.isArray(e)?e:[])}},{key:"_parsedAnnotations",get:function(){var e=this,t=this.pdfManager.ensure(this,"annotations").then((function(){var t,r=[],i=d(e.annotations);try{for(i.s();!(t=i.n()).done;){var o=t.value;r.push(a.AnnotationFactory.create(e.xref,o,e.pdfManager,e._localIdFactory,!1).catch((function(e){return(0,n.warn)('_parsedAnnotations: "'.concat(e,'".')),null})))}}catch(s){i.e(s)}finally{i.f()}return Promise.all(r).then((function(e){if(0===e.length)return e;var t,r,n=[],i=d(e);try{for(i.s();!(r=i.n()).done;){var o=r.value;
2o&&(o instanceof a.PopupAnnotation?(t||(t=[]),t.push(o)):n.push(o))}}catch(s){i.e(s)}finally{i.f()}return t&&n.push.apply(n,c(t)),n}))}));return(0,n.shadow)(this,"_parsedAnnotations",t)}},{key:"jsActions",get:function(){var e=(0,i.collectActions)(this.xref,this.pageDict,n.PageActionEventType);return(0,n.shadow)(this,"jsActions",e)}}])}();t.Page=D;var B=new Uint8Array([37,80,68,70,45]),L=new Uint8Array([115,116,97,114,116,120,114,101,102]),R=new Uint8Array([101,110,100,111,98,106]),_=/^[1-9]\.\d$/;function j(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1024,a=arguments.length>3&&void 0!==arguments[3]&&arguments[3],n=t.length,i=e.peekBytes(r),o=i.length-n;if(o<=0)return!1;if(a)for(var s=n-1,c=i.length-1;c>=s;){for(var l=0;l<n&&i[c-l]===t[s-l];)l++;if(l>=n)return e.pos+=c-s,!0;c--}else for(var u=0;u<=o;){for(var h=0;h<n&&i[u+h]===t[h];)h++;if(h>=n)return e.pos+=u,!0;u++}return!1}var U=function(){return v((function e(t,r){if(m(this,e),r.length<=0)throw new n.InvalidPDFException("The PDF file is empty, i.e. its size is zero bytes.");this.pdfManager=t,this.stream=r,this.xref=new E.XRef(r,t),this._pagePromises=new Map,this._version=null;var a={font:0};this._globalIdFactory=function(){return v((function e(){m(this,e)}),null,[{key:"getDocId",value:function(){return"g_".concat(t.docId)}},{key:"createFontId",value:function(){return"f".concat(++a.font)}},{key:"createObjId",value:function(){(0,n.unreachable)("Abstract method `createObjId` called.")}},{key:"getPageObjId",value:function(){(0,n.unreachable)("Abstract method `getPageObjId` called.")}}])}()}),[{key:"parse",value:function(e){this.xref.parse(e),this.catalog=new k.Catalog(this.pdfManager,this.xref),this.catalog.ver
2sion&&(this._version=this.catalog.version)}},{key:"linearization",get:function(){var e=null;try{e=S.Linearization.create(this.stream)}catch(t){if(t instanceof i.MissingDataException)throw t;(0,n.info)(t)}return(0,n.shadow)(this,"linearization",e)}},{key:"startXRef",get:function(){var e=this.stream,t=0;if(this.linearization)e.reset(),j(e,R)&&(t=e.pos+6-e.start);else{for(var r=L.length,a=!1,o=e.end;!a&&o>0;)(o-=1024-r)<0&&(o=0),e.pos=o,a=j(e,L,1024,!0);if(a){var s;e.skip(9);do{s=e.getByte()}while((0,i.isWhiteSpace)(s));for(var c="";s>=32&&s<=57;)c+=String.fromCharCode(s),s=e.getByte();t=parseInt(c,10),isNaN(t)&&(t=0)}}return(0,n.shadow)(this,"startXRef",t)}},{key:"checkHeader",value:function(){var e=this.stream;if(e.reset(),j(e,B)){e.moveStart();for(var t,r="";(t=e.getByte())>32&&!(r.length>=12);)r+=String.fromCharCode(t);this._version||(this._version=r.substring(5))}}},{key:"parseStartXRef",value:function(){this.xref.setStartXRef(this.startXRef)}},{key:"numPages",get:function(){var e=0;return e=this.catalog.hasActualNumPages?this.catalog.numPages:this.xfaFactory?this.xfaFactory.getNumPages():this.linearization?this.linearization.numPages:this.catalog.numPages,(0,n.shadow)(this,"numPages",e)}},{key:"_hasOnlyDocumentSignatures",value:function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return!!Array.isArray(e)&&e.every((function(e){if(!((e=t.xref.fetchIfRef(e))instanceof o.Dict))return!1;if(e.has("Kids"))return++r>10?((0,n.warn)("_hasOnlyDocumentSignatures: maximum recursion depth reached"),!1):t._hasOnlyDocumentSignatures(e.get("Kids"),r);var a=(0,o.isName)(e.get("FT"),"Sig"),i=e.get("Rect"),s=Array.isArray(i)&&i.every((function(e){return 0===e}));return a&&s}))}},{key:"_xfaStreams",get:function(){var e=this.catalog.acroForm;if(!e)return null;var t=e.get("XFA"),r={"xdp:xdp":"",template:"",datasets:"",config:"",connectionSet:"",localeSet:"",stylesheet:"","/xdp:xdp":""};if(t instanceof b.BaseStream&&!t.isEmpty)return r["xdp:xdp"]=t,r;if(!Array.isArray(t)||0===t.length)return null;for(var a=0,n=t.length;a<n;a+=2){var i=void 0;if(i=0===a?"xdp:xdp":a===n-2?"/xdp:xdp":t[a],r.hasOwnProperty(i)){var o=this.xref.fetchIfRef(t[a+1]);o instanceof b.BaseStream&&!o.isEmpty&&(r[i]=o)}}return r}},{key:"xfaDatasets",get:function(){var e=this._xfaStreams;if(!e)return(0,n.shadow)(this,"xfaDatasets",null);for(var t=0,r=["datasets","xdp:xdp"];t<r.length;t++){var a=r[t],i=e[a];if(i)try{var o=(0,n.stringToUTF8String)(i.getString()),c=s({},a,o);return(0,n.shadow)(this,"xfaDatasets",new x.DatasetReader(c))}catch(l){(0,n.warn)("XFA - Invalid utf-8 string.");break}}return(0,n.shadow)(this,"xfaDatasets",null)}},{key:"xfaData",get:function(){var e=this._xfaStreams;if(!e)return null;for(var t=Object.create(null),r=0,a=Object.entries(e);r<a.length;r++){var i=g(a[r],2),o=i[0],s=i[1];if(s)try{t[o]=(0,n.stringToUTF8String)(s.getString())}catch(c){return(0,n.warn)("XFA - Invalid utf-8 string."),null}}return t}},{key:"xfaFactory",get:function(){var e;return this.pdfManager.enableXfa&&this.catalog.needsRendering&&this.formInfo.hasXfa&&!this.formInfo.hasAcroForm&&(e=this.xfaData),(0,n.shadow)(this,"xfaFactory",e?new P.XFAFactory(e):null)}},{key:"isPureXfa",get:function(){return!!this.xfaFactory&&this.xfaFactory.isValid()}},{key:"htmlForXfa",get:function(){return this.xfaFactory?this.xfaFactory.getPages():null}},{key:"loadXfaImages",value:function(){var e=p(h().mark((function e(){var t,r,a,n,i,o,s,c;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.pdfManager.ensureCatalog("xfaImages");case 2:if(t=e.sent){e.next=5;break}return e.abrupt("return");case 5:return r=t.getKeys(),a=new C.ObjectLoader(t,r,this.xref),e.next=9,a.load();case 9:n=new Map,i=d(r);try{for(i.s();!(o=i.n()).done;)s=o.value,(c=t.get(s))instanceof b.BaseStream&&n.set(s,c.getBytes())}catch(l){i.e(l)}finally{i.f()}this.xfaFactory.setImages(n);case 13:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"loadXfaFonts",value:function(){var e=p(h().mark((function e(t,r){var a,s,c,l,u,p,m,v,b,y,k,w,x,S,A,I,T,M,P,E,N,D,B,L,R,_,j,U,$,X,H,q,z,G;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.pdfManager.ensureCatalog("acroForm");case 2:if(a=e.sent){e.next=5;break}return e.abrupt("return");case 5:return e.next=7,a.getAsync("DR");case 7:if((s=e.sent)instanceof o.Dict){e.next=10;break}return e.abrupt("return");case 10:return c=new C.ObjectLoader(s,["Font"],this.xref),e.next=13,c.load();case 13:if((l=s.get("Font"))instanceof o.Dict){e.next=16;break}return e.abrupt("return");case 16:(u=Object.assign(Object.create(null),this.pdfManager.evaluatorOptions)).useSystemFonts=!1,p=new O.PartialEvaluator({xref:this.xref,handler:t,pageIndex:-1,idFactory:this._globalIdFactory,fontCache:this.catalog.fontCache,builtInCMapCache:this.catalog.builtInCMapCache,standardFontDataCache:this.catalog.standardFontDataCache,options:u}),m=new F.OperatorList,v=[],e.t0=function(){return this},b={get font(){return v.at(-1)},set font(e){v.push(e)},clone:e.t0},y=new Map,l.forEach((function(e,t){y.set(e,t)})),k=[],w=d(y),e.prev=27,w.s();case 29:if((x=w.n()).done){e.next=44;break}if(S=g(x.value,2),A=S[0],I=S[1],(T=I.get("FontDescriptor"))instanceof o.Dict){e.next=34;break}return e.abrupt("continue",42);case 34:if(M=(M=T.get("FontFamily")).replace(/[ ]+(\d)/g,"$1"),P=T.get("FontWeight"),E=-T.get("ItalicAngle"),N={fontFamily:M,fontWeight:P,italicAngle:E},(0,i.validateCSSFont)(N)){e.next=41;break}return e.abrupt("continue",42);case 41:k.push(p.handleSetFont(s,[o.Name.get(A),1],null,m,r,b,null,N).catch((function(e){return(0,n.warn)('loadXfaFonts: "'.concat(e,'".')),null})));case 42:e.next=29;break;case 44:e.next=49;break;case 46:e.prev=46,e.t1=e.catch(27),w.e(e.t1);case 49:return e.prev=49,w.f(),e.finish(49);case 52:return e.next=54,Promise.all(k);case 54:if(D=this.xfaFactory.setFonts(v)){e.next=57;break}return e.abrupt("return");case 57:u.ignoreErrors=!0,k.length=0,v.length=0,B=new Set,L=d(D);try{for(L.s();!(R=L.n()).done;)_=R.value,(0,f.getXfaFontName)("".concat(_,"-Regular"))||B.add(_)}catch(h){L.e(h)}finally{L.f()}B.size&&D.push("PdfJS-Fallback"),j=d(D),e.prev=65,j.s();case 67:if((U=j.n()).done){e.next=74;break}if($=U.value,!B.has($)){e.next=71;break}return e.abrupt("continue",72);case 71:for(X=0,H=[{name:"Regular",fontWeight:400,italicAngle:0},{name:"Bold",fontWeight:700,italicAngle:0},{name:"Italic",fontWeight:400,italicAngle:12},{name:"BoldItalic",fontWeight:700,italicAngle:12}];X<H.length;X++)q=H[X],z="".concat($,"-").concat(q.name),G=(0,f.getXfaFontDict)(z),k.push(p.handleSetFont(s,[o.Name.get(z),1],null,m,r,b,G,{fontFamily:$,fontWeight:q.fontWeight,italicAngle:q.italicAngle}).catch((function(e){return(0,n.warn)('loadXfaFonts: "'.concat(e,'".')),null})));case 72:e.next=67;break;case 74:e.next=79;break;case 76:e.prev=76,e.t2=e.catch(65),j.e(e.t2);case 79:return e.prev=79,j.f(),e.finish(79);case 82:return e.next=84,Promise.all(k);case 84:this.xfaFactory.appendFonts(v,B);case 85:case"end":return e.stop()}}),e,this,[[27,46,49,52],[65,76,79,82]])})));return function(t,r){return e.apply(this,arguments)}}()},{key:"serializeXfaData",value:function(){var e=p(h().mark((function e(t){return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.xfaFactory?this.xfaFactory.serializeData(t):null);case 1:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"formInfo",get:function(){var e={hasFields:!1,hasAcroForm:!1,hasXfa:!1,hasSignatures:!1},t=this.catalog.acroForm;if(!t)return(0,n.shadow)(this,"formInfo",e);try{var r=t.get("Fields"),a=Array.isArray(r)&&r.length>0;e.hasFields=a;var o=t.get("XFA");e.hasXfa=Array.isArray(o)&&o.length>0||o instanceof b.BaseStream&&!o.isEmpty;var s=!!(1&t.get("SigFlags")),c=s&&this._hasOnlyDocumentSignatures(r);e.hasAcroForm=a&&!c,e.hasSignatures=s}catch(l){if(l instanceof i.MissingDataException)throw l;(0,n.warn)('Cannot fetch form information: "'.concat(l,'".'))}return(0,n.shadow)(this,"formInfo",e)}},{key:"documentInfo",get:function(){var e=this._version;"string"===typeof e&&_.test(e)||((0,n.warn)("Invalid PDF header version number: ".concat(e)),e=null);var t,r={PDFFormatVersion:e,Language:this.catalog.lang,EncryptFilterName:this.xref.encrypt?this.xref.encrypt.filterName:null,IsLinearized:!!this.linearization,IsAcroFormPresent:this.formInfo.hasAcroForm,IsXFAPresent:this.formInfo.hasXfa,IsCollectionPresent:!!this.catalog.collection,IsSignaturesPresent:this.formInfo.hasSignatures};try{t=this.xref.trailer.get("Info")}catch(h){if(h instanceof i.MissingDataException)throw h;
2(0,n.info)("The document information dictionary is invalid.")}if(!(t instanceof o.Dict))return(0,n.shadow)(this,"documentInfo",r);var a,s=d(t.getKeys());try{for(s.s();!(a=s.n()).done;){var c=a.value,l=t.get(c);switch(c){case"Title":case"Author":case"Subject":case"Keywords":case"Creator":case"Producer":case"CreationDate":case"ModDate":if("string"===typeof l){r[c]=(0,n.stringToPDFString)(l);continue}break;case"Trapped":if(l instanceof o.Name){r[c]=l;continue}break;default:var u=void 0;switch(typeof l){case"string":u=(0,n.stringToPDFString)(l);break;case"number":case"boolean":u=l;break;default:l instanceof o.Name&&(u=l)}if(void 0===u){(0,n.warn)('Bad value, for custom key "'.concat(c,'", in Info: ').concat(l,"."));continue}r.Custom||(r.Custom=Object.create(null)),r.Custom[c]=u;continue}(0,n.warn)('Bad value, for key "'.concat(c,'", in Info: ').concat(l,"."))}}catch(h){s.e(h)}finally{s.f()}return(0,n.shadow)(this,"documentInfo",r)}},{key:"fingerprints",get:function(){function e(e){return"string"===typeof e&&e.length>0&&"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"!==e}function t(e){for(var t=[],r=0,a=e.length;r<a;r++){var n=e[r].toString(16);t.push(n.padStart(2,"0"))}return t.join("")}var r,a,i=this.xref.trailer.get("ID");return Array.isArray(i)&&e(i[0])?(r=(0,n.stringToBytes)(i[0]),i[1]!==i[0]&&e(i[1])&&(a=(0,n.stringToBytes)(i[1]))):r=(0,y.calculateMD5)(this.stream.getByteRange(0,1024),0,1024),(0,n.shadow)(this,"fingerprints",[t(r),a?t(a):null])}},{key:"_getLinearizationPage",value:function(){var e=p(h().mark((function e(t){var r,a,i,s,c,l;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=this.catalog,a=this.linearization,i=this.xref,s=o.Ref.get(a.objectNumberFirst,0),e.prev=2,e.next=5,i.fetchAsync(s);case 5:if(!((c=e.sent)instanceof o.Dict)){e.next=16;break}if(!((l=c.getRaw("Type"))instanceof o.Ref)){e.next=12;break}return e.next=11,i.fetchAsync(l);case 11:l=e.sent;case 12:if(!(0,o.isName)(l,"Page")&&(c.has("Type")||c.has("Kids"))){e.next=16;break}return r.pageKidsCountCache.has(s)||r.pageKidsCountCache.put(s,1),r.pageIndexCache.has(s)||r.pageIndexCache.put(s,0),e.abrupt("return",[c,s]);case 16:throw new n.FormatError("The Linearization dictionary doesn't point to a valid Page dictionary.");case 19:return e.prev=19,e.t0=e.catch(2),(0,n.warn)('_getLinearizationPage: "'.concat(e.t0.message,'".')),e.abrupt("return",r.getPageDict(t));case 23:case"end":return e.stop()}}),e,this,[[2,19]])})));return function(t){return e.apply(this,arguments)}}()},{key:"getPage",value:function(e){var t=this,r=this._pagePromises.get(e);if(r)return r;var a,n=this.catalog,i=this.linearization,s=this.xfaFactory;return a=(a=s?Promise.resolve([o.Dict.empty,null]):i&&i.pageFirst===e?this._getLinearizationPage(e):n.getPageDict(e)).then((function(r){var a=g(r,2),i=a[0],o=a[1];return new D({pdfManager:t.pdfManager,xref:t.xref,pageIndex:e,pageDict:i,ref:o,globalIdFactory:t._globalIdFactory,fontCache:n.fontCache,builtInCMapCache:n.builtInCMapCache,standardFontDataCache:n.standardFontDataCache,globalImageCache:n.globalImageCache,nonBlendModesSet:n.nonBlendModesSet,xfaFactory:s})})),this._pagePromises.set(e,a),a}},{key:"checkFirstPage",value:function(){var e=p(h().mark((function e(){var t=arguments;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(t.length>0&&void 0!==t[0]&&t[0])){e.next=3;break}return e.abrupt("return");case 3:return e.prev=3,e.next=6,this.getPage(0);case 6:e.next=15;break;case 8:if(e.prev=8,e.t0=e.catch(3),!(e.t0 instanceof i.XRefEntryException)){e.next=15;break}return this._pagePromises.delete(0),e.next=14,this.cleanup();case 14:throw new i.XRefParseException;case 15:case"end":return e.stop()}}),e,this,[[3,8]])})));return function(){return e.apply(this,arguments)}}()},{key:"checkLastPage",value:function(){var e=p(h().mark((function e(){var t,r,a,o,s,c,l,u,f,p,m,v,b,y=arguments;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=y.length>0&&void 0!==y[0]&&y[0],r=this.catalog,a=this.pdfManager,r.setActualNumPages(),e.prev=3,e.next=6,Promise.all([a.ensureDoc("xfaFactory"),a.ensureDoc("linearization"),a.ensureCatalog("numPages")]);case 6:if(!this.xfaFactory){e.next=10;break}return e.abrupt("return");case 10:o=this.linearization?this.linearization.numPages:r.numPages;case 11:if(Number.isInteger(o)){e.next=15;break}throw new n.FormatError("Page count is not an integer.");case 15:if(!(o<=1)){e.next=17;break}return e.abrupt("return");case 17:return e.next=19,this.getPage(o-1);case 19:e.next=44;break;case 21:return e.prev=21,e.t0=e.catch(3),this._pagePromises.delete(o-1),e.next=26,this.cleanup();case 26:if(!(e.t0 instanceof i.XRefEntryException)||t){e.next=28;break}throw new i.XRefParseException;case 28:return(0,n.warn)("checkLastPage - invalid /Pages tree /Count: ".concat(o,".")),e.prev=29,e.next=32,r.getAllPageDicts(t);case 32:s=e.sent,e.next=41;break;case 35:if(e.prev=35,e.t1=e.catch(29),!(e.t1 instanceof i.XRefEntryException)||t){e.next=39;break}throw new i.XRefParseException;case 39:return r.setActualNumPages(1),e.abrupt("return");case 41:c=d(s);try{for(c.s();!(l=c.n()).done;)u=g(l.value,2),f=u[0],p=g(u[1],2),m=p[0],v=p[1],b=void 0,m instanceof Error?(b=Promise.reject(m)).catch((function(){})):b=Promise.resolve(new D({pdfManager:a,xref:this.xref,pageIndex:f,pageDict:m,ref:v,globalIdFactory:this._globalIdFactory,fontCache:r.fontCache,builtInCMapCache:r.builtInCMapCache,standardFontDataCache:r.standardFontDataCache,globalImageCache:r.globalImageCache,nonBlendModesSet:r.nonBlendModesSet,xfaFactory:null})),this._pagePromises.set(f,b)}catch(h){c.e(h)}finally{c.f()}r.setActualNumPages(s.size);case 44:case"end":return e.stop()}}),e,this,[[3,21],[29,35]])})));return function(){return e.apply(this,arguments)}}()},{key:"fontFallback",value:function(e,t){return this.catalog.fontFallback(e,t)}},{key:"cleanup",value:function(){var e=p(h().mark((function e(){var t,r=arguments;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=r.length>0&&void 0!==r[0]&&r[0],e.abrupt("return",this.catalog?this.catalog.cleanup(t):(0,w.clearGlobalCaches)());case 2:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"_collectFieldObjects",value:function(e,t,r){var i=this.xref.fetchIfRef(t);if(i.has("T")){var o=(0,n.stringToPDFString)(i.get("T"));e=""===e?o:"".concat(e,".").concat(o)}if(r.has(e)||r.set(e,[]),r.get(e).push(a.AnnotationFactory.create(this.xref,t,this.pdfManager,this._localIdFactory,!0).then((function(e){return e&&e.getFieldObject()})).catch((function(e){return(0,n.warn)('_collectFieldObjects: "'.concat(e,'".')),null}))),i.has("Kids")){var s,c=i.get("Kids"),l=d(c);try{for(l.s();!(s=l.n()).done;){var u=s.value;this._collectFieldObjects(e,u,r)}}catch(h){l.e(h)}finally{l.f()}}}},{key:"fieldObjects",get:function(){if(!this.formInfo.hasFields)return(0,n.shadow)(this,"fieldObjects",Promise.resolve(null));var e,t=Object.create(null),r=new Map,a=d(this.catalog.acroForm.get("Fields"));try{for(a.s();!(e=a.n()).done;){var i=e.value;this._collectFieldObjects("",i,r)}}catch(u){a.e(u)}finally{a.f()}var o,s=[],c=d(r);try{var l=function(){var e=g(o.value,2),r=e[0],a=e[1];
2s.push(Promise.all(a).then((function(e){(e=e.filter((function(e){return!!e}))).length>0&&(t[r]=e)})))};for(c.s();!(o=c.n()).done;)l()}catch(u){c.e(u)}finally{c.f()}return(0,n.shadow)(this,"fieldObjects",Promise.all(s).then((function(){return t})))}},{key:"hasJSActions",get:function(){var e=this.pdfManager.ensureDoc("_parseHasJSActions");return(0,n.shadow)(this,"hasJSActions",e)}},{key:"_parseHasJSActions",value:function(){var e=p(h().mark((function e(){var t,r,a,n;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.all([this.pdfManager.ensureCatalog("jsActions"),this.pdfManager.ensureDoc("fieldObjects")]);case 2:if(t=e.sent,r=g(t,2),a=r[0],n=r[1],!a){e.next=8;break}return e.abrupt("return",!0);case 8:if(!n){e.next=10;break}return e.abrupt("return",Object.values(n).some((function(e){return e.some((function(e){return null!==e.actions}))})));case 10:return e.abrupt("return",!1);case 11:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"calculationOrderIds",get:function(){var e=this.catalog.acroForm;if(!e||!e.has("CO"))return(0,n.shadow)(this,"calculationOrderIds",null);var t=e.get("CO");if(!Array.isArray(t)||0===t.length)return(0,n.shadow)(this,"calculationOrderIds",null);var r,a=[],i=d(t);try{for(i.s();!(r=i.n()).done;){var s=r.value;s instanceof o.Ref&&a.push(s.toString())}}catch(c){i.e(c)}finally{i.f()}return 0===a.length?(0,n.shadow)(this,"calculationOrderIds",null):(0,n.shadow)(this,"calculationOrderIds",a)}}])}();t.PDFDocument=U},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.PopupAnnotation=t.MarkupAnnotation=t.AnnotationFactory=t.AnnotationBorderStyle=t.Annotation=void 0,t.getQuadPoints=M;var a=r(2),s=r(6),c=r(13),f=r(5),b=r(65),y=r(7),k=r(60),w=r(69),x=r(14),S=r(72),A=r(75),C=r(62),F=r(10),O=r(76),I=function(){return v((function e(){m(this,e)}),null,[{key:"create",value:function(e,t,r,a,n){var i=this;return Promise.all([r.ensureCatalog("acroForm"),r.ensureCatalog("baseUrl"),r.ensureDoc("xfaDatasets"),n?this._getPageIndex(e,t,r):-1]).then((function(o){var s=g(o,4),c=s[0],l=(s[1],s[2]),u=s[3];return r.ensure(i,"_create",[e,t,r,a,c,l,n,u])}))}},{key:"_create",value:function(e,t,r,n,i,o,c){var l=arguments.length>7&&void 0!==arguments[7]?arguments[7]:-1,u=e.fetchIfRef(t);if(u instanceof f.Dict){var h=t instanceof f.Ref?t.toString():"annot_".concat(n.createObjId()),d=u.get("Subtype"),g={xref:e,ref:t,dict:u,subtype:d=d instanceof f.Name?d.name:null,id:h,pdfManager:r,acroForm:i instanceof f.Dict?i:f.Dict.empty,xfaDatasets:o,collectFields:c,pageIndex:l};switch(d){case"Link":return new $(g);case"Text":return new U(g);case"Widget":var p=(0,s.getInheritableProperty)({dict:u,key:"FT"});switch(p=p instanceof f.Name?p.name:null){case"Tx":return new L(g);case"Btn":return new R(g);case"Ch":return new _(g);case"Sig":return new j(g)}return(0,a.warn)('Unimplemented widget field type "'.concat(p,'", ')+"falling back to base field type."),new B(g);case"Popup":return new X(g);case"FreeText":return new H(g);case"Line":return new q(g);case"Square":return new z(g);case"Circle":return new G(g);case"PolyLine":return new W(g);case"Polygon":return new V(g);case"Caret":return new K(g);case"Ink":return new Y(g);case"Highlight":return new J(g);case"Underline":return new Z(g);case"Squiggly":return new Q(g);case"StrikeOut":return new ee(g);case"Stamp":return new te(g);case"FileAttachment":return new re(g);default:return c||(d?(0,a.warn)('Unimplemented annotation type "'.concat(d,'", ')+"falling back to base annotation."):(0,a.warn)("Annotation is missing the required /Subtype.")),new E(g)}}}},{key:"_getPageIndex",value:function(){var e=p(h().mark((function e(t,r,n){var i,o,s;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.fetchIfRefAsync(r);case 3:if((i=e.sent)instanceof f.Dict){e.next=6;break}return e.abrupt("return",-1);case 6:if((o=i.getRaw("P"))instanceof f.Ref){e.next=9;break}return e.abrupt("return",-1);case 9:return e.next=11,n.ensureCatalog("getPageIndex",[o]);case 11:return s=e.sent,e.abrupt("return",s);case 15:return e.prev=15,e.t0=e.catch(0),(0,a.warn)('_getPageIndex: "'.concat(e.t0,'".')),e.abrupt("return",-1);case 19:case"end":return e.stop()}}),e,null,[[0,15]])})));return function(t,r,a){return e.apply(this,arguments)}}()},{key:"saveNewAnnotations",value:function(){var e=p(h().mark((function e(t,r,n){var i,o,s,c,l,u,g,p,m;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:i=t.xref,s=[],c=[],l=d(n),e.prev=4,l.s();case 6:if((u=l.n()).done){e.next=17;break}g=u.value,e.t0=g.annotationType,e.next=e.t0===a.AnnotationEditorType.FREETEXT?11:e.t0===a.AnnotationEditorType.INK?14:15;break;case 11:return o||((p=new f.Dict(i)).set("BaseFont",f.Name.get("Helvetica")),p.set("Type",f.Name.get("Font")),p.set("Subtype",f.Name.get("Type1")),p.set("Encoding",f.Name.get("WinAnsiEncoding")),m=[],o=i.getNewRef(),(0,b.writeObject)(o,p,m,null),s.push({ref:o,data:m.join("")})),c.push(H.createNewAnnotation(i,g,s,{evaluator:t,task:r,baseFontRef:o})),e.abrupt("break",15);case 14:c.push(Y.createNewAnnotation(i,g,s));case 15:e.next=6;break;case 17:e.next=22;break;case 19:e.prev=19,e.t1=e.catch(4),l.e(e.t1);case 22:return e.prev=22,l.f(),e.finish(22);case 25:return e.next=27,Promise.all(c);case 27:return e.t2=e.sent,e.t3=s,e.abrupt("return",{annotations:e.t2,depen
2dencies:e.t3});case 30:case"end":return e.stop()}}),e,null,[[4,19,22,25]])})));return function(t,r,a){return e.apply(this,arguments)}}()},{key:"printNewAnnotations",value:function(){var e=p(h().mark((function e(t,r,n){var i,o,s,c,l;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n){e.next=2;break}return e.abrupt("return",null);case 2:i=t.xref,o=[],s=d(n),e.prev=5,s.s();case 7:if((c=s.n()).done){e.next=18;break}l=c.value,e.t0=l.annotationType,e.next=e.t0===a.AnnotationEditorType.FREETEXT?12:e.t0===a.AnnotationEditorType.INK?14:16;break;case 12:return o.push(H.createNewPrintAnnotation(i,l,{evaluator:t,task:r})),e.abrupt("break",16);case 14:return o.push(Y.createNewPrintAnnotation(i,l)),e.abrupt("break",16);case 16:e.next=7;break;case 18:e.next=23;break;case 20:e.prev=20,e.t1=e.catch(5),s.e(e.t1);case 23:return e.prev=23,s.f(),e.finish(23);case 26:return e.abrupt("return",Promise.all(o));case 27:case"end":return e.stop()}}),e,null,[[5,20,23,26]])})));return function(t,r,a){return e.apply(this,arguments)}}()}])}();function T(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Uint8ClampedArray(3);if(!Array.isArray(e))return t;var r=t||new Uint8ClampedArray(3);switch(e.length){case 0:return null;case 1:return x.ColorSpace.singletons.gray.getRgbItem(e,0,r,0),r;case 3:return x.ColorSpace.singletons.rgb.getRgbItem(e,0,r,0),r;case 4:return x.ColorSpace.singletons.cmyk.getRgbItem(e,0,r,0),r;default:return t}}function M(e,t){if(!e.has("QuadPoints"))return null;var r=e.getArray("QuadPoints");if(!Array.isArray(r)||0===r.length||r.length%8>0)return null;for(var a=[],n=0,i=r.length/8;n<i;n++){a.push([]);for(var o=8*n,s=8*n+8;o<s;o+=2){var c=r[o],l=r[o+1];if(null!==t&&(c<t[0]||c>t[2]||l<t[1]||l>t[3]))return null;a[n].push({x:c,y:l})}}return a.map((function(e){var t=e.reduce((function(e,t){var r=g(e,4),a=r[0],n=r[1],i=r[2],o=r[3];return[Math.min(a,t.x),Math.max(n,t.x),Math.min(i,t.y),Math.max(o,t.y)]}),[Number.MAX_VALUE,Number.MIN_VALUE,Number.MAX_VALUE,Number.MIN_VALUE]),r=g(t,4),a=r[0],n=r[1],i=r[2],o=r[3];return[{x:a,y:o},{x:n,y:o},{x:a,y:i},{x:n,y:i}]}))}function P(e,t,r){var n=a.Util.getAxialAlignedBoundingBox(t,r),i=g(n,4),o=i[0],s=i[1],c=i[2],l=i[3];if(o===c||s===l)return[1,0,0,1,e[0],e[1]];var u=(e[2]-e[0])/(c-o),h=(e[3]-e[1])/(l-s);return[u,0,0,h,e[0]-o*u,e[1]-s*h]}t.AnnotationFactory=I;var E=function(){return v((function e(t){m(this,e);var r=t.dict;this.setTitle(r.get("T")),this.setContents(r.get("Contents")),this.setModificationDate(r.get("M")),this.setFlags(r.get("F")),this.setRectangle(r.getArray("Rect")),this.setColor(r.getArray("C")),this.setBorderStyle(r),this.setAppearance(r),this.setOptionalContent(r);var n=r.get("MK");if(this.setBorderAndBackgroundColors(n),this.setRotation(n),this._streams=[],this.appearance&&this._streams.push(this.appearance),this.data={annotationFlags:this.flags,borderStyle:this.borderStyle,color:this.color,backgroundColor:this.backgroundColor,borderColor:this.borderColor,rotation:this.rotation,contentsObj:this._contents,hasAppearance:!!this.appearance,id:t.id,modificationDate:this.modificationDate,rect:this.rectangle,subtype:t.subtype,hasOwnCanvas:!1},t.collectFields){var i=r.get("Kids");if(Array.isArray(i)){var o,c=[],l=d(i);try{for(l.s();!(o=l.n()).done;){var u=o.value;u instanceof f.Ref&&c.push(u.toString())}}catch(h){l.e(h)}finally{l.f()}0!==c.length&&(this.data.kidIds=c)}this.data.actions=(0,s.collectActions)(t.xref,r,a.AnnotationActionEventType),this.data.fieldName=this._constructFieldName(r),this.data.pageIndex=t.pageIndex}this._fallbackFontDict=null}),[{key:"_hasFlag",value:function(e,t){return!!(e&t)}},{key:"_isViewable",value:function(e){return!this._hasFlag(e,a.AnnotationFlag.INVISIBLE)&&!this._hasFlag(e,a.AnnotationFlag.NOVIEW)}},{key:"_isPrintable",value:function(e){return this._hasFlag(e,a.AnnotationFlag.PRINT)&&!this._hasFlag(e,a.AnnotationFlag.INVISIBLE)}},{key:"mustBeViewed",value:function(e){var t=e&&e.get(this.data.id);return t&&void 0!==t.hidden?!t.hidden:this.viewable&&!this._hasFlag(this.flags,a.AnnotationFlag.HIDDEN)}},{key:"mustBePrinted",value:function(e){var t=e&&e.get(this.data.id);return t&&void 0!==t.print?t.print:this.printable}},{key:"viewable",get:function(){return null!==this.data.quadPoints&&(0===this.flags||this._isViewable(this.flags))}},{key:"printable",get:function(){return null!==this.data.quadPoints&&0!==this.flags&&this._isPrintable(this.flags)}},{key:"_parseStringHelper",value:function(e){var t="string"===typeof e?(0,a.stringToPDFString)(e):"";return{str:t,dir:t&&"rtl"===(0,k.bidi)(t).dir?"rtl":"ltr"}}},{key:"setTitle",value:function(e){this._title=this._parseStringHelper(e)}},{key:"setContents",value:function(e){this._contents=this._parseStringHelper(e)}},{key:"setModificationDate",value:function(e){this.modificationDate="string"===typeof e?e:null}},{key:"setFlags",value:function(e){this.flags=Number.isInteger(e)&&e>0?e:0}},{key:"hasFlag",value:function(e){return this._hasFlag(this.flags,e)}},{key:"setRectangle",value:function(e){Array.isArray(e)&&4===e.length?this.rectangle=a.Util.normalizeRect(e):this.rectangle=[0,0,0,0]}},{key:"setColor",value:function(e){this.color=T(e)}},{key:"setLineEndings",value:function(e){if(this.lineEndings=["None","None"],Array.isArray(e)&&2===e.length)for(var t=0;t<2;t++){var r=e[t];if(r instanceof f.Name)switch(r.name){case"None":continue;
2case"Square":case"Circle":case"Diamond":case"OpenArrow":case"ClosedArrow":case"Butt":case"ROpenArrow":case"RClosedArrow":case"Slash":this.lineEndings[t]=r.name;continue}(0,a.warn)("Ignoring invalid lineEnding: ".concat(r))}}},{key:"setRotation",value:function(e){if(this.rotation=0,e instanceof f.Dict){var t=e.get("R")||0;Number.isInteger(t)&&0!==t&&((t%=360)<0&&(t+=360),t%90===0&&(this.rotation=t))}}},{key:"setBorderAndBackgroundColors",value:function(e){e instanceof f.Dict?(this.borderColor=T(e.getArray("BC"),null),this.backgroundColor=T(e.getArray("BG"),null)):this.borderColor=this.backgroundColor=null}},{key:"setBorderStyle",value:function(e){if(this.borderStyle=new N,e instanceof f.Dict)if(e.has("BS")){var t=e.get("BS"),r=t.get("Type");r&&!(0,f.isName)(r,"Border")||(this.borderStyle.setWidth(t.get("W"),this.rectangle),this.borderStyle.setStyle(t.get("S")),this.borderStyle.setDashArray(t.getArray("D")))}else if(e.has("Border")){var a=e.getArray("Border");Array.isArray(a)&&a.length>=3&&(this.borderStyle.setHorizontalCornerRadius(a[0]),this.borderStyle.setVerticalCornerRadius(a[1]),this.borderStyle.setWidth(a[2],this.rectangle),4===a.length&&this.borderStyle.setDashArray(a[3],!0))}else this.borderStyle.setWidth(0)}},{key:"setAppearance",value:function(e){this.appearance=null;var t=e.get("AP");if(t instanceof f.Dict){var r=t.get("N");if(r instanceof y.BaseStream)this.appearance=r;else if(r instanceof f.Dict){var a=e.get("AS");a instanceof f.Name&&r.has(a.name)&&(this.appearance=r.get(a.name))}}}},{key:"setOptionalContent",value:function(e){this.oc=null;var t=e.get("OC");t instanceof f.Name?(0,a.warn)("setOptionalContent: Support for /Name-entry is not implemented."):t instanceof f.Dict&&(this.oc=t)}},{key:"loadResources",value:function(e,t){return t.dict.getAsync("Resources").then((function(t){if(t)return new A.ObjectLoader(t,e,t.xref).load().then((function(){return t}))}))}},{key:"getOperatorList",value:function(){var e=p(h().mark((function e(t,r,n,i,o){var s,c,l,u,d,g,p,m,v,b;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(s=this.data,c=this.appearance,l=!!(this.data.hasOwnCanvas&&n&a.RenderingIntentFlag.DISPLAY),c){e.next=8;break}if(l){e.next=6;break}return e.abrupt("return",{opList:new C.OperatorList,separateForm:!1,separateCanvas:!1});case 6:(c=new F.StringStream("")).dict=new f.Dict;case 8:return u=c.dict,e.next=11,this.loadResources(["ExtGState","ColorSpace","Pattern","Shading","XObject","Font"],c);case 11:if(d=e.sent,g=u.getArray("BBox")||[0,0,1,1],p=u.getArray("Matrix")||[1,0,0,1,0,0],m=P(s.rect,g,p),v=new C.OperatorList,!this.oc){e.next=20;break}return e.next=19,t.parseMarkedContentProps(this.oc,null);case 19:b=e.sent;case 20:return void 0!==b&&v.addOp(a.OPS.beginMarkedContentProps,["OC",b]),v.addOp(a.OPS.beginAnnotation,[s.id,s.rect,m,p,l]),e.next=24,t.getOperatorList({stream:c,task:r,resources:d,operatorList:v,fallbackFontDict:this._fallbackFontDict});case 24:return v.addOp(a.OPS.endAnnotation,[]),void 0!==b&&v.addOp(a.OPS.endMarkedContent,[]),this.reset(),e.abrupt("return",{opList:v,separateForm:!1,separateCanvas:l});case 28:case"end":return e.stop()}}),e,this)})));return function(t,r,a,n,i){return e.apply(this,arguments)}}()},{key:"save",value:function(){var e=p(h().mark((function e(t,r,a){return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",null);case 1:case"end":return e.stop()}}),e)})));return function(t,r,a){return e.apply(this,arguments)}}()},{key:"hasTextContent",get:function(){return!1}},{key:"extractTextContent",value:function(){var e=p(h().mark((function e(t,r,a){var n,i,o,s;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.appearance){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,this.loadResources(["ExtGState","Font","Properties","XObject"],this.appearance);case 4:return n=e.sent,i=[],o=[],s={desiredSize:Math.Infinity,ready:!0,enqueue:function(e,t){var r,a=d(e.items);try{for(a.s();!(r=a.n()).done;){var n=r.value;o.push(n.str),n.hasEOL&&(i.push(o.join("")),o.length=0)}}catch(s){a.e(s)}finally{a.f()}}}
2,e.next=10,t.getTextContent({stream:this.appearance,task:r,resources:n,includeMarkedContent:!0,combineTextItems:!0,sink:s,viewBox:a});case 10:this.reset(),o.length&&i.push(o.join("")),i.length>0&&(this.data.textContent=i);case 13:case"end":return e.stop()}}),e,this)})));return function(t,r,a){return e.apply(this,arguments)}}()},{key:"getFieldObject",value:function(){return this.data.kidIds?{id:this.data.id,actions:this.data.actions,name:this.data.fieldName,strokeColor:this.data.borderColor,fillColor:this.data.backgroundColor,type:"",kidIds:this.data.kidIds,page:this.data.pageIndex,rotation:this.rotation}:null}},{key:"reset",value:function(){var e,t=d(this._streams);try{for(t.s();!(e=t.n()).done;)e.value.reset()}catch(r){t.e(r)}finally{t.f()}}},{key:"_constructFieldName",value:function(e){if(!e.has("T")&&!e.has("Parent"))return(0,a.warn)("Unknown field name, falling back to empty field name."),"";if(!e.has("Parent"))return(0,a.stringToPDFString)(e.get("T"));var t=[];e.has("T")&&t.unshift((0,a.stringToPDFString)(e.get("T")));var r=e,n=new f.RefSet;for(e.objId&&n.put(e.objId);r.has("Parent")&&(r=r.get("Parent"))instanceof f.Dict&&(!r.objId||!n.has(r.objId));)r.objId&&n.put(r.objId),r.has("T")&&t.unshift((0,a.stringToPDFString)(r.get("T")));return t.join(".")}}])}();t.Annotation=E;var N=function(){return v((function e(){m(this,e),this.width=1,this.style=a.AnnotationBorderStyleType.SOLID,this.dashArray=[3],this.horizontalCornerRadius=0,this.verticalCornerRadius=0}),[{key:"setWidth",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[0,0,0,0];if(e instanceof f.Name)this.width=0;else if("number"===typeof e){if(e>0){var r=(t[2]-t[0])/2,n=(t[3]-t[1])/2;r>0&&n>0&&(e>r||e>n)&&((0,a.warn)("AnnotationBorderStyle.setWidth - ignoring width: ".concat(e)),e=1)}this.width=e}}},{key:"setStyle",value:function(e){if(e instanceof f.Name)switch(e.name){case"S":this.style=a.AnnotationBorderStyleType.SOLID;break;case"D":this.style=a.AnnotationBorderStyleType.DASHED;break;case"B":this.style=a.AnnotationBorderStyleType.BEVELED;break;case"I":this.style=a.AnnotationBorderStyleType.INSET;break;case"U":this.style=a.AnnotationBorderStyleType.UNDERLINE}}},{key:"setDashArray",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(Array.isArray(e)&&e.length>0){var r,a=!0,n=!0,i=d(e);try{for(i.s();!(r=i.n()).done;){var o=r.value;if(!(+o>=0)){a=!1;break}o>0&&(n=!1)}}catch(s){i.e(s)}finally{i.f()}a&&!n?(this.dashArray=e,t&&this.setStyle(f.Name.get("D"))):this.width=0}else e&&(this.width=0)}},{key:"setHorizontalCornerRadius",value:function(e){Number.isInteger(e)&&(this.horizontalCornerRadius=e)}},{key:"setVerticalCornerRadius",value:function(e){Number.isInteger(e)&&(this.verticalCornerRadius=e)}}])}();t.AnnotationBorderStyle=N;var D=function(e){function t(e){var r;m(this,t),r=l(this,t,[e]);var n=e.dict;if(n.has("IRT")){var i=n.getRaw("IRT");r.data.inReplyTo=i instanceof f.Ref?i.toString():null;var o=n.get("RT");r.data.replyType=o instanceof f.Name?o.name:a.AnnotationReplyType.REPLY}if(r.data.replyType===a.AnnotationReplyType.GROUP){var s=n.get("IRT");r.setTitle(s.get("T")),r.data.titleObj=r._title,r.setContents(s.get("Contents")),r.data.contentsObj=r._contents,s.has("CreationDate")?(r.setCreationDate(s.get("CreationDate")),r.data.creationDate=r.creationDate):r.data.creationDate=null,s.has("M")?(r.setModificationDate(s.get("M")),r.data.modificationDate=r.modificationDate):r.data.modificationDate=null,r.data.hasPopup=s.has("Popup"),s.has("C")?(r.setColor(s.getArray("C")),r.data.color=r.color):r.data.color=null}else r.data.titleObj=r._title,r.setCreationDate(n.get("CreationDate")),r.data.creationDate=r.creationDate,r.data.hasPopup=n.has("Popup"),n.has("C")||(r.data.color=null);return n.has("RC")&&(r.data.richText=O.XFAFactory.getRichTextAsHtml(n.get("RC"))),r}return u(t,e),v(t,[{key:"setCreationDate",value:function(e){this.creationDate="string"===typeof e?e:null}},{key:"_setDefaultAppearance",value:function(e){var t=e.xref,r=e.extra,a=e.strokeColor,n=e.fillColor,i=e.blendMode,o=e.strokeAlpha,s=e.fillAlpha,c=e.pointsCallback,l=Number.MAX_VALUE,u=Number.MAX_VALUE,h=Number.MIN_VALUE,p=Number.MIN_VALUE,m=["q"];r&&m.push(r),a&&m.push("".concat(a[0]," ").concat(a[1]," ").concat(a[2]," RG")),n&&m.push("".concat(n[0]," ").concat(n[1]," ").concat(n[2]," rg"));var v=this.data.quadPoints;v||(v=[[{x:this.rectangle[0],y:this.rectangle[3]},{x:this.rectangle[2],y:this.rectangle[3]},{x:this.rectangle[0],y:this.rectangle[1]},{x:this.rectangle[2],y:this.rectangle[1]}]]);var b,y=d(v);try{for(y.s();!(b=y.n()).done;){var k=c(m,b.value),w=g(k,4),x=w[0],S=w[1],A=w[2],C=w[3];l=Math.min(l,x),h=Math.max(h,S),u=Math.min(u,A),p=Math.max(p,C)}}catch(B){y.e(B)}finally{y.f()}m.push("Q");var O=new f.Dict(t),I=new f.Dict(t);I.set("Subtype",f.Name.get("Form"));var T=new F.StringStream(m.join(" "));T.dict=I,O.set("Fm0",T);var M=new f.Dict(t);i&&M.set("BM",f.Name.get(i)),"number"===typeof o&&M.set("CA",o),"number"===typeof s&&M.set("ca",s);var P=new f.Dict(t);P.set("GS0",M);var E=new f.Dict(t);E.set("ExtGState",P),E.set("XObject",O);var N=new f.Dict(t);N.set("Resources",E);var D=this.data.rect=[l,u,h,p];N.set("BBox",D),this.appearance=new F.StringStream("/GS0 gs /Fm0 Do"),this.appearance.dict=N,this._streams.push(this.appearance,T)}}],[{key:"createNewAnnotation",value:function(){var e=p(h().mark((function e(t,r,a,n){var i,o,s,c,l,u;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i=t.getNewRef(),o=t.getNewRef(),s=this.createNewDict(r,t,{apRef:o}),e.next=5,this.createNewAppearanceStream(r,t,n);case 5:return c=e.sent,l=[],u=t.encrypt?t.encrypt.createCipherTransform(o.num,o.gen):null,(0,b.writeObject)(o,c,l,u),a.push({ref:o,data:l.j
2oin("")}),l.length=0,u=t.encrypt?t.encrypt.createCipherTransform(i.num,i.gen):null,(0,b.writeObject)(i,s,l,u),e.abrupt("return",{ref:i,data:l.join("")});case 14:case"end":return e.stop()}}),e,this)})));return function(t,r,a,n){return e.apply(this,arguments)}}()},{key:"createNewPrintAnnotation",value:function(){var e=p(h().mark((function e(t,r,a){var n,i;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.createNewAppearanceStream(r,t,a);case 2:return n=e.sent,i=this.createNewDict(r,t,{ap:n}),e.abrupt("return",new this.prototype.constructor({dict:i,xref:t}));case 5:case"end":return e.stop()}}),e,this)})));return function(t,r,a){return e.apply(this,arguments)}}()}])}(E);t.MarkupAnnotation=D;var B=function(e){function t(e){var r;m(this,t),r=l(this,t,[e]);var n=e.dict,i=r.data;r.ref=e.ref,i.annotationType=a.AnnotationType.WIDGET,void 0===i.fieldName&&(i.fieldName=r._constructFieldName(n)),void 0===i.actions&&(i.actions=(0,s.collectActions)(e.xref,n,a.AnnotationActionEventType));var o=(0,s.getInheritableProperty)({dict:n,key:"V",getArray:!0});i.fieldValue=r._decodeFormValue(o);var u=(0,s.getInheritableProperty)({dict:n,key:"DV",getArray:!0});if(i.defaultFieldValue=r._decodeFormValue(u),void 0===o&&e.xfaDatasets){var h=r._title.str;h&&(r._hasValueFromXFA=!0,i.fieldValue=o=e.xfaDatasets.getValue(h))}void 0===o&&null!==i.defaultFieldValue&&(i.fieldValue=i.defaultFieldValue),i.alternativeText=(0,a.stringToPDFString)(n.get("TU")||"");var d=(0,s.getInheritableProperty)({dict:n,key:"DA"})||e.acroForm.get("DA");r._defaultAppearance="string"===typeof d?d:"",i.defaultAppearanceData=(0,c.parseDefaultAppearance)(r._defaultAppearance);var g=(0,s.getInheritableProperty)({dict:n,key:"FT"});i.fieldType=g instanceof f.Name?g.name:null;var p=(0,s.getInheritableProperty)({dict:n,key:"DR"}),v=e.acroForm.get("DR"),b=r.appearance&&r.appearance.dict.get("Resources");return r._fieldResources={localResources:p,acroFormResources:v,appearanceResources:b,mergedResources:f.Dict.merge({xref:e.xref,dictArray:[p,b,v],mergeSubDicts:!0})},i.fieldFlags=(0,s.getInheritableProperty)({dict:n,key:"Ff"}),(!Number.isInteger(i.fieldFlags)||i.fieldFlags<0)&&(i.fieldFlags=0),i.readOnly=r.hasFieldFlag(a.AnnotationFieldFlag.READONLY),i.required=r.hasFieldFlag(a.AnnotationFieldFlag.REQUIRED),i.hidden=r._hasFlag(i.annotationFlags,a.AnnotationFlag.HIDDEN),r}return u(t,e),v(t,[{key:"_decodeFormValue",value:function(e){return Array.isArray(e)?e.filter((function(e){return"string"===typeof e})).map((function(e){return(0,a.stringToPDFString)(e)})):e instanceof f.Name?(0,a.stringToPDFString)(e.name):"string"===typeof e?(0,a.stringToPDFString)(e):null}},{key:"hasFieldFlag",value:function(e){return!!(this.data.fieldFlags&e)}},{key:"getRotationMatrix",value:function(e){var r=e?e.get(this.data.id):void 0,n=r&&r.rotation;if(void 0===n&&(n=this.rotation),0===n)return a.IDENTITY_MATRIX;var i=this.data.rect[2]-this.data.rect[0],o=this.data.rect[3]-this.data.rect[1];return t._getRotationMatrix(n,i,o)}},{key:"getBorderAndBackgroundAppearances",value:function(e){var t=e?e.get(this.data.id):void 0,r=t&&t.rotation;if(void 0===r&&(r=this.rotation),!this.backgroundColor&&!this.borderColor)return"";var a=this.data.rect[2]-this.data.rect[0],n=this.data.rect[3]-this.data.rect[1],i=0===r||180===r?"0 0 ".concat(a," ").concat(n," re"):"0 0 ".concat(n," ").concat(a," re"),o="";if(this.backgroundColor&&(o="".concat((0,c.getPdfColor)(this.backgroundColor,!0)," ").concat(i," f ")),this.borderColor){var s=this.borderStyle.width||1;o+="".concat(s," w ").concat((0,c.getPdfColor)(this.borderColor,!1)," ").concat(i," S ")}return o}},{key:"getOperatorList",value:function(){var e=p(h().mark((function e(r,n,s,c,l){var u,f,d,g,p,m,v;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!c||this instanceof j){e.next=2;break}return e.abrupt("return",{opList:new C.OperatorList,separateForm:!0,separateCanvas:!1});case 2:if(this._hasText){e.next=4;break}return e.abrupt("return",i(o(t.prototype),"getOperatorList",this).call(this,r,n,s,c,l));case 4:return e.next=6,this._getAppearance(r,n,l);case 6:if(u=e.sent,!this.appearance||null!==u){e.next=9;break}return e.abrupt("return",i(o(t.prototype),"getOperatorList",this).call(this,r,n,s,c,l));
2case 9:if(f=new C.OperatorList,this._defaultAppearance&&null!==u){e.next=12;break}return e.abrupt("return",{opList:f,separateForm:!1,separateCanvas:!1});case 12:if(d=[1,0,0,1,0,0],g=[0,0,this.data.rect[2]-this.data.rect[0],this.data.rect[3]-this.data.rect[1]],p=P(this.data.rect,g,d),!this.oc){e.next=19;break}return e.next=18,r.parseMarkedContentProps(this.oc,null);case 18:m=e.sent;case 19:return void 0!==m&&f.addOp(a.OPS.beginMarkedContentProps,["OC",m]),f.addOp(a.OPS.beginAnnotation,[this.data.id,this.data.rect,p,this.getRotationMatrix(l),!1]),v=new F.StringStream(u),e.next=24,r.getOperatorList({stream:v,task:n,resources:this._fieldResources.mergedResources,operatorList:f});case 24:return f.addOp(a.OPS.endAnnotation,[]),void 0!==m&&f.addOp(a.OPS.endMarkedContent,[]),e.abrupt("return",{opList:f,separateForm:!1,separateCanvas:!1});case 27:case"end":return e.stop()}}),e,this)})));return function(t,r,a,n,i){return e.apply(this,arguments)}}()},{key:"_getMKDict",value:function(e){var t=new f.Dict(null);return e&&t.set("R",e),this.borderColor&&t.set("BC",Array.from(this.borderColor).map((function(e){return e/255}))),this.backgroundColor&&t.set("BG",Array.from(this.backgroundColor).map((function(e){return e/255}))),t.size>0?t:null}},{key:"save",value:function(){var e=p(h().mark((function e(t,r,n){var i,o,s,c,l,u,d,g,p,m,v,y,k,w,x,S,A,C,F,O=this;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(i=n?n.get(this.data.id):void 0,o=i&&i.value,s=i&&i.rotation,o!==this.data.fieldValue&&void 0!==o){e.next=7;break}if(this._hasValueFromXFA||void 0!==s){e.next=6;break}return e.abrupt("return",null);case 6:o=o||this.data.fieldValue;case 7:if(void 0!==s||this._hasValueFromXFA||!Array.isArray(o)||!Array.isArray(this.data.fieldValue)||o.length!==this.data.fieldValue.length||!o.every((function(e,t){return e===O.data.fieldValue[t]}))){e.next=9;break}return e.abrupt("return",null);case 9:return void 0===s&&(s=this.rotation),e.next=12,this._getAppearance(t,r,n);case 12:if(null!==(c=e.sent)){e.next=15;break}return e.abrupt("return",null);case 15:if(l=t.xref,(u=l.fetchIfRef(this.ref))instanceof f.Dict){e.next=19;break}return e.abrupt("return",null);case 19:return d=[0,0,this.data.rect[2]-this.data.rect[0],this.data.rect[3]-this.data.rect[1]],g={path:(0,a.stringToPDFString)(u.get("T")||""),value:o},p=l.getNewRef(),(m=new f.Dict(l)).set("N",p),v=l.encrypt,y=null,k=null,v&&(y=v.createCipherTransform(this.ref.num,this.ref.gen),k=v.createCipherTransform(p.num,p.gen),c=k.encryptString(c)),w=function(e){return(0,a.isAscii)(e)?e:(0,a.stringToUTF16BEString)(e)},u.set("V",Array.isArray(o)?o.map(w):w(o)),u.set("AP",m),u.set("M","D:".concat((0,a.getModificationDate)())),(x=this._getMKDict(s))&&u.set("MK",x),(S=new f.Dict(l)).set("Length",c.length),S.set("Subtype",f.Name.get("Form")),S.set("Resources",this._getSaveFieldResources(l)),S.set("BBox",d),(A=this.getRotationMatrix(n))!==a.IDENTITY_MATRIX&&S.set("Matrix",A),C=["".concat(this.ref.num," ").concat(this.ref.gen," obj\n")],(0,b.writeDict)(u,C,y),C.push("\nendobj\n"),F=["".concat(p.num," ").concat(p.gen," obj\n")],(0,b.writeDict)(S,F,k),F.push(" stream\n",c,"\nendstream\nendobj\n"),e.abrupt("return",[{ref:this.ref,data:C.join(""),xfa:g},{ref:p,data:F.join(""),xfa:null}]);case 48:case"end":return e.stop()}}),e,this)})));return function(t,r,a){return e.apply(this,arguments)}}()},{key:"_getAppearance",value:function(){var e=p(h().mark((function e(r,n,i){var o,s,l,u,f,d,p,m,v,b,y,k,w,x,S,A,C,F,O,I,T;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.hasFieldFlag(a.AnnotationFieldFlag.PASSWORD)){e.next=3;break}return e.abrupt("return",null);case 3:if((o=i?i.get(this.data.id):void 0)&&(s=o.formattedValue||o.value,l=o.rotation),void 0!==l||void 0!==s){e.next=8;break}if(this._hasValueFromXFA&&!this.appearance){e.next=8;break}return e.abrupt("return",null);case 8:if(void 0!==s){e.next=12;break}if(s=this.data.fieldValue){e.next=12;break}return e.abrupt("return","");case 12:if(Array.isArray(s)&&1===s.length&&(s=s[0]),(0,a.assert)("string"===typeof s,"Expected `value` to be a string."),""!==(s=s.trim())){e.next=17;break}return e.abrupt("return","");case 17:return void 0===l&&(l=this.rotation),u=-1,this.data.multiLine&&(u=s.split(/\r\n|\r|\n/).length),d=f=2,p=this.data.rect[3]-this.data.rect[1],m=this.data.rect[2]-this.data.rect[0],90!==l&&270!==l||(m=(v=[p,m])[0],p=v[1]),this._defaultAppearance||(this.data.defaultAppearanceData=(0,c.parseDefaultAppearance)(this._defaultAppearance="/Helvetica 0 Tf 0 g")),e.next=28,t._getFontData(r,n,this.data.defaultAppearanceData,this._fieldResources.mergedResources);case 28:if(b=e.sent,y=this._computeFontSize(p-f,m-2*d,s,b,u),k=g(y,2),w=k[0],x=k[1],S=b.descent,isNaN(S)&&(S=0),A=Math.min(Math.floor((p-x)/2),f),C=A+Math.abs(S)*x,F=this.data.textAlignment,!this.data.multiLine){e.next=37;break}return e.abrupt("return",this._getMultilineAppearance(w,s,b,x,m,p,F,d,C,i));case 37:if(O=b.encodeString(s).join(""),!this.data.comb){e.next=40;break}return e.abrupt("return",this._getCombAppearance(w,b,O,m,d,C,i));
2case 40:if(I=this.getBorderAndBackgroundAppearances(i),!(0===F||F>2)){e.next=43;break}return e.abrupt("return","/Tx BMC q ".concat(I,"BT ")+w+" 1 0 0 1 ".concat(d," ").concat(C," Tm (").concat((0,a.escapeString)(O),") Tj")+" ET Q EMC");case 43:return T=this._renderText(O,b,x,m,F,d,C),e.abrupt("return","/Tx BMC q ".concat(I,"BT ")+w+" 1 0 0 1 0 0 Tm ".concat(T)+" ET Q EMC");case 45:case"end":return e.stop()}}),e,this)})));return function(t,r,a){return e.apply(this,arguments)}}()},{key:"_getTextWidth",value:function(e,t){return t.charsToGlyphs(e).reduce((function(e,t){return e+t.width}),0)/1e3}},{key:"_computeFontSize",value:function(e,t,r,n,i){var o=this,s=this.data.defaultAppearanceData.fontSize;if(!s){var l=function(e){return Math.floor(100*e)/100};if(-1===i){var u=this._getTextWidth(r,n);s=l(Math.min(e/a.LINE_FACTOR,t/u))}else{var h,f=r.split(/\r\n?|\n/),g=[],p=d(f);try{for(p.s();!(h=p.n()).done;){var m=h.value,v=n.encodeString(m).join(""),b=n.charsToGlyphs(v),y=n.getCharPositions(v);g.push({line:v,glyphs:b,positions:y})}}catch(F){p.e(F)}finally{p.f()}var k=function(r){for(var a=0,i=0,s=g;i<s.length;i++){var c=s[i];if((a+=o._splitLine(null,n,r,t,c).length*r)>e)return!0}return!1},w=(s=12)*a.LINE_FACTOR,x=Math.round(e/w);for(x=Math.max(x,i);k(s=l((w=e/x)/a.LINE_FACTOR));)x++}var S=this.data.defaultAppearanceData,A=S.fontName,C=S.fontColor;this._defaultAppearance=(0,c.createDefaultAppearance)({fontSize:s,fontName:A,fontColor:C})}return[this._defaultAppearance,s]}},{key:"_renderText",value:function(e,t,r,n,i,o,c){var l;return l=1===i?(n-this._getTextWidth(e,t)*r)/2:2===i?n-this._getTextWidth(e,t)*r-o:o,l=(0,s.numberToString)(l),c=(0,s.numberToString)(c),"".concat(l," ").concat(c," Td (").concat((0,a.escapeString)(e),") Tj")}},{key:"_getSaveFieldResources",value:function(e){var t=this._fieldResources,r=t.localResources,a=t.appearanceResources,n=t.acroFormResources,i=this.data.defaultAppearanceData&&this.data.defaultAppearanceData.fontName;if(!i)return r||f.Dict.empty;for(var o=0,s=[r,a];o<s.length;o++){var c=s[o];if(c instanceof f.Dict){var l=c.get("Font");if(l instanceof f.Dict&&l.has(i))return c}}if(n instanceof f.Dict){var u=n.get("Font");if(u instanceof f.Dict&&u.has(i)){var h=new f.Dict(e);h.set(i,u.getRaw(i));var d=new f.Dict(e);return d.set("Font",h),f.Dict.merge({xref:e,dictArray:[d,r],mergeSubDicts:!0})}}return r||f.Dict.empty}},{key:"getFieldObject",value:function(){return null}}],[{key:"_getRotationMatrix",value:function(e,t,r){switch(e){case 90:return[0,1,-1,0,t,0];case 180:return[-1,0,0,-1,t,r];case 270:return[0,-1,1,0,0,r];default:throw new Error("Invalid rotation")}}},{key:"_getFontData",value:function(){var e=p(h().mark((function e(t,r,a,n){var i,o,s,c;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i=new C.OperatorList,o={font:null,clone:function(){return this}},s=a.fontName,c=a.fontSize,e.next=5,t.handleSetFont(n,[s&&f.Name.get(s),c],null,i,r,o,null);case 5:return e.abrupt("return",o.font);case 6:case"end":return e.stop()}}),e)})));return function(t,r,a,n){return e.apply(this,arguments)}}()}])}(E),L=function(e){function t(e){var r;m(this,t),(r=l(this,t,[e]))._hasText=!0;var n=e.dict;"string"!==typeof r.data.fieldValue&&(r.data.fieldValue="");var i=(0,s.getInheritableProperty)({dict:n,key:"Q"});(!Number.isInteger(i)||i<0||i>2)&&(i=null),r.data.textAlignment=i;var o=(0,s.getInheritableProperty)({dict:n,key:"MaxLen"});return(!Number.isInteger(o)||o<0)&&(o=0),r.data.maxLen=o,r.data.multiLine=r.hasFieldFlag(a.AnnotationFieldFlag.MULTILINE),r.data.comb=r.hasFieldFlag(a.AnnotationFieldFlag.COMB)&&!r.hasFieldFlag(a.AnnotationFieldFlag.MULTILINE)&&!r.hasFieldFlag(a.AnnotationFieldFlag.PASSWORD)&&!r.hasFieldFlag(a.AnnotationFieldFlag.FILESELECT)&&0!==r.data.maxLen,r.data.doNotScroll=r.hasFieldFlag(a.AnnotationFieldFlag.DONOTSCROLL),r}return u(t,e),v(t,[{key:"_getCombAppearance",value:function(e,t,r,n,i,o,c){var l,u=(0,s.numberToString)(n/this.data.maxLen),h=[],f=t.getCharPositions(r),p=d(f);try{for(p.s();!(l=p.n()).done;){var m=g(l.value,2),v=m[0],b=m[1];h.push("(".concat((0,a.escapeString)(r.substring(v,b)),") Tj"))}}catch(w){p.e(w)}finally{p.f()}
2var y=this.getBorderAndBackgroundAppearances(c),k=h.join(" ".concat(u," 0 Td "));return"/Tx BMC q ".concat(y,"BT ")+e+" 1 0 0 1 ".concat(i," ").concat(o," Tm ").concat(k)+" ET Q EMC"}},{key:"_getMultilineAppearance",value:function(e,t,r,a,n,i,o,s,c,l){var u,h=t.split(/\r\n?|\n/),f=[],g=n-2*s,p=d(h);try{for(p.s();!(u=p.n()).done;){var m,v=u.value,b=this._splitLine(v,r,a,g),y=d(b);try{for(y.s();!(m=y.n()).done;){var k=m.value,w=0===f.length?s:0;f.push(this._renderText(k,r,a,n,o,w,-a))}}catch(A){y.e(A)}finally{y.f()}}}catch(A){p.e(A)}finally{p.f()}var x=f.join("\n"),S=this.getBorderAndBackgroundAppearances(l);return"/Tx BMC q ".concat(S,"BT ")+e+" 1 0 0 1 0 ".concat(i," Tm ").concat(x)+" ET Q EMC"}},{key:"_splitLine",value:function(e,t,r,a){var n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};e=n.line||t.encodeString(e).join("");var i=n.glyphs||t.charsToGlyphs(e);if(i.length<=1)return[e];for(var o=n.positions||t.getCharPositions(e),s=r/1e3,c=[],l=-1,u=-1,h=-1,f=0,d=0,p=0,m=i.length;p<m;p++){var v=g(o[p],2),b=v[0],y=v[1],k=i[p],w=k.width*s;" "===k.unicode?d+w>a?(c.push(e.substring(f,b)),f=b,d=w,l=-1,h=-1):(d+=w,l=b,u=y,h=p):d+w>a?-1!==l?(c.push(e.substring(f,u)),f=u,p=h+1,l=-1,d=0):(c.push(e.substring(f,b)),f=b,d=w):d+=w}return f<e.length&&c.push(e.substring(f,e.length)),c}},{key:"getFieldObject",value:function(){return{id:this.data.id,value:this.data.fieldValue,defaultValue:this.data.defaultFieldValue||"",multiline:this.data.multiLine,password:this.hasFieldFlag(a.AnnotationFieldFlag.PASSWORD),charLimit:this.data.maxLen,comb:this.data.comb,editable:!this.data.readOnly,hidden:this.data.hidden,name:this.data.fieldName,rect:this.data.rect,actions:this.data.actions,page:this.data.pageIndex,strokeColor:this.data.borderColor,fillColor:this.data.backgroundColor,rotation:this.rotation,t
2ype:"text"}}}])}(B),R=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[e])).checkedAppearance=null,r.uncheckedAppearance=null,r.data.checkBox=!r.hasFieldFlag(a.AnnotationFieldFlag.RADIO)&&!r.hasFieldFlag(a.AnnotationFieldFlag.PUSHBUTTON),r.data.radioButton=r.hasFieldFlag(a.AnnotationFieldFlag.RADIO)&&!r.hasFieldFlag(a.AnnotationFieldFlag.PUSHBUTTON),r.data.pushButton=r.hasFieldFlag(a.AnnotationFieldFlag.PUSHBUTTON),r.data.isTooltipOnly=!1,r.data.checkBox?r._processCheckBox(e):r.data.radioButton?r._processRadioButton(e):r.data.pushButton?(r.data.hasOwnCanvas=!0,r._processPushButton(e)):(0,a.warn)("Invalid field flags for button widget annotation"),r}return u(t,e),v(t,[{key:"getOperatorList",value:function(){var e=p(h().mark((function e(r,n,s,c,l){var u,f,d,g,p,m,v;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.data.pushButton){e.next=2;break}return e.abrupt("return",i(o(t.prototype),"getOperatorList",this).call(this,r,n,s,!1,l));case 2:if(u=null,f=null,l&&(d=l.get(this.data.id),u=d?d.value:null,f=d?d.rotation:null),null!==u||!this.appearance){e.next=7;break}return e.abrupt("return",i(o(t.prototype),"getOperatorList",this).call(this,r,n,s,c,l));case 7:if(null!==u&&void 0!==u||(u=this.data.checkBox?this.data.fieldValue===this.data.exportValue:this.data.fieldValue===this.data.buttonValue),!(g=u?this.checkedAppearance:this.uncheckedAppearance)){e.next=18;break}return p=this.appearance,m=g.dict.getArray("Matrix")||a.IDENTITY_MATRIX,f&&g.dict.set("Matrix",this.getRotationMatrix(l)),this.appearance=g,v=i(o(t.prototype),"getOperatorList",this).call(this,r,n,s,c,l),this.appearance=p,g.dict.set("Matrix",m),e.abrupt("return",v);case 18:return e.abrupt("return",{opList:new C.OperatorList,separateForm:!1,separateCanvas:!1});case 19:case"end":return e.stop()}}),e,this)})));return function(t,r,a,n,i){return e.apply(this,arguments)}}()},{key:"save",value:function(){var e=p(h().mark((function e(t,r,a){return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.data.checkBox){e.next=2;break}return e.abrupt("return",this._saveCheckbox(t,r,a));case 2:if(!this.data.radioButton){e.next=4;break}return e.abrupt("return",this._saveRadioButton(t,r,a));case 4:return e.abrupt("return",null);case 5:case"end":return e.stop()}}),e,this)})));return function(t,r,a){return e.apply(this,arguments)}}()},{key:"_saveCheckbox",value:function(){var e=p(h().mark((function e(t,r,n){var i,o,s,c,l,u,d,g,p,m;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n){e.next=2;break}return e.abrupt("return",null);case 2:if(i=n.get(this.data.id),o=i&&i.rotation,s=i&&i.value,void 0!==o){e.next=11;break}if(void 0!==s){e.next=8;break}return e.abrupt("return",null);case 8:if(this.data.fieldValue===this.data.exportValue!==s){e.next=11;break}return e.abrupt("return",null);case 11:if((c=t.xref.fetchIfRef(this.ref))instanceof f.Dict){e.next=14;break}return e.abrupt("return",null);case 14:return void 0===o&&(o=this.rotation),void 0===s&&(s=this.data.fieldValue===this.data.exportValue),l={path:(0,a.stringToPDFString)(c.get("T")||""),value:s?this.data.exportValue:""},u=f.Name.get(s?this.data.exportValue:"Off"),c.set("V",u),c.set("AS",u),c.set("M","D:".concat((0,a.getModificationDate)())),(d=this._getMKDict(o))&&c.set("MK",d),g=t.xref.encrypt,p=null,g&&(p=g.createCipherTransform(this.ref.num,this.ref.gen)),m=["".concat(this.ref.num," ").concat(this.ref.gen," obj\n")],(0,b.writeDict)(c,m,p),m.push("\nendobj\n"),e.abrupt("return",[{ref:this.ref,data:m.join(""),xfa:l}]);case 30:case"end":return e.stop()}}),e,this)})));return function(t,r,a){return e.apply(this,arguments)}}()},{key:"_saveRadioButton",value:function(){var e=p(h().mark((function e(t,r,n){var i,o,s,c,l,u,d,g,p,m,v,y,k,w;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n){e.next=2;break}return e.abrupt("return",null);case 2:if(i=n.get(this.data.id),o=i&&i.rotation,s=i&&i.value,void 0!==o){e.next=11;break}if(void 0!==s){e.next=8;break}return e.abrupt("return",null);case 8:if(this.data.fieldValue===this.data.buttonValue!==s){e.next=11;break}return e.abrupt("return",null);case 11:if((c=t.xref.fetchIfRef(this.ref))instanceof f.Dict){e.next=14;break}return e.abrupt("return",null);case 14:return void 0===s&&(s=this.data.fieldValue===this.data.buttonValue),void 0===o&&(o=this.rotation),l={path:(0,a.stringToPDFString)(c.get("T")||""),value:s?this.data.buttonValue:""},u=f.Name.get(s?this.data.buttonValue:"Off"),d=null,g=t.xref.encrypt,s&&(this.parent instanceof f.Ref?(p=t.xref.fetch(this.parent),m=null,g&&(m=g.createCipherTransform(this.parent.num,this.parent.gen)),p.set("V",u),d=["".concat(this.parent.num," ").concat(this.parent.gen," obj\n")],(0,b.writeDict)(p,d,m),d.push("\nendobj\n")):this.parent instanceof f.Dict&&this.parent.set("V",u)),c.set("AS",u),c.set("M","D:".concat((0,a.getModificationDate)())),(v=this._getMKDict(o))&&c.set("MK",v),y=null,g&&(y=g.createCipherTransform(this.ref.num,this.ref.gen)),k=["".concat(this.ref.num," ").concat(this.ref.gen," obj\n")],(0,b.writeDict)(c,k,y),k.push("\nendobj\n"),w=[{ref:this.ref,data:k.join(""),xfa:l}],null!==d&&w.push({ref:this.parent,data:d.join(""),xfa:null}),e.abrupt("return",w);case 33:case"end":return e.stop()}}),e,this)})));return function(t,r,a){return e.apply(this,arguments)}}()},{key:"_getDefaultCheckedAppearance",value:function(e,t){var r,n,i=this.data.rect[2]-this.data.rect[0],o=this.data.rect[3]-this.data.rect[1],c=[0,0,i,o],l=.8*Math.min(i,o);"check"===t?(r={width:.755*l,height:.705*l},n="3"):"disc"===t?(r={width:.791*l,height:.705*l},n="l"):(0,a.unreachable)("_getDefaultCheckedAppearance - unsupported type: ".concat(t));var u=(0,s.numberToString)((i-r.width)/2),h=(0,s.numberToString)((o-r.height)/2),d="q BT /PdfJsZaDb ".concat(l," Tf 0 g ").concat(u," ").concat(h," Td (").concat(n,") Tj ET Q"),g=new f.Dict(e.xref);g.set("FormType",1),g.set("Subtype",f.Name.get("Form")),g.set("Type",f.Name.get("XObject")),g.set("BBox",c),g.set("Matrix",[1,0,0,1,0,0]),g.set("Length",d.length);var p=new f.Dict(e.xref),m=new f.Dict(e.xref);m.set("PdfJsZaDb",this.fallbackFontDict),p.set("Font",m),g.set("Resources",p),this.checkedAppearance=new F.StringStream(d),this.checkedAppearance.dict=g,this._streams.push(this.checkedAppearance)}},{key:"_processCheckBox",value:function(e){var t=e.dict.get("AP");if(t instanceof f.Dict){var r=t.get("N");if(r instanceof f.Dict){var a=this._decodeFormValue(e.dict.get("AS"));"string"===typeof a&&(this.data.fieldValue=a);var n=null!==this.data.fieldValue&&"Off"!==this.data.fieldValue?this.data.fieldValue:"Yes",i=r.getKeys();if(0===i.length)i.push("Off",n);else if(1===i.length)"Off"===i[0]?i.push(n):i.unshift("Off");else if(i.includes(n))i.length=0,i.push("Off",n);else{var o=i.find((function(e){return"Off"!==e}));i.length=0,i.push("Off",o)}i.includes(this.data.fieldValue)||(this.data.fieldValue="Off"),this.data.exportValue=i[1],this.checkedAppearance=r.get(this.data.exportValue)||null,this.uncheckedAppearance=r.get("Off")||null,this.checkedAppearance?this._streams.push(this.checkedAppearance):this._getDefaultCheckedAppearance(e,"check"),this.uncheckedAppearance&&this._streams.push(this.uncheckedAppearance),this._fallbackFontDict=this.fallbackFontDict}}}},{key:"_processRadioButton",value:function(e){this.data.fieldValue=this.data.buttonValue=null;var t=e.dict.get("Parent");
2if(t instanceof f.Dict){this.parent=e.dict.getRaw("Parent");var r=t.get("V");r instanceof f.Name&&(this.data.fieldValue=this._decodeFormValue(r))}var a=e.dict.get("AP");if(a instanceof f.Dict){var n=a.get("N");if(n instanceof f.Dict){var i,o=d(n.getKeys());try{for(o.s();!(i=o.n()).done;){var s=i.value;if("Off"!==s){this.data.buttonValue=this._decodeFormValue(s);break}}}catch(c){o.e(c)}finally{o.f()}this.checkedAppearance=n.get(this.data.buttonValue)||null,this.uncheckedAppearance=n.get("Off")||null,this.checkedAppearance?this._streams.push(this.checkedAppearance):this._getDefaultCheckedAppearance(e,"disc"),this.uncheckedAppearance&&this._streams.push(this.uncheckedAppearance),this._fallbackFontDict=this.fallbackFontDict}}}},{key:"_processPushButton",value:function(e){e.dict.has("A")||e.dict.has("AA")||this.data.alternativeText?(this.data.isTooltipOnly=!e.dict.has("A")&&!e.dict.has("AA"),w.Catalog.parseDestDictionary({destDict:e.dict,resultObj:this.data,docBaseUrl:e.pdfManager.docBaseUrl})):(0,a.warn)("Push buttons without action dictionaries are not supported")}},{key:"getFieldObject",value:function(){var e,t="button";return this.data.checkBox?(t="checkbox",e=this.data.exportValue):this.data.radioButton&&(t="radiobutton",e=this.data.buttonValue),{id:this.data.id,value:this.data.fieldValue||"Off",defaultValue:this.data.defaultFieldValue,exportValues:e,editable:!this.data.readOnly,name:this.data.fieldName,rect:this.data.rect,hidden:this.data.hidden,actions:this.data.actions,page:this.data.pageIndex,strokeColor:this.data.borderColor,fillColor:this.data.backgroundColor,rotation:this.rotation,t
2ype:t}}},{key:"fallbackFontDict",get:function(){var e=new f.Dict;return e.set("BaseFont",f.Name.get("ZapfDingbats")),e.set("Type",f.Name.get("FallbackType")),e.set("Subtype",f.Name.get("FallbackType")),e.set("Encoding",f.Name.get("ZapfDingbatsEncoding")),(0,a.shadow)(this,"fallbackFontDict",e)}}])}(B),_=function(e){function t(e){var r;m(this,t),(r=l(this,t,[e])).data.options=[];var n=(0,s.getInheritableProperty)({dict:e.dict,key:"Opt"});if(Array.isArray(n))for(var i=e.xref,o=0,c=n.length;o<c;o++){var u=i.fetchIfRef(n[o]),h=Array.isArray(u);r.data.options[o]={exportValue:r._decodeFormValue(h?i.fetchIfRef(u[0]):u),displayValue:r._decodeFormValue(h?i.fetchIfRef(u[1]):u)}}return"string"===typeof r.data.fieldValue?r.data.fieldValue=[r.data.fieldValue]:r.data.fieldValue||(r.data.fieldValue=[]),r.data.combo=r.hasFieldFlag(a.AnnotationFieldFlag.COMBO),r.data.multiSelect=r.hasFieldFlag(a.AnnotationFieldFlag.MULTISELECT),r._hasText=!0,r}return u(t,e),v(t,[{key:"getFieldObject",value:function(){var e=this.data.combo?"combobox":"listbox",t=this.data.fieldValue.length>0?this.data.fieldValue[0]:null;return{id:this.data.id,value:t,defaultValue:this.data.defaultFieldValue,editable:!this.data.readOnly,name:this.data.fieldName,rect:this.data.rect,numItems:this.data.fieldValue.length,multipleSelection:this.data.multiSelect,hidden:this.data.hidden,actions:this.data.actions,items:this.data.options,page:this.data.pageIndex,strokeColor:this.data.borderColor,fillColor:this.data.backgroundColor,rotation:this.rotation,t
2ype:e}}},{key:"_getAppearance",value:function(){var e=p(h().mark((function e(r,n,s){var l,u,f,p,m,v,b,y,k,w,x,S,A,C,F,O,I,T,M,P,E,N,D,L,R,_,j,U,$,X,H,q,z,G,W,V,K,Y;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.data.combo){e.next=2;break}return e.abrupt("return",i(o(t.prototype),"_getAppearance",this).call(this,r,n,s));case 2:if(s){e.next=4;break}return e.abrupt("return",null);case 4:if(l=s.get(this.data.id)){e.next=7;break}return e.abrupt("return",null);case 7:if(u=l.rotation,f=l.value,void 0!==u||void 0!==f){e.next=11;break}return e.abrupt("return",null);case 11:for(void 0===f?f=this.data.fieldValue:Array.isArray(f)||(f=[f]),m=p=2,v=this.data.rect[3]-this.data.rect[1],b=this.data.rect[2]-this.data.rect[0],90!==u&&270!==u||(b=(y=[v,b])[0],v=y[1]),k=this.data.options.length,w=[],x=0;x<k;x++)S=this.data.options[x].exportValue,f.includes(S)&&w.push(x);return this._defaultAppearance||(this.data.defaultAppearanceData=(0,c.parseDefaultAppearance)(this._defaultAppearance="/Helvetica 0 Tf 0 g")),e.next=23,B._getFontData(r,n,this.data.defaultAppearanceData,this._fieldResources.mergedResources);case 23:if(A=e.sent,F=this.data.defaultAppearanceData.fontSize)C=this._defaultAppearance;else{O=(v-p)/k,I=-1,M=d(this.data.options);try{for(M.s();!(P=M.n()).done;)E=P.value.displayValue,(N=this._getTextWidth(E,A))>I&&(I=N,T=E)}catch(h){M.e(h)}finally{M.f()}D=this._computeFontSize(O,b-2*m,T,A,-1),L=g(D,2),C=L[0],F=L[1]}if(R=F*a.LINE_FACTOR,_=(R-F)/2,j=Math.floor(v/R),1===w.length?($=w[0],U=$-$%j):U=w.length?w[0]:0,X=Math.min(U+j+1,k),H=["/Tx BMC q","1 1 ".concat(b," ").concat(v," re W n")],w.length){H.push("0.600006 0.756866 0.854904 rg"),q=d(w);try{for(q.s();!(z=q.n()).done;)G=z.value,U<=G&&G<X&&H.push("1 ".concat(v-(G-U+1)*R," ").concat(b," ").concat(R," re f"))}catch(h){q.e(h)}finally{q.f()}}for(H.push("BT",C,"1 0 0 1 0 ".concat(v," Tm")),W=U;W<X;W++)V=this.data.options[W].displayValue,K=W===U?m:0,Y=W===U?_:0,H.push(this._renderText(V,A,F,b,0,K,-R+Y));return H.push("ET Q EMC"),e.abrupt("return",H.join("\n"));case 37:case"end":return e.stop()}}),e,this)})));return function(t,r,a){return e.apply(this,arguments)}}()}])}(B),j=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[e])).data.fieldValue=null,r}return u(t,e),v(t,[{key:"getFieldObject",value:function(){return{id:this.data.id,value:null,page:this.data.pageIndex,type:"signature"}}}])}(B),U=function(e){function t(e){var r;m(this,t),r=l(this,t,[e]);var n=e.dict;return r.data.annotationType=a.AnnotationType.TEXT,r.data.hasAppearance?r.data.name="NoIcon":(r.data.rect[1]=r.data.rect[3]-22,r.data.rect[2]=r.data.rect[0]+22,r.data.name=n.has("Name")?n.get("Name").name:"Note"),n.has("State")?(r.data.state=n.get("State")||null,r.data.stateModel=n.get("StateModel")||null):(r.data.state=null,r.data.stateModel=null),r}return u(t,e),v(t)}(D),$=function(e){function t(e){var r;m(this,t),(r=l(this,t,[e])).data.annotationType=a.AnnotationType.LINK;var n=M(e.dict,r.rectangle);return n&&(r.data.quadPoints=n),r.data.borderColor=r.data.borderColor||r.data.color,w.Catalog.parseDestDictionary({destDict:e.dict,resultObj:r.data,docBaseUrl:e.pdfManager.docBaseUrl}),r}return u(t,e),v(t)}(E),X=function(e){function t(e){var r;m(this,t),(r=l(this,t,[e])).data.annotationType=a.AnnotationType.POPUP;var i=e.dict.get("Parent");if(!i)return(0,a.warn)("Popup annotation has a missing or invalid parent annotation."),n(r);var o=i.get("Subtype");r.data.parentType=o instanceof f.Name?o.name:null;var s=e.dict.getRaw("Parent");r.data.parentId=s instanceof f.Ref?s.toString():null;var c=i.getArray("Rect");Array.isArray(c)&&4===c.length?r.data.parentRect=a.Util.normalizeRect(c):r.data.parentRect=[0,0,0,0];var u=i.get("RT");if((0,f.isName)(u,a.AnnotationReplyType.GROUP)&&(i=i.get("IRT")),i.has("M")?(r.setModificationDate(i.get("M")),r.data.modificationDate=r.modificationDate):r.data.modificationDate=null,i.has("C")?(r.setColor(i.getArray("C")),r.data.color=r.color):r.data.color=null,!r.viewable){var h=i.get("F");r._isViewable(h)&&r.setFlags(h)}return r.setTitle(i.get("T")),r.data.titleObj=r._title,r.setContents(i.get("Contents")),r.data.contentsObj=r._contents,i.has("RC")&&(r.data.r
2ichText=O.XFAFactory.getRichTextAsHtml(i.get("RC"))),r}return u(t,e),v(t)}(E);t.PopupAnnotation=X;var H=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[e])).data.annotationType=a.AnnotationType.FREETEXT,r}return u(t,e),v(t,[{key:"hasTextContent",get:function(){return!!this.appearance}}],[{key:"createNewDict",value:function(e,t,r){var n=r.apRef,i=r.ap,o=e.color,s=e.fontSize,l=e.rect,u=e.rotation,h=e.user,d=e.value,g=new f.Dict(t);g.set("Type",f.Name.get("Annot")),g.set("Subtype",f.Name.get("FreeText")),g.set("CreationDate","D:".concat((0,a.getModificationDate)())),g.set("Rect",l);var p="/Helv ".concat(s," Tf ").concat((0,c.getPdfColor)(o,!0));g.set("DA",p),g.set("Contents",d),g.set("F",4),g.set("Border",[0,0,0]),g.set("Rotate",u),h&&g.set("T",(0,a.stringToUTF8String)(h));var m=new f.Dict(t);return g.set("AP",m),n?m.set("N",n):m.set("N",i),g}},{key:"createNewAppearanceStream",value:function(){var e=p(h().mark((function e(t,r,n){var i,o,l,u,p,m,v,b,y,k,w,x,S,A,C,O,I,T,M,P,E,N,D,L,R,_,j,U,$,X,H,q,z,G,W,V,K,Y,J,Z,Q,ee,te,re,ae,ne,ie,oe;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i=n.baseFontRef,o=n.evaluator,l=n.task,u=t.color,p=t.fontSize,m=t.rect,v=t.rotation,b=t.value,y=new f.Dict(r),k=new f.Dict(r),i?k.set("Helv",i):((w=new f.Dict(r)).set("BaseFont",f.Name.get("Helvetica")),w.set("Type",f.Name.get("Font")),w.set("Subtype",f.Name.get("Type1")),w.set("Encoding",f.Name.get("WinAnsiEncoding")),k.set("Helv",w)),y.set("Font",k),e.next=8,B._getFontData(o,l,{fontName:"Helvetica",fontSize:p},y);case 8:x=e.sent,S=g(m,4),A=S[0],C=S[1],O=S[2],I=S[3],T=O-A,M=I-C,v%180!==0&&(T=(P=[M,T])[0],M=P[1]),E=b.split("\n"),N=p/1e3,D=-1/0,L=[],R=d(E);try{for(R.s();!(_=R.n()).done;){j=_.value,j=x.encodeString(j).join(""),L.push(j),U=0,$=x.charsToGlyphs(j),X=d($);try{for(X.s();!(H=X.n()).done;)q=H.value,U+=q.width*N}catch(h){X.e(h)}finally{X.f()}D=Math.max(D,U)}}catch(h){R.e(h)}finally{R.f()}for(z=1,D>T&&(z=T/D),G=1,W=a.LINE_FACTOR*p,V=a.LINE_DESCENT_FACTOR*p,(K=W*E.length)>M&&(G=M/K),Y=Math.min(z,G),J=p*Y,Z=["q","0 0 ".concat((0,s.numberToString)(T)," ").concat((0,s.numberToString)(M)," re W n"),"BT","1 0 0 1 0 ".concat((0,s.numberToString)(M+V)," Tm 0 Tc ").concat((0,c.getPdfColor)(u,!0)),"/Helv ".concat((0,s.numberToString)(J)," Tf")],Q=(0,s.numberToString)(W),ee=0,te=L;ee<te.length;ee++)re=te[ee],Z.push("0 -".concat(Q," Td (").concat((0,a.escapeString)(re),") Tj"));return Z.push("ET","Q"),ae=Z.join("\n"),(ne=new f.Dict(r)).set("FormType",1),ne.set("Subtype",f.Name.get("Form")),ne.set("Type",f.Name.get("XObject")),ne.set("BBox",[0,0,T,M]),ne.set("Length",ae.length),ne.set("Resources",y),v&&(ie=B._getRotationMatrix(v,T,M),ne.set("Matrix",ie)),(oe=new F.StringStream(ae)).dict=ne,e.abrupt("return",oe);case 44:case"end":return e.stop()}}),e)})));return function(t,r,a){return e.apply(this,arguments)}}()}])}(D),q=function(e){function t(e){var r;m(this,t),r=l(this,t,[e]);var n=e.dict;r.data.annotationType=a.AnnotationType.LINE;var i=n.getArray("L");if(r.data.lineCoordinates=a.Util.normalizeRect(i),r.setLineEndings(n.getArray("LE")),r.data.lineEndings=r.lineEndings,!r.appearance){var o=r.color?Array.from(r.color).map((function(e){return e/255})):[0,0,0],s=n.get("CA"),c=null,u=n.getArray("IC");u&&(c=(u=T(u,null))?Array.from(u).map((function(e){return e/255})):null);var h=c?s:null,f=r.borderStyle.width||1,d=2*f,g=[r.data.lineCoordinates[0]-d,r.data.lineCoordinates[1]-d,r.data.lineCoordinates[2]+d,r.data.lineCoordinates[3]+d];a.Util.intersect(r.rectangle,g)||(r.rectangle=g),r._setDefaultAppearance({xref:e.xref,extra:"".concat(f," w"),strokeColor:o,fillColor:c,strokeAlpha:s,fillAlpha:h,pointsCallback:function(e,t){return e.push("".concat(i[0]," ").concat(i[1]," m"),"".concat(i[2]," ").concat(i[3]," l"),"S"),[t[0].x-f,t[1].x+f,t[3].y-f,t[1].y+f]}})}return r}return u(t,e),v(t)}(D),z=function(e){function t(e){var r;if(m(this,t),(r=l(this,t,[e])).data.annotationType=a.AnnotationType.SQUARE,!r.appearance){var i=r.color?Array.from(r.color).map((function(e){return e/255})):[0,0,0],o=e.dict.get("CA"),s=null,c=e.dict.getArray("IC");c&&(c=T(c,null),s=c?Array.from(c).map((function(e){return e/255})):null);var u=s?o:null;if(0===r.borderStyle.width&&!s)return n(r);r._setDefaultAppearance({xref:e.xref,extra:"".concat(r.borderStyle.width," w"),strokeColor:i,fillColor:s,strokeAlpha:o,fillAlpha:u,pointsCallback:function(e,t){var a=t[2].x+r.borderStyle.width/2,n=t[2].y+r.borderStyle.width/2,i=t[3].x-t[2].x-r.borderStyle.width,o=t[1].y-t[3].y-r.borderStyle.width;return e.push("".concat(a," ").concat(n," ").concat(i," ").concat(o," re")),s?e.push("B"):e.push("S"),[t[0].x,t[1].x,t[3].y,t[1].y]}})}return r}return u(t,e),v(t)}(D),G=function(e){function t(e){var r;if(m(this,t),(r=l(this,t,[e])).data.annotationType=a.AnnotationType.CIRCLE,!r.appearance){var i=r.color?Array.from(r.color).map((function(e){return e/255})):[0,0,0],o=e.dict.get("CA"),s=null,c=e.dict.getArray("IC");c&&(c=T(c,null),s=c?Array.from(c).map((function(e){return e/255})):null);var u=s?o:null;if(0===r.borderStyle.width&&!s)return n(r);var h=4/3*Math.tan(Math.PI/8);r._setDefaultAppearance({xref:e.xref,extra:"".concat(r.borderStyle.width," w"),strokeColor:i,fillColor:s,strokeAlpha:o,fillAlpha:u,pointsCallback:function(e,t){var a=t[0].x+r.borderStyle.width/2,n=t[0].y-r.borderStyle.width/2,i=t[3].x-r.borderStyle.width/2,o=t[3].y+r.borderStyle.width/2,c=a+(i-a)/2,l=n+(o-n)/2,u=(i-a)/2*h,f=(o-n)/2*h;return e.push("".concat(c," ").concat(o," m"),"".concat(c+u," ").concat(o," ").concat(i," ").concat(l+f," ").concat(i," ").concat(l," c"),"".concat(i," ").concat(l-f," ").concat(c+u," ").concat(n," ").concat(c," ").concat(n," c"),"".concat(c-u," ").concat(n," ").concat(a," ").concat(l-f," ").concat(a," ").concat(l," c"),"".concat(a," ").concat(l+f," ").concat(c-u," ").concat(o," ").concat(c," ").concat(o," c"),"h"),s?e.push("B"):e.push("S"),[t[0].x,t[1].x,t[3].y,t[1].y]}})}return r}return u(t,e),v(t)}(D),W=function(e){function t(e){var r;m(this,t),r=l(this,t,[e]);var i=e.dict;r.data.annotationType=a.AnnotationType.POLYLINE,r.data.vertices=[],r instanceof V||(r.setLineEndings(i.getArray("LE")),r.data.lineEndings=r.lineEndings);var o=i.getArray("Vertices");if(!Array.isArray(o))return n(r);for(var s=0,c=o.length;s<c;s+=2)r.data.vertices.push({x:o[s],y:o[s+1]});if(!r.appearance){var u,h=r.color?Array.from(r.color).map((function(e){return e/255})):[0,0,0],f=i.get("CA"),g=r.borderStyle.width||1,p=2*g,v=[1/0,1/0,-1/0,-1/0],b=d(r.data.vertices);try{for(b.s();!(u=b.n()).done;){var y=u.value;v[0]=Math.min(v[0],y.x-p),v[1]=Math.min(v[1],y.y-p),v[2]=Math.max(v[2],y.x+p),v[3]=Math.max(v[3],y.y+p)}}catch(k){b.e(k)}finally{b.f()}a.Util.intersect(r.rectangle,v)||(r.rectangle=v),r._setDefaultAppearance({xref:e.xref,extra:"".concat(g," w"),strokeColor:h,strokeAlpha:f,pointsCallback:function(e,t){for(var a=r.data.vertices,n=0,i=a.length;n<i;n++)e.push("".concat(a[n].x," ").concat(a[n].y," ").concat(0===n?"m":"l"));return e.push("S"),[t[0].x,t[1].x,t[3].y,t[1].y]}})}return r}return u(t,e),v(t)}(D),V=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[e])).data.annotationType=a.AnnotationType.POLYGON,r}return u(t,e),v(t)}(W),K=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[e])).data.annotationType=a.AnnotationType.CARET,r}return u(t,e),v(t)}(D),Y=function(e){function t(e){var r;m(this,t),(r=l(this,t,[e])).data.annotationType=a.AnnotationType.INK,r.data.inkLists=[];var i=e.dict.getArray("InkList");if(!Array.isArray(i))return n(r);for(var o=e.xref,s=0,c=i.length;s<c;++s){r.data.inkLists.push([]);for(var u=0,h=i[s].length;u<h;u+=2)r.data.inkLists[s].push({x:o.fetchIfRef(i[s][u]),y:o.fetchIfRef(i[s][u+1])})}if(!r.appearance){var f,g=r.color?Array.from(r.color).map((function(e){return e/255})):[0,0,0],p=e.dict.get("CA"),v=r.borderStyle.width||1,b=2*v,y=[1/0,1/0,-1/0,-1/0],k=d(r.data.inkLists);try{for(k.s();!(f=k.n()).done;){var w,x=f.value,S=d(x);try{for(S.s();!(w=S.n()).done;){var A=w.value;y[0]=Math.min(y[0],A.x-b),y[1]=Math.min(y[1],A.y-b),y[2]=Math.max(y[2],A.x+b),y[3]=Math.max(y[3],A.y+b)}}catch(C){S.e(C)}finally{S.f()}}}catch(C){k.e(C)}finally{k.f()}a.Util.intersect(r.rectangle,y)||(r.rectangle=y),r._setDefaultAppearance({xref:e.xref,extra:"".concat(v," w"),strokeColor:g,strokeAlpha:p,pointsCallback:function(e,t){var a,n=d(r.data.inkLists);try{for(n.s();!(a=n.n()).done;){for(var i=a.value,o=0,s=i.length;o<s;
2o++)e.push("".concat(i[o].x," ").concat(i[o].y," ").concat(0===o?"m":"l"));e.push("S")}}catch(C){n.e(C)}finally{n.f()}return[t[0].x,t[1].x,t[3].y,t[1].y]}})}return r}return u(t,e),v(t,null,[{key:"createNewDict",value:function(e,t,r){var n=r.apRef,i=r.ap,o=e.paths,s=e.rect,c=e.rotation,l=new f.Dict(t);l.set("Type",f.Name.get("Annot")),l.set("Subtype",f.Name.get("Ink")),l.set("CreationDate","D:".concat((0,a.getModificationDate)())),l.set("Rect",s),l.set("InkList",o.map((function(e){return e.points}))),l.set("F",4),l.set("Border",[0,0,0]),l.set("Rotate",c);var u=new f.Dict(t);return l.set("AP",u),n?u.set("N",n):u.set("N",i),l}},{key:"createNewAppearanceStream",value:function(){var e=p(h().mark((function e(t,r,a){var n,i,o,l,u,p,m,v,b,y,k,w,x,S,A,C,O,I,T,M,P,E,N,D,L,R,_,j,U;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=t.color,i=t.rect,o=t.rotation,l=t.paths,u=t.thickness,p=t.opacity,m=g(i,4),v=m[0],b=m[1],y=m[2],k=m[3],w=y-v,x=k-b,o%180!==0&&(w=(S=[x,w])[0],x=S[1]),A=["".concat(u," w 1 J 1 j"),"".concat((0,c.getPdfColor)(n,!1))],1!==
2p&&A.push("/R0 gs"),C=[],O=d(l);try{for(O.s();!(I=O.n()).done;){for(T=I.value.bezier,C.length=0,C.push("".concat((0,s.numberToString)(T[0])," ").concat((0,s.numberToString)(T[1])," m")),M=2,P=T.length;M<P;M+=6)E=T.slice(M,M+6).map(s.numberToString).join(" "),C.push("".concat(E," c"));C.push("S"),A.push(C.join("\n"))}}catch(a){O.e(a)}finally{O.f()}return N=A.join("\n"),(D=new f.Dict(r)).set("FormType",1),D.set("Subtype",f.Name.get("Form")),D.set("Type",f.Name.get("XObject")),D.set("BBox",[0,0,w,x]),D.set("Length",N.length),o&&(L=B._getRotationMatrix(o,w,x),D.set("Matrix",L)),1!==p&&(R=new f.Dict(r),_=new f.Dict(r),(j=new f.Dict(r)).set("CA",p),j.set("Type",f.Name.get("ExtGState")),_.set("R0",j),R.set("ExtGState",_),D.set("Resources",R)),(U=new F.StringStream(N)).dict=D,e.abrupt("return",U);case 22:case"end":return e.stop()}}),e)})));return function(t,r,a){return e.apply(this,arguments)}}()}])}(D),J=function(e){function t(e){var r;if(m(this,t),(r=l(this,t,[e])).data.annotationType=a.AnnotationType.HIGHLIGHT,r.data.quadPoints=M(e.dict,null)){var n=r.appearance&&r.appearance.dict.get("Resources");if(!r.appearance||!n||!n.has("ExtGState")){r.appearance&&(0,a.warn)("HighlightAnnotation - ignoring built-in appearance stream.");var i=r.color?Array.from(r.color).map((function(e){return e/255})):[1,1,0],o=e.dict.get("CA");r._setDefaultAppearance({xref:e.xref,fillColor:i,blendMode:"Multiply",fillAlpha:o,pointsCallback:function(e,t){return e.push("".concat(t[0].x," ").concat(t[0].y," m"),"".concat(t[1].x," ").concat(t[1].y," l"),"".concat(t[3].x," ").concat(t[3].y," l"),"".concat(t[2].x," ").concat(t[2].y," l"),"f"),[t[0].x,t[1].x,t[3].y,t[1].y]}})}}else r.data.hasPopup=!1;return r}return u(t,e),v(t)}(D),Z=function(e){function t(e){var r;if(m(this,t),(r=l(this,t,[e])).data.annotationType=a.AnnotationType.UNDERLINE,r.data.quadPoints=M(e.dict,null)){if(!r.appearance){var n=r.color?Array.from(r.color).map((function(e){return e/255})):[0,0,0],i=e.dict.get("CA");r._setDefaultAppearance({xref:e.xref,extra:"[] 0 d 1 w",strokeColor:n,strokeAlpha:i,pointsCallback:function(e,t){return e.push("".concat(t[2].x," ").concat(t[2].y," m"),"".concat(t[3].x," ").concat(t[3].y," l"),"S"),[t[0].x,t[1].x,t[3].y,t[1].y]}})}}else r.data.hasPopup=!1;return r}return u(t,e),v(t)}(D),Q=function(e){function t(e){var r;if(m(this,t),(r=l(this,t,[e])).data.annotationType=a.AnnotationType.SQUIGGLY,r.data.quadPoints=M(e.dict,null)){if(!r.appearance){var n=r.color?Array.from(r.color).map((function(e){return e/255})):[0,0,0],i=e.dict.get("CA");r._setDefaultAppearance({xref:e.xref,extra:"[] 0 d 1 w",strokeColor:n,strokeAlpha:i,pointsCallback:function(e,t){var r=(t[0].y-t[2].y)/6,a=r,n=t[2].x,i=t[2].y,o=t[3].x;e.push("".concat(n," ").concat(i+a," m"));do{n+=2,a=0===a?r:0,e.push("".concat(n," ").concat(i+a," l"))}while(n<o);return e.push("S"),[t[2].x,o,i-2*r,i+2*r]}})}}else r.data.hasPopup=!1;return r}return u(t,e),v(t)}(D),ee=function(e){function t(e){var r;if(m(this,t),(r=l(this,t,[e])).data.annotationType=a.AnnotationType.STRIKEOUT,r.data.quadPoints=M(e.dict,null)){if(!r.appearance){var n=r.color?Array.from(r.color).map((function(e){return e/255})):[0,0,0],i=e.dict.get("CA");r._setDefaultAppearance({xref:e.xref,extra:"[] 0 d 1 w",strokeColor:n,strokeAlpha:i,pointsCallback:function(e,t){return e.push("".concat((t[0].x+t[2].x)/2," ")+"".concat((t[0].y+t[2].y)/2," m"),"".concat((t[1].x+t[3].x)/2," ")+"".concat((t[1].y+t[3].y)/2," l"),"S"),[t[0].x,t[1].x,t[3].y,t[1].y]}})}}else r.data.hasPopup=!1;return r}return u(t,e),v(t)}(D),te=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[e])).data.annotationType=a.AnnotationType.STAMP,r}return u(t,e),v(t)}(D),re=function(e){function t(e){var r;m(this,t),r=l(this,t,[e]);var n=new S.FileSpec(e.dict.get("FS"),e.xref);return r.data.annotationType=a.AnnotationType.FILEATTACHMENT,r.data.file=n.serializable,r}return u(t,e),v(t)}(D)},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.createDefaultAppearance=function(e){var t=e.fontSize,r=e.fontName,n=e.fontColor;return"/".concat((0,a.escapePDFName)(r)," ").concat(t," Tf ").concat(f(n,!0))},t.getPdfColor=f,t.parseDefaultAppearance=function(e){return new h(e).parse()};
2var a=r(6),n=r(2),i=r(14),o=r(15),s=r(5),c=r(10),h=function(e){function t(e){return m(this,t),l(this,t,[new c.StringStream(e)])}return u(t,e),v(t,[{key:"parse",value:function(){var e={fn:0,args:[]},t={fontSize:0,fontName:"",fontColor:new Uint8ClampedArray(3)};try{for(;e.args.length=0,this.read(e);)if(0===this.savedStatesDepth){var r=e.fn,a=e.args;switch(0|r){case n.OPS.setFont:var o=g(a,2),c=o[0],l=o[1];c instanceof s.Name&&(t.fontName=c.name),"number"===typeof l&&l>0&&(t.fontSize=l);break;case n.OPS.setFillRGBColor:i.ColorSpace.singletons.rgb.getRgbItem(a,0,t.fontColor,0);break;case n.OPS.setFillGray:i.ColorSpace.singletons.gray.getRgbItem(a,0,t.fontColor,0);break;case n.OPS.setFillColorSpace:i.ColorSpace.singletons.cmyk.getRgbItem(a,0,t.fontColor,0)}}}catch(u){(0,n.warn)('parseDefaultAppearance - ignoring errors: "'.concat(u,'".'))}return t}}])}(o.EvaluatorPreprocessor);function f(e,t){if(e[0]===e[1]&&e[1]===e[2]){var r=e[0]/255;return"".concat((0,a.numberToString)(r)," ").concat(t?"g":"G")}return Array.from(e).map((function(e){return(0,a.numberToString)(e/255)})).join(" ")+" ".concat(t?"rg":"RG")}},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.ColorSpace=void 0;var a=r(2),n=r(5),i=r(7),o=r(6),s=function(){function e(t,r){m(this,e),this.constructor===e&&(0,a.unreachable)("Cannot initialize ColorSpace."),this.name=t,this.numComps=r}return v(e,[{key:"getRgb",value:function(e,t){var r=new Uint8ClampedArray(3);return this.getRgbItem(e,t,r,0),r}},{key:"getRgbItem",value:function(e,t,r,n){(0,a.unreachable)("Should not call ColorSpace.getRgbItem")}},{key:"getRgbBuffer",value:function(e,t,r,n,i,o,s){(0,a.unreachable)("Should not call ColorSpace.getRgbBuffer")}},{key:"getOutputLength",value:function(e,t){(0,a.unreachable)("Should not call ColorSpace.getOutputLength")}},{key:"isPassthrough",value:function(e){return!1}},{key:"isDefaultDecode",value:function(t,r){return e.isDefaultDecode(t,this.numComps)}},{key:"fillRgb",value:function(e,t,r,a,n,i,o,s,c){var l=t*r,u=null,h=1<<o,f=r!==n||t!==a;if(this.isPassthrough(o))u=s;else if(1===this.numComps&&l>h&&"DeviceGray"!==this.name&&"DeviceRGB"!==this.name){for(var d=o<=8?new Uint8Array(h):new Uint16Array(h),g=0;g<h;g++)d[g]=g;var p=new Uint8ClampedArray(3*h);if(this.getRgbBuffer(d,0,h,p,0,o,0),f){u=new Uint8Array(3*l);for(var m=0,v=0;v<l;++v){var b=3*s[v];u[m++]=p[b],u[m++]=p[b+1],u[m++]=p[b+2]}}else for(var y=0,k=0;k<l;++k){var w=3*s[k];e[y++]=p[w],e[y++]=p[w+1],e[y++]=p[w+2],y+=c}}else f?(u=new Uint8ClampedArray(3*l),this.getRgbBuffer(s,0,l,u,0,o,0)):this.getRgbBuffer(s,0,a*i,e,0,o,c);if(u)if(f)!function(e,t,r,a,n,i,o){o=1!==o?0:o;for(var s,c=r/n,l=a/i,u=0,h=new Uint16Array(n),f=3*r,d=0;d<n;d++)h[d]=3*Math.floor(d*c);for(var g=0;g<i;g++)for(var p=Math.floor(g*l)*f,m=0;m<n;m++)s=p+h[m],t[u++]=e[s++],t[u++]=e[s++],t[u++]=e[s++],u+=o}(u,e,t,r,a,n,c);else for(var x=0,S=0,A=0,C=a*i;A<C;A++)e[x++]=u[S++],e[x++]=u[S++],e[x++]=u[S++],x+=c}},{key:"usesZeroToOneRange",get:function(){return(0,a.shadow)(this,"usesZeroToOneRange",!0)}}],[{key:"_cache",value:function(e,t,r,a){if(!r)throw new Error('ColorSpace._cache - expected "localColorSpaceCache" argument.');if(!a)throw new Error('ColorSpace._cache - expected "parsedColorSpace" argument.');var i,o;e instanceof n.Ref&&(o=e,e=t.fetch(e)),e instanceof n.Name&&(i=e.name),(i||o)&&r.set(i,o,a)}},{key:"getCached",value:function(e,t,r){if(!r)throw new Error('ColorSpace.getCached - expected "localColorSpaceCache" argument.');if(e instanceof n.Ref){var a=r.getByRef(e);if(a)return a;try{e=t.fetch(e)}catch(s){if(s instanceof o.MissingDataException)throw s}}if(e instanceof n.Name){var i=r.getByName(e.name);if(i)return i}return null}},{key:"parseAsync",value:function(){var e=p(h().mark((function e(t){var r,a,n,i,o,s,c;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.cs,a=t.xref,n=t.resources,i=void 0===n?null:n,o=t.pdfFunctionFactory,s=t.localColorSpaceCache,c=this._parse(r,a,i,o),this._cache(r,a,s,c),e.abrupt("return",c);case 4:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"parse",value:function(e){var t=e.cs,r=e.xref,a=e.resources,n=void 0===a?null:a,i=e.pdfFunctionFactory,o=e.localColorSpaceCache,s=this.getCached(t,r,o);if(s)return s;var c=this._parse(t,r,n,i);return this._cache(t,r,o,c),c}},{key:"_parse",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3?arguments[3]:void 0;if((e=t.fetchIfRef(e))instanceof n.Name)switch(e.name){case"G":case"DeviceGray":return this.singletons.gray;case"RGB":case"DeviceRGB":return this.singletons.rgb;case"CMYK":case"DeviceCMYK":return this.singletons.cmyk;case"Pattern":return new f(null);default:if(r instanceof n.Dict){var o=r.get("ColorSpace");if(o instanceof n.Dict){var s=o.get(e.name);if(s){if(s instanceof n.Name)return this._parse(s,t,r,i);e=s;break}}}throw new a.FormatError("Unrecognized ColorSpace: ".concat(e.name))}if(Array.isArray(e)){var l,u,h,g,p,m,v=t.fetchIfRef(e[0]).name;switch(v){case"G":case"DeviceGray":return this.singletons.gray;case"RGB":case"DeviceRGB":return this.singletons.rgb;case"CMYK":case"DeviceCMYK":return this.singletons.cmyk;case"CalGray":return g=(l=t.fetchIfRef(e[1])).getArray("WhitePoint"),p=l.getArray("BlackPoint"),m=l.get("Gamma"),new k(g,p,m);case"CalRGB":g=(l=t.fetchIfRef(e[1])).getArray("WhitePoint"),p=l.getArray("BlackPoint"),m=l.getArray("Gamma");var b=l.getArray("Matrix");return new w(g,p,m,b);case"ICCBased":var y=t.fetchIfRef(e[1]).dict;u=y.get("N");var S=y.get("Alternate");if(S){var A=this._parse(S,t,r,i);if(A.numComps===u)return A;(0,a.warn)("ICCBased color space: Ignoring incorrect /Alternate entry.")}if(1===u)return this.singletons.gray;if(3===u)return this.singletons.rgb;if(4===u)return this.singletons.cmyk;break;case"Pattern":return(h=e[1]||null)&&(h=this._parse(h,t,r,i)),new f(h);case"I":case"Indexed":h=this._parse(e[1],t,r,i);var C=t.fetchIfRef(e[2])+1,F=t.fetchIfRef(e[3]);return new d(h,C,F);case"Separation":case"DeviceN":var O=t.fetchIfRef(e[1]);u=Array.isArray(O)?O.length:1,h=this._parse(e[2],t,r,i);var I=i.create(e[3]);return new c(u,h,I);case"Lab":g=(l=t.fetchIfRef(e[1])).getArray("WhitePoint"),p=l.getArray("BlackPoint");var T=l.getArray("Range");return new x(g,p,T);default:throw new a.FormatError("Unimplemented ColorSpace object: ".concat(v))}}throw new a.FormatError("Unrecognized ColorSpace object: ".concat(e))}},{key:"isDefaultDecode",value:function(e,t){if(!Array.isArray(e))return!0;
2if(2*t!==e.length)return(0,a.warn)("The decode map is not the correct length"),!0;for(var r=0,n=e.length;r<n;r+=2)if(0!==e[r]||1!==e[r+1])return!1;return!0}},{key:"singletons",get:function(){return(0,a.shadow)(this,"singletons",{get gray(){return(0,a.shadow)(this,"gray",new g)},get rgb(){return(0,a.shadow)(this,"rgb",new b)},get cmyk(){return(0,a.shadow)(this,"cmyk",new y)}})}}])}();t.ColorSpace=s;var c=function(e){function t(e,r,a){var n;return m(this,t),(n=l(this,t,["Alternate",e])).base=r,n.tintFn=a,n.tmpBuf=new Float32Array(r.numComps),n}return u(t,e),v(t,[{key:"getRgbItem",value:function(e,t,r,a){var n=this.tmpBuf;this.tintFn(e,t,n,0),this.base.getRgbItem(n,0,r,a)}},{key:"getRgbBuffer",value:function(e,t,r,a,n,i,o){var s,c,l=this.tintFn,u=this.base,h=1/((1<<i)-1),f=u.numComps,d=u.usesZeroToOneRange,g=(u.isPassthrough(8)||!d)&&0===o,p=g?n:0,m=g?a:new Uint8ClampedArray(f*r),v=this.numComps,b=new Float32Array(v),y=new Float32Array(f);for(s=0;s<r;s++){for(c=0;c<v;c++)b[c]=e[t++]*h;if(l(b,0,y,0),d)for(c=0;c<f;c++)m[p++]=255*y[c];else u.getRgbItem(y,0,m,p),p+=f}g||u.getRgbBuffer(m,0,r,a,n,8,o)}},{key:"getOutputLength",value:function(e,t){return this.base.getOutputLength(e*this.base.numComps/this.numComps,t)}}])}(s),f=function(e){function t(e){var r;return m(this,t),(r=l(this,t,["Pattern",null])).base=e,r}return u(t,e),v(t,[{key:"isDefaultDecode",value:function(e,t){(0,a.unreachable)("Should not call PatternCS.isDefaultDecode")}}])}(s),d=function(e){function t(e,r,n){var o;m(this,t),(o=l(this,t,["Indexed",1])).base=e,o.highVal=r;var s=e.numComps*r;if(o.lookup=new Uint8Array(s),n instanceof i.BaseStream){var c=n.getBytes(s);o.lookup.set(c)}else{if("string"!==typeof n)throw new a.FormatError("IndexedCS - unrecognized lookup table: ".concat(n));for(var u=0;u<s;++u)o.lookup[u]=255&n.charCodeAt(u)}return o}return u(t,e),v(t,[{key:"getRgbItem",value:function(e,t,r,a){var n=this.base.numComps,i=e[t]*n;this.base.getRgbBuffer(this.lookup,i,1,r,a,8,0)}},{key:"getRgbBuffer",value:function(e,t,r,a,n,i,o){for(var s=this.base,c=s.numComps,l=s.getOutputLength(c,o),u=this.lookup,h=0;h<r;++h){var f=e[t++]*c;s.getRgbBuffer(u,f,1,a,n,8,o),n+=l}}},{key:"getOutputLength",value:function(e,t){return this.base.getOutputLength(e*this.base.numComps,t)}},{key:"isDefaultDecode",value:function(e,t){return!Array.isArray(e)||(2!==e.length?((0,a.warn)("Decode map length is not correct"),!0):!Number.isInteger(t)||t<1?((0,a.warn)("Bits per component is not correct"),!0):0===e[0]&&e[1]===(1<<t)-1)}}])}(s),g=function(e){function t(){return m(this,t),l(this,t,["DeviceGray",1])}return u(t,e),v(t,[{key:"getRgbItem",value:function(e,t,r,a){var n=255*e[t];r[a]=r[a+1]=r[a+2]=n}},{key:"getRgbBuffer",value:function(e,t,r,a,n,i,o){for(var s=255/((1<<i)-1),c=t,l=n,u=0;u<r;++u){var h=s*e[c++];a[l++]=h,a[l++]=h,a[l++]=h,l+=o}}},{key:"getOutputLength",value:function(e,t){return e*(3+t)}}])}(s),b=function(e){function t(){return m(this,t),l(this,t,["DeviceRGB",3])}return u(t,e),v(t,[{key:"getRgbItem",value:function(e,t,r,a){r[a]=255*e[t],r[a+1]=255*e[t+1],r[a+2]=255*e[t+2]}},{key:"getRgbBuffer",value:function(e,t,r,a,n,i,o){if(8!==i||0!==o)for(var s=255/((1<<i)-1),c=t,l=n,u=0;u<r;++u)a[l++]=s*e[c++],a[l++]=s*e[c++],a[l++]=s*e[c++],l+=o;else a.set(e.subarray(t,t+3*r),n)}},{key:"getOutputLength",value:function(e,t){return e*(3+t)/3|0}},{key:"isPassthrough",value:function(e){return 8===e}}])}(s),y=function(){function e(e,t,r,a,n){var i=e[t]*r,o=e[t+1]*r,s=e[t+2]*r,c=e[t+3]*r;a[n]=255+i*(-4.387332384609988*i+54.48615194189176*o+18.82290502165302*s+212.25662451639585*c-285.2331026137004)+o*(1.7149763477362134*o-5.6096736904047315*s+-17.873870861415444*c-5.497006427196366)+s*(-2.5217340131683033*s-21.248923337353073*c+17.5119270841813)+c*(-21.86122147463605*c-189.48180835922747),a[n+1]=255+i*(8.841041422036149*i+60.118027045597366*o+6.871425592049007*s+31.159100130055922*c-79.2970844816548)+o*(-15.310361306967817*o+17.575251261109482*s+131.35250912493976*c-190.9453302588951)+s*(4.444339102852739*s+9.8632861493405*c-24.86741582555878)+c*(-20.737325471181034*c-187.80453709719578),a[n+2]=255+i*(.8842522430003296*i+8.078677503112928*o+30.89978309703729*s-.23883238689178934*c-14.183576799673286)+o*(10.49593273432072*o+63.02378494754052*s+50.606957656360734*c-112.23884253719248)+s*(.03296041114873217*s+115.60384449646641*c-193.58209356861505)+c*(-22.33816807309886*c-180.12613974708367)}return function(t){function r(){return m(this,r),l(this,r,["DeviceCMYK",4])}
vendor: 5,255 bytes, line 2
2return u(r,t),v(r,[{key:"getRgbItem",value:function(t,r,a,n){e(t,r,1,a,n)}},{key:"getRgbBuffer",value:function(t,r,a,n,i,o,s){for(var c=1/((1<<o)-1),l=0;l<a;l++)e(t,r,c,n,i),r+=4,i+=3+s}},{key:"getOutputLength",value:function(e,t){return e/4*(3+t)|0}}])}(s)}(),k=function(){function e(e,t,r,a,n,i){var o=t[r]*i,s=Math.pow(o,e.G),c=e.YW*s,l=Math.max(295.8*Math.pow(c,.3333333333333333)-40.8,0);a[n]=l,a[n+1]=l,a[n+2]=l}return function(t){function r(e,t,n){var i;if(m(this,r),i=l(this,r,["CalGray",1]),!e)throw new a.FormatError("WhitePoint missing - required for color space CalGray");if(t=t||[0,0,0],n=n||1,i.XW=e[0],i.YW=e[1],i.ZW=e[2],i.XB=t[0],i.YB=t[1],i.ZB=t[2],i.G=n,i.XW<0||i.ZW<0||1!==i.YW)throw new a.FormatError("Invalid WhitePoint components for ".concat(i.name)+", no fallback available");return(i.XB<0||i.YB<0||i.ZB<0)&&((0,a.info)("Invalid BlackPoint for ".concat(i.name,", falling back to default.")),i.XB=i.YB=i.ZB=0),0===i.XB&&0===i.YB&&0===i.ZB||(0,a.warn)("".concat(i.name,", BlackPoint: XB: ").concat(i.XB,", YB: ").concat(i.YB,", ")+"ZB: ".concat(i.ZB,", only default values are supported.")),i.G<1&&((0,a.info)("Invalid Gamma: ".concat(i.G," for ").concat(i.name,", ")+"falling back to default."),i.G=1),i}return u(r,t),v(r,[{key:"getRgbItem",value:function(t,r,a,n){e(this,t,r,a,n,1)}},{key:"getRgbBuffer",value:function(t,r,a,n,i,o,s){for(var c=1/((1<<o)-1),l=0;l<a;++l)e(this,t,r,n,i,c),r+=1,i+=3+s}},{key:"getOutputLength",value:function(e,t){return e*(3+t)}}])}(s)}(),w=function(){var e=new Float32Array([.8951,.2664,-.1614,-.7502,1.7135,.0367,.0389,-.0685,1.0296]),t=new Float32Array([.9869929,-.1470543,.1599627,.4323053,.5183603,.0492912,-.0085287,.0400428,.9684867]),r=new Float32Array([3.2404542,-1.5371385,-.4985314,-.969266,1.8760108,.041556,.0556434,-.2040259,1.0572252]),n=new Float32Array([1,1,1]),i=new Float32Array(3),o=new Float32Array(3),c=new Float32Array(3),h=Math.pow(24/116,3)/8;function f(e,t,r){r[0]=e[0]*t[0]+e[1]*t[1]+e[2]*t[2],r[1]=e[3]*t[0]+e[4]*t[1]+e[5]*t[2],r[2]=e[6]*t[0]+e[7]*t[1]+e[8]*t[2]}function d(e){return e<=.0031308?g(0,1,12.92*e):e>=.99554525?1:g(0,1,1.055*Math.pow(e,1/2.4)-.055)}function g(e,t,r){return Math.max(e,Math.min(t,r))}function p(e){return e<0?-p(-e):e>8?Math.pow((e+16)/116,3):e*h}function b(a,s,l,u,h,m){var v=g(0,1,s[l]*m),b=g(0,1,s[l+1]*m),y=g(0,1,s[l+2]*m),k=1===v?1:Math.pow(v,a.GR),w=1===b?1:Math.pow(b,a.GG),x=1===y?1:Math.pow(y,a.GB),S=a.MXA*k+a.MXB*w+a.MXC*x,A=a.MYA*k+a.MYB*w+a.MYC*x,C=a.MZA*k+a.MZB*w+a.MZC*x,F=o;F[0]=S,F[1]=A,F[2]=C;var O=c;!function(r,a,n){if(1===r[0]&&1===r[2])return n[0]=a[0],n[1]=a[1],void(n[2]=a[2]);var o=n;f(e,a,o);var s=i;!function(e,t,r){r[0]=1*t[0]/e[0],r[1]=1*t[1]/e[1],r[2]=1*t[2]/e[2]}(r,o,s),f(t,s,n)}(a.whitePoint,F,O);var I=o;!function(e,t,r){if(0===e[0]&&0===e[1]&&0===e[2])return r[0]=t[0],r[1]=t[1],void(r[2]=t[2]);var a=p(0),n=(1-a)/(1-p(e[0])),i=1-n,o=(1-a)/(1-p(e[1])),s=1-o,c=(1-a)/(1-p(e[2])),l=1-c;r[0]=t[0]*n+i,r[1]=t[1]*o+s,r[2]=t[2]*c+l}(a.blackPoint,O,I);var T=c;!function(r,a,n){var o=n;f(e,a,o);var s=i;!function(e,t,r){r[0]=.95047*t[0]/e[0],r[1]=1*t[1]/e[1],r[2]=1.08883*t[2]/e[2]}(r,o,s),f(t,s,n)}(n,I,T);var M=o;f(r,T,M),u[h]=255*d(M[0]),u[h+1]=255*d(M[1]),u[h+2]=255*d(M[2])}return function(e){function t(e,r,n,i){var o;if(m(this,t),o=l(this,t,["CalRGB",3]),!e)throw new a.FormatError("WhitePoint missing - required for color space CalRGB");r=r||new Float32Array(3),n=n||new Float32Array([1,1,1]),i=i||new Float32Array([1,0,0,0,1,0,0,0,1]);var s=e[0],c=e[1],u=e[2];o.whitePoint=e;var h=r[0],f=r[1],d=r[2];if(o.blackPoint=r,o.GR=n[0],o.GG=n[1],o.GB=n[2],o.MXA=i[0],o.MYA=i[1],o.MZA=i[2],o.MXB=i[3],o.MYB=i[4],o.MZB=i[5],o.MXC=i[6],o.MYC=i[7],o.MZC=i[8],s<0||u<0||1!==c)throw new a.FormatError("Invalid WhitePoint components for ".concat(o.name)+", no fallback available");return(h<0||f<0||d<0)&&((0,a.info)("Invalid BlackPoint for ".concat(o.name," [").concat(h,", ").concat(f,", ").concat(d,"], ")+"falling back to default."),o.blackPoint=new Float32Array(3)),(o.GR<0||o.GG<0||o.GB<0)&&((0,a.info)("Invalid Gamma [".concat(o.GR,", ").concat(o.GG,", ").concat(o.GB,"] for ")+"".concat(o.name,", falling back to default.")),o.GR=o.GG=o.GB=1),o}return u(t,e),v(t,[{key:"getRgbItem",value:function(e,t,r,a){b(this,e,t,r,a,1)}},{key:"getRgbBuffer",value:function(e,t,r,a,n,i,o){for(var s=1/((1<<i)-1),c=0;c<r;++c)b(this,e,t,a,n,s),t+=3,n+=3+o}},{key:"getOutputLength",value:function(e,t){return e*(3+t)/3|0}}])}(s)}(),x=function(){function e(e){return e>=6/29?Math.pow(e,3):108/841*(e-4/29)}function t(e,t,r,a){return r+e*(a-r)/t}function r(r,a,n,i,o,s){var c=a[n],l=a[n+1],u=a[n+2];!1!==i&&(c=t(c,i,0,100),l=t(l,i,r.amin,r.amax),u=t(u,i,r.bmin,r.bmax)),l>r.amax?l=r.amax:l<r.amin&&(l=r.amin),u>r.bmax?u=r.bmax:u<r.bmin&&(u=r.bmin);var h,f,d,g=(c+16)/116,p=g+l/500,m=g-u/200,v=r.XW*e(p),b=r.YW*e(g),y=r.ZW*e(m);r.ZW<1?(h=3.1339*v+-1.617*b+-.4906*y,f=-.9785*v+1.916*b+.0333*y,d=.072*v+-.229*b+1.4057*y):(h=3.2406*v+-1.5372*b+-.4986*y,f=-.9689*v+1.8758*b+.0415*y,d=.0557*v+-.204*b+1.057*y),o[s]=255*Math.sqrt(h),o[s+1]=255*Math.sqrt(f),o[s+2]=255*Math.sqrt(d)}return function(e){function t(e,r,n){var i;if(m(this,t),i=l(this,t,["Lab",3]),!e)throw new a.FormatError("WhitePoint missing - required for color space Lab");
2if(r=r||[0,0,0],n=n||[-100,100,-100,100],i.XW=e[0],i.YW=e[1],i.ZW=e[2],i.amin=n[0],i.amax=n[1],i.bmin=n[2],i.bmax=n[3],i.XB=r[0],i.YB=r[1],i.ZB=r[2],i.XW<0||i.ZW<0||1!==i.YW)throw new a.FormatError("Invalid WhitePoint components, no fallback available");return(i.XB<0||i.YB<0||i.ZB<0)&&((0,a.info)("Invalid BlackPoint, falling back to default"),i.XB=i.YB=i.ZB=0),(i.amin>i.amax||i.bmin>i.bmax)&&((0,a.info)("Invalid Range, falling back to defaults"),i.amin=-100,i.amax=100,i.bmin=-100,i.bmax=100),i}return u(t,e),v(t,[{key:"getRgbItem",value:function(e,t,a,n){r(this,e,t,!1,a,n)}},{key:"getRgbBuffer",value:function(e,t,a,n,i,o,s){for(var c=(1<<o)-1,l=0;l<a;l++)r(this,e,t,c,n,i),t+=3,i+=3+s}},{key:"getOutputLength",value:function(e,t){return e*(3+t)/3|0}},{key:"isDefaultDecode",value:function(e,t){return!0}},{key:"usesZeroToOneRange",get:function(){return(0,a.shadow)(this,"usesZeroToOneRange",!1)}}])}(s)}()},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.PartialEvaluator=t.EvaluatorPreprocessor=void 0;var a=r(2),n=r(16),i=r(5),o=r(34),s=r(38),c=r(37),l=r(41),u=r(40),f=r(50),b=r(51),y=r(42),k=r(57),w=r(17),x=r(59),S=r(10),A=r(7),C=r(60),F=r(14),O=r(19),I=r(39),T=r(6),M=r(45),P=r(61),E=r(62),N=r(63),D=Object.freeze({maxImageSize:-1,disableFontFace:!1,ignoreErrors:!1,isEvalSupported:!0,fontExtraProperties:!1,useSystemFonts:!0,cMapUrl:null,standardFontDataUrl:null}),B=1,L=2,R=Promise.resolve();function _(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(Array.isArray(e)){for(var r=0,n=e.length;r<n;r++){var o=_(e[r],!0);if(o)return o}return(0,a.warn)("Unsupported blend mode Array: ".concat(e)),"source-over"}if(!(e instanceof i.Name))return t?null:"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"}return t?null:((0,a.warn)("Unsupported blend mode: ".concat(e.name)),"source-over")}function j(e){e.fn===a.OPS.paintImageMaskXObject&&e.args[0]&&e.args[0].count>0&&e.args[0].count++}var U=function(){function e(){m(this,e),this.reset()}return v(e,[{key:"check",value:function(){return!(++this.checked<e.CHECK_TIME_EVERY)&&(this.checked=0,this.endTime<=Date.now())}},{key:"reset",value:function(){this.endTime=Date.now()+e.TIME_SLOT_DURATION_MS,this.checked=0}}],[{key:"TIME_SLOT_DURATION_MS",get:function(){return(0,a.shadow)(this,"TIME_SLOT_DURATION_MS",20)}},{key:"CHECK_TIME_EVERY",get:function(){return(0,a.shadow)(this,"CHECK_TIME_EVERY",100)}}])}(),$=function(){function e(t){var r=t.xref,a=t.handler,n=t.pageIndex,i=t.idFactory,o=t.fontCache,s=t.builtInCMapCache,c=t.standardFontDataCache,l=t.globalImageCache,u=t.options,h=void 0===u?null:u;m(this,e),this.xref=r,this.handler=a,this.pageIndex=n,this.idFactory=i,this.fontCache=o,this.builtInCMapCache=s,this.standardFontDataCache=c,this.globalImageCache=l,this.options=h||D,this.parsingType3Font=!1,this._fetchBuiltInCMapBound=this.fetchBuiltInCMap.bind(this)}return v(e,[{key:"_pdfFunctionFactory",get:function(){var e=new k.PDFFunctionFactory({xref:this.xref,isEvalSupported:this.options.isEvalSupported});return(0,a.shadow)(this,"_pdfFunctionFactory",e)}},{key:"clone",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=Object.create(this);return t.options=Object.assign(Object.create(null),this.options,e),t}},{key:"hasBlendModes",value:function(e,t){if(!(e instanceof i.Dict))return!1;if(e.objId&&t.has(e.objId))return!1;var r=new i.RefSet(t);e.objId&&r.put(e.objId);for(var n=[e],o=this.xref;n.length;){var s=n.shift(),c=s.get("ExtGState");if(c instanceof i.Dict){var l,u=d(c.getRawValues());try{for(u.s();!(l=u.n()).done;){var h=l.value;
2if(h instanceof i.Ref){if(r.has(h))continue;try{h=o.fetch(h)}catch(F){r.put(h),(0,a.info)('hasBlendModes - ignoring ExtGState: "'.concat(F,'".'));continue}}if(h instanceof i.Dict){h.objId&&r.put(h.objId);var f=h.get("BM");if(f instanceof i.Name){if("Normal"!==f.name)return!0}else if(void 0!==f&&Array.isArray(f)){var g,p=d(f);try{for(p.s();!(g=p.n()).done;){var m=g.value;if(m instanceof i.Name&&"Normal"!==m.name)return!0}}catch(O){p.e(O)}finally{p.f()}}}}}catch(O){u.e(O)}finally{u.f()}}var v=s.get("XObject");if(v instanceof i.Dict){var b,y=d(v.getRawValues());try{for(y.s();!(b=y.n()).done;){var k=b.value;if(k instanceof i.Ref){if(r.has(k))continue;try{k=o.fetch(k)}catch(F){r.put(k),(0,a.info)('hasBlendModes - ignoring XObject: "'.concat(F,'".'));continue}}if(k instanceof A.BaseStream){k.dict.objId&&r.put(k.dict.objId);var w=k.dict.get("Resources");w instanceof i.Dict&&(w.objId&&r.has(w.objId)||(n.push(w),w.objId&&r.put(w.objId)))}}}catch(O){y.e(O)}finally{y.f()}}}var x,S=d(r);try{for(S.s();!(x=S.n()).done;){var C=x.value;t.put(C)}}catch(O){S.e(O)}finally{S.f()}return!1}},{key:"fetchBuiltInCMap",value:function(){var e=p(h().mark((function e(t){var r,n,i,o;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(r=this.builtInCMapCache.get(t))){e.next=3;break}return e.abrupt("return",r);case 3:if(null===this.options.cMapUrl){e.next=19;break}return i="".concat(this.options.cMapUrl).concat(t,".bcmap"),e.next=7,fetch(i);case 7:if((o=e.sent).ok){e.next=10;break}throw new Error('fetchBuiltInCMap: failed to fetch file "'.concat(i,'" with "').concat(o.statusText,'".'));case 10:return e.t0=Uint8Array,e.next=13,o.arrayBuffer();case 13:e.t1=e.sent,e.t2=new e.t0(e.t1),e.t3=a.CMapCompressionType.BINARY,n={cMapData:e.t2,compressionType:e.t3},e.next=22;break;case 19:return e.next=21,this.handler.sendWithPromise("FetchBuiltInCMap",{name:t});case 21:n=e.sent;case 22:return n.compressionType!==a.CMapCompressionType.NONE&&this.builtInCMapCache.set(t,n),e.abrupt("return",n);case 24:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"fetchStandardFontData",value:function(){var e=p(h().mark((function e(t){var r,n,i,o,s,c;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(r=this.standardFontDataCache.get(t))){e.next=3;break}return e.abrupt("return",new S.Stream(r));case 3:if(!this.options.useSystemFonts||"Symbol"===t||"ZapfDingbats"===t){e.next=5;break}return e.abrupt("return",null);case 5:if(n=(0,l.getFontNameToFileMap)(),i=n[t],null===this.options.standardFontDataUrl){e.next=20;break}return s="".concat(this.options.standardFontDataUrl).concat(i),e.next=10,fetch(s);case 10:if((c=e.sent).ok){e.next=15;break}(0,a.warn)('fetchStandardFontData: failed to fetch file "'.concat(s,'" with "').concat(c.statusText,'".')),e.next=18;break;case 15:return e.next=17,c.arrayBuffer();case 17:o=e.sent;case 18:e.next=29;break;case 20:return e.prev=20,e.next=23,this.handler.sendWithPromise("FetchStandardFontData",{filename:i});case 23:o=e.sent,e.next=29;break;case 26:e.prev=26,e.t0=e.catch(20),(0,a.warn)('fetchStandardFontData: failed to fetch file "'.concat(i,'" with "').concat(e.t0,'".'));case 29:if(o){e.next=31;break}return e.abrupt("return",null);case 31:return this.standardFontDataCache.set(t,o),e.abrupt("return",new S.Stream(o));case 33:case"end":return e.stop()}}),e,this,[[20,26]])})));return function(t){return e.apply(this,arguments)}}()},{key:"buildFormXObject",value:function(){var e=p(h().mark((function e(t,r,n,o,s,c,l){var u,f,d,g,p,m,v,b,y,k,w;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(u=r.dict,f=u.getArray("Matrix"),d=u.getArray("BBox"),d=Array.isArray(d)&&4===d.length?a.Util.normalizeRect(d):null,!u.has("OC")){e.next=8;break}return e.next=7,this.parseMarkedContentProps(u.get("OC"),t);case 7:g=e.sent;case 8:if(void 0!==g&&o.addOp(a.OPS.beginMarkedContentProps,["OC",g]),!(m=u.get("Group"))){e.next=29;break}if(p={matrix:f,bbox:d,smask:n,isolated:!1,knockout:!1},v=m.get("S"),b=null,!(0,i.isName)(v,"Transparency")){e.next=27;break}if(p.isolated=m.get("I")||!1,p.knockout=m.get("K")||!1,!m.has("CS")){e.next=27;break}if(y=m.getRaw("CS"),!(k=F.ColorSpace.getCached(y,this.xref,l))){e.
2next=24;break}b=k,e.next=27;break;case 24:return e.next=26,this.parseColorSpace({cs:y,resources:t,localColorSpaceCache:l});case 26:b=e.sent;case 27:n&&n.backdrop&&(b=b||F.ColorSpace.singletons.rgb,n.backdrop=b.getRgb(n.backdrop,0)),o.addOp(a.OPS.beginGroup,[p]);case 29:return w=m?[f,null]:[f,d],o.addOp(a.OPS.paintFormXObjectBegin,w),e.abrupt("return",this.getOperatorList({stream:r,task:s,resources:u.get("Resources")||t,operatorList:o,initialState:c}).then((function(){o.addOp(a.OPS.paintFormXObjectEnd,[]),m&&o.addOp(a.OPS.endGroup,[p]),void 0!==g&&o.addOp(a.OPS.endMarkedContent,[])})));case 32:case"end":return e.stop()}}),e,this)})));return function(t,r,a,n,i,o,s){return e.apply(this,arguments)}}()},{key:"_sendImgData",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=t?[t.bitmap||t.data.buffer]:null;return this.parsingType3Font||r?this.handler.send("commonobj",[e,"Image",t],a):this.handler.send("obj",[e,this.pageIndex,"Image",t],a)}},{key:"buildPaintImageXObject",value:function(){var e=p(h().mark((function e(t){var r,n,i,o,s,c,l,u,f,d,g,p,m,v,b,y,k,w,x,S,A,C,F,I,T,M,P,E=this;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=t.resources,n=t.image,i=t.isInline,o=void 0!==i&&i,s=t.o
2peratorList,c=t.cacheKey,l=t.localImageCache,u=t.localColorSpaceCache,f=n.dict,d=f.objId,g=f.get("W","Width"),p=f.get("H","Height"),g&&"number"===typeof g&&p&&"number"===typeof p){e.next=8;break}return(0,a.warn)("Image dimensions are missing, or not numbers."),e.abrupt("return");case 8:if(!(-1!==(m=this.options.maxImageSize)&&g*p>m)){e.next=15;break}if(v="Image exceeded maximum allowed size and was removed.",!this.options.ignoreErrors){e.next=14;break}return(0,a.warn)(v),e.abrupt("return");case 14:throw new Error(v);case 15:if(!f.has("OC")){e.next=19;break}return e.next=18,this.parseMarkedContentProps(f.get("OC"),r);case 18:b=e.sent;case 19:if(!f.get("IM","ImageMask")){e.next=44;break}if(w=f.get("I","Interpolate"),x=g+7>>3,S=n.getBytes(x*p),A=f.getArray("D","Decode"),!this.parsingType3Font){e.next=32;break}return(y=N.PDFImage.createRawMask({imgArray:S,width:g,height:p,imageIsFromDecodeStream:n instanceof O.DecodeStream,inverseDecode:!!A&&A[0]>0,interpolate:w})).cached=!!c,k=[y],s.addImageOps(a.OPS.paintImageMaskXObject,k,b),c&&l.set(c,d,{fn:a.OPS.paintImageMaskXObject,args:k,optionalContent:b}),e.abrupt("return");case 32:if(!(y=N.PDFImage.createMask({imgArray:S,width:g,height:p,imageIsFromDecodeStream
2:n instanceof O.DecodeStream,inverseDecode:!!A&&A[0]>0,interpolate:w})).isSingleOpaquePixel){e.next=37;break}return s.addImageOps(a.OPS.paintSolidColorImageMask,[],b),c&&l.set(c,d,{fn:a.OPS.paintSolidColorImageMask,args:[],optionalContent:b}),e.abrupt("return");case 37:return C="mask_".concat(this.idFactory.createObjId()),s.addDependency(C),this._sendImgData(C,y),k=[{data:C,width:y.width,height:y.height,interpolate:y.interpolate,count:1}],s.addImageOps(a.OPS.paintImageMaskXObject,k,b),c&&l.set(c,d,{fn:a.OPS.paintImageMaskXObject,args:k,optionalContent:b}),e.abrupt("return");case 44:if(F=f.get("SM","SMask")||!1,I=f.get("Mask")||!1,!o||F||I||!(g+p<200)){e.next=52;break}return T=new N.PDFImage({xref:this.xref,res:r,image:n,isInline:o,pdfFunctionFactory:this._pdfFunctionFactory,localColorSpaceCache:u}),y=T.createImageData(!0),s.addImageOps(a.OPS.paintInlineImageXObject,[y],b),e.abrupt("return");case 52:M="img_".concat(this.idFactory.createObjId()),P=!1,this.parsingType3Font?M="".concat(this.idFactory.getDocId(),"_type3_").concat(M):d&&(P=this.globalImageCache.shouldCache(d,this.pageIndex))&&(M="".concat(this.idFactory.getDocId(),"_").concat(M)),s.addDependency(M),k=[M,g,p],N.PDFImage.buildImage({xref:this.xref,res:r,image:n,isInline:o,pdfFunctionFactory:this._pdfFunctionFactory,localColorSpaceCache:u}).then((function(e){return y=e.createImageData(!1),c&&d&&P&&E.globalImageCache.addByteSize(d,y.data.length),E._sendImgData(M,y,P)})).catch((function(e){return(0,a.warn)('Unable to decode image "'.concat(M,'": "').concat(e,'".')),E._sendImgData(M,null,P)})),s.addImageOps(a.OPS.paintImageXObject,k,b),c&&(l.set(c,d,{fn:a.OPS.paintImageXObject,args:k,optionalContent:b}),d&&((0,a.assert)(!o,"Cannot cache an inline image globally."),this.globalImageCache.addPageIndex(d,this.pageIndex),P&&this.globalImageCache.setData(d,{objId:M,fn:a.OPS.paintImageXObject,args:k,optionalContent:b,byteSize:0})));case 59:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"handleSMask",value:function(e,t,r,a,n,i){var o=e.get("G"),s={subtype:e.get("S").name,backdrop:e.get("BC")},c=e.get("TR");if((0,k.isPDFFunction)(c)){for(var l=this._pdfFunctionFactory.create(c),u=new Uint8Array(256),h=new Float32Array(1),f=0;f<256;f++)h[0]=f/255,l(h,0,h,0),u[f]=255*h[0]|0;s.transferMap=u}return this.buildFormXObject(t,o,s,r,a,n.state.clone(),i)}},{key:"handleTransferFunction",value:function(e){var t;if(Array.isArray(e))t=e;else{if(!(0,k.isPDFFunction)(e))return null;t=[e]}var r,a=[],n=0,o=0,s=d(t);try{for(s.s();!(r=s.n()).done;){var c=r.value,l=this.xref.fetchIfRef(c);if(n++,(0,i.isName)(l,"Identity"))a.push(null);else{if(!(0,k.isPDFFunction)(l))return null;for(var u=this._pdfFunctionFactory.create(l),h=new Uint8Array(256),f=new Float32Array(1),g=0;g<256;g++)f[0]=g/255,u(f,0,f,0),h[g]=255*f[0]|0;a.push(h),o++}}}catch(p){s.e(p)}finally{s.f()}return 1!==n&&4!==n||0===o?null:a}},{key:"handleTilingType",value:function(e,t,r,n,o,s,c,l){var u=this,h=new E.OperatorList,d=i.Dict.merge({xref:this.xref,dictArray:[o.get("Resources"),r]});return this.getOperatorList({stream:n,task:c,resources:d,operatorList:h}).then((function(){var r=h.getIR(),a=(0,f.getTilingPatternIR)(r,o,t);s.addDependencies(h.dependencies),s.addOp(e,a),o.objId&&l.set(null,o.objId,{operatorListIR:r,dict:o})})).catch((function(e){if(!(e instanceof a.AbortException)){if(u.options.ignoreErrors)return u.handler.send("UnsupportedFeature",{featureId:a.UNSUPPORTED_FEATURES.errorTilingPattern}),void(0,a.warn)('handleTilingType - ignoring pattern: "'.concat(e,'".'));throw e}}))}},{key:"handleSetFont",value:function(e,t,r,n,s,c){var l=this,u=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null,h=arguments.length>7&&void 0!==arguments[7]?arguments[7]:null,f=t&&t[0]instanceof i.Name?t[0].name:null;return this.loadFont(f,r,e,u,h).then((function(t){return t.font.isType3Font?t.loadType3Data(l,e,s).then((function(){return n.addDependencies(t.type3Dependencies),t})).catch((function(e){return l.handler.send("UnsupportedFeature",{featureId:a.UNSUPPORTED_FEATURES.errorFontLoadType3}),new X({loadedName:"g_font_error",font:new o.ErrorFont("Type3 font load error: ".concat(e)),dict:t.font,evaluatorOptions:l.options})})):t})).then((function(e){return c.font=e.font,e.send(l.handler),e.loadedName}))}},{key:"handleText",value:function(t,r){var n=r.font,i=n.charsToGlyphs(t);return n.data&&(r.textRenderingMode&a.TextRenderingMode.ADD_TO_PATH_FLAG||"Pattern"===r.fillColorSpace.name||n.disableFontFace||this.options.disableFontFace)&&e.buildFontPaths(n,i,this.handler,this.options),i}},{key:"ensureStateFont",value:function(e){if(!e.font){var t=new a.FormatError("Missing setFont (Tf) operator before text rendering operator.");if(this.options.ignoreErrors)return this.handler.send("UnsupportedFeature",{featureId:a.UNSUPPORTED_FEATURES.errorFontState}),void(0,a.warn)('ensureStateFont: "'.concat(t,'".'));throw t}}},{key:"setGState",value:function(){var e=p(h().mark((function e(t){var r,n,o,s,c,l,u,f,d,g,p,m,v,b,y,k,w=this;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r=t.resources,n=t.gState,o=t.operatorList,s=t.cacheKey,c=t.task,l=t.stateManager,u=t.localGStateCache,f=t.localColorSpaceCache,d=n.objId,g=!0,p=[],m=n.getKeys(),v=Promise.resolve(),b=h().mark((function e(){var t,s,u;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=m[y],s=n.get(t),e.t0=t,e.next="Type"===e.t0?5:"LW"===e.t0||"LC"===e.t0||"LJ"===e.t0||"ML"===e.t0||"D"===e.t0||"RI"===e.t0||"FL"===e.t0||"CA"===e.t0||"ca"===e.t0?6:"Font"===e.t0?8:"BM"===e.t0?11:"SMask"===e.t0?13:"TR"===e.t0?18:"OP"===e.t0||"op"===e.t0||"OPM"===e.t0||"BG"===e.t0||"BG2"===e.t0||"UCR"===e.t0||"UCR2"===e.t0||"TR2"===e.t0||"HT"===e.t0||"SM"===e.t0||"SA"===e.t0||"AIS"===e.t0||"TK"===e.t0?21:23;break;case 5:return e.abrupt("break",25);case 6:return p.push([t,s]),e.abrupt("break",25);case 8:return g=!1,v=v.then((function(){return w.handleSetFont(r,null,s[0],o,c,l.state).then((function(e){o.addDependency(e),p.push([t,[e,s[1]]])}))})),e.abrupt("break",25);case 11:return p.push([t,_(s)]),e.abrupt("break",25);case 13:if(!(0,i.isName)(s,"None")){e.next=16;break}return p.push([t,!1]),e.abrupt("break",25);case 16:return s instanceof i.Dict?(g=!1,v=v.then((function(){return w.handleSMask(s,r,o,c,l,f)})),p.push([t,!0])):(0,a.warn)("Unsupported SMask type"),e.abrupt("break",25);case 18:return u=w.handleTransferFunction(s),p.push([t,u]),e.abrupt("break",25);case 21:return(0,a.info)("graphic state operator "+t),e.abrupt("break",25);case 23:return(0,a.info)("Unknown graphic state operator "+t),e.abrupt("break",25);case 25:case"end":return e.stop()}}),e)})),y=0,k=m.length;case 8:if(!(y<k)){e.next=13;break}return e.delegateYield(b(),"t0",10);case 10:y++,e.next=8;break;case 13:return e.abrupt("return",v.then((function(){p.length>0&&o.addOp(a.OPS.setGState,[p]),g&&u.set(s,d,p)})));case 14:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()},{key:"loadFont",value:function(t,r,n){var c,l=this,u=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,f=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,d=function(){var e=p(h().mark((function e(){return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new X({loadedName:"g_font_error",font:new o.ErrorFont('Font "'.concat(t,'" is not available.')),dict:r,evaluatorOptions:l.options}));case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),g=this.xref;if(r)r instanceof i.Ref&&(c=r);else{var m=n.get("Font");m&&(c=m.getRaw(t))}if(!c){var v='Font "'.concat(t||r&&r.toString(),'" is not available');if(!this.options.ignoreErrors&&!this.parsingType3Font)return(0,a.warn)("".concat(v,".")),d();this.handler.send("UnsupportedFeature",{featureId:a.UNSUPPORTED_FEATURES.errorFontMissing}),(0,a.warn)("".concat(v," -- attempting to fallback to a default font.")),c=u||e.fallbackFontDict}if(this.parsingType3Font&&this.type3FontRefs.has(c))return d();if(this.fontCache.has(c))return this.fontCache.get(c);if(!((r=g.fetchIfRef(c))instanceof i.Dict))return d();if(r.cacheKey&&this.fontCache.has(r.cacheKey))return this.fontCache.get(r.cacheKey);var b,y=(0,a.createPromiseCapability)();try{(b=this.preEvaluateFont(r)).cssFontInfo=f}catch(O){return(0,a.warn)('loadFont - preEvaluateFont failed: "'.concat(O,'".')),d()}var k,w=b,x=w.descriptor,S=w.hash,A=c instanceof i.Ref;if(A&&(k="f".concat(c.toString())),S&&x instanceof i.Dict){x.fontAliases||(x.fontAliases=Object.create(null));var C=x.fontAliases;if(C[S]){var F=C[S].aliasRef;if(A&&F&&this.fontCache.has(F))return this.fontCache.putAlias(c,F),this.fontCache.get(c)}else C[S]={fontID:this.idFactory.createFontId()};A&&(C[S].aliasRef=c),k=C[S].fontID}return A?this.fontCache.put(c,y.promise):(k||(k=this.idFactory.createFontId()),r.cacheKey="cacheKey_".concat(k),this.fontCache.put(r.cacheKey,y.promise)),(0,a.assert)(k&&k.startsWith("f"),'The "fontID" must be (correctly) defined.'),r.loadedName="".concat(this.idFactory.getDocId(),"_").concat(k),this.translateFont(b).then((function(e){void 0!==e.fontType&&g.stats.addFontType(e.fontType),y.resolve(new X({loadedName:r.loadedName,font:e,dict:r,evaluatorOptions:l.options}))})).catch((function(e){l.handler.send("UnsupportedFeature",{featureId:a.UNSUPPORTED_FEATURES.errorFontTranslate}),(0,a.warn)('loadFont - translateFont failed: "'.concat(e,'".'));try{var t=x&&x.get("FontFile3"),n=t&&t.get("Subtype"),i=(0,s.getFontType)(b.type,n&&n.name);void 0!==i&&g.stats.addFontType(i)}catch(c){}y.resolve(new X({loadedName:r.loadedName,font:new o.ErrorFont(e instanceof Error?e.message:e),dict:r,evaluatorOptions:l.options}))})),y.promise}},{key:"buildPath",value:function(e,t,r){var n,i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=e.length-1;if(r||(r=[]),o<0||e.fnArray[o]!==a.OPS.constructPath)i&&((0,a.warn)('Encountered path operator "'.concat(t,'" inside of a text object.')),e.addOp(a.OPS.save,null)),n=[1/0,-1/0,1/0,-1/0],e.addOp(a.OPS.constructPath,[[t],r,n]),i&&e.addOp(a.OPS.restore,null);else{var s=e.argsArray[o];s[0].push(t),Array.prototype.push.apply(s[1],r),n=s[2]}switch(t){case a.OPS.rectangle:n[0]=Math.min(n[0],r[0],r[0]+r[2]),n[1]=Math.max(n[1],r[0],r[0]+r[2]),n[2]=Math.min(n[2],r[1],r[1]+r[3]),n[3]=Math.max(n[3],r[1],r[1]+r[3]);break;case a.OPS.moveTo:case a.OPS.lineTo:n[0]=Math.min(n[0],r[0]),n[1]=Math.max(n[1],r[0]),n[2]=Math.min(n[2],r[1]),n[3]=Math.max(n[3],r[1])}}},{key:"parseColorSpace",value:function(e){var t=this,r=e.cs,n=e.resources,i=e.localColorSpaceCache;return F.ColorSpace.parseAsync({cs:r,xref:this.xref,resources:n,pdfFunctionFactory:this._pdfFunctionFactory,localColorSpaceCache:i}).catch((function(e){if(e instanceof a.AbortException)return null;if(t.options.ignoreErrors)return t.handler.send("UnsupportedFeature",{featureId:a.UNSUPPORTED_FEATURES.errorColorSpace}),(0,a.warn)('parseColorSpace - ignoring ColorSpace: "'.concat(e,'".')),null;throw e}))}},{key:"parseShading",value:function(e){var t=e.shading,r=e.resources,a=e.localColorSpaceCache,n=e.localShadingPatternCache,i=n.get(t);if(!i){var o=f.Pattern.parseShading(t,this.xref,r,this.handler,this._pdfFunctionFactory,a).getIR();i="pattern_".concat(this.idFactory.createObjId()),n.set(t,i),this.handler.send("obj",[i,this.pageIndex,"Pattern",o])}return i}},{key:"handleColorN",value:function(e,t,r,n,o,s,c,l,u,h){var d=r.pop();if(d instanceof i.Name){var g=o.getRaw(d.name),p=g instanceof i.Ref&&u.getByRef(g);if(p)try{var m=n.base?n.base.getRgb(r,0):null,v=(0,f.getTilingPatternIR)(p.operatorListIR,p.dict,m);return void e.addOp(t,v)}catch(F){}var b=this.xref.fetchIfRef(g);if(b){var y=b instanceof A.BaseStream?b.dict:b,k=y.get("PatternType");if(k===B){var w=n.base?n.base.getRgb(r,0):null;return this.handleTilingType(t,w,s,b,y,e,c,u)}if(k===L){var x=y.get("Shading"),S=y.getArray("Matrix"),C=this.parseShading({shading:x,resources:s,localColorSpaceCache:l,localShadingPatternCache:h});return void e.addOp(t,["Shading",C,S])}throw new a.FormatError("Unknown PatternType: ".concat(k))}}throw new a.FormatError("Unknown PatternName: ".concat(d))}},{key:"_parseVisibilityExpression",value:function(e,t,r){if(++t>10)(0,a.warn)("Visibility expression is too deeply nested");else{var n=e.length,o=this.xref.fetchIfRef(e[0]);if(!(n<2)&&o instanceof i.Name){switch(o.name){case"And":case"Or":case"Not":r.push(o.name);break;default:return void(0,a.warn)("Invalid operator ".concat(o.name," in visibility expression"))}for(var s=1;s<n;s++){var c=e[s],l=this.xref.fetchIfRef(c);if(Array.isArray(l)){var u=[];r.push(u),this._parseVisibilityExpression(l,t,u)}else c instanceof i.Ref&&r.push(c.toString())}}else(0,a.warn)("Invalid visibility expression")}}},{key:"parseMarkedContentProps",value:function(){var e=p(h().mark((function e(t,r){var n,o,s,c,l,u,f,g,p,m;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(t instanceof i.Name)){e.next=5;break}o=r.get("Properties"),n=o.get(t.name),e.next=10;break;case 5:if(!(t instanceof i.Dict)){e.next=9;break}n=t,e.next=10;break;case 9:throw new a.FormatError("Optional content properties malformed.");case 10:if("OCG"!==(s=n.get("Type").name)){e.next=15;break}return e.abrupt("return",{type:s,id:n.objId});case 15:if("OCMD"!==s){e.next=31;break}
2if(c=n.get("VE"),!Array.isArray(c)){e.next=22;break}if(l=[],this._parseVisibilityExpression(c,0,l),!(l.length>0)){e.next=22;break}return e.abrupt("return",{type:"OCMD",expression:l});case 22:if(u=n.get("OCGs"),!(Array.isArray(u)||u instanceof i.Dict)){e.next=29;break}if(f=[],Array.isArray(u)){g=d(u);try{for(g.s();!(p=g.n()).done;)m=p.value,f.push(m.toString())}catch(h){g.e(h)}finally{g.f()}}else f.push(u.objId);return e.abrupt("return",{type:s,ids:f,policy:n.get("P")instanceof i.Name?n.get("P").name:null,expression:null});case 29:if(!(u instanceof i.Ref)){e.next=31;break}return e.abrupt("return",{type:s,id:u.toString()});case 31:return e.abrupt("return",null);case 32:case"end":return e.stop()}}),e,this)})));return function(t,r){return e.apply(this,arguments)}}()},{key:"getOperatorList",value:function(e){var t=this,r=e.stream,n=e.task,o=e.resources,s=e.operatorList,c=e.initialState,l=void 0===c?null:c,u=e.fallbackFontDict,h=void 0===u?null:u;if(o=o||i.Dict.empty,l=l||new z,!s)throw new Error('getOperatorList: missing "operatorList" parameter');var f=this,d=this.xref,g=!1,p=new x.LocalImageCache,m=new x.LocalColorSpaceCache,v=new x.LocalGStateCache,b=new x.LocalTilingPatternCache,y=new Map,k=o.get("XObject")||i.Dict.empty,w=o.get("Pattern")||i.Dict.empty,S=new H(l),C=new G(r,d,S),O=new U;function I(e){for(var t=0,r=C.savedStatesDepth;t<r;t++)s.addOp(a.OPS.restore,[])}return new Promise((function e(t,r){var c=function(a){Promise.all([a,s.ready]).then((function(){try{e(t,r)}catch(a){r(a)}}),r)};n.ensureNotTerminated(),O.reset();for(var l,u,x,T,M,P,E={};!(l=O.check())&&(E.args=null,C.read(E));){var N=E.args,D=E.fn;switch(0|D){case a.OPS.paintXObject:if(P=N[0]instanceof i.Name,M=N[0].name,P){var B=p.getByName(M);if(B){s.addImageOps(B.fn,B.args,B.optionalContent),j(B),N=null;continue}}return void c(new Promise((function(e,t){if(!P)throw new a.FormatError("XObject must be referred to by name.");var r=k.getRaw(M);if(r instanceof i.Ref){var c=p.getByRef(r);if(c)return s.addImageOps(c.fn,c.args,c.optionalContent),j(c),void e();var l=f.globalImageCache.getData(r,f.pageIndex);if(l)return s.addDependency(l.objId),s.addImageOps(l.fn,l.args,l.optionalContent),void e();r=d.fetch(r)}if(!(r instanceof A.BaseStream))throw new a.FormatError("XObject should be a stream");var u=r.dict.get("Subtype");if(!(u instanceof i.Name))throw new a.FormatError("XObject should have a Name subtype");if("Form"===u.name)return S.save(),void f.buildFormXObject(o,r,null,s,n,S.state.clone(),m).then((function(){S.restore(),e()}),t);if("Image"!==u.name){if("PS"!==u.name)throw new a.FormatError("Unhandled XObject subtype ".concat(u.name));(0,a.info)("Ignored XObject subtype PS"),e()}else f.buildPaintImageXObject({resources:o,image:r,operatorList:s,cacheKey:M,localImageCache:p,localColorSpaceCache:m}).then(e,t)})).catch((function(e){if(!(e instanceof a.AbortException)){if(f.options.ignoreErrors)return f.handler.send("UnsupportedFeature",{featureId:a.UNSUPPORTED_FEATURES.errorXObject}),void(0,a.warn)('getOperatorList - ignoring XObject: "'.concat(e,'".'));throw e}})));case a.OPS.setFont:var L=N[1];return void c(f.handleSetFont(o,N,null,s,n,S.state,h).then((function(e){s.addDependency(e),s.addOp(a.OPS.setFont,[e,L])})));case a.OPS.beginText:g=!0;break;case a.OPS.endText:g=!1;break;case a.OPS.endInlineImage:var _=N[0].cacheKey;if(_){var U=p.getByName(_);if(U){s.addImageOps(U.fn,U.args,U.optionalContent),j(U),N=null;continue}}return void c(f.buildPaintImageXObject({resources:o,image:N[0],isInline:!0,operatorList:s,cacheKey:_,localImageCache:p,localColorSpaceCache:m}));case a.OPS.showText:if(!S.state.font){f.ensureStateFont(S.state);continue}N[0]=f.handleText(N[0],S.state);break;case a.OPS.showSpacedText:if(!S.state.font){f.ensureStateFont(S.state);continue}var $=N[0],X=[],H=$.length,q=S.state;for(u=0;
2u<H;++u){var z=$[u];"string"===typeof z?Array.prototype.push.apply(X,f.handleText(z,q)):"number"===typeof z&&X.push(z)}N[0]=X,D=a.OPS.showText;break;case a.OPS.nextLineShowText:if(!S.state.font){f.ensureStateFont(S.state);continue}s.addOp(a.OPS.nextLine),N[0]=f.handleText(N[0],S.state),D=a.OPS.showText;break;case a.OPS.nextLineSetSpacingShowText:if(!S.state.font){f.ensureStateFont(S.state);continue}s.addOp(a.OPS.nextLine),s.addOp(a.OPS.setWordSpacing,[N.shift()]),s.addOp(a.OPS.setCharSpacing,[N.shift()]),N[0]=f.handleText(N[0],S.state),D=a.OPS.showText;break;case a.OPS.setTextRenderingMode:S.state.textRenderingMode=N[0];break;case a.OPS.setFillColorSpace:var G=F.ColorSpace.getCached(N[0],d,m);if(G){S.state.fillColorSpace=G;continue}return void c(f.parseColorSpace({cs:N[0],resources:o,localColorSpaceCache:m}).then((function(e){e&&(S.state.fillColorSpace=e)})));case a.OPS.setStrokeColorSpace:var W=F.ColorSpace.getCached(N[0],d,m);if(W){S.state.strokeColorSpace=W;continue}return void c(f.parseColorSpace({cs:N[0],resources:o,localColorSpaceCache:m}).then((function(e){e&&(S.state.strokeColorSpace=e)})));case a.OPS.setFillColor:N=(T=S.state.fillColorSpace).getRgb(N,0),D=a.OPS.setFillRGBColor;break;case a.OPS.setStrokeColor:N=(T=S.state.strokeColorSpace).getRgb(N,0),D=a.OPS.setStrokeRGBColor;break;
2case a.OPS.setFillGray:S.state.fillColorSpace=F.ColorSpace.singletons.gray,N=F.ColorSpace.singletons.gray.getRgb(N,0),D=a.OPS.setFillRGBColor;break;case a.OPS.setStrokeGray:S.state.strokeColorSpace=F.ColorSpace.singletons.gray,N=F.ColorSpace.singletons.gray.getRgb(N,0),D=a.OPS.setStrokeRGBColor;break;case a.OPS.setFillCMYKColor:S.state.fillColorSpace=F.ColorSpace.singletons.cmyk,N=F.ColorSpace.singletons.cmyk.getRgb(N,0),D=a.OPS.setFillRGBColor;break;case a.OPS.setStrokeCMYKColor:S.state.strokeColorSpace=F.ColorSpace.singletons.cmyk,N=F.ColorSpace.singletons.cmyk.getRgb(N,0),D=a.OPS.setStrokeRGBColor;break;case a.OPS.setFillRGBColor:S.state.fillColorSpace=F.ColorSpace.singletons.rgb,N=F.ColorSpace.singletons.rgb.getRgb(N,0);break;case a.OPS.setStrokeRGBColor:S.state.strokeColorSpace=F.ColorSpace.singletons.rgb,N=F.ColorSpace.singletons.rgb.getRgb(N,0);break;case a.OPS.setFillColorN:if("Pattern"===(T=S.state.fillColorSpace).name)return void c(f.handleColorN(s,a.OPS.setFillColorN,N,T,w,o,n,m,b,y));N=T.getRgb(N,0),D=a.OPS.setFillRGBColor;break;case a.OPS.setStrokeColorN:if("Pattern"===(T=S.state.strokeColorSpace).name)return void c(f.handleColorN(s,a.OPS.setStrokeColorN,N,T,w,o,n,m,b,y));N=T.getRgb(N,0),D=a.OPS.setStrokeRGBColor;break;case a.OPS.shadingFill:var V=o.get("Shading");if(!V)throw new a.FormatError("No shading resource found");var K=V.get(N[0].name);if(!K)throw new a.FormatError("No shading object found");N=[f.parseShading({shading:K,resources:o,localColorSpaceCache:m,localShadingPatternCache:y})],D=a.OPS.shadingFill;break;case a.OPS.setGState:if(P=N[0]instanceof i.Name,M=N[0].name,P){var Y=v.getByName(M);if(Y){Y.length>0&&s.addOp(a.OPS.setGState,[Y]),N=null;continue}}return void c(new Promise((function(e,t){if(!P)throw new a.FormatError("GState must be referred to by name.");var r=o.get("ExtGState");if(!(r instanceof i.Dict))throw new a.FormatError("ExtGState should be a dictionary.");var c=r.get(M);if(!(c instanceof i.Dict))throw new a.FormatError("GState should be a dictionary.");f.setGState({resources:o,gState:c,operatorList:s,cacheKey:M,task:n,stateManager:S,localGStateCache:v,localColorSpaceCache:m}).then(e,t)})).catch((function(e){if(!(e instanceof a.AbortException)){if(f.options.ignoreErrors)return f.handler.send("UnsupportedFeature",{featureId:a.UNSUPPORTED_FEATURES.errorExtGState}),void(0,a.warn)('getOperatorList - ignoring ExtGState: "'.concat(e,'".'));throw e}})));case a.OPS.moveTo:case a.OPS.lineTo:case a.OPS.curveTo:case a.OPS.curveTo2:case a.OPS.curveTo3:case a.OPS.closePath:case a.OPS.rectangle:f.buildPath(s,D,N,g);continue;case a.OPS.markPoint:case a.OPS.markPointProps:case a.OPS.beginCompat:case a.OPS.endCompat:continue;case a.OPS.beginMarkedContentProps:if(!(N[0]instanceof i.Name)){(0,a.warn)("Expected name for beginMarkedContentProps arg0=".concat(N[0]));continue}if("OC"===N[0].name)return void c(f.parseMarkedContentProps(N[1],o).then((function(e){s.addOp(a.OPS.beginMarkedContentProps,["OC",e])})).catch((function(e){if(!(e instanceof a.AbortException)){if(f.options.ignoreErrors)return f.handler.send("UnsupportedFeature",{featureId:a.UNSUPPORTED_FEATURES.errorMarkedContent}),void(0,a.warn)('getOperatorList - ignoring beginMarkedContentProps: "'.concat(e,'".'));throw e}})));N=[N[0].name,N[1]instanceof i.Dict?N[1].get("MCID"):null];break;case a.OPS.beginMarkedContent:case a.OPS.endMarkedContent:default:if(null!==N){for(u=0,x=N.length;u<x&&!(N[u]instanceof i.Dict);u++);if(u<x){(0,a.warn)("getOperatorList - ignoring operator: "+D);continue}}}s.addOp(D,N)}l?c(R):(I(),t())})).catch((function(e){if(!(e instanceof a.AbortException)){if(t.options.ignoreErrors)return t.handler.send("UnsupportedFeature",{featureId:a.UNSUPPORTED_FEATURES.errorOperatorList}),(0,a.warn)('getOperatorList - ignoring errors during "'.concat(n.name,'" ')+'task: "'.concat(e,'".')),void I();throw e}}))}},{key:"getTextContent",value:function(e){var t=this,r=e.stream,n=e.task,o=e.resources,s=e.stateManager,c=void 0===s?null:s,l=e.combineTextItems,h=void 0!==l&&l,f=e.includeMarkedContent,d=void 0!==f&&f,p=e.sink,m=e.seenStyles,v=void 0===m?new Set:m,b=e.viewBox;o=o||i.Dict.empty,c=c||new H(new q);var y=(0,u.getNormalizedUnicodes)(),k={items:[],styles:Object.create(null)},w={initialized:!1,str:[],totalWidth:0,totalHeight:0,width:0,height:0,vertical:!1,prevTransform:null,textAdvanceScale:0,spaceInFlowMin:0,spaceInFlowMax:0,trackingSpaceMin:1/0,negativeSpaceMa
2x:-1/0,notASpace:-1/0,transform:null,fontName:null,hasEOL:!1},S=[" "," "],F=0;function O(e){var t=(F+1)%2,r=" "!==S[F]&&" "===S[t];return S[F]=e,F=t,r}function I(){S[0]=S[1]=" ",F=0}var T,M=.1,P=.03,E=-.2,N=.1,D=.6,B=this,L=this.xref,_=[],j=null,$=new x.LocalImageCache,X=new x.LocalGStateCache,z=new G(r,L,c);function W(){var e=T.font,t=[T.fontSize*T.textHScale,0,0,T.fontSize,0,T.textRise];if(e.isType3Font&&(T.fontSize<=1||e.isCharBBox)&&!(0,a.isArrayEqual)(T.fontMatrix,a.FONT_IDENTITY_MATRIX)){var r=e.bbox[3]-e.bbox[1];r>0&&(t[3]*=r*T.fontMatrix[3])}return a.Util.transform(T.ctm,a.Util.transform(T.textMatrix,t))}function V(){if(w.initialized)return w;var e=T.font,t=e.loadedName;v.has(t)||(v.add(t),k.styles[t]={fontFamily:e.fallbackName,ascent:e.ascent,descent:e.descent,vertical:e.vertical}),w.fontName=t;var r=w.transform=W();e.vertical?(w.width=w.totalWidth=Math.hypot(r[0],r[1]),w.height=w.totalHeight=0,w.vertical=!0):(w.width=w.totalWidth=0,w.height=w.totalHeight=Math.hypot(r[2],r[3]),w.vertical=!1);var a=Math.hypot(T.textLineMatr
2ix[0],T.textLineMatrix[1]),n=Math.hypot(T.ctm[0],T.ctm[1]);return w.textAdvanceScale=n*a,w.trackingSpaceMin=T.fontSize*M,w.notASpace=T.fontSize*P,w.negativeSpaceMax=T.fontSize*E,w.spaceInFlowMin=T.fontSize*N,w.spaceInFlowMax=T.fontSize*D,w.hasEOL=!1,w.initialized=!0,w}function K(){if(w.initialized){var e=Math.hypot(T.textLineMatrix[0],T.textLineMatrix[1]),t=Math.hypot(T.ctm[0],T.ctm[1])*e;t!==w.textAdvanceScale&&(w.vertical?(w.totalHeight+=w.height*w.textAdvanceScale,w.height=0):(w.totalWidth+=w.width*w.textAdvanceScale,w.width=0),w.textAdvanceScale=t)}}function Y(e,t){return B.loadFont(e,t,o).then((function(e){return e.font.isType3Font?e.loadType3Data(B,o,n).catch((function(){})).then((function(){return e})):e})).then((function(e){T.font=e.font,T.fontMatrix=e.font.fontMatrix||a.FONT_IDENTITY_MATRIX}))}function J(e,t,r){var a=Math.hypot(r[0],r[1]);return[(r[0]*e+r[1]*t)/a,(r[2]*e+r[3]*t)/a]}function Z(){var e=W(),t=e[4],r=e[5],a=t-b[0],n=r-b[1];if(a<0||a>b[2]||n<0||n>b[3])return!1;if(!h||!T.font||!w.prevTransform)return!0;var i=w.prevTransform[4],o=w.prevTransform[5];if(i===t&&o===r)return!0;var s=-1;switch(e[0]&&0===e[1]&&0===e[2]?s=e[0]>0?0:180:e[1]&&0===e[0]&&0===e[3]&&(s=e[1]>0?90:270),s){case 0:break;case 90:var c=[r,t];t=c[0],r=c[1];var l=[o,i];i=l[0],o=l[1];break;case 180:var u=[-t,-r,-i,-o];t=u[0],r=u[1],i=u[2],o=u[3];break;case 270:var f=[-r,-t];t=f[0],r=f[1];var d=[-o,-i];i=d[0],o=d[1];break;default:var p=J(t,r,e),m=g(p,2);t=m[0],r=m[1];var v=J(i,o,w.prevTransform),y=g(v,2);i=y[0],o=y[1]}if(T.font.vertical){var x=(o-r)/w.textAdvanceScale,S=t-i,A=Math.sign(w.height);return x<A*w.negativeSpaceMax?Math.abs(S)>.5*w.width?(ee(),!0):(I(),re(),!0):Math.abs(S)>w.width?(ee(),!0):(x<=A*w.notASpace&&I(),x<=A*w.trackingSpaceMin?w.height+=x:te(x,w.prevTransform,A)||(0===w.str.length?(
2I(),k.items.push({str:" ",dir:"ltr",width:0,height:Math.abs(x),transform:w.prevTransform,fontName:w.fontName,hasEOL:!1})):w.height+=x),!0)}var C=(t-i)/w.textAdvanceScale,F=r-o,O=Math.sign(w.width);return C<O*w.negativeSpaceMax?Math.abs(F)>.5*w.height?(ee(),!0):(I(),re(),!0):Math.abs(F)>w.height?(ee(),!0):(C<=O*w.notASpace&&I(),C<=O*w.trackingSpaceMin?w.width+=C:te(C,w.prevTransform,O)||(0===w.str.length?(I(),k.items.push({str:" ",dir:"ltr",width:Math.abs(C),height:0,transform:w.prevTransform,fontName:w.fontName,hasEOL:!1})):w.width+=C),!0)}function Q(e){var t=e.chars,r=e.extraSpacing,a=T.font;if(t)for(var n=a.charsToGlyphs(t),i=T.fontMatrix[0]*T.fontSize,o=0,s=n.length;o<s;o++){var c=n[o];if(!c.isInvisibleFormatMark){var l=T.charSpacing+(o+1===s?r:0),h=c.width;a.vertical&&(h=c.vmetric?c.vmetric[0]:-h);var f=h*i;if(c.isWhitespace)a.vertical?(l+=-f+T.wordSpacing,T.translateTextMatrix(0,-l)):(l+=f+T.wordSpacing,T.translateTextMatrix(l*T.textHScale,0)),O(" ");else if(Z()){var d=V();c.isZeroWidthDiacritic&&(f=0),a.vertical?(T.translateTextMatrix(0,f),f=Math.abs(f),d.height+=f):(f*=T.textHScale,T.translateTextMatrix(f,0),d.width+=f),f&&(d.prevTransform=W());var g=c.unicode;g=y[g]||g,O(g=(0,u.reverseIfRtl)(g))&&d.str.push(" "),d.str.push(g),l&&(a.vertical?T.translateTextMatrix(0,-l):T.translateTextMatrix(l*T.textHScale,0))}}}else{var p=T.charSpacing+r;p&&(a.vertical?T.translateTextMatrix(0,-p):T.translateTextMatrix(p*T.textHScale,0))}}function ee(){I(),w.initialized?(w.hasEOL=!0,re()):k.items.push({str:"",dir:"ltr",width:0,height:0,transform:W(),fontName:T.font.loadedName,hasEOL:!0})}function te(e,t,r){if(r*w.spaceInFlowMin<=e&&e<=r*w.spaceInFlowMax)return w.initialized&&(I(),w.str.push(" ")),!1;var a=w.fontName,n=0;return w.vertical&&(n=e,e=0),re(),I(),k.items.push({str:" ",dir:"ltr",width:Math.abs(e),height:Math.abs(n),transform:t||W(),fontName:a,hasEOL:!1}),!0}function re(){w.initialized&&w.str&&(w.vertical?w.totalHeight+=w.height*w.textAdvanceScale:w.totalWidth+=w.width*w.textAdvanceScale,k.items.push(function(e){var t=e.str.join(""),r=(0,C.bidi)(t,-1,e.vertical);return{str:r.str,dir:r.dir,width:Math.abs(e.totalWidth),height:Math.abs(e.totalHeight),transform:e.transform,fontName:e.fontName,hasEOL:e.hasEOL}}(w)),w.initialized=!1,w.str.length=0)}function ae(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=k.items.length;0!==t&&(e&&t<10||(p.enqueue(k,t),k.items=[],k.styles=Object.create(null)))}var ne=new U;return new Promise((function e(t,r){var s=function(a){ae(!0),Promise.all([a,p.ready]).then((function(){try{e(t,r)}catch(a){r(a)}}),r)};n.ensureNotTerminated(),ne.reset();for(var l,u={},f=[];!(l=ne.check())&&(f.length=0,u.args=f,z.read(u));){T=c.state;var g=u.fn;switch(f=u.args,0|g){case a.OPS.setFont:var m=f[0].name,y=f[1];if(T.font&&m===T.fontName&&y===T.fontSize)break;return re(),T.fontName=m,T.fontSize=y,void s(Y(m,null));case a.OPS.setTextRise:T.textRise=f[0];break;case a.OPS.setHScale:T.textHScale=f[0]/100;break;case a.OPS.setLeading:T.leading=f[0];break;case a.OPS.moveText:T.translateTextLineMatrix(f[0],f[1]),T.textMatrix=T.textLineMatr
2ix.slice();break;case a.OPS.setLeadingMoveText:T.leading=-f[1],T.translateTextLineMatrix(f[0],f[1]),T.textMatrix=T.textLineMatrix.slice();break;case a.OPS.nextLine:T.carriageReturn();break;case a.OPS.setTextMatrix:T.setTextMatrix(f[0],f[1],f[2],f[3],f[4],f[5]),T.setTextLineMatrix(f[0],f[1],f[2],f[3],f[4],f[5]),K();break;case a.OPS.setCharSpacing:T.charSpacing=f[0];break;case a.OPS.setWordSpacing:T.wordSpacing=f[0];break;case a.OPS.beginText:T.textMatrix=a.IDENTITY_MATRIX.slice(),T.textLineMatrix=a.IDENTITY_MATRIX.slice();break;case a.OPS.showSpacedText:if(!c.state.font){B.ensureStateFont(c.state);continue}for(var w=(T.font.vertical?1:-1)*T.fontSize/1e3,x=f[0],S=0,C=x.length;S<C-1;S++){var F=x[S];if("string"===typeof F)_.push(F);else if("number"===typeof F&&0!==F){var O=_.join("");_.length=0,Q({chars:O,extraSpacing:F*w})}}var I=x.at(-1);if("string"===typeof I&&_.push(I),_.length>0){var M=_.join("");_.length=0,Q({chars:M,extraSpacing:0})}break;case a.OPS.showText:if(!c.state.font){B.ensureStateFont(c.state);continue}Q({chars:f[0],extraSpacing:0});break;case a.OPS.nextLineShowText:if(!c.state.font){B.ensureStateFont(c.state);continue}T.carriageReturn(),Q({chars:f[0],extraSpacing:0});break;case a.OPS.nextLineSetSpacingShowText:if(!c.state.font){B.ensureStateFont(c.state);continue}T.wordSpacing=f[0],T.charSpacing=f[1],T.carriageReturn(),Q({chars:f[2],extraSpacing:0});break;case a.OPS.paintXObject:re(),j||(j=o.get("XObject")||i.Dict.empty);var P=f[0]instanceof i.Name,E=f[0].name;if(P&&$.getByName(E))break;return void s(new Promise((function(e,t){if(!P)throw new a.FormatError("XObject must be referred to by name.");var r=j.getRaw(E);if(r instanceof i.Ref){if($.getByRef(r))return void e();if(B.globalImageCache.getData(r,B.pageIndex))return void e();r=L.fetch(r)}if(!(r instanceof A.BaseStream))throw new a.FormatError("XObject should be a stream");var s=r.dict.get("Subtype");if(!(s instanceof i.Name))throw new a.FormatError("XObject should have a Name subtype");if("Form"!==s.name)return $.set(E,r.dict.objId,!0),void e();var l=c.state.clone(),u=new H(l),f=r.dict.getArray("Matrix");Array.isArray(f)&&6===f.length&&u.transform(f),ae();var g={enqueueInvoked:!1,enqueue:function(e,t){this.enqueueInvoked=!0,p.enqueue(e,t)},get desiredSize(){return p.desiredSize},get ready(){return p.ready}};B.getTextContent({stream:r,task:n,resources:r.dict.get("Resources")||o,stateManager:u,combineTextItems:h,includeMarkedContent:d,sink:g,seenStyles:v,viewBox:b}).then((function(){g.enqueueInvoked||$.set(E,r.dict.objId,!0),e()}),t)})).catch((function(e){if(!(e instanceof a.AbortException)){if(!B.options.ignoreErrors)throw e;(0,a.warn)('getTextContent - ignoring XObject: "'.concat(e,'".'))}})));case a.OPS.setGState:if(P=f[0]instanceof i.Name,E=f[0].name,P&&X.getByName(E))break;return void s(new Promise((function(e,t){if(!P)throw new a.FormatError("GState must be referred to by name.");var r=o.get("ExtGState");if(!(r instanceof i.Dict))throw new a.FormatError("ExtGState should be a dictionary.");var n=r.get(E);if(!(n instanceof i.Dict))throw new a.FormatError("GState should be a dictionary.");var s=n.get("Font");if(!s)return X.set(E,n.objId,!0),void e();re(),T.fontName=null,T.fontSize=s[1],Y(null,s[0]).then(e,t)})).catch((function(e){if(!(e instanceof a.AbortException)){if(!B.options.ignoreErrors)throw e;(0,a.warn)('getTextContent - ignoring ExtGState: "'.concat(e,'".'))}})));case a.OPS.beginMarkedContent:re(),d&&k.items.push({type:"beginMarkedContent",tag:f[0]instanceof i.Name?f[0].name:null});break;case a.OPS.beginMarkedContentProps:if(re(),d){var N=null;f[1]instanceof i.Dict&&(N=f[1].get("MCID")),k.items.push({type:"beginMarkedContentProps",id:Number.isInteger(N)?"".concat(B.idFactory.getPageObjId(),"_mcid").concat(N):null,tag:f[0]instanceof i.Name?f[0].name:null})}break;case a.OPS.endMarkedContent:re(),d&&k.items.push({type:"endMarkedContent"})}if(k.items.length>=p.desiredSize){l=!0;break}}l?s(R):(re(),ae(),t())})).catch((function(e){if(!(e instanceof a.AbortException)){if(t.options.ignoreErrors)return(0,a.warn)('getTextContent - ignoring errors during "'.concat(n.name,'" ')+'task: "'.concat(e,'".')),re(),void ae();throw e}}))}},{key:"extractDataStructures",value:function(e,t,r){var n,o=this,l=this.xref,u=this.readToUnicode(r.toUnicode||e.get("ToUnicode")||t.get("ToUnicode"));if(r.composite){var h=e.get("CIDSystemInfo");h instanceof i.Dict&&(r.cidSystemInfo={registry:(0,a.stringToPDFString)(h.get("Registry")),ordering:(0,a.stringToPDFString)(h.get("Ordering")),supplement:h.get("Supplement")});try{var f=e.get("CIDToGIDMap");f instanceof A.BaseStream&&(n=f.getBytes())}catch(C){if(!this.options.ignoreErrors)throw C;(0,a.warn)('extractDataStructures - ignoring CIDToGIDMap data: "'.concat(C,'".'))}}var d,g=[],p=null;if(e.has("Encoding")){if((d=e.get("Encoding"))instanceof i.Dict){if(p=(p=d.get("BaseEncoding"))instanceof i.Name?p.name:null,d.has("Differences"))for(var m=d.get("Differences"),v=0,b=0,y=m.length;b<y;b++){var k=l.fetchIfRef(m[b]);if("number"===typeof k)v=k;else{if(!(k instanceof i.Name))throw new a.FormatError("Invalid entry in 'Differences' array: ".concat(k));g[v++]=k.name}}}else if(d instanceof i.Name)p=d.name;else{var w="Encoding is not a Name nor a Dict";if(!this.options.ignoreErrors)throw new a.FormatError(w);(0,a.warn)(w)}"MacRomanEncoding"!==p&&"MacExpertEncoding"!==p&&"WinAnsiEncoding"!==p&&
2(p=null)}if(p)r.defaultEncoding=(0,c.getEncoding)(p);else{var x=!!(r.flags&s.FontFlags.Symbolic),S=!!(r.flags&s.FontFlags.Nonsymbolic);d=c.StandardEncoding,"TrueType"!==r.type||S||(d=c.WinAnsiEncoding),x&&(d=c.MacRomanEncoding,r.file&&!r.isInternalFont||(/Symbol/i.test(r.name)?d=c.SymbolSetEncoding:/Dingbats|Wingdings/i.test(r.name)&&(d=c.ZapfDingbatsEncoding))),r.defaultEncoding=d}return r.differences=g,r.baseEncodingName=p,r.hasEncoding=!!p||g.length>0,r.dict=e,u.then((function(e){return r.toUnicode=e,o.buildToUnicode(r)})).then((function(e){return r.toUnicode=e,n&&(r.cidToGidMap=o.readCidToGidMap(n,e)),r}))}},{key:"_simpleFontToUnicode",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];(0,a.assert)(!e.composite,"Must be a simple font.");var r=[],n=e.defaultEncoding.slice(),i=e.baseEncodingName,o=e.differences;for(var s in o){var l=o[s];".notdef"!==l&&(n[s]=l)}var h=(0,I.getGlyphsUnicode)();for(var f in n){var d=n[f];if(""!==d)if(void 0!==h[d])r[f]=String.fromCharCode(h[d]);else{var g=0;switch(d[0]){case"G":3===d.length&&(g=parseInt(d.substring(1),16));break;case"g":5===d.length&&(g=parseInt(d.substring(1),16));break;case"C":case"c":if(d.length>=3&&d.length<=4){var p=d.substring(1);if(t){g=parseInt(p,16);break}if(g=+p,Number.isNaN(g)&&Number.isInteger(parseInt(p,16)))return this._simpleFontToUnicode(e,!0)}break;default:var m=(0,u.getUnicodeForGlyph)(d,h);-1!==m&&(g=m)}if(g>0&&g<=1114111&&Number.isInteger(g)){if(i&&g===+f){var v=(0,c.getEncoding)(i);if(v&&(d=v[f])){r[f]=String.fromCharCode(h[d]);continue}}r[f]=String.fromCodePoint(g)}}}return r}},{key:"buildToUnicode",value:function(){var e=p(h().mark((function e(t){var r,o,s,c,l,u;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.hasIncludedToUnicodeMap=!!t.toUnicode&&t.toUnicode.length>0,!t.hasIncludedToUnicodeMap){e.next=4;break}return!t.composite&&t.hasEncoding&&(t.fallbackToUnicode=this._simpleFontToUnicode(t)),e.abrupt("return",t.toUnicode);case 4:if(t.composite){e.next=6;break}return e.abrupt("return",new y.ToUnicodeMap(this._simpleFontToUnicode(t)));case 6:if(!t.composite||(!t.cMap.builtInCMap||t.cMap instanceof n.IdentityCMap)&&("Adobe"!==t.cidSystemInfo.registry||"GB1"!==t.cidSystemInfo.ordering&&"CNS1"!==t.cidSystemInfo.ordering&&"Japan1"!==t.cidSystemInfo.ordering&&"Korea1"!==t.cidSystemInfo.ordering)){e.next=15;break}return r=t.cidSystemInfo,o=r.registry,s=r.ordering,c=i.Name.get("".concat(o,"-").concat(s,"-UCS2")),e.next=11,n.CMapFactory.create({encoding:c,fetchBuiltInCMap:this._fetchBuiltInCMapBound,useCMap:null});case 11:return l=e.sent,u=[],t.cMap.forEach((function(e,t){if(t>65535)throw new a.FormatError("Max size of CID is 65,535");var r=l.lookup(t);r&&(u[e]=String.fromCharCode((r.charCodeAt(0)<<8)+r.charCodeAt(1)))})),e.abrupt("return",new y.ToUnicodeMap(u));case 15:return e.abrupt("return",new y.IdentityToUnicodeMap(t.firstChar,t.lastChar));case 16:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"readToUnicode",value:function(e){var t=this;return e?e instanceof i.Name?n.CMapFactory.create({encoding:e,fetchBuiltInCMap:this._fetchBuiltInCMapBound,useCMap:null}).then((function(e){return e instanceof n.IdentityCMap?new y.IdentityToUnicodeMap(0,65535):new y.ToUnicodeMap(e.getMap())})):e instanceof A.BaseStream?n.CMapFactory.create({encoding:e,fetchBuiltInCMap:this._fetchBuiltInCMapBound,useCMap:null}).then((function(e){if(e instanceof n.IdentityCMap)return new y.IdentityToUnicodeMap(0,65535);var t=new Array(e.length);return e.forEach((function(e,r){if("number"!==typeof r){for(var a=[],n=0;n<r.length;n+=2){var i=r.charCodeAt(n)<<8|r.charCodeAt(n+1);if(55296===(63488&i)){n+=2;var o=r.charCodeAt(n)<<8|r.charCodeAt(n+1);a.push(((1023&i)<<10)+(1023&o)+65536)}else a.push(i)}t[e]=String.fromCodePoint.apply(String,a)}else t[e]=String.fromCodePoint(r)})),new y.ToUnicodeMap(t)}),(function(e){if(e instanceof a.AbortException)return null;if(t.options.ignoreErrors)return t.handler.send("UnsupportedFeature",{featureId:a.UNSUPPORTED_FEATURES.errorFontToUnicode}),(0,a.warn)('readToUnicode - ignoring ToUnicode data: "'.concat(e,'".')),null;throw e})):Promise.resolve(null):Promise.resolve(null)}},{key:"readCidToGidMap",value:function(e,t){for(var r=[],a=0,n=e.length;a<n;a++){var i=e[a++]<<8|e[a],o=a>>1;(0!==i||t.has(o))&&(r[o]=i)}return r}},{key:"extractWidths",value:function(e,t,r){var a,n,o,c,l,u,h,f,d=this.xref,g=[],p=0,m=[];
2if(r.composite){if(p=e.has("DW")?e.get("DW"):1e3,f=e.get("W"))for(n=0,o=f.length;n<o;n++)if(u=d.fetchIfRef(f[n++]),h=d.fetchIfRef(f[n]),Array.isArray(h))for(c=0,l=h.length;c<l;c++)g[u++]=d.fetchIfRef(h[c]);else{var v=d.fetchIfRef(f[++n]);for(c=u;c<=h;c++)g[c]=v}if(r.vertical){var b=e.getArray("DW2")||[880,-1e3];if(a=[b[1],.5*p,b[0]],b=e.get("W2"))for(n=0,o=b.length;n<o;n++)if(u=d.fetchIfRef(b[n++]),h=d.fetchIfRef(b[n]),Array.isArray(h))for(c=0,l=h.length;c<l;c++)m[u++]=[d.fetchIfRef(h[c++]),d.fetchIfRef(h[c++]),d.fetchIfRef(h[c])];else{var y=[d.fetchIfRef(b[++n]),d.fetchIfRef(b[++n]),d.fetchIfRef(b[++n])];for(c=u;c<=h;c++)m[c]=y}}}else{var k=r.firstChar;if(f=e.get("Widths")){for(c=k,n=0,o=f.length;n<o;n++)g[c++]=d.fetchIfRef(f[n]);p=parseFloat(t.get("MissingWidth"))||0}else{var w=e.get("BaseFont");if(w instanceof i.Name){var x=this.getBaseFontMetrics(w.name);g=this.buildCharCodeToWidth(x.widths,r),p=x.defaultWidth}}}var S=!0,A=p;for(var C in g){var F=g[C];if(F)if(A){if(A!==F){S=!1;break}}else A=F}S&&(r.flags|=s.FontFlags.FixedPitch),r.defaultWidth=p,r.widths=g,r.defaultVMetrics=a,r.vmetrics=m}},{key:"isSerifFont",value:function(e){var t=e.split("-")[0];return t in(0,l.getSerifFonts)()||-1!==t.search(/serif/gi)}},{key:"getBaseFontMetrics",value:function(e){var t=0,r=Object.create(null),a=!1,n=(0,l.getStdFontMap)()[e]||e,i=(0,M.getMetrics)();n in i||(n=this.isSerifFont(e)?"Times-Roman":"Helvetica");var o=i[n];return"number"===typeof o?(t=o,a=!0):r=o(),{defaultWidth:t,monospace:a,widths:r}}},{key:"buildCharCodeToWidth",value:function(e,t){for(var r=Object.create(null),a=t.differences,n=t.defaultEncoding,i=0;i<256;i++)i in a&&e[a[i]]?r[i]=e[a[i]]:i in n&&e[n[i]]&&(r[i]=e[n[i]]);return r}},{key:"preEvaluateFont",value:function(e){var t=e,r=e.get("Subtype");if(!(r instanceof i.Name))throw new a.FormatError("invalid font Subtype");var n,o,s=!1;if("Type0"===r.name){var c=e.get("DescendantFonts");if(!c)throw new a.FormatError("Descendant fonts are not specified");if(!((e=Array.isArray(c)?this.xref.fetchIfRef(c[0]):c)instanceof i.Dict))throw new a.FormatError("Descendant font is not a dictionary.");if(!((r=e.get("Subtype"))instanceof i.Name))throw new a.FormatError("invalid font Subtype");s=!0}var l=e.get("FirstChar")||0,u=e.get("LastChar")||(s?65535:255),h=e.get("FontDescriptor");if(h){n=new P.MurmurHash3_64;var f=t.getRaw("Encoding");if(f instanceof i.Name)n.update(f.name);else if(f instanceof i.Ref)n.update(f.toString());else if(f instanceof i.Dict){var g,p=d(f.getRawValues());try{for(p.s();!(g=p.n()).done;){var m=g.value;if(m instanceof i.Name)n.update(m.name);else if(m instanceof i.Ref)n.update(m.toString());else if(Array.isArray(m)){for(var v=m.length,b=new Array(v),y=0;y<v;y++){var k=m[y];k instanceof i.Name?b[y]=k.name:("number"===typeof k||k instanceof i.Ref)&&(b[y]=k.toString())}n.update(b.join())}}}catch(U){p.e(U)}finally{p.f()}}if(n.update("".concat(l,"-").concat(u)),(o=e.get("ToUnicode")||t.get("ToUnicode"))instanceof A.BaseStream){var w=o.str||o,x=w.buffer?new Uint8Array(w.buffer.buffer,0,w.bufferLength):new Uint8Array(w.bytes.buffer,w.start,w.end-w.start);n.update(x)}else o instanceof i.Name&&n.update(o.name);var S=e.get("Widths")||t.get("Widths");if(Array.isArray(S)){var C,F=[],O=d(S);try{for(O.s();!(C=O.n()).done;){var I=C.value;("number"===typeof I||I instanceof i.Ref)&&F.push(I.toString())}}catch(U){O.e(U)}finally{O.f()}n.update(F.join())}if(s){n.update("compositeFont");var T=e.get("W")||t.get("W");if(Array.isArray(T)){var M,E=[],N=d(T);try{for(N.s();!(M=N.n()).done;){var D=M.value;if("number"===typeof D||D instanceof i.Ref)E.push(D.toString());else if(Array.isArray(D)){var B,L=[],R=d(D);try{for(R.s();!(B=R.n()).done;){var _=B.value;("number"===typeof _||_ instanceof i.Ref)&&L.push(_.toString())}}catch(U){R.e(U)}finally{R.f()}E.push("[".concat(L.join(),"]"))}}}catch(U){N.e(U)}finally{N.f()}n.update(E.join())}var j=e.getRaw("CIDToGIDMap")||t.getRaw("CIDToGIDMap");j instanceof i.Name?n.update(j.name):j instanceof i.Ref?n.update(j.toString()):j instanceof A.BaseStream&&n.update(j.peekBytes())}}return{descriptor:h,dict:e,baseDict:t,composite:s,type:r.name,firstChar:l,lastChar:u,toUnicode:o,hash:n?n.hexdigest():""}}},{key:"translateFont",value:function(){var e=p(h().mark((function e(t){var r,c,u,f,d,g,p,m,v,y,k,w,x,A,C,F,O,I,T,M,P,E,N,D,B,L,R,_,j,U,$,X,H,q,z,G=this;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=t.descriptor,c=t.dict,u=t.baseDict,f=t.composite,d=t.type,g=t.firstChar,p=t.lastChar,m=t.toUnicode,v=t.cssFontInfo,y="Type3"===d,r){e.next=27;break}if(!y){e.next=9;break}
2(r=new i.Dict(null)).set("FontName",i.Name.get(d)),r.set("FontBBox",c.getArray("FontBBox")||[0,0,0,0]),e.next=27;break;case 9:if((w=c.get("BaseFont"))instanceof i.Name){e.next=12;break}throw new a.FormatError("Base font is not specified");case 12:if(w=w.name.replace(/[,_]/g,"-"),x=this.getBaseFontMetrics(w),A=w.split("-")[0],C=(this.isSerifFont(A)?s.FontFlags.Serif:0)|(x.monospace?s.FontFlags.FixedPitch:0)|((0,l.getSymbolsFonts)()[A]?s.FontFlags.Symbolic:s.FontFlags.Nonsymbolic),k={type:d,name:w,loadedName:u.loadedName,widths:x.widths,defaultWidth:x.defaultWidth,isSimulatedFlags:!0,flags:C,firstChar:g,lastChar:p,toUnicode:m,xHeight:0,capHeight:0,italicAngle:0,isType3Font:y},F=c.get("Widths"),O=(0,l.getStandardFontName)(w),I=null,!O){e.next=26;break}return k.isStandardFont=!0,e.next=24,this.fetchStandardFontData(O);case 24:I=e.sent,k.isInternalFont=!!I;case 26:return e.abrupt("return",this.extractDataStructures(c,c,k).then((function(e){if(F){for(var t=[],r=g,a=0,n=F.length;a<n;a++)t[r++]=G.xref.fetchIfRef(F[a]);e.widths=t}else e.widths=G.buildCharCodeToWidth(x.widths,e);return new o.Font(w,I,e)})));case 27:if(T=r.get("FontName"),M=c.get("BaseFont"),"string"===typeof T&&(T=i.Name.get(T)),"string"===typeof M&&(M=i.Name.get(M)),y||(P=T&&T.name,E=M&&M.name,P!==E&&((0,a.info)("The FontDescriptor's FontName is \"".concat(P,'" but ')+"should be the same as the Font's BaseFont \"".concat(E,'".')),P&&E&&E.startsWith(P)&&(T=M))),(T=T||M)instanceof i.Name){e.next=35;break}throw new a.FormatError("invalid font name");case 35:e.prev=35,N=r.get("FontFile","FontFile2","FontFile3"),e.next=45;break;case 39:if(e.prev=39,e.t0=e.catch(35),this.options.ignoreErrors){e.next=43;break}throw e.t0;case 43:(0,a.warn)('translateFont - fetching "'.concat(T.name,'" font file: "').concat(e.t0,'".')),N=new S.NullStream;case 45:if(_=!1,j=!1,U=null,!N){e.next=52;break}N.dict&&(($=N.dict.get("Subtype"))instanceof i.Name&&(D=$.name),B=N.dict.get("Length1"),L=N.dict.get("Length2"),R=N.dict.get("Length3")),e.next=74;break;case 52:if(!v){e.next=66;break}if(!(X=(0,b.getXfaFontName)(T.name))){e.next=64;break}return v.fontFamily="".concat(v.fontFamily,"-PdfJS-XFA"),v.metrics=X.metrics||null,U=X.factors||null,e.next=60,this.fetchStandardFontData(X.name);case 60:N=e.sent,j=!!N,u=c=(0,b.getXfaFontDict)(T.name),f=!0;case 64:e.next=74;break;case 66:if(y){e.next=74;break}if(!(H=(0,l.getStandardFontName)(T.name))){e.next=74;break}return _=!0,e.next=72,this.fetchStandardFontData(H);case 72:N=e.sent,j=!!N;case 74:if(k={type:d,name:T.name,subtype:D,file:N,length1:B,length2:L,length3:R,isStandardFont:_,isInternalFont:j,loadedName:u.loadedName,composite:f,fixedPitch:!1,fontMatrix:c.getArray("FontMatrix")||a.FONT_IDENTITY_MATRIX,firstChar:g,lastChar:p,toUnicode:m,bbox:r.getArray("FontBBox")||c.getArray("FontBBox"),ascent:r.get("Ascent"),descent:r.get("Descent"),xHeight:r.get("XHeight")||0,capHeight:r.get("CapHeight")||0,flags:r.get("Flags"),italicAngle:r.get("ItalicAngle")||0,isType3Font:y,cssFontInfo:v,scaleFactors:U},!f){e.next=83;break}return(q=u.get("Encoding"))instanceof i.Name&&(k.cidEncoding=q.name),e.next=80,n.CMapFactory.create({encoding:q,fetchBuiltInCMap:this._fetchBuiltInCMapBound,useCMap:null});case 80:z=e.sent,k.cMap=z,k.vertical=k.cMap.vertical;case 83:return e.abrupt("return",this.extractDataStructures(c,u,k).then((function(e){return G.extractWidths(c,r,e),new o.Font(T.name,N,e)})));case 84:case"end":return e.stop()}}),e,this,[[35,39]])})));return function(t){return e.apply(this,arguments)}}()}],[{key:"buildFontPaths",value:function(e,t,r,n){function i(t){var i="".concat(e.loadedName,"_path_").concat(t);try{if(e.renderer.hasBuiltPath(t))return;r.send("commonobj",[i,"FontPath",e.renderer.getPathJs(t)])}catch(o){if(n.ignoreErrors)return r.send("UnsupportedFeature",{featureId:a.UNSUPPORTED_FEATURES.errorFontBuildPath}),void(0,a.warn)("buildFontPaths - ignoring ".concat(i,' glyph: "').concat(o,'".'));throw o}}var o,s=d(t);try{for(s.s();!(o=s.n()).done;){var c=o.value;i(c.fontChar);var l=c.accent;l&&l.fontChar&&i(l.fontChar)}}catch(u){s.e(u)}finally{s.f()}}},{key:"fallbackFontDict",get:function(){var e=new i.Dict;return e.set("BaseFont",i.Name.get("PDFJS-FallbackFont")),e.set("Type",i.Name.get("FallbackType")),e.set("Subtype",i.Name.get("FallbackType")),e.set("Encoding",i.Name.get("WinAnsiEncoding")),(0,a.shadow)(this,"fallbackFontDict",e)}}])}();t.PartialEvaluator=$;var X=function(){return v((function e(t){var r=t.loadedName,a=t.font,n=t.dict,i=t.evaluatorOptions;m(this,e),this.loadedName=r,this.font=a,this.dict=n,this._evaluatorOptions=i||D,this.type3Loaded=null,this.type3Dependencies=a.isType3Font?new Set:null,this.sent=!1}),[{key:"send",value:function(e){this.sent||(this.sent=!0,e.send("commonobj",[this.loadedName,"Font",this.font.exportData(this._evaluatorOptions.fontExtraProperties)]))}},{key:"fallback",value:function(e){this.font.data&&(this.font.disableFontFace=!0,$.buildFontPaths(this.font,this.font.glyphCacheValues,e,this._evaluatorOptions))}},{key:"loadType3Data",value:function(e,t,r){var n=this;
2if(this.type3Loaded)return this.type3Loaded;if(!this.font.isType3Font)throw new Error("Must be a Type3 font.");var o=e.clone({ignoreErrors:!1});o.parsingType3Font=!0;var s=new i.RefSet(e.type3FontRefs);this.dict.objId&&!s.has(this.dict.objId)&&s.put(this.dict.objId),o.type3FontRefs=s;var c,l=this.font,u=this.type3Dependencies,h=Promise.resolve(),f=this.dict.get("CharProcs"),g=this.dict.get("Resources")||t,p=Object.create(null),m=a.Util.normalizeRect(l.bbox||[0,0,0,0]),v=m[2]-m[0],b=m[3]-m[1],y=Math.hypot(v,b),k=d(f.getKeys());try{var w=function(){var e=c.value;h=h.then((function(){var t=f.get(e),i=new E.OperatorList;return o.getOperatorList({stream:t,task:r,resources:g,operatorList:i}).then((function(){i.fnArray[0]===a.OPS.setCharWidthAndBounds&&n._removeType3ColorOperators(i,y),p[e]=i.getIR();var t,r=d(i.dependencies);try{for(r.s();!(t=r.n()).done;){var o=t.value;u.add(o)}}catch(s){r.e(s)}finally{r.f()}})).catch((function(t){(0,a.warn)('Type3 font resource "'.concat(e,'" is not available.'));var r=new E.OperatorList;p[e]=r.getIR()}))}))};for(k.s();!(c=k.n()).done;)w()}catch(x){k.e(x)}finally{k.f()}return this.type3Loaded=h.then((function(){l.charProcOperatorList=p,n._bbox&&(l.isCharBBox=!0,l.bbox=n._bbox)})),this.type3Loaded}},{key:"_removeType3ColorOperators",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:NaN,r=a.Util.normalizeRect(e.argsArray[0].slice(2)),n=r[2]-r[0],i=r[3]-r[1],o=Math.hypot(n,i);0===n||0===i?(e.fnArray.splice(0,1),e.argsArray.splice(0,1)):(0===t||Math.round(o/t)>=10)&&(this._bbox||(this._bbox=[1/0,1/0,-1/0,-1/0]),this._bbox[0]=Math.min(this._bbox[0],r[0]),this._bbox[1]=Math.min(this._bbox[1],r[1]),this._bbox[2]=Math.max(this._bbox[2],r[2]),this._bbox[3]=Math.max(this._bbox[3],r[3]));for(var s=0,c=e.length;s<c;){switch(e.fnArray[s]){case a.OPS.setCharWidthAndBounds:break;case a.OPS.setStrokeColorSpace:case a.OPS.setFillColorSpace:case a.OPS.setStrokeColor:case a.OPS.setStrokeColorN:case a.OPS.setFillColor:case a.OPS.setFillColorN:case a.OPS.setStrokeGray:case a.OPS.setFillGray:case a.OPS.setStrokeRGBColor:case a.OPS.setFillRGBColor:case a.OPS.setStrokeCMYKColor:case a.OPS.setFillCMYKColor:case a.OPS.shadingFill:case a.OPS.setRenderingIntent:e.fnArray.splice(s,1),e.argsArray.splice(s,1),c--;continue;case a.OPS.setGState:for(var l=g(e.argsArray[s],1)[0],u=0,h=l.length;u<h;){switch(g(l[u],1)[0]){case"TR":case"TR2":case"HT":case"BG":case"BG2":case"UCR":case"UCR2":l.splice(u,1),h--;continue}u++}}s++}}}])}(),H=function(){return v((function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new z;m(this,e),this.state=t,this.stateStack=[]}),[{key:"save",value:function(){var e=this.state;this.stateStack.push(this.state),this.state=e.clone()}},{key:"restore",value:function(){var e=this.stateStack.pop();e&&(this.state=e)}},{key:"transform",value:function(e){this.state.ctm=a.Util.transform(this.state.ctm,e)}}])}(),q=function(){return v((function e(){m(this,e),this.ctm=new Float32Array(a.IDENTITY_MATRIX),this.fontName=null,this.fontSize=0,this.font=null,this.fontMatrix=a.FONT_IDENTITY_MATRIX,this.textMatrix=a.IDENTITY_MATRIX.slice(),this.textLineMatr
vendor: 1,098 bytes, line 2
2ix=a.IDENTITY_MATRIX.slice(),this.charSpacing=0,this.wordSpacing=0,this.leading=0,this.textHScale=1,this.textRise=0}),[{key:"setTextMatrix",value:function(e,t,r,a,n,i){var o=this.textMatrix;o[0]=e,o[1]=t,o[2]=r,o[3]=a,o[4]=n,o[5]=i}},{key:"setTextLineMatrix",value:function(e,t,r,a,n,i){var o=this.textLineMatrix;o[0]=e,o[1]=t,o[2]=r,o[3]=a,o[4]=n,o[5]=i}},{key:"translateTextMatrix",value:function(e,t){var r=this.textMatrix;r[4]=r[0]*e+r[2]*t+r[4],r[5]=r[1]*e+r[3]*t+r[5]}},{key:"translateTextLineMatrix",value:function(e,t){var r=this.textLineMatrix;r[4]=r[0]*e+r[2]*t+r[4],r[5]=r[1]*e+r[3]*t+r[5]}},{key:"carriageReturn",value:function(){this.translateTextLineMatrix(0,-this.leading),this.textMatrix=this.textLineMatrix.slice()}},{key:"clone",value:function(){var e=Object.create(this);return e.textMatrix=this.textMatrix.slice(),e.textLineMatrix=this.textLineMatrix.slice(),e.fontMatrix=this.fontMatrix.slice(),e}}])}(),z=function(){return v((function e(){m(this,e),this.ctm=new Float32Array(a.IDENTITY_MATRIX),this.font=null,this.textRenderingMode=a.TextRenderingMode.FILL,this.fillColorSpace
2=F.ColorSpace.singletons.gray,this.strokeColorSpace=F.ColorSpace.singletons.gray}),[{key:"clone",value:function(){return Object.create(this)}}])}(),G=function(){function e(t,r){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:new H;m(this,e),this.parser=new w.Parser({lexer:new w.Lexer(t,e.opMap),xref:r}),this.stateManager=a,this.nonProcessedArgs=[],this._isPathOp=!1,this._numInvalidPathOPS=0}return v(e,[{key:"savedStatesDepth",get:function(){return this.stateManager.stateStack.length}},{key:"read",value:function(t){for(var r=t.args;;){var n=this.parser.getObj();if(n instanceof i.Cmd){var o=n.cmd,s=e.opMap[o];if(!s){(0,a.warn)('Unknown command "'.concat(o,'".'));continue}var c=s.id,l=s.numArgs,u=null!==r?r.length:0;if(this._isPathOp||(this._numInvalidPathOPS=0),this._isPathOp=c>=a.OPS.moveTo&&c<=a.OPS.endPath,s.variableArgs)u>l&&(0,a.info)("Command ".concat(o,": expected [0, ").concat(l,"] args, ")+"but received ".concat(u," args."));else{if(u!==l){for(var h=this.nonProcessedArgs;u>l;)h.push(r.shift()),u--;for(;u<l&&0!==h.length;)null===r&&(r=[]),r.unshift(h.pop()),u++}if(u<l){var f="command ".concat(o,": expected ").concat(l," args, ")+"but received ".concat(u," args.");if(this._isPathOp&&++this._numInvalidPathOPS>e.MAX_INVALID_PATH_OPS)throw new a.FormatError("Invalid ".concat(f));(0,a.warn)("Skipping ".concat(f)),null!==r&&(r.length=0);continue}}return this.preprocessCommand(c,r),t.fn=c,t.args=r,!0}if(n===i.EOF)return!1;if(null!==n&&(null===r&&(r=[]),r.push(n),r.length>33))throw new a.FormatError("Too many arguments")}}},{key:"preprocessCommand",value:function(e,t){switch(0|e){case a.OPS.save:this.stateManager.save();break;case a.OPS.restore:this.stateManager.restore();break;case a.OPS.transform:this.stateManager.transform(t)}}}],[{key:"opMap",get:function(){var e=(0,T.getLookupTableFactory)((function(e){e.w={id:a.OPS.setLineWidth,numArgs:1,variableArgs:!1},e.J={id:a.OPS.setLineCap,numArgs:1,variableArgs:!1},e.j={id:a.OPS.setLineJoin,numArgs:1,variableArgs:!1},e.M={id:a.OPS.setMiterLimit,numArgs:1,variableArgs:!1},e.d={id:a.OPS.setDash,numArgs:2,variableArgs:!1},e.ri={id:a.OPS.setRenderingIntent,numArgs:1,variableArgs:!1},e.i={id:a.OPS.setFlatness,numArgs:1,variableArgs:!1},e.gs={id:a.OPS.setGState,numArgs:1,variableArgs:!1},e.q={id:a.OPS.save,numArgs:0,variableArgs:!1},e.Q={id:a.OPS.restore,numArgs:0,variableArgs:!1},e.cm={id:a.OPS.transform,numArgs:6,variableArgs:!1},e.m={id:a.OPS.moveTo,numArgs:2,variableArgs:!1},e.l={id:a.OPS.lineTo,numArgs:2,variableArgs:!1},e.c={id:a.OPS.curveTo,numArgs:6,variableArgs:!1},e.v={id:a.OPS.curveTo2,numArgs:4,variableArgs:!1},e.y={id:a.OPS.curveTo3,numArgs:4,variableArgs:!1},e.h={id:a.OPS.closePath,numArgs:0,variableArgs:!1},e.re={id:a.OPS.rectangle,numArgs:4,variableArgs:!1},e.S={id:a.OPS.stroke,numArgs:0,variableArgs:!1},e.s={id:a.OPS.closeStroke,numArgs:0,variableArgs:!1},e.f={id:a.OPS.fill,numArgs:0,variableArgs:!1},e.F={id:a.OPS.fill,numArgs:0,variableArgs:!1},e["f*"]={id:a.OPS.eoFill,numArgs:0,variableArgs:!1},e.B={id:a.OPS.fillStroke,numArgs:0,variableArgs:!1},e["B*"]={id:a.OPS.eoFillStroke,numArgs:0,variableArgs:!1},e.b={id:a.OPS.closeFillStroke,numArgs:0,variableArgs:!1},e["b*"]={id:a.OPS.closeEOFillStroke,numArgs:0,variableArgs:!1},e.n={id:a.OPS.endPath,numArgs:0,variableArgs:!1},e.W={id:a.OPS.clip,numArgs:0,variableArgs:!1},e["W*"]={id:a.OPS.eoClip,numArgs:0,variableArgs:!1},e.BT={id:a.OPS.beginText,numArgs:0,variableArgs:!1},e.ET={id:a.OPS.endText,numArgs:0,variableArgs:!1},e.Tc={id:a.OPS.setCharSpacing,numArgs:1,variableArgs:!1},e.Tw={id:a.OPS.setWordSpacing,numArgs:1,variableArgs:!1},e.Tz={id:a.OPS.setHScale,numArgs:1,variableArgs:!1},e.TL={id:a.OPS.setLeading,numArgs:1,variableArgs:!1},e.Tf={id:a.OPS.setFont,numArgs:2,variableArgs:!1},e.Tr={id:a.OPS.setTextRenderingMode,numArgs:1,variableArgs:!1},e.Ts={id:a.OPS.setTextRise,numArgs:1,variableArgs:!1},e.Td={id:a.OPS.moveText,numArgs:2,variableArgs:!1},e.TD={id:a.OPS.setLeadingMoveText,numArgs:2,variableArgs:!1},e.Tm={id:a.OPS.setTextMatrix,numArgs:6,variableArgs:!1},e["T*"]={id:a.OPS.nextLine,numArgs:0,variableArgs:!1},e.Tj={id:a.OPS.showText,numArgs:1,variableArgs:!1},e.TJ={id:a.OPS.showSpacedText,numArgs:1,variableArgs:!1},e["'"]={id:a.OPS.nextLineShowText,numArgs:1,variableArgs:!1},e['"']={id:a.OPS.nextLineSetSpacingShowText,numArgs:3,variableArgs:!1},e.d0={id:a.OPS.setCharWidth,numArgs:2,variableArgs:!1},e.d1={id:a.OPS.setCharWidthAndBounds,numArgs:6,variableArgs:!1},e.CS={id:a.OPS.setStrokeColorSpace,numArgs:1,variableArgs:!1},e.cs={id:a.OPS.setFillColorSpace,numArgs:1,variableArgs:!1},e.SC={id:a.OPS.setStrokeColor,numArgs:4,variableArgs:!0},e.SCN={id:a.OPS.setStrokeColorN,numArgs:33,variableArgs:!0},e.sc={id:a.OPS.setFillColor,numArgs:4,variableArgs:!0},e.scn={id:a.OPS.setFillColorN,numArgs:33,variableArgs:!0},e.G={id:a.OPS.setStrokeGray,numArgs:1,variableArgs:!1}
2,e.g={id:a.OPS.setFillGray,numArgs:1,variableArgs:!1},e.RG={id:a.OPS.setStrokeRGBColor,numArgs:3,variableArgs:!1},e.rg={id:a.OPS.setFillRGBColor,numArgs:3,variableArgs:!1},e.K={id:a.OPS.setStrokeCMYKColor,numArgs:4,variableArgs:!1},e.k={id:a.OPS.setFillCMYKColor,numArgs:4,variableArgs:!1},e.sh={id:a.OPS.shadingFill,numArgs:1,variableArgs:!1},e.BI={id:a.OPS.beginInlineImage,numArgs:0,variableArgs:!1},e.ID={id:a.OPS.beginImageData,numArgs:0,variableArgs:!1},e.EI={id:a.OPS.endInlineImage,numArgs:1,variableArgs:!1},e.Do={id:a.OPS.paintXObject,numArgs:1,variableArgs:!1},e.MP={id:a.OPS.markPoint,numArgs:1,variableArgs:!1},e.DP={id:a.OPS.markPointProps,numArgs:2,variableArgs:!1},e.BMC={id:a.OPS.beginMarkedContent,numArgs:1,variableArgs:!1},e.BDC={id:a.OPS.beginMarkedContentProps,numArgs:2,variableArgs:!1},e.EMC={id:a.OPS.endMarkedContent,numArgs:0,variableArgs:!1},e.BX={id:a.OPS.beginCompat,numArgs:0,variableArgs:!1},e.EX={id:a.OPS.endCompat,numArgs:0,variableArgs:!1},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}));return(0,a.shadow)(this,"opMap",e())}},{key:"MAX_INVALID_PATH_OPS",get:function(){return(0,a.shadow)(this,"MAX_INVALID_PATH_OPS",10)}}])}();t.EvaluatorPreprocessor=G},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.IdentityCMap=t.CMapFactory=t.CMap=void 0;var a=r(2),n=r(5),i=r(7),o=r(17),s=r(6),c=r(10),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"],d=Math.pow(2,24)-1,g=function(){return v((function e(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];m(this,e),this.codespaceRanges=[[],[],[],[]],this.numCodespaceRanges=0,this._map=[],this.name="",this.vertical=!1,this.useCMap=null,this.builtInCMap=t}),[{key:"addCodespaceRange",value:function(e,t,r){this.codespaceRanges[e-1].push(t,r),this.numCodespaceRanges++}},{key:"mapCidRange",value:function(e,t,r){if(t-e>d)throw new Error("mapCidRange - ignoring data above MAX_MAP_RANGE.");for(;e<=t;)this._map[e++]=r++}},{key:"mapBfRange",value:function(e,t,r){if(t-e>d)throw new Error("mapBfRange - ignoring data above MAX_MAP_RANGE.");for(var a=r.length-1;e<=t;){this._map[e++]=r;var n=r.charCodeAt(a)+1;r=n>255?r.substring(0,a-1)+String.fromCharCode(r.charCodeAt(a-1)+1)+"\0":r.substring(0,a)+String.fromCharCode(n)}}},{key:"mapBfRangeToArray",value:function(e,t,r){if(t-e>d)throw new Error("mapBfRangeToArray - ignoring data above MAX_MAP_RANGE.");for(var a=r.length,n=0;e<=t&&n<a;)this._map[e]=r[n++],++e}},{key:"mapOne",value:function(e,t){this._map[e]=t}},{key:"lookup",value:function(e){return this._map[e]}},{key:"contains",value:function(e){return void 0!==this._map[e]}}
vendor: 8,961 bytes, line 2
2,{key:"forEach",value:function(e){var t=this._map,r=t.length;if(r<=65536)for(var a=0;a<r;a++)void 0!==t[a]&&e(a,t[a]);else for(var n in t)e(n,t[n])}},{key:"charCodeOf",value:function(e){var t=this._map;if(t.length<=65536)return t.indexOf(e);for(var r in t)if(t[r]===e)return 0|r;return-1}},{key:"getMap",value:function(){return this._map}},{key:"readCharCode",value:function(e,t,r){for(var a=0,n=this.codespaceRanges,i=0,o=n.length;i<o;i++){a=(a<<8|e.charCodeAt(t+i))>>>0;for(var s=n[i],c=0,l=s.length;c<l;){var u=s[c++],h=s[c++];if(a>=u&&a<=h)return r.charcode=a,void(r.length=i+1)}}r.charcode=0,r.length=1}},{key:"getCharCodeLength",value:function(e){for(var t=this.codespaceRanges,r=0,a=t.length;r<a;r++)for(var n=t[r],i=0,o=n.length;i<o;){var s=n[i++],c=n[i++];if(e>=s&&e<=c)return r+1}return 1}},{key:"length",get:function(){return this._map.length}},{key:"isIdentityCMap",get:function(){if("Identity-H"!==this.name&&"Identity-V"!==this.name)return!1;if(65536!==this._map.length)return!1;for(var e=0;e<65536;e++)if(this._map[e]!==e)return!1;return!0}}])}();t.CMap=g;var b=function(e){function t(e,r){var a;return m(this,t),(a=l(this,t)).vertical=e,a.addCodespaceRange(r,0,65535),a}return u(t,e),v(t,[{key:"mapCidRange",value:function(e,t,r){(0,a.unreachable)("should not call mapCidRange")}},{key:"mapBfRange",value:function(e,t,r){(0,a.unreachable)("should not call mapBfRange")}},{key:"mapBfRangeToArray",value:function(e,t,r){(0,a.unreachable)("should not call mapBfRangeToArray")}},{key:"mapOne",value:function(e,t){(0,a.unreachable)("should not call mapCidOne")}},{key:"lookup",value:function(e){return Number.isInteger(e)&&e<=65535?e:void 0}},{key:"contains",value:function(e){return Number.isInteger(e)&&e<=65535}},{key:"forEach",value:function(e){for(var t=0;t<=65535;t++)e(t,t)}},{key:"charCodeOf",value:function(e){return Number.isInteger(e)&&e<=65535?e:-1}},{key:"getMap",value:function(){for(var e=new Array(65536),t=0;t<=65535;t++)e[t]=t;return e}},{key:"length",get:function(){return 65536}},{key:"isIdentityCMap",get:function(){(0,a.unreachable)("should not access .isIdentityCMap")}}])}(g);t.IdentityCMap=b;var y=function(){function e(e,t){for(var r=0,a=0;a<=t;a++)r=r<<8|e[a];return r>>>0}function t(e,t){return 1===t?String.fromCharCode(e[0],e[1]):3===t?String.fromCharCode(e[0],e[1],e[2],e[3]):String.fromCharCode.apply(null,e.subarray(0,t+1))}function r(e,t,r){for(var a=0,n=r;n>=0;n--)a+=e[n]+t[n],e[n]=255&a,a>>=8}function n(e,t){for(var r=1,a=t;a>=0&&r>0;a--)r+=e[a],e[a]=255&r,r>>=8}var i=16,o=function(){return v((function e(t){m(this,e),this.buffer=t,this.pos=0,this.end=t.length,this.tmpBuf=new Uint8Array(19)}),[{key:"readByte",value:function(){return this.pos>=this.end?-1:this.buffer[this.pos++]}},{key:"readNumber",value:function(){var e,t=0;do{var r=this.readByte();if(r<0)throw new a.FormatError("unexpected EOF in bcmap");e=!(128&r),t=t<<7|127&r}while(!e);return t}},{key:"readSigned",value:function(){var e=this.readNumber();return 1&e?~(e>>>1):e>>>1}},{key:"readHex",value:function(e,t){e.set(this.buffer.subarray(this.pos,this.pos+t+1)),this.pos+=t+1}},{key:"readHexNumber",value:function(e,t){var r,n=this.tmpBuf,i=0;do{var o=this.readByte();if(o<0)throw new a.FormatError("unexpected EOF in bcmap");r=!(128&o),n[i++]=127&o}while(!r);for(var s=t,c=0,l=0;s>=0;){for(;l<8&&n.length>0;)c|=n[--i]<<l,l+=7;e[s]=255&c,s--,c>>=8,l-=8}}},{key:"readHexSigned",value:function(e,t){this.readHexNumber(e,t);for(var r=1&e[t]?255:0,a=0,n=0;n<=t;n++)a=(1&a)<<8|e[n],e[n]=a>>1^r}},{key:"readString",value:function(){for(var e=this.readNumber(),t="",r=0;r<e;r++)t+=String.fromCharCode(this.readNumber());return t}}])}(),s=function(){return v((function e(){m(this,e)}),[{key:"process",value:function(){var a=p(h().mark((function a(s,c,l){var u,f,d,g,p,m,v,b,y,k,w,x,S,A,C,F,O,I,T,M,P;return h().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:u=new o(s),f=u.readByte(),c.vertical=!!(1&f),d=null,g=new Uint8Array(i),p=new Uint8Array(i),m=new Uint8Array(i),v=new Uint8Array(i),b=new Uint8Array(i);case 9:if(!((k=u.readByte())>=0)){a.next=68;break}if(7!==(w=k>>5)){a.next=20;break}a.t0=31&k,a.next=0===a.t0?15:1===a.t0?17:19;break;case 15:return u.readString(),a.abrupt("break",19);case 17:return d=u.readString(),a.abrupt("break",19);case 19:return a.abrupt("continue",9);case 20:if(x=!!(16&k),!(1+(S=15&k)>i)){a.next=24;break}throw new Error("BinaryCMapReader.process: Invalid dataSize.");case 24:A=1,C=u.readNumber(),a.t1=w,a.next=0===a.t1?29:1===a.t1?35:2===a.t1?41:3===a.t1?46:4===a.t1?53:5===a.t1?58:65;break;case 29:for(u.readHex(g,S),u.readHexNumber(p,S),r(p,g,S),c.addCodespaceRange(S+1,e(g,S),e(p,S)),F=1;F<C;F++)n(p,S),u.readHexNumber(g,S),r(g,p,S),u.readHexNumber(p,S),r(p,g,S),c.addCodespaceRange(S+1,e(g,S),e(p,S));return a.abrupt("break",66);case 35:for(u.readHex(g,S),u.readHexNumber(p,S),r(p,g,S),u.readNumber(),O=1;O<C;O++)n(p,S),u.readHexNumber(g,S),r(g,p,S),u.readHexNumber(p,S),r(p,g,S),u.readNumber();return a.abrupt("break",66);case 41:for(u.readHex(m,S),y=u.readNumber(),c.mapOne(e(m,S),y),I=1;I<C;I++)n(m,S),x||(u.readHexNumber(b,S),r(m,b,S)),y=u.readSigned()+(y+1),c.mapOne(e(m,S),y);return a.abrupt("break",66);case 46:for(u.readHex(g,S),u.readHexNumber(p,S),r(p,g,S),y=u.readNumber(),c.mapCidRange(e(g,S),e(p,S),y),T=1;T<C;T++)n(p,S),x?g.set(p):(u.readHexNumber(g,S),r(g,p,S)),u.readHexNumber(p,S),r(p,g,S),y=u.readNumber(),c.mapCidRange(e(g,S),e(p,S),y);return a.abrupt("break",66);case 53:for(u.readHex(m,A),u.readHex(v,S),c.mapOne(e(m,A),t(v,S)),M=1;M<C;M++)n(m,A),x||(u.readHexNumber(b,A),r(m,b,A)),n(v,S),u.readHexSigned(b,S),r(v,b,S),c.mapOne(e(m,A),t(v,S));return a.abrupt("break",66);case 58:for(u.readHex(g,A),u.readHexNumber(p,A),r(p,g,A),u.readHex(v,S),c.mapBfRange(e(g,A),e(p,A),t(v,S)),P=1;P<C;P++)n(p,A),x?g.set(p):(u.readHexNumber(g,A),r(g,p,A)),u.readHexNumber(p,A),r(p,g,A),u.readHex(v,S),c.mapBfRange(e(g,A),e(p,A),t(v,S));return a.abrupt("break",66);case 65:throw new Error("BinaryCMapReader.process - unknown type: ".concat(w));case 66:a.next=9;break;case 68:if(!d){a.next=70;break}return a.abrupt("return",l(d));case 70:return a.abrupt("return",c);case 71:case"end":return a.stop()}}),a)})));return function(e,t,r){return a.apply(this,arguments)}}()}])}();return s}(),k=function(){function e(e){for(var t=0,r=0;r<e.length;r++)t=t<<8|e.charCodeAt(r);return t>>>0}function t(e){if("string"!==typeof e)throw new a.FormatError("Malformed CMap: expected string.")}function r(e){if(!Number.isInteger(e))throw new a.FormatError("Malformed CMap: expected int.")}function l(r,a){for(;;){var i=a.getObj();if(i===n.EOF)break;if((0,n.isCmd)(i,"endbfchar"))return;t(i);var o=e(i);t(i=a.getObj());var s=i;r.mapOne(o,s)}}function u(r,i){for(;;){var o=i.getObj();if(o===n.EOF)break;if((0,n.isCmd)(o,"endbfrange"))return;t(o);var s=e(o);t(o=i.getObj());var c=e(o);if(o=i.getObj(),Number.isInteger(o)||"string"===typeof o){var l=Number.isInteger(o)?String.fromCharCode(o):o;r.mapBfRange(s,c,l)}else{if(!(0,n.isCmd)(o,"["))break;o=i.getObj();for(var u=[];!(0,n.isCmd)(o,"]")&&o!==n.EOF;)u.push(o),o=i.getObj();r.mapBfRangeToArray(s,c,u)}}throw new a.FormatError("Invalid bf range.")}function d(a,i){for(;;){var o=i.getObj();if(o===n.EOF)break;if((0,n.isCmd)(o,"endcidchar"))return;t(o);var s=e(o);r(o=i.getObj());var c=o;a.mapOne(s,c)}}function m(a,i){for(;;){var o=i.getObj();if(o===n.EOF)break;if((0,n.isCmd)(o,"endcidrange"))return;t(o);var s=e(o);t(o=i.getObj());var c=e(o);r(o=i.getObj());var l=o;a.mapCidRange(s,c,l)}}function v(t,r){for(;;){var i=r.getObj();if(i===n.EOF)break;if((0,n.isCmd)(i,"endcodespacerange"))return;if("string"!==typeof i)break;var o=e(i);if("string"!==typeof(i=r.getObj()))break;var s=e(i);t.addCodespaceRange(i.length,o,s)}throw new a.FormatError("Invalid codespace range.")}function k(e,t){var r=t.getObj();Number.isInteger(r)&&(e.vertical=!!r)}function w(e,t){var r=t.getObj();r instanceof n.Name&&(e.name=r.name)}function x(e,t,r,a){return S.apply(this,arguments)}function S(){return(S=p(h().mark((function e(t,r,i,o){var c,f,g;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=1,(g=r.getObj())!==n.EOF){e.next=7;break}return e.abrupt("break",39);case 7:if(!(g instanceof n.Name)){e.next=12;break}"WMode"===g.name?k(t,r):"CMapName"===g.name&&w(t,r),c=g,e.next=29;break;case 12:if(!(g instanceof n.Cmd)){e.next=29;break}e.t0=g.cmd,e.next="endcmap"===e.t0?16:"usecmap"===e.t0?17:"begincodespacerange"===e.t0?19:"beginbfchar"===e.t0?21:"begincidchar"===e.t0?23:"beginbfrange"===e.t0?25:"begincidrange"===e.t0?27:29;break;case 16:return e.abrupt("break",39);case 17:return c instanceof n.Name&&(f=c.name),e.abrupt("break",29);case 19:return v(t,r),e.abrupt("break",29);case 21:return l(t,r),e.abrupt("break",29);case 23:return d(t,r),e.abrupt("break",29);case 25:return u(t,r),e.abrupt("break",29);case 27:return m(t,r),e.abrupt("break",29);case 29:e.next=37;break;case 31:if(e.prev=31,e.t1=e.catch(1),!(e.t1 instanceof s.MissingDataException)){e.
2next=35;break}throw e.t1;case 35:return(0,a.warn)("Invalid cMap data: "+e.t1),e.abrupt("continue",0);case 37:e.next=0;break;case 39:if(!o&&f&&(o=f),!o){e.next=42;break}return e.abrupt("return",A(t,i,o));case 42:return e.abrupt("return",t);case 43:case"end":return e.stop()}}),e,null,[[1,31]])})))).apply(this,arguments)}function A(e,t,r){return C.apply(this,arguments)}function C(){return(C=p(h().mark((function e(t,r,a){var n,i;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,F(a,r);case 2:if(t.useCMap=e.sent,0===t.numCodespaceRanges){for(n=t.useCMap.codespaceRanges,i=0;i<n.length;i++)t.codespaceRanges[i]=n[i].slice();t.numCodespaceRanges=t.useCMap.numCodespaceRanges}return t.useCMap.forEach((function(e,r){t.contains(e)||t.mapOne(e,t.useCMap.lookup(e))})),e.abrupt("return",t);case 6:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function F(e,t){return O.apply(this,arguments)}function O(){return(O=p(h().mark((function e(t,r){var n,i,s,l,u;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("Identity-H"!==t){e.next=4;break}return e.abrupt("return",new b(!1,2));case 4:if("Identity-V"!==t){e.next=6;break}return e.abrupt("return",new b(!0,2));case 6:if(f.includes(t)){e.next=8;break}throw new Error("Unknown CMap name: "+t);case 8:if(r){e.next=10;break}throw new Error("Built-in CMap parameters are not provided.");case 10:return e.next=12,r(t);case 12:if(n=e.sent,i=n.cMapData,s=n.compressionType,l=new g(!0),s!==a.CMapCompressionType.BINARY){e.next=18;break}return e.abrupt("return",(new y).process(i,l,(function(e){return A(l,r,e)})));case 18:if(s!==a.CMapCompressionType.NONE){e.next=21;break}return u=new o.Lexer(new c.Stream(i)),e.abrupt("return",x(l,u,r,null));case 21:throw new Error("TODO: Only BINARY/NONE CMap compression is currently supported.");case 22:case"end":return e.stop()}}),e)})))).apply(this,arguments)}return{create:function(e){return p(h().mark((function t(){var r,a,s,c;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.encoding,a=e.fetchBuiltInCMap,s=e.useCMap,!(r instanceof n.Name)){t.next=7;break}return t.abrupt("return",F(r.name,a));case 7:if(!(r instanceof i.BaseStream)){t.next=14;break}return t.next=10,x(new g,new o.Lexer(r),a,s);case 10:if(!(c=t.sent).isIdentityCMap){t.next=13;break}return t.abrupt("return",F(c.name,a));case 13:return t.abrupt("return",c);case 14:throw new Error("Encoding required.");case 15:case"end":return t.stop()}}),t)})))()}}}();t.CMapFactory=k},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.Parser=t.Linearization=t.Lexer=void 0;var a=r(2),n=r(5),i=r(6),o=r(18),s=r(20),c=r(21),l=r(23),u=r(24),h=r(27),f=r(29),d=r(31),g=r(10),p=r(32),b=r(33);function y(e){for(var t=e.length,r=1,a=0,n=0;n<t;++n)a+=r+=255&e[n];return a%65521<<16|r%65521}var k=function(){return v((function e(t){var r=t.lexer,a=t.xref,n=t.allowStreams,i=void 0!==n&&n,o=t.recoveryMode,s=void 0!==o&&o;m(this,e),this.lexer=r,this.xref=a,this.allowStreams=i,this.recoveryMode=s,this.imageCache=Object.create(null),this.refill()}),[{key:"refill",value:function(){this.buf1=this.lexer.getObj(),this.buf2=this.lexer.getObj()}},{key:"shift",value:function(){this.buf2 instanceof n.Cmd&&"ID"===this.buf2.cmd?(this.buf1=this.buf2,this.buf2=null):(this.buf1=this.buf2,this.buf2=this.lexer.getObj())}},{key:"tryShift",value:function(){try{return this.shift(),!0}catch(e){if(e instanceof i.MissingDataException)throw e;return!1}}},{key:"getObj",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=this.buf1;if(this.shift(),t instanceof n.Cmd)switch(t.cmd){case"BI":return this.makeInlineImage(e);case"[":for(var r=[];!(0,n.isCmd)(this.buf1,"]")&&this.buf1!==n.EOF;)r.push(this.getObj(e));if(this.buf1===n.EOF){if(this.recoveryMode)return r;throw new i.ParserEOFException("End of file inside array.")}return this.shift(),r;case"<<":for(var o=new n.Dict(this.xref);!(0,n.isCmd)(this.buf1,">>")&&this.buf1!==n.EOF;)if(this.buf1 instanceof n.Name){var s=this.buf1.name;if(this.shift(),this.buf1===n.EOF)break;o.set(s,this.getObj(e))}else(0,a.info)("Malformed dictionary: key must be a name object"),this.shift();if(this.buf1===n.EOF){if(this.recoveryMode)return o;throw new i.ParserEOFException("End of file inside dictionary.")}return(0,n.isCmd)(this.buf2,"stream")?this.allowStreams?this.makeStream(o,e):o:(this.shift(),o);default:return t}if(Number.isInteger(t)){if(Number.isInteger(this.buf1)&&(0,n.isCmd)(this.buf2,"R")){var c=n.Ref.get(t,this.buf1);return this.shift(),this.shift(),c}return t}return"string"===typeof t&&e?e.decryptString(t):t}},{key:"findDefaultInlineStreamEnd",value:function(e){for(var t,r,o=this.lexer,s=e.pos,c=0;-1!==(t=e.getByte());)if(0===c)c=69===t?1:0;else if(1===c)c=73===t?2:0;else if((0,a.assert)(2===c,"findDefaultInlineStreamEnd - invalid state."),32===t||10===t||13===t){r=e.pos;for(var l=e.peekBytes(10),u=0,h=l.length;u<h;u++)if((0!==(t=l[u])||0===l[u+1])&&10!==t&&13!==t&&(t<32||t>127)){c=0;break}if(2!==c)continue;if(o.knownCommands){var f=o.peekObj();f instanceof n.Cmd&&!o.knownCommands[f.cmd]&&(c=0)}else(0,a.warn)("findDefaultInlineStreamEnd - `lexer.knownCommands` is undefined.");if(2===c)break}else c=0;-1===t&&((0,a.warn)("findDefaultInlineStreamEnd: Reached the end of the stream without finding a valid EI marker"),r&&((0,a.warn)('... trying to re
2cover by using the last "EI" occurrence.'),e.skip(-(e.pos-r))));var d=4;return e.skip(-d),t=e.peekByte(),e.skip(d),(0,i.isWhiteSpace)(t)||d--,e.pos-d-s}},{key:"findDCTDecodeInlineStreamEnd",value:function(e){for(var t,r,n=e.pos,i=!1;-1!==(t=e.getByte());)if(255===t){switch(e.getByte()){case 0:break;case 255:e.skip(-1);break;case 217:i=!0;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:(r=e.getUint16())>2?e.skip(r-2):e.skip(-2)}if(i)break}var o=e.pos-n;return-1===t?((0,a.warn)("Inline DCTDecode image stream: EOI marker not found, searching for /EI/ instead."),e.skip(-o),this.findDefaultInlineStreamEnd(e)):(this.inlineStreamSkipEI(e),o)}},{key:"findASCII85DecodeInlineStreamEnd",value:function(e){for(var t,r=e.pos;-1!==(t=e.getByte());)if(126===t){var n=e.pos;for(t=e.peekByte();(0,i.isWhiteSpace)(t);)e.skip(),t=e.peekByte();if(62===t){e.skip();break}if(e.pos>n){var o=e.peekBytes(2);if(69===o[0]&&73===o[1])break}}var s=e.pos-r;return-1===t?((0,a.warn)("Inline ASCII85Decode image stream: EOD marker not found, searching for /EI/ instead."),e.skip(-s),this.findDefaultInlineStreamEnd(e)):(this.inlineStreamSkipEI(e),s)}},{key:"findASCIIHexDecodeInlineStreamEnd",value:function(e){for(var t,r=e.pos;-1!==(t=e.getByte())&&62!==t;);var n=e.pos-r;return-1===t?((0,a.warn)("Inline ASCIIHexDecode image stream: EOD marker not found, searching for /EI/ instead."),e.skip(-n),this.findDefaultInlineStreamEnd(e)):(this.inlineStreamSkipEI(e),n)}},{key:"inlineStreamSkipEI",value:function(e){for(var t,r=0;-1!==(t=e.getByte());)if(0===r)r=69===t?1:0;else if(1===r)r=73===t?2:0;else if(2===r)break}},{key:"makeInlineImage",value:function(e){for(var t,r=this.lexer,i=r.stream,o=new n.Dict(this.xref);!(0,n.isCmd)(this.buf1,"ID")&&this.buf1!==n.EOF;){if(!(this.buf1 instanceof n.Name))throw new a.FormatError("Dictionary key must be a name object");var s=this.buf1.name;if(this.shift(),this.buf1===n.EOF)break;o.set(s,this.getObj(e))}-1!==r.beginInlineImagePos&&(t=i.pos-r.beginInlineImagePos);var c,l=o.get("F","Filter");if(l instanceof n.Name)c=l.name;else if(Array.isArray(l)){var u=this.xref.fetchIfRef(l[0]);u instanceof n.Name&&(c=u.name)}var h,f=i.pos;switch(c){case"DCT":case"DCTDecode":h=this.findDCTDecodeInlineStreamEnd(i);break;case"A85":case"ASCII85Decode":h=this.findASCII85DecodeInlineStreamEnd(i);break;case"AHx":case"ASCIIHexDecode":h=this.findASCIIHexDecodeInlineStreamEnd(i);break;default:h=this.findDefaultInlineStreamEnd(i)}var d,g=i.makeSubStream(f,h,o);if(h<1e3&&t<5552){var p=g.getBytes();g.reset();var m=i.pos;i.pos=r.beginInlineImagePos;var v=i.getBytes(t);i.pos=m,d=y(p)+"_"+y(v);var b=this.imageCache[d];if(void 0!==b)return this.buf2=n.Cmd.get("EI"),this.shift(),b.reset(),b}return e&&(g=e.createStream(g,h)),(g=this.filter(g,o,h)).dict=o,void 0!==d&&(g.cacheKey="inline_".concat(h,"_").concat(d),this.imageCache[d]=g),this.buf2=n.Cmd.get("EI"),this.shift(),g}},{key:"_findStreamLength",value:function(e,t){var r=this.lexer.stream;r.pos=e;for(var a=t.length;r.pos<r.end;){var n=r.peekBytes(2048),i=n.length-a;if(i<=0)break;for(var o=0;o<i;){for(var s=0;s<a&&n[o+s]===t[s];)s++;if(s>=a)return r.pos+=o,r.pos-e;o++}r.pos+=i}return-1}},{key:"makeStream",value:function(e,t){var r=this.lexer,o=r.stream;r.skipToNextLine();var s=o.pos-1,c=e.get("Length");if(Number.isInteger(c)||((0,a.info)('Bad length "'.concat(c&&c.toString(),'" in stream.')),c=0),o.pos=s+c,r.nextChar(),this.tryShift()&&(0,n.isCmd)(this.buf2,"endstream"))this.shift();else{var l=new Uint8Array([101,110,100,115,116,114,101,97,109]),u=this._findStreamLength(s,l);if(u<0){for(var h=1;h<=1;h++){var f=l.length-h,d=l.slice(0,f),g=this._findStreamLength(s,d);if(g>=0){var p=o.peekBytes(f+1)[f];if(!(0,i.isWhiteSpace)(p))break;(0,a.info)('Found "'.concat((0,a.bytesToString)(d),'" when ')+"searching for endstream command."),u=g;break}}if(u<0)throw new a.FormatError("Missing endstream command.")}c=u,r.nextChar(),this.shift(),this.shift()}return this.shift(),o=o.makeSubStream(s,c,e),t&&(o=t.createStream(o,c)),(o=this.filter(o,e,c)).dict=e,o}},{key:"filter",value:function(e,t,r){var i=t.get("F","Filter"),o=t.get("DP","DecodeParms");if(i instanceof n.Name)return Array.isArray(o)&&(0,a.warn)("/DecodeParms should not be an Array, when /Filter is a Name."),this.makeFilter(e,i.name,r,o);var s=r;if(Array.isArray(i))for(var c=i,l=o,u=0,h=c.length;u<h;++u){if(i=this.xref.fetchIfRef(c[u]),!(i instanceof n.Name))throw new a.FormatError('Bad filter name "'.concat(i,'"'));o=null,Array.isArray(l)&&u in l&&(o=this.xref.fetchIfRef(l[u])),e=this.makeFilter(e,i.name,s,o),s=null}return e}},{key:"makeFilter",value:function(e,t,r,n){if(0===r)return(0,a.warn)('Empty "'.concat(t,'" stream.')),new g.NullStream;var m=this.xref.stats;try{switch(t){case"Fl":case"FlateDecode":return m.addStreamType(a.StreamType.FLATE),n?new p.PredictorStream(new l.FlateStream(e,r),r,n):new l.FlateStream(e,r);case"LZW":case"LZWDecode":m.addStreamType(a.StreamType.LZW);var v=1;return n?(n.has("EarlyChange")&&(v=n.get("EarlyChange")),new p.PredictorStream(new d.LZWStream(e,r,v),r,n)):new d.LZWStream(e,r,v);case"DCT":case"DCTDecode":return m.addStreamType(a.StreamType.DCT),new h.JpegStream(e,r,n);case"JPX":case"JPXDecode":return m.addStreamType(a.StreamType.JPX),new f.JpxStream(e,r,n);case"A85":case"ASCII85Decode":return m.addStreamType(a.StreamType.A85),new o.Ascii85Stream(e,r);case"AHx":case"ASCIIHexDecode":return m.addStreamType(a.StreamType.AHX),new s.AsciiHexStream(e,r);case"CCF":case"CCITTFaxDecode":return m.addStreamType(a.StreamType.CCF),new c.CCITTFaxStream(e,r,n);case"RL":case"RunLengthDecode":return m.addStreamType(a.StreamType.RLX),new b.RunLengthStream(e,r);case"JBIG2Decode":return m.addStreamType(a.StreamType.JBIG),new u.Jbig2Stream(e,r,n)}return(0,a.warn)('Filter "'.concat(t,'" is not supported.')),e}catch(y){if(y instanceof i.MissingDataException)throw y;return(0,a.warn)('Invalid stream: "'.concat(y,'"')),new g.NullStream}}}])}();t.Parser=k;var w=[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 x(e){return e>=48&&e<=57?15&e:e>=65&&e<=70||e>=97&&e<=102?9+(15&e):-1}var S=function(){return v((function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;m(this,e),this.stream=t,this.nextChar(),this.strBuf=[],this.knownCommands=r,this._hexStringNumWarn=0,this.beginInlineImagePos=-1}),[{key:"nextChar",value:function(){return this.currentChar=this.stream.getByte()}},{key:"peekChar",value:function(){return this.stream.peekByte()}},{key:"getNumber",value:function(){var e=this.currentChar,t=!1,r=0,n=0;
2if(45===e?(n=-1,45===(e=this.nextChar())&&(e=this.nextChar())):43===e&&(n=1,e=this.nextChar()),10===e||13===e)do{e=this.nextChar()}while(10===e||13===e);if(46===e&&(r=10,e=this.nextChar()),e<48||e>57){if((0,i.isWhiteSpace)(e)||-1===e){if(10===r&&0===n)return(0,a.warn)("Lexer.getNumber - treating a single decimal point as zero."),0;if(0===r&&-1===n)return(0,a.warn)("Lexer.getNumber - treating a single minus sign as zero."),0}throw new a.FormatError("Invalid number: ".concat(String.fromCharCode(e)," (charCode ").concat(e,")"))}n=n||1;for(var o=e-48,s=0,c=1;(e=this.nextChar())>=0;)if(e>=48&&e<=57){var l=e-48;t?s=10*s+l:(0!==r&&(r*=10),o=10*o+l)}else if(46===e){if(0!==r)break;r=1}else if(45===e)(0,a.warn)("Badly formatted number: minus sign in the middle");else{if(69!==e&&101!==e)break;if(43===(e=this.peekChar())||45===e)c=45===e?-1:1,this.nextChar();else if(e<48||e>57)break;t=!0}return 0!==r&&(o/=r),t&&(o*=Math.pow(10,c*s)),n*o}},{key:"getString",value:function(){var e=1,t=!1,r=this.strBuf;r.length=0;for(var n=this.nextChar();;){var i=!1;switch(0|n){case-1:(0,a.warn)("Unterminated string"),t=!0;break;case 40:++e,r.push("(");break;case 41:0===--e?(this.nextChar(),t=!0):r.push(")");break;case 92:switch(n=this.nextChar()){case-1:(0,a.warn)("Unterminated string"),t=!0;break;case 110:r.push("\n");break;case 114:r.push("\r");break;case 116:r.push("\t");break;case 98:r.push("\b");break;case 102:r.push("\f");break;case 92:case 40:case 41:r.push(String.fromCharCode(n));break;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:var o=15&n;i=!0,(n=this.nextChar())>=48&&n<=55&&(o=(o<<3)+(15&n),(n=this.nextChar())>=48&&n<=55&&(i=!1,o=(o<<3)+(15&n))),r.push(String.fromCharCode(o));break;case 13:10===this.peekChar()&&this.nextChar();break;case 10:break;default:r.push(String.fromCharCode(n))}break;default:r.push(String.fromCharCode(n))}if(t)break;i||(n=this.nextChar())}return r.join("")}},{key:"getName",value:function(){var e,t,r=this.strBuf;for(r.length=0;(e=this.nextChar())>=0&&!w[e];)if(35===e){if(e=this.nextChar(),w[e]){(0,a.warn)("Lexer_getName: NUMBER SIGN (#) should be followed by a hexadecimal number."),r.push("#");break}var i=x(e);if(-1!==i){t=e;var o=x(e=this.nextChar());if(-1===o){if((0,a.warn)("Lexer_getName: Illegal digit (".concat(String.fromCharCode(e),") ")+"in hexadecimal number."),r.push("#",String.fromCharCode(t)),w[e])break;r.push(String.fromCharCode(e));continue}r.push(String.fromCharCode(i<<4|o))}else r.push("#",String.fromCharCode(e))}else r.push(String.fromCharCode(e));return r.length>127&&(0,a.warn)("Name token is longer than allowed by the spec: ".concat(r.length)),n.Name.get(r.join(""))}},{key:"_hexStringWarn",value:function(e){5!==this._hexStringNumWarn++?this._hexStringNumWarn>5||(0,a.warn)("getHexString - ignoring invalid character: ".concat(e)):(0,a.warn)("getHexString - ignoring additional invalid characters.")}},{key:"getHexString",value:function(){var e=this.strBuf;e.length=0;var t,r,n=this.currentChar,i=!0;for(this._hexStringNumWarn=0;;){if(n<0){(0,a.warn)("Unterminated hex string");break}if(62===n){this.nextChar();break}if(1!==w[n]){if(i){if(-1===(t=x(n))){this._hexStringWarn(n),n=this.nextChar();continue}}else{if(-1===(r=x(n))){this._hexStringWarn(n),n=this.nextChar();continue}e.push(String.fromCharCode(t<<4|r))}i=!i,n=this.nextChar()}else n=this.nextChar()}return e.join("")}},{key:"getObj",value:function(){for(var e=!1,t=this.currentChar;;){if(t<0)return n.EOF;if(e)10!==t&&13!==t||(e=!1);else if(37===t)e=!0;else if(1!==w[t])break;t=this.nextChar()}switch(0|t){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:return this.nextChar(),n.Cmd.get("[");case 93:return this.nextChar(),n.Cmd.get("]");case 60:return 60===(t=this.nextChar())?(this.nextChar(),n.Cmd.get("<<")):this.getHexString();case 62:return 62===(t=this.nextChar())?(this.nextChar(),n.Cmd.get(">>")):n.Cmd.get(">");case 123:return this.nextChar(),n.Cmd.get("{");case 125:return this.nextChar(),n.Cmd.get("}");case 41:throw this.nextChar(),new a.FormatError("Illegal character: ".concat(t))}
2var r=String.fromCharCode(t);if(t<32||t>127){var i=this.peekChar();if(i>=32&&i<=127)return this.nextChar(),n.Cmd.get(r)}for(var o=this.knownCommands,s=o&&void 0!==o[r];(t=this.nextChar())>=0&&!w[t];){var c=r+String.fromCharCode(t);if(s&&void 0===o[c])break;if(128===r.length)throw new a.FormatError("Command token too long: ".concat(r.length));r=c,s=o&&void 0!==o[r]}return"true"===r||"false"!==r&&("null"===r?null:("BI"===r&&(this.beginInlineImagePos=this.stream.pos),n.Cmd.get(r)))}},{key:"peekObj",value:function(){var e,t=this.stream.pos,r=this.currentChar,n=this.beginInlineImagePos;try{e=this.getObj()}catch(o){if(o instanceof i.MissingDataException)throw o;(0,a.warn)("peekObj: ".concat(o))}return this.stream.pos=t,this.currentChar=r,this.beginInlineImagePos=n,e}},{key:"skipToNextLine",value:function(){for(var e=this.currentChar;e>=0;){if(13===e){10===(e=this.nextChar())&&this.nextChar();break}if(10===e){this.nextChar();break}e=this.nextChar()}}}])}();t.Lexer=S;var A=function(){return v((function e(){m(this,e)}),null,[{key:"create",value:function(e){function t(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=e.get(t);if(Number.isInteger(a)&&(r?a>=0:a>0))return a;throw new Error('The "'.concat(t,'" parameter in the linearization ')+"dictionary is invali
2d.")}var r,a,i=new k({lexer:new S(e),xref:null}),o=i.getObj(),s=i.getObj(),c=i.getObj(),l=i.getObj();if(!(Number.isInteger(o)&&Number.isInteger(s)&&(0,n.isCmd)(c,"obj")&&l instanceof n.Dict&&"number"===typeof(r=l.get("Linearized"))&&r>0))return null;if((a=t(l,"L"))!==e.length)throw new Error('The "L" parameter in the linearization dictionary does not equal the stream length.');return{length:a,hints:function(e){var t,r=e.get("H");if(Array.isArray(r)&&(2===(t=r.length)||4===t)){for(var a=0;a<t;a++){var n=r[a];if(!(Number.isInteger(n)&&n>0))throw new Error("Hint (".concat(a,") in the linearization dictionary is invalid."))}return r}throw new Error("Hint array in the linearization dictionary is invalid.")}(l),objectNumberFirst:t(l,"O"),endFirst:t(l,"E"),numPages:t(l,"N"),mainXRefEntriesOffset:t(l,"T"),pageFirst:l.has("P")?t(l,"P",!0):0}}}])}();t.Linearization=A},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.Ascii85Stream=void 0;var a=r(19),n=r(6),i=function(e){function t(e,r){var a;return m(this,t),r&&(r*=.8),(a=l(this,t,[r])).str=e,a.dict=e.dict,a.input=new Uint8Array(5),a}return u(t,e),v(t,[{key:"readBlock",value:function(){for(var e=this.str,t=e.getByte();(0,n.isWhiteSpace)(t);)t=e.getByte();if(-1!==t&&126!==t){var r,a,i=this.bufferLength;if(122===t){for(r=this.ensureBuffer(i+4),a=0;a<4;++a)r[i+a]=0;this.bufferLength+=4}else{var o=this.input;for(o[0]=t,a=1;a<5;++a){for(t=e.getByte();(0,n.isWhiteSpace)(t);)t=e.getByte();if(o[a]=t,-1===t||126===t)break}if(r=this.ensureBuffer(i+a-1),this.bufferLength+=a-1,a<5){for(;a<5;++a)o[a]=117;this.eof=!0}var s=0;for(a=0;a<5;++a)s=85*s+(o[a]-33);for(a=3;a>=0;--a)r[i+a]=255&s,s>>=8}}else this.eof=!0}}])}(a.DecodeStream);t.Ascii85Stream=i},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.StreamsSequenceStream=t.DecodeStream=void 0;var a=r(7),n=r(10),i=new Uint8Array(0),o=function(e){function t(e){var r;if(m(this,t),(r=l(this,t))._rawMinBufferLength=e||0,r.pos=0,r.bufferLength=0,r.eof=!1,r.buffer=i,r.minBufferLength=512,e)for(;r.minBufferLength<e;)r.minBufferLength*=2;return r}return u(t,e),v(t,[{key:"isEmpty",get:function(){for(;!this.eof&&0===this.bufferLength;)this.readBlock();return 0===this.bufferLength}},{key:"ensureBuffer",value:function(e){var t=this.buffer;if(e<=t.byteLength)return t;for(var r=this.minBufferLength;r<e;)r*=2;var a=new Uint8Array(r);return a.set(t),this.buffer=a}},{key:"getByte",value:function(){for(var e=this.pos;this.bufferLength<=e;){if(this.eof)return-1;this.readBlock()}return this.buffer[this.pos++]}},{key:"getBytes",value:function(e){var t,r=this.pos;if(e){for(this.ensureBuffer(r+e),t=r+e;!this.eof&&this.bufferLength<t;)this.readBlock();var a=this.bufferLength;t>a&&(t=a)}else{for(;!this.eof;)this.readBlock();t=this.bufferLength}return this.pos=t,this.buffer.subarray(r,t)}},{key:"reset",value:function(){this.pos=0}},{key:"makeSubStream",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(void 0===t)for(;!this.eof;)this.readBlock();else for(var a=e+t;this.bufferLength<=a&&!this.eof;)this.readBlock();return new n.Stream(this.buffer,e,t,r)}},{key:"getBaseStreams",value:function(){return this.str?this.str.getBaseStreams():null}}])}(a.BaseStream);t.DecodeStream=o;var s=function(e){function t(e){var r,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;m(this,t);var n,i=0,s=d(e);try{for(s.s();!(n=s.n()).done;){var c=n.value;i+=c instanceof o?c._rawMinBufferLength:c.length}}catch(u){s.e(u)}finally{s.f()}return(r=l(this,t,[i])).streams=e,r._onError=a,r}return u(t,e),v(t,[{key:"readBlock",value:function(){var e=this.streams;if(0!==e.length){var t,r=e.shift();try{t=r.getBytes()}catch(i){if(this._onError)return void this._onError(i,r.dict&&r.dict.objId);throw i}var a=this.bufferLength,n=a+t.length;this.ensureBuffer(n).set(t,a),this.bufferLength=n}else this.eof=!0}},{key:"getBaseStreams",value:function(){var e,t=[],r=d(this.streams);try{for(r.s();!(e=r.n()).done;){var a=e.value.getBaseStreams();a&&t.push.apply(t,c(a))}}catch(n){r.e(n)}finally{r.f()}return t.length>0?t:null}}])}(o);t.StreamsSequenceStream=s}
2,function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.AsciiHexStream=void 0;var a=function(e){function t(e,r){var a;return m(this,t),r&&(r*=.5),(a=l(this,t,[r])).str=e,a.dict=e.dict,a.firstDigit=-1,a}return u(t,e),v(t,[{key:"readBlock",value:function(){var e=this.str.getBytes(8e3);if(e.length){var t,r=e.length+1>>1,a=this.ensureBuffer(this.bufferLength+r),n=this.bufferLength,i=this.firstDigit,o=d(e);try{for(o.s();!(t=o.n()).done;){var s=t.value,c=void 0;if(s>=48&&s<=57)c=15&s;else{if(!(s>=65&&s<=70||s>=97&&s<=102)){if(62===s){this.eof=!0;break}continue}c=9+(15&s)}i<0?i=c:(a[n++]=i<<4|c,i=-1)}}catch(l){o.e(l)}finally{o.f()}i>=0&&this.eof&&(a[n++]=i<<4,i=-1),this.firstDigit=i,this.bufferLength=n}else this.eof=!0}}])}(r(19).DecodeStream);t.AsciiHexStream=a},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.CCITTFaxStream=void 0;var a=r(22),n=r(19),i=r(5),o=function(e){function t(e,r,n){var o;m(this,t),(o=l(this,t,[r])).str=e,o.dict=e.dict,n instanceof i.Dict||(n=i.Dict.empty);var s={next:function(){return e.getByte()}};return o.ccittFaxDecoder=new a.CCITTFaxDecoder(s,{K:n.get("K"),EndOfLine:n.get("EndOfLine"),EncodedByteAlign:n.get("EncodedByteAlign"),Columns:n.get("Columns"),Rows:n.get("Rows"),EndOfBlock:n.get("EndOfBlock"),BlackIs1:n.get("BlackIs1")}),o}return u(t,e),v(t,[{key:"readBlock",value:function(){for(;!this.eof;){var e=this.ccittFaxDecoder.readNextChar();if(-1===e)return void(this.eof=!0);this.ensureBuffer(this.bufferLength+1),this.buffer[this.bufferLength++]=e}}}])}(n.DecodeStream);t.CCITTFaxStream=o},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.CCITTFaxDecoder=void 0;var a=r(2),n=-1,i=[[-1,-1],[-1,-1],[7,8],[7,7],[6,6],[6,6],[6,5],[6,5],[4,0],[4,0],[4,0],[4,0],[4,0],[4,0],[4,0],[4,0],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[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],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2]],o=[[-1,-1],[12,-2],[-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]],s=[[-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]],c=[[-1,-1],[-1,-1],[12,-2],[12,-2],[-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]],l=[[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]],u=[[-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]],h=function(){return v((function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(m(this,e),!t||"function"!==typeof t.next)throw new Error('CCITTFaxDecoder - invalid "source" parameter.');this.source=t,this.eof=!1,this.encoding=r.K||0,this.eoline=r.EndOfLine||!1,this.byteAlign=r.EncodedByteAlign||!1,this.columns=r.Columns||1728,this.rows=r.Rows||0;var a,n=r.EndOfBlock;for(null!==n&&void 0!==n||(n=!0),this.eoblock=n,this.black=r.BlackIs1||!1,this.codingLine=new 
vendor: 6,067 bytes, line 2
2Uint32Array(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=!1;0===(a=this._lookBits(12));)this._eatBits(1);1===a&&this._eatBits(12),this.encoding>0&&(this.nextLine2D=!this._lookBits(1),this._eatBits(1))}),[{key:"readNextChar",value:function(){if(this.eof)return-1;var e,t,r,i,o,s=this.refLine,c=this.codingLine,l=this.columns;if(0===this.outputBits){if(this.rowsDone&&(this.eof=!0),this.eof)return-1;var u,h,f;if(this.err=!1,this.nextLine2D){for(i=0;c[i]<l;++i)s[i]=c[i];for(s[i++]=l,s[i]=l,c[0]=0,this.codingPos=0,e=0,t=0;c[this.codingPos]<l;)switch(u=this._getTwoDimCode()){case 0:this._addPixels(s[e+1],t),s[e+1]<l&&(e+=2);break;case 1:if(u=h=0,t){do{u+=f=this._getBlackCode()}while(f>=64);do{h+=f=this._getWhiteCode()}while(f>=64)}else{do{u+=f=this._getWhiteCode()}while(f>=64);do{h+=f=this._getBlackCode()}while(f>=64)}for(this._addPixels(c[this.codingPos]+u,t),c[this.codingPos]<l&&this._addPixels(c[this.codingPos]+h,1^t);s[e]<=c[this.codingPos]&&s[e]<l;)e+=2;break;case 7:if(this._addPixels(s[e]+3,t),t^=1,c[this.codingPos]<l)for(++e;s[e]<=c[this.codingPos]&&s[e]<l;)e+=2;break;case 5:if(this._addPixels(s[e]+2,t),t^=1,c[this.codingPos]<l)for(++e;s[e]<=c[this.codingPos]&&s[e]<l;)e+=2;break;case 3:if(this._addPixels(s[e]+1,t),t^=1,c[this.codingPos]<l)for(++e;s[e]<=c[this.codingPos]&&s[e]<l;)e+=2;break;case 2:if(this._addPixels(s[e],t),t^=1,c[this.codingPos]<l)for(++e;s[e]<=c[this.codingPos]&&s[e]<l;)e+=2;break;case 8:if(this._addPixelsNeg(s[e]-3,t),t^=1,c[this.codingPos]<l)for(e>0?--e:++e;s[e]<=c[this.codingPos]&&s[e]<l;)e+=2;break;case 6:if(this._addPixelsNeg(s[e]-2,t),t^=1,c[this.codingPos]<l)for(e>0?--e:++e;s[e]<=c[this.codingPos]&&s[e]<l;)e+=2;break;case 4:if(this._addPixelsNeg(s[e]-1,t),t^=1,c[this.codingPos]<l)for(e>0?--e:++e;s[e]<=c[this.codingPos]&&s[e]<l;)e+=2;break;case n:this._addPixels(l,0),this.eof=!0;break;default:(0,a.info)("bad 2d code"),this._addPixels(l,0),this.err=!0}}else for(c[0]=0,this.codingPos=0,t=0;c[this.codingPos]<l;){if(u=0,t)do{u+=f=this._getBlackCode()}while(f>=64);else do{u+=f=this._getWhiteCode()}while(f>=64);this._addPixels(c[this.codingPos]+u,t),t^=1}var d=!1;if(this.byteAlign&&(this.inputBits&=-8),this.eoblock||this.row!==this.rows-1){if(u=this._lookBits(12),this.eoline)for(;u!==n&&1!==u;)this._eatBits(1),u=this._lookBits(12);else for(;0===u;)this._eatBits(1),u=this._lookBits(12);1===u?(this._eatBits(12),d=!0):u===n&&(this.eof=!0)}else this.rowsDone=!0;if(!this.eof&&this.encoding>0&&!this.rowsDone&&(this.nextLine2D=!this._lookBits(1),this._eatBits(1)),this.eoblock&&d&&this.byteAlign){if(1===(u=this._lookBits(12))){if(this._eatBits(12),this.encoding>0&&(this._lookBits(1),this._eatBits(1)),this.encoding>=0)for(i=0;i<4;++i)1!==(u=this._lookBits(12))&&(0,a.info)("bad rtc code: "+u),this._eatBits(12),this.encoding>0&&(this._lookBits(1),this._eatBits(1));this.eof=!0}}else if(this.err&&this.eoline){for(;;){if((u=this._lookBits(13))===n)return this.eof=!0,-1;if(u>>1===1)break;this._eatBits(1)}this._eatBits(12),this.encoding>0&&(this._eatBits(1),this.nextLine2D=!(1&u))}c[0]>0?this.outputBits=c[this.codingPos=0]:this.outputBits=c[this.codingPos=1],this.row++}if(this.outputBits>=8)o=1&this.codingPos?0:255,this.outputBits-=8,0===this.outputBits&&c[this.codingPos]<l&&(this.codingPos++,this.outputBits=c[this.codingPos]-c[this.codingPos-1]);else{r=8,o=0;do{if("number"!==typeof this.outputBits)throw new a.FormatError('Invalid /CCITTFaxDecode data, "outputBits" must be a number.');this.outputBits>r?(o<<=r,1&this.codingPos||(o|=255>>8-r),this.outputBits-=r,r=0):(o<<=this.outputBits,1&this.codingPos||(o|=255>>8-this.outputBits),r-=this.outputBits,this.outputBits=0,c[this.codingPos]<l?(this.codingPos++,this.outputBits=c[this.codingPos]-c[this.codingPos-1]):r>0&&(o<<=r,r=0))}while(r)}return this.black&&(o^=255),o}},{key:"_addPixels",value:function(e,t){var r=this.codingLine,n=this.codingPos;e>r[n]&&(e>this.columns&&((0,a.info)("row is wrong length"),this.err=!0,e=this.columns),1&n^t&&++n,r[n]=e),this.codingPos=n}},{key:"_addPixelsNeg",value:function(e,t){var r=this.codingLine,n=this.codingPos;if(e>r[n])e>this.columns&&((0,a.info)("row is wrong length"),this.err=!0,e=this.columns),1&n^t&&++n,r[n]=e;else if(e<r[n]){for(e<0&&((0,a.info)("invalid code"),this.err=!0,e=0);n>0&&e<r[n-1];)--n;r[n]=e}this.codingPos=n}},{key:"_findTableCode",value:function(e,t,r,a){for(var i=a||0,o=e;o<=t;++o){var s=this._lookBits(o);if(s===n)return[!0,1,!1];if(o<t&&(s<<=t-o),!i||s>=i){var c=r[s-i];if(c[0]===o)return this._eatBits(o),[!0,c[1],!0]}}return[!1,0,!1]}},{key:"_getTwoDimCode",value:function(){var e,t=0;if(this.eoblock){if(t=this._lookBits(7),(e=i[t])&&e[0]>0)return this._eatBits(e[0]),e[1]}else{var r=this._findTableCode(1,7,i);if(r[0]&&r[2])return r[1]}return(0,a.info)("Bad two dim code"),n}},{key:"_getWhiteCode",value:function(){var e,t=0;if(this.eoblock){if((t=this._lookBits(12))===n)return 1;if((e=t>>5===0?o[t]:s[t>>3])[0]>0)return this._eatBits(e[0]),e[1]}else{var r=this._findTableCode(1,9,s);if(r[0])return r[1];if((r=this._findTableCode(11,12,o))[0])return r[1]}return(0,a.info)("bad white code"),this._eatBits(1),1}},{key:"_getBlackCode",value:function(){var e,t;if(this.eoblock){if((e=this._lookBits(13))===n)return 1;if((t=e>>7===0?c[e]:e>>9===0&&e>>7!==0?l[(e>>1)-64]:u[e>>7])[0]>0)return this._eatBits(t[0]),t[1]}else{var r=this._findTableCode(2,6,u);if(r[0])return r[1];if((r=this._findTableCode(7,12,l,64))[0])return r[1];if((r=this._findTableCode(10,13,c))[0])return r[1]}return(0,a.info)("bad black code"),this._eatBits(1),1}},{key:"_lookBits",value:function(e){for(var t;this.inputBits<e;){if(-1===(t=this.source.next()))return 0===this.inputBits?n:this.inputBuf<<e-this.inputBits&65535>>16-e;this.inputBuf=this.inputBuf<<8|t,this.inputBits+=8}return this.inputBuf>>this.inputBits-e&65535>>16-e}},{key:"_eatBits",value:function(e){(this.inputBits-=e)<0&&(this.inputBits=0)}}])}();t.CCITTFaxDecoder=h}
2,function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.FlateStream=void 0;var a=r(19),n=r(2),i=new Int32Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),o=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]),s=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]),c=[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],h=[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],f=function(e){function t(e,r){var a;m(this,t),(a=l(this,t,[r])).str=e,a.dict=e.dict;var i=e.getByte(),o=e.getByte();if(-1===i||-1===o)throw new n.FormatError("Invalid header in flate stream: ".concat(i,", ").concat(o));if(8!==(15&i))throw new n.FormatError("Unknown compression method in flate stream: ".concat(i,", ").concat(o));if(((i<<8)+o)%31!==0)throw new n.FormatError("Bad FCHECK in flate stream: ".concat(i,", ").concat(o));if(32&o)throw new n.FormatError("FDICT bit set in flate stream: ".concat(i,", ").concat(o));return a.codeSize=0,a.codeBuf=0,a}return u(t,e),v(t,[{key:"getBits",value:function(e){for(var t,r=this.str,a=this.codeSize,i=this.codeBuf;a<e;){if(-1===(t=r.getByte()))throw new n.FormatError("Bad encoding in flate stream");i|=t<<a,a+=8}return t=i&(1<<e)-1,this.codeBuf=i>>
vendor: 2,205 bytes, line 2
2e,this.codeSize=a-=e,t}},{key:"getCode",value:function(e){for(var t,r=this.str,a=e[0],i=e[1],o=this.codeSize,s=this.codeBuf;o<i&&-1!==(t=r.getByte());)s|=t<<o,o+=8;var c=a[s&(1<<i)-1],l=c>>16,u=65535&c;if(l<1||o<l)throw new n.FormatError("Bad encoding in flate stream");return this.codeBuf=s>>l,this.codeSize=o-l,u}},{key:"generateHuffmanTable",value:function(e){var t,r=e.length,a=0;for(t=0;t<r;++t)e[t]>a&&(a=e[t]);for(var n=1<<a,i=new Int32Array(n),o=1,s=0,c=2;o<=a;++o,s<<=1,c<<=1)for(var l=0;l<r;++l)if(e[l]===o){var u=0,h=s;for(t=0;t<o;++t)u=u<<1|1&h,h>>=1;for(t=u;t<n;t+=c)i[t]=o<<16|l;++s}return[i,a]}},{key:"readBlock",value:function(){var e,t,r=this.str,a=this.getBits(3);if(1&a&&(this.eof=!0),0!==(a>>=1)){var l,u;if(1===a)l=c,u=h;else{if(2!==a)throw new n.FormatError("Unknown block type in flate stream");var f,d=this.getBits(5)+257,g=this.getBits(5)+1,p=this.getBits(4)+4,m=new Uint8Array(i.length);for(f=0;f<p;++f)m[i[f]]=this.getBits(3);var v=this.generateHuffmanTable(m);t=0,f=0;for(var b,y,k,w=d+g,x=new Uint8Array(w);f<w;){var S=this.getCode(v);if(16===S)b=2,y=3,k=t;else if(17===S)b=3,y=3,k=t=0;else{if(18!==S){x[f++]=t=S;continue}b=7,y=11,k=t=0}for(var A=this.getBits(b)+y;A-- >0;)x[f++]=k}l=this.generateHuffmanTable(x.subarray(0,d)),u=this.generateHuffmanTable(x.subarray(d,w))}for(var C=(e=this.buffer)?e.length:0,F=this.bufferLength;;){var O=this.getCode(l);if(O<256)F+1>=C&&(C=(e=this.ensureBuffer(F+1)).length),e[F++]=O;else{if(256===O)return void(this.bufferLength=F);var I=(O=o[O-=257])>>16;I>0&&(I=this.getBits(I)),t=(65535&O)+I,O=this.getCode(u),(I=(O=s[O])>>16)>0&&(I=this.getBits(I));var T=(65535&O)+I;F+t>=C&&(C=(e=this.ensureBuffer(F+t)).length);for(var M=0;M<t;++M,++F)e[F]=e[F-T]}}}else{var P;if(-1===(P=r.getByte()))throw new n.FormatError("Bad block header in flate stream");var E=P;if(-1===(P=r.getByte()))throw new n.FormatError("Bad block header in flate stream");if(E|=P<<8,-1===(P=r.getByte()))throw new n.FormatError("Bad block header in flate stream");var N=P;if(-1===(P=r.getByte()))throw new n.FormatError("Bad block header in flate stream");if((N|=P<<8)!==(65535&~E)&&(0!==E||0!==N))throw new n.FormatError("Bad uncompressed block length in flate stream");
2this.codeBuf=0,this.codeSize=0;var D=this.bufferLength,B=D+E;if(e=this.ensureBuffer(B),this.bufferLength=B,0===E)-1===r.peekByte()&&(this.eof=!0);else{var L=r.getBytes(E);e.set(L,D),L.length<E&&(this.eof=!0)}}}}])}(a.DecodeStream);t.FlateStream=f},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.Jbig2Stream=void 0;var a=r(7),n=r(19),i=r(5),o=r(25),s=r(2),c=function(e){function t(e,r,a){var n;return m(this,t),(n=l(this,t,[r])).stream=e,n.dict=e.dict,n.maybeLength=r,n.params=a,n}return u(t,e),v(t,[{key:"bytes",get:function(){return(0,s.shadow)(this,"bytes",this.stream.getBytes(this.maybeLength))}},{key:"ensureBuffer",value:function(e){}},{key:"readBlock",value:function(){if(!this.eof){var e=new o.Jbig2Image,t=[];if(this.params instanceof i.Dict){var r=this.params.get("JBIG2Globals");if(r instanceof a.BaseStream){var n=r.getBytes();t.push({data:n,start:0,end:n.length})}}t.push({data:this.bytes,start:0,end:this.bytes.length});for(var s=e.parseChunks(t),c=s.length,l=0;l<c;l++)s[l]^=255;this.buffer=s,this.bufferLength=c,this.eof=!0}}}])}(n.DecodeStream);t.Jbig2Stream=c},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.Jbig2Image=void 0;var a=r(2),n=r(6),i=r(26),o=r(22),s=function(e){function t(e){return m(this,t),l(this,t,["JBIG2 error: ".concat(e),"Jbig2Error"])}return u(t,e),v(t)}(a.BaseException),h=function(){return v((function e(){m(this,e)}),[{key:"getContexts",value:function(e){return e in this?this[e]:this[e]=new Int8Array(65536)}}])}(),f=function(){return v((function e(t,r,a){m(this,e),this.data=t,this.start=r,this.end=a}),[{key:"decoder",get:function(){var e=new i.ArithmeticDecoder(this.data,this.start,this.end);return(0,a.shadow)(this,"decoder",e)}},{key:"contextCache",get:function(){var e=new h;return(0,a.shadow)(this,"contextCache",e)}}])}();function g(e,t,r){var a=e.getContexts(t),n=1;function i(e){for(var t=0,i=0;i<e;i++){var o=r.readBit(a,n);n=n<256?n<<1|o:511&(n<<1|o)|256,t=t<<1|o}return t>>>0}var o=i(1),s=i(1)?i(1)?i(1)?i(1)?i(1)?i(32)+4436:i(12)+340:i(8)+84:i(6)+20:i(4)+4:i(2);return 0===o?s:s>0?-s:null}function p(e,t,r){for(var a=e.getContexts("IAID"),n=1,i=0;i<r;i++)n=n<<1|t.readBit(a,n);return r<31?n&(1<<r)-1:2147483647&n}var b=["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"],y=[[{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}]],k=[{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}]}],w=[39717,1941,229,405],x=[32,8];function S(e,t,r,a,n,i,o,s){if(e)return $(new _(s.data,s.start,s.end),t,r,!1);if(0===a&&!i&&!n&&4===o.length&&3===o[0].x&&-1===o[0].y&&-3===o[1].x&&-1===o[1].y&&2===o[2].x&&-2===o[2].y&&-2===o[3].x&&-2===o[3].y)return function(e,t,r){var a,n,i,o,s,c,l,u=r.decoder,h=r.contextCache.getContexts("GB"),f=[];for(n=0;n<t;n++)for(s=f[n]=new Uint8Array(e),c=n<1?s:f[n-1],a=(l=n<2?s:f[n-2])[0]<<13|l[1]<<12|l[2]<<11|c[0]<<7|c[1]<<6|c[2]<<5|c[3]<<4,i=0;i<e;i++)s[i]=o=u.readBit(h,a),a=(31735&a)<<1|(i+3<e?l[i+3]<<11:0)|(i+4<e?c[i+4]<<4:0)|o;return f}(t,r,s);var c=!!i,l=y[a].concat(o);l.sort((function(e,t){return e.y-t.y||e.x-t.x}
vendor: 30,885 bytes, line 2
2));var u,h,f=l.length,d=new Int8Array(f),g=new Int8Array(f),p=[],m=0,v=0,b=0,k=0;for(h=0;h<f;h++)d[h]=l[h].x,g[h]=l[h].y,v=Math.min(v,l[h].x),b=Math.max(b,l[h].x),k=Math.min(k,l[h].y),h<f-1&&l[h].y===l[h+1].y&&l[h].x===l[h+1].x-1?m|=1<<f-1-h:p.push(h);var x=p.length,S=new Int8Array(x),A=new Int8Array(x),C=new Uint16Array(x);for(u=0;u<x;u++)h=p[u],S[u]=l[h].x,A[u]=l[h].y,C[u]=1<<f-1-h;for(var F,O,I,T,M,P=-v,E=-k,N=t-b,D=w[a],B=new Uint8Array(t),L=[],R=s.decoder,j=s.contextCache.getContexts("GB"),U=0,X=0,H=0;H<r;H++)if(n&&(U^=R.readBit(j,D)))L.push(B);else for(B=new Uint8Array(B),L.push(B),F=0;F<t;F++)if(c&&i[H][F])B[F]=0;else{if(F>=P&&F<N&&H>=E)for(X=X<<1&m,h=0;h<x;h++)O=H+A[h],I=F+S[h],(T=L[O][I])&&(X|=T=C[h]);else for(X=0,M=f-1,h=0;h<f;h++,M--)(I=F+d[h])>=0&&I<t&&(O=H+g[h])>=0&&(T=L[O][I])&&(X|=T<<M);var q=R.readBit(j,X);B[F]=q}return L}function A(e,t,r,a,n,i,o,c,l){var u=k[r].coding;0===r&&(u=u.concat([c[0]]));var h,f=u.length,d=new Int32Array(f),g=new Int32Array(f);for(h=0;h<f;h++)d[h]=u[h].x,g[h]=u[h].y;var p=k[r].reference;0===r&&(p=p.concat([c[1]]));var m=p.length,v=new Int32Array(m),b=new Int32Array(m);for(h=0;h<m;h++)v[h]=p[h].x,b[h]=p[h].y;for(var y=a[0].length,w=a.length,S=x[r],A=[],C=l.decoder,F=l.contextCache.getContexts("GR"),O=0,I=0;I<t;I++){if(o&&(O^=C.readBit(F,S)))throw new s("prediction is not supported");var T=new Uint8Array(e);A.push(T);for(var M=0;M<e;M++){var P=void 0,E=void 0,N=0;for(h=0;h<f;h++)P=I+g[h],E=M+d[h],P<0||E<0||E>=e?N<<=1:N=N<<1|A[P][E];for(h=0;h<m;h++)P=I+b[h]-i,E=M+v[h]-n,P<0||P>=w||E<0||E>=y?N<<=1:N=N<<1|a[P][E];var D=C.readBit(F,N);T[M]=D}}return A}function C(e,t,r,a,n,i,o,c,l,u,h,f,d,m,v,b,y,k,w){if(e&&t)throw new s("refinement with Huffman is not supported");var x,S,C=[];for(x=0;x<a;x++){if(S=new Uint8Array(r),n)for(var F=0;F<r;F++)S[F]=n;C.push(S)}var O=y.decoder,I=y.contextCache,T=e?-m.tableDeltaT.decode(w):-g(I,"IADT",O),M=0;for(x=0;x<i;){T+=e?m.tableDeltaT.decode(w):g(I,"IADT",O);for(var P=M+=e?m.tableFirstS.decode(w):g(I,"IAFS",O);;){var E=0;o>1&&(E=e?w.readBits(k):g(I,"IAIT",O));var N=o*T+E,D=e?m.symbolIDTable.decode(w):p(I,O,l),B=t&&(e?w.readBit():g(I,"IARI",O)),L=c[D],R=L[0].length,_=L.length;if(B){var j=g(I,"IARDW",O),U=g(I,"IARDH",O);L=A(R+=j,_+=U,v,L,(j>>1)+g(I,"IARDX",O),(U>>1)+g(I,"IARDY",O),!1,b,y)}var $=N-(1&f?0:_-1),X=P-(2&f?R-1:0),H=void 0,q=void 0,z=void 0;if(u){for(H=0;H<_;H++)if(S=C[X+H]){z=L[H];var G=Math.min(r-$,R);switch(d){case 0:for(q=0;q<G;q++)S[$+q]|=z[q];break;case 2:for(q=0;q<G;q++)S[$+q]^=z[q];break;default:throw new s("operator ".concat(d," is not supported"))}}P+=_-1}else{for(q=0;q<_;q++)if(S=C[$+q])switch(z=L[q],d){case 0:for(H=0;H<R;H++)S[X+H]|=z[H];break;case 2:for(H=0;H<R;H++)S[X+H]^=z[H];break;default:throw new s("operator ".concat(d," is not supported"))}P+=R-1}x++;var W=e?m.tableDeltaS.decode(w):g(I,"IADS",O);if(null===W)break;P+=W+h}}return C}function F(e,t){var r={};r.number=(0,n.readUint32)(e,t);var a=e[t+4],i=63&a;if(!b[i])throw new s("invalid segment type: "+i);r.type=i,r.typeName=b[i],r.deferredNonRetain=!!(128&a);var o=!!(64&a),c=e[t+5],l=c>>5&7,u=[31&c],h=t+6;if(7===c){l=536870911&(0,n.readUint32)(e,h-1),h+=3;var f=l+7>>3;for(u[0]=e[h++];--f>0;)u.push(e[h++])}else if(5===c||6===c)throw new s("invalid referred-to flags");r.retainBits=u;var d=4;r.number<=256?d=1:r.number<=65536&&(d=2);var g,p,m=[];for(g=0;g<l;g++){var v=void 0;v=1===d?e[h]:2===d?(0,n.readUint16)(e,h):(0,n.readUint32)(e,h),m.push(v),h+=d}if(r.referredTo=m,o?(r.pageAssociation=(0,n.readUint32)(e,h),h+=4):r.pageAssociation=e[h++],r.length=(0,n.readUint32)(e,h),h+=4,4294967295===r.length){if(38!==i)throw new s("invalid unknown segment length");var y=I(e,h),k=!!(1&e[h+T]),w=new Uint8Array(6);for(k||(w[0]=255,w[1]=172),w[2]=y.height>>>24&255,w[3]=y.height>>16&255,w[4]=y.height>>8&255,w[5]=255&y.height,g=h,p=e.length;g<p;g++){for(var x=0;x<6&&w[x]===e[g+x];)x++;if(6===x){r.length=g+6;break}}if(4294967295===r.length)throw new s("segment end was not found")}return r.headerEnd=h,r}function O(e,t,r,a){for(var n=[],i=r;i<a;){var o=F(t,i);i=o.headerEnd;var s={header:o,data:t};if(e.randomAccess||(s.start=i,i+=o.length,s.end=i),n.push(s),51===o.type)break}if(e.randomAccess)for(var c=0,l=n.length;c<l;c++)n[c].start=i,i+=n[c].header.length,n[c].end=i;return n}function I(e,t){return{width:(0,n.readUint32)(e,t),height:(0,n.readUint32)(e,t+4),x:(0,n.readUint32)(e,t+8),y:(0,n.readUint32)(e,t+12),combinationOperator:7&e[t+16]}}var T=17;function M(e,t){var r,a,i,o,c=e.header,l=e.data,u=e.end,h=e.start;switch(c.type){case 0:var f={},d=(0,n.readUint16)(l,h);if(f.huffman=!!(1&d),f.refinement=!!(2&d),f.huffmanDHSelector=d>>2&3,f.huffmanDWSelector=d>>4&3,f.bitmapSizeSelector=d>>6&1,f.aggregationInstancesSelector=d>>7&1,f.bitmapCodingContextUsed=!!(256&d),f.bitmapCodingContextRetained=!!(512&d),f.template=d>>10&3,f.refinementTemplate=d>>12&1,h+=2,!f.huffman){for(o=0===f.template?4:1,a=[],i=0;i<o;i++)a.push({x:(0,n.readInt8)(l,h),y:(0,n.readInt8)(l,h+1)}),h+=2;f.at=a}if(f.refinement&&!f.refinementTemplate){for(a=[],i=0;i<2;i++)a.push({x:(0,n.readInt8)(l,h),y:(0,n.readInt8)(l,h+1)}),h+=2;f.refinementAt=a}f.numberOfExportedSymbols=(0,n.readUint32)(l,h),h+=4,f.numberOfNewSymbols=(0,n.readUint32)(l,h),h+=4,r=[f,c.number,c.referredTo,l,h,u];break;case 6:case 7:var g={};g.info=I(l,h),h+=T;var p=(0,n.readUint16)(l,h);if(h+=2,g.huffman=!!(1&p),g.refinement=!!(2&p),g.logStripSize=p>>2&3,g.stripSize=1<<g.logStripSize,g.referenceCorner=p>>4&3,g.transposed=!!(64&p),g.combinationOperator=p>>7&3,g.defaultPixelValue=p>>9&1,g.dsOffset=p<<17>>27,g.refinementTemplate=p>>15&1,g.huffman){var m=(0,n.readUint16)(l,h);h+=2,g.huffmanFS=3&m,g.huffmanDS=m>>2&3,g.huffmanDT=m>>4&3,g.huffmanRefinementDW=m>>6&3,g.huffmanRefinementDH=m>>8&3,g.huffmanRefinementDX=m>>10&3,g.huffmanRefinementDY=m>>12&3,g.huffmanRefinementSizeSelector=!!(16384&m)}if(g.refinement&&!g.refinementTemplate){for(a=[],i=0;i<2;i++)a.push({x:(0,n.readInt8)(l,h),y:(0,n.readInt8)(l,h+1)}),h+=2;g.refinementAt=a}g.numberOfSymbolInstances=(0,n.readUint32)(l,h),h+=4,r=[g,c.referredTo,l,h,u];break;case 16:var v={},b=l[h++];v.mmr=!!(1&b),v.template=b>>1&3,v.patternWidth=l[h++],v.patternHeight=l[h++],v.maxPatternIndex=(0,n.readUint32)(l,h),h+=4,r=[v,c.number,l,h,u];break;case 22:case 23:var y={};y.info=I(l,h),h+=T;var k=l[h++];y.mmr=!!(1&k),y.template=k>>1&3,y.enableSkip=!!(8&k),y.combinationOperator=k>>4&7,y.defaultPixelValue=k>>7&1,y.gridWidth=(0,n.readUint32)(l,h),h+=4,y.gridHeight=(0,n.readUint32)(l,h),h+=4,y.gridOffsetX=4294967295&(0,n.readUint32)(l,h),h+=4,y.gridOffsetY=4294967295&(0,n.readUint32)(l,h),h+=4,y.gridVectorX=(0,n.readUint16)(l,h),h+=2,y.gridVectorY=(0,n.readUint16)(l,h),h+=2,r=[y,c.referredTo,l,h,u];break;case 38:case 39:var w={};w.info=I(l,h),h+=T;var x=l[h++];if(w.mmr=!!(1&x),w.template=x>>1&3,w.prediction=!!(8&x),!w.mmr){for(o=0===w.template?4:1,a=[],i=0;i<o;i++)a.push({x:(0,n.readInt8)(l,h),y:(0,n.readInt8)(l,h+1)}),h+=2;w.at=a}r=[w,l,h,u];break;case 48:var S={width:(0,n.readUint32)(l,h),height:(0,n.readUint32)(l,h+4),resolutionX:(0,n.readUint32)(l,h+8),resolutionY:(0,n.readUint32)(l,h+12)};4294967295===S.height&&delete S.height;var A=l[h+16];(0,n.readUint16)(l,h+17),S.lossless=!!(1&A),S.refinement=!!(2&A),S.defaultPixelValue=A>>2&1,S.combinationOperator=A>>3&3,S.requiresBuffer=!!(32&A),S.combinationOperatorOverride=!!(64&A),r=[S];break;case 49:case 50:case 51:case 62:break;case 53:r=[c.number,l,h,u];break;default:throw new s("segment type ".concat(c.typeName,"(").concat(c.type,") is not implemented"))}var C="on"+c.typeName;C in t&&t[C].apply(t,r)}function P(e,t){for(var r=0,a=e.length;r<a;r++)M(e[r],t)}var E=function(){return v((function e(){m(this,e)}),[{key:"onPageInformation",value:function(e){this.currentPageInfo=e;var t=e.width+7>>3,r=new Uint8ClampedArray(t*e.height);e.defaultPixelValue&&r.fill(255),this.buffer=r}},{key:"drawBitmap",value:function(e,t){var r,a,n,i,o=this.currentPageInfo,c=e.width,l=e.height,u=o.width+7>>3,h=o.combinationOperatorOverride?e.combinationOperator:o.combinationOperator,f=this.buffer,d=128>>(7&e.x),g=e.y*u+(e.x>>3);switch(h){case 0:for(r=0;r<l;r++){for(n=d,i=g,a=0;a<c;a++)t[r][a]&&(f[i]|=n),(n>>=1)||(n=128,i++);g+=u}break;case 2:for(r=0;r<l;r++){for(n=d,i=g,a=0;a<c;a++)t[r][a]&&(f[i]^=n),(n>>=1)||(n=128,i++);g+=u}break;default:throw new s("operator ".concat(h," is not supported"))}}},{key:"onImmediateGenericRegion",value:function(e,t,r,a){var n=e.info,i=new f(t,r,a),o=S(e.mmr,n.width,n.height,e.template,e.prediction,null,e.at,i);this.drawBitmap(n,o)}},{key:"onImmediateLosslessGenericRegion",value:function(){this.onImmediateGenericRegion.apply(this,arguments)}},{key:"onSymbolDictionary",value:function(e,t,r,a,i,o){var l,u;e.huffman&&(l=function(e,t,r){var a,n,i,o,c=0;switch(e.huffmanDHSelector){case 0:case 1:a=R(e.huffmanDHSelector+4);break;case 3:a=j(c,t,r),c++;break;default:throw new s("invalid Huffman DH selector")}switch(e.huffmanDWSelector){case 0:case 1:n=R(e.huffmanDWSelector+2);break;case 3:n=j(c,t,r),c++;break;default:throw new s("invalid Huffman DW selector")}return e.bitmapSizeSelector?(i=j(c,t,r),c++):i=R(1),o=e.aggregationInstancesSelector?j(c,t,r):R(1),{tableDeltaHeight:a,tableDeltaWidth:n,tableBitmapSize:i,tableAggregateInstances:o}}(e,r,this.customTables),u=new _(a,i,o));var h=this.symbols;h||(this.symbols=h={});var m,v=[],b=d(r);try{for(b.s();!(m=b.n()).done;){var y=h[m.value];y&&v.push.apply(v,c(y))}}catch(w){b.e(w)}finally{b.f()}var k=new f(a,i,o);h[t]=function(e,t,r,a,i,o,c,l,u,h,f,d){if(e&&t)throw new s("symbol refinement with Huffman is not supported");var m,v,b=[],y=0,k=(0,n.log2)(r.length+a),w=f.decoder,x=f.contextCache;for(e&&(m=R(1),v=[],k=Math.max(k,1));b.length<a;){y+=e?o.tableDeltaHeight.decode(d):g(x,"IADH",w);for(var F=0,O=0,I=e?v.length:0;;){var T=e?o.tableDeltaWidth.decode(d):g(x,"IADW",w);if(null===T)break;O+=F+=T;var M=void 0;if(t){var P=g(x,"IAAI",w);if(P>1)M=C(e,t,F,y,0,P,1,r.concat(b),k,0,0,1,0,o,u,h,f,0,d);else{var E=p(x,w,k),N=g(x,"IARDX",w),D=g(x,"IARDY",w);M=A(F,y,u,E<r.length?r[E]:b[E-r.length],N,D,!1,h,f)}b.push(M)}else e?v.push(F):(M=S(!1,F,y,c,!1,null,l,f),b.push(M))}if(e&&!t){var B=o.tableBitmapSize.decode(d);d.byteAlign();var L=void 0;if(0===B)L=U(d,O,y);else{var _=d.end,j=d.position+B;d.end=j,L=$(d,O,y,!1),d.end=_,d.position=j}var X=v.length;if(I===X-1)b.push(L);else{var H=void 0,q=void 0,z=0,G=void 0,W=void 0;for(H=I;H<X;H++){for(G=z+v[H],W=[],q=0;q<y;q++)W.push(L[q].subarray(z,G));b.push(W),z=G}}}}for(var V,K,Y=[],J=[],Z=!1,Q=r.length+a;J.length<Q;){for(var ee=e?m.decode(d):g(x,"IAEX",w);ee--;)J.push(Z);Z=!Z}for(V=0,K=r.length;V<K;V++)J[V]&&Y.push(r[V]);for(var te=0;te<a;V++,te++)J[V]&&Y.push(b[te]);return Y}(e.huffman,e.refinement,v,e.numberOfNewSymbols,e.numberOfExportedSymbols,l,e.template,e.at,e.refinementTemplate,e.refinementAt,k,u)}},{key:"onImmediateTextRegion",value:function(e,t,r,a,i){var o,l,u,h=e.info,g=this.symbols,p=[],m=d(t);try{for(m.s();!(u=m.n()).done;){var v=g[u.value];v&&p.push.apply(p,c(v))}}catch(w){m.e(w)}finally{m.f()}var b=(0,n.log2)(p.length);e.huffman&&(l=new _(r,a,i),o=function(e,t,r,a,n){for(var i=[],o=0;o<=34;o++){var c=n.readBits(4);i.push(new N([o,c,0,0]))}var l=new B(i,!1);i.length=0;for(var u=0;u<a;){var h=l.decode(n);if(h>=32){var f=void 0,d=void 0,g=void 0;switch(h){case 32:if(0===u)throw new s("no previous value in symbol ID table");d=n.readBits(2)+3,f=i[u-1].prefixLength;break;case 33:d=n.readBits(3)+3,f=0;break;case 34:d=n.readBits(7)+11,f=0;break;default:throw new s("invalid code length in symbol ID table")}for(g=0;g<d;g++)i.push(new N([u,f,0,0])),u++}else i.push(new N([u,h,0,0])),u++}n.byteAlign();var p,m,v,b=new B(i,!1),y=0;switch(e.huffmanFS){case 0:case 1:p=R(e.huffmanFS+6);break;case 3:p=j(y,t,r),y++;break;default:throw new s("invalid Huffman FS selector")}switch(e.huffmanDS){case 0:case 1:case 2:m=R(e.huffmanDS+8);break;case 3:m=j(y,t,r),y++;break;default:throw new s("invalid Huffman DS selector")}switch(e.huffmanDT){case 0:case 1:case 2:v=R(e.huffmanDT+11);break;case 3:v=j(y,t,r),y++;break;default:throw new s("invalid Huffman DT selector")}if(e.refinement)throw new s("refinement with Huffman is not supported");return{symbolIDTable:b,tableFirstS:p,tableDeltaS:m,tableDeltaT:v}}(e,t,this.customTables,p.length,l));var y=new f(r,a,i),k=C(e.huffman,e.refinement,h.width,h.height,e.defaultPixelValue,e.numberOfSymbolInstances,e.stripSize,p,b,e.transposed,e.dsOffset,e.referenceCorner,e.combinationOperator,o,e.refinementTemplate,e.refinementAt,y,e.logStripSize,l);this.drawBitmap(h,k)}},{key:"onImmediateLosslessTextRegion",value:function(){this.onImmediateTextRegion.apply(this,arguments)}},{key:"onPatternDictionary",value:function(e,t,r,a,n){var i=this.patterns;i||(this.patterns=i={});var o=new f(r,a,n);i[t]=function(e,t,r,a,n,i){var o=[];e||(o.push({x:-t,y:0}),0===n&&o.push({x:-3,y:-1},{x:2,y:-2},{x:-2,y:-2}));for(var s=S(e,(a+1)*t,r,n,!1,null,o,i),c=[],l=0;l<=a;l++){for(var u=[],h=t*l,f=h+t,d=0;d<r;d++)u.push(s[d].subarray(h,f));c.push(u)}return c}(e.mmr,e.patternWidth,e.patternHeight,e.maxPatternIndex,e.template,o)}},{key:"onImmediateHalftoneRegion",value:function(e,t,r,a,i){var o=this.patterns[t[0]],c=e.info,l=new f(r,a,i),u=function(e,t,r,a,i,o,c,l,u,h,f,d,g,p,m){if(c)throw new s("skip is not supported");if(0!==l)throw new s('operator "'.concat(l,'" is not supported in halftone region'));var v,b,y,k=[];for(v=0;v<i;v++){if(y=new Uint8Array(a),o)for(b=0;b<a;b++)y[b]=o;k.push(y)}var w=t.length,x=t[0],A=x[0].length,C=x.length,F=(0,n.log2)(w),O=[];e||(O.push({x:r<=1?3:2,y:-1}),0===r&&O.push({x:-3,y:-1},{x:2,y:-2},{x:-2,y:-2}));var I,T,M,P,E,N,D,B,L,R,j,U=[];for(e&&(I=new _(m.data,m.start,m.end)),v=F-1;v>=0;v--)T=e?$(I,u,h,!0):S(!1,u,h,r,!1,null,O,m),U[v]=T;for(M=0;M<h;M++)for(P=0;P<u;P++){for(E=0,N=0,b=F-1;b>=0;b--)N|=(E^=U[b][M][P])<<b;if(D=t[N],L=d+M*g-P*p>>8,(B=f+M*p+P*g>>8)>=0&&B+A<=a&&L>=0&&L+C<=i)for(v=0;v<C;v++)for(j=k[L+v],R=D[v],b=0;b<A;b++)j[B+b]|=R[b];else{var X=void 0,H=void 0;for(v=0;v<C;v++)if(!((H=L+v)<0||H>=i))for(j=k[H],R=D[v],b=0;b<A;b++)(X=B+b)>=0&&X<a&&(j[X]|=R[b])}}return k}(e.mmr,o,e.template,c.width,c.height,e.defaultPixelValue,e.enableSkip,e.combinationOperator,e.gridWidth,e.gridHeight,e.gridOffsetX,e.gridOffsetY,e.gridVectorX,e.gridVectorY,l);this.drawBitmap(c,u)}},{key:"onImmediateLosslessHalftoneRegion",value:function(){this.onImmediateHalftoneRegion.apply(this,arguments)}},{key:"onTables",value:function(e,t,r,a){var i=this.customTables;i||(this.customTables=i={}),i[e]=function(e,t,r){var a,i,o=e[t],s=4294967295&(0,n.readUint32)(e,t+1),c=4294967295&(0,n.readUint32)(e,t+5),l=new _(e,t+9,r),u=1+(o>>1&7),h=1+(o>>4&7),f=[],d=s;do{a=l.readBits(u),i=l.readBits(h),f.push(new N([d,a,i,0])),d+=1<<i}while(d<c);return a=l.readBits(u),f.push(new N([s-1,a,32,0,"lower"])),a=l.readBits(u),f.push(new N([c,a,32,0])),1&o&&(a=l.readBits(u),f.push(new N([a,0]))),new B(f,!1)}(t,r,a)}}])}(),N=v((function e(t){m(this,e),2===t.length?(this.isOOB=!0,this.rangeLow=0,this.prefixLength=t[0],this.rangeLength=0,this.prefixCode=t[1],this.isLowerRange=!1):(this.isOOB=!1,this.rangeLow=t[0],this.prefixLength=t[1],this.rangeLength=t[2],this.prefixCode=t[3],this.isLowerRange="lower"===t[4])})),D=function(){function e(t){m(this,e),this.children=[],t?(this.isLeaf=!0,this.rangeLength=t.rangeLength,this.rangeLow=t.rangeLow,this.isLowerRange=t.isLowerRange,this.isOOB=t.isOOB):this.isLeaf=!1}return v(e,[{key:"buildTree",value:function(t,r){var a=t.prefixCode>>r&1;if(r<=0)this.children[a]=new e(t);else{var n=this.children[a];n||(this.children[a]=n=new e(null)),n.buildTree(t,r-1)}}},{key:"decodeNode",value:function(e){if(this.isLeaf){if(this.isOOB)return null;var t=e.readBits(this.rangeLength);return this.rangeLow+(this.isLowerRange?-t:t)}var r=this.children[e.readBit()];if(!r)throw new s("invalid Huffman data");return r.decodeNode(e)}}])}(),B=function(){return v((function e(t,r){m(this,e),r||this.assignPrefixCodes(t),this.rootNode=new D(null);for(var a=0,n=t.length;a<n;a++){var i=t[a];i.prefixLength>0&&this.rootNode.buildTree(i,i.prefixLength-1)}}),[{key:"decode",value:function(e){return this.rootNode.decodeNode(e)}},{key:"assignPrefixCodes",value:function(e){for(var t=e.length,r=0,a=0;a<t;a++)r=Math.max(r,e[a].prefixLength);for(var n=new Uint32Array(r+1),i=0;i<t;i++)n[e[i].prefixLength]++;var o,s,c,l=1,u=0;for(n[0]=0;l<=r;){for(o=u=u+n[l-1]<<1,s=0;s<t;)(c=e[s]).prefixLength===l&&(c.prefixCode=o,o++),s++;l++}}}])}(),L={};function R(e){var t,r=L[e];if(r)return r;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 s("standard table B.".concat(e," does not exist"))}for(var a=0,n=t.length;a<n;a++)t[a]=new N(t[a]);return r=new B(t,!0),L[e]=r,r}var _=function(){return v((function e(t,r,a){m(this,e),this.data=t,this.start=r,this.end=a,this.position=r,this.shift=-1,this.currentByte=0}),[{key:"readBit",value:function(){if(this.shift<0){if(this.position>=this.end)throw new s("end of data while reading bit");this.currentByte=this.data[this.position++],this.shift=7}var e=this.currentByte>>this.shift&1;return this.shift--,e}},{key:"readBits",value:function(e){var t,r=0;for(t=e-1;t>=0;t--)r|=this.readBit()<<t;return r}},{key:"byteAlign",value:function(){this.shift=-1}},{key:"next",value:function(){return this.position>=this.end?-1:this.data[this.position++]}}])}();function j(e,t,r){for(var a=0,n=0,i=t.length;n<i;n++){var o=r[t[n]];if(o){if(e===a)return o;a++}}throw new s("can't find custom Huffman table")}function U(e,t,r){for(var a=[],n=0;n<r;n++){var i=new Uint8Array(t);a.push(i);for(var o=0;o<t;o++)i[o]=e.readBit();e.byteAlign()}return a}function $(e,t,r,a){for(var n,i={K:-1,Columns:t,Rows:r,BlackIs1:!0,EndOfBlock:a},s=new o.CCITTFaxDecoder(e,i),c=[],l=!1,u=0;u<r;u++){var h=new Uint8Array(t);c.push(h);for(var f=-1,d=0;d<t;d++)f<0&&(-1===(n=s.readNextChar())&&(n=0,l=!0),f=7),h[d]=n>>f&1,f--}if(a&&!l)for(var g=0;g<5&&-1!==s.readNextChar();g++);return c}var X=function(){return v((function e(){m(this,e)}),[{key:"parseChunks",value:function(e){return function(e){for(var t=new E,r=0,a=e.length;r<a;r++){var n=e[r];P(O({},n.data,n.start,n.end),t)}return t.buffer}(e)}},{key:"parse",value:function(e){throw new Error("Not implemented: Jbig2Image.parse")}}])}();t.Jbig2Image=X},function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.ArithmeticDecoder=void 0;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}],a=function(){return v((function e(t,r,a){m(this,e),this.data=t,this.bp=r,this.dataEnd=a,this.chigh=t[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}),[{key:"byteIn",value:function(){var e=this.data,t=this.bp;255===e[t]?e[t+1]>143?(this.clow+=65280,this.ct=8):(t++,this.clow+=e[t]<<9,this.ct=7,this.bp=t):(t++,this.clow+=t<this.dataEnd?e[t]<<8:65280,this.ct=8,this.bp=t),this.clow>65535&&(this.chigh+=this.clow>>16,this.clow&=65535)}},{key:"readBit",value:function(e,t){var a,n=e[t]>>1,i=1&e[t],o=r[n],s=o.qe,c=this.a-s;if(this.chigh<s)c<s?(c=s,a=i,n=o.nmps):(c=s,a=1^i,1===o.switchFlag&&(i=a),n=o.nlps);else{if(this.chigh-=s,0!==(32768&c))return this.a=c,i;c<s?(a=1^i,1===o.switchFlag&&(i=a),n=o.nlps):(a=i,n=o.nmps)}do{0===this.ct&&this.byteIn(),c<<=1,this.chigh=this.chigh<<1&65535|this.clow>>15&1,this.clow=this.clow<<1&65535,this.ct--}while(0===(32768&c));return this.a=c,e[t]=n<<1|i,a}}])}();t.ArithmeticDecoder=a},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.JpegStream=void 0;var a=r(19),n=r(5),i=r(28),o=r(2),s=function(e){function t(e,r,a){var n,i;for(m(this,t);-1!==(i=e.getByte());)if(255===i){e.skip(-1);break}return(n=l(this,t,[r])).stream=e,n.dict=e.dict,n.maybeLength=r,n.params=a,n}return u(t,e),v(t,[{key:"bytes",get:function(){return(0,o.shadow)(this,"bytes",this.stream.getBytes(this.maybeLength))}},{key:"ensureBuffer",value:function(e){}},{key:"readBlock",value:function(){if(!this.eof){var e={decodeTransform:void 0,colorTransform:void 0},t=this.dict.getArray("D","Decode");if(this.forceRGB&&Array.isArray(t)){for(var r=this.dict.get("BPC","BitsPerComponent")||8,a=t.length,o=new Int32Array(a),s=!1,c=(1<<r)-1,l=0;l<a;l+=2)o[l]=256*(t[l+1]-t[l])|0,o[l+1]=t[l]*c|0,256===o[l]&&0===o[l+1]||(s=!0);s&&(e.decodeTransform=o)}if(this.params instanceof n.Dict){var u=this.params.get("ColorTransform");Number.isInteger(u)&&(e.colorTransform=u)}var h=new i.JpegImage(e);h.parse(this.bytes);var f=h.getData({width:this.drawWidth,height:this.drawHeight,forceRGB:this.forceRGB,isSourcePDF:!0});this.buffer=f,this.bufferLength=f.length,this.eof=!0}}}])}(a.DecodeStream);t.JpegStream=s},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.JpegImage=void 0;var a=r(2),n=r(6),i=function(e){function t(e){return m(this,t),l(this,t,["JPEG error: ".concat(e),"JpegError"])}return u(t,e),v(t)}(a.BaseException),o=function(e){function t(e,r){var a;return m(this,t),(a=l(this,t,[e,"DNLMarkerError"])).scanLines=r,a}return u(t,e),v(t)}(a.BaseException),s=function(e){function t(e){return m(this,t),l(this,t,[e,"EOIMarkerError"])}return u(t,e),v(t)}(a.BaseException),c=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]),h=4017,f=799,d=3406,g=2276,p=1567,b=3784,y=5793,k=2896;function w(e,t){for(var r,a,n=0,i=16;i>0&&!e[i-1];)i--;var o,s=[{children:[],index:0}],c=s[0];for(r=0;r<i;r++){for(a=0;a<e[r];a++){for((c=s.pop()).children[c.index]=t[n];c.index>0;)c=s.pop();for(c.index++,s.push(c);s.length<=r;)s.push(o={children:[],index:0}),c.children[c.index]=o.children,c=o;n++}r+1<i&&(s.push(o={children:[],index:0}),c.children[c.index]=o.children,c=o)}return s[0].children}function x(e,t,r){return 64*((e.blocksPerLine+1)*t+r)}function S(e,t,r,l,u,h,f,d,g){var p=arguments.length>9&&void 0!==arguments[9]&&arguments[9],m=r.mcusPerLine,v=r.progressive,b=t,y=0,k=0;function w(){if(k>0)return k--,y>>k&1;if(255===(y=e[t++])){var a=e[t++];if(a){if(220===a&&p){t+=2;var c=(0,n.readUint16)(e,t);if(t+=2,c>0&&c!==r.scanLines)throw new o("Found DNL marker (0xFFDC) while parsing scan data",c)}else if(217===a){if(p){var l=M*(8===r.precision?8:0);if(l>0&&Math.round(r.scanLines/l)>=10)throw new o("Found EOI marker (0xFFD9) while parsing scan data, possibly caused by incorrect `scanLines` parameter",l)}throw new s("Found EOI marker (0xFFD9) while parsing scan data")}throw new i("unexpected marker ".concat((y<<8|a).toString(16)))}}return k=7,y>>>7}function S(e){for(var t=e;;){switch(typeof(t=t[w()])){case"number":return t;case"object":continue}throw new i("invalid huffman sequence")}}function A(e){for(var t=0;e>0;)t=t<<1|w(),e--;return t}function C(e){if(1===e)return 1===w()?1:-1;var t=A(e);return t>=1<<e-1?t:t+(-1<<e)+1}var O,I=0,T=0,M=0;function P(e,t,r,a,n){var i=r%m;M=(r/m|0)*e.v+a;var o=i*e.h+n;t(e,x(e,M,o))}function E(e,t,r){M=r/e.blocksPerLine|0;var a=r%e.blocksPerLine;t(e,x(e,M,a))}var N,D,B,L,R,_,j=l.length;_=v?0===h?0===d?function(e,t){var r=S(e.huffmanTableDC),a=0===r?0:C(r)<<g;e.blockData[t]=e.pred+=a}:function(e,t){e.blockData[t]|=w()<<g}:0===d?function(e,t){if(I>0)I--;else for(var r=h,a=f;r<=a;){var n=S(e.huffmanTableAC),i=15&n,o=n>>4;if(0!==i){var s=c[r+=o];e.blockData[t+s]=C(i)*(1<<g),r++}else{if(o<15){I=A(o)+(1<<o)-1;break}r+=16}}}:function(e,t){for(var r,a,n=h,o=f,s=0;n<=o;){var l=t+c[n],u=e.blockData[l]<0?-1:1;switch(T){case 0:if(s=(a=S(e.huffmanTableAC))>>4,0===(r=15&a))s<15?(I=A(s)+(1<<s),T=4):(s=16,T=1);else{if(1!==r)throw new i("invalid ACn encoding");O=C(r),T=s?2:3}continue;case 1:case 2:e.blockData[l]?e.blockData[l]+=u*(w()<<g):0===--s&&(T=2===T?3:0);break;case 3:e.blockData[l]?e.blockData[l]+=u*(w()<<g):(e.blockData[l]=O<<g,T=0);break;case 4:e.blockData[l]&&(e.blockData[l]+=u*(w()<<g))}n++}4===T&&0===--I&&(T=0)}:function(e,t){var r=S(e.huffmanTableDC),a=0===r?0:C(r);e.blockData[t]=e.pred+=a;for(var n=1;n<64;){var i=S(e.huffmanTableAC),o=15&i,s=i>>4;if(0!==o){var l=c[n+=s];e.blockData[t+l]=C(o),n++}else{if(s<15)break;n+=16}}};var U,$,X,H,q=0;for($=1===j?l[0].blocksPerLine*l[0].blocksPerColumn:m*r.mcusPerColumn;q<=$;){var z=u?Math.min($-q,u):$;if(z>0){for(D=0;D<j;D++)l[D].pred=0;if(I=0,1===j)for(N=l[0],R=0;R<z;R++)E(N,_,q),q++;else for(R=0;R<z;R++){for(D=0;D<j;D++)for(X=(N=l[D]).h,H=N.v,B=0;B<H;B++)for(L=0;L<X;L++)P(N,_,q,B,L);q++}}if(k=0,!(U=F(e,t)))break;if(U.invalid){var G=z>0?"unexpected":"excessive";(0,a.warn)("decodeScan - ".concat(G," MCU data, current marker is: ").concat(U.invalid)),t=U.offset}if(!(U.marker>=65488&&U.marker<=65495))break;t+=2}return t-b}function A(e,t,r){var a,n,o,s,c,l,u,m,v,w,x,S,A,C,F,O,I,T=e.quantizationTable,M=e.blockData;if(!T)throw new i("missing required Quantization Table.");for(var P=0;P<64;P+=8)v=M[t+P],w=M[t+P+1],x=M[t+P+2],S=M[t+P+3],A=M[t+P+4],C=M[t+P+5],F=M[t+P+6],O=M[t+P+7],v*=T[P],0!==(w|x|S|A|C|F|O)?(w*=T[P+1],x*=T[P+2],S*=T[P+3],A*=T[P+4],C*=T[P+5],F*=T[P+6],O*=T[P+7],n=(a=(a=y*v+128>>8)+(n=y*A+128>>8)+1>>1)-n,I=(o=x)*b+(s=F)*p+128>>8,o=o*p-s*b+128>>8,u=(c=(c=k*(w-O)+128>>8)+(u=C<<4)+1>>1)-u,l=(m=(m=k*(w+O)+128>>8)+(l=S<<4)+1>>1)-l,s=(a=a+(s=I)+1>>1)-s,o=(n=n+o+1>>1)-o,I=c*g+m*d+2048>>12,c=c*d-m*g+2048>>12,m=I,I=l*f+u*h+2048>>12,l=l*h-u*f+2048>>12,u=I,r[P]=a+m,r[P+7]=a-m,r[P+1]=n+u,r[P+6]=n-u,r[P+2]=o+l,r[P+5]=o-l,r[P+3]=s+c,r[P+4]=s-c):(I=y*v+512>>10,r[P]=I,r[P+1]=I,r[P+2]=I,r[P+3]=I,r[P+4]=I,r[P+5]=I,r[P+6]=I,r[P+7]=I);for(var E=0;E<8;++E)v=r[E],0!==((w=r[E+8])|(x=r[E+16])|(S=r[E+24])|(A=r[E+32])|(C=r[E+40])|(F=r[E+48])|(O=r[E+56]))?(n=(a=4112+((a=y*v+2048>>12)+(n=y*A+2048>>12)+1>>1))-n,I=(o=x)*b+(s=F)*p+2048>>12,o=o*p-s*b+2048>>12,s=I,u=(c=(c=k*(w-O)+2048>>12)+(u=C)+1>>1)-u,l=(m=(m=k*(w+O)+2048>>12)+(l=S)+1>>1)-l,I=c*g+m*d+2048>>12,c=c*d-m*g+2048>>12,m=I,I=l*f+u*h+2048>>12,l=l*h-u*f+2048>>12,(v=(a=a+s+1>>1)+m)<16?v=0:v>=4080?v=255:v>>=4,(w=(n=n+o+1>>1)+(u=I))<16?w=0:w>=4080?w=255:w>>=4,(x=(o=n-o)+l)<16?x=0:x>=4080?x=255:x>>=4,(S=(s=a-s)+c)<16?S=0:S>=4080?S=255:S>>=4,(A=s-c)<16?A=0:A>=4080?A=255:A>>=4,(C=o-l)<16?C=0:C>=4080?C=255:C>>=4,(F=n-u)<16?F=0:F>=4080?F=255:F>>=4,(O=a-m)<16?O=0:O>=4080?O=255:O>>=4,M[t+E]=v,M[t+E+8]=w,M[t+E+16]=x,M[t+E+24]=S,M[t+E+32]=A,M[t+E+40]=C,M[t+E+48]=F,M[t+E+56]=O):(I=(I=y*v+8192>>14)<-2040?0:I>=2024?255:I+2056>>4,M[t+E]=I,M[t+E+8]=I,M[t+E+16]=I,M[t+E+24]=I,M[t+E+32]=I,M[t+E+40]=I,M[t+E+48]=I,M[t+E+56]=I)}function C(e,t){for(var r=t.blocksPerLine,a=t.blocksPerColumn,n=new Int16Array(64),i=0;i<a;i++)for(var o=0;o<r;o++)A(t,x(t,i,o),n);return t.blockData}function F(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,a=e.length-1,i=r<t?r:t;if(t>=a)return null;var o=(0,n.readUint16)(e,t);if(o>
2=65472&&o<=65534)return{invalid:null,marker:o,offset:t};for(var s=(0,n.readUint16)(e,i);!(s>=65472&&s<=65534);){if(++i>=a)return null;s=(0,n.readUint16)(e,i)}return{invalid:o.toString(16),marker:s,offset:i}}var O=function(){return v((function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.decodeTransform,a=void 0===r?null:r,n=t.colorTransform,i=void 0===n?-1:n;m(this,e),this._decodeTransform=a,this._colorTransform=i}),[{key:"parse",value:function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).dnlScanLines,r=void 0===t?null:t;function l(){var t=(0,n.readUint16)(e,d),r=(d+=2)+t-2,i=F(e,r,d);i&&i.invalid&&((0,a.warn)("readDataBlock - incorrect length, current marker is: "+i.invalid),r=i.offset);var o=e.subarray(d,r);return d+=o.length,o}function u(e){for(var t=Math.ceil(e.samplesPerLine/8/e.maxH),r=Math.ceil(e.scanLines/8/e.maxV),a=0,n=e.components.length;a<n;a++){var i=e.components[a],o=Math.ceil(Math.ceil(e.samplesPerLine/8)*i.h/e.maxH),s=Math.ceil(Math.ceil(e.scanLines/8)*i.v/e.maxV),c=t*i.h,l=r*i.v*64*(c+1);i.blockData=new Int16Array(l),i.blocksPerLine=o,i.blocksPerColumn=s}e.mcusPerLine=t,e.mcusPerColumn=r}var h,f,d=0,g=null,p=null,m=0,v=[],b=[],y=[],k=(0,n.readUint16)(e,d);if(d+=2,65496!==k)throw new i("SOI not found");k=(0,n.readUint16)(e,d),d+=2;e:for(;65497!==k;){var x=void 0,A=void 0,O=void 0;switch(k){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 I=l();65504===k&&74===I[0]&&70===I[1]&&73===I[2]&&70===I[3]&&0===I[4]&&(g={version:{major:I[5],minor:I[6]},densityUnits:I[7],xDensity:I[8]<<8|I[9],yDensity:I[10]<<8|I[11],thumbWidth:I[12],thumbHeight:I[13],thumbData:I.subarray(14,14+3*I[12]*I[13])}),65518===k&&65===I[0]&&100===I[1]&&111===I[2]&&98===I[3]&&101===I[4]&&(p={version:I[5]<<8|I[6],flags0:I[7]<<8|I[8],flags1:I[9]<<8|I[10],transformCode:I[11]});break;case 65499:for(var T=(0,n.readUint16)(e,d)+(d+=2)-2;d<T;){var M=e[d++],P=new Uint16Array(64);if(M>>4===0)for(A=0;A<64;A++)P[c[A]]=e[d++];else{if(M>>4!==1)throw new i("DQT - invalid table spec");for(A=0;A<64;A++)P[c[A]]=(0,n.readUint16)(e,d),d+=2}v[15&M]=P}break;case 65472:case 65473:case 65474:if(h)throw new i("Only single frame JPEGs supported");d+=2,(h={}).extended=65473===k,h.progressive=65474===k,h.precision=e[d++];var E=(0,n.readUint16)(e,d);d+=2,h.scanLines=r||E,h.samplesPerLine=(0,n.readUint16)(e,d),d+=2,h.components=[],h.componentIds={};var N=e[d++],D=0,B=0;for(x=0;x<N;x++){var L=e[d],R=e[d+1]>>4,_=15&e[d+1];D<R&&(D=R),B<_&&(B=_);var j=e[d+2];O=h.components.push({h:R,v:_,quantizationId:j,quantizationTable:null}),h.componentIds[L]=O-1,d+=3}h.maxH=D,h.maxV=B,u(h);break;case 65476:var U=(0,n.readUint16)(e,d);for(d+=2,x=2;x<U;){var $=e[d++],X=new Uint8Array(16),H=0;for(A=0;A<16;A++,d++)H+=X[A]=e[d];var q=new Uint8Array(H);for(A=0;A<H;A++,d++)q[A]=e[d];x+=17+H,($>>4===0?y:b)[15&$]=w(X,q)}break;case 65501:d+=2,f=(0,n.readUint16)(e,d),d+=2;break;case 65498:var z=1===++m&&!r;d+=2;var G=e[d++],W=[];for(x=0;x<G;x++){var V=e[d++],K=h.componentIds[V],Y=h.components[K];Y.index=V;var J=e[d++];Y.huffmanTableDC=y[J>>4],Y.huffmanTableAC=b[15&J],W.push(Y)}var Z=e[d++],Q=e[d++],ee=e[d++];try{var te=S(e,d,h,W,f,Z,Q,ee>>4,15&ee,z);d+=te}catch(se){if(se instanceof o)return(0,a.warn)("".concat(se.message," -- attempting to re-parse the JPEG image.")),this.parse(e,{dnlScanLines:se.scanLines});if(se instanceof s){(0,a.warn)("".concat(se.message," -- ignoring the rest of the image data."));break e}throw se}break;case 65500:d+=4;break;case 65535:255!==e[d]&&d--;break;default:var re=F(e,d-2,d-3);if(re&&re.invalid){(0,a.warn)("JpegImage.parse - unexpected data, current marker is: "+re.invalid),d=re.offset;break}if(!re||d>=e.length-1){(0,a.warn)("JpegImage.parse - reached the end of the image data without finding an EOI marker (0xFFD9).");break e}throw new i("JpegImage.parse - unknown marker: "+k.toString(16))}k=(0,n.readUint16)(e,d),d+=2}this.width=h.samplesPerLine,this.height=h.scanLines,this.jfif=g,this.adobe=p,this.components=[];for(var ae=0,ne=h.components.length;ae<ne;ae++){var ie=h.components[ae],oe=v[ie.quantizationId];oe&&(ie.quantizationTable=oe),this.components.push({index:ie.index,output:C(0,ie),scaleX:ie.h/h.maxH,scaleY:ie.v/h.maxV,blocksPerLine:ie.blocksPerLine,blocksPerColumn:ie.blocksPerColumn})}this.numComponents=this.components.length}},{key:"_getLinearizedBlockData",value:function(e,t){var r,a,n,i,o,s,c,l,u,h,f,d,g=arguments.length>2&&void 0!==arguments[2]&&arguments[2],p=this.width/e,m=this.height/t,v=0,b=this.components.length,y=e*t*b,k=new Uint8ClampedArray(y),w=new Uint32Array(e),x=4294967288;for(c=0;c<b;c++){if(a=(r=this.components[c]).scaleX*p,n=r.scaleY*m,v=c,f=r.output,i=r.blocksPerLine+1<<3,a!==d){for(o=0;o<e;o++)l=0|o*a,w[o]=(l&x)<<3|7&l;d=a}for(s=0;s<t;s++)for(h=i*((l=0|s*n)&x)|(7&l)<<3,o=0;o<e;o++)k[v]=f[h+w[o]],v+=b}var S=this._decodeTransform;if(g||4!==b||S||(S=new Int32Array([-256,255,-256,255,-256,255,-256,255])),S)for(c=0;c<y;)for(l=0,u=0;l<b;l++,c++,u+=2)k[c]=(k[c]*S[u]>>8)+S[u+1];return k}},{key:"_isColorConversionNeeded",get:function(){return this.adobe?!!this.adobe.transformCode:3===this.numComponents?0!==this._colorTransform&&(82!==this.components[0].index||71!==this.components[1].index||66!==this.components[2].index):1===this._colorTransform}},{key:"_convertYccToRgb",value:function(e){for(var t,r,a,n=0,i=e.length;n<i;n+=3)t=e[n],r=e[n+1],a=e[n+2],e[n]=t-179.456+1.402*a,e[n+1]=t+135.459-.344*r-.714*a,e[n+2]=t-226.816+1.772*r;return e}},{key:"_convertYcckToRgb",value:function(e){for(var t,r,a,n,i=0,o=0,s=e.length;o<s;o+=4)t=e[o],r=e[o+1],a=e[o+2],n=e[o+3],e[i++]=r*(-660635669420364e-19*r+.000437130475926232*a-54080610064599e-18*t+.00048449797120281*n-.154362151871126)-122.67195406894+a*(-.000957964378445773*a+.000817076911346625*t-.00477271405408747*n+1.53380253221734)+t*(.000961250184130688*t-.00266257332283933*n+.48357088451265)+n*(-.000336197177618394*n+.484791561490776),e[i++]=107.268039397724+r*(219927104525741e
2-19*r-.000640992018297945*a+.000659397001245577*t+.000426105652938837*n-.176491792462875)+a*(-.000778269941513683*a+.00130872261408275*t+.000770482631801132*n-.151051492775562)+t*(.00126935368114843*t-.00265090189010898*n+.25802910206845)+n*(-.000318913117588328*n-.213742400323665),e[i++]=r*(-.000570115196973677*r-263409051004589e-19*a+.0020741088115012*t-.00288260236853442*n+.814272968359295)-20.810012546947+a*(-153496057440975e-19*a-.000132689043961446*t+.000560833691242812*n-.195152027534049)+t*(.00174418132927582*t-.00255243321439347*n+.116935020465145)+n*(-.000343531996510555*n+.24165260232407);return e.subarray(0,i)}},{key:"_convertYcckToCmyk",value:function(e){for(var t,r,a,n=0,i=e.length;n<i;n+=4)t=e[n],r=e[n+1],a=e[n+2],e[n]=434.456-t-1.402*a,e[n+1]=119.541-t+.344*r+.714*a,e[n+2]=481.816-t-1.772*r;return e}},{key:"_convertCmykToRgb",value:function(e){for(var t,r,a,n,i=0,o=0,s=e.length;o<s;o+=4)t=e[o],r=e[o+1],a=e[o+2],n=e[o+3],e[i++]=255+t*(-6747147073602441e-20*t+.0008379262121013727*r+.0002894718188643294*a+.003264231057537806*n-1.1185611867203937)+r*(26374107616089405e-21*r-8626949158638572e-20*a-.0002748769067499491*n-.02155688794978967)+a*(-3878099212869363e-20*a-.0003267808279485286*n+.0686742238595345)-n*(.0003361971776183937*n+.7430659151342254),e[i++]=255+t*(.00013596372813588848*t+.000924537132573585*r+.00010567359618683593*a+.0004791864687436512*n-.3109689587515875)+r*(-.00023545346108370344*r+.0002702845253534714*a+.0020200308977307156*n-.7488052167015494)+a*(6834815998235662e-20*a+.00015168452363460973*n-.09751927774728933)-n*(.0003189131175883281*n+.7364883807733168),e[i++]=255+t*(13598650411385307e-21*t+.00012423956175490851*r+.0004751985097583589*a-36729317476630422e-22*n-.05562186980264034)+r*(.00016141380598724676*r+.0009692239130725186*a+.0007782692450036253*n-.44015232367526463)+a*(5.068882914068769e-7*a+.0017778369011375071*n-.7591454649749609)-n*(.0003435319965105553*n+.7063770186160144);return e.subarray(0,i)}},{key:"getData",value:function(e){var t=e.width,r=e.height,a=e.forceRGB,n=void 0!==a&&a,o=e.isSourcePDF,s=void 0!==o&&o;if(this.numComponents>4)throw new i("Unsupported color mode");var c=this._getLinearizedBlockData(t,r,s);if(1===this.numComponents&&n){for(var l=c.length,u=new Uint8ClampedArray(3*l),h=0,f=0;f<l;f++){var d=c[f];u[h++]=d,u[h++]=d,u[h++]=d}return u}if(3===this.numComponents&&this._isColorConversionNeeded)return this._convertYccToRgb(c);if(4===this.numComponents){if(this._isColorConversionNeeded)return n?this._convertYcckToRgb(c):this._convertYcckToCmyk(c);if(n)return this._convertCmykToRgb(c)}return c}}])}();t.JpegImage=O},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.JpxStream=void 0;var a=r(19),n=r(30),i=r(2),o=function(e){function t(e,r,a){var n;return m(this,t),(n=l(this,t,[r])).stream=e,n.dict=e.dict,n.maybeLength=r,n.params=a,n}return u(t,e),v(t,[{key:"bytes",get:function(){return(0,i.shadow)(this,"bytes",this.stream.getBytes(this.maybeLength))}},{key:"ensureBuffer",value:function(e){}},{key:"readBlock",value:function(){if(!this.eof){var e=new n.JpxImage;e.parse(this.bytes);var t=e.width,r=e.height,a=e.componentsCount,i=e.tiles.length;if(1===i)this.buffer=e.tiles[0].items;else{for(var o=new Uint8ClampedArray(t*r*a),s=0;s<i;s++)for(var c=e.tiles[s],l=c.width,u=c.height,h=c.left,f=c.top,d=c.items,g=0,p=(t*f+h)*a,m=t*a,v=l*a,b=0;b<u;b++){var y=d.subarray(g,g+v);o.set(y,p),g+=v,p+=m}this.buffer=o}this.bufferLength=this.buffer.length,this.eof=!0}}}])}(a.DecodeStream);t.JpxStream=o},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.JpxImage=void 0;var a=r(2),n=r(6),i=r(26),o=function(e){function t(e){return m(this,t),l(this,t,["JPX error: ".concat(e),"JpxError"])}return u(t,e),v(t)}(a.BaseException),s={LL:0,LH:1,HL:1,HH:2},c=function(){return v((function e(){m(this,e),this.failOnCorruptedImage=!1}),[{key:"parse",value:function(e){if(65359!==(0,n.readUint16)(e,0))for(var t=e.length,r=0;r<t;){var i=8,s=(0,n.readUint32)(e,r),c=(0,n.readUint32)(e,r+4);if(r+=i,1===s&&(s=4294967296*(0,n.readUint32)(e,r)+(0,n.readUint32)(e,r+4),r+=8,i+=8),0===s&&(s=t-r+i),s<i)throw new o("Invalid box field size");var l=s-i,u=!0;switch(c){case 1785737832:u=!1;break;case 1668246642:var h=e[r];if(1===h){var f=(0,n.readUint32)(e,r+3);switch(f){case 16:case 17:case 18:break;default:(0,a.warn)("Unknown colorspace "+f)}}else 2===h&&(0,a.info)("ICC profile not supported");break;case 1785737827:this.parseCodestream(e,r,r+l);break;case 1783636e3:218793738!==(0,n.readUint32)(e,r)&&(0,a.warn)("Invalid JP2 signature");break;case 1783634458:case 1718909296:case 1920099697:case 1919251232:case 1768449138:break;default:var d=String.fromCharCode(c>>24&255,c>>16&255,c>>8&255,255&c);(0,a.warn)("Unsupported header type ".concat(c," (").concat(d,")."))}u&&(r+=l)}else this.parseCodestream(e,0,e.length)}},{key:"parseImageProperties",value:function(e){for(var t=e.getByte();t>=0;)if(65361===(t<<8|(t=e.getByte()))){e.skip(4);var r=e.getInt32()>>>0,a=e.getInt32()>>>0,n=e.getInt32()>>>0,i=e.getInt32()>>>0;e.skip(16);var s=e.getUint16();return this.width=r-n,this.height=a-i,this.componentsCount=s,void(this.bitsPerComponent=8)}throw new o("No size marker found in JPX stream")}},{key:"parseCodestream",value:function(e,t,r){var i={},s=!1;try{for(var c=t;c+1<r;){var l=(0,n.readUint16)(e,c);c+=2;var u=0,d=void 0,g=void 0,p=void 0,m=void 0,v=void 0,b=void 0;switch(l){case 65359:i.mainHeader=!0;break;case 65497:break;case 65361:u=(0,n.readUint16)(e,c);var y={};y.Xsiz=(0,n.readUint32)(e,c+4),y.Ysiz=(0,n.readUint32)(e,c+8),y.XOsiz=(0,n.readUint32)(e,c+12),y.YOsiz=(0,n.readUint32)(e,c+16),y.XTsiz=(0,n.readUint32)(e,c+20),y.YTsiz=(0,n.readUint32)(e,c+24),y.XTOsiz=(0,n.readUint32)(e,c+28),y.YTOsiz=(0,n.readUint32)(e,c+32);var k=(0,n.readUint16)(e,c+36);y.Csiz=k;var w=[];d=c+38;for(var x=0;x<k;x++){var S={precision:1+(127&e[d]),isSigned:!!(128&e[d]),XRsiz:e[d+1],YRsiz:e[d+2]};d+=3,h(S,y),w.push(S)}i.SIZ=y,i.components=w,f(i,w),i.QCC=[],i.COC=[];break;case 65372:u=(0,n.readUint16)(e,c);var A={};switch(d=c+2,31&(g=e[d++])){case 0:m=8,v=!0;break;case 1:m=16,v=!1;break;case 2:m=16,v=!0;break;default:throw new Error("Invalid SQcd value "+g)}for(A.noQuantization=8===m,A.scalarExpounded=v,A.guardBits=g>>5,p=[];d<u+c;
vendor: 27,865 bytes, line 2
2){var C={};8===m?(C.epsilon=e[d++]>>3,C.mu=0):(C.epsilon=e[d]>>3,C.mu=(7&e[d])<<8|e[d+1],d+=2),p.push(C)}A.SPqcds=p,i.mainHeader?i.QCD=A:(i.currentTile.QCD=A,i.currentTile.QCC=[]);break;case 65373:u=(0,n.readUint16)(e,c);var I={};d=c+2;var P=void 0;switch(i.SIZ.Csiz<257?P=e[d++]:(P=(0,n.readUint16)(e,d),d+=2),31&(g=e[d++])){case 0:m=8,v=!0;break;case 1:m=16,v=!1;break;case 2:m=16,v=!0;break;default:throw new Error("Invalid SQcd value "+g)}for(I.noQuantization=8===m,I.scalarExpounded=v,I.guardBits=g>>5,p=[];d<u+c;){var E={};8===m?(E.epsilon=e[d++]>>3,E.mu=0):(E.epsilon=e[d]>>3,E.mu=(7&e[d])<<8|e[d+1],d+=2),p.push(E)}I.SPqcds=p,i.mainHeader?i.QCC[P]=I:i.currentTile.QCC[P]=I;break;case 65362:u=(0,n.readUint16)(e,c);var N={};d=c+2;var D=e[d++];N.entropyCoderWithCustomPrecincts=!!(1&D),N.sopMarkerUsed=!!(2&D),N.ephMarkerUsed=!!(4&D),N.progressionOrder=e[d++],N.layersCount=(0,n.readUint16)(e,d),d+=2,N.multipleComponentTransform=e[d++],N.decompositionLevelsCount=e[d++],N.xcb=2+(15&e[d++]),N.ycb=2+(15&e[d++]);var B=e[d++];if(N.selectiveArithmeticCodingBypass=!!(1&B),N.resetContextProbabilities=!!(2&B),N.terminationOnEachCodingPass=!!(4&B),N.verticallyStripe=!!(8&B),N.predictableTermination=!!(16&B),N.segmentationSymbolUsed=!!(32&B),N.reversibleTransformation=e[d++],N.entropyCoderWithCustomPrecincts){for(var L=[];d<u+c;){var R=e[d++];L.push({PPx:15&R,PPy:R>>4})}N.precinctsSizes=L}var _=[];N.selectiveArithmeticCodingBypass&&_.push("selectiveArithmeticCodingBypass"),N.terminationOnEachCodingPass&&_.push("terminationOnEachCodingPass"),N.verticallyStripe&&_.push("verticallyStripe"),N.predictableTermination&&_.push("predictableTermination"),_.length>0&&(s=!0,(0,a.warn)("JPX: Unsupported COD options (".concat(_.join(", "),")."))),i.mainHeader?i.COD=N:(i.currentTile.COD=N,i.currentTile.COC=[]);break;case 65424:u=(0,n.readUint16)(e,c),(b={}).index=(0,n.readUint16)(e,c+2),b.length=(0,n.readUint32)(e,c+4),b.dataEnd=b.length+c-2,b.partIndex=e[c+8],b.partsCount=e[c+9],i.mainHeader=!1,0===b.partIndex&&(b.COD=i.COD,b.COC=i.COC.slice(0),b.QCD=i.QCD,b.QCC=i.QCC.slice(0)),i.currentTile=b;break;case 65427:0===(b=i.currentTile).partIndex&&(M(i,b.index),F(i)),O(i,e,c,u=b.dataEnd-c);break;case 65363:(0,a.warn)("JPX: Codestream code 0xFF53 (COC) is not implemented.");case 65365:case 65367:case 65368:case 65380:u=(0,n.readUint16)(e,c);break;default:throw new Error("Unknown codestream code: "+l.toString(16))}c+=u}}catch(j){if(s||this.failOnCorruptedImage)throw new o(j.message);(0,a.warn)('JPX: Trying to recover from: "'.concat(j.message,'".'))}this.tiles=function(e){for(var t=e.SIZ,r=e.components,a=t.Csiz,n=[],i=0,o=e.tiles.length;i<o;i++){for(var s=e.tiles[i],c=[],l=0;l<a;l++)c[l]=T(e,s,l);var u=c[0],h=new Uint8ClampedArray(u.items.length*a),f={left:u.left,top:u.top,width:u.width,height:u.height,items:h},d=void 0,g=void 0,p=0,m=void 0,v=void 0,b=void 0,y=void 0,k=void 0;if(s.codingStyleDefaultParameters.multipleComponentTransform){var w=4===a,x=c[0].items,S=c[1].items,A=c[2].items,C=w?c[3].items:null;g=.5+(128<<(d=r[0].precision-8));var F=s.components[0],O=a-3;if(v=x.length,F.codingStyleParameters.reversibleTransformation)for(m=0;m<v;m++,p+=O){b=x[m]+g,y=S[m];var I=b-((k=A[m])+y>>2);h[p++]=I+k>>d,h[p++]=I>>d,h[p++]=I+y>>d}else for(m=0;m<v;m++,p+=O)b=x[m]+g,y=S[m],k=A[m],h[p++]=b+1.402*k>>d,h[p++]=b-.34413*y-.71414*k>>d,h[p++]=b+1.772*y>>d;if(w)for(m=0,p=3;m<v;m++,p+=4)h[p]=C[m]+g>>d}else for(var M=0;M<a;M++){var P=c[M].items;for(g=.5+(128<<(d=r[M].precision-8)),p=M,m=0,v=P.length;m<v;m++)h[p]=P[m]+g>>d,p+=a}n.push(f)}return n}(i),this.width=i.SIZ.Xsiz-i.SIZ.XOsiz,this.height=i.SIZ.Ysiz-i.SIZ.YOsiz,this.componentsCount=i.SIZ.Csiz}}])}();function h(e,t){e.x0=Math.ceil(t.XOsiz/e.XRsiz),e.x1=Math.ceil(t.Xsiz/e.XRsiz),e.y0=Math.ceil(t.YOsiz/e.YRsiz),e.y1=Math.ceil(t.Ysiz/e.YRsiz),e.width=e.x1-e.x0,e.height=e.y1-e.y0}function f(e,t){for(var r,a=e.SIZ,n=[],i=Math.ceil((a.Xsiz-a.XTOsiz)/a.XTsiz),o=Math.ceil((a.Ysiz-a.YTOsiz)/a.YTsiz),s=0;s<o;s++)for(var c=0;c<i;c++)(r={}).tx0=Math.max(a.XTOsiz+c*a.XTsiz,a.XOsiz),r.ty0=Math.max(a.YTOsiz+s*a.YTsiz,a.YOsiz),r.tx1=Math.min(a.XTOsiz+(c+1)*a.XTsiz,a.Xsiz),r.ty1=Math.min(a.YTOsiz+(s+1)*a.YTsiz,a.Ysiz),r.width=r.tx1-r.tx0,r.height=r.ty1-r.ty0,r.components=[],n.push(r);e.tiles=n;for(var l=0,u=a.Csiz;l<u;l++)for(var h=t[l],f=0,d=n.length;f<d;f++){var g={};r=n[f],g.tcx0=Math.ceil(r.tx0/h.XRsiz),g.tcy0=Math.ceil(r.ty0/h.YRsiz),g.tcx1=Math.ceil(r.tx1/h.XRsiz),g.tcy1=Math.ceil(r.ty1/h.YRsiz),g.width=g.tcx1-g.tcx0,g.height=g.tcy1-g.tcy0,r.components[l]=g}}function d(e,t,r){var a=t.codingStyleParameters,n={};return a.entropyCoderWithCustomPrecincts?(n.PPx=a.precinctsSizes[r].PPx,n.PPy=a.precinctsSizes[r].PPy):(n.PPx=15,n.PPy=15),n.xcb_=r>0?Math.min(a.xcb,n.PPx-1):Math.min(a.xcb,n.PPx),n.ycb_=r>0?Math.min(a.ycb,n.PPy-1):Math.min(a.ycb,n.PPy),n}function g(e,t,r){var a=1<<r.PPx,n=1<<r.PPy,i=0===t.resLevel,o=1<<r.PPx+(i?0:-1),s=1<<r.PPy+(i?0:-1),c=t.trx1>t.trx0?Math.ceil(t.trx1/a)-Math.floor(t.trx0/a):0,l=t.try1>t.try0?Math.ceil(t.try1/n)-Math.floor(t.try0/n):0,u=c*l;t.precinctParameters={precinctWidth:a,precinctHeight:n,numprecinctswide:c,numprecinctshigh:l,numprecincts:u,precinctWidthInSubband:o,precinctHeightInSubband:s}}function p(e,t,r){var a,n,i,o,s=r.xcb_,c=r.ycb_,l=1<<s,u=1<<c,h=t.tbx0>>s,f=t.tby0>>c,d=t.tbx1+l-1>>s,g=t.tby1+u-1>>c,p=t.resolution.precinctParameters,m=[],v=[];for(n=f;n<g;n++)for(a=h;a<d;a++)if((i={cbx:a,cby:n,tbx0:l*a,tby0:u*n,tbx1:l*(a+1),tby1:u*(n+1)}).tbx0_=Math.max(t.tbx0,i.tbx0),i.tby0_=Math.max(t.tby0,i.tby0),i.tbx1_=Math.min(t.tbx1,i.tbx1),i.tby1_=Math.min(t.tby1,i.tby1),o=Math.floor((i.tbx0_-t.tbx0)/p.precinctWidthInSubband)+Math.floor((i.tby0_-t.tby0)/p.precinctHeightInSubband)*p.numprecinctswide,i.precinctNumber=o,i.subbandType=t.type,i.Lblock=3,!(i.tbx1_<=i.tbx0_||i.tby1_<=i.tby0_)){m.push(i);var b=v[o];void 0!==b?(a<b.cbxMin?b.cbxMin=a:a>b.cbxMax&&(b.cbxMax=a),n<b.cbyMin?b.cbxMin=n:n>b.cbyMax&&(b.cbyMax=n)):v[o]=b={cbxMin:a,cbyMin:n,cbxMax:a,cbyMax:n},i.precinct=b}t.codeblockParameters={codeblockWidth:s,codeblockHeight:c,numcodeblockwide:d-h+1,numcodeblockhigh:g-f+1},t.codeblocks=m,t.precincts=v}function b(e,t,r){for(var a=[],n=e.subbands,i=0,o=n.length;i<o;i++)for(var s=n[i].codeblocks,c=0,l=s.length;c<l;c++){var u=s[c];u.precinctNumber===t&&a.push(u)}return{layerNumber:r,codeblocks:a}}function y(e){for(var t=e.SIZ,r=e.currentTile.index,a=e.tiles[r],n=a.codingStyleDefaultParameters.layersCount,i=t.Csiz,s=0,c=0;c<i;c++)s=Math.max(s,a.components[c].codingStyleParameters.decompositionLevelsCount);var l=0,u=0,h=0,f=0;this.nextPacket=function(){for(;l<n;l++){for(;u<=s;u++){for(;h<i;h++){var e=a.components[h];if(!(u>e.codingStyleParameters.decompositionLevelsCount)){for(var t=e.resolutions[u],r=t.precinctParameters.numprecincts;f<r;){var c=b(t,f,l);return f++,c}f=0}}h=0}u=0}throw new o("Out of packets")}}function k(e){for(var t=e.SIZ,r=e.currentTile.index,a=e.tiles[r],n=a.codingStyleDefaultParameters.layersCount,i=t.Csiz,s=0,c=0;c<i;c++)s=Math.max(s,a.components[c].codingStyleParameters.decompositionLevelsCount);var l=0,u=0,h=0,f=0;this.nextPacket=function(){for(;l<=s;l++){for(;u<n;u++){for(;h<i;h++){var e=a.components[h];if(!(l>e.codingStyleParameters.decompositionLevelsCount)){for(var t=e.resolutions[l],r=t.precinctParameters.numprecincts;f<r;){var c=b(t,f,u);return f++,c}f=0}}h=0}u=0}throw new o("Out of packets")}}function w(e){var t,r,a,n,i=e.SIZ,s=e.currentTile.index,c=e.tiles[s],l=c.codingStyleDefaultParameters.layersCount,u=i.Csiz,h=0;for(a=0;a<u;a++){var f=c.components[a];h=Math.max(h,f.codingStyleParameters.decompositionLevelsCount)}var d=new Int32Array(h+1);for(r=0;r<=h;++r){var g=0;for(a=0;a<u;++a){var p=c.components[a].resolutions;r<p.length&&(g=Math.max(g,p[r].precinctParameters.numprecincts))}d[r]=g}t=0,r=0,a=0,n=0,this.nextPacket=function(){for(;r<=h;r++){for(;n<d[r];n++){for(;a<u;a++){var e=c.components[a];if(!(r>e.codingStyleParameters.decompositionLevelsCount)){var i=e.resolutions[r],s=i.precinctParameters.numprecincts;if(!(n>=s)){for(;t<l;){var f=b(i,n,t);return t++,f}t=0}}}a=0}n=0}throw new o("Out of packets")}}function x(e){var t=e.SIZ,r=e.currentTile.index,a=e.tiles[r],n=a.codingStyleDefaultParameters.layersCount,i=t.Csiz,s=C(a),c=s,l=0,u=0,h=0,f=0,d=0;this.nextPacket=function(){for(;d<c.maxNumHigh;d++){for(;f<c.maxNumWide;f++){for(;h<i;h++){for(var e=a.components[h],t=e.codingStyleParameters.decompositionLevelsCount;u<=t;u++){var r=e.resolutions[u],g=s.components[h].resolutions[u],p=A(f,d,g,c,r);if(null!==p){for(;l<n;){var m=b(r,p,l);return l++,m}l=0}}u=0}h=0}f=0}throw new o("Out of packets")}}function S(e){var t=e.SIZ,r=e.currentTile.index,a=e.tiles[r],n=a.codingStyleDefaultParameters.layersCount,i=t.Csiz,s=C(a),c=0,l=0,u=0,h=0,f=0;this.nextPacket=function(){for(;u<i;++u){for(var e=a.components[u],t=s.components[u],r=e.codingStyleParameters.decompositionLevelsCount;f<t.maxNumHigh;f++){for(;h<t.maxNumWide;h++){for(;l<=r;l++){var d=e.resolutions[l],g=t.resolutions[l],p=A(h,f,g,t,d);if(null!==p){for(;c<n;){var m=b(d,p,c);return c++,m}c=0}}l=0}h=0}f=0}throw new o("Out of packets")}}function A(e,t,r,a,n){var i=e*a.minWidth,o=t*a.minHeight;if(i%r.width!==0||o%r.height!==0)return null;var s=o/r.width*n.precinctParameters.numprecinctswide;return i/r.height+s}function C(e){for(var t=e.components.length,r=Number.MAX_VALUE,a=Number.MAX_VALUE,n=0,i=0,o=new Array(t),s=0;s<t;s++){for(var c=e.components[s],l=c.codingStyleParameters.decompositionLevelsCount,u=new Array(l+1),h=Number.MAX_VALUE,f=Number.MAX_VALUE,d=0,g=0,p=1,m=l;m>=0;--m){var v=c.resolutions[m],b=p*v.precinctParameters.precinctWidth,y=p*v.precinctParameters.precinctHeight;h=Math.min(h,b),f=Math.min(f,y),d=Math.max(d,v.precinctParameters.numprecinctswide),g=Math.max(g,v.precinctParameters.numprecinctshigh),u[m]={width:b,height:y},p<<=1}r=Math.min(r,h),a=Math.min(a,f),n=Math.max(n,d),i=Math.max(i,g),o[s]={resolutions:u,minWidth:h,minHeight:f,maxNumWide:d,maxNumHigh:g}}return{components:o,minWidth:r,minHeight:a,maxNumWide:n,maxNumHigh:i}}function F(e){for(var t=e.SIZ,r=e.currentTile.index,a=e.tiles[r],n=t.Csiz,i=0;i<n;i++){for(var s=a.components[i],c=s.codingStyleParameters.decompositionLevelsCount,l=[],u=[],h=0;h<=c;h++){var f=d(0,s,h),m={},v=1<<c-h;m.trx0=Math.ceil(s.tcx0/v),m.try0=Math.ceil(s.tcy0/v),m.trx1=Math.ceil(s.tcx1/v),m.try1=Math.ceil(s.tcy1/v),m.resLevel=h,g(0,m,f),l.push(m);var b=void 0;if(0===h)(b={}).type="LL",b.tbx0=Math.ceil(s.tcx0/v),b.tby0=Math.ceil(s.tcy0/v),b.tbx1=Math.ceil(s.tcx1/v),b.tby1=Math.ceil(s.tcy1/v),b.resolution=m,p(0,b,f),u.push(b),m.subbands=[b];else{var A=1<<c-h+1,C=[];(b={}).type="HL",b.tbx0=Math.ceil(s.tcx0/A-.5),b.tby0=Math.ceil(s.tcy0/A),b.tbx1=Math.ceil(s.tcx1/A-.5),b.tby1=Math.ceil(s.tcy1/A),b.resolution=m,p(0,b,f),u.push(b),C.push(b),(b={}).type="LH",b.tbx0=Math.ceil(s.tcx0/A),b.tby0=Math.ceil(s.tcy0/A-.5),b.tbx1=Math.ceil(s.tcx1/A),b.tby1=Math.ceil(s.tcy1/A-.5),b.resolution=m,p(0,b,f),u.push(b),C.push(b),(b={}).type="HH",b.tbx0=Math.ceil(s.tcx0/A-.5),b.tby0=Math.ceil(s.tcy0/A-.5),b.tbx1=Math.ceil(s.tcx1/A-.5),b.tby1=Math.ceil(s.tcy1/A-.5),b.resolution=m,p(0,b,f),u.push(b),C.push(b),m.subbands=C}}s.resolutions=l,s.subbands=u}var F=a.codingStyleDefaultParameters.progressionOrder;switch(F){case 0:a.packetsIterator=new y(e);break;case 1:a.packetsIterator=new k(e);break;case 2:a.packetsIterator=new w(e);break;case 3:a.packetsIterator=new x(e);break;case 4:a.packetsIterator=new S(e);break;default:throw new o("Unsupported progression order ".concat(F))}}function O(e,t,r,a){var i,s=0,c=0,l=!1;function u(e){for(;c<e;){var a=t[r+s];s++,l?(i=i<<7|a,c+=7,l=!1):(i=i<<8|a,c+=8),255===a&&(l=!0)}return i>>>(c-=e)&(1<<e)-1}function h(e){return 255===t[r+s-1]&&t[r+s]===e?(f(1),!0):255===t[r+s]&&t[r+s+1]===e&&(f(2),!0)}function f(e){s+=e}function d(){c=0,l&&(s++,l=!1)}function g(){if(0===u(1))return 1;if(0===u(1))return 2;var e=u(2);return e<3?e+3:(e=u(5))<31?e+6:(e=u(7))+37}for(var p=e.currentTile.index,m=e.tiles[p],v=e.COD.sopMarkerUsed,b=e.COD.ephMarkerUsed,y=m.packetsIterator;s<a;){d(),v&&h(145)&&f(4);var k=y.nextPacket();if(u(1)){for(var w=k.layerNumber,x=[],S=void 0,A=0,C=k.codeblocks.length;A<C;A++){var F=(S=k.codeblocks[A]).precinct,O=S.cbx-F.cbxMin,I=S.cby-F.cbyMin,T=!1,M=!1,N=void 0;if(void 0!==S.included)T=!!u(1);else{var D=void 0;if(void 0!==(F=S.precinct).inclusionTree)D=F.inclusionTree;else{var B=F.cbxMax-F.cbxMin+1,L=F.cbyMax-F.cbyMin+1;D=new E(B,L,w),N=new P(B,L),F.inclusionTree=D,F.zeroBitPlanesTree=N;for(var R=0;R<w;R++)if(0!==u(1))throw new o("Invalid tag tree")}if(D.reset(O,I,w))for(;;){if(!u(1)){D.incrementValue(w);break}if(!D.nextLevel()){S.included=!0,T=M=!0;break}}}if(T){if(M){for((N=F.zeroBitPlanesTree).reset(O,I);;)if(u(1)){if(!N.nextLevel())break}else N.incrementValue();S.zeroBitPlanes=N.value}for(var _=g();u(1);)S.Lblock++;var j=(0,n.log2)(_),U=u((_<1<<j?j-1:j)+S.Lblock);x.push({codeblock:S,codingpasses:_,dataLength:U})}}for(d(),b&&h(146);x.length>0;){var $=x.shift();void 0===(S=$.codeblock).data&&(S.data=[]),S.data.push({data:t,start:r+s,end:r+s+$.dataLength,codingpasses:$.codingpasses}),s+=$.dataLength}}}return s}function I(e,t,r,a,n,o,s,c,l){for(var u=a.tbx0,h=a.tby0,f=a.tbx1-a.tbx0,d=a.codeblocks,g="H"===a.type.charAt(0)?1:0,p="H"===a.type.charAt(1)?t:0,m=0,v=d.length;m<v;++m){var b=d[m],y=b.tbx1_-b.tbx0_,k=b.tby1_-b.tby0_;if(0!==y&&0!==k&&void 0!==b.data){var w=new N(y,k,b.subbandType,b.zeroBitPlanes,o),x=2,S=b.data,A=0,C=0,F=void 0,O=void 0,I=void 0;for(F=0,O=S.length;F<O;F++)A+=(I=S[F]).end-I.start,C+=I.codingpasses;var T=new Uint8Array(A),M=0;for(F=0,O=S.length;F<O;F++){var P=(I=S[F]).data.subarray(I.start,I.end);T.set(P,M),M+=P.length}var E=new i.ArithmeticDecoder(T,0,A);for(w.setDecoder(E),F=0;F<C;F++){switch(x){case 0:w.runSignificancePropagationPass();break;case 1:w.runMagnitudeRefinementPass();break;case 2:w.runCleanupPass(),c&&w.checkSegmentationSymbol()}l&&w.reset(),x=(x+1)%3}var D=b.tbx0_-u+(b.tby0_-h)*f,B=w.coefficentsSign,L=w.coefficentsMagnitude,R=w.bitsDecoded,_=s?0:.5,j=void 0,U=void 0,$=void 0;M=0;var X="LL"!==a.type;for(F=0;F<k;F++){var H=2*(D/f|0)*(t-f)+g+p;for(j=0;j<y;j++){if(0!==(U=L[M])){U=(U+_)*n,0!==B[M]&&(U=-U),$=R[M];var q=X?H+(D<<1):D;e[q]=s&&$>=o?U:U*(1<<o-$)}D++,M++}D+=f-y}}}}function T(e,t,r){for(var a=t.components[r],n=a.codingStyleParameters,i=a.quantizationParameters,o=n.decompositionLevelsCount,c=i.SPqcds,l=i.scalarExpounded,u=i.guardBits,h=n.segmentationSymbolUsed,f=n.resetContextProbabilities,d=e.components[r].precision,g=n.reversibleTransformation,p=g?new L:new B,m=[],v=0,b=0;b<=o;b++){for(var y=a.resolutions[b],k=y.trx1-y.trx0,w=y.try1-y.try0,x=new Float32Array(k*w),S=0,A=y.subbands.length;S<A;S++){var C=void 0,F=void 0;l?(C=c[v].mu,F=c[v].epsilon,v++):(C=c[0].mu,F=c[0].epsilon+(b>0?1-b:0));var O=y.subbands[S],T=s[O.type];I(x,k,0,O,g?1:Math.pow(2,d+T-F)*(1+C/2048),u+F-1,g,h,f)}m.push({width:k,height:w,items:x})}var M=p.calculate(m,a.tcx0,a.tcy0);return{left:a.tcx0,top:a.tcy0,width:M.width,height:M.height,items:M.items}}function M(e,t){for(var r=e.SIZ.Csiz,a=e.tiles[t],n=0;n<r;n++){var i=a.components[n],o=void 0!==e.currentTile.QCC[n]?e.currentTile.QCC[n]:e.currentTile.QCD;i.quantizationParameters=o;var s=void 0!==e.currentTile.COC[n]?e.currentTile.COC[n]:e.currentTile.COD;i.codingStyleParameters=s}a.codingStyleDefaultParameters=e.currentTile.COD}t.JpxImage=c;var P=function(){return v((function e(t,r){m(this,e);var a=(0,n.log2)(Math.max(t,r))+1;this.levels=[];for(var i=0;i<a;i++){var o={width:t,height:r,items:[]};this.levels.push(o),t=Math.ceil(t/2),r=Math.ceil(r/2)}}),[{key:"reset",value:function(e,t){for(var r,a=0,n=0;a<this.levels.length;){var i=e+t*(r=this.levels[a]).width;if(void 0!==r.items[i]){n=r.items[i];break}r.index=i,e>>=1,t>>=1,a++}a--,(r=this.levels[a]).items[r.index]=n,this.currentLevel=a,delete this.value}},{key:"incrementValue",value:function(){var e=this.levels[this.currentLevel];e.items[e.index]++}},{key:"nextLevel",value:function(){var e=this.currentLevel,t=this.levels[e],r=t.items[t.index];return--e<0?(this.value=r,!1):(this.currentLevel=e,(t=this.levels[e]).items[t.index]=r,!0)}}])}(),E=function(){return v((function e(t,r,a){m(this,e);var i=(0,n.log2)(Math.max(t,r))+1;this.levels=[];for(var o=0;o<i;o++){for(var s=new Uint8Array(t*r),c=0,l=s.length;c<l;c++)s[c]=a;var u={width:t,height:r,items:s};this.levels.push(u),t=Math.ceil(t/2),r=Math.ceil(r/2)}}),[{key:"reset",value:function(e,t,r){for(var a=0;a<this.levels.length;){var n=this.levels[a],i=e+t*n.width;n.index=i;var o=n.items[i];if(255===o)break;if(o>r)return this.currentLevel=a,this.propagateValues(),!1;e>>=1,t>>=1,a++}return this.currentLevel=a-1,!0}},{key:"incrementValue",value:function(e){var t=this.levels[this.currentLevel];t.items[t.index]=e+1,this.propagateValues()}},{key:"propagateValues",value:function(){for(var e=this.currentLevel,t=this.levels[e],r=t.items[t.index];--e>=0;)(t=this.levels[e]).items[t.index]=r}},{key:"nextLevel",value:function(){var e=this.currentLevel,t=this.levels[e],r=t.items[t.index];return t.items[t.index]=255,!(--e<0)&&(this.currentLevel=e,(t=this.levels[e]).items[t.index]=r,!0)}}])}(),N=function(){var e=17,t=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]),r=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]),a=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]);return function(){return v((function e(n,i,o,s,c){var l;m(this,e),this.width=n,this.height=i,l="HH"===o?a:"HL"===o?r:t,this.contextLabelTable=l;var u,h=n*i;this.neighborsSignificance=new Uint8Array(h),this.coefficentsSign=new Uint8Array(h),u=c>14?new Uint32Array(h):c>6?new Uint16Array(h):new Uint8Array(h),this.coefficentsMagnitude=u,this.processingFlags=new Uint8Array(h);var f=new Uint8Array(h);if(0!==s)for(var d=0;d<h;d++)f[d]=s;this.bitsDecoded=f,this.reset()}),[{key:"setDecoder",value:function(e){this.decoder=e}},{key:"reset",value:function(){this.contexts=new Int8Array(19),this.contexts[0]=8,this.contexts[17]=92,this.contexts[18]=6}},{key:"setNeighborsSignificance",value:function(e,t,r){var a,n=this.neighborsSignificance,i=this.width,o=this.height,s=t>0,c=t+1<i;e>0&&(a=r-i,s&&(n[a-1]+=16),c&&(n[a+1]+=16),n[a]+=4),e+1<o&&(a=r+i,s&&(n[a-1]+=16),c&&(n[a+1]+=16),n[a]+=4),s&&(n[r-1]+=1),c&&(n[r+1]+=1),n[r]|=128}},{key:"runSignificancePropagationPass",value:function(){for(var e=this.decoder,t=this.width,r=this.height,a=this.coefficentsMagnitude,n=this.coefficentsSign,i=this.neighborsSignificance,o=this.processingFlags,s=this.contexts,c=this.contextLabelTable,l=this.bitsDecoded,u=0;u<r;u+=4)for(var h=0;h<t;h++)for(var f=u*t+h,d=0;d<4;d++,f+=t){var g=u+d;if(g>=r)break;if(o[f]&=-2,!a[f]&&i[f]){var p=c[i[f]];if(e.readBit(s,p)){var m=this.decodeSignBit(g,h,f);n[f]=m,a[f]=1,this.setNeighborsSignificance(g,h,f),o[f]|=2}l[f]++,o[f]|=1}}}},{key:"decodeSignBit",value:function(e,t,r){var a,n,i,o,s,c,l=this.width,u=this.height,h=this.coefficentsMagnitude,f=this.coefficentsSign;o=t>0&&0!==h[r-1],t+1<l&&0!==h[r+1]?(i=f[r+1],a=o?1-i-(n=f[r-1]):1-i-i):a=o?1-(n=f[r-1])-n:0;var d=3*a;return o=e>0&&0!==h[r-l],e+1<u&&0!==h[r+l]?(i=f[r+l],a=o?1-i-(n=f[r-l])+d:1-i-i+d):a=o?1-(n=f[r-l])-n+d:d,a>=0?(s=9+a,c=this.decoder.readBit(this.contexts,s)):(s=9-a,c=1^this.decoder.readBit(this.contexts,s)),c}},{key:"runMagnitudeRefinementPass",value:function(){for(var e,t=this.decoder,r=this.width,a=this.height,n=this.coefficentsMagnitude,i=this.neighborsSignificance,o=this.contexts,s=this.bitsDecoded,c=this.processingFlags,l=r*a,u=4*r,h=0;h<l;h=e){e=Math.min(l,h+u);for(var f=0;f<r;f++)for(var d=h+f;d<e;d+=r)if(n[d]&&0===(1&c[d])){var g=16;0!==(2&c[d])&&(c[d]^=2,g=0===(127&i[d])?15:14);var p=t.readBit(o,g);n[d]=n[d]<<1|p,s[d]++,c[d]|=1}}}},{key:"runCleanupPass",value:function(){for(var t,r=this.decoder,a=this.width,n=this.height,i=this.neighborsSignificance,o=this.coefficentsMagnitude,s=this.coefficentsSign,c=this.contexts,l=this.contextLabelTable,u=this.bitsDecoded,h=this.processingFlags,f=a,d=2*a,g=3*a,p=0;p<n;p=t){t=Math.min(p+4,n);for(var m=p*a,v=p+3<n,b=0;b<a;b++){var y=m+b,k=0,w=y,x=p,S=void 0;if(v&&0===h[y]&&0===h[y+f]&&0===h[y+d]&&0===h[y+g]&&0===i[y]&&0===i[y+f]&&0===i[y+d]&&0===i[y+g]){if(!r.readBit(c,18)){u[y]++,u[y+f]++,u[y+d]++,u[y+g]++;continue}0!==(k=r.readBit(c,e)<<1|r.readBit(c,e))&&(x=p+k,w+=k*a),S=this.decodeSignBit(x,b,w),s[w]=S,o[w]=1,this.setNeighborsSignificance(x,b,w),h[w]|=2,w=y;for(var A=p;A<=x;A++,w+=a)u[w]++;k++}for(x=p+k;x<t;x++,w+=a)if(!o[w]&&0===(1&h[w])){var C=l[i[w]];1===r.readBit(c,C)&&(S=this.decodeSignBit(x,b,w),s[w]=S,o[w]=1,this.setNeighborsSignificance(x,b,w),h[w]|=2),u[w]++}}}}},{key:"checkSegmentationSymbol",value:function(){var t=this.decoder,r=this.contexts;if(10!==(t.readBit(r,e)<<3|t.readBit(r,e)<<2|t.readBit(r,e)<<1|t.readBit(r,e)))throw new o("Invalid segmentation symbol")}}])}()}(),D=function(){return v((function e(){m(this,e),this.constructor===e&&(0,a.unreachable)("Cannot initialize Transform.")}),[{key:"calculate",value:function(e,t,r){for(var a=e[0],n=1,i=e.length;n<i;n++)a=this.iterate(a,e[n],t,r);return a}},{key:"extend",value:function(e,t,r){var a=t-1,n=t+1,i=t+r-2,o=t+r;e[a--]=e[n++],e[o++]=e[i--],e[a--]=e[n++],e[o++]=e[i--],e[a--]=e[n++],e[o++]=e[i--],e[a]=e[n],e[o]=e[i]}},{key:"filter",value:function(e,t,r){(0,a.unreachable)("Abstract method `filter` called")}},{key:"iterate",value:function(e,t,r,a){var n,i,o,s,c,l,u=e.width,h=e.height,f=e.items,d=t.width,g=t.height,p=t.items;for(o=0,n=0;n<h;n++)for(s=2*n*d,i=0;i<u;i++,o++,s+=2)p[s]=f[o];f=e.items=null;var m=new Float32Array(d+8);if(1===d){if(0!==(1&r))for(l=0,o=0;l<g;l++,o+=d)p[o]*=.5}else for(l=0,o=0;l<g;l++,o+=d)m.set(p.subarray(o,o+d),4),this.extend(m,4,d),this.filter(m,4,d),p.set(m.subarray(4,4+d),o);var v=16,b=[];for(n=0;n<v;n++)b.push(new Float32Array(g+8));var y,k=0;if(e=4+g,1===g){if(0!==(1&a))for(c=0;c<d;c++)p[c]*=.5}else for(c=0;c<d;c++){if(0===k){for(v=Math.min(d-c,v),o=c,s=4;s<e;o+=d,s++)for(y=0;y<v;y++)b[y][s]=p[o+y];k=v}var w=b[--k];if(this.extend(w,4,g),this.filter(w,4,g),0===k)for(o=c-v+1,s=4;s<e;o+=d,s++)for(y=0;y<v;y++)p[o+y]=b[y][s]}return{width:d,height:g,items:p}}}])}(),B=function(e){function t(){return m(this,t),l(this,t,arguments)}return u(t,e),v(t,[{key:"filter",value:function(e,t,r){var a,n,i,o,s=r>>1,c=-1.586134342059924,l=-.052980118572961,u=.882911075530934,h=.443506852043971,f=1.230174104914001,d=1/f;for(a=(t|=0)-3,n=s+4;n--;a+=2)e[a]*=d;for(i=h*e[(a=t-2)-1],n=s+3;n--&&(o=h*e[a+1],e[a]=f*e[a]-i-o,n--);a+=2)i=h*e[(a+=2)+1],e[a]=f*e[a]-i-o;for(i=u*e[(a=t-1)-1],n=s+2;n--&&(o=u*e[a+1],e[a]-=i+o,n--);a+=2)i=u*e[(a+=2)+1],e[a]-=i+o;for(i=l*e[(a=t)-1],n=s+1;n--&&(o=l*e[a+1],e[a]-=i+o,n--);a+=2)i=l*e[(a+=2)+1],e[a]-=i+o;if(0!==s)for(i=c*e[(a=t+1)-1],n=s;n--&&(o=c*e[a+1],e[a]-=i+o,n--);a+=2)i=c*e[(a+=2)+1],e[a]-=i+o}}])}(D),L=function(e){function t(){return m(this,t),l(this,t,arguments)}return u(t,e),v(t,[{key:"filter",value:function(e,t,r){var a,n,i=r>>1;for(a=t|=0,n=i+1;n--;a+=2)e[a]-=e[a-1]+e[a+1]+2>>2;for(a=t+1,n=i;n--;a+=2)e[a]+=e[a-1]+e[a+1]>>1}}])}(D)},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.LZWStream=void 0;var a=function(e){function t(e,r,a){var n;m(this,t),(n=l(this,t,[r])).str=e,n.dict=e.dict,n.cachedData=0,n.bitsCached=0;for(var i=4096,o={earlyChange:a,codeLength:9,nextCode:258,dictionaryValues:new Uint8Array(i),dictionaryLengths:new Uint16Array(i),dictionaryPrevCodes:new Uint16Array(i),currentSequence:new Uint8Array(i),currentSequenceLength:0},s=0;s<256;++s)o.dictionaryValues[s]=s,o.dictionaryLengths[s]=1;return n.lzwState=o,n}return u(t,e),v(t,[{key:"readBits",value:function(e){for(var t=this.bitsCached,r=this.cachedData;t<e;){var a=this.str.getByte();if(-1===a)return this.eof=!0,null;r=r<<8|a,t+=8}return this.bitsCached=t-=e,this.cachedData=r,this.lastCode=null,r>>>t&(1<<e)-1}},{key:"readBlock",value:function(){var e,t,r,a=1024,n=this.lzwState;if(n){var i=n.earlyChange,o=n.nextCode,s=n.dictionaryValues,c=n.dictionaryLengths,l=n.dictionaryPrevCodes,u=n.codeLength,h=n.prevCode,f=n.currentSequence,d=n.currentSequenceLength,g=0,p=this.bufferLength,m=this.ensureBuffer(this.bufferLength+a);for(e=0;e<512;e++){var v=this.readBits(u),b=d>0;if(v<256)f[0]=v,d=1;else{if(!(v>=258)){if(256===v){u=9,o=258,d=0;continue}this.eof=!0,delete this.lzwState;break}if(v<o)for(t=(d=c[v])-1,r=v;t>=0;t--)f[t]=s[r],r=l[r];else f[d++]=f[0]}if(b&&(l[o]=h,c[o]=c[h]+1,s[o]=f[0],u=++o+i&o+i-1?u:0|Math.min(Math.log(o+i)/.6931471805599453+1,12)),h=v,a<(g+=d)){do{a+=512}while(a<g);m=this.ensureBuffer(this.bufferLength+a)}for(t=0;t<d;t++)m[p++]=f[t]}n.nextCode=o,n.codeLength=u,n.prevCode=h,n.currentSequenceLength=d,this.bufferLength=p}}}])}(r(19).DecodeStream);t.LZWStream=a},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.PredictorStream=void 0;var a=r(19),i=r(5),o=r(2),s=function(e){function t(e,r,a){var s;if(m(this,t),s=l(this,t,[r]),!(a instanceof i.Dict))return n(s,e);var c=s.predictor=a.get("Predictor")||1;if(c<=1)return n(s,e);if(2!==c&&(c<10||c>15))throw new o.FormatError("Unsupported predictor: ".concat(c));s.readBlock=2===c?s.readBlockTiff:s.readBlockPng,s.str=e,s.dict=e.dict;var u=s.colors=a.get("Colors")||1,h=s.bits=a.get("BPC","BitsPerComponent")||8,f=s.columns=a.get("Columns")||1;return s.pixBytes=u*h+7>>3,s.rowBytes=f*u*h+7>>3,n(s,s)}return u(t,e),v(t,[{key:"readBlockTiff",value:function(){var e=this.rowBytes,t=this.bufferLength,r=this.ensureBuffer(t+e),a=this.bits,n=this.colors,i=this.str.getBytes(e);if(this.eof=!i.length,!this.eof){var o,s=0,c=0,l=0,u=0,h=t;if(1===a&&1===n)for(o=0;o<e;++o){var f=i[o]^s;f^=f>>1,f^=f>>2,s=(1&(f^=f>>4))<<7,r[h++]=f}else if(8===a){for(o=0;o<n;++o)r[h++]=i[o];for(;o<e;++o)r[h]=r[h-n]+i[o],h++}else if(16===a){var d=2*n;for(o=0;o<d;++o)r[h++]=i[o];for(;o<e;o+=2){var g=((255&i[o])<<8)+(255&i[o+1])+((255&r[h-d])<<8)+(255&r[h-d+1]);r[h++]=g>>8&255,r[h++]=255&g}}else{var p=new Uint8Array(n+1),m=(1<<a)-1,v=0,b=t,y=this.columns;for(o=0;o<y;++o)for(var k=0;k<n;++k)l<a&&(s=s<<8|255&i[v++],l+=8),p[k]=p[k]+(s>>l-a)&m,l-=a,c=c<<a|p[k],(u+=a)>=8&&(r[b++]=c>>u-8&255,u-=8);u>0&&(r[b++]=(c<<8-u)+(s&(1<<8-u)-1))}this.bufferLength+=e}}},{key:"readBlockPng",value:function(){var e=this.rowBytes,t=this.pixBytes,r=this.str.getByte(),a=this.str.getBytes(e);if(this.eof=!a.length,!this.eof){var n=this.bufferLength,i=this.ensureBuffer(n+e),s=i.subarray(n-e,n);0===s.length&&(s=new Uint8Array(e));var c,l,u,h=n;switch(r){case 0:for(c=0;c<e;++c)i[h++]=a[c];break;case 1:for(c=0;c<t;++c)i[h++]=a[c];for(;c<e;++c)i[h]=i[h-t]+a[c]&255,h++;break;case 2:for(c=0;c<e;++c)i[h++]=s[c]+a[c]&255;break;case 3:for(c=0;c<t;++c)i[h++]=(s[c]>>1)+a[c];for(;c<e;++c)i[h]=(s[c]+i[h-t]>>1)+a[c]&255,h++;break;case 4:for(c=0;c<t;++c)l=s[c],u=a[c],i[h++]=l+u;for(;c<e;++c){l=s[c];var f=s[c-t],d=i[h-t],g=d+l-f,p=g-d;p<0&&(p=-p);var m=g-l;m<0&&(m=-m);var v=g-f;v<0&&(v=-v),u=a[c],i[h++]=p<=m&&p<=v?d+u:m<=v?l+u:f+u}break;default:throw new o.FormatError("Unsupported predictor: ".concat(r))}this.bufferLength+=e}}}])}(a.DecodeStream);t.PredictorStream=s},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.RunLengthStream=void 0;var a=function(e){function t(e,r){var a;return m(this,t),(a=l(this,t,[r])).str=e,a.dict=e.dict,a}return u(t,e),v(t,[{key:"readBlock",value:function(){var e=this.str.getBytes(2);if(!e||e.length<2||128===e[0])this.eof=!0;else{var t,r=this.bufferLength,a=e[0];if(a<128){if((t=this.ensureBuffer(r+a+1))[r++]=e[1],a>0){var n=this.str.getBytes(a);t.set(n,r),r+=a}}else{a=257-a;var i=e[1];t=this.ensureBuffer(r+a+1);for(var o=0;o<a;o++)t[r++]=i}this.bufferLength=r}}}])}(r(19).DecodeStream);t.RunLengthStream=a}
2,function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.Font=t.ErrorFont=void 0;var a=r(2),n=r(35),i=r(38),o=r(40),s=r(39),c=r(37),l=r(41),u=r(42),h=r(43),f=r(44),p=r(45),b=r(46),y=r(16),k=r(47),w=r(6),x=r(10),S=r(48),A=[[57344,63743],[1048576,1114109]],C=1e3,F=["ascent","bbox","black","bold","charProcOperatorList","composite","cssFontInfo","data","defaultVMetrics","defaultWidth","descent","fallbackName","fontMatrix","fontType","isType3Font","italic","loadedName","mimetype","missingFile","name","remeasure","subtype","type","vertical"],O=["cMap","defaultEncoding","differences","isMonospace","isSerifFont","isSymbolicFont","seacMap","toFontChar","toUnicode","vmetrics","widths"];function I(e){if(e.fontMatrix&&e.fontMatrix[0]!==a.FONT_IDENTITY_MATRIX[0]){var t=.001/e.fontMatrix[0],r=e.widths;for(var n in r)r[n]*=t;e.defaultWidth*=t}}function T(e){if(e.fallbackToUnicode&&!(e.toUnicode instanceof u.IdentityToUnicodeMap)){var t=[];for(var r in e.fallbackToUnicode)e.toUnicode.has(r)||(t[r]=e.fallbackToUnicode[r]);t.length>0&&e.toUnicode.amend(t)}}var M=function(){return v((function e(t,r,a,n,i,s,c,l,u){m(this,e),this.originalCharCode=t,this.fontChar=r,this.unicode=a,this.accent=n,this.width=i,this.vmetric=s,this.operatorListId=c,this.isSpace=l,this.isInFont=u;var h=(0,o.getCharUnicodeCategory)(a);this.isWhitespace=h.isWhitespace,this.isZeroWidthDiacritic=h.isZeroWidthDiacritic,this.isInvisibleFormatMark=h.isInvisibleFormatMark}),[{key:"matchesForCache",value:function(e,t,r,a,n,i,o,s,c){return this.originalCharCode===e&&this.fontChar===t&&this.unicode===r&&this.accent===a&&this.width===n&&this.vmetric===i&&this.operatorListId===o&&this.isSpace===s&&this.isInFont===c}}])}();function P(e,t){return(e<<8)+t}function E(e,t,r){e[t+1]=r,e[t]=r>>>8}function N(e,t){var r=(e<<8)+t;return 32768&r?r-65536:r}function D(e){return String.fromCharCode(e>>8&255,255&e)}function B(e){return e>32767?e=32767:e<-32768&&(e=-32768),String.fromCharCode(e>>8&255,255&e)}function L(e){var t=e.peekBytes(4);return"ttcf"===(0,a.bytesToString)(t)}function R(e,t){var r,n,i=t.type,o=t.subtype,s=t.composite;return function(e){var t=e.peekBytes(4);return 65536===(0,w.readUint32)(t,0)||"true"===(0,a.bytesToString)(t)}(e)||L(e)?r=s?"CIDFontType2":"TrueType":function(e){var t=e.peekBytes(4);return"OTTO"===(0,a.bytesToString)(t)}(e)?r=s?"CIDFontType2":"OpenType":function(e){var t=e.peekBytes(2);return 37===t[0]&&33===t[1]||128===t[0]&&1===t[1]}(e)?r=s?"CIDFontType0":"MMType1"===i?"MMType1":"Type1":function(e){var t=e.peekBytes(4);return t[0]>=1&&t[3]>=1&&t[3]<=4}(e)?s?(r="CIDFontType0",n="CIDFontType0C"):(r="MMType1"===i?"MMType1":"Type1",n="Type1C"):((0,a.warn)("getFontFileType: Unable to detect correct font file Type/Subtype."),r=i,n=o),[r,n]}function _(e,t){for(var r in t)e[+r]=t[r]}function j(e,t,r){for(var a,n=[],i=0,s=e.length;i<s;i++)-1!==(a=(0,o.getUnicodeForGlyph)(e[i],t))&&(n[i]=a);for(var c in r)-1!==(a=(0,o.getUnicodeForGlyph)(r[c],t))&&(n[+c]=a);return n}function U(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];switch(t.length){case 1:return t.charCodeAt(0);case 2:return t.charCodeAt(0)<<8|t.charCodeAt(1)}var n="Unsupported CID string (charCode ".concat(e,'): "').concat(t,'".');if(r)throw new a.FormatError(n);return(0,a.warn)(n),t}function $(e,t,r,n){var i=Object.create(null),o=new Map,s=[],c=new Set,l=0,u=A[l][0],h=u,f=A[l][1];for(var d in e){var g=e[d|=0];if(t(g)){if(h>f){if(++l>=A.length){(0,a.warn)("Ran out of space in font private use area.");break}h=A[l][0],f=A[l][1]}var p=h++;0===g&&(g=r);var m=n.get(d);"string"===typeof m&&(m=m.codePointAt(0)),m&&m<u&&!c.has(g)&&(o.set(m,g),c.add(g)),i[p]=g,
2s[d]=p}}return{toFontChar:s,charCodeToGlyphId:i,toUnicodeExtraMap:o,nextAvailableFontCharCode:h}}function X(e,t,r){var n,i,o,s,c=function(e,t,r){var a=[];for(var n in e)e[n]>=r||a.push({fontCharCode:0|n,glyphId:e[n]});if(t){var i,o=d(t);try{for(o.s();!(i=o.n()).done;){var s=g(i.value,2),c=s[0],l=s[1];l>=r||a.push({fontCharCode:c,glyphId:l})}}catch(b){o.e(b)}finally{o.f()}}0===a.length&&a.push({fontCharCode:0,glyphId:0}),a.sort((function(e,t){return e.fontCharCode-t.fontCharCode}));for(var u=[],h=a.length,f=0;f<h;){var p=a[f].fontCharCode,m=[a[f].glyphId];++f;for(var v=p;f<h&&v+1===a[f].fontCharCode&&(m.push(a[f].glyphId),++f,65535!==++v););u.push([p,v,m])}return u}(e,t,r),l=c.at(-1)[1]>65535?2:1,u="\0\0"+D(l)+"\0\x03\0\x01"+(0,a.string32)(4+8*l);for(n=c.length-1;n>=0&&!(c[n][0]<=65535);--n);var h=n+1;c[n][0]<65535&&65535===c[n][1]&&(c[n][1]=65534);var f,p,m,v,b=c[n][1]<65535?1:0,y=h+b,w=k.OpenTypeFileBuilder.getSearchParams(y,2),x="",S="",A="",C="",F="",O=0;for(n=0,i=h;n<i;n++){p=(f=c[n])[0],m=f[1],x+=D(p),S+=D(m);var I=!0;for(o=1,s=(v=f[2]).length;o<s;++o)if(v[o]!==v[o-1]+1){I=!1;break}if(I)A+=D(v[0]-p&65535),C+=D(0);else{var T=2*(y-n)+2*O;for(O+=m-p+1,A+=D(0),C+=D(T),o=0,s=v.length;o<s;++o)F+=D(v[o])}}b>0&&(S+="\xff\xff",x+="\xff\xff",A+="\0\x01",C+="\0\0");var M="\0\0"+D(2*y)+D(w.range)+D(w.entry)+D(w.rangeShift)+S+"\0\0"+x+A+C+F,P="",E="";if(l>1){for(u+="\0\x03\0\n"+(0,a.string32)(4+8*l+4+M.length),P="",n=0,i=c.length;n<i;n++){p=(f=c[n])[0];var N=(v=f[2])[0];for(o=1,s=v.length;o<s;++o)v[o]!==v[o-1]+1&&(m=f[0]+o-1,P+=(0,a.string32)(p)+(0,a.string32)(m)+(0,a.string32)(N),p=m+1,N=v[o]);P+=(0,a.string32)(p)+(0,a.string32)(f[1])+(0,a.string32)(N)}E="\0\f\0\0"+(0,a.string32)(P.length+16)+"\0\0\0\0"+(0,a.string32)(P.length/12)}return u+"\0\x04"+D(M.length+4)+M+E+P}function H(e,t,r){r=r||{unitsPerEm:0,yMax:0,yMin:0,ascent:0,descent:0};var n=0,i=0,s=0,c=0,l=null,u=0;if(t){for(var h in t){(l>(h|=0)||!l)&&(l=h),u<h&&(u=h);var f=(0,o.getUnicodeRangeFor)(h);if(f<32)n|=1<<f;else if(f<64)i|=1<<f-32;else if(f<96)s|=1<<f-64;else{if(!(f<123))throw new a.FormatError("Unicode ranges Bits > 123 are reserved for internal usage");c|=1<<f-96}}u>65535&&(u=65535)}else l=0,u=255;var d=e.bbox||[0,0,0,0],g=r.unitsPerEm||1/(e.fontMatrix||a.FONT_IDENTITY_MATRIX)[0],p=e.ascentScaled?1:g/C,m=r.ascent||Math.round(p*(e.ascent||d[3])),v=r.descent||Math.round(p*(e.descent||d[1]));v>0&&e.descent>0&&d[1]<0&&(v=-v);var b=r.yMax||m,y=-r.yMin||-v;return"\0\x03\x02$\x01\xf4\0\x05\0\0\x02\x8a\x02\xbb\0\0\0\x8c\x02\x8a\x02\xbb\0\0\x01\xdf\x001\x01\x02\0\0\0\0\x06"+String.fromCharCode(e.fixedPitch?9:0)+"\0\0\0\0\0\0"+(0,a.string32)(n)+(0,a.string32)(i)+(0,a.string32)(s)+(0,a.string32)(c)+"*21*"+D(e.italicAngle?1:0)+D(l||e.firstChar)+D(u||e.lastChar)+D(m)+D(v)+"\0d"+D(b)+D(y)+"\0\0\0\0\0\0\0\0"+D(e.xHeight)+D(e.capHeight)+D(0)+D(l||e.firstChar)+"\0\x03"}function q(e){var t=Math.floor(e.italicAngle*Math.pow(2,16));return"\0\x03\0\0"+(0,a.string32)(t)+"\0\0\0\0"+(0,a.string32)(e.fixedPitch?1:0)+"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"}function z(e){return e.replace(/[^\x21-\x7E]|[[\](){}<>/%]/g,"").slice(0,63)}function G(e,t){t||(t=[[],[]]);var r,a,n,i,o,s=[t[0][0]||"Original licence",t[0][1]||e,t[0][2]||"Unknown",t[0][3]||"uniqueID",t[0][4]||e,t[0][5]||"Version 0.11",t[0][6]||z(e),t[0][7]||"Unknown",t[0][8]||"Unknown",t[0][9]||"Unknown"],c=[];for(r=0,a=s.length;r<a;r++){var l=[];for(n=0,i=(o=t[1][r]||s[r]).length;n<i;n++)l.push(D(o.charCodeAt(n)));c.push(l.join(""))}var u=[s,c],h=["\0\x01","\0\x03"],f=["\0\0","\0\x01"],d=["\0\0","\x04\t"],g=s.length*h.length,p="\0\0"+D(g)+D(12*g+6),m=0;for(r=0,a=h.length;r<a;r++){var v=u[r];for(n=0,i=v.length;n<i;n++)o=v[n],p+=h[r]+f[r]+d[r]+D(n)+D(o.length)+D(m),m+=o.length}return p+=s.join("")+c.join("")}var W=function(){return v((function e(t,r,n){m(this,e),this.name=t,this.psName=null,this.mimetype=null,this.disableFontFace=!1,this.loadedName=n.loadedName,this.isType3Font=n.isType3Font,this.missingFile=!1,this.cssFontInfo=n.cssFontInfo,this._charsCache=Object.create(null),this._glyphCache=Object.create(null);var o=!!(n.flags&i.FontFlags.Serif);if(!o&&!n.isSimulatedFlags){var s,c=t.replace(/[,_]/g,"-").split("-")[0],u=(0,l.getSerifFonts)(),f=d(c.split("+"));try{for(f.s();!(s=f.n()).done;)if(u[s.value]){o=!0;break}}catch(F){f.e(F)}finally{f.f()}}this.isSerifFont=o,this.isSymbolicFont=!!(n.flags&i.FontFlags.Symbolic),this.isMonospace=!!(n.flags&i.FontFlags.FixedPitch);
2var p=n.type,v=n.subtype;this.type=p,this.subtype=v;var b="sans-serif";if(this.isMonospace?b="monospace":this.isSerifFont&&(b="serif"),this.fallbackName=b,this.differences=n.differences,this.widths=n.widths,this.defaultWidth=n.defaultWidth,this.composite=n.composite,this.cMap=n.cMap,this.capHeight=n.capHeight/C,this.ascent=n.ascent/C,this.descent=n.descent/C,this.lineHeight=this.ascent-this.descent,this.fontMatrix=n.fontMatrix,this.bbox=n.bbox,this.defaultEncoding=n.defaultEncoding,this.toUnicode=n.toUnicode,this.toFontChar=[],"Type3"!==n.type){if(this.cidEncoding=n.cidEncoding||"",this.vertical=!!n.vertical,this.vertical&&(this.vmetrics=n.vmetrics,this.defaultVMetrics=n.defaultVMetrics),!r||r.isEmpty)return r&&(0,a.warn)('Font file is empty in "'+t+'" ('+this.loadedName+")"),void this.fallbackToSystemFont(n);var y,k=R(r,n),w=g(k,2);p=w[0],v=w[1],p===this.type&&v===this.subtype||(0,a.info)("Inconsistent font file Type/SubType, expected: "+"".concat(this.type,"/").concat(this.subtype," but found: ").concat(p,"/").concat(v,"."));try{switch(p){case"MMType1":(0,a.info)("MMType1 font ("+t+"), falling back to Type1.");case"Type1":case"CIDFontType0":this.mimetype="font/opentype";var x="Type1C"===v||"CIDFontType0C"===v?new h.CFFFont(r,n):new S.Type1Font(t,r,n);I(n),y=this.convert(t,x,n);break;case"OpenType":case"TrueType":case"CIDFontType2":this.mimetype="font/opentype",y=this.checkAndRepair(t,r,n),this.isOpenType&&(I(n),p="OpenType");break;default:throw new a.FormatError("Font ".concat(p," is not supported"))}}catch(O){return(0,a.warn)(O),void this.fallbackToSystemFont(n)}T(n),this.data=y,this.fontType=(0,i.getFontType)(p,v,n.isStandardFont),this.fontMatrix=n.fontMatrix,this.widths=n.widths,this.defaultWidth=n.defaultWidth,this.toUnicode=n.toUnicode,this.seacMap=n.seacMap}else{for(var A=0;A<256;A++)this.toFontChar[A]=this.differences[A]||n.defaultEncoding[A];this.fontType=a.FontType.TYPE3}}),[{key:"renderer",get:function(){var e=f.FontRendererFactory.create(this,i.SEAC_ANALYSIS_ENABLED);return(0,a.shadow)(this,"renderer",e)}},{key:"exportData",value:function(){var e,t,r,a=arguments.length>0&&void 0!==arguments[0]&&arguments[0]?[].concat(F,O):F,n=Object.create(null),i=d(a);try{for(i.s();!(r=i.n()).done;)void 0!==(t=this[e=r.value])&&(n[e]=t)}catch(o){i.e(o)}finally{i.f()}return n}},{key:"fallbackToSystemFont",value:function(e){var t=this;this.missingFile=!0;var r=this.name,n=this.type,h=this.subtype,f=(0,i.normalizeFontName)(r),d=(0,l.getStdFontMap)(),g=(0,l.getNonStdFontMap)(),m=!!d[f],v=!(!g[f]||!d[g[f]]);f=d[f]||g[f]||f;var b=(0,p.getFontBasicMetrics)()[f];b&&(isNaN(this.ascent)&&(this.ascent=b.ascent/C),isNaN(this.descent)&&(this.descent=b.descent/C),isNaN(this.capHeight)&&(this.capHeight=b.capHeight/C)),this.bold=-1!==f.search(/bold/gi),this.italic=-1!==f.search(/oblique/gi)||-1!==f.search(/italic/gi),this.black=-1!==r.search(/Black/g);var y=-1!==r.search(/Narrow/g);if(this.remeasure=(!m||y)&&Object.keys(this.widths).length>0,(m||v)&&"CIDFontType2"===n&&this.cidEncoding.startsWith("Identity-")){var k=e.cidToGidMap,w=[];if(_(w,(0,l.getGlyphMapForStandardFonts)()),/Arial-?Black/i.test(r)?_(w,(0,l.getSupplementalGlyphMapForArialBlack)()):/Calibri/i.test(r)&&_(w,(0,l.getSupplementalGlyphMapForCalibri)()),k){for(var x in w){var S=w[x];void 0!==k[S]&&(w[+x]=k[S])}k.length!==this.toUnicode.length&&e.hasIncludedToUnicodeMap&&this.toUnicode instanceof u.IdentityToUnicodeMap&&this.toUnicode.forEach((function(e,t){var r=w[e];void 0===k[r]&&(w[+e]=t)}))}this.toUnicode instanceof u.IdentityToUnicodeMap||this.toUnicode.forEach((function(e,t){w[+e]=t})),this.toFontChar=w,this.toUnicode=new u.ToUnicodeMap(w)}else if(/Symbol/i.test(f))this.toFontChar=j(c.SymbolSetEncoding,(0,s.getGlyphsUnicode)(),this.differences);else if(/Dingbats/i.test(f))/Wingdings/i.test(r)&&(0,a.warn)("Non-embedded Wingdings font, falling back to ZapfDingbats."),this.toFontChar=j(c.ZapfDingbatsEncoding,(0,s.getDingbatsGlyphsUnicode)(),this.differences);else if(m){var A=j(this.defaultEncoding,(0,s.getGlyphsUnicode)(),this.differences);"CIDFontType2"!==n||this.cidEncoding.startsWith("Identity-")||this.toUnicode instanceof u.IdentityToUnicodeMap||this.toUnicode.forEach((function(e,t){A[+e]=t})),this.toFontChar=A}else{var F=(0,s.getGlyphsUnicode)(),O=[];this.toUnicode.forEach((function(e,r){if(!t.composite){var a=t.differences[e]||t.defaultEncoding[e],n=(0,o.getUnicodeForGlyph)(a,F);-1!==n&&(r=n)}O[+e]=r})),this.composite&&this.toUnicode instanceof u.IdentityToUnicodeMap&&/Verdana/i.test(r)&&_(O,(0,l.getGlyphMapForStandardFonts)()),this.toFontChar=O}T(e),this.loadedName=f.split("-")[0],this.fontType=(0,i.getFontType)(n,h,e.isStandardFont)}},{key:"checkAndRepair",value:function(e,t,r){var o=["OS/2","cmap","head","hhea","hmtx","maxp","name","post","loca","glyf","fpgm","prep","cvt ","CFF "];function l(e,t){var r=Object.create(null);r["OS/2"]=null,r.cmap=null,r.head=null,r.hhea=null,r.hmtx=null,r.maxp=null,r.name=null,r.post=null;for(var a=0;a<t;a++){var n=f(e);o.includes(n.tag)&&0!==n.length&&(r[n.tag]=n)}return r}function f(e){var t=e.getString(4),r=e.getInt32()>>>0,a=e.getInt32()>>>0,n=e.getInt32()>>>0,i=e.pos;e.pos=e.start||0,e.skip(a);var o=e.getBytes(n);return e.pos=i,"head"===t&&(o[8]=o[9]=o[10]=o[11]=0,o[17]|=32),{tag:t,checksum:r,length:n,offset:a,data:o}}function g(e){return{version:e.getString(4),numTables:e.getUint16(),searchRange:e.getUint16(),entrySelector:e.getUint16(),rangeShift:e.getUint16()}}
vendor: 3,042 bytes, line 2
2function p(e,t,r,a,n,i){var o={length:0,sizeOfInstructions:0};if(r-t<=12)return o;var s=e.subarray(t,r),c=N(s[0],s[1]);if(c<0)return E(s,0,c=-1),a.set(s,n),o.length=s.length,o;var l,u=10,h=0;for(l=0;l<c;l++)h=1+(s[u]<<8|s[u+1]),u+=2;var f=u,d=s[u]<<8|s[u+1];o.sizeOfInstructions=d;var g=u+=2+d,p=0;for(l=0;l<h;l++){var m=s[u++];192&m&&(s[u-1]=63&m);var v=2;2&m?v=1:16&m&&(v=0);var b=2;4&m?b=1:32&m&&(b=0);var y=v+b;if(p+=y,8&m){var k=s[u++];l+=k,p+=k*y}}if(0===p)return o;var w=u+p;return w>s.length?o:!i&&d>0?(a.set(s.subarray(0,f),n),a.set([0,0],n+f),a.set(s.subarray(g,w),n+f+2),w-=d,s.length-w>3&&(w=w+3&-4),o.length=w,o):s.length-w>3?(w=w+3&-4,a.set(s.subarray(0,w),n),o.length=w,o):(a.set(s,n),o.length=s.length,o)}function m(e){var r=(t.start||0)+e.offset;t.pos=r;var a=[[],[]],n=e.length,i=r+n;if(0!==t.getUint16()||n<6)return a;var o,s,c=t.getUint16(),l=t.getUint16(),u=[];for(o=0;o<c&&t.pos+12<=i;o++){var h={platform:t.getUint16(),encoding:t.getUint16(),language:t.getUint16(),name:t.getUint16(),length:t.getUint16(),offset:t.getUint16()};(1===h.platform&&0===h.encoding&&0===h.language||3===h.platform&&1===h.encoding&&1033===h.language)&&u.push(h)}for(o=0,s=u.length;o<s;o++){var f=u[o];if(!(f.length<=0)){var d=r+l+f.offset;if(!(d+f.length>i)){t.pos=d;var g=f.name;if(f.encoding){for(var p="",m=0,v=f.length;m<v;m+=2)p+=String.fromCharCode(t.getUint16());a[1][g]=p}else a[0][g]=t.getString(f.length)}}}return a}var v,w,S,A,C=[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 F(e,t){for(var r,n,i,o,s,c=e.data,l=0,u=0,h=0,f=[],d=[],g=[],p=t.tooComplexToFollowFunctions,m=!1,v=0,b=0,y=c.length;l<y;){var k=c[l++];if(64===k)if(n=c[l++],m||b)l+=n;else for(r=0;r<n;r++)f.push(c[l++]);else if(65===k)if(n=c[l++],m||b)l+=2*n;else for(r=0;r<n;r++)i=c[l++],f.push(i<<8|c[l++]);else if(176===(248&k))if(n=k-176+1,m||b)l+=n;else for(r=0;r<n;r++)f.push(c[l++]);else if(184===(248&k))if(n=k-184+1,m||b)l+=2*n;else for(r=0;r<n;r++)i=c[l++],f.push(i<<8|c[l++]);else if(43!==k||p)if(44!==k||p){if(45===k)if(m)m=!1,u=l;else{if(!(s=d.pop()))return(0,a.warn)("TT: ENDF bad stack"),void(t.hintsValid=!1);o=g.pop(),c=s.data,l=s.i,t.functionsStackDeltas[o]=f.length-s.stackTop}else if(137===k)(m||b)&&((0,a.warn)("TT: nested IDEFs not allowed"),p=!0),m=!0,h=l;else if(88===k)++v;else if(27===k)b=v;else if(89===k)b===v&&(b=0),--v;else if(28===k&&!m&&!b){var w=f.at(-1);w>0&&(l+=w-1)}}else(m||b)&&((0,a.warn)("TT: nested FDEFs not allowed"),p=!0),m=!0,h=l,o=f.pop(),t.functionsDefined[o]={data:c,i:l};else if(!m&&!b)if(o=f.at(-1),isNaN(o))(0,a.info)("TT: CALL empty stack (or invalid entry).");else if(t.functionsUsed[o]=!0,o in t.functionsStackDeltas){var x=f.length+t.functionsStackDeltas[o];
2if(x<0)return(0,a.warn)("TT: CALL invalid functions stack delta."),void(t.hintsValid=!1);f.length=x}else if(o in t.functionsDefined&&!g.includes(o)){if(d.push({data:c,i:l,stackTop:f.length-1}),g.push(o),!(s=t.functionsDefined[o]))return(0,a.warn)("TT: CALL non-existent function"),void(t.hintsValid=!1);c=s.data,l=s.i}if(!m&&!b){var S=0;for(k<=142?S=C[k]:k>=192&&k<=223?S=-1:k>=224&&(S=-2),k>=113&&k<=117&&(n=f.pop(),isNaN(n)||(S=2*-n));S<0&&f.length>0;)f.pop(),S++;for(;S>0;)f.push(NaN),S--}}t.tooComplexToFollowFunctions=p;var A=[c];l>c.length&&A.push(new Uint8Array(l-c.length)),h>u&&((0,a.warn)("TT: complementing a missing function tail"),A.push(new Uint8Array([34,45]))),function(e,t){if(t.length>1){var r,a,n=0;for(r=0,a=t.length;r<a;r++)n+=t[r].length;n=n+3&-4;var i=new Uint8Array(n),o=0;for(r=0,a=t.length;r<a;r++)i.set(t[r],o),o+=t[r].length;e.data=i,e.length=n}}(e,A)}if(L(t=new x.Stream(new Uint8Array(t.getBytes())))){var O=function(e,t){for(var r,n=function(e){var t=e.getString(4);(0,a.assert)("ttcf"===t,"Must be a TrueType Collection font.");for(var r=e.getUint16(),n=e.getUint16(),i=e.getInt32()>>>0,o=[],s=0;s<i;s++)o.push(e.getInt32()>>>0);var c={ttcTag:t,majorVersion:r,minorVersion:n,numFonts:i,offsetTable:o};switch(r){case 1:return c;case 2:return c.dsigTag=e.getInt32()>>>0,c.dsigLength=e.getInt32()>>>0,c.dsigOffset=e.getInt32()>>>0,c}throw new a.FormatError("Invalid TrueType Collection majorVersion: ".concat(r,"."))}(e),i=n.numFonts,o=n.offsetTable,s=t.split("+"),c=0;c<i;c++){e.pos=(e.start||0)+o[c];var u=g(e),h=l(e,u.numTables);if(!h.name)throw new a.FormatError('TrueType Collection font must contain a "name" table.');for(var f=m(h.name),p=0,v=f.length;p<v;p++)for(var b=0,y=f[p].length;b<y;b++){var k=f[p][b]&&f[p][b].replace(/\s/g,"");if(k){if(k===t)return{header:u,tables:h};if(!(s.length<2)){var w,x=d(s);try{for(x.s();!(w=x.n()).done;){var S=w.value;k===S&&(r={name:S,header:u,tables:h})}}catch(A){x.e(A)}finally{x.f()}}}}}if(r)return(0,a.warn)('TrueType Collection does not contain "'.concat(t,'" font, ')+'falling back to "'.concat(r.name,'" font instead.')),{header:r.header,tables:r.tables};throw new a.FormatError('TrueType Collection does not contain "'.concat(t,'" font.'))}(t,this.name);v=O.header,w=O.tables}else v=g(t),w=l(t,v.numTables);var T=!w["CFF "];if(T){if(!w.loca)throw new a.FormatError('Required "loca" table is not found');w.glyf||((0,a.warn)('Required "glyf" table is not found -- trying to recover.'),w.glyf={tag:"glyf",data:new Uint8Array(0)}),this.isOpenType=!1}else{var M=r.composite&&((r.cidToGidMap||[]).length>0||!(r.cMap instanceof y.IdentityCMap));if("OTTO"===v.version&&!M||!w.head||!w.hhea||!w.maxp||!w.post)return A=new x.Stream(w["CFF "].data),S=new h.CFFFont(A,r),I(r),this.convert(e,S,r);delete w.glyf,delete w.loca,delete w.fpgm,delete w.prep,delete w["cvt "],this.isOpenType=!0}if(!w.maxp)throw new a.FormatError('Required "maxp" table is not found');t.pos=(t.start||0)+w.maxp.offset;var D=t.getInt32(),B=t.getUint16();if(r.scaleFactors&&r.scaleFactors.length===B&&T){var R=r.scaleFactors,_=P(w.head.data[50],w.head.data[51]),j=new b.GlyfTable({glyfTable:w.glyf.data,isGlyphLocationsLong:_,locaTable:w.loca.data,numGlyphs:B});j.scale(R);var z=j.write(),W=z.glyf,V=z.loca,K=z.isLocationLong;w.glyf.data=W,w.loca.data=V,K!==!!_&&(w.head.data[50]=0,w.head.data[51]=K?1:0);for(var Y=w.hmtx.data,J=0;J<B;J++){var Z=4*J,Q=Math.round(R[J]*P(Y[Z],Y[Z+1]));Y[Z]=Q>>8&255,Y[Z+1]=255&Q,E(Y,Z+2,Math.round(R[J]*N(Y[Z+2],Y[Z+3])))}}var ee=B+1,te=!0;ee>65535&&(te=!1,ee=B,(0,a.warn)("Not enough space in glyfs to duplicate first glyph."));var re=0,ae=0;D>=65536&&w.maxp.length>=22&&(t.pos+=8,t.getUint16()>2&&(w.maxp.data[14]=0,w.maxp.data[15]=2),t.pos+=4,re=t.getUint16(),t.pos+=4,ae=t.getUint16()),w.maxp.data[4]=ee>>8,w.maxp.data[5]=255&ee;var ne=function(e,t,r,n){var i={functionsDefined:[],functionsUsed:[],functionsStackDeltas:[],tooComplexToFollowFunctions:!1,hintsValid:!0};if(e&&F(e,i),t&&F(t,i),e&&function(e,t){if(!e.tooComplexToFollowFunctions){if(e.functionsDefined.length>t)return(0,a.warn)("TT: more functions defined than expected"),void(e.hintsValid=!1);for(var r=0,n=e.functionsUsed.length;r<n;r++){if(r>t)return(0,a.warn)("TT: invalid function id: "+r),void(e.hintsValid=!1);if(e.functionsUsed[r]&&!e.functionsDefined[r])return(0,a.warn)("TT: undefined function: "+r),void(e.hintsValid=!1)}}}(i,n),r&&1&r.length){var o=new Uint8Array(r.length+1);o.set(r.data),r.data=o}return i.hintsValid}(w.fpgm,w.prep,w["cvt "],re);if(ne||(delete w.fpgm,delete w.prep,delete w["cvt "]),function(e,t,r,n,i,o){if(t){e.pos=(e.start||0
2)+t.offset,e.pos+=4,e.pos+=2,e.pos+=2,e.pos+=2,e.pos+=2,e.pos+=2,e.pos+=2,e.pos+=2,e.pos+=2,e.pos+=2;var s=e.getUint16();e.pos+=8,e.pos+=2;var c=e.getUint16();0!==s&&(2&P(n.data[44],n.data[45])||(t.data[22]=0,t.data[23]=0)),c>i&&((0,a.info)("The numOfMetrics (".concat(c,") should not be ")+"greater than the numGlyphs (".concat(i,").")),c=i,t.data[34]=(65280&c)>>8,t.data[35]=255&c);var l=i-c-(r.length-4*c>>1);if(l>0){var u=new Uint8Array(r.length+2*l);u.set(r.data),o&&(u[r.length]=r.data[2],u[r.length+1]=r.data[3]),r.data=u}}else r&&(r.data=null)}(t,w.hhea,w.hmtx,w.head,ee,te),!w.head)throw new a.FormatError('Required "head" table is not found');!function(e,t,r){var n,i,o,s,c=e.data,l=(n=c[0],i=c[1],o=c[2],s=c[3],(n<<24)+(i<<16)+(o<<8)+s);l>>16!==1&&((0,a.info)("Attempting to fix invalid version in head table: "+l),c[0]=0,c[1]=1,c[2]=0,c[3]=0);var u=P(c[50],c[51]);if(u<0||u>1){(0,a.info)("Attempting to fix invalid indexToLocFormat in head table: "+u);var h=t+1;if(r===h<<1)c[50]=0,c[51]=0;else{if(r!==h<<2)throw new a.FormatError("Could not fix indexToLocFormat: "+u);c[50]=0,c[51]=1}}}(w.head,B,T?w.loca.length:0);var ie=Object.create(null);if(T){var oe=P(w.head.data[50],w.head.data[51]),se=function(e,t,r,a,n,i,o){var s,c,l;a?(s=4,c=function(e,t){return e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3]},l=function(e,t,r){e[t]=r>>>24&255,e[t+1]=r>>16&255,e[t+2]=r>>8&255,e[t+3]=255&r}):(s=2,c=function(e,t){return e[t]<<9|e[t+1]<<1},l=function(e,t,r){e[t]=r>>9&255,e[t+1]=r>>1&255});var u=i?r+1:r,h=s*(1+u),f=new Uint8Array(h);f.set(e.data.subarray(0,h)),e.data=f;var d,g,m=t.data,v=m.length,b=new Uint8Array(v),y=[];for(d=0,g=0;d<r+1;d++,g+=s){var k=c(f,g);k>v&&(k=v),y.push({index:d,offset:k,endOffset:0})}for(y.sort((function(e,t){return e.offset-t.offset})),d=0;d<r;d++)y[d].endOffset=y[d+1].offset;for(y.sort((function(e,t){return e.index-t.index})),d=0;d<r;d++){var w=y[d],x=w.offset,S=w.endOffset;if(0!==x||0!==S)break;var A=y[d+1].offset;if(0!==A){y[d].endOffset=A;break}}var C=Object.create(null),F=0;for(l(f,0,F),d=0,g=s;d<r;d++,g+=s){var O=p(m,y[d].offset,y[d].endOffset,b,F,n),I=O.length;0===I&&(C[d]=!0),O.sizeOfInstructions>o&&(o=O.sizeOfInstructions),l(f,g,F+=I)}if(0===F){var T=new Uint8Array([0,1,0,0,0,0,0,0,0,0,0,0,0,0,49,0]);for(d=0,g=s;d<u;d++,g+=s)l(f,g,T.length);t.data=T}else if(i){var M=c(f,s);b.length>M+F?t.data=b.subarray(0,M+F):(t.data=new Uint8Array(M+F),t.data.set(b.subarray(0,F))),t.data.set(b.subarray(0,M),F),l(e.data,f.length-s,F+M)}else t.data=b.subarray(0,F);return{missingGlyphs:C,maxSizeOfInstructions:o}}(w.loca,w.glyf,B,oe,ne,te,ae);ie=se.missingGlyphs,D>=65536&&w.maxp.length>=22&&(w.maxp.data[26]=se.maxSizeOfInstructions>>8,w.maxp.data[27]=255&se.maxSizeOfInstructions)}if(!w.hhea)throw new a.FormatError('Required "hhea" table is not found');0===w.hhea.data[10]&&0===w.hhea.data[11]&&(w.hhea.data[10]=255,w.hhea.data[11]=255);var ce={unitsPerEm:P(w.head.data[18],w.head.data[19]),yMax:P(w.head.data[42],w.head.data[43]),yMin:N(w.head.data[38],w.head.data[39]),ascent:N(w.hhea.data[4],w.hhea.data[5]),descent:N(w.hhea.data[6],w.hhea.data[7]),lineGap:N(w.hhea.data[8],w.hhea.data[9])};this.ascent=ce.ascent/ce.unitsPerEm,this.descent=ce.descent/ce.unitsPerEm,this.lineGap=ce.lineGap
2/ce.unitsPerEm,this.cssFontInfo&&this.cssFontInfo.lineHeight?(this.lineHeight=this.cssFontInfo.metrics.lineHeight,this.lineGap=this.cssFontInfo.metrics.lineGap):this.lineHeight=this.ascent-this.descent+this.lineGap,w.post&&function(e,r,n){var o=(t.start||0)+e.offset;t.pos=o;var s,c=o+e.length,l=t.getInt32();t.skip(28);var u,h=!0;switch(l){case 65536:s=i.MacStandardGlyphOrdering;break;case 131072:var f=t.getUint16();if(f!==n){h=!1;break}var d=[];for(u=0;u<f;++u){var g=t.getUint16();if(g>=32768){h=!1;break}d.push(g)}if(!h)break;for(var p=[],m=[];t.pos<c;){var v=t.getByte();for(m.length=v,u=0;u<v;++u)m[u]=String.fromCharCode(t.getByte());p.push(m.join(""))}for(s=[],u=0;u<f;++u){var b=d[u];b<258?s.push(i.MacStandardGlyphOrdering[b]):s.push(p[b-258])}break;case 196608:break;default:(0,a.warn)("Unknown/unsupported post table version "+l),h=!1,r.defaultEncoding&&(s=r.defaultEncoding)}r.glyphNames=s}(w.post,r,B),w.post={tag:"post",data:q(r)};var le=[];function ue(e){return!ie[e]}if(r.composite){var he=r.cidToGidMap||[],fe=0===he.length;r.cMap.forEach((function(e,t){if("string"===typeof t&&(t=U(e,t,!0)),t>65535)throw new a.FormatError("Max size of CID is 65,535");var r=-1;fe?r=t:void 0!==he[t]&&(r=he[t]),r>=0&&r<B&&ue(r)&&(le[e]=r)}))}else{var de=function(e,t,r,n){if(!e)return(0,a.warn)("No cmap table available."),{platformId:-1,encodingId:-1,mappings:[],hasShortCmap:!1};var i,o=(t.start||0)+e.offset;t.pos=o,t.skip(2);for(var s,c=t.getUint16(),l=!1,u=0;u<c;u++){var h=t.getUint16(),f=t.getUint16(),d=t.getInt32()>>>0,g=!1;if(!s||s.platformId!==h||s.encodingId!==f){if(0!==h||0!==f&&1!==f&&3!==f)if(1===h&&0===f)g=!0;else if(3!==h||1!==f||!n&&s){if(r&&3===h&&0===f){g=!0;var p=!0;if(u<c-1){var m=t.peekBytes(2);P(m[0],m[1])<h&&(p=!1)}p&&(l=!0)}}else g=!0,r||(l=!0);else g=!0;if(g&&(s={platformId:h,encodingId:f,offset:d}),l)break}}if(s&&(t.pos=o+s.offset),!s||-1===t.peekByte())return(0,a.warn)("Could not find a preferred cmap table."),{platformId:-1,encodingId:-1,mappings:[],hasShortCmap:!1};var v,b,y=t.getUint16(),k=!1,w=[];if(0===y){for(t.skip(4),v=0;v<256;v++){var x=t.getByte();x&&w.push({charCode:v,glyphId:x})}k=!0}else if(2===y){t.skip(4);for(var S=[],A=0,C=0;C<256;C++){var F=t.getUint16()>>3;S.push(F),A=Math.max(F,A)}for(var O=[],I=0;I<=A;I++)O.push({firstCode:t.getUint16(),entryCount:t.getUint16(),idDelta:N(t.getByte(),t.getByte()),idRangePos:t.pos+t.getUint16()});for(var T=0;T<256;T++)if(0===S[T])t.pos=O[0].idRangePos+2*T,b=t.getUint16(),w.push({charCode:T,glyphId:b});else{var M=O[S[T]];for(v=0;v<M.entryCount;v++){var E=(T<<8)+v+M.firstCode;t.pos=M.idRangePos+2*v,0!==(b=t.getUint16())&&(b=(b+M.idDelta)%65536),w.push({charCode:E,glyphId:b})}}}else if(4===y){t.skip(4);var D=t.getUint16()>>1;t.skip(6);var B,L=[];for(B=0;B<D;B++)L.push({end:t.getUint16()});for(t.skip(2),B=0;B<D;B++)L[B].start=t.getUint16();for(B=0;B<D;B++)L[B].delta=t.getUint16();var R,_=0;for(B=0;B<D;B++){i=L[B];var j=t.getUint16();j?(R=(j>>1)-(D-B),i.offsetIndex=R,_=Math.max(_,R+i.end-i.start+1)):i.offsetIndex=-1}var U=[];for(v=0;v<_;v++)U.push(t.getUint16());for(B=0;B<D;B++){o=(i=L[B]).start;var $=i.end,X=i.delta;for(R=i.offsetIndex,v=o;v<=$;v++)65535!==v&&(b=(b=R<0?v:U[R+v-o])+X&65535,w.push({charCode:v,glyphId:b}))}}else if(6===y){t.skip(4);var H=t.getUint16(),q=t.getUint16();for(v=0;v<q;v++){b=t.getUint16();var z=H+v;w.push({charCode:z,glyphId:b})}}else{if(12!==y)return(0,a.warn)("cmap table has unsupported format: "+y),{platformId:-1,encodingId:-1,mappings:[],hasShortCmap:!1};t.skip(10);var G=t.getInt32()>>>0;for(v=0;v<G;v++)for(var W=t.getInt32()>>>0,V=t.getInt32()>>>0,K=t.getInt32()>>>0,Y=W;Y<=V;Y++)w.push({charCode:Y,glyphId:K++})}w.sort((function(e,t){return e.charCode-t.charCode}));for(var J=1;J<w.length;J++)w[J-1].charCode===w[J].charCode&&(w.splice(J,1),J--);return{platformId:s.platformId,encodingId:s.encodingId,mappings:w,hasShortCmap:k}}(w.cmap,t,this.isSymbolicFont,r.hasEncoding),ge=de.platformId,pe=de.encodingId,me=de.mappings,ve=me.length,be=[],ye=!1;if(!r.hasEncoding||"MacRomanEncoding"!==r.baseEncodingName&&"WinAnsiEncoding"!==r.baseEncodingName||(be=(0,c.getEncoding)(r.baseEncodingName)),r.hasEncoding&&!this.isSymbolicFont&&(3===ge&&1===pe||1===ge&&0===pe))for(var ke=(0,s.getGlyphsUnicode)(),we=0;we<256;we++){var xe=void 0;if(xe=void 0!==this.differences[we]?this.differences[we]:be.length&&""!==be[we]?be[we]:c.StandardEncoding[we]){var Se=(0,i.recoverGlyphName)(xe,ke),Ae=void 0;if(3===ge&&1===pe?Ae=ke[Se]:1===ge&&0===pe&&(Ae=c.MacRomanEncoding.indexOf(Se)),void 0===Ae){if(!r.glyphNames&&r.hasIncludedToUnicodeMap&&!(this.toUnicode instanceof u.IdentityToUnicodeMap)){var Ce=this.toUnicode.get(we);Ce&&(Ae=Ce.codePointAt(0))}if(void 0===Ae)continue}for(var Fe=0;Fe<ve;++Fe)if(me[Fe].charCode===Ae){le[we]=me[Fe].glyphId;break}}}else if(0===ge){for(var Oe=0;Oe<ve;++Oe)le[me[Oe].charCode]=me[Oe].glyphId;ye=!0}else for(var Ie=0;Ie<ve;++Ie){var Te=me[Ie].charCode;3===ge&&Te>=61440&&Te<=61695&&(Te&=255),le[Te]=me[Ie].glyphId}if(r.glyphNames&&(be.length||this.differences.length))for(var Me=0;Me<256;++Me)if(ye||void 0===le[Me]){var Pe=this.differences[Me]||be[Me];if(Pe){var Ee=r.glyphNames.indexOf(Pe);Ee>0&&ue(Ee)&&(le[Me]=Ee)}}}0===le.length&&(le[0]=0);var Ne=ee-1;if(te||(Ne=0),!r.cssFontInfo){var De=$(le,ue,Ne,this.toUnicode);this.toFontChar=De.toFontChar,w.cmap={tag:"cmap",data:X(De.charCodeToGlyphId,De.toUnicodeExtraMap,ee)}
2,w["OS/2"]&&function(e,t){t.pos=(t.start||0)+e.offset;var r=t.getUint16();t.skip(60);var a=t.getUint16();return!(r<4&&768&a)&&!(t.getUint16()>t.getUint16())&&(t.skip(6),0!==t.getUint16()&&(e.data[8]=e.data[9]=0,!0))}(w["OS/2"],t)||(w["OS/2"]={tag:"OS/2",data:H(r,De.charCodeToGlyphId,ce)})}if(!T)try{A=new x.Stream(w["CFF "].data),(S=new n.CFFParser(A,r,i.SEAC_ANALYSIS_ENABLED).parse()).duplicateFirstGlyph();var Be=new n.CFFCompiler(S);w["CFF "].data=Be.compile()}catch(je){(0,a.warn)("Failed to compile font "+r.loadedName)}if(w.name){var Le=m(w.name);w.name.data=G(e,Le),this.psName=Le[0][6]||null}else w.name={tag:"name",data:G(this.name)};var Re=new k.OpenTypeFileBuilder(v.version);for(var _e in w)Re.addTable(_e,w[_e].data);return Re.toArray()}},{key:"convert",value:function(e,t,r){r.fixedPitch=!1,r.builtInEncoding&&function(e,t){if(!e.isInternalFont&&t!==e.defaultEncoding&&!(e.toUnicode instanceof u.IdentityToUnicodeMap)){var r=[],a=(0,s.getGlyphsUnicode)();for(var n in t){if(e.hasIncludedToUnicodeMap){if(e.toUnicode.has(n))continue}else if(e.hasEncoding&&(0===e.differences.length||void 0!==e.differences[n]))continue;var i=t[n],c=(0,o.getUnicodeForGlyph)(i,a);-1!==c&&(r[n]=String.fromCharCode(c))}r.length>0&&e.toUnicode.amend(r)}}(r,r.builtInEncoding);var n=1;t instanceof h.CFFFont&&(n=t.numGlyphs-1);var l=t.getGlyphMapping(r),f=null,d=l,g=null;r.cssFontInfo||(f=$(l,t.hasGlyphId.bind(t),n,this.toUnicode),this.toFontChar=f.toFontChar,d=f.charCodeToGlyphId,g=f.toUnicodeExtraMap);var p=t.numGlyphs;function m(e,t){var r=null;for(var a in e)t===e[a]&&(r||(r=[]),r.push(0|a));return r}function v(e,t){for(var r in e)if(t===e[r])return 0|r;return f.charCodeToGlyphId[f.nextAvailableFontCharCode]=t,f.nextAvailableFontCharCode++}var b=t.seacs;if(f&&i.SEAC_ANALYSIS_ENABLED&&b&&b.length){var y=r.fontMatrix||a.FONT_IDENTITY_MATRIX,w=t.getCharset(),x=Object.create(null);for(var S in b){var A=b[S|=0],C=c.StandardEncoding[A[2]],F=c.StandardEncoding[A[3]],O=w.indexOf(C),I=w.indexOf(F);if(!(O<0||I<0)){var T={x:A[0]*y[0]+A[1]*y[2]+y[4],y:A[0]*y[1]+A[1]*y[3]+y[5]},M=m(l,S);if(M)for(var P=0,E=M.length;P<E;P++){var N=M[P],L=f.charCodeToGlyphId,R=v(L,O),_=v(L,I);x[N]={baseFontCharCode:R,accentFontCharCode:_,accentOffset:T}}}}r.seacMap=x}var j=1/(r.fontMatrix||a.FONT_IDENTITY_MATRIX)[0],U=new k.OpenTypeFileBuilder("OTTO");return U.addTable("CFF ",t.data),U.addTable("OS/2",H(r,d)),U.addTable("cmap",X(d,g,p)),U.addTable("head","\0\x01\0\0\0\0\x10\0\0\0\0\0_\x0f<\xf5\0\0"+B(j)+"\0\0\0\0\x9e\v~'\0\0\0\0\x9e\v~'\0\0"+B(r.descent)+"\x0f\xff"+B(r.ascent)+D(r.italicAngle?2:0)+"\0\x11\0\0\0\0\0\0"),U.addTable("hhea","\0\x01\0\0"+B(r.ascent)+B(r.descent)+"\0\0\xff\xff\0\0\0\0\0\0"+B(r.capHeight)+B(Math.tan(r.italicAngle)*r.xHeight)+"\0\0\0\0\0\0\0\0\0\0\0\0"+D(p)),U.addTable("hmtx",function(){for(var e=t.charstrings,r=t.cff?t.cff.widths:null,a="\0\0\0\0",n=1,i=p;n<i;n++){var o=0;if(e){var s=e[n-1];o="width"in s?s.width:0}else r&&(o=Math.ceil(r[n]||0));a+=D(o)+D(0)}return a}()),U.addTable("maxp","\0\0P\0"+D(p)),U.addTable("name",G(e)),U.addTable("post",q(r)),U.toArray()}},{key:"spaceWidth",get:function(){for(var e,t=["space","minus","one","i","I"],r=0,n=t.length;r<n;r++){var i=t[r];if(i in this.widths){e=this.widths[i];break}var o=(0,s.getGlyphsUnicode)()[i],c=0;if(this.composite&&this.cMap.contains(o)&&"string"===typeof(c=this.cM
2ap.lookup(o))&&(c=U(o,c)),!c&&this.toUnicode&&(c=this.toUnicode.charCodeOf(o)),c<=0&&(c=o),e=this.widths[c])break}return e=e||this.defaultWidth,(0,a.shadow)(this,"spaceWidth",e)}},{key:"_charToGlyph",value:function(e){var t,r,n,i=arguments.length>1&&void 0!==arguments[1]&&arguments[1],s=e;this.cMap&&this.cMap.contains(e)&&"string"===typeof(s=this.cMap.lookup(e))&&(s=U(e,s)),"number"!==typeof(r=this.widths[s])&&(r=this.defaultWidth);var c=this.vmetrics&&this.vmetrics[s],l=this.toUnicode.get(e)||e;"number"===typeof l&&(l=String.fromCharCode(l));var u=void 0!==this.toFontChar[e];if(t=this.toFontChar[e]||e,this.missingFile){var h=this.differences[e]||this.defaultEncoding[e];".notdef"!==h&&""!==h||"Type1"!==this.type||(t=32),t=(0,o.mapSpecialUnicodeValues)(t)}this.isType3Font&&(n=t);var f=null;if(this.seacMap&&this.seacMap[e]){u=!0;var d=this.seacMap[e];t=d.baseFontCharCode,f={fontChar:String.fromCodePoint(d.accentFontCharCode),offset:d.accentOffset}}var g="";"number"===typeof t&&(t<=1114111?g=String.fromCodePoint(t):(0,a.warn)("charToGlyph - invalid fontCharCode: ".concat(t)));var p=this._glyphCache[e];return p&&p.matchesForCache(e,g,l,f,r,c,n,i,u)||(p=new M(e,g,l,f,r,c,n,i,u),this._glyphCache[e]=p),p}},{key:"charsToGlyphs",value:function(e){var t=this._charsCache[e];if(t)return t;if(t=[],this.cMap)for(var r=Object.create(null),a=e.length,n=0;n<a;){this.cMap.readCharCode(e,n,r);var i=r.charcode,o=r.length;n+=o;var s=this._charToGlyph(i,1===o&&32===e.charCodeAt(n-1));t.push(s)}else for(var c=0,l=e.length;c<l;++c){var u=e.charCodeAt(c),h=this._charToGlyph(u,32===u);t.push(h)}return this._charsCache[e]=t}},{key:"getCharPositions",value:function(e){var t=[];if(this.cMap)for(var r=Object.create(null),a=0;a<e.length;){this.cMap.readCharCode(e,a,r);var n=r.length;t.push([a,a+n]),a+=n}else for(var i=0,o=e.length;i<o;++i)t.push([i,i+1]);return t}},{key:"glyphCacheValues",get:function(){return Object.values(this._glyphCache)}},{key:"encodeString",value:function(e){for(var t=this,r=[],a=[],n=function(){return r.length%2===1},i=this.toUnicode instanceof u.IdentityToUnicodeMap?function(e){return t.toUnicode.charCodeOf(e)}:function(e){return t.toUnicode.charCodeOf(String.fromCodePoint(e))},o=0,s=e.length;o<s;o++){var c=e.codePointAt(o);if(c>55295&&(c<57344||c>65533)&&o++,this.toUnicode){var l=i(c);if(-1!==l){n()&&(r.push(a.join("")),a.length=0);for(var h=(this.cMap?this.cMap.getCharCodeLength(l):1)-1;h>=0;h--)a.push(String.fromCharCode(l>>8*h&255));continue}}n()||(r.push(a.join("")),a.length=0),a.push(String.fromCodePoint(c))}return r.push(a.join("")),r}}])}();t.Font=W;var V=function(){return v((function e(t){m(this,e),this.error=t,this.loadedName="g_font_error",this.missingFile=!0}),[{key:"charsToGlyphs",value:function(){return[]}},{key:"encodeString",value:function(e){return[e]}},{key:"exportData",value:function(){return{error:this.error}}}])}();t.ErrorFont=V},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.CFFTopDict=t.CFFStrings=t.CFFStandardStrings=t.CFFPrivateDict=t.CFFParser=t.CFFIndex=t.CFFHeader=t.CFFFDSelect=t.CFFCompiler=t.CFFCharset=t.CFF=void 0;var a=r(2),n=r(36),i=r(37),o=[".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"];t.CFFStandardStrings=o;var s=391,h=[null,{id:"hstem",min:2,stackClearing:!0,stem:!0},null,{id:"vstem",min:2,stackClearing:!0,stem:!0},{id:"vmoveto",min:1,stackClearing:!0},{id:"rlineto",min:2,resetStack:!0},{id:"hlineto",min:1,resetStack:!0},{id:"vlineto",min:1,resetStack:!0},{id:"rrcurveto",min:6,resetStack:!0},null,{id:"callsubr",min:1,undefStack:!0},{id:"return",min:0,undefStack:!0},null,null,{id:"endchar",min:0,stackClearing:!0},null,null,null,{id:"hstemhm",min:2,stackClearing:!0,stem:!0},{id:"hintmask",min:0,stackClearing:!0},{id:"cntrmask",min:0,stackClearing:!0},{id:"rmoveto",min:2,stackClearing:!0},{id:"hmoveto",min:1,stackClearing:!0},{id:"vstemhm",min:2,stackClearing:!0,stem:!0},{id:"rcurveline",min:8,resetStack:!0},{id:"rlinecurve",min:8,resetStack:!0},{id:"vvcurveto",min:4,resetStack:!0},{id:"hhcurveto",min:4,resetStack:!0},null,{id:"callgsubr",min:1,undefStack:!0},{id:"vhcurveto",min:4,resetStack:!0},{id:"hvcurveto",min:4,resetStack:!0}
vendor: 4,355 bytes, line 2
2],f=[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,t){e[t-2]=e[t-2]+e[t-1]}},{id:"sub",min:2,stackDelta:-1,stackFn:function(e,t){e[t-2]=e[t-2]-e[t-1]}},{id:"div",min:2,stackDelta:-1,stackFn:function(e,t){e[t-2]=e[t-2]/e[t-1]}},null,{id:"neg",min:1,stackDelta:0,stackFn:function(e,t){e[t-1]=-e[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,t){e[t-2]=e[t-2]*e[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:!0},{id:"flex",min:13,resetStack:!0},{id:"hflex1",min:9,resetStack:!0},{id:"flex1",min:11,resetStack:!0}],g=function(){return v((function e(t,r,a){m(this,e),this.bytes=t.getBytes(),this.properties=r,this.seacAnalysisEnabled=!!a}),[{key:"parse",value:function(){var e=this.properties,t=new p;this.cff=t;var r=this.parseHeader(),a=this.parseIndex(r.endPos),n=this.parseIndex(a.endPos),i=this.parseIndex(n.endPos),o=this.parseIndex(i.endPos),s=this.parseDict(n.obj.get(0)),c=this.createDict(S,s,t.strings);t.header=r.obj,t.names=this.parseNameIndex(a.obj),t.strings=this.parseStringIndex(i.obj),t.topDict=c,t.globalSubrIndex=o.obj,this.parsePrivateDict(t.topDict),t.isCIDFont=c.hasName("ROS");var l=c.getByName("CharStrings"),u=this.parseIndex(l).obj,h=c.getByName("FontMatrix");h&&(e.fontMatrix=h);var f,d,g=c.getByName("FontBBox");if(g&&(e.ascent=Math.max(g[3],g[1]),e.descent=Math.min(g[1],g[3]),e.ascentScaled=!0),t.isCIDFont){for(var m=this.parseIndex(c.getByName("FDArray")).obj,v=0,b=m.count;v<b;++v){var y=m.get(v),k=this.createDict(S,this.parseDict(y),t.strings);this.parsePrivateDict(k),t.fdArray.push(k)}d=null,f=this.parseCharsets(c.getByName("charset"),u.count,t.strings,!0),t.fdSelect=this.parseFDSelect(c.getByName("FDSelect"),u.count)}else f=this.parseCharsets(c.getByName("charset"),u.count,t.strings,!1),d=this.parseEncoding(c.getByName("Encoding"),e,t.strings,f.charset);t.charset=f,t.encoding=d;var w=this.parseCharStrings({charStrings:u,localSubrIndex:c.privateDict.subrsIndex,globalSubrIndex:o.obj,fdSelect:t.fdSelect,fdArray:t.fdArray,privateDict:c.privateDict});return t.charStrings=w.charStrings,t.seacs=w.seacs,t.widths=w.widths,t}},{key:"parseHeader",value:function(){for(var e=this.bytes,t=e.length,r=0;r<t&&1!==e[r];)++r;if(r>=t)throw new a.FormatError("Invalid CFF header");0!==r&&((0,a.info)("cff data is shifted"),e=e.subarray(r),this.bytes=e);var n=e[0],i=e[1],o=e[2],s=e[3];return{obj:new b(n,i,o,s),endPos:o}}},{key:"parseDict",value:function(e){var t=0;function r(){var r=e[t++];return 30===r?function(){for(var r="",a=15,n=["0","1","2","3","4","5","6","7","8","9",".","E","E-",null,"-"],i=e.length;t<i;){var o=e[t++],s=o>>4,c=15&o;if(s===a)break;if(r+=n[s],c===a)break;r+=n[c]}return parseFloat(r)}():28===r?r=((r=e[t++])<<24|e[t++]<<16)>>16:29===r?r=(r=(r=(r=e[t++])<<8|e[t++])<<8|e[t++])<<8|e[t++]:r>=32&&r<=246?r-139:r>=247&&r<=250?256*(r-247)+e[t++]+108:r>=251&&r<=254?-256*(r-251)-e[t++]-108:((0,a.warn)('CFFParser_parseDict: "'+r+'" is a reserved command.'),NaN)}var n=[],i=[];t=0;for(var o=e.length;t<o;){var s=e[t];s<=21?(12===s&&(s=s<<8|e[++t]),i.push([s,n]),n=[],++t):n.push(r())}return i}},{key:"parseIndex",value:function(e){var t,r,a=new k,n=this.bytes,i=n[e++]<<8|n[e++],o=[],s=e;if(0!==i){var c=n[e++],l=e+(i+1)*c-1;for(t=0,r=i+1;t<r;++t){for(var u=0,h=0;h<c;++h)u<<=8,u+=n[e++];o.push(l+u)}s=o[i]}for(t=0,r=o.length-1;t<r;++t){var f=o[t],d=o[t+1];a.add(n.subarray(f,d))}return{obj:a,endPos:s}}},{key:"parseNameIndex",value:function(e){for(var t=[],r=0,n=e.count;r<n;++r){var i=e.get(r);t.push((0,a.bytesToString)(i))}return t}},{key:"parseStringIndex",value:function(e){for(var t=new y,r=0,n=e.count;r<n;++r){var i=e.get(r);t.add((0,a.bytesToString)(i))}return t}},{key:"createDict",value:function(e,t,r){for(var a=new e(r),n=0,i=t.length;n<i;++n){var o=t[n],s=o[0],c=o[1];a.setByKey(s,c)}return a}},{key:"parseCharString",value:function(e,t,r,n){if(!t||e.callDepth>
210)return!1;for(var i=e.stackSize,o=e.stack,s=t.length,c=0;c<s;){var l=t[c++],u=null;if(12===l){var d=t[c++];0===d?(t[c-2]=139,t[c-1]=22,i=0):u=f[d]}else if(28===l)o[i]=(t[c]<<24|t[c+1]<<16)>>16,c+=2,i++;else if(14===l){if(i>=4&&(i-=4,this.seacAnalysisEnabled))return e.seac=o.slice(i,i+4),!1;u=h[l]}else if(l>=32&&l<=246)o[i]=l-139,i++;else if(l>=247&&l<=254)o[i]=l<251?(l-247<<8)+t[c]+108:-(l-251<<8)-t[c]-108,c++,i++;else if(255===l)o[i]=(t[c]<<24|t[c+1]<<16|t[c+2]<<8|t[c+3])/65536,c+=4,i++;else if(19===l||20===l)e.hints+=i>>1,c+=e.hints+7>>3,i%=2,u=h[l];else{if(10===l||29===l){var g=void 0;if(!(g=10===l?r:n))return u=h[l],(0,a.warn)("Missing subrsIndex for "+u.id),!1;var p=32768;g.count<1240?p=107:g.count<33900&&(p=1131);var m=o[--i]+p;if(m<0||m>=g.count||isNaN(m))return u=h[l],(0,a.warn)("Out of bounds subrIndex for "+u.id),!1;if(e.stackSize=i,e.callDepth++,!this.parseCharString(e,g.get(m),r,n))return!1;e.callDepth--,i=e.stackSize;continue}if(11===l)return e.stackSize=i,!0;0===l&&c===t.length?(t[c-1]=14,u=h[14]):u=h[l]}if(u){if(u.stem&&(e.hints+=i>>1,3===l||23===l?e.hasVStems=!0:!e.hasVStems||1!==l&&18!==l||((0,a.warn)("CFF stem hints are in wrong order"),t[c-1]=1===l?3:23)),"min"in u&&!e.undefStack&&i<u.min)return(0,a.warn)("Not enough parameters for "+u.id+"; actual: "+i+", expected: "+u.min),0===i&&(t[c-1]=14,!0);e.firstStackClearing&&u.stackClearing&&(e.firstStackClearing=!1,(i-=u.min)>=2&&u.stem?i%=2:i>1&&(0,a.warn)("Found too many parameters for stack-clearing command"),i>0&&(e.width=o[i-1])),"stackDelta"in u?("stackFn"in u&&u.stackFn(o,i),i+=u.stackDelta):u.stackClearing?i=0:u.resetStack?(i=0,e.undefStack=!1):u.undefStack&&(i=0,e.undefStack=!0,e.firstStackClearing=!1)}}return e.stackSize=i,!0}},{key:"parseCharStrings",value:function(e){for(var t=e.charStrings,r=e.localSubrIndex,n=e.globalSubrIndex,i=e.fdSelect,o=e.fdArray,s=e.privateDict,c=[],l=[],u=t.count,h=0;h<u;h++){var f=t.get(h),d={callDepth:0,stackSize:0,stack:[],undefStack:!0,hints:0,firstStackClearing:!0,seac:null,width:null,hasVStems:!1},g=!0,p=null,m=s;if(i&&o.length){var v=i.getFDIndex(h);-1===v&&((0,a.warn)("Glyph index is not in fd select."),g=!1),v>=o.length&&((0,a.warn)("Invalid fd index for glyph index."),g=!1),g&&(p=(m=o[v].privateDict).subrsIndex)}else r&&(p=r);if(g&&(g=this.parseCharString(d,f,p,n)),null!==d.width){var b=m.getByName("nominalWidthX");
2l[h]=b+d.width}else{var y=m.getByName("defaultWidthX");l[h]=y}null!==d.seac&&(c[h]=d.seac),g||t.set(h,new Uint8Array([14]))}return{charStrings:t,seacs:c,widths:l}}},{key:"emptyPrivateDictionary",value:function(e){var t=this.createDict(C,[],e.strings);e.setByKey(18,[0,0]),e.privateDict=t}},{key:"parsePrivateDict",value:function(e){if(e.hasName("Private")){var t=e.getByName("Private");if(Array.isArray(t)&&2===t.length){var r=t[0],a=t[1];if(0===r||a>=this.bytes.length)this.emptyPrivateDictionary(e);else{var n=a+r,i=this.bytes.subarray(a,n),o=this.parseDict(i),s=this.createDict(C,o,e.strings);if(e.privateDict=s,s.getByName("Subrs")){var c=s.getByName("Subrs"),l=a+c;if(0===c||l>=this.bytes.length)this.emptyPrivateDictionary(e);else{var u=this.parseIndex(l);s.subrsIndex=u.obj}}}}else e.removeByName("Private")}else this.emptyPrivateDictionary(e)}},{key:"parseCharsets",value:function(e,t,r,i){if(0===e)return new O(!0,F.ISO_ADOBE,n.ISOAdobeCharset);if(1===e)return new O(!0,F.EXPERT,n.ExpertCharset);if(2===e)return new O(!0,F.EXPERT_SUBSET,n.ExpertSubsetCharset);var o,s,c,l=this.bytes,u=e,h=l[e++],f=[i?0:".notdef"];switch(t-=1,h){case 0:for(c=0;c<t;c++)o=l[e++]<<8|l[e++],f.push(i?o:r.get(o));break;case 1:for(;f.length<=t;)for(o=l[e++]<<8|l[e++],s=l[e++],c=0;c<=s;c++)f.push(i?o++:r.get(o++));break;case 2:for(;f.length<=t;)for(o=l[e++]<<8|l[e++],s=l[e++]<<8|l[e++],c=0;c<=s;c++)f.push(i?o++:r.get(o++));break;default:throw new a.FormatError("Unknown charset format")}var d=e,g=l.subarray(u,d);return new O(!1,h,f,g)}},{key:"parseEncoding",value:function(e,t,r,n){var o,s,c,l=Object.create(null),u=this.bytes,h=!1,f=null;if(0===e||1===e){h=!0,o=e;var d=e?i.ExpertEncoding:i.StandardEncoding;for(s=0,c=n.length;s<c;s++){var g=d.indexOf(n[s]);-1!==g&&(l[g]=s)}}else{var p=e;switch(127&(o=u[e++])){case 0:var m=u[e++];for(s=1;s<=m;s++)l[u[e++]]=s;break;case 1:var v=u[e++],b=1;for(s=0;s<v;s++)for(var y=u[e++],k=u[e++],w=y;w<=y+k;w++)l[w]=b++;break;default:throw new a.FormatError("Unknown encoding format: ".concat(o," in CFF"))}var x=e;128&o&&(u[p]&=127,function(){var t=u[e++];for(s=0;s<t;s++){var a=u[e++],i=(u[e++]<<8)+(255&u[e++]);l[a]=n.indexOf(r.get(i))}}()),f=u.subarray(p,x)}return new I(h,o&=127,l,f)}},{key:"parseFDSelect",value:function(e,t){var r,n=this.bytes,i=n[e++],o=[];switch(i){case 0:for(r=0;r<t;++r){var s=n[e++];o.push(s)}break;case 3:var c=n[e++]<<8|n[e++];for(r=0;r<c;++r){var l=n[e++]<<8|n[e++];0===r&&0!==l&&((0,a.warn)("parseFDSelect: The first range must have a first GID of 0 -- trying to recover."),l=0);for(var u=n[e++],h=n[e]<<8|n[e+1],f=l;f<h;++f)o.push(u)}e+=2;break;default:throw new a.FormatError('parseFDSelect: Unknown format "'.concat(i,'".'))}if(o.length!==t)throw new a.FormatError("parseFDSelect: Invalid font data.");return new T(i,o)}}])}();t.CFFParser=g;var p=function(){return v((function e(){m(this,e),this.header=null,this.names=[],this.topDict=null,this.strings=new y,this.globalSubrIndex=null,this.encoding=null,this.charset=null,this.charStrings=null,this.fdArray=[],this.fdSelect=null,this.isCIDFont=!1}),[{key:"duplicateFirstGlyph",value:function(){if(this.charStrings.count>=65535)(0,a.warn)("Not enough space in charstrings to duplicate first glyph.");else{var e=this.charStrings.get(0);this.charStrings.add(e),this.isCIDFont&&this.fdSelect.fdSelect.push(this.fdSelect.fdSelect[0])}}},{key:"hasGlyphId",value:function(e){return!(e<0||e>=this.charStrings.count)&&this.charStrings.get(e).length>0}}])}();t.CFF=p;var b=v((function e(t,r,a,n){m(this,e),this.major=t,this.minor=r,this.hdrSize=a,this.offSize=n}));t.CFFHeader=b;var y=function(){return v((function e(){m(this,e),this.strings=[]}),[{key:"get",value:function(e){return e>=0&&e<=390?o[e]:e-s<=this.strings.length?this.strings[e-s]:o[0]}},{key:"getSID",value:function(e){var t=o.indexOf(e);return-1!==t?t:-1!==(t=this.strings.indexOf(e))?t+s:-1}},{key:"add",value:function(e){this.strings.push(e)}},{key:"count",get:function(){return this.strings.length}}])}();t.CFFStrings=y;var k=function(){return v((function e(){m(this,e),this.objects=[],this.length=0}),[{key:"add",value:function(e){this.length+=e.length,this.objects.push(e)}},{key:"set",value:function(e,t){this.length+=t.length-this.objects[e].length,this.objects[e]=t}},{key:"get",value:function(e){return this.objects[e]}},{key:"count",get:function(){return this.objects.length}}])}();t.CFFIndex=k;var w=function(){return v((function e(t,r){m(this,e),this.keyToNameMap=t.keyToNameMap,this.nameToKeyMap=t.nameToKeyMap,this.defaults=t.defaults,this.types=t.types,this.opcodes=t.opcodes,this.order=t.order,this.strings=r,this.values=Object.create(null)}),[{key:"setByKey",value:function(e,t){if(!(e in this.keyToNameMap))return!1;var r=t.length;if(0===r)return!0;for(var n=0;n<r;n++)if(isNaN(t[n]))return(0,a.warn)('Invalid CFFDict value: "'+t+'" for key "'+e+'".'),
2!0;var i=this.types[e];return"num"!==i&&"sid"!==i&&"offset"!==i||(t=t[0]),this.values[e]=t,!0}},{key:"setByName",value:function(e,t){if(!(e in this.nameToKeyMap))throw new a.FormatError('Invalid dictionary name "'.concat(e,'"'));this.values[this.nameToKeyMap[e]]=t}},{key:"hasName",value:function(e){return this.nameToKeyMap[e]in this.values}},{key:"getByName",value:function(e){if(!(e in this.nameToKeyMap))throw new a.FormatError("Invalid dictionary name ".concat(e,'"'));var t=this.nameToKeyMap[e];return t in this.values?this.values[t]:this.defaults[t]}},{key:"removeByName",value:function(e){delete this.values[this.nameToKeyMap[e]]}}],[{key:"createTables",value:function(e){for(var t={keyToNameMap:{},nameToKeyMap:{},defaults:{},types:{},opcodes:{},order:[]},r=0,a=e.length;r<a;++r){var n=e[r],i=Array.isArray(n[0])?(n[0][0]<<8)+n[0][1]:n[0];t.keyToNameMap[i]=n[1],t.nameToKeyMap[n[1]]=i,t.types[i]=n[2],t.defaults[i]=n[3],t.opcodes[i]=Array.isArray(n[0])?n[0]:[n[0]],t.order.push(i)}return t}}])}(),x=[[[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]],S=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[t.tables,e])).privateDict=null,r}return u(t,e),v(t,null,[{key:"tables",get:function(){return(0,a.shadow)(this,"tables",this.createTables(x))}}])}(w);t.CFFTopDict=S;var A=[[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]],C=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[t.tables,e])).subrsIndex=null,r}return u(t,e),v(t,null,[{key:"tables",get:function(){return(0,a.shadow)(this,"tables",this.createTables(A))}}])}(w);t.CFFPrivateDict=C;var F={ISO_ADOBE:0,EXPERT:1,EXPERT_SUBSET:2},O=v((function e(t,r,a,n){m(this,e),this.predefined=t,this.format=r,this.charset=a,this.raw=n}));t.CFFCharset=O;var I=v((function e(t,r,a,n){m(this,e),this.predefined=t,this.format=r,this.encoding=a,this.raw=n})),T=function(){return v((function e(t,r){m(this,e),this.format=t,this.fdSelect=r}),[{key:"getFDIndex",value:function(e){return e<0||e>=this.fdSelect.length?-1:this.fdSelect[e]}}])}();t.CFFFDSelect=T;var M=function(){return v((function e(){m(this,e),this.offsets=Object.create(null)}),[{key:"isTracking",value:function(e){return e in this.offsets}},{key:"track",value:function(e,t){if(e in this.offsets)throw new a.FormatError("Already tracking location of ".concat(e));this.offsets[e]=t}},{key:"offset",value:function(e){for(var t in this.offsets)this.offsets[t]+=e}},{key:"setEntryLocation",value:function(e,t,r){if(!(e in this.offsets))throw new a.FormatError("Not tracking location of ".concat(e));for(var n=r.data,i=this.offsets[e],o=0,s=t.length;o<s;++o){var c=5*o+i,l=c+1,u=c+2,h=c+3,f=c+4;if(29!==n[c]||0!==n[l]||0!==n[u]||0!==n[h]||0!==n[f])throw new a.FormatError("writing to an offset that is not empty");var d=t[o];n[c]=29,n[l]=d>>24&255,n[u]=d>>16&255,n[h]=d>>8&255,n[f]=255&d}}}])}(),P=function(){function e(t){m(this,e),this.cff=t}
2return v(e,[{key:"compile",value:function(){var e=this.cff,t={data:[],length:0,add:function(e){this.data=this.data.concat(e),this.length=this.data.length}},r=this.compileHeader(e.header);t.add(r);var n=this.compileNameIndex(e.names);if(t.add(n),e.isCIDFont&&e.topDict.hasName("FontMatrix")){var i=e.topDict.getByName("FontMatrix");e.topDict.removeByName("FontMatrix");for(var o=0,s=e.fdArray.length;o<s;o++){var c=e.fdArray[o],l=i.slice(0);c.hasName("FontMatrix")&&(l=a.Util.transform(l,c.getByName("FontMatrix"))),c.setByName("FontMatrix",l)}}var u=e.topDict.getByName("XUID");u&&u.length>16&&e.topDict.removeByName("XUID"),e.topDict.setByName("charset",0);var h=this.compileTopDicts([e.topDict],t.length,e.isCIDFont);t.add(h.output);var f=h.trackers[0],d=this.compileStringIndex(e.strings.strings);t.add(d);var g=this.compileIndex(e.globalSubrIndex);if(t.add(g),e.encoding&&e.topDict.hasName("Encoding"))if(e.encoding.predefined)f.setEntryLocation("Encoding",[e.encoding.format],t);else{var p=this.compileEncoding(e.encoding);f.setEntryLocation("Encoding",[t.length],t),t.add(p)}var m=this.compileCharset(e.charset,e.charStrings.count,e.strings,e.isCIDFont);f.setEntryLocation("charset",[t.length],t),t.add(m);var v=this.compileCharStrings(e.charStrings);if(f.setEntryLocation("CharStrings",[t.length],t),t.add(v),e.isCIDFont){f.setEntryLocation("FDSelect",[t.length],t);var b=this.compileFDSelect(e.fdSelect);t.add(b),h=this.compileTopDicts(e.fdArray,t.length,!0),f.setEntryLocation("FDArray",[t.length],t),t.add(h.output);var y=h.trackers;this.compilePrivateDicts(e.fdArray,y,t)}return this.compilePrivateDicts([e.topDict],[f],t),t.add([0]),t.data}},{key:"encodeNumber",value:function(e){return Number.isInteger(e)?this.encodeInteger(e):this.encodeFloat(e)}},{key:"encodeFloat",value:function(t){var r=t.toString(),a=e.EncodeFloatRegExp.exec(r);if(a){var n=parseFloat("1e"+((a[2]?+a[2]:0)+a[1].length));r=(Math.round(t*n)/n).toString()}var i,o,s="";for(i=0,o=r.length;i<o;++i){var c=r[i];s+="e"===c?"-"===r[++i]?"c":"b":"."===c?"a":"-"===c?"e":c}var l=[30];for(i=0,o=(s+=1&s.length?"f":"ff").length;i<o;i+=2)l.push(parseInt(s.substring(i,i+2),16));return l}},{key:"encodeInteger",value:function(e){return e>=-107&&e<=107?[e+139]:e>=108&&e<=1131?[247+((e-=108)>>8),255&e]:e>=-1131&&e<=-108?[251+((e=-e-108)>>8),255&e]:e>=-32768&&e<=32767?[28,e>>8&255,255&e]:[29,e>>24&255,e>>16&255,e>>8&255,255&e]}},{key:"compileHeader",value:function(e){return[e.major,e.minor,4,e.offSize]}},{key:"compileNameIndex",value:function(e){for(var t=new k,r=0,n=e.length;r<n;++r){for(var i=e[r],o=Math.min(i.length,127),s=new Array(o),c=0;c<o;c++){var l=i[c];(l<"!"||l>"~"||"["===l||"]"===l||"("===l||")"===l||"{"===l||"}"===l||"<"===l||">"===l||"/"===l||"%"===l)&&(l="_"),s[c]=l}""===(s=s.join(""))&&(s="Bad_Font_Name"),t.add((0,a.stringToBytes)(s))}return this.compileIndex(t)}},{key:"compileTopDicts",value:function(e,t,r){for(var a=[],n=new k,i=0,o=e.length;i<o;++i){var s=e[i];r&&(s.removeByName("CIDFontVersion"),s.removeByName("CIDFontRevision"),s.removeByName("CIDFontType"),s.removeByName("CIDCount"),s.removeByName("UIDBase"));var c=new M,l=this.compileDict(s,c);a.push(c),n.add(l),c.offset(t)}return{trackers:a,output:n=this.compileIndex(n,a)}}},{key:"compilePrivateDicts",value:function(e,t,r){for(var n=0,i=e.length;n<i;++n){var o=e[n],s=o.privateDict;if(!s||!o.hasName("Private"))throw new a.FormatError("There must be a private dictionary.");var c=new M,l=this.compileDict(s,c),u=r.length;if(c.offset(u),l.length||(u=0),t[n].setEntryLocation("Private",[l.length,u],r),r.add(l),s.subrsIndex&&s.hasName("Subrs")){var h=this.compileIndex(s.subrsIndex);c.setEntryLocation("Subrs",[l.length],r),r.add(h)}}}},{key:"compileDict",value:function(e,t){var r,n=[],i=d(e.order);try{for(i.s();!(r=i.n()).done;){var o=r.value;if(o in e.values){var s=e.values[o],l=e.types[o];if(Array.isArray(l)||(l=[l]),Array.isArray(s)||(s=[s]),0!==s.length){for(var u=0,h=l.length;u<h;++u){var f=l[u],g=s[u];switch(f){case"num":case"sid":n.push.apply(n,c(this.encodeNumber(g)));break;case"offset":var p=e.keyToNameMap[o];t.isTracking(p)||t.track(p,n.length),n.push(29,0,0,0,0);break;case"array":case"delta":n.push.apply(n,c(this.encodeNumber(g)));for(var m=1,v=s.length;m<v;++m)n.push.apply(n,c(this.encodeNumber(s[m])));break;default:throw new a.FormatError("Unknown data type of ".concat(f))}}n.push.apply(n,c(e.opcodes[o]))}}}}catch(b){i.e(b)}finally{i.f()}return n}},{key:"compileStringIndex",value:function(e){for(var t=new k,r=0,n=e.length;r<n;++r)t.add((0,a.stringToBytes)(e[r]));return this.compileIndex(t)}},{key:"compileGlobalSubrIndex",value:function(){var e=this.cff.globalSubrIndex;this.out.writeByteArray(this.compileIndex(e))}},{key:"compileCharStrings",value:function(e){for(var t=new k,r=0;r<e.count;r++){var a=e.get(r);0!==a.length?t.add(a):t.add(new Uint8Array([139,14]))}return this.compileIndex(t)}},{key:"compileCharset",value:function(e,t,r,n){var i,o=t-1;
vendor: 7,323 bytes, line 2
2if(n)i=new Uint8Array([2,0,0,o>>8&255,255&o]);else{(i=new Uint8Array(1+2*o))[0]=0;for(var s=0,c=e.charset.length,l=!1,u=1;u<i.length;u+=2){var h=0;if(s<c){var f=e.charset[s++];-1===(h=r.getSID(f))&&(h=0,l||(l=!0,(0,a.warn)("Couldn't find ".concat(f," in CFF strings"))))}i[u]=h>>8&255,i[u+1]=255&h}}return this.compileTypedArray(i)}},{key:"compileEncoding",value:function(e){return this.compileTypedArray(e.raw)}},{key:"compileFDSelect",value:function(e){var t,r,a=e.format;switch(a){case 0:for((t=new Uint8Array(1+e.fdSelect.length))[0]=a,r=0;r<e.fdSelect.length;r++)t[r+1]=e.fdSelect[r];break;case 3:var n=e.fdSelect[0],i=[a,0,0,0,0,n];for(r=1;r<e.fdSelect.length;r++){var o=e.fdSelect[r];o!==n&&(i.push(r>>8&255,255&r,o),n=o)}var s=(i.length-3)/3;i[1]=s>>8&255,i[2]=255&s,i.push(r>>8&255,255&r),t=new Uint8Array(i)}return this.compileTypedArray(t)}},{key:"compileTypedArray",value:function(e){for(var t=[],r=0,a=e.length;r<a;++r)t[r]=e[r];return t}},{key:"compileIndex",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=e.objects,a=r.length;if(0===a)return[0,0];var n,i,o=[a>>8&255,255&a],s=1;for(n=0;n<a;++n)s+=r[n].length;i=s<256?1:s<65536?2:s<16777216?3:4,o.push(i);var c=1;for(n=0;n<a+1;n++)1===i?o.push(255&c):2===i?o.push(c>>8&255,255&c):3===i?o.push(c>>16&255,c>>8&255,255&c):o.push(c>>>24&255,c>>16&255,c>>8&255,255&c),r[n]&&(c+=r[n].length);for(n=0;n<a;n++){t[n]&&t[n].offset(o.length);for(var l=0,u=r[n].length;l<u;l++)o.push(r[n][l])}return o}}],[{key:"EncodeFloatRegExp",get:function(){return(0,a.shadow)(this,"EncodeFloatRegExp",/\.(\d*?)(?:9{5,20}|0{5,20})\d{0,2}(?:e(.+)|$)/)}}])}();t.CFFCompiler=P},function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.ISOAdobeCharset=t.ExpertSubsetCharset=t.ExpertCharset=void 0,t.ISOAdobeCharset=[".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"],t.ExpertCharset=[".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"],t.ExpertSubsetCharset=[".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"]}
2,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.ZapfDingbatsEncoding=t.WinAnsiEncoding=t.SymbolSetEncoding=t.StandardEncoding=t.MacRomanEncoding=t.ExpertEncoding=void 0,t.getEncoding=function(e){switch(e){case"WinAnsiEncoding":return o;case"StandardEncoding":return i;case"MacRomanEncoding":return n;case"SymbolSetEncoding":return s;case"ZapfDingbatsEncoding":return c;case"ExpertEncoding":return r;case"MacExpertEncoding":return a;default:return null}};var r=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","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"];t.ExpertEncoding=r;var a=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","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","","one
2superior","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","","","",""],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"];t.MacRomanEncoding=n;var i=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","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","","","",""];t.StandardEncoding=i;var o=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","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","periodce
2ntered","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"];t.WinAnsiEncoding=o;var s=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","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",""];t.SymbolSetEncoding=s;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",""];t.ZapfDingbatsEncoding=c}
2,function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.SEAC_ANALYSIS_ENABLED=t.MacStandardGlyphOrdering=t.FontFlags=void 0,t.getFontType=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];switch(e){case"Type1":return r?a.FontType.TYPE1STANDARD:"Type1C"===t?a.FontType.TYPE1C:a.FontType.TYPE1;case"CIDFontType0":return"CIDFontType0C"===t?a.FontType.CIDFONTTYPE0C:a.FontType.CIDFONTTYPE0;case"OpenType":return a.FontType.OPENTYPE;case"TrueType":return a.FontType.TRUETYPE;case"CIDFontType2":return a.FontType.CIDFONTTYPE2;case"MMType1":return a.FontType.MMTYPE1;case"Type0":return a.FontType.TYPE0;default:return a.FontType.UNKNOWN}},t.normalizeFontName=function(e){return e.replace(/[,_]/g,"-").replace(/\s/g,"")},t.recoverGlyphName=c,t.type1FontGlyphMapping=function(e,t,r){var a,o,l,u=Object.create(null),h=!!(e.flags&s.Symbolic);if(e.isInternalFont)for(l=t,o=0;o<l.length;o++)a=r.indexOf(l[o]),u[o]=a>=0?a:0;else if(e.baseEncodingName)for(l=(0,n.getEncoding)(e.baseEncodingName),o=0;o<l.length;o++)a=r.indexOf(l[o]),u[o]=a>=0?a:0;else if(h)for(o in t)u[o]=t[o];else for(l=n.StandardEncoding,o=0;o<l.length;o++)a=r.indexOf(l[o]),u[o]=a>=0?a:0;var f,d=e.differences;if(d)for(o in d){var g=d[o];if(-1===(a=r.indexOf(g))){f||(f=(0,i.getGlyphsUnicode)());var p=c(g,f);p!==g&&(a=r.indexOf(p))}u[o]=a>=0?a:0}return u};var a=r(2),n=r(37),i=r(39),o=r(40);t.SEAC_ANALYSIS_ENABLED=!0;var s={FixedPitch:1,Serif:2,Symbolic:4,Script:8,Nonsymbolic:32,Italic:64,AllCap:65536,SmallCap:131072,ForceBold:262144};function c(e,t){if(void 0!==t[e])return e;var r=(0,o.getUnicodeForGlyph)(e,t);if(-1!==r)for(var n in t)if(t[n]===r)return n;return(0,a.info)("Unable to recover a standard glyph name for: "+e),e}t.FontFlags=s,t.MacStandardGlyphOrdering=[".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(e,t,r){r.r(t),r.d(t,{getDingbatsGlyphsUnicode:function(){return i},getGlyphsUnicode:function(){return n}});var a=r(6),n=(0,a
vendor: 85,286 bytes, line 2
2.getArrayLookupTableFactory)((function(){return["A",65,"AE",198,"AEacute",508,"AEmacron",482,"AEsmall",63462,"Aacute",193,"Aacutesmall",63457,"Abreve",258,"Abreveacute",7854,"Abrevecyrillic",1232,"Abrevedotbelow",7862,"Abrevegrave",7856,"Abrevehookabove",7858,"Abrevetilde",7860,"Acaron",461,"Acircle",9398,"Acircumflex",194,"Acircumflexacute",7844,"Acircumflexdotbelow",7852,"Acircumflexgrave",7846,"Acircumflexhookabove",7848,"Acircumflexsmall",63458,"Acircumflextilde",7850,"Acute",63177,"Acutesmall",63412,"Acyrillic",1040,"Adblgrave",512,"Adieresis",196,"Adieresiscyrillic",1234,"Adieresismacron",478,"Adieresissmall",63460,"Adotbelow",7840,"Adotmacron",480,"Agrave",192,"Agravesmall",63456,"Ahookabove",7842,"Aiecyrillic",1236,"Ainvertedbreve",514,"Alpha",913,"Alphatonos",902,"Amacron",256,"Amonospace",65313,"Aogonek",260,"Aring",197,"Aringacute",506,"Aringbelow",7680,"Aringsmall",63461,"Asmall",63329,"Atilde",195,"Atildesmall",63459,"Aybarmenian",1329,"B",66,"Bcircle",9399,"Bdotaccent",7682,"Bdotbelow",7684,"Becyrillic",1041,"Benarmenian",1330,"Beta",914,"Bhook",385,"Blinebelow",7686,"Bmonospace",65314,"Brevesmall",63220,"Bsmall",63330,"Btopbar",386,"C",67,"Caarmenian",1342,"Cacute",262,"Caron",63178,"Caronsmall",63221,"Ccaron",268,"Ccedilla",199,"Ccedillaacute",7688,"Ccedillasmall",63463,"Ccircle",9400,"Ccircumflex",264,"Cdot",266,"Cdotaccent",266,"Cedillasmall",63416,"Chaarmenian",1353,"Cheabkhasiancyrillic",1212,"Checyrillic",1063,"Chedescenderabkhasiancyrillic",1214,"Chedescendercyrillic",1206,"Chedieresiscyrillic",1268,"Cheharmenian",1347,"Chekhakassiancyrillic",1227,"Cheverticalstrokecyrillic",1208,"Chi",935,"Chook",391,"Circumflexsmall",63222,"Cmonospace",65315,"Coarmenian",1361,"Csmall",63331,"D",68,"DZ",497,"DZcaron",452,"Daarmenian",1332,"Dafrican",393,"Dcaron",270,"Dcedilla",7696,"Dcircle",9401,"Dcircumflexbelow",7698,"Dcroat",272,"Ddotaccent",7690,"Ddotbelow",7692,"Decyrillic",1044,"Deicoptic",1006,"Delta",8710,"Deltagreek",916,"Dhook",394,"Dieresis",63179,"DieresisAcute",63180,"DieresisGrave",63181,"Dieresissmall",63400,"Digammagreek",988,"Djecyrillic",1026,"Dlinebelow",7694,"Dmonospace",65316,"Dotaccentsmall",63223,"Dslash",272,"Dsmall",63332,"Dtopbar",395,"Dz",498,"Dzcaron",453,"Dzeabkhasiancyrillic",1248,"Dzecyrillic",1029,"Dzhecyrillic",1039,"E",69,"Eacute",201,"Eacutesmall",63465,"Ebreve",276,"Ecaron",282,"Ecedillabreve",7708,"Echarmenian",1333,"Ecircle",9402,"Ecircumflex",202,"Ecircumflexacute",7870,"Ecircumflexbelow",7704,"Ecircumflexdotbelow",7878,"Ecircumflexgrave",7872,"Ecircumflexhookabove",7874,"Ecircumflexsmall",63466,"Ecircumflextilde",7876,"Ecyrillic",1028,"Edblgrave",516,"Edieresis",203,"Edieresissmall",63467,"Edot",278,"Edotaccent",278,"Edotbelow",7864,"Efcyrillic",1060,"Egrave",200,"Egravesmall",63464,"Eharmenian",1335,"Ehookabove",7866,"Eightroman",8551,"Einvertedbreve",518,"Eiotifiedcyrillic",1124,"Elcyrillic",1051,"Elevenroman",8554,"Emacron",274,"Emacronacute",7702,"Emacrongrave",7700,"Emcyrillic",1052,"Emonospace",65317,"Encyrillic",1053,"Endescendercyrillic",1186,"Eng",330,"Enghecyrillic",1188,"Enhookcyrillic",1223,"Eogonek",280,"Eopen",400,"Epsilon",917,"Epsilontonos",904,"Ercyrillic",1056,"Ereversed",398,"Ereversedcyrillic",1069,"Escyrillic",1057,"Esdescendercyrillic",1194,"Esh",425,"Esmall",63333,"Eta",919,"Etarmenian",1336,"Etatonos",905,"Eth",208,"Ethsmall",63472,"Etilde",7868,"Etildebelow",7706,"Euro",8364,"Ezh",439,"Ezhcaron",494,"Ezhreversed",440,"F",70,"Fcircle",9403,"Fdotaccent",7710,"Feharmenian",1366,"Feicoptic",996,"Fhook",401,"Fitacyrillic",1138,"Fiveroman",8548,"Fmonospace",65318,"Fourroman",8547,"Fsmall",63334,"G",71,"GBsquare",13191,"Gacute",500,"Gamma",915,"Gammaafrican",404,"Gangiacoptic",1002,"Gbreve",286,"Gcaron",486,"Gcedilla",290,"Gcircle",9404,"Gcircumflex",284,"Gcommaaccent",290,"Gdot",288,"Gdotaccent",288,"Gecyrillic",1043,"Ghadarmenian",1346,"Ghemiddlehookcyrillic",1172,"Ghestrokecyrillic",1170,"Gheupturncyrillic",1168,"Ghook",403,"Gimarmenian",1331,"Gjecyrillic",1027,"Gmacron",7712,"Gmonospace",65319,"Grave",63182,"Gravesmall",63328,"Gsmall",63335,"Gsmallhook",667,"Gstroke",484,"H",72,"H18533",9679,"H18543",9642,"H18551",9643,"H22073",9633,"HPsquare",13259,"Haabkhasiancyrillic",1192,"Hadescendercyrillic",1202,"Hardsigncyrillic",1066,"Hbar",294,"Hbrevebelow",7722,"Hcedilla",7720,"Hcircle",9405,"Hcircumflex",292,"Hdieresis",7718,"Hdotaccent",7714,"Hdotbelow",7716,"Hmonospace",65320,"Hoarmenian",1344,"Horicoptic",1e3,"Hsmall",63336,"Hungarumlaut",63183,"Hungarumlautsmall",63224,"Hzsquare",13200,"I",73,"IAcyrillic",1071,"IJ",306,"IUcyrillic",1070,"Iacute",205,"Iacutesmall",63469,"Ibreve",300,"Icaron",463,"Icircle",9406,"Icircumflex",206,"Icircumflexsmall",63470,"Icyrillic",1030,"Idblgrave",520,"Idieresis",207,"Idieresisacute",7726,"Idieresiscyrillic",1252,"Idieresissmall",63471,"Idot",304,"Idotaccent",304,"Idotbelow",7882,"Iebrevecyrillic",1238,"Iecyrillic",1045,"Ifraktur",8465,"Igrave",204,"Igravesmall",63468,"Ihookabove",7880,"Iicyrillic",1048,"Iinvertedbreve",522,"Iishortcyrillic",1049,"Imacron",298,"Imacroncyrillic",1250,"Imonospace",65321,"Iniarmenian",1339,"Iocyrillic",1025,"Iogonek",302,"Iota",921,"Iotaafrican",406,"Iotadieresis",938,"Iotatonos",906,"Ismall",63337,"Istroke",407,"Itilde",296,"Itildebelow",7724,"Izhitsacyrillic",1140,"Izhitsadblgravecyrillic",1142,"J",74,"Jaarmenian",1345,"Jcircle",9407,"Jcircumflex",308,"Jecyrillic",1032,"Jheharmenian",1355,"Jmonospace",65322,"Jsmall",63338,"K",75,"KBsquare",13189,"KKsquare",13261,"Kabashkircyrillic",1184,"Kacute",7728,"Kacyrillic",1050,"Kadescendercyrillic",1178,"Kahookcyrillic",1219,"Kappa",922,"Kastrokecyrillic",1182,"Kaverticalstrokecyrillic",1180,"Kcaron",488,"Kcedilla",310,"Kcircle",9408,"Kcommaaccent",310,"Kdotbelow",7730,"Keharmenian",1364,"Kenarmenian",1343,"Khacyrillic",1061,"Kheicoptic",998,"Khook",408,"Kjecyrillic",1036,"Klinebelow",7732,"Kmonospace",65323,"Koppacyrillic",1152,"Koppagreek",990,"Ksicyrillic",1134,"Ksmall",63339,"L",76,"LJ",455,"LL",63167,"Lacute",313,"Lambda",923,"Lcaron",317,"Lcedilla",315,"Lcircle",9409,"Lcircumflexbelow",7740,"Lcommaaccent",315,"Ldot",319,"Ldotaccent",319,"Ldotbelow",7734,"Ldotbelowmacron",7736,"Liwnarmenian",1340,"Lj",456,"Ljecyrillic",1033,"Llinebelow",7738,"Lmonospace",65324,"Lslash",321,"Lslashsmall",63225,"Lsmall",63340,"M",77,"MBsquare",13190,"Macron",63184,"Macronsmall",63407,"Macute",7742,"Mcircle",9410,"Mdotaccent",7744,"Mdotbelow",7746,"Menarmenian",1348,"Mmonospace",65325,"Msmall",63341,"Mturned",412,"Mu",924,"N",78,"NJ",458,"Nacute",323,"Ncaron",327,"Ncedilla",325,"Ncircle",9411,"Ncircumflexbelow",7754,"Ncommaaccent",325,"Ndotaccent",7748,"Ndotbelow",7750,"Nhookleft",413,"Nineroman",8552,"Nj",459,"Njecyrillic",1034,"Nlinebelow",7752,"Nmonospace",65326,"Nowarmenian",1350,"Nsmall",63342,"Ntilde",209,"Ntildesmall",63473,"Nu",925,"O",79,"OE",338,"OEsmall",63226,"Oacute",211,"Oacutesmall",63475,"Obarredcyrillic",1256,"Obarreddieresiscyrillic",1258,"Obreve",334,"Ocaron",465,"Ocenteredtilde",415,"Ocircle",9412,"Ocircumflex",212,"Ocircumflexacute",7888,"Ocircumflexdotbelow",7896,"Ocircumflexgrave",7890,"Ocircumflexhookabove",7892,"Ocircumflexsmall",63476,"Ocircumflextilde",7894,"Ocyrillic",1054,"Odblacute",336,"Odblgrave",524,"Odieresis",214,"Odieresiscyrillic",1254,"Odieresissmall",63478,"Odotbelow",7884,"Ogoneksmall",63227,"Ograve",210,"Ogravesmall",63474,"Oharmenian",1365,"Ohm",8486,"Ohookabove",7886,"Ohorn",416,"Ohornacute",7898,"Ohorndotbelow",7906,"Ohorngrave",7900,"Ohornhookabove",7902,"Ohorntilde",7904,"Ohungarumlaut",336,"Oi",418,"Oinvertedbreve",526,"Omacron",332,"Omacronacute",7762,"Omacrongrave",7760,"Omega",8486,"Omegacyrillic",1120,"Omegagreek",937,"Omegaroundcyrillic",1146,"Omegatitlocyrillic",1148,"Omegatonos",911,"Omicron",927,"Omicrontonos",908,"Omonospace",65327,"Oneroman",8544,"Oogonek",490,"Oogonekmacron",492,"Oopen",390,"Oslash",216,"Oslashacute",510,"Oslashsmall",63480,"Osmall",63343,"Ostrokeacute",510,"Otcyrillic",1150,"Otilde",213,"Otildeacute",7756,"Otildedieresis",7758,"Otildesmall",63477,"P",80,"Pacute",7764,"Pcircle",9413,"Pdotaccent",7766,"Pecyrillic",1055,"Peharmenian",1354,"Pemiddlehookcyrillic",1190,"Phi",934,"Phook",420,"Pi",928,"Piwrarmenian",1363,"Pmonospace",65328,"Psi",936,"Psicyrillic",1136,"Psmall",63344,"Q",81,"Qcircle",9414,"Qmonospace",65329,"Qsmall",63345,"R",82,"Raarmenian",1356,"Racute",340,"Rcaron",344,"Rcedilla",342,"Rcircle",9415,"Rcommaaccent",342,"Rdblgrave",528,"Rdotaccent",7768,"Rdotbelow",7770,"Rdotbelowmacron",7772,"Reharmenian",1360,"Rfraktur",8476,"Rho",929,"Ringsmall",63228,"Rinvertedbreve",530,"Rlinebelow",7774,"Rmonospace",65330,"Rsmall",63346,"Rsmallinverted",641,"Rsmallinvertedsuperior",694,"S",83,"SF010000",9484,"SF020000",9492,"SF030000",9488,"SF040000",9496,"SF050000",9532,"SF060000",9516,"SF070000",9524,"SF080000",9500,"SF090000",9508,"SF100000",9472,"SF110000",9474,"SF190000",9569,"SF200000",9570,"SF210000",9558,"SF220000",9557,"SF230000",9571,"SF240000",9553,"SF250000",9559,"SF260000",9565,"SF270000",9564,"SF280000",9563,"SF360000",9566,"SF370000",9567,"SF380000",9562,"SF390000",9556,"SF400000",9577,"SF410000",9574,"SF420000",9568,"SF430000",9552,"SF440000",9580,"SF450000",9575,"SF460000",9576,"SF470000",9572,"SF480000",9573,"SF490000",9561,"SF500000",9560,"SF510000",9554,"SF520000",9555,"SF530000",9579,"SF540000",9578,"Sacute",346,"Sacutedotaccent",7780,"Sampigreek",992,"Scaron",352,"Scarondotaccent",7782,"Scaronsmall",63229,"Scedilla",350,"Schwa",399,"Schwacyrillic",1240,"Schwadieresiscyrillic",1242,"Scircle",9416,"Scircumflex",348,"Scommaaccent",536,"Sdotaccent",7776,"Sdotbelow",7778,"Sdotbelowdotaccent",7784,"Seharmenian",1357,"Sevenroman",8550,"Shaarmenian",1351,"Shacyrillic",1064,"Shchacyrillic",1065,"Sheicoptic",994,"Shhacyrillic",1210,"Shimacoptic",1004,"Sigma",931,"Sixroman",8549,"Smonospace",65331,"Softsigncyrillic",1068,"Ssmall",63347,"Stigmagreek",986,"T",84,"Tau",932,"Tbar",358,"Tcaron",356,"Tcedilla",354,"Tcircle",9417,"Tcircumflexbelow",7792,"Tcommaaccent",354,"Tdotaccent",7786,"Tdotbelow",7788,"Tecyrillic",1058,"Tedescendercyrillic",1196,"Tenroman",8553,"Tetsecyrillic",1204,"Theta",920,"Thook",428,"Thorn",222,"Thornsmall",63486,"Threeroman",8546,"Tildesmall",63230,"Tiwnarmenian",1359,"Tlinebelow",7790,"Tmonospace",65332,"Toarmenian",1337,"Tonefive",444,"Tonesix",388,"Tonetwo",423,"Tretroflexhook",430,"Tsecyrillic",1062,"Tshecyrillic",1035,"Tsmall",63348,"Twelveroman",8555,"Tworoman",8545,"U",85,"Uacute",218,"Uacutesmall",63482,"Ubreve",364,"Ucaron",467,"Ucircle",9418,"Ucircumflex",219,"Ucircumflexbelow",7798,"Ucircumflexsmall",63483,"Ucyrillic",1059,"Udblacute",368,"Udblgrave",532,"Udieresis",220,"Udieresisacute",471,"Udieresisbelow",7794,"Udieresiscaron",473,"Udieresiscyrillic",1264,"Udieresisgrave",475,"Udieresismacron",469,"Udieresissmall",63484,"Udotbelow",7908,"Ugrave",217,"Ugravesmall",63481,"Uhookabove",7910,"Uhorn",431,"Uhornacute",7912,"Uhorndotbelow",7920,"Uhorngrave",7914,"Uhornhookabove",7916,"Uhorntilde",7918,"Uhungarumlaut",368,"Uhungarumlautcyrillic",1266,"Uinvertedbreve",534,"Ukcyrillic",1144,"Umacron",362,"Umacroncyrillic",1262,"Umacrondieresis",7802,"Umonospace",65333,"Uogonek",370,"Upsilon",933,"Upsilon1",978,"Upsilonacutehooksymbolgreek",979,"Upsilonafrican",433,"Upsilondieresis",939,"Upsilondieresishooksymbolgreek",980,"Upsilonhooksymbol",978,"Upsilontonos",910,"Uring",366,"Ushortcyrillic",1038,"Usmall",63349,"Ustraightcyrillic",1198,"Ustraightstrokecyrillic",1200,"Utilde",360,"Utildeacute",7800,"Utildebelow",7796,"V",86,"Vcircle",9419,"Vdotbelow",7806,"Vecyrillic",1042,"Vewarmenian",1358,"Vhook",434,"Vmonospace",65334,"Voarmenian",1352,"Vsmall",63350,"Vtilde",7804,"W",87,"Wacute",7810,"Wcircle",9420,"Wcircumflex",372,"Wdieresis",7812,"Wdotaccent",7814,"Wdotbelow",7816,"Wgrave",7808,"Wmonospace",65335,"Wsmall",63351,"X",88,"Xcircle",9421,"Xdieresis",7820,"Xdotaccent",7818,"Xeharmenian",1341,"Xi",926,"Xmonospace",65336,"Xsmall",63352,"Y",89,"Yacute",221,"Yacutesmall",63485,"Yatcyrillic",1122,"Ycircle",9422,"Ycircumflex",374,"Ydieresis",376,"Ydieresissmall",63487,"Ydotaccent",7822,"Ydotbelow",7924,"Yericyrillic",1067,"Yerudieresiscyrillic",1272,"Ygrave",7922,"Yhook",435,"Yhookabove",7926,"Yiarmenian",1349,"Yicyrillic",1031,"Yiwnarmenian",1362,"Ymonospace",65337,"Ysmall",63353,"Ytilde",7928,"Yusbigcyrillic",1130,"Yusbigiotifiedcyrillic",1132,"Yuslittlecyrillic",1126,"Yuslittleiotifiedcyrillic",1128,"Z",90,"Zaarmenian",1334,"Zacute",377,"Zcaron",381,"Zcaronsmall",63231,"Zcircle",9423,"Zcircumflex",7824,"Zdot",379,"Zdotaccent",379,"Zdotbelow",7826,"Zecyrillic",1047,"Zedescendercyrillic",1176,"Zedieresiscyrillic",1246,"Zeta",918,"Zhearmenian",1338,"Zhebrevecyrillic",1217,"Zhecyrillic",1046,"Zhedescendercyrillic",1174,"Zhedieresiscyrillic",1244,"Zlinebelow",7828,"Zmonospace",65338,"Zsmall",63354,"Zstroke",437,"a",97,"aabengali",2438,"aacute",225,"aadeva",2310,"aagujarati",2694,"aagurmukhi",2566,"aamatragurmukhi",2622,"aarusquare",13059,"aavowelsignbengali",2494,"aavowelsigndeva",2366,"aavowelsigngujarati",2750,"abbreviationmarkarmenian",1375,"abbreviationsigndeva",2416,"abengali",2437,"abopomofo",12570,"abreve",259,"abreveacute",7855,"abrevecyrillic",1233,"abrevedotbelow",7863,"abrevegrave",7857,"abrevehookabove",7859,"abrevetilde",7861,"acaron",462,"acircle",9424,"acircumflex",226,"acircumflexacute",7845,"acircumflexdotbelow",7853,"acircumflexgrave",7847,"acircumflexhookabove",7849,"acircumflextilde",7851,"acute",180,"acutebelowcmb",791,"acutecmb",769,"acutecomb",769,"acutedeva",2388,"acutelowmod",719,"acutetonecmb",833,"acyrillic",1072,"adblgrave",513,"addakgurmukhi",2673,"adeva",2309,"adieresis",228,"adieresiscyrillic",1235,"adieresismacron",479,"adotbelow",7841,"adotmacron",481,"ae",230,"aeacute",509,"aekorean",12624,"aemacron",483,"afii00208",8213,"afii08941",8356,"afii10017",1040,"afii10018",1041,"afii10019",1042,"afii10020",1043,"afii10021",1044,"afii10022",1045,"afii10023",1025,"afii10024",1046,"afii10025",1047,"afii10026",1048,"afii10027",1049,"afii10028",1050,"afii10029",1051,"afii10030",1052,"afii10031",1053,"afii10032",1054,"afii10033",1055,"afii10034",1056,"afii10035",1057,"afii10036",1058,"afii10037",1059,"afii10038",1060,"afii10039",1061,"afii10040",1062,"afii10041",1063,"afii10042",1064,"afii10043",1065,"afii10044",1066,"afii10045",1067,"afii10046",1068,"afii10047",1069,"afii10048",1070,"afii10049",1071,"afii10050",1168,"afii10051",1026,"afii10052",1027,"afii10053",1028,"afii10054",1029,"afii10055",1030,"afii10056",1031,"afii10057",1032,"afii10058",1033,"afii10059",1034,"afii10060",1035,"afii10061",1036,"afii10062",1038,"afii10063",63172,"afii10064",63173,"afii10065",1072,"afii10066",1073,"afii10067",1074,"afii10068",1075,"afii10069",1076,"afii10070",1077,"afii10071",1105,"afii10072",1078,"afii10073",1079,"afii10074",1080,"afii10075",1081,"afii10076",1082,"afii10077",1083,"afii10078",1084,"afii10079",1085,"afii10080",1086,"afii10081",1087,"afii10082",1088,"afii10083",1089,"afii10084",1090,"afii10085",1091,"afii10086",1092,"afii10087",1093,"afii10088",1094,"afii10089",1095,"afii10090",1096,"afii10091",1097,"afii10092",1098,"afii10093",1099,"afii10094",1100,"afii10095",1101,"afii10096",1102,"afii10097",1103,"afii10098",1169,"afii10099",1106,"afii10100",1107,"afii10101",1108,"afii10102",1109,"afii10103",1110,"afii10104",1111,"afii10105",1112,"afii10106",1113,"afii10107",1114,"afii10108",1115,"afii10109",1116,"afii10110",1118,"afii10145",1039,"afii10146",1122,"afii10147",1138,"afii10148",1140,"afii10192",63174,"afii10193",1119,"afii10194",1123,"afii10195",1139,"afii10196",1141,"afii10831",63175,"afii10832",63176,"afii10846",1241,"afii299",8206,"afii300",8207,"afii301",8205,"afii57381",1642,"afii57388",1548,"afii57392",1632,"afii57393",1633,"afii57394",1634,"afii57395",1635,"afii57396",1636,"afii57397",1637,"afii57398",1638,"afii57399",1639,"afii57400",1640,"afii57401",1641,"afii57403",1563,"afii57407",1567,"afii57409",1569,"afii57410",1570,"afii57411",1571,"afii57412",1572,"afii57413",1573,"afii57414",1574,"afii57415",1575,"afii57416",1576,"afii57417",1577,"afii57418",1578,"afii57419",1579,"afii57420",1580,"afii57421",1581,"afii57422",1582,"afii57423",1583,"afii57424",1584,"afii57425",1585,"afii57426",1586,"afii57427",1587,"afii57428",1588,"afii57429",1589,"afii57430",1590,"afii57431",1591,"afii57432",1592,"afii57433",1593,"afii57434",1594,"afii57440",1600,"afii57441",1601,"afii57442",1602,"afii57443",1603,"afii57444",1604,"afii57445",1605,"afii57446",1606,"afii57448",1608,"afii57449",1609,"afii57450",1610,"afii57451",1611,"afii57452",1612,"afii57453",1613,"afii57454",1614,"afii57455",1615,"afii57456",1616,"afii57457",1617,"afii57458",1618,"afii57470",1607,"afii57505",1700,"afii57506",1662,"afii57507",1670,"afii57508",1688,"afii57509",1711,"afii57511",1657,"afii57512",1672,"afii57513",1681,"afii57514",1722,"afii57519",1746,"afii57534",1749,"afii57636",8362,"afii57645",1470,"afii57658",1475,"afii57664",1488,"afii57665",1489,"afii57666",1490,"afii57667",1491,"afii57668",1492,"afii57669",1493,"afii57670",1494,"afii57671",1495,"afii57672",1496,"afii57673",1497,"afii57674",1498,"afii57675",1499,"afii57676",1500,"afii57677",1501,"afii57678",1502,"afii57679",1503,"afii57680",1504,"afii57681",1505,"afii57682",1506,"afii57683",1507,"afii57684",1508,"afii57685",1509,"afii57686",1510,"afii57687",1511,"afii57688",1512,"afii57689",1513,"afii57690",1514,"afii57694",64298,"afii57695",64299,"afii57700",64331,"afii57705",64287,"afii57716",1520,"afii57717",1521,"afii57718",1522,"afii57723",64309,"afii57793",1460,"afii57794",1461,"afii57795",1462,"afii57796",1467,"afii57797",1464,"afii57798",1463,"afii57799",1456,"afii57800",1458,"afii57801",1457,"afii57802",1459,"afii57803",1474,"afii57804",1473,"afii57806",1465,"afii57807",1468,"afii57839",1469,"afii57841",1471,"afii57842",1472,"afii57929",700,"afii61248",8453,"afii61289",8467,"afii61352",8470,"afii61573",8236,"afii61574",8237,"afii61575",8238,"afii61664",8204,"afii63167",1645,"afii64937",701,"agrave",224,"agujarati",2693,"agurmukhi",2565,"ahiragana",12354,"ahookabove",7843,"aibengali",2448,"aibopomofo",12574,"aideva",2320,"aiecyrillic",1237,"aigujarati",2704,"aigurmukhi",2576,"aimatragurmukhi",2632,"ainarabic",1593,"ainfinalarabic",65226,"aininitialarabic",65227,"ainmedialarabic",65228,"ainvertedbreve",515,"aivowelsignbengali",2504,"aivowelsigndeva",2376,"aivowelsigngujarati",2760,"akatakana",12450,"akatakanahalfwidth",65393,"akorean",12623,"alef",1488,"alefarabic",1575,"alefdageshhebrew",64304,"aleffinalarabic",65166,"alefhamzaabovearabic",1571,"alefhamzaabovefinalarabic",65156,"alefhamzabelowarabic",1573,"alefhamzabelowfinalarabic",65160,"alefhebrew",1488,"aleflamedhebrew",64335,"alefmaddaabovearabic",1570,"alefmaddaabovefinalarabic",65154,"alefmaksuraarabic",1609,"alefmaksurafinalarabic",65264,"alefmaksurainitialarabic",65267,"alefmaksuramedialarabic",65268,"alefpatahhebrew",64302,"alefqamatshebrew",64303,"aleph",8501,"allequal",8780,"alpha",945,"alphatonos",940,"amacron",257,"amonospace",65345,"ampersand",38,"ampersandmonospace",65286,"ampersandsmall",63270,"amsquare",13250,"anbopomofo",12578,"angbopomofo",12580,"angbracketleft",12296,"angbracketright",12297,"angkhankhuthai",3674,"angle",8736,"anglebracketleft",12296,"anglebracketleftvertical",65087,"anglebracketright",12297,"anglebracketrightvertical",65088,"angleleft",9001,"angleright",9002,"angstrom",8491,"anoteleia",903,"anudattadeva",2386,"anusvarabengali",2434,"anusvaradeva",2306,"anusvaragujarati",2690,"aogonek",261,"apaatosquare",13056,"aparen",9372,"apostrophearmenian",1370,"apostrophemod",700,"apple",63743,"approaches",8784,"approxequal",8776,"approxequalorimage",8786,"approximatelyequal",8773,"araeaekorean",12686,"araeakorean",12685,"arc",8978,"arighthalfring",7834,"aring",229,"aringacute",507,"aringbelow",7681,"arrowboth",8596,"arrowdashdown",8675,"arrowdashleft",8672,"arrowdashright",8674,"arrowdashup",8673,"arrowdblboth",8660,"arrowdbldown",8659,"arrowdblleft",8656,"arrowdblright",8658,"arrowdblup",8657,"arrowdown",8595,"arrowdownleft",8601,"arrowdownright",8600,"arrowdownwhite",8681,"arrowheaddownmod",709,"arrowheadleftmod",706,"arrowheadrightmod",707,"arrowheadupmod",708,"arrowhorizex",63719,"arrowleft",8592,"arrowleftdbl",8656,"arrowleftdblstroke",8653,"arrowleftoverright",8646,"arrowleftwhite",8678,"arrowright",8594,"arrowrightdblstroke",8655,"arrowrightheavy",10142,"arrowrightoverleft",8644,"arrowrightwhite",8680,"arrowtableft",8676,"arrowtabright",8677,"arrowup",8593,"arrowupdn",8597,"arrowupdnbse",8616,"arrowupdownbase",8616,"arrowupleft",8598,"arrowupleftofdown",8645,"arrowupright",8599,"arrowupwhite",8679,"arrowvertex",63718,"asciicircum",94,"asciicircummonospace",65342,"asciitilde",126,"asciitildemonospace",65374,"ascript",593,"ascriptturned",594,"asmallhiragana",12353,"asmallkatakana",12449,"asmallkatakanahalfwidth",65383,"asterisk",42,"asteriskaltonearabic",1645,"asteriskarabic",1645,"asteriskmath",8727,"asteriskmonospace",65290,"asterisksmall",65121,"asterism",8258,"asuperior",63209,"asymptoticallyequal",8771,"at",64,"atilde",227,"atmonospace",65312,"atsmall",65131,"aturned",592,"aubengali",2452,"aubopomofo",12576,"audeva",2324,"augujarati",2708,"augurmukhi",2580,"aulengthmarkbengali",2519,"aumatragurmukhi",2636,"auvowelsignbengali",2508,"auvowelsigndeva",2380,"auvowelsigngujarati",2764,"avagrahadeva",2365,"aybarmenian",1377,"ayin",1506,"ayinaltonehebrew",64288,"ayinhebrew",1506,"b",98,"babengali",2476,"backslash",92,"backslashmonospace",65340,"badeva",2348,"bagujarati",2732,"bagurmukhi",2604,"bahiragana",12400,"bahtthai",3647,"bakatakana",12496,"bar",124,"barmonospace",65372,"bbopomofo",12549,"bcircle",9425,"bdotaccent",7683,"bdotbelow",7685,"beamedsixteenthnotes",9836,"because",8757,"becyrillic",1073,"beharabic",1576,"behfinalarabic",65168,"behinitialarabic",65169,"behiragana",12409,"behmedialarabic",65170,"behmeeminitialarabic",64671,"behmeemisolatedarabic",64520,"behnoonfinalarabic",64621,"bekatakana",12505,"benarmenian",1378,"bet",1489,"beta",946,"betasymbolgreek",976,"betdagesh",64305,"betdageshhebrew",64305,"bethebrew",1489,"betrafehebrew",64332,"bhabengali",2477,"bhadeva",2349,"bhagujarati",2733,"bhagurmukhi",2605,"bhook",595,"bihiragana",12403,"bikatakana",12499,"bilabialclick",664,"bindigurmukhi",2562,"birusquare",13105,"blackcircle",9679,"blackdiamond",9670,"blackdownpointingtriangle",9660,"blackleftpointingpointer",9668,"blackleftpointingtriangle",9664,"blacklenticularbracketleft",12304,"blacklenticularbracketleftvertical",65083,"blacklenticularbracketright",12305,"blacklenticularbracketrightvertical",65084,"blacklowerlefttriangle",9699,"blacklowerrighttriangle",9698,"blackrectangle",9644,"blackrightpointingpointer",9658,"blackrightpointingtriangle",9654,"blacksmallsquare",9642,"blacksmilingface",9787,"blacksquare",9632,"blackstar",9733,"blackupperlefttriangle",9700,"blackupperrighttriangle",9701,"blackuppointingsmalltriangle",9652,"blackuppointingtriangle",9650,"blank",9251,"blinebelow",7687,"block",9608,"bmonospace",65346,"bobaimaithai",3610,"bohiragana",12412,"bokatakana",12508,"bparen",9373,"bqsquare",13251,"braceex",63732,"braceleft",123,"braceleftbt",63731,"braceleftmid",63730,"braceleftmonospace",65371,"braceleftsmall",65115,"bracelefttp",63729,"braceleftvertical",65079,"braceright",125,"bracerightbt",63742,"bracerightmid",63741,"bracerightmonospace",65373,"bracerightsmall",65116,"bracerighttp",63740,"bracerightvertical",65080,"bracketleft",91,"bracketleftbt",63728,"bracketleftex",63727,"bracketleftmonospace",65339,"bracketlefttp",63726,"bracketright",93,"bracketrightbt",63739,"bracketrightex",63738,"bracketrightmonospace",65341,"bracketrighttp",63737,"breve",728,"brevebelowcmb",814,"brevecmb",774,"breveinvertedbelowcmb",815,"breveinvertedcmb",785,"breveinverteddoublecmb",865,"bridgebelowcmb",810,"bridgeinvertedbelowcmb",826,"brokenbar",166,"bstroke",384,"bsuperior",63210,"btopbar",387,"buhiragana",12406,"bukatakana",12502,"bullet",8226,"bulletinverse",9688,"bulletoperator",8729,"bullseye",9678,"c",99,"caarmenian",1390,"cabengali",2458,"cacute",263,"cadeva",2330,"cagujarati",2714,"cagurmukhi",2586,"calsquare",13192,"candrabindubengali",2433,"candrabinducmb",784,"candrabindudeva",2305,"candrabindugujarati",2689,"capslock",8682,"careof",8453,"caron",711,"caronbelowcmb",812,"caroncmb",780,"carriagereturn",8629,"cbopomofo",12568,"ccaron",269,"ccedilla",231,"ccedillaacute",7689,"ccircle",9426,"ccircumflex",265,"ccurl",597,"cdot",267,"cdotaccent",267,"cdsquare",13253,"cedilla",184,"cedillacmb",807,"cent",162,"centigrade",8451,"centinferior",63199,"centmonospace",65504,"centoldstyle",63394,"centsuperior",63200,"chaarmenian",1401,"chabengali",2459,"chadeva",2331,"chagujarati",2715,"chagurmukhi",2587,"chbopomofo",12564,"cheabkhasiancyrillic",1213,"checkmark",10003,"checyrillic",1095,"chedescenderabkhasiancyrillic",1215,"chedescendercyrillic",1207,"chedieresiscyrillic",1269,"cheharmenian",1395,"chekhakassiancyrillic",1228,"cheverticalstrokecyrillic",1209,"chi",967,"chieuchacirclekorean",12919,"chieuchaparenkorean",12823,"chieuchcirclekorean",12905,"chieuchkorean",12618,"chieuchparenkorean",12809,"chochangthai",3594,"chochanthai",3592,"chochingthai",3593,"chochoethai",3596,"chook",392,"cieucacirclekorean",12918,"cieucaparenkorean",12822,"cieuccirclekorean",12904,"cieuckorean",12616,"cieucparenkorean",12808,"cieucuparenkorean",12828,"circle",9675,"circlecopyrt",169,"circlemultiply",8855,"circleot",8857,"circleplus",8853,"circlepostalmark",12342,"circlewithlefthalfblack",9680,"circlewithrighthalfblack",9681,"circumflex",710,"circumflexbelowcmb",813,"circumflexcmb",770,"clear",8999,"clickalveolar",450,"clickdental",448,"clicklateral",449,"clickretroflex",451,"club",9827,"clubsuitblack",9827,"clubsuitwhite",9831,"cmcubedsquare",13220,"cmonospace",65347,"cmsquaredsquare",13216,"coarmenian",1409,"colon",58,"colonmonetary",8353,"colonmonospace",65306,"colonsign",8353,"colonsmall",65109,"colontriangularhalfmod",721,"colontriangularmod",720,"comma",44,"commaabovecmb",787,"commaaboverightcmb",789,"commaaccent",63171,"commaarabic",1548,"commaarmenian",1373,"commainferior",63201,"commamonospace",65292,"commareversedabovecmb",788,"commareversedmod",701,"commasmall",65104,"commasuperior",63202,"commaturnedabovecmb",786,"commaturnedmod",699,"compass",9788,"congruent",8773,"contourintegral",8750,"control",8963,"controlACK",6,"controlBEL",7,"controlBS",8,"controlCAN",24,"controlCR",13,"controlDC1",17,"controlDC2",18,"controlDC3",19,"controlDC4",20,"controlDEL",127,"controlDLE",16,"controlEM",25,"controlENQ",5,"controlEOT",4,"controlESC",27,"controlETB",23,"controlETX",3,"controlFF",12,"controlFS",28,"controlGS",29,"controlHT",9,"controlLF",10,"controlNAK",21,"controlNULL",0,"controlRS",30,"controlSI",15,"controlSO",14,"controlSOT",2,"controlSTX",1,"controlSUB",26,"controlSYN",22,"controlUS",31,"controlVT",11,"copyright",169,"copyrightsans",63721,"copyrightserif",63193,"cornerbracketleft",12300,"cornerbracketlefthalfwidth",65378,"cornerbracketleftvertical",65089,"cornerbracketright",12301,"cornerbracketrighthalfwidth",65379,"cornerbracketrightvertical",65090,"corporationsquare",13183,"cosquare",13255,"coverkgsquare",13254,"cparen",9374,"cruzeiro",8354,"cstretched",663,"curlyand",8911,"curlyor",8910,"currency",164,"cyrBreve",63185,"cyrFlex",63186,"cyrbreve",63188,"cyrflex",63189,"d",100,"daarmenian",1380,"dabengali",2470,"dadarabic",1590,"dadeva",2342,"dadfinalarabic",65214,"dadinitialarabic",65215,"dadmedialarabic",65216,"dagesh",1468,"dageshhebrew",1468,"dagger",8224,"daggerdbl",8225,"dagujarati",2726,"dagurmukhi",2598,"dahiragana",12384,"dakatakana",12480,"dalarabic",1583,"dalet",1491,"daletdagesh",64307,"daletdageshhebrew",64307,"dalethebrew",1491,"dalfinalarabic",65194,"dammaarabic",1615,"dammalowarabic",1615,"dammatanaltonearabic",1612,"dammatanarabic",1612,"danda",2404,"dargahebrew",1447,"dargalefthebrew",1447,"dasiapneumatacyrilliccmb",1157,"dblGrave",63187,"dblanglebracketleft",12298,"dblanglebracketleftvertical",65085,"dblanglebracketright",12299,"dblanglebracketrightvertical",65086,"dblarchinvertedbelowcmb",811,"dblarrowleft",8660,"dblarrowright",8658,"dbldanda",2405,"dblgrave",63190,"dblgravecmb",783,"dblintegral",8748,"dbllowline",8215,"dbllowlinecmb",819,"dbloverlinecmb",831,"dblprimemod",698,"dblverticalbar",8214,"dblverticallineabovecmb",782,"dbopomofo",12553,"dbsquare",13256,"dcaron",271,"dcedilla",7697,"dcircle",9427,"dcircumflexbelow",7699,"dcroat",273,"ddabengali",2465,"ddadeva",2337,"ddagujarati",2721,"ddagurmukhi",2593,"ddalarabic",1672,"ddalfinalarabic",64393,"dddhadeva",2396,"ddhabengali",2466,"ddhadeva",2338,"ddhagujarati",2722,"ddhagurmukhi",2594,"ddotaccent",7691,"ddotbelow",7693,"decimalseparatorarabic",1643,"decimalseparatorpersian",1643,"decyrillic",1076,"degree",176,"dehihebrew",1453,"dehiragana",12391,"deicoptic",1007,"dekatakana",12487,"deleteleft",9003,"deleteright",8998,"delta",948,"deltaturned",397,"denominatorminusonenumeratorbengali",2552,"dezh",676,"dhabengali",2471,"dhadeva",2343,"dhagujarati",2727,"dhagurmukhi",2599,"dhook",599,"dialytikatonos",901,"dialytikatonoscmb",836,"diamond",9830,"diamondsuitwhite",9826,"dieresis",168,"dieresisacute",63191,"dieresisbelowcmb",804,"dieresiscmb",776,"dieresisgrave",63192,"dieresistonos",901,"dihiragana",12386,"dikatakana",12482,"dittomark",12291,"divide",247,"divides",8739,"divisionslash",8725,"djecyrillic",1106,"dkshade",9619,"dlinebelow",7695,"dlsquare",13207,"dmacron",273,"dmonospace",65348,"dnblock",9604,"dochadathai",3598,"dodekthai",3604,"dohiragana",12393,"dokatakana",12489,"dollar",36,"dollarinferior",63203,"dollarmonospace",65284,"dollaroldstyle",63268,"dollarsmall",65129,"dollarsuperior",63204,"dong",8363,"dorusquare",13094,"dotaccent",729,"dotaccentcmb",775,"dotbelowcmb",803,"dotbelowcomb",803,"dotkatakana",12539,"dotlessi",305,"dotlessj",63166,"dotlessjstrokehook",644,"dotmath",8901,"dottedcircle",9676,"doubleyodpatah",64287,"doubleyodpatahhebrew",64287,"downtackbelowcmb",798,"downtackmod",725,"dparen",9375,"dsuperior",63211,"dtail",598,"dtopbar",396,"duhiragana",12389,"dukatakana",12485,"dz",499,"dzaltone",675,"dzcaron",454,"dzcurl",677,"dzeabkhasiancyrillic",1249,"dzecyrillic",1109,"dzhecyrillic",1119,"e",101,"eacute",233,"earth",9793,"ebengali",2447,"ebopomofo",12572,"ebreve",277,"ecandradeva",2317,"ecandragujarati",2701,"ecandravowelsigndeva",2373,"ecandravowelsigngujarati",2757,"ecaron",283,"ecedillabreve",7709,"echarmenian",1381,"echyiwnarmenian",1415,"ecircle",9428,"ecircumflex",234,"ecircumflexacute",7871,"ecircumflexbelow",7705,"ecircumflexdotbelow",7879,"ecircumflexgrave",7873,"ecircumflexhookabove",7875,"ecircumflextilde",7877,"ecyrillic",1108,"edblgrave",517,"edeva",2319,"edieresis",235,"edot",279,"edotaccent",279,"edotbelow",7865,"eegurmukhi",2575,"eematragurmukhi",2631,"efcyrillic",1092,"egrave",232,"egujarati",2703,"eharmenian",1383,"ehbopomofo",12573,"ehiragana",12360,"ehookabove",7867,"eibopomofo",12575,"eight",56,"eightarabic",1640,"eightbengali",2542,"eightcircle",9319,"eightcircleinversesansserif",10129,"eightdeva",2414,"eighteencircle",9329,"eighteenparen",9349,"eighteenperiod",9369,"eightgujarati",2798,"eightgurmukhi",2670,"eighthackarabic",1640,"eighthangzhou",12328,"eighthnotebeamed",9835,"eightideographicparen",12839,"eightinferior",8328,"eightmonospace",65304,"eightoldstyle",63288,"eightparen",9339,"eightperiod",9359,"eightpersian",1784,"eightroman",8567,"eightsuperior",8312,"eightthai",3672,"einvertedbreve",519,"eiotifiedcyrillic",1125,"ekatakana",12456,"ekatakanahalfwidth",65396,"ekonkargurmukhi",2676,"ekorean",12628,"elcyrillic",1083,"element",8712,"elevencircle",9322,"elevenparen",9342,"elevenperiod",9362,"elevenroman",8570,"ellipsis",8230,"ellipsisvertical",8942,"emacron",275,"emacronacute",7703,"emacrongrave",7701,"emcyrillic",1084,"emdash",8212,"emdashvertical",65073,"emonospace",65349,"emphasismarkarmenian",1371,"emptyset",8709,"enbopomofo",12579,"encyrillic",1085,"endash",8211,"endashvertical",65074,"endescendercyrillic",1187,"eng",331,"engbopomofo",12581,"enghecyrillic",1189,"enhookcyrillic",1224,"enspace",8194,"eogonek",281,"eokorean",12627,"eopen",603,"eopenclosed",666,"eopenreversed",604,"eopenreversedclosed",606,"eopenreversedhook",605,"eparen",9376,"epsilon",949,"epsilontonos",941,"equal",61,"equalmonospace",65309,"equalsmall",65126,"equalsuperior",8316,"equivalence",8801,"erbopomofo",12582,"ercyrillic",1088,"ereversed",600,"ereversedcyrillic",1101,"escyrillic",1089,"esdescendercyrillic",1195,"esh",643,"eshcurl",646,"eshortdeva",2318,"eshortvowelsigndeva",2374,"eshreversedloop",426,"eshsquatreversed",645,"esmallhiragana",12359,"esmallkatakana",12455,"esmallkatakanahalfwidth",65386,"estimated",8494,"esuperior",63212,"eta",951,"etarmenian",1384,"etatonos",942,"eth",240,"etilde",7869,"etildebelow",7707,"etnahtafoukhhebrew",1425,"etnahtafoukhlefthebrew",1425,"etnahtahebrew",1425,"etnahtalefthebrew",1425,"eturned",477,"eukorean",12641,"euro",8364,"evowelsignbengali",2503,"evowelsigndeva",2375,"evowelsigngujarati",2759,"exclam",33,"exclamarmenian",1372,"exclamdbl",8252,"exclamdown",161,"exclamdownsmall",63393,"exclammonospace",65281,"exclamsmall",63265,"existential",8707,"ezh",658,"ezhcaron",495,"ezhcurl",659,"ezhreversed",441,"ezhtail",442,"f",102,"fadeva",2398,"fagurmukhi",2654,"fahrenheit",8457,"fathaarabic",1614,"fathalowarabic",1614,"fathatanarabic",1611,"fbopomofo",12552,"fcircle",9429,"fdotaccent",7711,"feharabic",1601,"feharmenian",1414,"fehfinalarabic",65234,"fehinitialarabic",65235,"fehmedialarabic",65236,"feicoptic",997,"female",9792,"ff",64256,"f_f",64256,"ffi",64259,"ffl",64260,"fi",64257,"fifteencircle",9326,"fifteenparen",9346,"fifteenperiod",9366,"figuredash",8210,"filledbox",9632,"filledrect",9644,"finalkaf",1498,"finalkafdagesh",64314,"finalkafdageshhebrew",64314,"finalkafhebrew",1498,"finalmem",1501,"finalmemhebrew",1501,"finalnun",1503,"finalnunhebrew",1503,"finalpe",1507,"finalpehebrew",1507,"finaltsadi",1509,"finaltsadihebrew",1509,"firsttonechinese",713,"fisheye",9673,"fitacyrillic",1139,"five",53,"fivearabic",1637,"fivebengali",2539,"fivecircle",9316,"fivecircleinversesansserif",10126,"fivedeva",2411,"fiveeighths",8541,"fivegujarati",2795,"fivegurmukhi",2667,"fivehackarabic",1637,"fivehangzhou",12325,"fiveideographicparen",12836,"fiveinferior",8325,"fivemonospace",65301,"fiveoldstyle",63285,"fiveparen",9336,"fiveperiod",9356,"fivepersian",1781,"fiveroman",8564,"fivesuperior",8309,"fivethai",3669,"fl",64258,"florin",402,"fmonospace",65350,"fmsquare",13209,"fofanthai",3615,"fofathai",3613,"fongmanthai",3663,"forall",8704,"four",52,"fourarabic",1636,"fourbengali",2538,"fourcircle",9315,"fourcircleinversesansserif",10125,"fourdeva",2410,"fourgujarati",2794,"fourgurmukhi",2666,"fourhackarabic",1636,"fourhangzhou",12324,"fourideographicparen",12835,"fourinferior",8324,"fourmonospace",65300,"fournumeratorbengali",2551,"fouroldstyle",63284,"fourparen",9335,"fourperiod",9355,"fourpersian",1780,"fourroman",8563,"foursuperior",8308,"fourteencircle",9325,"fourteenparen",9345,"fourteenperiod",9365,"fourthai",3668,"fourthtonechinese",715,"fparen",9377,"fraction",8260,"franc",8355,"g",103,"gabengali",2455,"gacute",501,"gadeva",2327,"gafarabic",1711,"gaffinalarabic",64403,"gafinitialarabic",64404,"gafmedialarabic",64405,"gagujarati",2711,"gagurmukhi",2583,"gahiragana",12364,"gakatakana",12460,"gamma",947,"gammalatinsmall",611,"gammasuperior",736,"gangiacoptic",1003,"gbopomofo",12557,"gbreve",287,"gcaron",487,"gcedilla",291,"gcircle",9430,"gcircumflex",285,"gcommaaccent",291,"gdot",289,"gdotaccent",289,"gecyrillic",1075,"gehiragana",12370,"gekatakana",12466,"geometricallyequal",8785,"gereshaccenthebrew",1436,"gereshhebrew",1523,"gereshmuqdamhebrew",1437,"germandbls",223,"gershayimaccenthebrew",1438,"gershayimhebrew",1524,"getamark",12307,"ghabengali",2456,"ghadarmenian",1394,"ghadeva",2328,"ghagujarati",2712,"ghagurmukhi",2584,"ghainarabic",1594,"ghainfinalarabic",65230,"ghaininitialarabic",65231,"ghainmedialarabic",65232,"ghemiddlehookcyrillic",1173,"ghestrokecyrillic",1171,"gheupturncyrillic",1169,"ghhadeva",2394,"ghhagurmukhi",2650,"ghook",608,"ghzsquare",13203,"gihiragana",12366,"gikatakana",12462,"gimarmenian",1379,"gimel",1490,"gimeldagesh",64306,"gimeldageshhebrew",64306,"gimelhebrew",1490,"gjecyrillic",1107,"glottalinvertedstroke",446,"glottalstop",660,"glottalstopinverted",662,"glottalstopmod",704,"glottalstopreversed",661,"glottalstopreversedmod",705,"glottalstopreversedsuperior",740,"glottalstopstroke",673,"glottalstopstrokereversed",674,"gmacron",7713,"gmonospace",65351,"gohiragana",12372,"gokatakana",12468,"gparen",9378,"gpasquare",13228,"gradient",8711,"grave",96,"gravebelowcmb",790,"gravecmb",768,"gravecomb",768,"gravedeva",2387,"gravelowmod",718,"gravemonospace",65344,"gravetonecmb",832,"greater",62,"greaterequal",8805,"greaterequalorless",8923,"greatermonospace",65310,"greaterorequivalent",8819,"greaterorless",8823,"greateroverequal",8807,"greatersmall",65125,"gscript",609,"gstroke",485,"guhiragana",12368,"guillemotleft",171,"guillemotright",187,"guilsinglleft",8249,"guilsinglright",8250,"gukatakana",12464,"guramusquare",13080,"gysquare",13257,"h",104,"haabkhasiancyrillic",1193,"haaltonearabic",1729,"habengali",2489,"hadescendercyrillic",1203,"hadeva",2361,"hagujarati",2745,"hagurmukhi",2617,"haharabic",1581,"hahfinalarabic",65186,"hahinitialarabic",65187,"hahiragana",12399,"hahmedialarabic",65188,"haitusquare",13098,"hakatakana",12495,"hakatakanahalfwidth",65418,"halantgurmukhi",2637,"hamzaarabic",1569,"hamzalowarabic",1569,"hangulfiller",12644,"hardsigncyrillic",1098,"harpoonleftbarbup",8636,"harpoonrightbarbup",8640,"hasquare",13258,"hatafpatah",1458,"hatafpatah16",1458,"hatafpatah23",1458,"hatafpatah2f",1458,"hatafpatahhebrew",1458,"hatafpatahnarrowhebrew",1458,"hatafpatahquarterhebrew",1458,"hatafpatahwidehebrew",1458,"hatafqamats",1459,"hatafqamats1b",1459,"hatafqamats28",1459,"hatafqamats34",1459,"hatafqamatshebrew",1459,"hatafqamatsnarrowhebrew",1459,"hatafqamatsquarterhebrew",1459,"hatafqamatswidehebrew",1459,"hatafsegol",1457,"hatafsegol17",1457,"hatafsegol24",1457,"hatafsegol30",1457,"hatafsegolhebrew",1457,"hatafsegolnarrowhebrew",1457,"hatafsegolquarterhebrew",1457,"hatafsegolwidehebrew",1457,"hbar",295,"hbopomofo",12559,"hbrevebelow",7723,"hcedilla",7721,"hcircle",9431,"hcircumflex",293,"hdieresis",7719,"hdotaccent",7715,"hdotbelow",7717,"he",1492,"heart",9829,"heartsuitblack",9829,"heartsuitwhite",9825,"hedagesh",64308,"hedageshhebrew",64308,"hehaltonearabic",1729,"heharabic",1607,"hehebrew",1492,"hehfinalaltonearabic",64423,"hehfinalalttwoarabic",65258,"hehfinalarabic",65258,"hehhamzaabovefinalarabic",64421,"hehhamzaaboveisolatedarabic",64420,"hehinitialaltonearabic",64424,"hehinitialarabic",65259,"hehiragana",12408,"hehmedialaltonearabic",64425,"hehmedialarabic",65260,"heiseierasquare",13179,"hekatakana",12504,"hekatakanahalfwidth",65421,"hekutaarusquare",13110,"henghook",615,"herutusquare",13113,"het",1495,"hethebrew",1495,"hhook",614,"hhooksuperior",689,"hieuhacirclekorean",12923,"hieuhaparenkorean",12827,"hieuhcirclekorean",12909,"hieuhkorean",12622,"hieuhparenkorean",12813,"hihiragana",12402,"hikatakana",12498,"hikatakanahalfwidth",65419,"hiriq",1460,"hiriq14",1460,"hiriq21",1460,"hiriq2d",1460,"hiriqhebrew",1460,"hiriqnarrowhebrew",1460,"hiriqquarterhebrew",1460,"hiriqwidehebrew",1460,"hlinebelow",7830,"hmonospace",65352,"hoarmenian",1392,"hohipthai",3627,"hohiragana",12411,"hokatakana",12507,"hokatakanahalfwidth",65422,"holam",1465,"holam19",1465,"holam26",1465,"holam32",1465,"holamhebrew",1465,"holamnarrowhebrew",1465,"holamquarterhebrew",1465,"holamwidehebrew",1465,"honokhukthai",3630,"hookabovecomb",777,"hookcmb",777,"hookpalatalizedbelowcmb",801,"hookretroflexbelowcmb",802,"hoonsquare",13122,"horicoptic",1001,"horizontalbar",8213,"horncmb",795,"hotsprings",9832,"house",8962,"hparen",9379,"hsuperior",688,"hturned",613,"huhiragana",12405,"huiitosquare",13107,"hukatakana",12501,"hukatakanahalfwidth",65420,"hungarumlaut",733,"hungarumlautcmb",779,"hv",405,"hyphen",45,"hypheninferior",63205,"hyphenmonospace",65293,"hyphensmall",65123,"hyphensuperior",63206,"hyphentwo",8208,"i",105,"iacute",237,"iacyrillic",1103,"ibengali",2439,"ibopomofo",12583,"ibreve",301,"icaron",464,"icircle",9432,"icircumflex",238,"icyrillic",1110,"idblgrave",521,"ideographearthcircle",12943,"ideographfirecircle",12939,"ideographicallianceparen",12863,"ideographiccallparen",12858,"ideographiccentrecircle",12965,"ideographicclose",12294,"ideographiccomma",12289,"ideographiccommaleft",65380,"ideographiccongratulationparen",12855,"ideographiccorrectcircle",12963,"ideographicearthparen",12847,"ideographicenterpriseparen",12861,"ideographicexcellentcircle",12957,"ideographicfestivalparen",12864,"ideographicfinancialcircle",12950,"ideographicfinancialparen",12854,"ideographicfireparen",12843,"ideographichaveparen",12850,"ideographichighcircle",12964,"ideographiciterationmark",12293,"ideographiclaborcircle",12952,"ideographiclaborparen",12856,"ideographicleftcircle",12967,"ideographiclowcircle",12966,"ideographicmedicinecircle",12969,"ideographicmetalparen",12846,"ideographicmoonparen",12842,"ideographicnameparen",12852,"ideographicperiod",12290,"ideographicprintcircle",12958,"ideographicreachparen",12867,"ideographicrepresentparen",12857,"ideographicresourceparen",12862,"ideographicrightcircle",12968,"ideographicsecretcircle",12953,"ideographicselfparen",12866,"ideographicsocietyparen",12851,"ideographicspace",12288,"ideographicspecialparen",12853,"ideographicstockparen",12849,"ideographicstudyparen",12859,"ideographicsunparen",12848,"ideographicsuperviseparen",12860,"ideographicwaterparen",12844,"ideographicwoodparen",12845,"ideographiczero",12295,"ideographmetalcircle",12942,"ideographmooncircle",12938,"ideographnamecircle",12948,"ideographsuncircle",12944,"ideographwatercircle",12940,"ideographwoodcircle",12941,"ideva",2311,"idieresis",239,"idieresisacute",7727,"idieresiscyrillic",1253,"idotbelow",7883,"iebrevecyrillic",1239,"iecyrillic",1077,"ieungacirclekorean",12917,"ieungaparenkorean",12821,"ieungcirclekorean",12903,"ieungkorean",12615,"ieungparenkorean",12807,"igrave",236,"igujarati",2695,"igurmukhi",2567,"ihiragana",12356,"ihookabove",7881,"iibengali",2440,"iicyrillic",1080,"iideva",2312,"iigujarati",2696,"iigurmukhi",2568,"iimatragurmukhi",2624,"iinvertedbreve",523,"iishortcyrillic",1081,"iivowelsignbengali",2496,"iivowelsigndeva",2368,"iivowelsigngujarati",2752,"ij",307,"ikatakana",12452,"ikatakanahalfwidth",65394,"ikorean",12643,"ilde",732,"iluyhebrew",1452,"imacron",299,"imacroncyrillic",1251,"imageorapproximatelyequal",8787,"imatragurmukhi",2623,"imonospace",65353,"increment",8710,"infinity",8734,"iniarmenian",1387,"integral",8747,"integralbottom",8993,"integralbt",8993,"integralex",63733,"integraltop",8992,"integraltp",8992,"intersection",8745,"intisquare",13061,"invbullet",9688,"invcircle",9689,"invsmileface",9787,"iocyrillic",1105,"iogonek",303,"iota",953,"iotadieresis",970,"iotadieresistonos",912,"iotalatin",617,"iotatonos",943,"iparen",9380,"irigurmukhi",2674,"ismallhiragana",12355,"ismallkatakana",12451,"ismallkatakanahalfwidth",65384,"issharbengali",2554,"istroke",616,"isuperior",63213,"iterationhiragana",12445,"iterationkatakana",12541,"itilde",297,"itildebelow",7725,"iubopomofo",12585,"iucyrillic",1102,"ivowelsignbengali",2495,"ivowelsigndeva",2367,"ivowelsigngujarati",2751,"izhitsacyrillic",1141,"izhitsadblgravecyrillic",1143,"j",106,"jaarmenian",1393,"jabengali",2460,"jadeva",2332,"jagujarati",2716,"jagurmukhi",2588,"jbopomofo",12560,"jcaron",496,"jcircle",9433,"jcircumflex",309,"jcrossedtail",669,"jdotlessstroke",607,"jecyrillic",1112,"jeemarabic",1580,"jeemfinalarabic",65182,"jeeminitialarabic",65183,"jeemmedialarabic",65184,"jeharabic",1688,"jehfinalarabic",64395,"jhabengali",2461,"jhadeva",2333,"jhagujarati",2717,"jhagurmukhi",2589,"jheharmenian",1403,"jis",12292,"jmonospace",65354,"jparen",9381,"jsuperior",690,"k",107,"kabashkircyrillic",1185,"kabengali",2453,"kacute",7729,"kacyrillic",1082,"kadescendercyrillic",1179,"kadeva",2325,"kaf",1499,"kafarabic",1603,"kafdagesh",64315,"kafdageshhebrew",64315,"kaffinalarabic",65242,"kafhebrew",1499,"kafinitialarabic",65243,"kafmedialarabic",65244,"kafrafehebrew",64333,"kagujarati",2709,"kagurmukhi",2581,"kahiragana",12363,"kahookcyrillic",1220,"kakatakana",12459,"kakatakanahalfwidth",65398,"kappa",954,"kappasymbolgreek",1008,"kapyeounmieumkorean",12657,"kapyeounphieuphkorean",12676,"kapyeounpieupkorean",12664,"kapyeounssangpieupkorean",12665,"karoriisquare",13069,"kashidaautoarabic",1600,"kashidaautonosidebearingarabic",1600,"kasmallkatakana",12533,"kasquare",13188,"kasraarabic",1616,"kasratanarabic",1613,"kastrokecyrillic",1183,"katahiraprolongmarkhalfwidth",65392,"kaverticalstrokecyrillic",1181,"kbopomofo",12558,"kcalsquare",13193,"kcaron",489,"kcedilla",311,"kcircle",9434,"kcommaaccent",311,"kdotbelow",7731,"keharmenian",1412,"kehiragana",12369,"kekatakana",12465,"kekatakanahalfwidth",65401,"kenarmenian",1391,"kesmallkatakana",12534,"kgreenlandic",312,"khabengali",2454,"khacyrillic",1093,"khadeva",2326,"khagujarati",2710,"khagurmukhi",2582,"khaharabic",1582,"khahfinalarabic",65190,"khahinitialarabic",65191,"khahmedialarabic",65192,"kheicoptic",999,"khhadeva",2393,"khhagurmukhi",2649,"khieukhacirclekorean",12920,"khieukhaparenkorean",12824,"khieukhcirclekorean",12906,"khieukhkorean",12619,"khieukhparenkorean",12810,"khokhaithai",3586,"khokhonthai",3589,"khokhuatthai",3587,"khokhwaithai",3588,"khomutthai",3675,"khook",409,"khorakhangthai",3590,"khzsquare",13201,"kihiragana",12365,"kikatakana",12461,"kikatakanahalfwidth",65399,"kiroguramusquare",13077,"kiromeetorusquare",13078,"kirosquare",13076,"kiyeokacirclekorean",12910,"kiyeokaparenkorean",12814,"kiyeokcirclekorean",12896,"kiyeokkorean",12593,"kiyeokparenkorean",12800,"kiyeoksioskorean",12595,"kjecyrillic",1116,"klinebelow",7733,"klsquare",13208,"kmcubedsquare",13222,"kmonospace",65355,"kmsquaredsquare",13218,"kohiragana",12371,"kohmsquare",13248,"kokaithai",3585,"kokatakana",12467,"kokatakanahalfwidth",65402,"kooposquare",13086,"koppacyrillic",1153,"koreanstandardsymbol",12927,"koroniscmb",835,"kparen",9382,"kpasquare",13226,"ksicyrillic",1135,"ktsquare",13263,"kturned",670,"kuhiragana",12367,"kukatakana",12463,"kukatakanahalfwidth",65400,"kvsquare",13240,"kwsquare",13246,"l",108,"labengali",2482,"lacute",314,"ladeva",2354,"lagujarati",2738,"lagurmukhi",2610,"lakkhangyaothai",3653,"lamaleffinalarabic",65276,"lamalefhamzaabovefinalarabic",65272,"lamalefhamzaaboveisolatedarabic",65271,"lamalefhamzabelowfinalarabic",65274,"lamalefhamzabelowisolatedarabic",65273,"lamalefisolatedarabic",65275,"lamalefmaddaabovefinalarabic",65270,"lamalefmaddaaboveisolatedarabic",65269,"lamarabic",1604,"lambda",955,"lambdastroke",411,"lamed",1500,"lameddagesh",64316,"lameddageshhebrew",64316,"lamedhebrew",1500,"lamfinalarabic",65246,"lamhahinitialarabic",64714,"laminitialarabic",65247,"lamjeeminitialarabic",64713,"lamkhahinitialarabic",64715,"lamlamhehisolatedarabic",65010,"lammedialarabic",65248,"lammeemhahinitialarabic",64904,"lammeeminitialarabic",64716,"largecircle",9711,"lbar",410,"lbelt",620,"lbopomofo",12556,"lcaron",318,"lcedilla",316,"lcircle",9435,"lcircumflexbelow",7741,"lcommaaccent",316,"ldot",320,"ldotaccent",320,"ldotbelow",7735,"ldotbelowmacron",7737,"leftangleabovecmb",794,"lefttackbelowcmb",792,"less",60,"lessequal",8804,"lessequalorgreater",8922,"lessmonospace",65308,"lessorequivalent",8818,"lessorgreater",8822,"lessoverequal",8806,"lesssmall",65124,"lezh",622,"lfblock",9612,"lhookretroflex",621,"lira",8356,"liwnarmenian",1388,"lj",457,"ljecyrillic",1113,"ll",63168,"lladeva",2355,"llagujarati",2739,"llinebelow",7739,"llladeva",2356,"llvocalicbengali",2529,"llvocalicdeva",2401,"llvocalicvowelsignbengali",2531,"llvocalicvowelsigndeva",2403,"lmiddletilde",619,"lmonospace",65356,"lmsquare",13264,"lochulathai",3628,"logicaland",8743,"logicalnot",172,"logicalnotreversed",8976,"logicalor",8744,"lolingthai",3621,"longs",383,"lowlinecenterline",65102,"lowlinecmb",818,"lowlinedashed",65101,"lozenge",9674,"lparen",9383,"lslash",322,"lsquare",8467,"lsuperior",63214,"ltshade",9617,"luthai",3622,"lvocalicbengali",2444,"lvocalicdeva",2316,"lvocalicvowelsignbengali",2530,"lvocalicvowelsigndeva",2402,"lxsquare",13267,"m",109,"mabengali",2478,"macron",175,"macronbelowcmb",817,"macroncmb",772,"macronlowmod",717,"macronmonospace",65507,"macute",7743,"madeva",2350,"magujarati",2734,"magurmukhi",2606,"mahapakhhebrew",1444,"mahapakhlefthebrew",1444,"mahiragana",12414,"maichattawalowleftthai",63637,"maichattawalowrightthai",63636,"maichattawathai",3659,"maichattawaupperleftthai",63635,"maieklowleftthai",63628,"maieklowrightthai",63627,"maiekthai",3656,"maiekupperleftthai",63626,"maihanakatleftthai",63620,"maihanakatthai",3633,"maitaikhuleftthai",63625,"maitaikhuthai",3655,"maitholowleftthai",63631,"maitholowrightthai",63630,"maithothai",3657,"maithoupperleftthai",63629,"maitrilowleftthai",63634,"maitrilowrightthai",63633,"maitrithai",3658,"maitriupperleftthai",63632,"maiyamokthai",3654,"makatakana",12510,"makatakanahalfwidth",65423,"male",9794,"mansyonsquare",13127,"maqafhebrew",1470,"mars",9794,"masoracirclehebrew",1455,"masquare",13187,"mbopomofo",12551,"mbsquare",13268,"mcircle",9436,"mcubedsquare",13221,"mdotaccent",7745,"mdotbelow",7747,"meemarabic",1605,"meemfinalarabic",65250,"meeminitialarabic",65251,"meemmedialarabic",65252,"meemmeeminitialarabic",64721,"meemmeemisolatedarabic",64584,"meetorusquare",13133,"mehiragana",12417,"meizierasquare",13182,"mekatakana",12513,"mekatakanahalfwidth",65426,"mem",1502,"memdagesh",64318,"memdageshhebrew",64318,"memhebrew",1502,"menarmenian",1396,"merkhahebrew",1445,"merkhakefulahebrew",1446,"merkhakefulalefthebrew",1446,"merkhalefthebrew",1445,"mhook",625,"mhzsquare",13202,"middledotkatakanahalfwidth",65381,"middot",183,"mieumacirclekorean",12914,"mieumaparenkorean",12818,"mieumcirclekorean",12900,"mieumkorean",12609,"mieumpansioskorean",12656,"mieumparenkorean",12804,"mieumpieupkorean",12654,"mieumsioskorean",12655,"mihiragana",12415,"mikatakana",12511,"mikatakanahalfwidth",65424,"minus",8722,"minusbelowcmb",800,"minuscircle",8854,"minusmod",727,"minusplus",8723,"minute",8242,"miribaarusquare",13130,"mirisquare",13129,"mlonglegturned",624,"mlsquare",13206,"mmcubedsquare",13219,"mmonospace",65357,"mmsquaredsquare",13215,"mohiragana",12418,"mohmsquare",13249,"mokatakana",12514,"mokatakanahalfwidth",65427,"molsquare",13270,"momathai",3617,"moverssquare",13223,"moverssquaredsquare",13224,"mparen",9384,"mpasquare",13227,"mssquare",13235,"msuperior",63215,"mturned",623,"mu",181,"mu1",181,"muasquare",13186,"muchgreater",8811,"muchless",8810,"mufsquare",13196,"mugreek",956,"mugsquare",13197,"muhiragana",12416,"mukatakana",12512,"mukatakanahalfwidth",65425,"mulsquare",13205,"multiply",215,"mumsquare",13211,"munahhebrew",1443,"munahlefthebrew",1443,"musicalnote",9834,"musicalnotedbl",9835,"musicflatsign",9837,"musicsharpsign",9839,"mussquare",13234,"muvsquare",13238,"muwsquare",13244,"mvmegasquare",13241,"mvsquare",13239,"mwmegasquare",13247,"mwsquare",13245,"n",110,"nabengali",2472,"nabla",8711,"nacute",324,"nadeva",2344,"nagujarati",2728,"nagurmukhi",2600,"nahiragana",12394,"nakatakana",12490,"nakatakanahalfwidth",65413,"napostrophe",329,"nasquare",13185,"nbopomofo",12555,"nbspace",160,"ncaron",328,"ncedilla",326,"ncircle",9437,"ncircumflexbelow",7755,"ncommaaccent",326,"ndotaccent",7749,"ndotbelow",7751,"nehiragana",12397,"nekatakana",12493,"nekatakanahalfwidth",65416,"newsheqelsign",8362,"nfsquare",13195,"ngabengali",2457,"ngadeva",2329,"ngagujarati",2713,"ngagurmukhi",2585,"ngonguthai",3591,"nhiragana",12435,"nhookleft",626,"nhookretroflex",627,"nieunacirclekorean",12911,"nieunaparenkorean",12815,"nieuncieuckorean",12597,"nieuncirclekorean",12897,"nieunhieuhkorean",12598,"nieunkorean",12596,"nieunpansioskorean",12648,"nieunparenkorean",12801,"nieunsioskorean",12647,"nieuntikeutkorean",12646,"nihiragana",12395,"nikatakana",12491,"nikatakanahalfwidth",65414,"nikhahitleftthai",63641,"nikhahitthai",3661,"nine",57,"ninearabic",1641,"ninebengali",2543,"ninecircle",9320,"ninecircleinversesansserif",10130,"ninedeva",2415,"ninegujarati",2799,"ninegurmukhi",2671,"ninehackarabic",1641,"ninehangzhou",12329,"nineideographicparen",12840,"nineinferior",8329,"ninemonospace",65305,"nineoldstyle",63289,"nineparen",9340,"nineperiod",9360,"ninepersian",1785,"nineroman",8568,"ninesuperior",8313,"nineteencircle",9330,"nineteenparen",9350,"nineteenperiod",9370,"ninethai",3673,"nj",460,"njecyrillic",1114,"nkatakana",12531,"nkatakanahalfwidth",65437,"nlegrightlong",414,"nlinebelow",7753,"nmonospace",65358,"nmsquare",13210,"nnabengali",2467,"nnadeva",2339,"nnagujarati",2723,"nnagurmukhi",2595,"nnnadeva",2345,"nohiragana",12398,"nokatakana",12494,"nokatakanahalfwidth",65417,"nonbreakingspace",160,"nonenthai",3603,"nonuthai",3609,"noonarabic",1606,"noonfinalarabic",65254,"noonghunnaarabic",1722,"noonghunnafinalarabic",64415,"nooninitialarabic",65255,"noonjeeminitialarabic",64722,"noonjeemisolatedarabic",64587,"noonmedialarabic",65256,"noonmeeminitialarabic",64725,"noonmeemisolatedarabic",64590,"noonnoonfinalarabic",64653,"notcontains",8716,"notelement",8713,"notelementof",8713,"notequal",8800,"notgreater",8815,"notgreaternorequal",8817,"notgreaternorless",8825,"notidentical",8802,"notless",8814,"notlessnorequal",8816,"notparallel",8742,"notprecedes",8832,"notsubset",8836,"notsucceeds",8833,"notsuperset",8837,"nowarmenian",1398,"nparen",9385,"nssquare",13233,"nsuperior",8319,"ntilde",241,"nu",957,"nuhiragana",12396,"nukatakana",12492,"nukatakanahalfwidth",65415,"nuktabengali",2492,"nuktadeva",2364,"nuktagujarati",2748,"nuktagurmukhi",2620,"numbersign",35,"numbersignmonospace",65283,"numbersignsmall",65119,"numeralsigngreek",884,"numeralsignlowergreek",885,"numero",8470,"nun",1504,"nundagesh",64320,"nundageshhebrew",64320,"nunhebrew",1504,"nvsquare",13237,"nwsquare",13243,"nyabengali",2462,"nyadeva",2334,"nyagujarati",2718,"nyagurmukhi",2590,"o",111,"oacute",243,"oangthai",3629,"obarred",629,"obarredcyrillic",1257,"obarreddieresiscyrillic",1259,"obengali",2451,"obopomofo",12571,"obreve",335,"ocandradeva",2321,"ocandragujarati",2705,"ocandravowelsigndeva",2377,"ocandravowelsigngujarati",2761,"ocaron",466,"ocircle",9438,"ocircumflex",244,"ocircumflexacute",7889,"ocircumflexdotbelow",7897,"ocircumflexgrave",7891,"ocircumflexhookabove",7893,"ocircumflextilde",7895,"ocyrillic",1086,"odblacute",337,"odblgrave",525,"odeva",2323,"odieresis",246,"odieresiscyrillic",1255,"odotbelow",7885,"oe",339,"oekorean",12634,"ogonek",731,"ogonekcmb",808,"ograve",242,"ogujarati",2707,"oharmenian",1413,"ohiragana",12362,"ohookabove",7887,"ohorn",417,"ohornacute",7899,"ohorndotbelow",7907,"ohorngrave",7901,"ohornhookabove",7903,"ohorntilde",7905,"ohungarumlaut",337,"oi",419,"oinvertedbreve",527,"okatakana",12458,"okatakanahalfwidth",65397,"okorean",12631,"olehebrew",1451,"omacron",333,"omacronacute",7763,"omacrongrave",7761,"omdeva",2384,"omega",969,"omega1",982,"omegacyrillic",1121,"omegalatinclosed",631,"omegaroundcyrillic",1147,"omegatitlocyrillic",1149,"omegatonos",974,"omgujarati",2768,"omicron",959,"omicrontonos",972,"omonospace",65359,"one",49,"onearabic",1633,"onebengali",2535,"onecircle",9312,"onecircleinversesansserif",10122,"onedeva",2407,"onedotenleader",8228,"oneeighth",8539,"onefitted",63196,"onegujarati",2791,"onegurmukhi",2663,"onehackarabic",1633,"onehalf",189,"onehangzhou",12321,"oneideographicparen",12832,"oneinferior",8321,"onemonospace",65297,"onenumeratorbengali",2548,"oneoldstyle",63281,"oneparen",9332,"oneperiod",9352,"onepersian",1777,"onequarter",188,"oneroman",8560,"onesuperior",185,"onethai",3665,"onethird",8531,"oogonek",491,"oogonekmacron",493,"oogurmukhi",2579,"oomatragurmukhi",2635,"oopen",596,"oparen",9386,"openbullet",9702,"option",8997,"ordfeminine",170,"ordmasculine",186,"orthogonal",8735,"oshortdeva",2322,"oshortvowelsigndeva",2378,"oslash",248,"oslashacute",511,"osmallhiragana",12361,"osmallkatakana",12457,"osmallkatakanahalfwidth",65387,"ostrokeacute",511,"osuperior",63216,"otcyrillic",1151,"otilde",245,"otildeacute",7757,"otildedieresis",7759,"oubopomofo",12577,"overline",8254,"overlinecenterline",65098,"overlinecmb",773,"overlinedashed",65097,"overlinedblwavy",65100,"overlinewavy",65099,"overscore",175,"ovowelsignbengali",2507,"ovowelsigndeva",2379,"ovowelsigngujarati",2763,"p",112,"paampssquare",13184,"paasentosquare",13099,"pabengali",2474,"pacute",7765,"padeva",2346,"pagedown",8671,"pageup",8670,"pagujarati",2730,"pagurmukhi",2602,"pahiragana",12401,"paiyannoithai",3631,"pakatakana",12497,"palatalizationcyrilliccmb",1156,"palochkacyrillic",1216,"pansioskorean",12671,"paragraph",182,"parallel",8741,"parenleft",40,"parenleftaltonearabic",64830,"parenleftbt",63725,"parenleftex",63724,"parenleftinferior",8333,"parenleftmonospace",65288,"parenleftsmall",65113,"parenleftsuperior",8317,"parenlefttp",63723,"parenleftvertical",65077,"parenright",41,"parenrightaltonearabic",64831,"parenrightbt",63736,"parenrightex",63735,"parenrightinferior",8334,"parenrightmonospace",65289,"parenrightsmall",65114,"parenrightsuperior",8318,"parenrighttp",63734,"parenrightvertical",65078,"partialdiff",8706,"paseqhebrew",1472,"pashtahebrew",1433,"pasquare",13225,"patah",1463,"patah11",1463,"patah1d",1463,"patah2a",1463,"patahhebrew",1463,"patahnarrowhebrew",1463,"patahquarterhebrew",1463,"patahwidehebrew",1463,"pazerhebrew",1441,"pbopomofo",12550,"pcircle",9439,"pdotaccent",7767,"pe",1508,"pecyrillic",1087,"pedagesh",64324,"pedageshhebrew",64324,"peezisquare",13115,"pefinaldageshhebrew",64323,"peharabic",1662,"peharmenian",1402,"pehebrew",1508,"pehfinalarabic",64343,"pehinitialarabic",64344,"pehiragana",12410,"pehmedialarabic",64345,"pekatakana",12506,"pemiddlehookcyrillic",1191,"perafehebrew",64334,"percent",37,"percentarabic",1642,"percentmonospace",65285,"percentsmall",65130,"period",46,"periodarmenian",1417,"periodcentered",183,"periodhalfwidth",65377,"periodinferior",63207,"periodmonospace",65294,"periodsmall",65106,"periodsuperior",63208,"perispomenigreekcmb",834,"perpendicular",8869,"perthousand",8240,"peseta",8359,"pfsquare",13194,"phabengali",2475,"phadeva",2347,"phagujarati",2731,"phagurmukhi",2603,"phi",966,"phi1",981,"phieuphacirclekorean",12922,"phieuphaparenkorean",12826,"phieuphcirclekorean",12908,"phieuphkorean",12621,"phieuphparenkorean",12812,"philatin",632,"phinthuthai",3642,"phisymbolgreek",981,"phook",421,"phophanthai",3614,"phophungthai",3612,"phosamphaothai",3616,"pi",960,"pieupacirclekorean",12915,"pieupaparenkorean",12819,"pieupcieuckorean",12662,"pieupcirclekorean",12901,"pieupkiyeokkorean",12658,"pieupkorean",12610,"pieupparenkorean",12805,"pieupsioskiyeokkorean",12660,"pieupsioskorean",12612,"pieupsiostikeutkorean",12661,"pieupthieuthkorean",12663,"pieuptikeutkorean",12659,"pihiragana",12404,"pikatakana",12500,"pisymbolgreek",982,"piwrarmenian",1411,"plus",43,"plusbelowcmb",799,"pluscircle",8853,"plusminus",177,"plusmod",726,"plusmonospace",65291,"plussmall",65122,"plussuperior",8314,"pmonospace",65360,"pmsquare",13272,"pohiragana",12413,"pointingindexdownwhite",9759,"pointingindexleftwhite",9756,"pointingindexrightwhite",9758,"pointingindexupwhite",9757,"pokatakana",12509,"poplathai",3611,"postalmark",12306,"postalmarkface",12320,"pparen",9387,"precedes",8826,"prescription",8478,"primemod",697,"primereversed",8245,"product",8719,"projective",8965,"prolongedkana",12540,"propellor",8984,"propersubset",8834,"propersuperset",8835,"proportion",8759,"proportional",8733,"psi",968,"psicyrillic",1137,"psilipneumatacyrilliccmb",1158,"pssquare",13232,"puhiragana",12407,"pukatakana",12503,"pvsquare",13236,"pwsquare",13242,"q",113,"qadeva",2392,"qadmahebrew",1448,"qafarabic",1602,"qaffinalarabic",65238,"qafinitialarabic",65239,"qafmedialarabic",65240,"qamats",1464,"qamats10",1464,"qamats1a",1464,"qamats1c",1464,"qamats27",1464,"qamats29",1464,"qamats33",1464,"qamatsde",1464,"qamatshebrew",1464,"qamatsnarrowhebrew",1464,"qamatsqatanhebrew",1464,"qamatsqatannarrowhebrew",1464,"qamatsqatanquarterhebrew",1464,"qamatsqatanwidehebrew",1464,"qamatsquarterhebrew",1464,"qamatswidehebrew",1464,"qarneyparahebrew",1439,"qbopomofo",12561,"qcircle",9440,"qhook",672,"qmonospace",65361,"qof",1511,"qofdagesh",64327,"qofdageshhebrew",64327,"qofhebrew",1511,"qparen",9388,"quarternote",9833,"qubuts",1467,"qubuts18",1467,"qubuts25",1467,"qubuts31",1467,"qubutshebrew",1467,"qubutsnarrowhebrew",1467,"qubutsquarterhebrew",1467,"qubutswidehebrew",1467,"question",63,"questionarabic",1567,"questionarmenian",1374,"questiondown",191,"questiondownsmall",63423,"questiongreek",894,"questionmonospace",65311,"questionsmall",63295,"quotedbl",34,"quotedblbase",8222,"quotedblleft",8220,"quotedblmonospace",65282,"quotedblprime",12318,"quotedblprimereversed",12317,"quotedblright",8221,"quoteleft",8216,"quoteleftreversed",8219,"quotereversed",8219,"quoteright",8217,"quoterightn",329,"quotesinglbase",8218,"quotesingle",39,"quotesinglemonospace",65287,"r",114,"raarmenian",1404,"rabengali",2480,"racute",341,"radeva",2352,"radical",8730,"radicalex",63717,"radoverssquare",13230,"radoverssquaredsquare",13231,"radsquare",13229,"rafe",1471,"rafehebrew",1471,"ragujarati",2736,"ragurmukhi",2608,"rahiragana",12425,"rakatakana",12521,"rakatakanahalfwidth",65431,"ralowerdiagonalbengali",2545,"ramiddlediagonalbengali",2544,"ramshorn",612,"ratio",8758,"rbopomofo",12566,"rcaron",345,"rcedilla",343,"rcircle",9441,"rcommaaccent",343,"rdblgrave",529,"rdotaccent",7769,"rdotbelow",7771,"rdotbelowmacron",7773,"referencemark",8251,"reflexsubset",8838,"reflexsuperset",8839,"registered",174,"registersans",63720,"registerserif",63194,"reharabic",1585,"reharmenian",1408,"rehfinalarabic",65198,"rehiragana",12428,"rekatakana",12524,"rekatakanahalfwidth",65434,"resh",1512,"reshdageshhebrew",64328,"reshhebrew",1512,"reversedtilde",8765,"reviahebrew",1431,"reviamugrashhebrew",1431,"revlogicalnot",8976,"rfishhook",638,"rfishhookreversed",639,"rhabengali",2525,"rhadeva",2397,"rho",961,"rhook",637,"rhookturned",635,"rhookturnedsuperior",693,"rhosymbolgreek",1009,"rhotichookmod",734,"rieulacirclekorean",12913,"rieulaparenkorean",12817,"rieulcirclekorean",12899,"rieulhieuhkorean",12608,"rieulkiyeokkorean",12602,"rieulkiyeoksioskorean",12649,"rieulkorean",12601,"rieulmieumkorean",12603,"rieulpansioskorean",12652,"rieulparenkorean",12803,"rieulphieuphkorean",12607,"rieulpieupkorean",12604,"rieulpieupsioskorean",12651,"rieulsioskorean",12605,"rieulthieuthkorean",12606,"rieultikeutkorean",12650,"rieulyeorinhieuhkorean",12653,"rightangle",8735,"righttackbelowcmb",793,"righttriangle",8895,"rihiragana",12426,"rikatakana",12522,"rikatakanahalfwidth",65432,"ring",730,"ringbelowcmb",805,"ringcmb",778,"ringhalfleft",703,"ringhalfleftarmenian",1369,"ringhalfleftbelowcmb",796,"ringhalfleftcentered",723,"ringhalfright",702,"ringhalfrightbelowcmb",825,"ringhalfrightcentered",722,"rinvertedbreve",531,"rittorusquare",13137,"rlinebelow",7775,"rlongleg",636,"rlonglegturned",634,"rmonospace",65362,"rohiragana",12429,"rokatakana",12525,"rokatakanahalfwidth",65435,"roruathai",3619,"rparen",9389,"rrabengali",2524,"rradeva",2353,"rragurmukhi",2652,"rreharabic",1681,"rrehfinalarabic",64397,"rrvocalicbengali",2528,"rrvocalicdeva",2400,"rrvocalicgujarati",2784,"rrvocalicvowelsignbengali",2500,"rrvocalicvowelsigndeva",2372,"rrvocalicvowelsigngujarati",2756,"rsuperior",63217,"rtblock",9616,"rturned",633,"rturnedsuperior",692,"ruhiragana",12427,"rukatakana",12523,"rukatakanahalfwidth",65433,"rupeemarkbengali",2546,"rupeesignbengali",2547,"rupiah",63197,"ruthai",3620,"rvocalicbengali",2443,"rvocalicdeva",2315,"rvocalicgujarati",2699,"rvocalicvowelsignbengali",2499,"rvocalicvowelsigndeva",2371,"rvocalicvowelsigngujarati",2755,"s",115,"sabengali",2488,"sacute",347,"sacutedotaccent",7781,"sadarabic",1589,"sadeva",2360,"sadfinalarabic",65210,"sadinitialarabic",65211,"sadmedialarabic",65212,"sagujarati",2744,"sagurmukhi",2616,"sahiragana",12373,"sakatakana",12469,"sakatakanahalfwidth",65403,"sallallahoualayhewasallamarabic",65018,"samekh",1505,"samekhdagesh",64321,"samekhdageshhebrew",64321,"samekhhebrew",1505,"saraaathai",3634,"saraaethai",3649,"saraaimaimalaithai",3652,"saraaimaimuanthai",3651,"saraamthai",3635,"saraathai",3632,"saraethai",3648,"saraiileftthai",63622,"saraiithai",3637,"saraileftthai",63621,"saraithai",3636,"saraothai",3650,"saraueeleftthai",63624,"saraueethai",3639,"saraueleftthai",63623,"sarauethai",3638,"sarauthai",3640,"sarauuthai",3641,"sbopomofo",12569,"scaron",353,"scarondotaccent",7783,"scedilla",351,"schwa",601,"schwacyrillic",1241,"schwadieresiscyrillic",1243,"schwahook",602,"scircle",9442,"scircumflex",349,"scommaaccent",537,"sdotaccent",7777,"sdotbelow",7779,"sdotbelowdotaccent",7785,"seagullbelowcmb",828,"second",8243,"secondtonechinese",714,"section",167,"seenarabic",1587,"seenfinalarabic",65202,"seeninitialarabic",65203,"seenmedialarabic",65204,"segol",1462,"segol13",1462,"segol1f",1462,"segol2c",1462,"segolhebrew",1462,"segolnarrowhebrew",1462,"segolquarterhebrew",1462,"segoltahebrew",1426,"segolwidehebrew",1462,"seharmenian",1405,"sehiragana",12379,"sekatakana",12475,"sekatakanahalfwidth",65406,"semicolon",59,"semicolonarabic",1563,"semicolonmonospace",65307,"semicolonsmall",65108,"semivoicedmarkkana",12444,"semivoicedmarkkanahalfwidth",65439,"sentisquare",13090,"sentosquare",13091,"seven",55,"sevenarabic",1639,"sevenbengali",2541,"sevencircle",9318,"sevencircleinversesansserif",10128,"sevendeva",2413,"seveneighths",8542,"sevengujarati",2797,"sevengurmukhi",2669,"sevenhackarabic",1639,"sevenhangzhou",12327,"sevenideographicparen",12838,"seveninferior",8327,"sevenmonospace",65303,"sevenoldstyle",63287,"sevenparen",9338,"sevenperiod",9358,"sevenpersian",1783,"sevenroman",8566,"sevensuperior",8311,"seventeencircle",9328,"seventeenparen",9348,"seventeenperiod",9368,"seventhai",3671,"sfthyphen",173,"shaarmenian",1399,"shabengali",2486,"shacyrillic",1096,"shaddaarabic",1617,"shaddadammaarabic",64609,"shaddadammatanarabic",64606,"shaddafathaarabic",64608,"shaddakasraarabic",64610,"shaddakasratanarabic",64607,"shade",9618,"shadedark",9619,"shadelight",9617,"shademedium",9618,"shadeva",2358,"shagujarati",2742,"shagurmukhi",2614,"shalshelethebrew",1427,"shbopomofo",12565,"shchacyrillic",1097,"sheenarabic",1588,"sheenfinalarabic",65206,"sheeninitialarabic",65207,"sheenmedialarabic",65208,"sheicoptic",995,"sheqel",8362,"sheqelhebrew",8362,"sheva",1456,"sheva115",1456,"sheva15",1456,"sheva22",1456,"sheva2e",1456,"shevahebrew",1456,"shevanarrowhebrew",1456,"shevaquarterhebrew",1456,"shevawidehebrew",1456,"shhacyrillic",1211,"shimacoptic",1005,"shin",1513,"shindagesh",64329,"shindageshhebrew",64329,"shindageshshindot",64300,"shindageshshindothebrew",64300,"shindageshsindot",64301,"shindageshsindothebrew",64301,"shindothebrew",1473,"shinhebrew",1513,"shinshindot",64298,"shinshindothebrew",64298,"shinsindot",64299,"shinsindothebrew",64299,"shook",642,"sigma",963,"sigma1",962,"sigmafinal",962,"sigmalunatesymbolgreek",1010,"sihiragana",12375,"sikatakana",12471,"sikatakanahalfwidth",65404,"siluqhebrew",1469,"siluqlefthebrew",1469,"similar",8764,"sindothebrew",1474,"siosacirclekorean",12916,"siosaparenkorean",12820,"sioscieuckorean",12670,"sioscirclekorean",12902,"sioskiyeokkorean",12666,"sioskorean",12613,"siosnieunkorean",12667,"siosparenkorean",12806,"siospieupkorean",12669,"siostikeutkorean",12668,"six",54,"sixarabic",1638,"sixbengali",2540,"sixcircle",9317,"sixcircleinversesansserif",10127,"sixdeva",2412,"sixgujarati",2796,"sixgurmukhi",2668,"sixhackarabic",1638,"sixhangzhou",12326,"sixideographicparen",12837,"sixinferior",8326,"sixmonospace",65302,"sixoldstyle",63286,"sixparen",9337,"sixperiod",9357,"sixpersian",1782,"sixroman",8565,"sixsuperior",8310,"sixteencircle",9327,"sixteencurrencydenominatorbengali",2553,"sixteenparen",9347,"sixteenperiod",9367,"sixthai",3670,"slash",47,"slashmonospace",65295,"slong",383,"slongdotaccent",7835,"smileface",9786,"smonospace",65363,"sofpasuqhebrew",1475,"softhyphen",173,"softsigncyrillic",1100,"sohiragana",12381,"sokatakana",12477,"sokatakanahalfwidth",65407,"soliduslongoverlaycmb",824,"solidusshortoverlaycmb",823,"sorusithai",3625,"sosalathai",3624,"sosothai",3595,"sosuathai",3626,"space",32,"spacehackarabic",32,"spade",9824,"spadesuitblack",9824,"spadesuitwhite",9828,"sparen",9390,"squarebelowcmb",827,"squarecc",13252,"squarecm",13213,"squarediagonalcrosshatchfill",9641,"squarehorizontalfill",9636,"squarekg",13199,"squarekm",13214,"squarekmcapital",13262,"squareln",13265,"squarelog",13266,"squaremg",13198,"squaremil",13269,"squaremm",13212,"squaremsquared",13217,"squareorthogonalcrosshatchfill",9638,"squareupperlefttolowerrightfill",9639,"squareupperrighttolowerleftfill",9640,"squareverticalfill",9637,"squarewhitewithsmallblack",9635,"srsquare",13275,"ssabengali",2487,"ssadeva",2359,"ssagujarati",2743,"ssangcieuckorean",12617,"ssanghieuhkorean",12677,"ssangieungkorean",12672,"ssangkiyeokkorean",12594,"ssangnieunkorean",12645,"ssangpieupkorean",12611,"ssangsioskorean",12614,"ssangtikeutkorean",12600,"ssuperior",63218,"sterling",163,"sterlingmonospace",65505,"strokelongoverlaycmb",822,"strokeshortoverlaycmb",821,"subset",8834,"subsetnotequal",8842,"subsetorequal",8838,"succeeds",8827,"suchthat",8715,"suhiragana",12377,"sukatakana",12473,"sukatakanahalfwidth",65405,"sukunarabic",1618,"summation",8721,"sun",9788,"superset",8835,"supersetnotequal",8843,"supersetorequal",8839,"svsquare",13276,"syouwaerasquare",13180,"t",116,"tabengali",2468,"tackdown",8868,"tackleft",8867,"tadeva",2340,"tagujarati",2724,"tagurmukhi",2596,"taharabic",1591,"tahfinalarabic",65218,"tahinitialarabic",65219,"tahiragana",12383,"tahmedialarabic",65220,"taisyouerasquare",13181,"takatakana",12479,"takatakanahalfwidth",65408,"tatweelarabic",1600,"tau",964,"tav",1514,"tavdages",64330,"tavdagesh",64330,"tavdageshhebrew",64330,"tavhebrew",1514,"tbar",359,"tbopomofo",12554,"tcaron",357,"tccurl",680,"tcedilla",355,"tcheharabic",1670,"tchehfinalarabic",64379,"tchehinitialarabic",64380,"tchehmedialarabic",64381,"tcircle",9443,"tcircumflexbelow",7793,"tcommaaccent",355,"tdieresis",7831,"tdotaccent",7787,"tdotbelow",7789,"tecyrillic",1090,"tedescendercyrillic",1197,"teharabic",1578,"tehfinalarabic",65174,"tehhahinitialarabic",64674,"tehhahisolatedarabic",64524,"tehinitialarabic",65175,"tehiragana",12390,"tehjeeminitialarabic",64673,"tehjeemisolatedarabic",64523,"tehmarbutaarabic",1577,"tehmarbutafinalarabic",65172,"tehmedialarabic",65176,"tehmeeminitialarabic",64676,"tehmeemisolatedarabic",64526,"tehnoonfinalarabic",64627,"tekatakana",12486,"tekatakanahalfwidth",65411,"telephone",8481,"telephoneblack",9742,"telishagedolahebrew",1440,"telishaqetanahebrew",1449,"tencircle",9321,"tenideographicparen",12841,"tenparen",9341,"tenperiod",9361,"tenroman",8569,"tesh",679,"tet",1496,"tetdagesh",64312,"tetdageshhebrew",64312,"tethebrew",1496,"tetsecyrillic",1205,"tevirhebrew",1435,"tevirlefthebrew",1435,"thabengali",2469,"thadeva",2341,"thagujarati",2725,"thagurmukhi",2597,"thalarabic",1584,"thalfinalarabic",65196,"thanthakhatlowleftthai",63640,"thanthakhatlowrightthai",63639,"thanthakhatthai",3660,"thanthakhatupperleftthai",63638,"theharabic",1579,"thehfinalarabic",65178,"thehinitialarabic",65179,"thehmedialarabic",65180,"thereexists",8707,"therefore",8756,"theta",952,"theta1",977,"thetasymbolgreek",977,"thieuthacirclekorean",12921,"thieuthaparenkorean",12825,"thieuthcirclekorean",12907,"thieuthkorean",12620,"thieuthparenkorean",12811,"thirteencircle",9324,"thirteenparen",9344,"thirteenperiod",9364,"thonangmonthothai",3601,"thook",429,"thophuthaothai",3602,"thorn",254,"thothahanthai",3607,"thothanthai",3600,"thothongthai",3608,"thothungthai",3606,"thousandcyrillic",1154,"thousandsseparatorarabic",1644,"thousandsseparatorpersian",1644,"three",51,"threearabic",1635,"threebengali",2537,"threecircle",9314,"threecircleinversesansserif",10124,"threedeva",2409,"threeeighths",8540,"threegujarati",2793,"threegurmukhi",2665,"threehackarabic",1635,"threehangzhou",12323,"threeideographicparen",12834,"threeinferior",8323,"threemonospace",65299,"threenumeratorbengali",2550,"threeoldstyle",63283,"threeparen",9334,"threeperiod",9354,"threepersian",1779,"threequarters",190,"threequartersemdash",63198,"threeroman",8562,"threesuperior",179,"threethai",3667,"thzsquare",13204,"tihiragana",12385,"tikatakana",12481,"tikatakanahalfwidth",65409,"tikeutacirclekorean",12912,"tikeutaparenkorean",12816,"tikeutcirclekorean",12898,"tikeutkorean",12599,"tikeutparenkorean",12802,"tilde",732,"tildebelowcmb",816,"tildecmb",771,"tildecomb",771,"tildedoublecmb",864,"tildeoperator",8764,"tildeoverlaycmb",820,"tildeverticalcmb",830,"timescircle",8855,"tipehahebrew",1430,"tipehalefthebrew",1430,"tippigurmukhi",2672,"titlocyrilliccmb",1155,"tiwnarmenian",1407,"tlinebelow",7791,"tmonospace",65364,"toarmenian",1385,"tohiragana",12392,"tokatakana",12488,"tokatakanahalfwidth",65412,"tonebarextrahighmod",741,"tonebarextralowmod",745,"tonebarhighmod",742,"tonebarlowmod",744,"tonebarmidmod",743,"tonefive",445,"tonesix",389,"tonetwo",424,"tonos",900,"tonsquare",13095,"topatakthai",3599,"tortoiseshellbracketleft",12308,"tortoiseshellbracketleftsmall",65117,"tortoiseshellbracketleftvertical",65081,"tortoiseshellbracketright",12309,"tortoiseshellbracketrightsmall",65118,"tortoiseshellbracketrightvertical",65082,"totaothai",3605,"tpalatalhook",427,"tparen",9391,"trademark",8482,"trademarksans",63722,"trademarkserif",63195,"tretroflexhook",648,"triagdn",9660,"triaglf",9668,"triagrt",9658,"triagup",9650,"ts",678,"tsadi",1510,"tsadidagesh",64326,"tsadidageshhebrew",64326,"tsadihebrew",1510,"tsecyrillic",1094,"tsere",1461,"tsere12",1461,"tsere1e",1461,"tsere2b",1461,"tserehebrew",1461,"tserenarrowhebrew",1461,"tserequarterhebrew",1461,"tserewidehebrew",1461,"tshecyrillic",1115,"tsuperior",63219,"ttabengali",2463,"ttadeva",2335,"ttagujarati",2719,"ttagurmukhi",2591,"tteharabic",1657,"ttehfinalarabic",64359,"ttehinitialarabic",64360,"ttehmedialarabic",64361,"tthabengali",2464,"tthadeva",2336,"tthagujarati",2720,"tthagurmukhi",2592,"tturned",647,"tuhiragana",12388,"tukatakana",12484,"tukatakanahalfwidth",65410,"tusmallhiragana",12387,"tusmallkatakana",12483,"tusmallkatakanahalfwidth",65391,"twelvecircle",9323,"twelveparen",9343,"twelveperiod",9363,"twelveroman",8571,"twentycircle",9331,"twentyhangzhou",21316,"twentyparen",9351,"twentyperiod",9371,"two",50,"twoarabic",1634,"twobengali",2536,"twocircle",9313,"twocircleinversesansserif",10123,"twodeva",2408,"twodotenleader",8229,"twodotleader",8229,"twodotleadervertical",65072,"twogujarati",2792,"twogurmukhi",2664,"twohackarabic",1634,"twohangzhou",12322,"twoideographicparen",12833,"twoinferior",8322,"twomonospace",65298,"twonumeratorbengali",2549,"twooldstyle",63282,"twoparen",9333,"twoperiod",9353,"twopersian",1778,"tworoman",8561,"twostroke",443,"twosuperior",178,"twothai",3666,"twothirds",8532,"u",117,"uacute",250,"ubar",649,"ubengali",2441,"ubopomofo",12584,"ubreve",365,"ucaron",468,"ucircle",9444,"ucircumflex",251,"ucircumflexbelow",7799,"ucyrillic",1091,"udattadeva",2385,"udblacute",369,"udblgrave",533,"udeva",2313,"udieresis",252,"udieresisacute",472,"udieresisbelow",7795,"udieresiscaron",474,"udieresiscyrillic",1265,"udieresisgrave",476,"udieresismacron",470,"udotbelow",7909,"ugrave",249,"ugujarati",2697,"ugurmukhi",2569,"uhiragana",12358,"uhookabove",7911,"uhorn",432,"uhornacute",7913,"uhorndotbelow",7921,"uhorngrave",7915,"uhornhookabove",7917,"uhorntilde",7919,"uhungarumlaut",369,"uhungarumlautcyrillic",1267,"uinvertedbreve",535,"ukatakana",12454,"ukatakanahalfwidth",65395,"ukcyrillic",1145,"ukorean",12636,"umacron",363,"umacroncyrillic",1263,"umacrondieresis",7803,"umatragurmukhi",2625,"umonospace",65365,"underscore",95,"underscoredbl",8215,"underscoremonospace",65343,"underscorevertical",65075,"underscorewavy",65103,"union",8746,"universal",8704,"uogonek",371,"uparen",9392,"upblock",9600,"upperdothebrew",1476,"upsilon",965,"upsilondieresis",971,"upsilondieresistonos",944,"upsilonlatin",650,"upsilontonos",973,"uptackbelowcmb",797,"uptackmod",724,"uragurmukhi",2675,"uring",367,"ushortcyrillic",1118,"usmallhiragana",12357,"usmallkatakana",12453,"usmallkatakanahalfwidth",65385,"ustraightcyrillic",1199,"ustraightstrokecyrillic",1201,"utilde",361,"utildeacute",7801,"utildebelow",7797,"uubengali",2442,"uudeva",2314,"uugujarati",2698,"uugurmukhi",2570,"uumatragurmukhi",2626,"uuvowelsignbengali",2498,"uuvowelsigndeva",2370,"uuvowelsigngujarati",2754,"uvowelsignbengali",2497,"uvowelsigndeva",2369,"uvowelsigngujarati",2753,"v",118,"vadeva",2357,"vagujarati",2741,"vagurmukhi",2613,"vakatakana",12535,"vav",1493,"vavdagesh",64309,"vavdagesh65",64309,"vavdageshhebrew",64309,"vavhebrew",1493,"vavholam",64331,"vavholamhebrew",64331,"vavvavhebrew",1520,"vavyodhebrew",1521,"vcircle",9445,"vdotbelow",7807,"vecyrillic",1074,"veharabic",1700,"vehfinalarabic",64363,"vehinitialarabic",64364,"vehmedialarabic",64365,"vekatakana",12537,"venus",9792,"verticalbar",124,"verticallineabovecmb",781,"verticallinebelowcmb",809,"verticallinelowmod",716,"verticallinemod",712,"vewarmenian",1406,"vhook",651,"vikatakana",12536,"viramabengali",2509,"viramadeva",2381,"viramagujarati",2765,"visargabengali",2435,"visargadeva",2307,"visargagujarati",2691,"vmonospace",65366,"voarmenian",1400,"voicediterationhiragana",12446,"voicediterationkatakana",12542,"voicedmarkkana",12443,"voicedmarkkanahalfwidth",65438,"vokatakana",12538,"vparen",9393,"vtilde",7805,"vturned",652,"vuhiragana",12436,"vukatakana",12532,"w",119,"wacute",7811,"waekorean",12633,"wahiragana",12431,"wakatakana",12527,"wakatakanahalfwidth",65436,"wakorean",12632,"wasmallhiragana",12430,"wasmallkatakana",12526,"wattosquare",13143,"wavedash",12316,"wavyunderscorevertical",65076,"wawarabic",1608,"wawfinalarabic",65262,"wawhamzaabovearabic",1572,"wawhamzaabovefinalarabic",65158,"wbsquare",13277,"wcircle",9446,"wcircumflex",373,"wdieresis",7813,"wdotaccent",7815,"wdotbelow",7817,"wehiragana",12433,"weierstrass",8472,"wekatakana",12529,"wekorean",12638,"weokorean",12637,"wgrave",7809,"whitebullet",9702,"whitecircle",9675,"whitecircleinverse",9689,"whitecornerbracketleft",12302,"whitecornerbracketleftvertical",65091,"whitecornerbracketright",12303,"whitecornerbracketrightvertical",65092,"whitediamond",9671,"whitediamondcontainingblacksmalldiamond",9672,"whitedownpointingsmalltriangle",9663,"whitedownpointingtriangle",9661,"whiteleftpointingsmalltriangle",9667,"whiteleftpointingtriangle",9665,"whitelenticularbracketleft",12310,"whitelenticularbracketright",12311,"whiterightpointingsmalltriangle",9657,"whiterightpointingtriangle",9655,"whitesmallsquare",9643,"whitesmilingface",9786,"whitesquare",9633,"whitestar",9734,"whitetelephone",9743,"whitetortoiseshellbracketleft",12312,"whitetortoiseshellbracketright",12313,"whiteuppointingsmalltriangle",9653,"whiteuppointingtriangle",9651,"wihiragana",12432,"wikatakana",12528,"wikorean",12639,"wmonospace",65367,"wohiragana",12434,"wokatakana",12530,"wokatakanahalfwidth",65382,"won",8361,"wonmonospace",65510,"wowaenthai",3623,"wparen",9394,"wring",7832,"wsuperior",695,"wturned",653,"wynn",447,"x",120,"xabovecmb",829,"xbopomofo",12562,"xcircle",9447,"xdieresis",7821,"xdotaccent",7819,"xeharmenian",1389,"xi",958,"xmonospace",65368,"xparen",9395,"xsuperior",739,"y",121,"yaadosquare",13134,"yabengali",2479,"yacute",253,"yadeva",2351,"yaekorean",12626,"yagujarati",2735,"yagurmukhi",2607,"yahiragana",12420,"yakatakana",12516,"yakatakanahalfwidth",65428,"yakorean",12625,"yamakkanthai",3662,"yasmallhiragana",12419,"yasmallkatakana",12515,"yasmallkatakanahalfwidth",65388,"yatcyrillic",1123,"ycircle",9448,"ycircumflex",375,"ydieresis",255,"ydotaccent",7823,"ydotbelow",7925,"yeharabic",1610,"yehbarreearabic",1746,"yehbarreefinalarabic",64431,"yehfinalarabic",65266,"yehhamzaabovearabic",1574,"yehhamzaabovefinalarabic",65162,"yehhamzaaboveinitialarabic",65163,"yehhamzaabovemedialarabic",65164,"yehinitialarabic",65267,"yehmedialarabic",65268,"yehmeeminitialarabic",64733,"yehmeemisolatedarabic",64600,"yehnoonfinalarabic",64660,"yehthreedotsbelowarabic",1745,"yekorean",12630,"yen",165,"yenmonospace",65509,"yeokorean",12629,"yeorinhieuhkorean",12678,"yerahbenyomohebrew",1450,"yerahbenyomolefthebrew",1450,"yericyrillic",1099,"yerudieresiscyrillic",1273,"yesieungkorean",12673,"yesieungpansioskorean",12675,"yesieungsioskorean",12674,"yetivhebrew",1434,"ygrave",7923,"yhook",436,"yhookabove",7927,"yiarmenian",1397,"yicyrillic",1111,"yikorean",12642,"yinyang",9775,"yiwnarmenian",1410,"ymonospace",65369,"yod",1497,"yoddagesh",64313,"yoddageshhebrew",64313,"yodhebrew",1497,"yodyodhebrew",1522,"yodyodpatahhebrew",64287,"yohiragana",12424,"yoikorean",12681,"yokatakana",12520,"yokatakanahalfwidth",65430,"yokorean",12635,"yosmallhiragana",12423,"yosmallkatakana",12519,"yosmallkatakanahalfwidth",65390,"yotgreek",1011,"yoyaekorean",12680,"yoyakorean",12679,"yoyakthai",3618,"yoyingthai",3597,"yparen",9396,"ypogegrammeni",890,"ypogegrammenigreekcmb",837,"yr",422,"yring",7833,"ysuperior",696,"ytilde",7929,"yturned",654,"yuhiragana",12422,"yuikorean",12684,"yukatakana",12518,"yukatakanahalfwidth",65429,"yukorean",12640,"yusbigcyrillic",1131,"yusbigiotifiedcyrillic",1133,"yuslittlecyrillic",1127,"yuslittleiotifiedcyrillic",1129,"yusmallhiragana",12421,"yusmallkatakana",12517,"yusmallkatakanahalfwidth",65389,"yuyekorean",12683,"yuyeokorean",12682,"yyabengali",2527,"yyadeva",2399,"z",122,"zaarmenian",1382,"zacute",378,"zadeva",2395,"zagurmukhi",2651,"zaharabic",1592,"zahfinalarabic",65222,"zahinitialarabic",65223,"zahiragana",12374,"zahmedialarabic",65224,"zainarabic",1586,"zainfinalarabic",65200,"zakatakana",12470,"zaqefgadolhebrew",1429,"zaqefqatanhebrew",1428,"zarqahebrew",1432,"zayin",1494,"zayindagesh",64310,"zayindageshhebrew",64310,"zayinhebrew",1494,"zbopomofo",12567,"zcaron",382,"zcircle",9449,"zcircumflex",7825,"zcurl",657,"zdot",380,"zdotaccent",380,"zdotbelow",7827,"zecyrillic",1079,"zedescendercyrillic",1177,"zedieresiscyrillic",1247,"zehiragana",12380,"zekatakana",12476,"zero",48,"zeroarabic",1632,"zerobengali",2534,"zerodeva",2406,"zerogujarati",2790,"zerogurmukhi",2662,"zerohackarabic",1632,"zeroinferior",8320,"zeromonospace",65296,"zerooldstyle",63280,"zeropersian",1776,"zerosuperior",8304,"zerothai",3664,"zerowidthjoiner",65279,"zerowidthnonjoiner",8204,"zerowidthspace",8203,"zeta",950,"zhbopomofo",12563,"zhearmenian",1386,"zhebrevecyrillic",1218,"zhecyrillic",1078,"zhedescendercyrillic",1175,"zhedieresiscyrillic",1245,"zihiragana",12376,"zikatakana",12472,"zinorhebrew",1454,"zlinebelow",7829,"zmonospace",65370,"zohiragana",12382,"zokatakana",12478,"zparen",9397,"zretroflexhook",656,"zstroke",438,"zuhiragana",12378,"zukatakana",12474,".notdef",0,"angbracketleftbig",9001,"angbracketleftBig",9001,"angbracketleftbigg",9001,"angbracketleftBigg",9001,"angbracketrightBig",9002,"angbracketrightbig",9002,"angbracketrightBigg",9002,"angbracketrightbigg",9002,"arrowhookleft",8618,"arrowhookright",8617,"arrowlefttophalf",8636,"arrowleftbothalf",8637,"arrownortheast",8599,"arrownorthwest",8598,"arrowrighttophalf",8640,"arrowrightbothalf",8641,"arrowsoutheast",8600,"arrowsouthwest",8601,"backslashbig",8726,"backslashBig",8726,"backslashBigg",8726,"backslashbigg",8726,"bardbl",8214,"bracehtipdownleft",65079,"bracehtipdownright",65079,"bracehtipupleft",65080,"bracehtipupright",65080,"braceleftBig",123,"braceleftbig",123,"braceleftbigg",123,"braceleftBigg",123,"bracerightBig",125,"bracerightbig",125,"bracerightbigg",125,"bracerightBigg",125,"bracketleftbig",91,"bracketleftBig",91,"bracketleftbigg",91,"bracketleftBigg",91,"bracketrightBig",93,"bracketrightbig",93,"bracketrightbigg",93,"bracketrightBigg",93,"ceilingleftbig",8968,"ceilingleftBig",8968,"ceilingleftBigg",8968,"ceilingleftbigg",8968,"ceilingrightbig",8969,"ceilingrightBig",8969,"ceilingrightbigg",8969,"ceilingrightBigg",8969,"circledotdisplay",8857,"circledottext",8857,"circlemultiplydisplay",8855,"circlemultiplytext",8855,"circleplusdisplay",8853,"circleplustext",8853,"contintegraldisplay",8750,"contintegraltext",8750,"coproductdisplay",8720,"coproducttext",8720,"floorleftBig",8970,"floorleftbig",8970,"floorleftbigg",8970,"floorleftBigg",8970,"floorrightbig",8971,"floorrightBig",8971,"floorrightBigg",8971,"floorrightbigg",8971,"hatwide",770,"hatwider",770,"hatwidest",770,"intercal",7488,"integraldisplay",8747,"integraltext",8747,"intersectiondisplay",8898,"intersectiontext",8898,"logicalanddisplay",8743,"logicalandtext",8743,"logicalordisplay",8744,"logicalortext",8744,"parenleftBig",40,"parenleftbig",40,"parenleftBigg",40,"parenleftbigg",40,"parenrightBig",41,"parenrightbig",41,"parenrightBigg",41,"parenrightbigg",41,"prime",8242,"productdisplay",8719,"producttext",8719,"radicalbig",8730,"radicalBig",8730,"radicalBigg",8730,"radicalbigg",8730,"radicalbt",8730,"radicaltp",8730,"radicalvertex",8730,"slashbig",47,"slashBig",47,"slashBigg",47,"slashbigg",47,"summationdisplay",8721,"summationtext",8721,"tildewide",732,"tildewider",732,"tildewidest",732,"uniondisplay",8899,"unionmultidisplay",8846,"unionmultitext",8846,"unionsqdisplay",8852,"unionsqtext",8852,"uniontext",8899,"vextenddouble",8741,"vextendsingle",8739]})),i=(0,
2a.getArrayLookupTableFactory)((function(){return["space",32,"a1",9985,"a2",9986,"a202",9987,"a3",9988,"a4",9742,"a5",9990,"a119",9991,"a118",9992,"a117",9993,"a11",9755,"a12",9758,"a13",9996,"a14",9997,"a15",9998,"a16",9999,"a105",1e4,"a17",10001,"a18",10002,"a19",10003,"a20",10004,"a21",10005,"a22",10006,"a23",10007,"a24",10008,"a25",10009,"a26",10010,"a27",10011,"a28",10012,"a6",10013,"a7",10014,"a8",10015,"a9",10016,"a10",10017,"a29",10018,"a30",10019,"a31",10020,"a32",10021,"a33",10022,"a34",10023,"a35",9733,"a36",10025,"a37",10026,"a38",10027,"a39",10028,"a40",10029,"a41",10030,"a42",10031,"a43",10032,"a44",10033,"a45",10034,"a46",10035,"a47",10036,"a48",10037,"a49",10038,"a50",10039,"a51",10040,"a52",10041,"a53",10042,"a54",10043,"a55",10044,"a56",10045,"a57",10046,"a58",10047,"a59",10048,"a60",10049,"a61",10050,"a62",10051,"a63",10052,"a64",10053,"a65",10054,"a66",10055,"a67",10056,"a68",10057,"a69",10058,"a70",10059,"a71",9679,"a72",10061,"a73",9632,"a74",10063,"a203",10064,"a75",10065,"a204",10066,"a76",9650,"a77",9660,"a78",9670,"a79",10070,"a81",9687,"a82",10072,"a83",10073,"a84",10074,"a97",10075,"a98",10076,"a99",10077,"a100",10078,"a101",10081,"a102",10082,"a103",10083,"a104",10084,"a106",10085,"a107",10086,"a108",10087,"a112",9827,"a111",9830,"a110",9829,"a109",9824,"a120",9312,"a121",9313,"a122",9314,"a123",9315,"a124",9316,"a125",9317,"a126",9318,"a127",9319,"a128",9320,"a129",9321,"a130",10102,"a131",10103,"a132",10104,"a133",10105,"a134",10106,"a135",10107,"a136",10108,"a137",10109,"a138",10110,"a139",10111,"a140",10112,"a141",10113,"a142",10114,"a143",10115,"a144",10116,"a145",10117,"a146",10118,"a147",10119,"a148",10120,"a149",10121,"a150",10122,"a151",10123,"a152",10124,"a153",10125,"a154",10126,"a155",10127,"a156",10128,"a157",10129,"a158",10130,"a159",10131,"a160",10132,"a161",8594,"a163",8596,"a164",8597,"a196",10136,"a165",10137,"a192",10138,"a166",10139,"a167",10140,"a168",10141,"a169",10142,"a170",10143,"a171",10144,"a172",10145,"a173",10146,"a162",10147,"a174",10148,"a175",10149,"a176",10150,"a177",10151,"a178",10152,"a179",10153,"a193",10154,"a180",10155,"a199",10156,"a181",10157,"a200",10158,"a182",10159,"a201",10161,"a183",10162,"a184",10163,"a197",10164,"a185",10165,"a194",10166,"a198",10167,"a186",10168,"a195",10169,"a187",10170,"a188",10171,"a189",10172,"a190",10173,"a191",10174,"a89",10088,"a90",10089,"a93",10090,"a94",10091,"a91",10092,"a92",10093,"a205",10094,"a85",10095,"a206",10096,"a86",10097,"a87",10098,"a88",10099,"a95",10100,"a96",10101,".notdef",0]}))},function(e,t,r){r.r(t),r.d(t,{clearUnicodeCaches:function(){return g},getCharUnicodeCategory:function(){return d},getNormalizedUnicodes:function(){return l},getUnicodeForGlyph:function(){return o},getUnicodeRangeFor:function(){return c},mapSpecialUnicodeValues:function(){return i},reverseIfRtl:function(){return u}});
2var a=r(6),n=(0,a.getLookupTableFactory)((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 i(e){return e>=65520&&e<=65535?0:e>=62976&&e<=63743?n()[e]||e:173===e?45:e}function o(e,t){var r=t[e];if(void 0!==r)return r;if(!e)return-1;if("u"===e[0]){var a,n=e.length;if(7===n&&"n"===e[1]&&"i"===e[2])a=e.substring(3);else{if(!(n>=5&&n<=7))return-1;a=e.substring(1)}if(a===a.toUpperCase()&&(r=parseInt(a,16))>=0)return r}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 c(e){for(var t=0,r=s.length;t<r;t++){var a=s[t];if(e>=a.begin&&e<a.end)return t}return-1}var l=(0,a.getArrayLookupTableFactory)((function(){return["\xa8"," \u0308","\xaf"," \u0304","\xb4"," \u0301","\xb5","\u03bc","\xb8"," \u0327","\u0132","IJ","\u0133","ij","\u013f","L\xb7","\u0140","l\xb7","\u0149","\u02bcn","\u017f","s","\u01c4","D\u017d","\u01c5","D\u017e","\u01c6","d\u017e","\u01c7","LJ","\u01c8","Lj","\u01c9","lj","\u01ca","NJ","\u01cb","Nj","\u01cc","nj","\u01f1","DZ","\u01f2","Dz","\u01f3","dz","\u02d8"," \u0306","\u02d9"," \u
20307","\u02da"," \u030a","\u02db"," \u0328","\u02dc"," \u0303","\u02dd"," \u030b","\u037a"," \u0345","\u0384"," \u0301","\u03d0","\u03b2","\u03d1","\u03b8","\u03d2","\u03a5","\u03d5","\u03c6","\u03d6","\u03c0","\u03f0","\u03ba","\u03f1","\u03c1","\u03f2","\u03c2","\u03f4","\u0398","\u03f5","\u03b5","\u03f9","\u03a3","\u0587","\u0565\u0582","\u0675","\u0627\u0674","\u0676","\u0648\u0674","\u0677","\u06c7\u0674","\u0678","\u064a\u0674","\u0e33","\u0e4d\u0e32","\u0eb3","\u0ecd\u0eb2","\u0edc","\u0eab\u0e99","\u0edd","\u0eab\u0ea1","\u0f77","\u0fb2\u0f81","\u0f79","\u0fb3\u0f81","\u1e9a","a\u02be","\u1fbd"," \u0313","\u1fbf"," \u0313","\u1fc0"," \u0342","\u1ffe"," \u0314","\u2002"," ","\u2003"," ","\u2004"," ","\u2005"," ","\u2006"," ","\u2008"," ","\u2009"," ","\u200a"," ","\u2017"," \u0333","\u2024",".","\u2025","..","\u2026","...","\u2033","\u2032\u2032","\u2034","\u2032\u2032\u2032","\u2036","\u2035\u2035","\u2037","\u2035\u2035\u2035","\u203c","!!","\u203e"," \u0305","\u2047","??","\u2048","?!","\u2049","!?","\u2057","\u2032\u2032\u2032\u2032","\u205f"," ","\u20a8","Rs","\u2100","a/c","\u2101","a/s","\u2103","\xb0C","\u2105","c/o","\u2106","c/u","\u2107","\u0190","\u2109","\xb0F","\u2116","No","\u2121","TEL","\u2135","\u05d0","\u2136","\u05d1","\u2137","\u05d2","\u2138","\u05d3","\u213b","FAX","\u2160","I","\u2161","II","\u2162","III","\u2163","IV","\u2164","V","\u2165","VI","\u2166","VII","\u2167","VIII","\u2168","IX","\u2169","X","\u216a","XI","\u216b","XII","\u216c","L","\u216d","C","\u216e","D","\u216f","M","\u2170","i","\u2171","ii","\u2172","iii","\u2173","iv","\u2174","v","\u2175","vi","\u2176","vii","\u2177","viii","\u2178","ix","\u2179","x","\u217a","xi","\u217b","xii","\u217c","l","\u217d","c","\u217e","d","\u217f","m","\u222c","\u222b\u222b","\u222d","\u222b\u222b\u222b","\u222f","\u222e\u222e","\u2230","\u222e\u222e\u222e","\u2474","(1)","\u2475","(2)","\u2476","(3)","\u2477","(4)","\u2478","(5)","\u2479","(6)","\u247a","(7)","\u247b","(8)","\u247c","(9)","\u247d","(10)","\u247e","(11)","\u247f","(12)","\u2480","(13)","\u2481","(14)","\u2482","(15)","\u2483","(16)","\u2484","(17)","\u2485","(18)","\u2486","(19)","\u2487","(20)","\u2488","1.","\u2489","2.","\u248a","3.","\u248b","4.","\u248c","5.","\u248d","6.","\u248e","7.","\u248f","8.","\u2490","9.","\u2491","10.","\u2492","11.","\u2493","12.","\u2494","13.","\u2495","14.","\u2496","15.","\u2497","16.","\u2498","17.","\u2499","18.","\u249a","19.","\u249b","20.","\u249c","(a)","\u249d","(b)","\u249e","(c)","\u249f","(d)","\u24a0","(e)","\u24a1","(f)","\u24a2","(g)","\u24a3","(h)","\u24a4","(i)","\u24a5","(j)","\u24a6","(k)","\u24a7","(l)","\u24a8","(m)","\u24a9","(n)","\u24aa","(o)","\u24ab","(p)","\u24ac","(q)","\u24ad","(r)","\u24ae","(s)","\u24af","(t)","\u24b0","(u)","\u24b1","(v)","\u24b2","(w)","\u24b3","(x)","\u24b4","(y)","\u24b5","(z)","\u2a0c","\u222b\u222b\u222b\u222b","\u2a74","::=","\u2a75","==","\u2a76","===","\u2e9f","\u6bcd","\u2ef3","\u9f9f","\u2f00","\u4e00","\u2f01","\u4e28","\u2f02","\u4e36","\u2f03","\u4e3f","\u2f04","\u4e59","\u2f05","\u4e85","\u2f06","\u4e8c","\u2f07","\u4ea0","\u2f08","\u4eba","\u2f09","\u513f","\u2f0a","\u5165","\u2f0b","\u516b","\u2f0c","\u5182","\u2f0d","\u5196","\u2f0e","\u51ab","\u2f0f","\u51e0","\u2f10","\u51f5","\u2f11","\u5200","\u2f12","\u529b","\u2f13","\u52f9","\u2f14","\u5315","\u2f15","\u531a","\u2f16","\u5338","\u2f17","\u5341","\u2f18","\u535c","\u2f19","\u5369","\u2f1a","\u5382","\u2f1b","\u53b6","\u2f1c","\u53c8","\u2f1d","\u53e3","\u2f1e","\u56d7","\u2f1f","\u571f","\u2f20","\u58eb","\u2f21","\u5902","\u2f22","\u590a","\u2f23","\u5915","\u2f24","\u5927","\u2f25","\u5973","\u2f26","\u5b50","\u2f27","\u5b80","\u2f28","\u5bf8","\u2f29","\u5c0f","\u2f2a","\u5c22","\u2f2b","\u5c38","\u2f2c","\u5c6e","\u2f2d","\u5c71","\u2f2e","\u5ddb","\u2f2f","\u5de5","\u2f30","\u5df1","\u2f31","\u5dfe","\u2f32","\u5e72","\u2f33","\u5e7a","\u2f34","\u5e7f","\u2f35","\u5ef4","\u2f36","\u5efe","\u2f37","\u5f0b","\u2f38","\u5f13","\u2f39","\u5f50","\u2f3a","\u5f61","\u2f3b","\u5f73","\u2f3c","\u5fc3","\u2f3d","\u6208","\u2f3e","\u6236","\u2f3f","\u624b","\u2f40","\u652f","\u2f41","\u6534","\u2f42","\u6587","\u2f43","\u6597","\u2f44","\u65a4","\u2f45","\u65b9","\u2f46","\u65e0","\u2f47","\u65e5","\u2f48","\u66f0","\u2f49","\u6708","\u2f4a","\u6728","\u2f4b","\u6b20","\u2f4c","\u6b62","\u2f4d","\u6b79","\u2f4e","\u6bb3","\u2f4f","\u6bcb","\u2f50","\u6bd4","\u2f51","\u6bdb","\u2f52","\u6c0f","\u2f53","\u6c14","\u2f54","\u6c34","\u2f55","\u706b","\u2f56","\u722a","\u2f57","\u7236","\u2f58","\u723b","\u2f59","\u723f","\u2f5a","\u7247","\u2f5b","\u7259","\u2f5c","\u725b","\u2f5d","\u72ac","\u2f5e","\u7384","\u2f5f","\u7389","\u2f60","\u74dc","\u2f61","\u74e6","\u2f62","\u7518","\u2f63","\u751f","\u2f64","\u7528","\u2f65","\u7530","\u2f66","\u758b","\u2f67","\u7592","\u2f68","\u7676","\u2f69","\u767d","\u2f6a","\u76ae","\u2f6b","\u76bf","\u2f6c","\u76ee","\u2f6d","\u77
2db","\u2f6e","\u77e2","\u2f6f","\u77f3","\u2f70","\u793a","\u2f71","\u79b8","\u2f72","\u79be","\u2f73","\u7a74","\u2f74","\u7acb","\u2f75","\u7af9","\u2f76","\u7c73","\u2f77","\u7cf8","\u2f78","\u7f36","\u2f79","\u7f51","\u2f7a","\u7f8a","\u2f7b","\u7fbd","\u2f7c","\u8001","\u2f7d","\u800c","\u2f7e","\u8012","\u2f7f","\u8033","\u2f80","\u807f","\u2f81","\u8089","\u2f82","\u81e3","\u2f83","\u81ea","\u2f84","\u81f3","\u2f85","\u81fc","\u2f86","\u820c","\u2f87","\u821b","\u2f88","\u821f","\u2f89","\u826e","\u2f8a","\u8272","\u2f8b","\u8278","\u2f8c","\u864d","\u2f8d","\u866b","\u2f8e","\u8840","\u2f8f","\u884c","\u2f90","\u8863","\u2f91","\u897e","\u2f92","\u898b","\u2f93","\u89d2","\u2f94","\u8a00","\u2f95","\u8c37","\u2f96","\u8c46","\u2f97","\u8c55","\u2f98","\u8c78","\u2f99","\u8c9d","\u2f9a","\u8d64","\u2f9b","\u8d70","\u2f9c","\u8db3","\u2f9d","\u8eab","\u2f9e","\u8eca","\u2f9f","\u8f9b","\u2fa0","\u8fb0","\u2fa1","\u8fb5","\u2fa2","\u9091","\u2fa3","\u9149","\u2fa4","\u91c6","\u2fa5","\u91cc","\u2fa6","\u91d1","\u2fa7","\u9577","\u2fa8","\u9580","\u2fa9","\u961c","\u2faa","\u96b6","\u2fab","\u96b9","\u2fac","\u96e8","\u2fad","\u9751","\u2fae","\u975e","\u2faf","\u9762","\u2fb0","\u9769","\u2fb1","\u97cb","\u2fb2","\u97ed","\u2fb3","\u97f3","\u2fb4","\u9801","\u2fb5","\u98a8","\u2fb6","\u98db","\u2fb7","\u98df","\u2fb8","\u9996","\u2fb9","\u9999","\u2fba","\u99ac","\u2fbb","\u9aa8","\u2fbc","\u9ad8","\u2fbd","\u9adf","\u2fbe","\u9b25","\u2fbf","\u9b2f","\u2fc0","\u9b32","\u2fc1","\u9b3c","\u2fc2","\u9b5a","\u2fc3","\u9ce5","\u2fc4","\u9e75","\u2fc5","\u9e7f","\u2fc6","\u9ea5","\u2fc7","\u9ebb","\u2fc8","\u9ec3","\u2fc9","\u9ecd","\u2fca","\u9ed1","\u2fcb","\u9ef9","\u2fcc","\u9efd","\u2fcd","\u9f0e","\u2fce","\u9f13","\u2fcf","\u9f20","\u2fd0","\u9f3b","\u2fd1","\u9f4a","\u2fd2","\u9f52","\u2fd3","\u9f8d","\u2fd4","\u9f9c","\u2fd5","\u9fa0","\u3036","\u3012","\u3038","\u5341","\u3039","\u5344","\u303a","\u5345","\u309b"," \u3099","\u309c"," \u309a","\u3131","\u1100","\u3132","\u1101","\u3133","\u11aa","\u3134","\u1102","\u3135","\u11ac","\u3136","\u11ad","\u3137","\u1103","\u3138","\u1104","\u3139","\u1105","\u313a","\u11b0","\u313b","\u11b1","\u313c","\u11b2","\u313d","\u11b3","\u313e","\u11b4","\u313f","\u11b5","\u3140","\u111a","\u3141","\u1106","\u3142","\u1107","\u3143","\u1108","\u3144","\u1121","\u3145","\u1109","\u3146","\u110a","\u3147","\u110b","\u3148","\u110c","\u3149","\u110d","\u314a","\u110e","\u314b","\u110f","\u314c","\u1110","\u314d","\u1111","\u314e","\u1112","\u314f","\u1161","\u3150","\u1162","\u3151","\u1163","\u3152","\u1164","\u3153","\u1165","\u3154","\u1166","\u3155","\u1167","\u3156","\u1168","\u3157","\u1169","\u3158","\u116a","\u3159","\u116b","\u315a","\u116c","\u315b","\u116d","\u315c","\u116e","\u315d","\u116f","\u315e","\u1170","\u315f","\u1171","\u3160","\u1172","\u3161","\u1173","\u3162","\u1174","\u3163","\u1175","\u3164","\u1160","\u3165","\u1114","\u3166","\u1115","\u3167","\u11c7","\u3168","\u11c8","\u3169","\u11cc","\u316a","\u11ce","\u316b","\u11d3","\u316c","\u11d7","\u316d","\u11d9","\u316e","\u111c","\u316f","\u11dd","\u3170","\u11df","\u3171","\u111d","\u3172","\u111e","\u3173","\u1120","\u3174","\u1122","\u3175","\u1123","\u3176","\u1127","\u3177","\u1129","\u3178","\u112b","\u3179","\u112c","\u317a","\u112d","\u317b","\u112e","\u317c","\u112f","\u317d","\u1132","\u317e","\u1136","\u317f","\u1140","\u3180","\u1147","\u3181","\u114c","\u3182","\u11f1","\u3183","\u11f2","\u3184","\u1157","\u3185","\u1158","\u3186","\u1159","\u3187","\u1184","\u3188","\u1185","\u3189","\u1188","\u318a","\u1191","\u318b","\u1192","\u318c","\u1194","\u318d","\u119e","\u318e","\u11a1","\u3200","(\u1100)","\u3201","(\u1102)","\u3202","(\u1103)","\u3203","(\u1105)","\u3204","(\u1106)","\u3205","(\u1107)","\u3206","(\u1109)","\u3207","(\u110b)","\u3208","(\u110c)","\u3209","(\u110e)","\u320a","(\u110f)","\u320b","(\u1110)","\u320c","(\u1111)","\u320d","(\u1112)","\u320e","(\u1100\u1161)","\u320f","(\u1102\u1161)","\u3210","(\u1103\u1161)","\u3211","(\u1105\u1161)","\u3212","(\u1106\u1161)","\u3213","(\u1107\u1161)","\u3214","(\u1109\u1161)","\u3215","(\u110b\u1161)","\u3216","(\u110c\u1161)","\u3217","(\u110e\u1161)","\u3218","(\u110f\u1161)","\u3219","(\u1110\u1161)","\u321a","(\u1111\u1161)","\u321b","(\u1112\u1161)","\u321c","(\u110c\u116e)","\u321d","(\u110b\u1169\u110c\u1165\u11ab)","\u321e","(\u110b\u1169\u1112\u116e)","\u3220","(\u4e00)","\u3221","(\u4e8c)","\u3222","(\u4e09)","\u3223","(\u56db)","\u3224","(\u4e94)","\u3225","(\u516d)","\u3226","(\u4e03)","\u3227","(\u516b)","\u3228","(\u4e5d)","\u3229","(\u5341)","\u322a","(\u6708)","\u322b","(\u706b)","\u322c","(\u6c34)","\u322d","(\u6728)","\u322e","(\u91d1)","\u322f","(\u571f)","\u3230","(\u65e5)","\u3231","(\u682a)","\u3232","(\u6709)","\u3233","(\u793e)","\u3234","(\u540d)","\u3235","(\u7279)","\u3236","(\u8ca1)","\u3237","(\u795d)","\u3238","(\u52b4)","\u3239","(\u4ee3)","\u323a","(\u547c)","\u323b","(\u5b66)","\u323c","(\u76e3)","\u323d","(\u4f01)","\u323e","(\u8cc7)","\u323f","(\u5354)","\u3240","(\u796d)","\u3241","(\u4f11)","\u3242","(\u81ea)","\u3243","(\u81f3)","\u32c0","1\u6708","\u32c1","2\u6708","\u32c2","3\u6708","\u32c3","4\u6708","\u32c4","5\u6708","\u32c5","6\u6708","\u32c6","7\u6708","\u32c7","8\u6708","\u32c8","9\u6708","\u32c9","10\u6708","\u32ca","11\u6708","\u32cb","12\u6708","\u3358","0\u70b9","\u3359","1\u70b9","\u335a","2\u70b9","\u335b","3\u70b9","\u335c","4\u70b9","\u335d","5\u70b9","\u335e","6\u70b9","\u335f","7\u70b9","\u3360","8\u70b9","\u3361","9\u70b9","\u3362","10\u70b9","\u3363","11\u70b9","\u3364","12\u70b9","\u3365","13\u70b9","\u3366","14\u70b9","\u3367","15\u70b9","\u3368","16\u70b9","\u3369","17\u70b9","\u336a","18\u70b9","\u336b","19\u70b9","\u336c","20\u70b9","\u336d","21\u70b9","\u336e","22\u70b9","\u336f","23\u70b9","\u3370","24\u70b9","\u33e0","1\u65e5","\u33e1","2\u65e5","\u33e2","3\u65e5","\u33e3","4\u65e5","\u33e4","5\u65e5","\u33e5","6\u65e5","\u33e6","7\u65e5","\u33e7","8\u65e5","\u33e8","9\u65e5","\u33e9","10\u65e5","\u33ea","11\u65e5","\u33eb","12\u65e5","\u33ec","13\u65e5","\u33ed","14\u65e5","\u33ee","15\u65e5","\u33ef","16\u65e5","\u33f0","17\u65e5","\u33f1","18\u65e5","\u33f2","19\u65e5","\u33f3","20\u65e5","\u33f4","21\u65e5","\u33f5","22\u65e5","\u33f6","23\u65e5","\u33f7","24\u65e5","\u33f8","25\u65e5","\u33f9","26\u65e5","\u33fa","27\u65e5","\u33fb","28\u65e5","\u33fc","29\u65e5","\u33fd","30\u65e5","\u33fe","31\u65e5","\ufb00","ff","\ufb01","fi","\ufb02","fl","\ufb03","ffi","\ufb04","ffl","\ufb05","\u017ft","\ufb06","st","\ufb13","\u0574\u0576","\ufb14","\u0574\u0565","\ufb15","\u0574\u056b","\ufb16","\u057e\u0576","\ufb17","\u0574\u056d","\ufb4f","\u05d0\u05dc","\ufb50","\u0671","\ufb51","\u0671","\ufb52","\u067b","\ufb53","\u06
27b","\ufb54","\u067b","\ufb55","\u067b","\ufb56","\u067e","\ufb57","\u067e","\ufb58","\u067e","\ufb59","\u067e","\ufb5a","\u0680","\ufb5b","\u0680","\ufb5c","\u0680","\ufb5d","\u0680","\ufb5e","\u067a","\ufb5f","\u067a","\ufb60","\u067a","\ufb61","\u067a","\ufb62","\u067f","\ufb63","\u067f","\ufb64","\u067f","\ufb65","\u067f","\ufb66","\u0679","\ufb67","\u0679","\ufb68","\u0679","\ufb69","\u0679","\ufb6a","\u06a4","\ufb6b","\u06a4","\ufb6c","\u06a4","\ufb6d","\u06a4","\ufb6e","\u06a6","\ufb6f","\u06a6","\ufb70","\u06a6","\ufb71","\u06a6","\ufb72","\u0684","\ufb73","\u0684","\ufb74","\u0684","\ufb75","\u0684","\ufb76","\u0683","\ufb77","\u0683","\ufb78","\u0683","\ufb79","\u0683","\ufb7a","\u0686","\ufb7b","\u0686","\ufb7c","\u0686","\ufb7d","\u0686","\ufb7e","\u0687","\ufb7f","\u0687","\ufb80","\u0687","\ufb81","\u0687","\ufb82","\u068d","\ufb83","\u068d","\ufb84","\u068c","\ufb85","\u068c","\ufb86","\u068e","\ufb87","\u068e","\ufb88","\u0688","\ufb89","\u0688","\ufb8a","\u0698","\ufb8b","\u0698","\ufb8c","\u0691","\ufb8d","\u0691","\ufb8e","\u06a9","\ufb8f","\u06a9","\ufb90","\u06a9","\ufb91","\u06a9","\ufb92","\u06af","\ufb93","\u06af","\ufb94","\u06af","\ufb95","\u06af","\ufb96","\u06b3","\ufb97","\u06b3","\ufb98","\u06b3","\ufb99","\u06b3","\ufb9a","\u06b1","\ufb9b","\u06b1","\ufb9c","\u06b1","\ufb9d","\u06b1","\ufb9e","\u06ba","\ufb9f","\u06ba","\ufba0","\u06bb","\ufba1","\u06bb","\ufba2","\u06bb","\ufba3","\u06bb","\ufba4","\u06c0","\ufba5","\u06c0","\ufba6","\u06c1","\ufba7","\u06c1","\ufba8","\u06c1","\ufba9","\u06c1","\ufbaa","\u06be","\ufbab","\u06be","\ufbac","\u06be","\ufbad","\u06be","\ufbae","\u06d2","\ufbaf","\u06d2","\ufbb0","\u06d3","\ufbb1","\u06d3","\ufbd3","\u06ad","\ufbd4","\u06ad","\ufbd5","\u06ad","\ufbd6","\u06ad","\ufbd7","\u06c7","\ufbd8","\u06c7","\ufbd9","\u06c6","\ufbda","\u06c6","\ufbdb","\u06c8","\ufbdc","\u06c8","\ufbdd","\u0677","\ufbde","\u06cb","\ufbdf","\u06cb","\ufbe0","\u06c5","\ufbe1","\u06c5","\ufbe2","\u06c9","\ufbe3","\u06c9","\ufbe4","\u06d0","\ufbe5","\u06d0","\ufbe6","\u06d0","\ufbe7","\u06d0","\ufbe8","\u0649","\ufbe9","\u0649","\ufbea","\u0626\u0627","\ufbeb","\u0626\u0627","\ufbec","\u0626\u06d5","\ufbed","\u0626\u06d5","\ufbee","\u0626\u0648","\ufbef","\u0626\u0648","\ufbf0","\u0626\u06c7","\ufbf1","\u0626\u06c7","\ufbf2","\u0626\u06c6","\ufbf3","\u0626\u06c6","\ufbf4","\u0626\u06c8","\ufbf5","\u0626\u06c8","\ufbf6","\u0626\u06d0","\ufbf7","\u0626\u06d0","\ufbf8","\u0626\u06d0","\ufbf9","\u0626\u0649","\ufbfa","\u0626\u0649","\ufbfb","\u0626\u0649","\ufbfc","\u06cc","\ufbfd","\u06cc","\ufbfe","\u06cc","\ufbff","\u06cc","\ufc00","\u0626\u062c","\ufc01","\u0626\u062d","\ufc02","\u0626\u0645","\ufc03","\u0626\u0649","\ufc04","\u0626\u064a","\ufc05","\u0628\u062c","\ufc06","\u0628\u062d","\ufc07","\u0628\u062e","\ufc08","\u0628\u0645","\ufc09","\u0628\u0649","\ufc0a","\u0628\u064a","\ufc0b","\u062a\u062c","\ufc0c","\u062a\u062d","\ufc0d","\u062a\u062e","\ufc0e","\u062a\u0645","\ufc0f","\u062a\u0649","\ufc10","\u062a\u064a","\ufc11","\u062b\u062c","\ufc12","\u062b\u0645","\ufc13","\u062b\u0649","\ufc14","\u062b\u064a","\ufc15","\u062c\u062d","\ufc16","\u062c\u0645","\ufc17","\u062d\u062c","\ufc18","\u062d\u0645","\ufc19","\u062e\u062c","\ufc1a","\u062e\u062d","\ufc1b","\u062e\u0645","\ufc1c","\u0633\u062c","\ufc1d","\u0633\u062d","\ufc1e","\u0633\u062e","\ufc1f","\u0633\u0645","\ufc20","\u0635\u062d","\ufc21","\u0635\u0645","\ufc22","\u0636\u062c","\ufc23","\u0636\u062d","\ufc24","\u0636\u062e","\ufc25","\u0636\u0645","\ufc26","\u0637\u062d","\ufc27","\u0637\u0645","\ufc28","\u0638\u0645","\ufc29","\u0639\u062c","\ufc2a","\u0639\u0645","\ufc2b","\u063a\u062c","\ufc2c","\u063a\u0645","\ufc2d","\u0641\u062c","\ufc2e","\u0641\u062d","\ufc2f","\u0641\u062e","\ufc30","\u0641\u0645","\ufc31","\u0641\u0649","\ufc32","\u0641\u064a","\ufc33","\u0642\u062d","\ufc34","\u0642\u0645","\ufc35","\u0642\u0649","\ufc36","\u0642\u064a","\ufc37","\u0643\u0627","\ufc38","\u0643\u062c","\ufc39","\u0643\u062d","\ufc3a","\u0643\u062e","\ufc3b","\u0643\u0644","\ufc3c","\u0643\u0645","\ufc3d","\u0643\u0649","\ufc3e","\u0643\u064a","\ufc3f","\u0644\u062c","\ufc40","\u0644\u062d","\ufc41","\u0644\u062e","\ufc42","\u0644\u0645","\ufc43","\u0644\u0649","\ufc44","\u0644\u064a","\ufc45","\u0645\u062c","\ufc46","\u0645\u062d","\ufc47","\u0645\u062e","\ufc48","\u0645\u0645","\ufc49","\u0645\u0649","\ufc4a","\u0645\u064a","\ufc4b","\u0646\u062c","\ufc4c","\u0646\u062d","\ufc4d","\u0646\u062e","\ufc4e","\u0646\u0645","\ufc4f","\u0646\u0649","\ufc50","\u0646\u064a","\ufc51","\u0647\u062c","\ufc52","\u0647\u0645","\ufc53","\u0647\u0649","\ufc54","\u0647\u064a","\ufc55","\u064a\u062c","\ufc56","\u064a\u062d","\ufc57","\u064a\u062e","\ufc58","\u064a\u0645","\ufc59","\u064a\u0649","\ufc5a","\u064a\u064a","\ufc5b","\u0630\u0670","\ufc5c","\u0631\u0670","\ufc5d","\u0649\u0670","\ufc5e"," \u
2064c\u0651","\ufc5f"," \u064d\u0651","\ufc60"," \u064e\u0651","\ufc61"," \u064f\u0651","\ufc62"," \u0650\u0651","\ufc63"," \u0651\u0670","\ufc64","\u0626\u0631","\ufc65","\u0626\u0632","\ufc66","\u0626\u0645","\ufc67","\u0626\u0646","\ufc68","\u0626\u0649","\ufc69","\u0626\u064a","\ufc6a","\u0628\u0631","\ufc6b","\u0628\u0632","\ufc6c","\u0628\u0645","\ufc6d","\u0628\u0646","\ufc6e","\u0628\u0649","\ufc6f","\u0628\u064a","\ufc70","\u062a\u0631","\ufc71","\u062a\u0632","\ufc72","\u062a\u0645","\ufc73","\u062a\u0646","\ufc74","\u062a\u0649","\ufc75","\u062a\u064a","\ufc76","\u062b\u0631","\ufc77","\u062b\u0632","\ufc78","\u062b\u0645","\ufc79","\u062b\u0646","\ufc7a","\u062b\u0649","\ufc7b","\u062b\u064a","\ufc7c","\u0641\u0649","\ufc7d","\u0641\u064a","\ufc7e","\u0642\u0649","\ufc7f","\u0642\u064a","\ufc80","\u0643\u0627","\ufc81","\u0643\u0644","\ufc82","\u0643\u0645","\ufc83","\u0643\u0649","\ufc84","\u0643\u064a","\ufc85","\u0644\u0645","\ufc86","\u0644\u0649","\ufc87","\u0644\u064a","\ufc88","\u0645\u0627","\ufc89","\u0645\u0645","\ufc8a","\u0646\u0631","\ufc8b","\u0646\u0632","\ufc8c","\u0646\u0645","\ufc8d","\u0646\u0646","\ufc8e","\u0646\u0649","\ufc8f","\u0646\u064a","\ufc90","\u0649\u0670","\ufc91","\u064a\u0631","\ufc92","\u064a\u0632","\ufc93","\u064a\u0645","\ufc94","\u064a\u0646","\ufc95","\u064a\u0649","\ufc96","\u064a\u064a","\ufc97","\u0626\u062c","\ufc98","\u0626\u062d","\ufc99","\u0626\u062e","\ufc9a","\u0626\u0645","\ufc9b","\u0626\u0647","\ufc9c","\u0628\u062c","\ufc9d","\u0628\u062d","\ufc9e","\u0628\u062e","\ufc9f","\u0628\u0645","\ufca0","\u0628\u0647","\ufca1","\u062a\u062c","\ufca2","\u062a\u062d","\ufca3","\u062a\u062e","\ufca4","\u062a\u0645","\ufca5","\u062a\u0647","\ufca6","\u062b\u0645","\ufca7","\u062c\u062d","\ufca8","\u062c\u0645","\ufca9","\u062d\u062c","\ufcaa","\u062d\u0645","\ufcab","\u062e\u062c","\ufcac","\u062e\u0645","\ufcad","\u0633\u062c","\ufcae","\u0633\u062d","\ufcaf","\u0633\u062e","\ufcb0","\u0633\u0645","\ufcb1","\u0635\u062d","\ufcb2","\u0635\u062e","\ufcb3","\u0635\u0645","\ufcb4","\u0636\u062c","\ufcb5","\u0636\u062d","\ufcb6","\u0636\u062e","\ufcb7","\u0636\u0645","\ufcb8","\u0637\u062d","\ufcb9","\u0638\u0645","\ufcba","\u0639\u062c","\ufcbb","\u0639\u0645","\ufcbc","\u063a\u062c","\ufcbd","\u063a\u0645","\ufcbe","\u0641\u062c","\ufcbf","\u0641\u062d","\ufcc0","\u0641\u062e","\ufcc1","\u0641\u0645","\ufcc2","\u0642\u062d","\ufcc3","\u0642\u0645","\ufcc4","\u0643\u062c","\ufcc5","\u0643\u062d","\ufcc6","\u0643\u062e","\ufcc7","\u0643\u0644","\ufcc8","\u0643\u0645","\ufcc9","\u0644\u062c","\ufcca","\u0644\u062d","\ufccb","\u0644\u062e","\ufccc","\u0644\u0645","\ufccd","\u0644\u0647","\ufcce","\u0645\u062c","\ufccf","\u0645\u062d","\ufcd0","\u0645\u062e","\ufcd1","\u0645\u0645","\ufcd2","\u0646\u062c","\ufcd3","\u0646\u062d","\ufcd4","\u0646\u062e","\ufcd5","\u0646\u0645","\ufcd6","\u0646\u0647","\ufcd7","\u0647\u062c","\ufcd8","\u0647\u0645","\ufcd9","\u0647\u0670","\ufcda","\u064a\u062c","\ufcdb","\u064a\u062d","\ufcdc","\u064a\u062e","\ufcdd","\u064a\u0645","\ufcde","\u064a\u0647","\ufcdf","\u0626\u0645","\ufce0","\u0626\u0647","\ufce1","\u0628\u0645","\ufce2","\u0628\u0647","\ufce3","\u062a\u0645","\ufce4","\u062a\u0647","\ufce5","\u062b\u0645","\ufce6","\u062b\u0647","\ufce7","\u0633\u0645","\ufce8","\u0633\u0647","\ufce9","\u0634\u0645","\ufcea","\u0634\u0647","\ufceb","\u0643\u0644","\ufcec","\u0643\u0645","\ufced","\u0644\u0645","\ufcee","\u0646\u0645","\ufcef","\u0646\u0647","\ufcf0","\u064a\u0645","\ufcf1","\u064a\u0647","\ufcf2","\u0640\u064e\u0651","\ufcf3","\u0640\u064f\u0651","\ufcf4","\u0640\u0650\u0651","\ufcf5","\u0637\u0649","\ufcf6","\u0637\u064a","\ufcf7","\u0639\u0649","\ufcf8","\u0639\u064a","\ufcf9","\u063a\u0649","\ufcfa","\u063a\u064a","\ufcfb","\u0633\u0649","\ufcfc","\u0633\u064a","\ufcfd","\u0634\u0649","\ufcfe","\u0634\u064a","\ufcff","\u062d\u0649","\ufd00","\u062d\u064a","\ufd01","\u062c\u0649","\ufd02","\u062c\u064a","\ufd03","\u062e\u0649","\ufd04","\u062e\u064a","\ufd05","\u0635\u0649","\ufd06","\u0635\u064a","\ufd07","\u0636\u0649","\ufd08","\u0636\u064a","\ufd09","\u0634\u062c","\ufd0a","\u0634\u062d","\ufd0b","\u0634\u062e","\ufd0c","\u0634\u0645","\ufd0d","\u0634\u0631","\ufd0e","\u0633\u0631","\ufd0f","\u0635\u0631","\ufd10","\u0636\u0631","\ufd11","\u0637\u0649","\ufd12","\u0637\u064a","\ufd13","\u0639\u0649","\ufd14","\u0639\u064a","\ufd15","\u063a\u0649","\ufd16","\u063a\u064a","\ufd17","\u0633\u0649","\ufd18","\u0633\u064a","\ufd19","\u0634\u0649","\ufd1a","\u0634\u064a","\ufd1b","\u062d\u0649","\ufd1c","\u062d\u064a","\ufd1d","\u062c\u0649","\ufd1e","\u062c\u064a","\ufd1f","\u062e\u0649","\ufd20","\u062e\u064a","\ufd21","\u0635\u0649","\ufd22","\u0635\u064a","\ufd23","\u0636\u0649","\ufd24","\u0636\u064a","\ufd25","\u0634\u062c","\ufd26","\u0634\u062d","\ufd27","\u0634\u062e","\ufd28","\u0634\u0645","\ufd29","\u0634\u0631","\ufd2a","\u0633\u0631","\ufd2b","\u0635\u0631","\ufd2c","\u0636\u0631","\ufd2d","\u0634\u062c","\ufd2e","\u0634\u062d","\ufd2f","\u0634\u062e","\ufd30","\u0634\u0645","\ufd31","\u0633\u0647","\ufd32","\u0634\u0647","\ufd33","\u0637\u0645","\ufd34","\u0633\u062c","\ufd35","\u0633\u062d","\ufd36","\u0633\u062e","\ufd37","\u0634\u062c","\ufd38","\u0634\u062d","\ufd39","\u0634\u062e","\ufd3a","\u0637\u0645","\ufd3b","\u0638\u0645","\ufd3c","\u0627\u064b","\ufd3d","\u0627\u064b","\ufd50","\u062a\u062c\u0645","\ufd51","\u062a\u062d\u062c","\ufd52","\u062a\u062d\u062c","\ufd53","\u062a\u062d\u0645","\ufd54","\u062a\u062e\u0645","\ufd55","\u062a\u0645\u062c","\ufd56","\u062a\u0645\u062d","\ufd57","\u062a\u0645\u062e","\ufd58","\u062c\u0645\u062d","\ufd59","\u062c\u0645\u062d","\ufd5a","\u062d\u0645\u064a","\ufd5b","\u062d\u0645\u0649","\ufd5c","\u0633\u062d\u062c","\ufd5d","\u0633\u062c\u062d","\ufd5e","\u0633\u062c\u0649","\ufd5f","\u0633\u0645\u062d","\ufd60","\u0633\u0645\u062d","\ufd61","\u0633\u0645\u062c","\ufd62","\u0633\u0645\u0645","\ufd63","\u0633\u0645\u0645","\ufd64","\u0635\u062d\u062d","\ufd65","\u0635\u062d\u062d","\ufd66","\u0635\u0645\u0645","\ufd67","\u0634\u062d\u0645","\ufd68","\u0634\u062d\u0645","\ufd69","\u0634\u062c\u064a","\ufd6a","\u0634\u0645\u062e","\ufd6b","\u0634\u0645\u062e","\ufd6c","\u0634\u0645\u0645","\ufd6d","\u0634\u0645\u0645","\ufd6e","\u0636\u062d\u0649","\ufd6f","\u0636\u062e\u0645","\ufd70","\u0636\u062e\u0645","\ufd71","\u0637\u0645\u062d","\ufd72","\u0637\u0645\u062d","\ufd73","\u0637\u0645\u0645","\ufd74","\u0637\u0645\u064a","\ufd75","\u0639\u062c\u0645","\ufd76","\u0639\u0645\u0645","\ufd77","\u0639\u0645\u0645","\ufd78","\u0639\u0645\u0649","\ufd79","\u063a\u0645\u0645","\ufd7a","\u063a\u0645\u064a","\ufd7b","\u063a\u0645\u0649","\ufd7c","\u0641\u062e\u0645","\ufd7d","\u0641\u062e\u0645","\ufd7e","\u0642\u0645\u062d","\ufd7f","\u0642\u0645\u0645","\ufd80","\u0644\u062d\u0645","\ufd81","\u0644\u062d\u064a","\ufd82","\u0644\u062d\u0649","\ufd83","\u0644\u062c\u062c","\ufd84","\u0644\u062c\u062c","\ufd85","\u0644\u062e\u0645","\ufd86","\u0644\u062e\u0645","\ufd87","\u0644\u0645\u062d","\ufd88","\u0644\u0645\u062d","\ufd89","\u0645\u062d\u062c","\ufd8a","\u0645\u062d\u0645","\ufd8b","\u0645\u062d\u064a","\ufd8c","\u0645\u062c\u062d","\ufd8d","\u0645\u062c\u0645","\ufd8e","\u0645\u062e\u062c","\ufd8f","\u0645\u062e\u0645","\ufd92","\u0645\u062c\u062e","\ufd93","\u0647\u0645\u062c","\ufd94","\u0647\u0645\u0645","\ufd95","\u0646\u062d\u0645","\ufd96","\u0646\u062d\u0649","\ufd97","\u0646\u062c\u0645","\ufd98","\u0646\u062c\u0645","\ufd99","\u0646\u062c\u0649","\ufd9a","\u0646\u0645\u064a","\ufd9b","\u0646\u0645\u0649","\ufd9c","\u064a\u0645\u0645","\ufd9d","\u064a\u0645\u0645","\ufd9e","\u0628\u062e\u064a","\ufd9f","\u062a\u062c\u064a","\ufda0","\u062a\u062c\u0649","\ufda1","\u062a\u062e\u064a","\ufda2","\u062a\u062e\u0649","\ufda3","\u062a\u0645\u064a","\ufda4","\u062a\u0645\u0649","\ufda5","\u062c\u0645\u064a","\ufda6","\u062c\u062d\u0649","\ufda7","\u062c\u0645\u0649","\ufda8","\u0633\u062e\u0649","\ufda9","\u0635\u062d\u064a","\ufdaa","\u0634\u062d\u064a","\ufdab","\u0636\u062d\u064a","\ufdac","\u0644\u062c\u064a","\ufdad","\u0644\u0645\u064a","\ufdae","\u064a\u062d\u064a","\ufdaf","\u064a\u062c\u064a","\ufdb0","\u064a\u0645\u064a","\ufdb1","\u0645\u0645\u064a","\ufdb2","\u0642\u0645\u064a","\ufdb3","\u0646\u062d\u064a","\ufdb4","\u0642\u0645\u062d","\ufdb5","\u0644\u062d\u0645","\ufdb6","\u0639\u0645\u064a","\ufdb7","\u0643\u0645\u064a","\ufdb8","\u0646\u062c\u062d","\ufdb9","\u0645\u062e\u064a","\ufdba","\u0644\u062c\u0645","\ufdbb","\u0643\u0645\u0645","\ufdbc","\u0644\u062c\u0645","\ufdbd","\u0646\u062c\u062d","\ufdbe","\u062c\u062d\u064a","\ufdbf","\u062d\u062c\u064a","\ufdc0","\u0645\u062c\u064a","\ufdc1","\u0641\u0645\u064a","\ufdc2","\u0628\u062d\u064a","\ufdc3","\u0643\u0645\u0645","\ufdc4","\u0639\u062c\u0645","\ufdc5","\u0635\u0645\u0645","\ufdc6","\u0633\u062e\u064a","\ufdc7","\u0646\u062c\u064a","\ufe49","\u203e","\ufe4a","\u203e","\ufe4b","\u203e","\ufe4c","\u203e","\ufe4d","_","\ufe4e","_","\ufe4f","_","\ufe80","\u0621","\ufe81","\u0622","\ufe82","\u0622","\ufe83","\u0623","\ufe84","\u0623","\ufe85","\u0624","\ufe86","\u0624","\ufe87","\u0625","\ufe88","\u0625","\ufe89","\u0626","\ufe8a","\u0626","\ufe8b","\u0626","\ufe8c","\u0626","\ufe8d","\u0627","\ufe8e","\u0627","\ufe8f","\u0628","\ufe90","\u0628","\ufe91","\u0628","\ufe92","\u0628","\ufe93","\u0629","\ufe94","\u0629","\ufe95","\u062a","\ufe96","\u062a","\ufe97","\u062a","\ufe98","\u062a","\ufe99","\u062b","\ufe9a","\u062b","\ufe9b","\u062b","\ufe9c","\u062b","\ufe9d","\u062c","\ufe9e","\u062c","\ufe9f","\u062c","\ufea0","\u062c","\ufea1","\u062d","\ufea2","\u062d","\ufea3","\u062d","\ufea4","\u062d","\ufea5","\u062e","\ufea6","\u062e","\ufea7","\u062e","\ufea8","\u062e","\ufea9","\u062f","\ufeaa","\u062f","\ufeab","\u0630","\ufeac","\u0630","\ufead","\u0631","\ufeae","\u0631","\ufeaf","\u0632","\ufeb0","\u0632","\ufeb1","\u0633","\ufeb2","\u0633","\ufeb3","\u0633","\ufeb4","\u0633","\ufeb5","\u0634","\ufeb6","\u0634","\ufeb7","\u0634","\ufeb8","\u0634","\ufeb9","\u0635","\ufeba","\u0635","\ufebb","\u0635","\ufebc","\u0635","\ufebd","\u0636","\ufebe","\u0636","\ufebf","\u0636","\ufec0","\u0636","\ufec1","\u0637","\ufec2","\u0637","\ufec3","\u0637","\ufec4","\u0637","\ufec5","\u0638","\ufec6","\u0638","\ufec7","\u0638","\ufec8","\u0638","\ufec9","\u0639","\ufeca","\u0639","\ufecb","\u0639","\ufecc","\u0639","\ufecd","\u063a","\ufece","\u063a","\ufecf","\u063a","\ufed0","\u063a","\ufed1","\u0641","\ufed2","\u0641","\ufed3","\u0641","\ufed4","\u0641","\ufed5","\u0642","\ufed6","\u0642","\ufed7","\u0642","\ufed8","\u0642","\ufed9","\u0643","\ufeda","\u0643","\ufedb","\u0643","\ufedc","\u0643","\ufedd","\u0644","\ufede","\u0644","\ufedf","\u0644","\ufee0","\u0644","\ufee1","\u0645","\ufee2","\u0645","\ufee3","\u0645","\ufee4","\u0645","\ufee5","\u0646","\ufee6","\u0646","\ufee7","\u0646","\ufee8","\u0646","\ufee9","\u0647","\ufeea","\u0647","\ufeeb","\u0647","\ufeec","\u0647","\ufeed","\u0648","\ufeee","\u0648","\ufeef","\u0649","\ufef0","\u0649","\ufef1","\u064a","\ufef2","\u064a","\ufef3","\u064a","\ufef4","\u064a","\ufef5","\u0644\u0622","\ufef6","\u0644\u0622","\ufef7","\u0644\u0623","\ufef8","\u0644\u0623","\ufef9","\u0644\u0625","\ufefa","\u0644\u0625","\ufefb","\u0644\u0627","\ufefc","\u0644\u0627"]}));function u(e){var t=e.length;if(t<=1||!function(e){var t=s[13];return e>=t.begin&&e<t.end||e>=(t=s[11]).begin&&e<t.end}(e.charCodeAt(0)))return e;for(var r=[],a=t-1;a>=0;a--)r.push(e[a]);return r.join("")}var h=new RegExp("^(\\s)|(\\p{Mn})|(\\p{Cf})$","u"),f=new Map;function d(e){var t=f.get(e);if(t)return t;var r=e.match(h),a={isWhitespace:!(!r||!r[1]),isZeroWidthDiacritic:!(!r||!r[2]),isInvisibleFormatMark:!(!r||!r[3])};return f.set(e,a),a}function g(){f.clear()}}
2,function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.getSerifFonts=t.getNonStdFontMap=t.getGlyphMapForStandardFonts=t.getFontNameToFileMap=void 0,t.getStandardFontName=function(e){var t=(0,n.normalizeFontName)(e);return i()[t]},t.getSymbolsFonts=t.getSupplementalGlyphMapForCalibri=t.getSupplementalGlyphMapForArialBlack=t.getStdFontMap=void 0;var a=r(6),n=r(38),i=(0,a.getLookupTableFactory)((function(e){e["Times-Roman"]="Times-Roman",e.Helvetica="Helvetica",e.Courier="Courier",e.Symbol="Symbol",e["Times-Bold"]="Times-Bold",e["Helvetica-Bold"]="Helvetica-Bold",e["Courier-Bold"]="Courier-Bold",e.ZapfDingbats="ZapfDingbats",e["Times-Italic"]="Times-Italic",e["Helvetica-Oblique"]="Helvetica-Oblique",e["Courier-Oblique"]="Courier-Oblique",e["Times-BoldItalic"]="Times-BoldItalic",e["Helvetica-BoldOblique"]="Helvetica-BoldOblique",e["Courier-BoldOblique"]="Courier-BoldOblique",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.ArialMT="Helvetica",e["Arial-BoldItalicMT"]="Helvetica-BoldOblique",e["Arial-BoldMT"]="Helvetica-Bold",e["Arial-ItalicMT"]="Helvetica-Oblique",e.ArialUnicodeMS="Helvetica",e["ArialUnicodeMS-Bold"]="Helvetica-Bold",e["ArialUnicodeMS-BoldItalic"]="Helvetica-BoldOblique",e["ArialUnicodeMS-Italic"]="Helvetica-Oblique",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-BoldItalic"]="Helvetica-BoldOblique",e["Helvetica-Italic"]="Helvetica-Oblique",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"}));t.getStdFontMap=i;var o=(0,a.getLookupTableFactory)((function(e){e.Courier="FoxitFixed.pfb",e["Courier-Bold"]="FoxitFixedBold.pfb",e["Courier-BoldOblique"]="FoxitFixedBoldItalic.pfb",e["Courier-Oblique"]="FoxitFixedItalic.pfb",e.Helvetica="FoxitSans.pfb",e["Helvetica-Bold"]="FoxitSansBold.pfb",e["Helvetica-BoldOblique"]="FoxitSansBoldItalic.pfb",e["Helvetica-Oblique"]="FoxitSansItalic.pfb",e["Times-Roman"]="FoxitSerif.pfb",e["Times-Bold"]="FoxitSerifBold.pfb",e["Times-BoldItalic"]="FoxitSerifBoldItalic.pfb",e["Times-Italic"]="FoxitSerifItalic.pfb",e.Symbol="FoxitSymbol.pfb",e.ZapfDingbats="FoxitDingbats.pfb",e["LiberationSans-Regular"]="LiberationSans-Regular.ttf",e["LiberationSans-Bold"]="LiberationSans-Bold.ttf",e["LiberationSans-Italic"]="LiberationSans-Italic.ttf",e["LiberationSans-BoldItalic"]="LiberationSans-BoldItalic.ttf"}));t.getFontNameToFileMap=o;var s=(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["ItcSymbol-Bold"]="Helvetica-Bold",e["ItcSymbol-BoldItalic"]="Helvetica-BoldOblique",e["ItcSymbol-Book"]="Helvetica",e["ItcSymbol-BookItalic"]="Helvetica-Oblique",e["ItcSymbol-Medium"]="Helvetica",e["ItcSymbol-MediumItalic"]="Helvetica-Oblique",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.SegoeUISymbol="Helvetica",e.Wingdings="ZapfDingbats",e["Wingdings-Regular"]="ZapfDingbats"}));t.getNonStdFontMap=s;
2var c=(0,a.getLookupTableFactory)((function(e){e["Adobe Jenson"]=!0,e["Adobe Text"]=!0,e.Albertus=!0,e.Aldus=!0,e.Alexandria=!0,e.Algerian=!0,e["American Typewriter"]=!0,e.Antiqua=!0,e.Apex=!0,e.Arno=!0,e.Aster=!0,e.Aurora=!0,e.Baskerville=!0,e.Bell=!0,e.Bembo=!0,e["Bembo Schoolbook"]=!0,e.Benguiat=!0,e["Berkeley Old Style"]=!0,e["Bernhard Modern"]=!0,e["Berthold City"]=!0,e.Bodoni=!0,e["Bauer Bodoni"]=!0,e["Book Antiqua"]=!0,e.Bookman=!0,e["Bordeaux Roman"]=!0,e["Californian FB"]=!0,e.Calisto=!0,e.Calvert=!0,e.Capitals=!0,e.Cambria=!0,e.Cartier=!0,e.Caslon=!0,e.Catull=!0,e.Centaur=!0,e["Century Old Style"]=!0,e["Century Schoolbook"]=!0,e.Chaparral=!0,e["Charis SIL"]=!0,e.Cheltenham=!0,e["Cholla Slab"]=!0,e.Clarendon=!0,e.Clearface=!0,e.Cochin=!0,e.Colonna=!0,e["Computer Modern"]=!0,e["Concrete Roman"]=!0,e.Constantia=!0,e["Cooper Black"]=!0,e.Corona=!0,e.Ecotype=!0,e.Egyptienne=!0,e.Elephant=!0,e.Excelsior=!0,e.Fairfield=!0,e["FF Scala"]=!0,e.Folkard=!0,e.Footlight=!0,e.FreeSerif=!0,e["Friz Quadrata"]=!0,e.Garamond=!0,e.Gentium=!0,e.Georgia=!0,e.Gloucester=!0,e["Goudy Old Style"]=!0,e["Goudy Schoolbook"]=!0,e["Goudy Pro Font"]=!0,e.Granjon=!0,e["Guardian Egyptian"]=!0,e.Heather=!0,e.Hercules=!0,e["High Tower Text"]=!0,e.Hiroshige=!0,e["Hoefler Text"]=!0,e["Humana Serif"]=!0,e.Imprint=!0,e["Ionic No. 5"]=!0,e.Janson=!0,e.Joanna=!0,e.Korinna=!0,e.Lexicon=!0,e.LiberationSerif=!0,e["Liberation Serif"]=!0,e["Linux Libertine"]=!0,e.Literaturnaya=!0,e.Lucida=!0,e["Lucida Bright"]=!0,e.Melior=!0,e.Memphis=!0,e.Miller=!0,e.Minion=!0,e.Modern=!0,e["Mona Lisa"]=!0,e["Mrs Eaves"]=!0,e["MS Serif"]=!0,e["Museo Slab"]=!0,e["New York"]=!0,e["Nimbus Roman"]=!0,e["NPS Rawlinson Roadway"]=!0,e.NuptialScript=!0,e.Palatino=!0,e.Perpetua=!0,e.Plantin=!0,e["Plantin Schoolbook"]=!0,e.Playbill=!0,e["Poor Richard"]=!0,e["Rawlinson Roadway"]=!0,e.Renault=!0,e.Requiem=!0,e.Rockwell=!0,e.Roman=!0,e["Rotis Serif"]=!0,e.Sabon=!0,e.Scala=!0,e.Seagull=!0,e.Sistina=!0,e.Souvenir=!0,e.STIX=!0,e["Stone Informal"]=!0,e["Stone Serif"]=!0,e.Sylfaen=!0,e.Times=!0,e.Trajan=!0,e["Trinit\xe9"]=!0,e["Trump Mediaeval"]=!0,e.Utopia=!0,e["Vale Type"]=!0,e["Bitstream Vera"]=!0,e["Vera Serif"]=!0,e.Versailles=!0,e.Wanted=!0,e.Weiss=!0,e["Wide Latin"]=!0,e.Windsor=!0,e.XITS=!0}));t.getSerifFonts=c;var l=(0,a.getLookupTableFactory)((function(e){e.Dingbats=!0,e.Symbol=!0,e.ZapfDingbats=!0}));t.getSymbolsFonts=l;var u=(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[200]=193,e[203]=205,e[210]=218,e[223]=711,e[224]=321,e[225]=322,e[226]=352,e[227]=353,e[228]=381,e[229]=382,e[233]=221,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[267]=282,e[268]=283,e[269]=313,e[275]=323,e[276]=324,e[278]=328,e[283]=344,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[672]=1488,e[673]=1489,e[674]=1490,e[675]=1491,e[676]=1492,e[677]=1493,e[678]=1494,e[679]=1495,e[680]=1496,e[681]=1497,e[682]=1498,e[683]=1499,e[684]=1500,e[685]=1501,e[686]=1502,e[687]=1503,e[688]=1504,e[689]=1505,e[690]=1506,e[691]=1507,e[692]=1508,e[693]=1509,e[694]=1510,e[695]=1511,e[696]=1512,e[697]=1513,e[698]=1514,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]=
27826,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}));t.getGlyphMapForStandardFonts=u;var h=(0,a.getLookupTableFactory)((function(e){e[227]=322,e[264]=261,e[291]=346}));t.getSupplementalGlyphMapForArialBlack=h;var f=(0,a.getLookupTableFactory)((function(e){e[1]=32,e[4]=65,e[6]=193,e[17]=66,e[18]=67,e[21]=268,e[24]=68,e[28]=69,e[30]=201,e[32]=282,e[38]=70,e[39]=71,e[44]=72,e[47]=73,e[49]=205,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[92]=344,e[94]=83,e[97]=352,e[100]=84,e[104]=85,e[115]=86,e[116]=87,e[121]=88,e[122]=89,e[124]=221,e[127]=90,e[129]=381,e[258]=97,e[260]=225,e[268]=261,e[271]=98,e[272]=99,e[273]=263,e[275]=269,e[282]=100,e[286]=101,e[288]=233,e[290]=283,e[295]=281,e[296]=102,e[336]=103,e[346]=104,e[349]=105,e[351]=237,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[398]=345,e[400]=115,e[401]=347,e[403]=353,e[410]=116,e[437]=117,e[448]=118,e[449]=119,e[454]=120,e[455]=121,e[457]=253,e[460]=122,e[462]=382,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}));t.getSupplementalGlyphMapForCalibri=f},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.ToUnicodeMap=t.IdentityToUnicodeMap=void 0;var a=r(2),n=function(){return v((function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];m(this,e),this._map=t}),[{key:"length",get:function(){return this._map.length}},{key:"forEach",value:function(e){for(var t in this._map)e(t,this._map[t].charCodeAt(0))}},{key:"has",value:function(e){return void 0!==this._map[e]}},{key:"get",value:function(e){return this._map[e]}},{key:"charCodeOf",value:function(e){var t=this._map;if(t.length<=65536)return t.indexOf(e);for(var r in t)if(t[r]===e)return 0|r;return-1}},{key:"amend",value:function(e){for(var t in e)this._map[t]=e[t]}}])}();t.ToUnicodeMap=n;var i=function(){return v((function e(t,r){m(this,e),this.firstChar=t,this.lastChar=r}),[{key:"length",get:function(){return this.lastChar+1-this.firstChar}}
2,{key:"forEach",value:function(e){for(var t=this.firstChar,r=this.lastChar;t<=r;t++)e(t,t)}},{key:"has",value:function(e){return this.firstChar<=e&&e<=this.lastChar}},{key:"get",value:function(e){if(this.firstChar<=e&&e<=this.lastChar)return String.fromCharCode(e)}},{key:"charCodeOf",value:function(e){return Number.isInteger(e)&&e>=this.firstChar&&e<=this.lastChar?e:-1}},{key:"amend",value:function(e){(0,a.unreachable)("Should not call amend()")}}])}();t.IdentityToUnicodeMap=i},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.CFFFont=void 0;var a=r(35),n=r(38),i=r(2),o=function(){return v((function e(t,r){m(this,e),this.properties=r;var o=new a.CFFParser(t,r,n.SEAC_ANALYSIS_ENABLED);this.cff=o.parse(),this.cff.duplicateFirstGlyph();var s=new a.CFFCompiler(this.cff);this.seacs=this.cff.seacs;try{this.data=s.compile()}catch(c){(0,i.warn)("Failed to compile font "+r.loadedName),this.data=t}this._createBuiltInEncoding()}),[{key:"numGlyphs",get:function(){return this.cff.charStrings.count}},{key:"getCharset",value:function(){return this.cff.charset.charset}},{key:"getGlyphMapping",value:function(){var e,t,r=this.cff,a=this.properties,i=r.charset.charset;if(a.composite){if(e=Object.create(null),r.isCIDFont)for(t=0;t<i.length;t++){var o=i[t];e[a.cMap.charCodeOf(o)]=t}else for(t=0;t<r.charStrings.count;t++)e[a.cMap.charCodeOf(t)]=t;return e}var s=r.encoding?r.encoding.encoding:null;return a.isInternalFont&&(s=a.defaultEncoding),e=(0,n.type1FontGlyphMapping)(a,s,i)}},{key:"hasGlyphId",value:function(e){return this.cff.hasGlyphId(e)}},{key:"_createBuiltInEncoding",value:function(){var e=this.cff,t=e.charset,r=e.encoding;if(t&&r){var a=t.charset,n=r.encoding,i=[];for(var o in n){var s=n[o];if(s>=0){var c=a[s];c&&(i[o]=c)}}i.length>0&&(this.properties.builtInEncoding=i)}}}])}();t.CFFFont=o},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.FontRendererFactory=void 0;var a=r(2),n=r(35),i=r(39),o=r(37),s=r(10);function c(e,t){return(e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3])>>>0}function h(e,t){return e[t]<<8|e[t+1]}function f(e,t){return(e[t]<<24|e[t+1]<<16)>>16}function d(e,t){return e[t]<<24>>24}function g(e,t){return f(e,t)/16384}function p(e){var t=e.length,r=32768;return t<1240?r=107:t<33900&&(r=1131),r}function b(e,t,r){var n,i,o,s=1===h(e,t+2)?c(e,t+8):c(e,t+16),l=h(e,t+s);if(4===l){h(e,t+s+2);var u=h(e,t+s+6)>>1;for(i=t+s+14,n=[],o=0;o<u;o++,i+=2)n[o]={end:h(e,i)};for(i+=2,o=0;o<u;o++,i+=2)n[o].start=h(e,i);for(o=0;o<u;o++,i+=2)n[o].idDelta=h(e,i);for(o=0;o<u;o++,i+=2){var f=h(e,i);if(0!==f){n[o].ids=[];for(var d=0,g=n[o].end-n[o].start+1;d<g;d++)n[o].ids[d]=h(e,i+f),f+=2}}return n}if(12===l){var p=c(e,t+s+12);for(i=t+s+16,n=[],o=0;o<p;o++)t=c(e,i),n.push({start:t,end:c(e,i+4),idDelta:c(e,i+8)-t}),i+=12;return n}throw new a.FormatError("unsupported cmap: ".concat(l))}function y(e,t,r,a){var i=new n.CFFParser(new s.Stream(e,t,r-t),{},a).parse();return{glyphs:i.charStrings.objects,subrs:i.topDict.privateDict&&i.topDict.privateDict.subrsIndex&&i.topDict.privateDict.subrsIndex.objects,gsubrs:i.globalSubrIndex&&i.globalSubrIndex.objects,isCFFCIDFont:i.isCIDFont,fdSelect:i.fdSelect,fdArray:i.fdArray}}function k(e,t){for(var r=t.codePointAt(0),a=0,n=0,i=e.length-1;n<i;){var o=n+i+1>>1;r<e[o].start?i=o-1:n=o}return e[n].start<=r&&r<=e[n].end&&(a=e[n].idDelta+(e[n].ids?e[n].ids[r-e[n].start]:r)&65535),{charCode:r,glyphId:a}}function w(e,t,r){function a(e,r){t.push({cmd:"moveTo",args:[e,r]})}function n(e,r){t.push({cmd:"lineTo",args:[e,r]})}function i(e,r,a,n){t.push({cmd:"quadraticCurveTo",args:[e,r,a,n]})}var o,s=0,c=f(e,s),l=0,u=0;if(s+=10,c<0)do{o=h(e,s);var p=h(e,s+2);s+=4;var m=void 0,v=void 0;1&o?(2&o?(m=f(e,s),v=f(e,s+2)):(m=h(e,s),v=h(e,s+2)),s+=4):2&o?(m=d(e,s++),v=d(e,s++)):(m=e[s++],v=e[s++]),2&o?(l=m,u=v):(l=0,u=0);var b=1,y=1,k=0,x=0;8&o?(b=y=g(e,s),s+=2):64&o?(b=g(e,s),y=g(e,s+2),s+=4):128&o&&(b=g(e,s),k=g(e,s+2),x=g(e,s+4),y=g(e,s+6),s+=8);var S=r.glyphs[p];S&&(t.push({cmd:"save"},{cmd:"transform",args:[b,k,x,y,l,u]}),w(S,t,r),t.push({cmd:"restore"}))}while(32&o);else{var A,C,F=[];for(A=0;A<c;
vendor: 6,251 bytes, line 2
2A++)F.push(h(e,s)),s+=2;s+=2+h(e,s);for(var O=F.at(-1)+1,I=[];I.length<O;){var T=1;for(8&(o=e[s++])&&(T+=e[s++]);T-- >0;)I.push({flags:o})}for(A=0;A<O;A++){switch(18&I[A].flags){case 0:l+=f(e,s),s+=2;break;case 2:l-=e[s++];break;case 18:l+=e[s++]}I[A].x=l}for(A=0;A<O;A++){switch(36&I[A].flags){case 0:u+=f(e,s),s+=2;break;case 4:u-=e[s++];break;case 36:u+=e[s++]}I[A].y=u}var M=0;for(s=0;s<c;s++){var P=F[s],E=I.slice(M,P+1);if(1&E[0].flags)E.push(E[0]);else if(1&E.at(-1).flags)E.unshift(E.at(-1));else{var N={flags:1,x:(E[0].x+E.at(-1).x)/2,y:(E[0].y+E.at(-1).y)/2};E.unshift(N),E.push(N)}for(a(E[0].x,E[0].y),A=1,C=E.length;A<C;A++)1&E[A].flags?n(E[A].x,E[A].y):1&E[A+1].flags?(i(E[A].x,E[A].y,E[A+1].x,E[A+1].y),A++):i(E[A].x,E[A].y,(E[A].x+E[A+1].x)/2,(E[A].y+E[A+1].y)/2);M=P+1}}}function x(e,t,r,n){function i(e,r){t.push({cmd:"moveTo",args:[e,r]})}function s(e,r){t.push({cmd:"lineTo",args:[e,r]})}function c(e,r,a,n,i,o){t.push({cmd:"bezierCurveTo",args:[e,r,a,n,i,o]})}var l=[],u=0,h=0,f=0;!function e(d){for(var g=0;g<d.length;){var m=!1,v=d[g++],b=void 0,y=void 0,w=void 0,S=void 0,A=void 0,C=void 0,F=void 0,O=void 0;switch(v){case 1:case 3:case 18:case 23:f+=l.length>>1,m=!0;break;case 4:h+=l.pop(),i(u,h),m=!0;break;case 5:for(;l.length>0;)u+=l.shift(),h+=l.shift(),s(u,h);break;case 6:for(;l.length>0&&(s(u+=l.shift(),h),0!==l.length);)h+=l.shift(),s(u,h);break;case 7:for(;l.length>0&&(h+=l.shift(),s(u,h),0!==l.length);)s(u+=l.shift(),h);break;case 8:for(;l.length>0;)b=u+l.shift(),w=h+l.shift(),y=b+l.shift(),S=w+l.shift(),u=y+l.shift(),h=S+l.shift(),c(b,w,y,S,u,h);break;case 10:if(F=l.pop(),O=null,r.isCFFCIDFont){var I=r.fdSelect.getFDIndex(n);if(I>=0&&I<r.fdArray.length){var T=r.fdArray[I],M=void 0;T.privateDict&&T.privateDict.subrsIndex&&(M=T.privateDict.subrsIndex.objects),M&&(O=M[F+=p(M)])}else(0,a.warn)("Invalid fd index for glyph index.")}else O=r.subrs[F+r.subrsBias];O&&e(O);break;case 11:return;case 12:switch(v=d[g++]){case 34:y=(b=u+l.shift())+l.shift(),A=h+l.shift(),u=y+l.shift(),c(b,h,y,A,u,A),y=(b=u+l.shift())+l.shift(),u=y+l.shift(),c(b,A,y,h,u,h);break;case 35:b=u+l.shift(),w=h+l.shift(),y=b+l.shift(),S=w+l.shift(),u=y+l.shift(),h=S+l.shift(),c(b,w,y,S,u,h),b=u+l.shift(),w=h+l.shift(),y=b+l.shift(),S=w+l.shift(),u=y+l.shift(),h=S+l.shift(),c(b,w,y,S,u,h),l.pop();break;case 36:c(b=u+l.shift(),A=h+l.shift(),y=b+l.shift(),C=A+l.shift(),u=y+l.shift(),C),c(b=u+l.shift(),C,y=b+l.shift(),C+l.shift(),u=y+l.shift(),h);break;case 37:var P=u,E=h;b=u+l.shift(),w=h+l.shift(),y=b+l.shift(),S=w+l.shift(),u=y+l.shift(),h=S+l.shift(),c(b,w,y,S,u,h),b=u+l.shift(),w=h+l.shift(),y=b+l.shift(),S=w+l.shift(),u=y,h=S,Math.abs(u-P)>Math.abs(h-E)?u+=l.shift():h+=l.shift(),c(b,w,y,S,u,h);break;default:throw new a.FormatError("unknown operator: 12 ".concat(v))}break;case 14:if(l.length>=4){var N=l.pop(),D=l.pop();h=l.pop(),u=l.pop(),t.push({cmd:"save"},{cmd:"translate",args:[u,h]});var B=k(r.cmap,String.fromCharCode(r.glyphNameMap[o.StandardEncoding[N]]));x(r.glyphs[B.glyphId],t,r,B.glyphId),t.push({cmd:"restore"}),B=k(r.cmap,String.fromCharCode(r.glyphNameMap[o.StandardEncoding[D]])),x(r.glyphs[B.glyphId],t,r,B.glyphId)}return;case 19:case 20:g+=(f+=l.length>>1)+7>>3,m=!0;break;case 21:h+=l.pop(),i(u+=l.pop(),h),m=!0;break;case 22:i(u+=l.pop(),h),m=!0;break;case 24:for(;l.length>2;)b=u+l.shift(),w=h+l.shift(),y=b+l.shift(),S=w+l.shift(),u=y+l.shift(),h=S+l.shift(),c(b,w,y,S,u,h);u+=l.shift(),h+=l.shift(),s(u,h);break;case 25:for(;l.length>6;)u+=l.shift(),h+=l.shift(),s(u,h);b=u+l.shift(),w=h+l.shift(),y=b+l.shift(),S=w+l.shift(),u=y+l.shift(),h=S+l.shift(),c(b,w,y,S,u,h);break;case 26:for(l.length%2&&(u+=l.shift());l.length>0;)b=u,w=h+l.shift(),y=b+l.shift(),S=w+l.shift(),u=y,h=S+l.shift(),c(b,w,y,S,u,h);break;case 27:for(l.length%2&&(h+=l.shift());l.length>0;)c(b=u+l.shift(),w=h,y=b+l.shift(),S=w+l.shift(),u=y+l.shift(),h=S);break;case 28:l.push((d[g]<<24|d[g+1]<<16)>>16),g+=2;break;case 29:F=l.pop()+r.gsubrsBias,(O=r.gsubrs[F])&&e(O);break;case 30:for(;l.length>0&&(b=u,w=h+l.shift(),y=b+l.shift(),S=w+l.shift(),u=y+l.shift(),h=S+(1===l.length?l.shift():0),c(b,w,y,S,u,h),0!==l.length);)b=u+l.shift(),w=h,y=b+l.shift(),S=w+l.shift(),h=S+l.shift(),c(b,w,y,S,u=y+(1===l.length?l.shift():0),h);break;case 31:for(;l.length>0&&(b=u+l.shift(),w=h,y=b+l.shift(),S=w+l.shift(),h=S+l.shift(),c(b,w,y,S,u=y+(1===l.length?l.shift():0),h),0!==l.length);)b=u,w=h+l.shift(),y=b+l.shift(),S=w+l.shift(),u=y+l.shift(),h=S+(1===l.length?l.shift():0),c(b,w,y,S,u,h);break;default:if(v<32)throw new a.FormatError("unknown operator: ".concat(v));v<247?l.push(v-139):v<251?l.push(256*(v-247)+d[g++]+108):v<255?l.push(256*-(v-251)-d[g++]-108):(l.push((d[g]<<24|d[g+1]<<16|d[g+2]<<8|d[g+3])/65536),g+=4)}m&&(l.length=0)}}(e)}var S=[],A=function(){return v((function e(t){m(this,e),this.constructor===e&&(0,a.unreachable)("Cannot initialize CompiledFont."),this.fontMatrix=t,this.compiledGlyphs=Object.create(null),this.compiledCharCodeToGlyphId=Object.create(null)}),[{key:"getPathJs",value:function(e){var t=k(this.cmap,e),r=t.charCode,a=t.glyphId,n=this.compiledGlyphs[a];if(!n)try{n=this.compileGlyph(this.glyphs[a],a),this.compiledGlyphs[a]=n}catch(i){throw this.compiledGlyphs[a]=S,void 0===this.compiledCharCodeToGlyphId[r]&&(this.compiledCharCodeToGlyphId[r]=a),i}return void 0===this.compiledCharCodeToGlyphId[r]&&(this.compiledCharCodeToGlyphId[r]=a),n}},{key:"compileGlyph",value:function(e,t){if(!e||0===e.length||14===e[0])return S;var r=this.fontMatrix;if(this.isCFFCIDFont){var n=this.fdSelect.getFDIndex(t);n>=0&&n<this.fdArray.length?r=this.fdArray[n].getByName("FontMatrix")||a.FONT_IDENTITY_MATRIX:(0,a.warn)("Invalid fd index for glyph index.")}var i=[{cmd:"save"},{cmd:"transform",args:r.slice()},{cmd:"scale",args:["size","-size"]}];return this.compileGlyphImpl(e,i,t),i.push({cmd:"restore"}),i}},{key:"compileGlyphImpl",value:function(){(0,a.unreachable)("Children classes should implement this.")}},{key:"hasBuiltPath",value:function(e){var t=k(this.cmap,e),r=t.charCode,a=t.glyphId;return void 0!==this.compiledGlyphs[a]&&void 0!==this.compiledCharCodeToGlyphId[r]}}])}(),C=function(e){function t(e,r,a){var n;return m(this,t),(n=l(this,t,[a||[488e-6,0,0,488e-6,0,0]])).glyphs=e,n.cmap=r,n}
2return u(t,e),v(t,[{key:"compileGlyphImpl",value:function(e,t){w(e,t,this)}}])}(A),F=function(e){function t(e,r,a,n){var o;return m(this,t),(o=l(this,t,[a||[.001,0,0,.001,0,0]])).glyphs=e.glyphs,o.gsubrs=e.gsubrs||[],o.subrs=e.subrs||[],o.cmap=r,o.glyphNameMap=n||(0,i.getGlyphsUnicode)(),o.gsubrsBias=p(o.gsubrs),o.subrsBias=p(o.subrs),o.isCFFCIDFont=e.isCFFCIDFont,o.fdSelect=e.fdSelect,o.fdArray=e.fdArray,o}return u(t,e),v(t,[{key:"compileGlyphImpl",value:function(e,t,r){x(e,t,this,r)}}])}(A),O=function(){return v((function e(){m(this,e)}),null,[{key:"create",value:function(e,t){for(var r,n,i,o,s,l,u=new Uint8Array(e.data),f=h(u,4),d=0,g=12;d<f;d++,g+=16){var p=(0,a.bytesToString)(u.subarray(g,g+4)),m=c(u,g+8),v=c(u,g+12);switch(p){case"cmap":r=b(u,m);break;case"glyf":n=u.subarray(m,m+v);break;case"loca":i=u.subarray(m,m+v);break;case"head":l=h(u,m+18),s=h(u,m+50);break;case"CFF ":o=y(u,m,m+v,t)}}if(n){var k=l?[1/l,0,0,1/l,0,0]:e.fontMatrix;return new C(function(e,t,r){var a,n;r?(a=4,n=c):(a=2,n=function(e,t){return 2*h(e,t)});for(var i=[],o=n(t,0),s=a;s<t.length;s+=a){var l=n(t,s);i.push(e.subarray(o,l)),o=l}return i}(n,i,s),r,k)}return new F(o,r,e.fontMatrix,e.glyphNameMap)}}])}();t.FontRendererFactory=O},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.getMetrics=t.getFontBasicMetrics=void 0;var a=r(6),n=(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.one
2superior=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}
2)),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}
2)),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.one
2superior=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.end
2ash=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.end
2ash=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.end
2ash=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.periodce
2ntered=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}))}));t.getMetrics=n;
vendor: 11,194 bytes, line 2
2var i=(0,a.getLookupTableFactory)((function(e){e.Courier={ascent:629,descent:-157,capHeight:562,xHeight:-426},e["Courier-Bold"]={ascent:629,descent:-157,capHeight:562,xHeight:439},e["Courier-Oblique"]={ascent:629,descent:-157,capHeight:562,xHeight:426},e["Courier-BoldOblique"]={ascent:629,descent:-157,capHeight:562,xHeight:426},e.Helvetica={ascent:718,descent:-207,capHeight:718,xHeight:523},e["Helvetica-Bold"]={ascent:718,descent:-207,capHeight:718,xHeight:532},e["Helvetica-Oblique"]={ascent:718,descent:-207,capHeight:718,xHeight:523},e["Helvetica-BoldOblique"]={ascent:718,descent:-207,capHeight:718,xHeight:532},e["Times-Roman"]={ascent:683,descent:-217,capHeight:662,xHeight:450},e["Times-Bold"]={ascent:683,descent:-217,capHeight:676,xHeight:461},e["Times-Italic"]={ascent:683,descent:-217,capHeight:653,xHeight:441},e["Times-BoldItalic"]={ascent:683,descent:-217,capHeight:669,xHeight:462},e.Symbol={ascent:Math.NaN,descent:Math.NaN,capHeight:Math.NaN,xHeight:Math.NaN},e.ZapfDingbats={ascent:Math.NaN,descent:Math.NaN,capHeight:Math.NaN,xHeight:Math.NaN}}));t.getFontBasicMetrics=i},function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.GlyfTable=void 0;var r=function(){return v((function e(t){var r=t.glyfTable,n=t.isGlyphLocationsLong,i=t.locaTable,o=t.numGlyphs;m(this,e),this.glyphs=[];for(var s=new DataView(i.buffer,i.byteOffset,i.byteLength),c=new DataView(r.buffer,r.byteOffset,r.byteLength),l=n?4:2,u=n?s.getUint32(0):2*s.getUint16(0),h=0,f=0;f<o;f++){h+=l;var d=n?s.getUint32(h):2*s.getUint16(h);if(d!==u){var g=a.parse(u,c);this.glyphs.push(g),u=d}else this.glyphs.push(new a({}))}}),[{key:"getSize",value:function(){return this.glyphs.reduce((function(e,t){return e+(t.getSize()+3&-4)}),0)}},{key:"write",value:function(){var e=this.getSize(),t=new DataView(new ArrayBuffer(e)),r=e>131070,a=r?4:2,n=new DataView(new ArrayBuffer((this.glyphs.length+1)*a));r?n.setUint32(0,0):n.setUint16(0,0);var i,o=0,s=0,c=d(this.glyphs);try{for(c.s();!(i=c.n()).done;)o=(o+=i.value.write(o,t))+3&-4,s+=a,r?n.setUint32(s,o):n.setUint16(s,o>>1)}catch(l){c.e(l)}finally{c.f()}return{isLocationLong:r,loca:new Uint8Array(n.buffer),glyf:new Uint8Array(t.buffer)}}},{key:"scale",value:function(e){for(var t=0,r=this.glyphs.length;t<r;t++)this.glyphs[t].scale(e[t])}}])}();t.GlyfTable=r;var a=function(){function e(t){var r=t.header,a=void 0===r?null:r,n=t.simple,i=void 0===n?null:n,o=t.composites,s=void 0===o?null:o;m(this,e),this.header=a,this.simple=i,this.composites=s}return v(e,[{key:"getSize",value:function(){if(!this.header)return 0;var e=this.simple?this.simple.getSize():this.composites.reduce((function(e,t){return e+t.getSize()}),0);return this.header.getSize()+e}},{key:"write",value:function(e,t){if(!this.header)return 0;var r=e;if(e+=this.header.write(e,t),this.simple)e+=this.simple.write(e,t);else{var a,n=d(this.composites);try{for(n.s();!(a=n.n()).done;)e+=a.value.write(e,t)}catch(i){n.e(i)}finally{n.f()}}return e-r}},{key:"scale",value:function(e){if(this.header){var t=(this.header.xMin+this.header.xMax)/2;if(this.header.scale(t,e),this.simple)this.simple.scale(t,e);else{var r,a=d(this.composites);try{for(a.s();!(r=a.n()).done;)r.value.scale(t,e)}catch(n){a.e(n)}finally{a.f()}}}}}],[{key:"parse",value:function(t,r){var a=n.parse(t,r),i=g(a,2),c=i[0],l=i[1];if(t+=c,l.numberOfContours<0){for(var u=[];;){var h=s.parse(t,r),f=g(h,2),d=f[0],p=f[1];if(t+=d,u.push(p),!(32&p.flags))break}return new e({header:l,composites:u})}return new e({header:l,simple:o.parse(t,r,l.numberOfContours)})}}])}(),n=function(){function e(t){var r=t.numberOfContours,a=t.xMin,n=t.yMin,i=t.xMax,o=t.yMax;m(this,e),this.numberOfContours=r,this.xMin=a,this.yMin=n,this.xMax=i,this.yMax=o}return v(e,[{key:"getSize",value:function(){return 10}},{key:"write",value:function(e,t){return t.setInt16(e,this.numberOfContours),t.setInt16(e+2,this.xMin),t.setInt16(e+4,this.yMin),t.setInt16(e+6,this.xMax),t.setInt16(e+8,this.yMax),10}},{key:"scale",value:function(e,t){this.xMin=Math.round(e+(this.xMin-e)*t),this.xMax=Math.round(e+(this.xMax-e)*t)}}],[{key:"parse",value:function(t,r){return[10,new e({numberOfContours:r.getInt16(t),xMin:r.getInt16(t+2),yMin:r.getInt16(t+4),xMax:r.getInt16(t+6),yMax:r.getInt16(t+8)})]}}])}(),i=v((function e(t){var r=t.flags,a=t.xCoordinates,n=t.yCoordinates;m(this,e),this.xCoordinates=a,this.yCoordinates=n,this.flags=r})),o=function(){function e(t){var r=t.contours,a=t.instructions;m(this,e),this.contours=r,this.instructions=a}return v(e,[{key:"getSize",value:function(){var e,t=2*this.contours.length+2+this.instructions.length,r=0,a=0,n=d(this.contours);try{for(n.s();!(e=n.n()).done;){var i=e.value;t+=i.flags.length;for(var o=0,s=i.xCoordinates.length;o<s;o++){var c=i.xCoordinates[o],l=i.yCoordinates[o],u=Math.abs(c-r);u>255?t+=2:u>0&&(t+=1),r=c,(u=Math.abs(l-a))>255?t+=2:u>0&&(t+=1),a=l}}}catch(h){n.e(h)}finally{n.f()}return t}},{key:"write",value:function(e,t){var r,a=e,n=[],i=[],o=[],s=0,c=0,l=d(this.contours);try{for(l.s();!(r=l.n()).done;){for(var u=r.value,h=0,f=u.xCoordinates.length;h<f;h++){var g=u.flags[h],p=u.xCoordinates[h],m=p-s;if(0===m)g|=16,n.push(0);else{var v=Math.abs(m);v<=255?(g|=m>=0?18:2,n.push(v)):n.push(m)}s=p;var b=u.yCoordinates[h];if(0===(m=b-c))g|=32,i.push(0);else{var y=Math.abs(m);y<=255?(g|=m>=0?36:4,i.push(y)):i.push(m)}c=b,o.push(g)}t.setUint16(e,n.length-1),e+=2}}catch(P){l.e(P)}finally{l.f()}t.setUint16(e,this.instructions.length),e+=2,this.instructions.length&&(new Uint8Array(t.buffer,0,t.buffer.byteLength).set(this.instructions,e),e+=this.instructions.length);for(var k=0,w=o;k<w.length;k++){var x=w[k];t.setUint8(e++,x)}for(var S=0,A=n.length;S<A;S++){var C=n[S],F=o[S];2&F?t.setUint8(e++,C):16&F||(t.setInt16(e,C),e+=2)}for(var O=0,I=i.length;O<I;O++){var T=i[O],M=o[O];4&M?t.setUint8(e++,T):32&M||(t.setInt16(e,T),e+=2)}return e-a}},{key:"scale",value:function(e,t){var r,a=d(this.contours);try{for(a.s();!(r=a.n()).done;){var n=r.value;if(0!==n.xCoordinates.length)for(var i=0,o=n.xCoordinates.length;i<o;i++)n.xCoordinates[i]=Math.round(e+(n.xCoordinates[i]-e)*t)}}catch(s){a.e(s)}finally{a.f()}}}],[{key:"parse",value:function(t,r,a){for(var n=[],o=0;o<a;o++){var s=r.getUint16(t);t+=2,n.push(s)}var c=n[a-1]+1,l=r.getUint16(t);t+=2;var u=new Uint8Array(r).slice(t,t+l);t+=l;for(var h=[],f=0;f<c;t++,f++){var d=r.getUint8(t);if(h.push(d),8&d){var g=r.getUint8(++t);d^=8;for(var p=0;p<g;p++)h.push(d);f+=g}}for(var m=[],v=[],b=[],y=[],k=[],w=0,x=0,S=0;S<c;S++){var A=h[S];if(2&A){var C=r.getUint8(t++);x+=16&A?C:-C,v.push(x)}else 16&A||(x+=r.getInt16(t),t+=2),v.push(x);n[w]===S&&(w++,m.push(v),v=[])}x=0,w=0;for(var F=0;F<c;F++){var O=h[F];if(4&O){var I=r.getUint8(t++);x+=32&O?I:-I,b.push(x)}else 32&O||(x+=r.getInt16(t),t+=2),b.push(x);y.push(1&O|64&O),n[w]===F&&(v=m[w],w++,k.push(new i({flags:y,xCoordinates:v,yCoordinates:b})),b=[],y=[])}return new e({contours:k,instructions:u})}}])}(),s=function(){function e(t){var r=t.flags,a=t.glyphIndex,n=t.argument1,i=t.argument2,o=t.transf,s=t.instructions;m(this,e),this.flags=r,this.glyphIndex=a,this.argument1=n,this.argument2=i,this.transf=o,this.instructions=s}return v(e,[{key:"getSize",value:function(){var e=4+2*this.transf.length;return 256&this.flags&&(e+=2+this.instructions.length),e+=2,2&this.flags?this.argument1>=-128&&this.argument1<=127&&this.argument2>=-128&&this.argument2<=127||(e+=2):this.argument1>=0&&this.argument1<=255&&this.argument2>=0&&this.argument2<=255||(e+=2),e}},{key:"write",value:function(e,t){var r=e;return 2&this.flags?this.argument1>=-128&&this.argument1<=127&&this.argument2>=-128&&this.argument2<=127||(this.flags|=1):this.argument1>=0&&this.argument1<=255&&this.argument2>=0&&this.argument2<=255||(this.flags|=1),t.setUint16(e,this.flags),t.setUint16(e+2,this.glyphIndex),e+=4,1&this.flags?(2&this.flags?(t.setInt16(e,this.argument1),t.setInt16(e+2,this.argument2)):(t.setUint16(e,this.argument1),t.setUint16(e+2,this.argument2)),e+=4):(t.setUint8(e,this.argument1),t.setUint8(e+1,this.argument2),e+=2),256&this.flags&&(t.setUint16(e,this.instructions.length),e+=2,this.instructions.length&&(new Uint8Array(t.buffer,0,t.buffer.byteLength).set(this.instructions,e),e+=this.instructions.length)),e-r}},{key:"scale",value:function(e,t){}}],[{key:"parse",value:function(t,r){var a,n,i=t,o=[],s=r.getUint16(t),c=r.getUint16(t+2);t+=4,1&s?(2&s?(a=r.getInt16(t),n=r.getInt16(t+2)):(a=r.getUint16(t),n=r.getUint16(t+2)),t+=4,s^=1):(2&s?(a=r.getInt8(t),n=r.getInt8(t+1)):(a=r.getUint8(t),n=r.getUint8(t+1)),t+=2),8&s?(o.push(r.getUint16(t)),t+=2):64&s?(o.push(r.getUint16(t),r.getUint16(t+2)),t+=4):128&s&&(o.push(r.getUint16(t),r.getUint16(t+2),r.getUint16(t+4),r.getUint16(t+6)),t+=8);var l=null;if(256&s){var u=r.getUint16(t);t+=2,l=new Uint8Array(r).slice(t,t+u),t+=u}return[t-i,new e({flags:s,glyphIndex:c,argument1:a,argument2:n,transf:o,instructions:l})]}}])}()},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.OpenTypeFileBuilder=void 0;var a=r(6),n=r(2);function i(e,t,r){e[t]=r>>8&255,e[t+1]=255&r}function o(e,t,r){e[t]=r>>24&255,e[t+1]=r>>16&255,e[t+2]=r>>8&255,e[t+3]=255&r}function s(e,t,r){if(r instanceof Uint8Array)e.set(r,t);else if("string"===typeof r)for(var a=0,n=r.length;a<n;a++)e[t++]=255&r.charCodeAt(a);else for(var i=0,o=r.length;i<o;i++)e[t++]=255&r[i]}var c=function(){function e(t){m(this,e),this.sfnt=t,this.tables=Object.create(null)}return v(e,[{key:"toArray",value:function(){var t=this.sfnt,r=this.tables,c=Object.keys(r);c.sort();var l,u,h,f,d,g=c.length,p=12+16*g,m=[p];for(l=0;l<g;l++)p+=((f=r[c[l]]).length+3&-4)>>>0,m.push(p);var v=new Uint8Array(p);for(l=0;l<g;l++)f=r[c[l]],s(v,m[l],f);"true"===t&&(t=(0,n.string32)(65536)),v[0]=255&t.charCodeAt(0),v[1]=255&t.charCodeAt(1),v[2]=255&t.charCodeAt(2),v[3]=255&t.charCodeAt(3),i(v,4,g);var b=e.getSearchParams(g,16);for(i(v,6,b.range),i(v,8,b.entry),i(v,10,b.rangeShift),p=12,l=0;l<g;l++){d=c[l],v[p]=255&d.charCodeAt(0),v[p+1]=255&d.charCodeAt(1),v[p+2]=255&d.charCodeAt(2),v[p+3]=255&d.charCodeAt(3);var y=0;for(u=m[l],h=m[l+1];u<h;u+=4)y=y+(0,a.readUint32)(v,u)>>>0;o(v,p+4,y),o(v,p+8,m[l]),o(v,p+12,r[d].length),p+=16}return v}},{key:"addTable",value:function(e,t){if(e in this.tables)throw new Error("Table "+e+" already exists");this.tables[e]=t}}],[{key:"getSearchParams",value:function(e,t){for(var r=1,a=0;(r^e)>r;)r<<=1,a++;var n=r*t;return{range:n,entry:a,rangeShift:t*e-n}}}])}();t.OpenTypeFileBuilder=c},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.Type1Font=void 0;var a=r(35),n=r(38),i=r(6),o=r(10),s=r(49),c=r(2);function l(e,t,r){for(var a=e.length,n=t.length,o=a-n,s=r,c=!1;s<o;){for(var l=0;l<n&&e[s+l]===t[l];)l++;if(l>=n){for(s+=l;s<a&&(0,i.isWhiteSpace)(e[s]);)s++;c=!0;break}s++}return{found:c,length:s}}var u=function(){return v((function e(t,r,a){m(this,e);var i=a.length1,u=(a.length2,r.peekBytes(6)),h=128===u[0]&&1===u[1];h&&(r.skip(6),i=u[5]<<24|u[4]<<16|u[3]<<8|u[2]);var f=function(e,t){var r,a,n,i,s=[101,101,120,101,99],u=e.pos;try{a=(r=e.getBytes(t)).length}catch(h){}if(a===t&&(n=l(r,s,t-2*s.length)).found&&n.length===t)return{stream:new o.Stream(r),length:t};for((0,c.warn)('Invalid "Length1" property in Type1 font -- trying to re
2cover.'),e.pos=u;0!==(n=l(e.peekBytes(2048),s,0)).length;)if(e.pos+=n.length,n.found){i=e.pos-u;break}return e.pos=u,i?{stream:new o.Stream(e.getBytes(i)),length:i}:((0,c.warn)('Unable to recover "Length1" property in Type1 font -- using as is.'),{stream:new o.Stream(e.getBytes(t)),length:t})}(r,i);new s.Type1Parser(f.stream,!1,n.SEAC_ANALYSIS_ENABLED).extractFontHeader(a),h&&((u=r.getBytes(6))[5],u[4],u[3],u[2]);var d=function(e,t){var r=e.getBytes();return{stream:new o.Stream(r),length:r.length}}(r),g=new s.Type1Parser(d.stream,!0,n.SEAC_ANALYSIS_ENABLED).extractFontProgram(a);for(var p in g.properties)a[p]=g.properties[p];var v=g.charstrings,b=this.getType2Charstrings(v),y=this.getType2Subrs(g.subrs);this.charstrings=v,this.data=this.wrap(t,b,this.charstrings,y,a),this.seacs=this.getSeacs(g.charstrings)}),[{key:"numGlyphs",get:function(){return this.charstrings.length+1}},{key:"getCharset",value:function(){var e,t=[".notdef"],r=d(this.charstrings);try{for(r.s();!(e=r.n()).done;){var a=e.value.glyphName;t.push(a)}}catch(n){r.e(n)}finally{r.f()}return t}},{key:"getGlyphMapping",value:function(e){var t=this.charstrings;if(e.composite){for(var r=Object.create(null),a=0,i=t.length;a<i;a++)r[e.cMap.charCodeOf(a)]=a+1;return r}var o,s,c=[".notdef"];for(s=0;s<t.length;s++)c.push(t[s].glyphName);var l=e.builtInEncoding;if(l)for(var u in o=Object.create(null),l)(s=c.indexOf(l[u]))>=0&&(o[u]=s);return(0,n.type1FontGlyphMapping)(e,o,c)}},{key:"hasGlyphId",value:function(e){return!(e<0||e>=this.numGlyphs)&&(0===e||this.charstrings[e-1].charstring.length>0)}},{key:"getSeacs",value:function(e){for(var t=[],r=0,a=e.length;r<a;r++){var n=e[r];n.seac&&(t[r+1]=n.seac)}return t}},{key:"getType2Charstrings",value:function(e){for(var t=[],r=0,a=e.length;r<a;r++)t.push(e[r].charstring);return t}},{key:"getType2Subrs",value:function(e){var t=0,r=e.length;t=r<1133?107:r<33769?1131:32768;var a,n=[];for(a=0;a<t;a++)n.push([11]);for(a=0;a<r;a++)n.push(e[a]);return n}},{key:"wrap",value:function(e,t,r,n,i){var o=new a.CFF;o.header=new a.CFFHeader(1,0,4,4),o.names=[e];var s=new a.CFFTopDict;s.setByName("version",391),s.setByName("Notice",392),s.setByName("FullName",393),s.setByName("FamilyName",394),s.setByName("Weight",395),s.setByName("Encoding",null),s.setByName("FontMatrix",i.fontMatrix),s.setByName("FontBBox",i.bbox),s.setByName("charset",null),s.setByName("CharStrings",null),s.setByName("Private",null),o.topDict=s;var c=new a.CFFStrings;c.add("Version 0.11"),c.add("See original notice"),c.add(e),c.add(e),c.add("Medium"),o.strings=c,o.globalSubrIndex=new a.CFFIndex;var l,u,h=t.length,f=[".notdef"];for(l=0;l<h;l++){var d=r[l].glyphName;-1===a.CFFStandardStrings.indexOf(d)&&c.add(d),f.push(d)}o.charset=new a.CFFCharset(!1,0,f);var g=new a.CFFIndex;for(g.add([139,14]),l=0;l<h;l++)g.add(t[l]);o.charStrings=g;var p=new a.CFFPrivateDict;p.setByName("Subrs",null);var m=["BlueValues","OtherBlues","FamilyBlues","FamilyOtherBlues","StemSnapH","StemSnapV","BlueShift","BlueFuzz","BlueScale","LanguageGroup","ExpansionFactor","ForceBold","StdHW","StdVW"];for(l=0,u=m.length;l<u;l++){var v=m[l];if(v in i.privateData){var b=i.privateData[v];if(Array.isArray(b))for(var y=b.length-1;y>0;y--)b[y]-=b[y-1];p.setByName(v,b)}}o.topDict.privateDict=p;var k=new a.CFFIndex;for(l=0,u=n.length;l<u;l++)k.add(n[l]);return p.subrsIndex=k,new a.CFFCompiler(o).compile()}}])}();t.Type1Font=u},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.Type1Parser=void 0;var a=r(37),n=r(6),i=r(10),o=r(2),s=[4],l=[5],u=[6],h=[7],f=[8],d=[12,35],g=[14],p=[21],b=[22],y=[30],k=[31],w=function(){return v((function e(){m(this,e),this.width=0,this.lsb=0,this.flexing=!1,this.output=[],this.stack=[]}),[{key:"convert",value:function(e,t,r){for(var a,n,i,c=e.length,m=!1,v=0;v<c;v++){var w=e[v];if(w<32){switch(12===w&&(w=(w<<8)+e[++v]),w){case 1:case 3:case 9:case 3072:case 3073:case 3074:case 3105:this.stack=[];break;case 4:if(this.flexing){if(this.stack.length<1){m=!0;break}var x=this.stack.pop();this.stack.push(0,x);break}m=this.executeCommand(1,s);break;case 5:m=this.executeCommand(2,l);break;case 6:m=this.executeCommand(1,u);break;case 7:m=this.executeCommand(1,h);break;case 8:m=this.executeCommand(6,f);break;case 10:if(this.stack.length<1){m=!0;break}if(!t[i=this.stack.pop()]){m=!0;break}m=this.convert(t[i],t,r);break;case 11:return m;case 13:if(this.stack.length<2){m=!0;break}a=this.stack.pop(),n=this.stack.pop(),this.lsb=n,this.width=a,this.stack.push(a,n),m=this.executeCommand(2,b);break;case 14:this.output.push(g[0]);break;case 21:if(this.flexing)break;m=this.executeCommand(2,p);break;case 22:if(this.flexing){this.stack.push(0);break}m=this.executeCommand(1,b);break;case 30:m=this.executeCommand(4,y);break;case 31:m=this.executeCommand(4,k);break;case 3078:if(r){var S=this.stack.at(-5);this.seac=this.stack.splice(-4,4),this.seac[0]+=this.lsb-S,m=this.executeCommand(0,g)}else m=this.executeCommand(4,g);break;case 3079:if(this.stack.length<4){m=!0;break}this.stack.pop(),a=this.stack.pop();var A=this.stack.pop();n=this.stack.pop(),this.lsb=n,this.width=a,this.stack.push(a,n,A),m=this.executeCommand(3,p);break;case 3084:if(this.stack.length<2){m=!0;break}var C=this.stack.pop(),F=this.stack.pop();this.stack.push(F/C);break;case 3088:if(this.stack.length<2){m=!0;break}i=this.stack.pop();var O=this.stack.pop();if(0===i&&3===O){var I=this.stack.splice(this.stack.length-17,17);this.stack.push(I[2]+I[0],I[3]+I[1],I[4],I[5],I[6],I[7],I[8],I[9],I[10],I[11],I[12],I[13],I[14]),m=this.executeCommand(13,d,!0),this.flexing=!1,this.stack.push(I[15],I[16])}else 1===i&&0===O&&(this.flexing=!0);break;case 3089:break;default:(0,o.warn)('Unknown type 1 charstring command of "'+w+'"')}if(m)break}else w<=246?w-=139:w=w<=250?256*(w-247)+e[++v]+108:w<=254?-256*(w-251)-e[++v]-108:(255&e[++v])<<24|(255&e[++v])<<16|(255&e[++v])<<8|255&e[++v],this.stack.push(w)}return m}},{key:"executeCommand",value:function(e,t,r){var a,n=this.stack.length;if(e>n)return!0;for(var i=n-e,o=i;o<n;o++){var s=this.stack[o];Number.isInteger(s)?this.output.push(28,s>>8&255,255&s):(s=65536*s|0,this.output.push(255,s>>24&255,s>>16&255,s>>8&255,255&s))}return(a=this.output).push.apply(a,c(t)),r?this.stack.splice(i,e):this.stack.length=0,!1}}])}();function x(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function S(e,t,r){if(r>=e.length)return new Uint8Array(0);var a,n,i=0|t;for(a=0;a<r;a++)i=52845*(e[a]+i)+22719&65535;var o=e.length-r,s=new Uint8Array(o);for(a=r,n=0;n<o;a++,n++){var c=e[a];s[n]=c^i>>8,i=52845*(c+i)+22719&65535}return s}function A(e){return 47===e||91===e||93===e||123===e||125===e||40===e||41===e}var C=function(){return v((function e(t,r,a){if(m(this,e),r){var o=t.getBytes(),s=!((x(o[0])||
vendor: 4,078 bytes, line 2
2(0,n.isWhiteSpace)(o[0]))&&x(o[1])&&x(o[2])&&x(o[3])&&x(o[4])&&x(o[5])&&x(o[6])&&x(o[7]));t=new i.Stream(s?S(o,55665,4):function(e,t,r){var a,n,i=0|t,o=e.length,s=new Uint8Array(o>>>1);for(a=0,n=0;a<o;a++){var c=e[a];if(x(c)){a++;for(var l=void 0;a<o&&!x(l=e[a]);)a++;if(a<o){var u=parseInt(String.fromCharCode(c,l),16);s[n++]=u^i>>8,i=52845*(u+i)+22719&65535}}}return s.slice(r,n)}(o,55665,4))}this.seacAnalysisEnabled=!!a,this.stream=t,this.nextChar()}),[{key:"readNumberArray",value:function(){this.getToken();for(var e=[];;){var t=this.getToken();if(null===t||"]"===t||"}"===t)break;e.push(parseFloat(t||0))}return e}},{key:"readNumber",value:function(){var e=this.getToken();return parseFloat(e||0)}},{key:"readInt",value:function(){var e=this.getToken();return 0|parseInt(e||0,10)}},{key:"readBoolean",value:function(){return"true"===this.getToken()?1:0}},{key:"nextChar",value:function(){return this.currentChar=this.stream.getByte()}},{key:"prevChar",value:function(){return this.stream.skip(-2),this.currentChar=this.stream.getByte()}},{key:"getToken",value:function(){for(var e=!1,t=this.currentChar;;){if(-1===t)return null;if(e)10!==t&&13!==t||(e=!1);else if(37===t)e=!0;else if(!(0,n.isWhiteSpace)(t))break;t=this.nextChar()}if(A(t))return this.nextChar(),String.fromCharCode(t);var r="";do{r+=String.fromCharCode(t),t=this.nextChar()}while(t>=0&&!(0,n.isWhiteSpace)(t)&&!A(t));return r}},{key:"readCharStrings",value:function(e,t){return-1===t?e:S(e,4330,t)}},{key:"extractFontProgram",value:function(e){var t=this.stream,r=[],a=[],n=Object.create(null);n.lenIV=4;for(var i,o,s,c,l={subrs:[],charstrings:[],properties:{privateData:n}};null!==(i=this.getToken());)if("/"===i)switch(i=this.getToken()){case"CharStrings":for(this.getToken(),this.getToken(),this.getToken(),this.getToken();null!==(i=this.getToken())&&"end"!==i;)if("/"===i){var u=this.getToken();o=this.readInt(),this.getToken(),s=o>0?t.getBytes(o):new Uint8Array(0),c=l.properties.privateData.lenIV;var h=this.readCharStrings(s,c);this.nextChar(),"noaccess"===(i=this.getToken())?this.getToken():"/"===i&&this.prevChar(),a.push({glyph:u,encoded:h})}break;case"Subrs":for(this.readInt(),this.getToken();"dup"===this.getToken();){var f=this.readInt();o=this.readInt(),this.getToken(),s=o>0?t.getBytes(o):new Uint8Array(0),c=l.properties.privateData.lenIV;var d=this.readCharStrings(s,c);this.nextChar(),"noaccess"===(i=this.getToken())&&this.getToken(),r[f]=d}break;case"BlueValues":case"OtherBlues":case"FamilyBlues":case"FamilyOtherBlues":var g=this.readNumberArray();g.length>0&&g.length;break;case"StemSnapH":case"StemSnapV":l.properties.privateData[i]=this.readNumberArray();break;case"StdHW":case"StdVW":l.properties.privateData[i]=this.readNumberArray()[0];break;case"BlueShift":case"lenIV":case"BlueFuzz":case"BlueScale":case"LanguageGroup":case"ExpansionFactor":l.properties.privateData[i]=this.readNumber();break;case"ForceBold":l.properties.privateData[i]=this.readBoolean()}for(var p=0,m=a;p<m.length;p++){var v=m[p],b=v.encoded,y=v.glyph,k=new w,x=k.convert(b,r,this.seacAnalysisEnabled),S=k.output;x&&(S=[14]);var A={glyphName:y,charstring:S,width:k.width,lsb:k.lsb,seac:k.seac};if(".notdef"===y?l.charstrings.unshift(A):l.charstrings.push(A),e.builtInEncoding){var C=e.builtInEncoding.indexOf(y);C>-1&&void 0===e.widths[C]&&C>=e.firstChar&&C<=e.lastChar&&(e.widths[C]=k.width)}}return l}},{key:"extractFontHeader",value:function(e){for(var t;null!==(t=this.getToken());)if("/"===t)switch(t=this.getToken()){case"FontMatrix":var r=this.readNumberArray();e.fontMatrix=r;break;case"Encoding":var n=this.getToken(),i=void 0;if(/^\d+$/.test(n)){i=[];var o=0|parseInt(n,10);this.getToken();for(var s=0;s<o;s++){for(t=this.getToken();"dup"!==t&&"def"!==t;)if(null===(t=this.getToken()))return;if("def"===t)break;var c=this.readInt();this.getToken();var l=this.getToken();i[c]=l,this.getToken()}}else i=(0,a.getEncoding)(n);e.builtInEncoding=i;break;case"FontBBox":var u=this.readNumberArray();e.ascent=Math.max(u[3],u[1]),e.descent=Math.min(u[1],u[3]),e.ascentScaled=!0}}}])}();t.Type1Parser=C}
2,function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.Pattern=void 0,t.getTilingPatternIR=function(e,t,r){var n=t.getArray("Matrix"),i=a.Util.normalizeRect(t.getArray("BBox")),o=t.get("XStep"),s=t.get("YStep"),c=t.get("PaintType"),l=t.get("TilingType");if(i[2]-i[0]===0||i[3]-i[1]===0)throw new a.FormatError("Invalid getTilingPatternIR /BBox array: [".concat(i,"]."));return["TilingPattern",r,e,n,i,o,s,c,l]};var a=r(2),i=r(7),o=r(14),s=r(6),c=2,h=3,f=4,d=5,p=6,b=7,y=function(){return v((function e(){m(this,e),(0,a.unreachable)("Cannot initialize Pattern.")}),null,[{key:"parseShading",value:function(e,t,r,n,o,l){var u=e instanceof i.BaseStream?e.dict:e,g=u.get("ShadingType");try{switch(g){case c:case h:return new w(u,t,r,o,l);case f:case d:case p:case b:return new A(e,t,r,o,l);default:throw new a.FormatError("Unsupported ShadingType: "+g)}}catch(m){if(m instanceof s.MissingDataException)throw m;return n.send("UnsupportedFeature",{featureId:a.UNSUPPORTED_FEATURES.shadingPattern}),(0,a.warn)(m),new C}}}])}();t.Pattern=y;var k=function(){return v((function e(){m(this,e),this.constructor===e&&(0,a.unreachable)("Cannot initialize BaseShading.")}),[{key:"getIR",value:function(){(0,a.unreachable)("Abstract method `getIR` called.")}}],[{key:"SMALL_NUMBER",get:function(){return(0,a.shadow)(this,"SMALL_NUMBER",1e-6)}}])}(),w=function(e){function t(e,r,i,s,c){var u;m(this,t),(u=l(this,t)).coordsArr=e.getArray("Coords"),u.shadingType=e.get("ShadingType");var f=o.ColorSpace.parse({cs:e.getRaw("CS")||e.getRaw("ColorSpace"),xref:r,resources:i,pdfFunctionFactory:s,localColorSpaceCache:c}),d=e.getArray("BBox");Array.isArray(d)&&4===d.length?u.bbox=a.Util.normalizeRect(d):u.bbox=null;var p=0,v=1;if(e.has("Domain")){var b=e.getArray("Domain");p=b[0],v=b[1]}var y=!1,w=!1;if(e.has("Extend")){var x=e.getArray("Extend");y=x[0],w=x[1]}if(u.shadingType===h&&(!y||!w)){var S=g(u.coordsArr,6),A=S[0],C=S[1],F=S[2],O=S[3],I=S[4],T=S[5],M=Math.hypot(A-O,C-I);F<=T+M&&T<=F+M&&(0,a.warn)("Unsupported radial gradient.")}u.extendStart=y,u.extendEnd=w;var P=e.getRaw("Function"),E=s.createFromArray(P),N=(v-p)/10,D=u.colorStops=[];if(p>=v||N<=0)return(0,a.info)("Bad shading domain."),n(u);for(var B,L=new Float32Array(f.numComps),R=new Float32Array(1),_=0;_<=10;_++){R[0]=p+_*N,E(R,0,L,0),B=f.getRgb(L,0);var j=a.Util.makeHexColor(B[0],B[1],B[2]);D.push([_/10,j])}var U="transparent";
2return e.has("Background")&&(B=f.getRgb(e.get("Background"),0),U=a.Util.makeHexColor(B[0],B[1],B[2])),y||(D.unshift([0,U]),D[1][0]+=k.SMALL_NUMBER),w||(D.at(-1)[0]-=k.SMALL_NUMBER,D.push([1,U])),u.colorStops=D,u}return u(t,e),v(t,[{key:"getIR",value:function(){var e,t,r,n,i,o=this.coordsArr,s=this.shadingType;return s===c?(t=[o[0],o[1]],r=[o[2],o[3]],n=null,i=null,e="axial"):s===h?(t=[o[0],o[1]],r=[o[3],o[4]],n=o[2],i=o[5],e="radial"):(0,a.unreachable)("getPattern type unknown: ".concat(s)),["RadialAxial",e,this.bbox,this.colorStops,t,r,n,i]}}])}(k),x=function(){return v((function e(t,r){m(this,e),this.stream=t,this.context=r,this.buffer=0,this.bufferLength=0;var a=r.numComps;this.tmpCompsBuf=new Float32Array(a);var n=r.colorSpace.numComps;this.tmpCsCompsBuf=r.colorFn?new Float32Array(n):this.tmpCompsBuf}),[{key:"hasData",get:function(){if(this.stream.end)return this.stream.pos<this.stream.end;if(this.bufferLength>0)return!0;var e=this.stream.getByte();return!(e<0)&&(this.buffer=e,this.bufferLength=8,!0)}},{key:"readBits",value:function(e){var t=this.buffer,r=this.bufferLength;if(32===e){if(0===r)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 a=this.stream.getByte();return this.buffer=a&(1<<r)-1,(t<<8-r|(255&a)>>r)>>>0}if(8===e&&0===r)return this.stream.getByte();for(;r<e;)t=t<<8|this.stream.getByte(),r+=8;return r-=e,this.bufferLength=r,this.buffer=t&(1<<r)-1,t>>r}},{key:"align",value:function(){this.buffer=0,this.bufferLength=0}},{key:"readFlag",value:function(){return this.readBits(this.context.bitsPerFlag)}},{key:"readCoordinate",value:function(){var e=this.context.bitsPerCoordinate,t=this.readBits(e),r=this.readBits(e),a=this.context.decode,n=e<32?1/((1<<e)-1):2.3283064365386963e-10;return[t*n*(a[1]-a[0])+a[0],r*n*(a[3]-a[2])+a[2]]}},{key:"readComponents",value:function(){for(var e=this.context.numComps,t=this.context.bitsPerComponent,r=t<32?1/((1<<t)-1):2.3283064365386963e-10,a=this.context.decode,n=this.tmpCompsBuf,i=0,o=4;i<e;i++,o+=2){var s=this.readBits(t);n[i]=s*r*(a[o+1]-a[o])+a[o]}var c=this.tmpCsCompsBuf;return this.context.colorFn&&this.context.colorFn(n,0,c,0),this.context.colorSpace.getRgb(c,0)}}])}(),S=function(){var e=[];return function(t){return e[t]||(e[t]=function(e){for(var t=[],r=0;r<=e;r++){var a=r/e,n=1-a;t.push(new Float32Array([n*n*n,3*a*n*n,3*a*a*n,a*a*a]))}return t}(t)),e[t]}}(),A=function(e){function t(e,r,n,s,c){var u;if(m(this,t),u=l(this,t),!(e instanceof i.BaseStream))throw new a.FormatError("Mesh data is not a stream");var h=e.dict;u.shadingType=h.get("ShadingType");var g=h.getArray("BBox");Array.isArray(g)&&4===g.length?u.bbox=a.Util.normalizeRect(g):u.bbox=null;var v=o.ColorSpace.parse({cs:h.getRaw("CS")||h.getRaw("ColorSpace"),xref:r,resources:n,pdfFunctionFactory:s,localColorSpaceCache:c});
vendor: 6,938 bytes, line 2
2u.background=h.has("Background")?v.getRgb(h.get("Background"),0):null;var y=h.getRaw("Function"),k=y?s.createFromArray(y):null;u.coords=[],u.colors=[],u.figures=[];var w={bitsPerCoordinate:h.get("BitsPerCoordinate"),bitsPerComponent:h.get("BitsPerComponent"),bitsPerFlag:h.get("BitsPerFlag"),decode:h.getArray("Decode"),colorFn:k,colorSpace:v,numComps:k?1:v.numComps},S=new x(e,w),A=!1;switch(u.shadingType){case f:u._decodeType4Shading(S);break;case d:var C=0|h.get("VerticesPerRow");if(C<2)throw new a.FormatError("Invalid VerticesPerRow");u._decodeType5Shading(S,C);break;case p:u._decodeType6Shading(S),A=!0;break;case b:u._decodeType7Shading(S),A=!0;break;default:(0,a.unreachable)("Unsupported mesh type.")}if(A){u._updateBounds();for(var F=0,O=u.figures.length;F<O;F++)u._buildFigureFromPatch(F)}return u._updateBounds(),u._packData(),u}return u(t,e),v(t,[{key:"_decodeType4Shading",value:function(e){for(var t=this.coords,r=this.colors,n=[],i=[],o=0;e.hasData;){var s=e.readFlag(),c=e.readCoordinate(),l=e.readComponents();if(0===o){if(!(0<=s&&s<=2))throw new a.FormatError("Unknown type4 flag");switch(s){case 0:o=3;break;case 1:i.push(i.at(-2),i.at(-1)),o=1;break;case 2:i.push(i.at(-3),i.at(-1)),o=1}n.push(s)}i.push(t.length),t.push(c),r.push(l),o--,e.align()}this.figures.push({type:"triangles",coords:new Int32Array(i),colors:new Int32Array(i)})}},{key:"_decodeType5Shading",value:function(e,t){for(var r=this.coords,a=this.colors,n=[];e.hasData;){var i=e.readCoordinate(),o=e.readComponents();n.push(r.length),r.push(i),a.push(o)}this.figures.push({type:"lattice",coords:new Int32Array(n),colors:new Int32Array(n),verticesPerRow:t})}},{key:"_decodeType6Shading",value:function(e){for(var t=this.coords,r=this.colors,n=new Int32Array(16),i=new Int32Array(4);e.hasData;){var o=e.readFlag();if(!(0<=o&&o<=3))throw new a.FormatError("Unknown type6 flag");for(var s=t.length,c=0,l=0!==o?8:12;c<l;c++)t.push(e.readCoordinate());for(var u=r.length,h=0,f=0!==o?2:4;h<f;h++)r.push(e.readComponents());var d=void 0,g=void 0,p=void 0,m=void 0;switch(o){case 0:n[12]=s+3,n[13]=s+4,n[14]=s+5,n[15]=s+6,n[8]=s+2,n[11]=s+7,n[4]=s+1,n[7]=s+8,n[0]=s,n[1]=s+11,n[2]=s+10,n[3]=s+9,i[2]=u+1,i[3]=u+2,i[0]=u,i[1]=u+3;break;case 1:d=n[12],g=n[13],p=n[14],m=n[15],n[12]=m,n[13]=s+0,n[14]=s+1,n[15]=s+2,n[8]=p,n[11]=s+3,n[4]=g,n[7]=s+4,n[0]=d,n[1]=s+7,n[2]=s+6,n[3]=s+5,d=i[2],g=i[3],i[2]=g,i[3]=u,i[0]=d,i[1]=u+1;break;case 2:d=n[15],g=n[11],n[12]=n[3],n[13]=s+0,n[14]=s+1,n[15]=s+2,n[8]=n[7],n[11]=s+3,n[4]=g,n[7]=s+4,n[0]=d,n[1]=s+7,n[2]=s+6,n[3]=s+5,d=i[3],i[2]=i[1],i[3]=u,i[0]=d,i[1]=u+1;break;case 3:n[12]=n[0],n[13]=s+0,n[14]=s+1,n[15]=s+2,n[8]=n[1],n[11]=s+3,n[4]=n[2],n[7]=s+4,n[0]=n[3],n[1]=s+7,n[2]=s+6,n[3]=s+5,i[2]=i[0],i[3]=u,i[0]=i[1],i[1]=u+1}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]),this.figures.push({type:"patch",coords:new Int32Array(n),colors:new Int32Array(i)})}}},{key:"_decodeType7Shading",value:function(e){for(var t=this.coords,r=this.colors,n=new Int32Array(16),i=new Int32Array(4);e.hasData;){var o=e.readFlag();if(!(0<=o&&o<=3))throw new a.FormatError("Unknown type7 flag");for(var s=t.length,c=0,l=0!==o?12:16;c<l;c++)t.push(e.readCoordinate());for(var u=r.length,h=0,f=0!==o?2:4;h<f;h++)r.push(e.readComponents());var d=void 0,g=void 0,p=void 0,m=void 0;switch(o){case 0:n[12]=s+3,n[13]=s+4,n[14]=s+5,n[15]=s+6,n[8]=s+2,n[9]=s+13,n[10]=s+14,n[11]=s+7,n[4]=s+1,n[5]=s+12,n[6]=s+15,n[7]=s+8,n[0]=s,n[1]=s+11,n[2]=s+10,n[3]=s+9,i[2]=u+1,i[3]=u+2,i[0]=u,i[1]=u+3;break;case 1:d=n[12],g=n[13],p=n[14],m=n[15],n[12]=m,n[13]=s+0,n[14]=s+1,n[15]=s+2,n[8]=p,n[9]=s+9,n[10]=s+10,n[11]=s+3,n[4]=g,n[5]=s+8,n[6]=s+11,n[7]=s+4,n[0]=d,n[1]=s+7,n[2]=s+6,n[3]=s+5,d=i[2],g=i[3],i[2]=g,i[3]=u,i[0]=d,i[1]=u+1;break;case 2:d=n[15],g=n[11],n[12]=n[3],n[13]=s+0,n[14]=s+1,n[15]=s+2,n[8]=n[7],n[9]=s+9,n[10]=s+10,n[11]=s+3,n[4]=g,n[5]=s+8,n[6]=s+11,n[7]=s+4,n[0]=d,n[1]=s+7,n[2]=s+6,n[3]=s+5,d=i[3],i[2]=i[1],i[3]=u,i[0]=d,i[1]=u+1;break;case 3:n[12]=n[0],n[13]=s+0,n[14]=s+1,n[15]=s+2,n[8]=n[1],n[9]=s+9,n[10]=s+10,n[11]=s+3,n[4]=n[2],n[5]=s+8,n[6]=s+11,n[7]=s+4,n[0]=n[3],n[1]=s+7,n[2]=s+6,n[3]=s+5,i[2]=i[0],i[3]=u,i[0]=i[1],i[1]=u+1}this.figures.push({type:"patch",coords:new Int32Array(n),colors:new Int32Array(i)})}}},{key:"_buildFigureFromPatch",value:function(e){var r=this.figures[e];(0,a.assert)("patch"===r.type,"Unexpected patch mesh figure");var n=this.coords,i=this.colors,o=r.coords,s=r.colors,c=Math.min(n[o[0]][0],n[o[3]][0],n[o[12]][0],n[o[15]][0]),l=Math.min(n[o[0]][1],n[o[3]][1],n[o[12]][1],n[o[15]][1]),u=Math.max(n[o[0]][0],n[o[3]][0],n[o[12]][0],n[o[15]][0]),h=Math.max(n[o[0]][1],n[o[3]][1],n[o[12]][1],n[o[15]][1]),f=Math.ceil((u-c)*t.TRIANGLE_DENSITY/(this.bounds[2]-this.bounds[0]));f=Math.max(t.MIN_SPLIT_PATCH_CHUNKS_AMOUNT,Math.min(t.MAX_SPLIT_PATCH_CHUNKS_AMOUNT,f));var d=Math.ceil((h-l)*t.TRIANGLE_DENSITY/(this.bounds[3]-this.bounds[1]));d=Math.max(t.MIN_SPLIT_PATCH_CHUNKS_AMOUNT,Math.min(t.MAX_SPLIT_PATCH_CHUNKS_AMOUNT,d));for(var g=f+1,p=new Int32Array((d+1)*g),m=new Int32Array((d+1)*g),v=0,b=new Uint8Array(3),y=new Uint8Array(3),k=i[s[0]],w=i[s[1]],x=i[s[2]],A=i[s[3]],C=S(d),F=S(f),O=0;O<=d;O++){b[0]=(k[0]*(d-O)+x[0]*O)/d|0,b[1]=(k[1]*(d-O)+x[1]*O)/d|0,b[2]=(k[2]*(d-O)+x[2]*O)/d|0,y[0]=(w[0]*(d-O)+A[0]*O)/d|0,y[1]=(w[1]*(d-O)+A[1]*O)/d|0,y[2]=(w[2]*(d-O)+A[2]*O)/d|0;for(var I=0;I<=f;I++,v++)if(0!==O&&O!==d||0!==I&&I!==f){for(var T=0,M=0,P=0,E=0;E<=3;E++)for(var N=0;N<=3;N++,P++){var D=C[O][E]*F[I][N];T+=n[o[P]][0]*D,M+=n[o[P]][1]*D}p[v]=n.length,n.push([T,M]),m[v]=i.length;var B=new Uint8Array(3);B[0]=(b[0]*(f-I)+y[0]*I)/f|0,B[1]=(b[1]*(f-I)+y[1]*I)/f|0,B[2]=(b[2]*(f-I)+y[2]*I)/f|0,i.push(B)}}p[0]=o[0],m[0]=s[0],p[f]=o[3],m[f]=s[1],p[g*d]=o[12],m[g*d]=s[2],p[g*d+f]=o[15],m[g*d+f]=s[3],this.figures[e]={type:"lattice",coords:p,colors:m,verticesPerRow:g}}},{key:"_updateBounds",value:function(){for(var e=this.coords[0][0],t=this.coords[0][1],r=e,a=t,n=1,i=this.coords.length;n<i;n++){var o=this.coords[n][0],s=this.coords[n][1];e=e>o?o:e,t=t>
2s?s:t,r=r<o?o:r,a=a<s?s:a}this.bounds=[e,t,r,a]}},{key:"_packData",value:function(){var e,t,r,a,n=this.coords,i=new Float32Array(2*n.length);for(e=0,r=0,t=n.length;e<t;e++){var o=n[e];i[r++]=o[0],i[r++]=o[1]}this.coords=i;var s=this.colors,c=new Uint8Array(3*s.length);for(e=0,r=0,t=s.length;e<t;e++){var l=s[e];c[r++]=l[0],c[r++]=l[1],c[r++]=l[2]}this.colors=c;var u=this.figures;for(e=0,t=u.length;e<t;e++){var h=u[e],f=h.coords,d=h.colors;for(r=0,a=f.length;r<a;r++)f[r]*=2,d[r]*=3}}},{key:"getIR",value:function(){return["Mesh",this.shadingType,this.coords,this.colors,this.figures,this.bounds,this.bbox,this.background]}}],[{key:"MIN_SPLIT_PATCH_CHUNKS_AMOUNT",get:function(){return(0,a.shadow)(this,"MIN_SPLIT_PATCH_CHUNKS_AMOUNT",3)}},{key:"MAX_SPLIT_PATCH_CHUNKS_AMOUNT",get:function(){return(0,a.shadow)(this,"MAX_SPLIT_PATCH_CHUNKS_AMOUNT",20)}},{key:"TRIANGLE_DENSITY",get:function(){return(0,a.shadow)(this,"TRIANGLE_DENSITY",20)}}])}(k),C=function(e){function t(){return m(this,t),l(this,t,arguments)}return u(t,e),v(t,[{key:"getIR",value:function(){return["Dummy"]}}])}(k)},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.getXfaFontDict=function(e){var t=function(e){var t=f(e);if(!t)return null;var r,a=t.baseWidths,n=t.baseMapping,i=t.factors;r=i?a.map((function(e,t){return e*i[t]})):a;var o,s,c=-2,l=[],u=d(n.map((function(e,t){return[e,t]})).sort((function(e,t){return g(e,1)[0]-g(t,1)[0]})));try{for(u.s();!(s=u.n()).done;){var h=g(s.value,2),p=h[0],m=h[1];-1!==p&&(p===c+1?(o.push(r[m]),c+=1):(c=p,o=[r[m]],l.push(p,o)))}}catch(v){u.e(v)}finally{u.f()}return l}(e),r=new n.Dict(null);r.set("BaseFont",n.Name.get(e)),r.set("Type",n.Name.get("Font")),r.set("Subtype",n.Name.get("CIDFontType2")),r.set("Encoding",n.Name.get("Identity-H")),r.set("CIDToGIDMap",n.Name.get("Identity")),r.set("W",t),r.set("FirstChar",t[0]),r.set("LastChar",t.at(-2)+t.at(-1).length-1);var a=new n.Dict(null);r.set("FontDescriptor",a);var i=new n.Dict(null);return i.set("Ordering","Identity"),i.set("Registry","Adobe"),i.set("Supplement",0),r.set("CIDSystemInfo",i),r},t.getXfaFontName=f;var a=r(52),n=r(5),i=r(53),o=r(54),s=r(55),c=r(56),l=r(6),u=r(38),h=(0,l.getLookupTableFactory)((function(e){e["MyriadPro-Regular"]=e["PdfJS-Fallback-Regular"]={name:"LiberationSans-Regular",factors:s.MyriadProRegularFactors,baseWidths:o.LiberationSansRegularWidths,baseMapping:o.LiberationSansRegularMapping,metrics:s.MyriadProRegularMetrics},e["MyriadPro-Bold"]=e["PdfJS-Fallback-Bold"]={name:"LiberationSans-Bold",factors:s.MyriadProBoldFactors,baseWidths:o.LiberationSansBoldWidths,baseMapping:o.LiberationSansBoldMapping,metrics:s.MyriadProBoldMetrics},e["MyriadPro-It"]=e["MyriadPro-Italic"]=e["PdfJS-Fallback-Italic"]={name:"LiberationSans-Italic",factors:s.MyriadProItalicFactors,baseWidths:o.LiberationSansItalicWidths,baseMapping:o.LiberationSansItalicMapping,metrics:s.MyriadProItalicMetrics},e["MyriadPro-BoldIt"]=e["MyriadPro-BoldItalic"]=e["PdfJS-Fallback-BoldItalic"]={name:"LiberationSans-BoldItalic",factors:s.MyriadProBoldItalicFactors,baseWidths:o.LiberationSansBoldItalicWidths,baseMapping:o.LiberationSansBoldItalicMapping,metrics:s.MyriadProBoldItalicMetrics},e.ArialMT=e.Arial=e["Arial-Regular"]={name:"LiberationSans-Regular",baseWidths:o.LiberationSansRegularWidths,baseMapping:o.LiberationSansRegularMapping},e["Arial-BoldMT"]=e["Arial-Bold"]={name:"LiberationSans-Bold",baseWidths:o.LiberationSansBoldWidths,baseMapping:o.LiberationSansBoldMapping},e["Arial-ItalicMT"]=e["Arial-Italic"]={name:"LiberationSans-Italic",baseWidths:o.LiberationSansItalicWidths,baseMapping:o.LiberationSansItalicMapping},e["Arial-BoldItalicMT"]=e["Arial-BoldItalic"]={name:"LiberationSans-BoldItalic",baseWidths:o.LiberationSansBoldItalicWidths,baseMapping:o.LiberationSansBoldItalicMapping},e["Calibri-Regular"]={name:"LiberationSans-Regular",factors:a.CalibriRegularFactors,baseWidths:o.LiberationSansRegularWidths,baseMapping:o.LiberationSansRegularMapping,metrics:a.CalibriRegularMetrics},e["Calibri-Bold"]={name:"LiberationSans-Bold",factors:a.CalibriBoldFactors,baseWidths:o.LiberationSansBoldWidths,baseMapping:o.LiberationSansBoldMapping,metrics:a.CalibriBoldMetrics},e["Calibri-Italic"]={name:"LiberationSans-Italic",factors:a.CalibriItalicFactors,baseWidths:o.LiberationSansItalicWidths,baseMapping:o.LiberationSansItalicMapping,metrics:a.CalibriItalicMetrics},e["Calibri-BoldItalic"]={name:"LiberationSans-BoldItalic",factors:a.CalibriBoldItalicFactors,baseWidths:o.LiberationSansBoldItalicWidths,baseMapping:o.LiberationSansBoldItalicMapping,metrics:a.CalibriBoldItalicMetrics},e["Segoeui-Regular"]={name:"LiberationSans-Regular",factors:c.SegoeuiRegularFactors,baseWidths:o.LiberationSansRegularWidths,baseMapping:o.LiberationSansRegularMapping,metrics:c.SegoeuiRegularMetrics},e["Segoeui-Bold"]={name:"LiberationSans-Bold",factors:c.SegoeuiBoldFactors,baseWidths:o.LiberationSansBoldWidths,baseMapping:o.LiberationSansBoldMapping,metrics:c.SegoeuiBoldMetrics},e["Segoeui-Italic"]={name:"LiberationSans-Italic",factors:c.SegoeuiItalicFactors,baseWidths:o.LiberationSansItalicWidths,baseMapping:o.LiberationSansItalicMapping,metrics:c.SegoeuiItalicMetrics},e["Segoeui-BoldItalic"]={name:"LiberationSans-BoldItalic",factors:c.SegoeuiBoldItalicFactors,baseWidths:o.LiberationSansBoldItalicWidths,baseMapping:o.LiberationSansBoldItalicMapping,metrics:c.SegoeuiBoldItalicMetrics},e["Helvetica-Regular"]=e.Helvetica={name:"LiberationSans-Regular",factors:i.HelveticaRegularFactors,baseWidths:o.LiberationSansRegularWidths,baseMapping:o.LiberationSansRegularMapping,metrics:i.HelveticaRegularMetrics},e["Helvetica-Bold"]={name:"LiberationSans-Bold",factors:i.Helvetica
2BoldFactors,baseWidths:o.LiberationSansBoldWidths,baseMapping:o.LiberationSansBoldMapping,metrics:i.HelveticaBoldMetrics},e["Helvetica-Italic"]={name:"LiberationSans-Italic",factors:i.HelveticaItalicFactors,baseWidths:o.LiberationSansItalicWidths,baseMapping:o.LiberationSansItalicMapping,metrics:i.HelveticaItalicMetrics},e["Helvetica-BoldItalic"]={name:"LiberationSans-BoldItalic",factors:i.HelveticaBoldItalicFactors,baseWidths:o.LiberationSansBoldItalicWidths,baseMapping:o.LiberationSansBoldItalicMapping,metrics:i.HelveticaBoldItalicMetrics}}));function f(e){var t=(0,u.normalizeFontName)(e);return h()[t]}},function(e,t){
vendor: 15,470 bytes, line 2
2Object.defineProperty(t,"__esModule",{value:!0}),t.CalibriRegularMetrics=t.CalibriRegularFactors=t.CalibriItalicMetrics=t.CalibriItalicFactors=t.CalibriBoldMetrics=t.CalibriBoldItalicMetrics=t.CalibriBoldItalicFactors=t.CalibriBoldFactors=void 0,t.CalibriBoldFactors=[1.3877,1,1,1,.97801,.92482,.89552,.91133,.81988,.97566,.98152,.93548,.93548,1.2798,.85284,.92794,1,.96134,1.54657,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.82845,.82845,.85284,.85284,.85284,.75859,.92138,.83908,.7762,.73293,.87289,.73133,.7514,.81921,.87356,.95958,.59526,.75727,.69225,1.04924,.9121,.86943,.79795,.88198,.77958,.70864,.81055,.90399,.88653,.96017,.82577,.77892,.78257,.97507,1.54657,.97507,.85284,.89552,.90176,.88762,.8785,.75241,.8785,.90518,.95015,.77618,.8785,.88401,.91916,.86304,.88401,.91488,.8785,.8801,.8785,.8785,.91343,.7173,1.04106,.8785,.85075,.95794,.82616,.85162,.79492,.88331,1.69808,.88331,.85284,.97801,.89552,.91133,.89552,.91133,1.7801,.89552,1.24487,1.13254,1.12401,.96839,.85284,.68787,.70645,.85592,.90747,1.01466,1.0088,.90323,1,1.07463,1,.91056,.75806,1.19118,.96839,.78864,.82845,.84133,.75859,.83908,.83908,.83908,.83908,.83908,.83908,.77539,.73293,.73133,.73133,.73133,.73133,.95958,.95958,.95958,.95958,.88506,.9121,.86943,.86943,.86943,.86943,.86943,.85284,.87508,.90399,.90399,.90399,.90399,.77892,.79795,.90807,.88762,.88762,.88762,.88762,.88762,.88762,.8715,.75241,.90518,.90518,.90518,.90518,.88401,.88401,.88401,.88401,.8785,.8785,.8801,.8801,.8801,.8801,.8801,.90747,.89049,.8785,.8785,.8785,.8785,.85162,.8785,.85162,.83908,.88762,.83908,.88762,.83908,.88762,.73293,.75241,.73293,.75241,.73293,.75241,.73293,.75241,.87289,.83016,.88506,.93125,.73133,.90518,.73133,.90518,.73133,.90518,.73133,.90518,.73133,.90518,.81921,.77618,.81921,.77618,.81921,.77618,1,1,.87356,.8785,.91075,.89608,.95958,.88401,.95958,.88401,.95958,.88401,.95958,.88401,.95958,.88401,.76229,.90167,.59526,.91916,1,1,.86304,.69225,.88401,1,1,.70424,.79468,.91926,.88175,.70823,.94903,.9121,.8785,1,1,.9121,.8785,.87802,.88656,.8785,.86943,.8801,.86943,.8801,.86943,.8801,.87402,.89291,.77958,.91343,1,1,.77958,.91343,.70864,.7173,.70864,.7173,.70864,.7173,.70864,.7173,1,1,.81055,.75841,.81055,1.06452,.90399,.8785,.90399,.8785,.90399,.8785,.90399,.8785,.90399,.8785,.90399,.8785,.96017,.95794,.77892,.85162,.77892,.78257,.79492,.78257,.79492,.78257,.79492,.9297,.56892,.83908,.88762,.77539,.8715,.87508,.89049,1,1,.81055,1.04106,1.20528,1.20528,1,1.15543,.70674,.98387,.94721,1.33431,1.45894,.95161,1.06303,.83908,.80352,.57184,.6965,.56289,.82001,.56029,.81235,1.02988,.83908,.7762,.68156,.80367,.73133,.78257,.87356,.86943,.95958,.75727,.89019,1.04924,.9121,.7648,.86943,.87356,.79795,.78275,.81055,.77892,.9762,.82577,.99819,.84896,.95958,.77892,.96108,1.01407,.89049,1.02988,.94211,.96108,.8936,.84021,.87842,.96399,.79109,.89049,1.00813,1.02988,.86077,.87445,.92099,.84723,.86513,.8801,.75638,.85714,.78216,.79586,.87965,.94211,.97747,.78287,.97926,.84971,1.02988,.94211,.8801,.94211,.84971,.73133,1,1,1,1,1,1,1,1,1,1,1,1,.90264,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,1,1,1,1,1,1,1,1,1,1,.90518,1,1,1,1,1,1,1,1,1,1,1,1,.90548,1,1,1,1,1,1,.96017,.95794,.96017,.95794,.96017,.95794,.77892,.85162,1,1,.89552,.90527,1,.90363,.92794,.92794,.92794,.92794,.87012,.87012,.87012,.89552,.89552,1.42259,.71143,1.06152,1,1,1.03372,1.03372,.97171,1.4956,2.2807,.93835,.83406,.91133,.84107,.91133,1,1,1,.72021,1,1.23108,.83489,.88525,.88525,.81499,.90527,1.81055,.90527,1.81055,1.31006,1.53711,.94434,1.08696,1,.95018,.77192,.85284,.90747,1.17534,.69825,.9716,1.37077,.90747,.90747,.85356,.90747,.90747,1.44947,.85284,.8941,.8941,.70572,.8,.70572,.70572,.70572,.70572,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,.99862,.99862,1,1,1,1,1,1.08004,.91027,1,1,1,.99862,1,1,1,1,1,1,1,1,1,1,1,1,.90727,.90727,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],t.CalibriBoldMetrics={lineHeight:1.2207,lineGap:.2207},t.CalibriBoldItalicFactors=[1.3877,1,1,1,.97801,.92482,.89552,.91133,.81988,.97566,.98152,.93548,.93548,1.2798,.85284,.92794,1,.96134,1.56239,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.82845,.82845,.85284,.85284,.85284,.75859,.92138,.83908,.7762,.71805,.87289,.73133,.7514,.81921,.87356,.95958,.59526,.75727,.69225,1.04924,.90872,.85938,.79795,.87068,.77958,.69766,.81055,.90399,.88653,.96068,.82577,.77892,.78257,.97507,1.529,.97507,.85284,.89552,.90176,.94908,.86411,.74012,.86411,.88323,.95015,.86411,.86331,.88401,.91916,.86304,.88401,.9039,.86331,.86331,.86411,.86411,.90464,.70852,1.04106,.86331,.84372,.95794,.82616,.84548,.79492,.88331,1.69808,.88331,.85284,.97801,.89552,.91133,.89552,.91133,1.7801,.89552,1.24487,1.13254,1.19129,.96839,.85284,.68787,.70645,.85592,.90747,1.01466,1.0088,.90323,1,1.07463,1,.91056,.75806,1.19118,.96839,.78864,.82845,.84133,.75859,.83908,.83908,.83908,.83908,.83908,.83908,.77539,.71805,.73133,.73133,.73133,.73133,.95958,.95958,.95958,.95958,.88506,.90872,.85938,.85938,.85938,.85938,.85938,.85284,.87068,.90399,.90399,.90399,.90399,.77892,.79795,.90807,.94908,.94908,.94908,.94908,.94908,.94908,.85887,.74012,.88323,.88323,.88323,.88323,.88401,.88401,.88401,.88401,.8785,.86331,.86331,.86331,.86331,.86331,.86331,.90747,.89049,.86331,.86331,.86331,.86331,.84548,.86411,.84548,.83908,.94908,.83908,.94908,.83908,.94908,.71805,.74012,.71805,.74012,.71805,.74012,.71805,.74012,.87289,.79538,.88506,.92726,.73133,.88323,.73133,.88323,.73133,.88323,.73133,.88323,.73133,.88323,.81921,.86411,.81921,.86411,.81921,.86411,1,1,.87356,.86331,.91075,.8777,.95958,.88401,.95958,.88401,.95958,.88401,.95958,.88401,.95958,.88401,.76467,.90167,.59526,.91916,1,1,.86304,.69225,.88401,1,1,.70424,.77312,.91926,.88175,.70823,.94903,.90872,.86331,1,1,.90872,.86331,.86906,.88116,.86331,.85938,.86331,.85938,.86331,.85938,.86331,.87402,.86549,.77958,.90464,1,1,.77958,.90464,.69766,.70852,.69766,.70852,.69766,.70852,.69766,.70852,1,1,.81055,.75841,.81055,1.06452,.90399,.86331,.90399,.86331,.90399,.86331,.90399,.86331,.90399,.86331,.90399,.86331,.96068,.95794,.77892,.84548,.77892,.78257,.79492,.78257,.79492,.78257,.79492,.9297,.56892,.83908,.94908,.77539,.85887,.87068,.89049,1,1,.81055,1.04106,1.20528,1.20528,1,1.15543,.70088,.98387,.94721,1.33431,1.45894,.95161,1.48387,.83908,.80352,.57118,.6965,.56347,.79179,.55853,.80346,1.02988,.83908,.7762,.67174,.86036,.73133,.78257,.87356,.86441,.95958,.75727,.89019,1.04924,.90872,.74889,.85938,.87891,.79795,.7957,.81055,.77892,.97447,.82577,.97466,.87179,.95958,.77892,.94252,.95612,.8753,1.02988,.92733,.94252,.87411,.84021,.8728,.95612,.74081,.8753,1.02189,1.02988,.84814,.87445,.91822,.84723,.85668,.86331,.81344,.87581,.76422,.82046,.96057,.92733,.99375,.78022,.95452,.86015,1.02988,.92733,.86331,.92733,.86015,.73133,1,1,1,1,1,1,1,1,1,1,1,1,.90631,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,1,1,1,1,1,1,1,1,1,1,.88323,1,1,1,1,1,1,1,1,1,1,1,1,.85174,1,1,1,1,1,1,.96068,.95794,.96068,.95794,.96068,.95794,.77892,.84548,1,1,.89552,.90527,1,.90363,.92794,.92794,.92794,.89807,.87012,.87012,.87012,.89552,.89552,1.42259,.71094,1.06152,1,1,1.03372,1.03372,.97171,1.4956,2.2807,.92972,.83406,.91133,.83326,.91133,1,1,1,.72021,1,1.23108,.83489,.88525,.88525,.81499,.90616,1.81055,.90527,1.81055,1.3107,1.53711,.94434,1.08696,1,.95018,.77192,.85284,.90747,1.17534,.69825,.9716,1.37077,.90747,.90747,.85356,.90747,.90747,1.44947,.85284,.8941,.8941,.70572,.8,.70572,.70572,.70572,.70572,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,.99862,.99862,1,1,1,1,1,1.08004,.91027,1,1,1,.99862,1,1,1,1,1,1,1,1,1,1,1,1,.90727,.90727,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],t.CalibriBoldItalicMetrics={lineHeight:1.2207,lineGap:.2207},t.CalibriItalicFactors=[1.3877,1,1,1,1.17223,1.1293,.89552,.91133,.80395,1.02269,1.15601,.91056,.91056,1.2798,.85284,.89807,1,.90861,1.39543,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.96309,.96309,.85284,.85284,.85284,.83319,.88071,.8675,.81552,.72346,.85193,.73206,.7522,.81105,.86275,.90685,.6377,.77892,.75593,1.02638,.89249,.84118,.77452,.85374,.75186,.67789,.79776,.88844,.85066,.94309,.77818,.7306,.76659,1.10369,1.38313,1.10369,1.06139,.89552,.8739,.9245,.9245,.83203,.9245,.85865,1.09842,.9245,.9245,1.03297,1.07692,.90918,1.03297,.94959,.9245,.92274,.9245,.9245,1.02933,.77832,1.20562,.9245,.8916,.98986,.86621,.89453,.79004,.94152,1.77256,.94152,.85284,.97801,.89552,.91133,.89552,.91133,1.91729,.89552,1.17889,1.13254,1.16359,.92098,.85284,.68787,.71353,.84737,.90747,1.0088,1.0044,.87683,1,1.09091,1,.92229,.739,1.15642,.92098,.76288,.80504,.80972,.75859,.8675,.8675,.8675,.8675,.8675,.8675,.76318,.72346,.73206,.73206,.73206,.73206,.90685,.90685,.90685,.90685,.86477,.89249,.84118,.84118,.84118,.84118,.84118,.85284,.84557,.88844,.88844,.88844,.88844,.7306,.77452,.86331,.9245,.9245,.9245,.9245,.9245,.9245,.84843,.83203,.85865,.85865,.85865,.85865,.82601,.82601,.82601,.82601,.94469,.9245,.92274,.92274,.92274,.92274,.92274,.90747,.86651,.9245,.9245,.9245,.9245,.89453,.9245,.89453,.8675,.9245,.8675,.9245,.8675,.9245,.72346,.83203,.72346,.83203,.72346,.83203,.72346,.83203,.85193,.8875,.86477,.99034,.73206,.85865,.73206,.85865,.73206,.85865,.73206,.85865,.73206,.85865,.81105,.9245,.81105,.9245,.81105,.9245,1,1,.86275,.9245,.90872,.93591,.90685,.82601,.90685,.82601,.90685,.82601,.90685,1.03297,.90685,.82601,.77896,1.05611,.6377,1.07692,1,1,.90918,.75593,1.03297,1,1,.76032,.9375,.98156,.93407,.77261,1.11429,.89249,.9245,1,1,.89249,.9245,.92534,.86698,.9245,.84118,.92274,.84118,.92274,.84118,.92274,.8667,.86291,.75186,1.02933,1,1,.75186,1.02933,.67789,.77832,.67789,.77832,.67789,.77832,.67789,.77832,1,1,.79776,.97655,.79776,1.23023,.88844,.9245,.88844,.9245,.88844,.9245,.88844,.9245,.88844,.9245,.88844,.9245,.94309,.98986,.7306,.89453,.7306,.76659,.79004,.76659,.79004,.76659,.79004,1.09231,.54873,.8675,.9245,.76318,.84843,.84557,.86651,1,1,.79776,1.20562,1.18622,1.18622,1,1.1437,.67009,.96334,.93695,1.35191,1.40909,.95161,1.48387,.8675,.90861,.6192,.7363,.64824,.82411,.56321,.85696,1.23516,.8675,.81552,.7286,.84134,.73206,.76659,.86275,.84369,.90685,.77892,.85871,1.02638,.89249,.75828,.84118,.85984,.77452,.76466,.79776,.7306,.90782,.77818,.903,.87291,.90685,.7306,.99058,1.03667,.94635,1.23516,.9849,.99058,.92393,.8916,.942,1.03667,.75026,.94635,1.0297,1.23516,.90918,.94048,.98217,.89746,.84153,.92274,.82507,.88832,.84438,.88178,1.03525,.9849,1.00225,.78086,.97248,.89404,1.23516,.9849,.92274,.9849,.89404,.73206,1,1,1,1,1,1,1,1,1,1,1,1,.89693,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,1,1,1,1,1,1,1,1,1,1,.85865,1,1,1,1,1,1,1,1,1,1,1,1,.90933,1,1,1,1,1,1,.94309,.98986,.94309,.98986,.94309,.98986,.7306,.89453,1,1,.89552,.90527,1,.90186,1.12308,1.12308,1.12308,1.12308,1.2566,1.2566,1.2566,.89552,.89552,1.42259,.68994,1.03809,1,1,1.0176,1.0176,1.11523,1.4956,2.01462,.97858,.82616,.91133,.83437,.91133,1,1,1,.70508,1,1.23108,.79801,.84426,.84426,.774,.90572,1.81055,.90749,1.81055,1.28809,1.55469,.94434,1.07806,1,.97094,.7589,.85284,.90747,1.19658,.69825,.97622,1.33512,.90747,.90747,.85284,.90747,.90747,1.44947,.85284,.8941,.8941,.70572,.8,.70572,.70572,.70572,.70572,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,.99862,.99862,1,1,1,1,1,1.0336,.91027,1,1,1,.99862,1,1,1,1,1,1,1,1,1,1,1,1,1.05859,1.05859,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],t.CalibriItalicMetrics={lineHeight:1.2207,lineGap:.2207},t.CalibriRegularFactors=[1.3877,1,1,1,1.17223,1.1293,.89552,.91133,.80395,1.02269,1.15601,.91056,.91056,1.2798,.85284,.89807,1,.90861,1.39016,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.96309,.96309,.85284,.85284,.85284,.83319,.88071,.8675,.81552,.73834,.85193,.73206,.7522,.81105,.86275,.90685,.6377,.77892,.75593,1.02638,.89385,.85122,.77452,.86503,.75186,.68887,.79776,.88844,.85066,.94258,.77818,.7306,.76659,1.10369,1.39016,1.10369,1.06139,.89552,.8739,.86128,.94469,.8457,.94469,.89464,1.09842,.84636,.94469,1.03297,1.07692,.90918,1.03297,.95897,.94469,.9482,.94469,.94469,1.04692,.78223,1.20562,.94469,.90332,.98986,.86621,.90527,.79004,.94152,1.77256,.94152,.85284,.97801,.89552,.91133,.89552,.91133,1.91729,.89552,1.17889,1.13254,1.08707,.92098,.85284,.68787,.71353,.84737,.90747,1.0088,1.0044,.87683,1,1.09091,1,.92229,.739,1.15642,.92098,.76288,.80504,.80972,.75859,.8675,.8675,.8675,.8675,.8675,.8675,.76318,.73834,.73206,.73206,.73206,.73206,.90685,.90685,.90685,.90685,.86477,.89385,.85122,.85122,.85122,.85122,.85122,.85284,.85311,.88844,.88844,.88844,.88844,.7306,.77452,.86331,.86128,.86128,.86128,.86128,.86128,.86128,.8693,.8457,.89464,.89464,.89464,.89464,.82601,.82601,.82601,.82601,.94469,.94469,.9482,.9482,.9482,.9482,.9482,.90747,.86651,.94469,.94469,.94469,.94469,.90527,.94469,.90527,.8675,.86128,.8675,.86128,.8675,.86128,.73834,.8457,.73834,.8457,.73834,.8457,.73834,.8457,.85193,.92454,.86477,.9921,.73206,.89464,.73206,.89464,.73206,.89464,.73206,.89464,.73206,.89464,.81105,.84636,.81105,.84636,.81105,.84636,1,1,.86275,.94469,.90872,.95786,.90685,.82601,.90685,.82601,.90685,.82601,.90685,1.03297,.90685,.82601,.77741,1.05611,.6377,1.07692,1,1,.90918,.75593,1.03297,1,1,.76032,.90452,.98156,1.11842,.77261,1.11429,.89385,.94469,1,1,.89385,.94469,.95877,.86901,.94469,.85122,.9482,.85122,.9482,.85122,.9482,.8667,.90016,.75186,1.04692,1,1,.75186,1.04692,.68887,.78223,.68887,.78223,.68887,.78223,.68887,.78223,1,1,.79776,.92188,.79776,1.23023,.88844,.94469,.88844,.94469,.88844,.94469,.88844,.94469,.88844,.94469,.88844,.94469,.94258,.98986,.7306,.90527,.7306,.76659,.79004,.76659,.79004,.76659,.79004,1.09231,.54873,.8675,.86128,.76318,.8693,.85311,.86651,1,1,.79776,1.20562,1.18622,1.18622,1,1.1437,.67742,.96334,.93695,1.35191,1.40909,.95161,1.48387,.86686,.90861,.62267,.74359,.65649,.85498,.56963,.88254,1.23516,.8675,.81552,.75443,.84503,.73206,.76659,.86275,.85122,.90685,.77892,.85746,1.02638,.89385,.75657,.85122,.86275,.77452,.74171,.79776,.7306,.95165,.77818,.89772,.88831,.90685,.7306,.98142,1.02191,.96576,1.23516,.99018,.98142,.9236,.89258,.94035,1.02191,.78848,.96576,.9561,1.23516,.90918,.92578,.95424,.89746,.83969,.9482,.80113,.89442,.85208,.86155,.98022,.99018,1.00452,.81209,.99247,.89181,1.23516,.99018,.9482,.99018,.89181,.73206,1,1,1,1,1,1,1,1,1,1,1,1,.88844,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,1,1,1,1,1,1,1,1,1,1,.89464,1,1,1,1,1,1,1,1,1,1,1,1,.96766,1,1,1,1,1,1,.94258,.98986,.94258,.98986,.94258,.98986,.7306,.90527,1,1,.89552,.90527,1,.90186,1.12308,1.12308,1.12308,1.12308,1.2566,1.2566,1.2566,.89552,.89552,1.42259,.69043,1.03809,1,1,1.0176,1.0176,1.11523,1.4956,2.01462,.99331,.82616,.91133,.84286,.91133,1,1,1,.70508,1,1.23108,.79801,.84426,.84426,.774,.90527,1.81055,.90527,1.81055,1.28809,1.55469,.94434,1.07806,1,.97094,.7589,.85284,.90747,1.19658,.69825,.97622,1.33512,.90747,.90747,.85356,.90747,.90747,1.44947,.85284,.8941,.8941,.70572,.8,.70572,.70572,.70572,.70572,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,.99862,.99862,1,1,1,1,1,1.0336,.91027,1,1,1,.99862,1,1,1,1,1,1,1,1,1,1,1,1,1.05859,1.05859,1,1,1,1.07185,.99413,.96334,1.08065,1,1,1,1,1,1,1,1,1,1,1],t.CalibriRegularMetrics={lineHeight:1.2207,lineGap:.2207}},
2function(e,t){
vendor: 19,025 bytes, line 2
2Object.defineProperty(t,"__esModule",{value:!0}),t.HelveticaRegularMetrics=t.HelveticaRegularFactors=t.HelveticaItalicMetrics=t.HelveticaItalicFactors=t.HelveticaBoldMetrics=t.HelveticaBoldItalicMetrics=t.HelveticaBoldItalicFactors=t.HelveticaBoldFactors=void 0,t.HelveticaBoldFactors=[.76116,1,1,1.0006,.99998,.99974,.99973,.99973,.99982,.99977,1.00087,.99998,.99998,.99959,1.00003,1.0006,.99998,1.0006,1.0006,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99998,1,1.00003,1.00003,1.00003,1.00026,.9999,.99977,.99977,.99977,.99977,1.00001,1.00026,1.00022,.99977,1.0006,.99973,.99977,1.00026,.99999,.99977,1.00022,1.00001,1.00022,.99977,1.00001,1.00026,.99977,1.00001,1.00016,1.00001,1.00001,1.00026,.99998,1.0006,.99998,1.00003,.99973,.99998,.99973,1.00026,.99973,1.00026,.99973,.99998,1.00026,1.00026,1.0006,1.0006,.99973,1.0006,.99982,1.00026,1.00026,1.00026,1.00026,.99959,.99973,.99998,1.00026,.99973,1.00022,.99973,.99973,1,.99959,1.00077,.99959,1.00003,.99998,.99973,.99973,.99973,.99973,1.00077,.99973,.99998,1.00025,.99968,.99973,1.00003,1.00025,.60299,1.00024,1.06409,1,1,.99998,1,.99973,1.0006,.99998,1,.99936,.99973,1.00002,1.00002,1.00002,1.00026,.99977,.99977,.99977,.99977,.99977,.99977,1,.99977,1.00001,1.00001,1.00001,1.00001,1.0006,1.0006,1.0006,1.0006,.99977,.99977,1.00022,1.00022,1.00022,1.00022,1.00022,1.00003,1.00022,.99977,.99977,.99977,.99977,1.00001,1.00001,1.00026,.99973,.99973,.99973,.99973,.99973,.99973,.99982,.99973,.99973,.99973,.99973,.99973,1.0006,1.0006,1.0006,1.0006,1.00026,1.00026,1.00026,1.00026,1.00026,1.00026,1.00026,1.06409,1.00026,1.00026,1.00026,1.00026,1.00026,.99973,1.00026,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,1.03374,.99977,1.00026,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00022,1.00026,1.00022,1.00026,1.00022,1.00026,1.00022,1.00026,.99977,1.00026,.99977,1.00026,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.00042,.99973,.99973,1.0006,.99977,.99973,.99973,1.00026,1.0006,1.00026,1.0006,1.00026,1.03828,1.00026,.99999,1.00026,1.0006,.99977,1.00026,.99977,1.00026,.99977,1.00026,.9993,.9998,1.00026,1.00022,1.00026,1.00022,1.00026,1.00022,1.00026,1,1.00016,.99977,.99959,.99977,.99959,.99977,.99959,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00026,.99998,1.00026,.8121,1.00026,.99998,.99977,1.00026,.99977,1.00026,.99977,1.00026,.99977,1.00026,.99977,1.00026,.99977,1.00026,1.00016,1.00022,1.00001,.99973,1.00001,1.00026,1,1.00026,1,1.00026,1,1.0006,.99973,.99977,.99973,1,.99982,1.00022,1.00026,1.00001,.99973,1.00026,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,1.00034,.99977,1,.99997,1.00026,1.00078,1.00036,.99973,1.00013,1.0006,.99977,.99977,.99988,.85148,1.00001,1.00026,.99977,1.00022,1.0006,.99977,1.00001,.99999,.99977,1.00069,1.00022,.99977,1.00001,.99984,1.00026,1.00001,1.00024,1.00001,.9999,1,1.0006,1.00001,1.00041,.99962,1.00026,1.0006,.99995,1.00041,.99942,.99973,.99927,1.00082,.99902,1.00026,1.00087,1.0006,1.00069,.99973,.99867,.99973,.9993,1.00026,1.00049,1.00056,1,.99988,.99935,.99995,.99954,1.00055,.99945,1.00032,1.0006,.99995,1.00026,.99995,1.00032,1.00001,1.00008,.99971,1.00019,.9994,1.00001,1.0006,1.00044,.99973,1.00023,1.00047,1,.99942,.99561,.99989,1.00035,.99977,1.00035,.99977,1.00019,.99944,1.00001,1.00021,.99926,1.00035,1.00035,.99942,1.00048,.99999,.99977,1.00022,1.00035,1.00001,.99977,1.00026,.99989,1.00057,1.00001,.99936,1.00052,1.00012,.99996,1.00043,1,1.00035,.9994,.99976,1.00035,.99973,1.00052,1.00041,1.00119,1.00037,.99973,1.00002,.99986,1.00041,1.00041,.99902,.9996,1.00034,.99999,1.00026,.99999,1.00026,.99973,1.00052,.99973,1,.99973,1.00041,1.00075,.9994,1.0003,.99999,1,1.00041,.99955,1,.99915,.99973,.99973,1.00026,1.00119,.99955,.99973,1.0006,.99911,1.0006,1.00026,.99972,1.00026,.99902,1.00041,.99973,.99999,1,1,1.00038,1.0005,1.00016,1.00022,1.00016,1.00022,1.00016,1.00022,1.00001,.99973,1,1,.99973,1,1,.99955,1.0006,1.0006,1.0006,1.0006,1,1,1,.99973,.99973,.99972,1,1,1.00106,.99999,.99998,.99998,.99999,.99998,1.66475,1,.99973,.99973,1.00023,.99973,.99971,1.00047,1.00023,1,.99991,.99984,1.00002,1.00002,1.00002,1.00002,1,1,1,1,1,1,1,.99972,1,1.20985,1.39713,1.00003,1.00031,1.00015,1,.99561,1.00027,1.00031,1.00031,.99915,1.00031,1.00031,.99999,1.00003,.99999,.99999,1.41144,1.6,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.40579,1.40579,1.36625,.99999,1,.99861,.99861,1,1.00026,1.00026,1.00026,1.00026,.99972,.99999,.99999,.99999,.99999,1.40483,1,.99977,1.00054,1,1,.99953,.99962,1.00042,.9995,1,1,1,1,1,1,1,1,.99998,.99998,.99998,.99998,1,1,1,1,1,1,1,1,1,1,1],t.HelveticaBoldMetrics={lineHeight:1.2,lineGap:.2},t.HelveticaBoldItalicFactors=[.76116,1,1,1.0006,.99998,.99974,.99973,.99973,.99982,.99977,1.00087,.99998,.99998,.99959,1.00003,1.0006,.99998,1.0006,1.0006,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99998,1,1.00003,1.00003,1.00003,1.00026,.9999,.99977,.99977,.99977,.99977,1.00001,1.00026,1.00022,.99977,1.0006,.99973,.99977,1.00026,.99999,.99977,1.00022,1.00001,1.00022,.99977,1.00001,1.00026,.99977,1.00001,1.00016,1.00001,1.00001,1.00026,.99998,1.0006,.99998,1.00003,.99973,.99998,.99973,1.00026,.99973,1.00026,.99973,.99998,1.00026,1.00026,1.0006,1.0006,.99973,1.0006,.99982,1.00026,1.00026,1.00026,1.00026,.99959,.99973,.99998,1.00026,.99973,1.00022,.99973,.99973,1,.99959,1.00077,.99959,1.00003,.99998,.99973,.99973,.99973,.99973,1.00077,.99973,.99998,1.00025,.99968,.99973,1.00003,1.00025,.60299,1.00024,1.06409,1,1,.99998,1,.99973,1.0006,.99998,1,.99936,.99973,1.00002,1.00002,1.00002,1.00026,.99977,.99977,.99977,.99977,.99977,.99977,1,.99977,1.00001,1.00001,1.00001,1.00001,1.0006,1.0006,1.0006,1.0006,.99977,.99977,1.00022,1.00022,1.00022,1.00022,1.00022,1.00003,1.00022,.99977,.99977,.99977,.99977,1.00001,1.00001,1.00026,.99973,.99973,.99973,.99973,.99973,.99973,.99982,.99973,.99973,.99973,.99973,.99973,1.0006,1.0006,1.0006,1.0006,1.00026,1.00026,1.00026,1.00026,1.00026,1.00026,1.00026,1.06409,1.00026,1.00026,1.00026,1.00026,1.00026,.99973,1.00026,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,1.0044,.99977,1.00026,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00022,1.00026,1.00022,1.00026,1.00022,1.00026,1.00022,1.00026,.99977,1.00026,.99977,1.00026,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,.99971,.99973,.99973,1.0006,.99977,.99973,.99973,1.00026,1.0006,1.00026,1.0006,1.00026,1.01011,1.00026,.99999,1.00026,1.0006,.99977,1.00026,.99977,1.00026,.99977,1.00026,.9993,.9998,1.00026,1.00022,1.00026,1.00022,1.00026,1.00022,1.00026,1,1.00016,.99977,.99959,.99977,.99959,.99977,.99959,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00026,.99998,1.00026,.8121,1.00026,.99998,.99977,1.00026,.99977,1.00026,.99977,1.00026,.99977,1.00026,.99977,1.00026,.99977,1.00026,1.00016,1.00022,1.00001,.99973,1.00001,1.00026,1,1.00026,1,1.00026,1,1.0006,.99973,.99977,.99973,1,.99982,1.00022,1.00026,1.00001,.99973,1.00026,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99977,1,1,1.00026,.99969,.99972,.99981,.9998,1.0006,.99977,.99977,1.00022,.91155,1.00001,1.00026,.99977,1.00022,1.0006,.99977,1.00001,.99999,.99977,.99966,1.00022,1.00032,1.00001,.99944,1.00026,1.00001,.99968,1.00001,1.00047,1,1.0006,1.00001,.99981,1.00101,1.00026,1.0006,.99948,.99981,1.00064,.99973,.99942,1.00101,1.00061,1.00026,1.00069,1.0006,1.00014,.99973,1.01322,.99973,1.00065,1.00026,1.00012,.99923,1,1.00064,1.00076,.99948,1.00055,1.00063,1.00007,.99943,1.0006,.99948,1.00026,.99948,.99943,1.00001,1.00001,1.00029,1.00038,1.00035,1.00001,1.0006,1.0006,.99973,.99978,1.00001,1.00057,.99989,.99967,.99964,.99967,.99977,.99999,.99977,1.00038,.99977,1.00001,.99973,1.00066,.99967,.99967,1.00041,.99998,.99999,.99977,1.00022,.99967,1.00001,.99977,1.00026,.99964,1.00031,1.00001,.99999,.99999,1,1.00023,1,1,.99999,1.00035,1.00001,.99999,.99973,.99977,.99999,1.00058,.99973,.99973,.99955,.9995,1.00026,1.00026,1.00032,.99989,1.00034,.99999,1.00026,1.00026,1.00026,.99973,.45998,.99973,1.00026,.99973,1.00001,.99999,.99982,.99994,.99996,1,1.00042,1.00044,1.00029,1.00023,.99973,.99973,1.00026,.99949,1.00002,.99973,1.0006,1.0006,1.0006,.99975,1.00026,1.00026,1.00032,.98685,.99973,1.00026,1,1,.99966,1.00044,1.00016,1.00022,1.00016,1.00022,1.00016,1.00022,1.00001,.99973,1,1,.99973,1,1,.99955,1.0006,1.0006,1.0006,1.0006,1,1,1,.99973,.99973,.99972,1,1,1.00106,.99999,.99998,.99998,.99999,.99998,1.66475,1,.99973,.99973,1,.99973,.99971,.99978,1,1,.99991,.99984,1.00002,1.00002,1.00002,1.00002,1.00098,1,1,1,1.00049,1,1,.99972,1,1.20985,1.39713,1.00003,1.00031,1.00015,1,.99561,1.00027,1.00031,1.00031,.99915,1.00031,1.00031,.99999,1.00003,.99999,.99999,1.41144,1.6,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.40579,1.40579,1.36625,.99999,1,.99861,.99861,1,1.00026,1.00026,1.00026,1.00026,.99972,.99999,.99999,.99999,.99999,1.40483,1,.99977,1.00054,1,1,.99953,.99962,1.00042,.9995,1,1,1,1,1,1,1,1,.99998,.99998,.99998,.99998,1,1,1,1,1,1,1,1,1,1,1],t.HelveticaBoldItalicMetrics={lineHeight:1.35,lineGap:.2},t.HelveticaItalicFactors=[.76116,1,1,1.0006,1.0006,1.00006,.99973,.99973,.99982,1.00001,1.00043,.99998,.99998,.99959,1.00003,1.0006,.99998,1.0006,1.0006,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,1.0006,1,1.00003,1.00003,1.00003,.99973,.99987,1.00001,1.00001,.99977,.99977,1.00001,1.00026,1.00022,.99977,1.0006,1,1.00001,.99973,.99999,.99977,1.00022,1.00001,1.00022,.99977,1.00001,1.00026,.99977,1.00001,1.00016,1.00001,1.00001,1.00026,1.0006,1.0006,1.0006,.99949,.99973,.99998,.99973,.99973,1,.99973,.99973,1.0006,.99973,.99973,.99924,.99924,1,.99924,.99999,.99973,.99973,.99973,.99973,.99998,1,1.0006,.99973,1,.99977,1,1,1,1.00005,1.0009,1.00005,1.00003,.99998,.99973,.99973,.99973,.99973,1.0009,.99973,.99998,1.00025,.99968,.99973,1.00003,1.00025,.60299,1.00024,1.06409,1,1,.99998,1,.9998,1.0006,.99998,1,.99936,.99973,1.00002,1.00002,1.00002,1.00026,1.00001,1.00001,1.00001,1.00001,1.00001,1.00001,1,.99977,1.00001,1.00001,1.00001,1.00001,1.0006,1.0006,1.0006,1.0006,.99977,.99977,1.00022,1.00022,1.00022,1.00022,1.00022,1.00003,1.00022,.99977,.99977,.99977,.99977,1.00001,1.00001,1.00026,.99973,.99973,.99973,.99973,.99973,.99973,.99982,1,.99973,.99973,.99973,.99973,1.0006,1.0006,1.0006,1.0006,.99973,.99973,.99973,.99973,.99973,.99973,.99973,1.06409,1.00026,.99973,.99973,.99973,.99973,1,.99973,1,1.00001,.99973,1.00001,.99973,1.00001,.99973,.99977,1,.99977,1,.99977,1,.99977,1,.99977,1.0288,.99977,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00022,.99973,1.00022,.99973,1.00022,.99973,1.00022,.99973,.99977,.99973,.99977,.99973,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,.99924,1.0006,1.0006,.99946,1.00034,1,.99924,1.00001,1,1,.99973,.99924,.99973,.99924,.99973,1.06311,.99973,1.00024,.99973,.99924,.99977,.99973,.99977,.99973,.99977,.99973,1.00041,.9998,.99973,1.00022,.99973,1.00022,.99973,1.00022,.99973,1,1.00016,.99977,.99998,.99977,.99998,.99977,.99998,1.00001,1,1.00001,1,1.00001,1,1.00001,1,1.00026,1.0006,1.00026,.89547,1.00026,1.0006,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,1.00016,.99977,1.00001,1,1.00001,1.00026,1,1.00026,1,1.00026,1,.99924,.99973,1.00001,.99973,1,.99982,1.00022,1.00026,1.00001,1,1.00026,1.0006,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,1.00001,1,1.00054,.99977,1.00084,1.00007,.99973,1.00013,.99924,1.00001,1.00001,.99945,.91221,1.00001,1.00026,.99977,1.00022,1.0006,1.00001,1.00001,.99999,.99977,.99933,1.00022,1.00054,1.00001,1.00065,1.00026,1.00001,1.0001,1.00001,1.00052,1,1.0006,1.00001,.99945,.99897,.99968,.99924,1.00036,.99945,.99949,1,1.0006,.99897,.99918,.99968,.99911,.99924,1,.99962,1.01487,1,1.0005,.99973,1.00012,1.00043,1,.99995,.99994,1.00036,.99947,1.00019,1.00063,1.00025,.99924,1.00036,.99973,1.00036,1.00025,1.00001,1.00001,1.00027,1.0001,1.00068,1.00001,1.0006,1.0006,1,1.00008,.99957,.99972,.9994,.99954,.99975,1.00051,1.00001,1.00019,1.00001,1.0001,.99986,1.00001,1.00001,1.00038,.99954,.99954,.9994,1.00066,.99999,.99977,1.00022,1.00054,1.00001,.99977,1.00026,.99975,1.0001,1.00001,.99993,.9995,.99955,1.00016,.99978,.99974,1.00019,1.00022,.99955,1.00053,.99973,1.00089,1.00005,.99967,1.00048,.99973,1.00002,1.00034,.99973,.99973,.99964,1.00006,1.00066,.99947,.99973,.98894,.99973,1,.44898,1,.99946,1,1.00039,1.00082,.99991,.99991,.99985,1.00022,1.00023,1.00061,1.00006,.99966,.99973,.99973,.99973,1.00019,1.0008,1,.99924,.99924,.99924,.99983,1.00044,.99973,.99964,.98332,1,.99973,1,1,.99962,.99895,1.00016,.99977,1.00016,.99977,1.00016,.99977,1.00001,1,1,1,.99973,1,1,.99955,.99924,.99924,.99924,.99924,.99998,.99998,.99998,.99973,.99973,.99972,1,1,1.00267,.99999,.99998,.99998,1,.99998,1.66475,1,.99973,.99973,1.00023,.99973,1.00423,.99925,.99999,1,.99991,.99984,1.00002,1.00002,1.00002,1.00002,1.00049,1,1.00245,1,1,1,1,.96329,1,1.20985,1.39713,1.00003,.8254,1.00015,1,1.00035,1.00027,1.00031,1.00031,1.00003,1.00031,1.00031,.99999,1.00003,.99999,.99999,1.41144,1.6,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.40579,1.40579,1.36625,.99999,1,.99861,.99861,1,1.00026,1.00026,1.00026,1.00026,.95317,.99999,.99999,.99999,.99999,1.40483,1,.99977,1.00054,1,1,.99953,.99962,1.00042,.9995,1,1,1,1,1,1,1,1,.99998,.99998,.99998,.99998,1,1,1,1,1,1,1,1,1,1,1],t.HelveticaItalicMetrics={lineHeight:1.35,lineGap:.2},t.HelveticaRegularFactors=[.76116,1,1,1.0006,1.0006,1.00006,.99973,.99973,.99982,1.00001,1.00043,.99998,.99998,.99959,1.00003,1.0006,.99998,1.0006,1.0006,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,1.0006,1,1.00003,1.00003,1.00003,.99973,.99987,1.00001,1.00001,.99977,.99977,1.00001,1.00026,1.00022,.99977,1.0006,1,1.00001,.99973,.99999,.99977,1.00022,1.00001,1.00022,.99977,1.00001,1.00026,.99977,1.00001,1.00016,1.00001,1.00001,1.00026,1.0006,1.0006,1.0006,.99949,.99973,.99998,.99973,.99973,1,.99973,.99973,1.0006,.99973,.99973,.99924,.99924,1,.99924,.99999,.99973,.99973,.99973,.99973,.99998,1,1.0006,.99973,1,.99977,1,1,1,1.00005,1.0009,1.00005,1.00003,.99998,.99973,.99973,.99973,.99973,1.0009,.99973,.99998,1.00025,.99968,.99973,1.00003,1.00025,.60299,1.00024,1.06409,1,1,.99998,1,.9998,1.0006,.99998,1,.99936,.99973,1.00002,1.00002,1.00002,1.00026,1.00001,1.00001,1.00001,1.00001,1.00001,1.00001,1,.99977,1.00001,1.00001,1.00001,1.00001,1.0006,1.0006,1.0006,1.0006,.99977,.99977,1.00022,1.00022,1.00022,1.00022,1.00022,1.00003,1.00022,.99977,.99977,.99977,.99977,1.00001,1.00001,1.00026,.99973,.99973,.99973,.99973,.99973,.99973,.99982,1,.99973,.99973,.99973,.99973,1.0006,1.0006,1.0006,1.0006,.99973,.99973,.99973,.99973,.99973,.99973,.99973,1.06409,1.00026,.99973,.99973,.99973,.99973,1,.99973,1,1.00001,.99973,1.00001,.99973,1.00001,.99973,.99977,1,.99977,1,.99977,1,.99977,1,.99977,1.04596,.99977,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00022,.99973,1.00022,.99973,1.00022,.99973,1.00022,.99973,.99977,.99973,.99977,.99973,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,.99924,1.0006,1.0006,1.00019,1.00034,1,.99924,1.00001,1,1,.99973,.99924,.99973,.99924,.99973,1.02572,.99973,1.00005,.99973,.99924,.99977,.99973,.99977,.99973,.99977,.99973,.99999,.9998,.99973,1.00022,.99973,1.00022,.99973,1.00022,.99973,1,1.00016,.99977,.99998,.99977,.99998,.99977,.99998,1.00001,1,1.00001,1,1.00001,1,1.00001,1,1.00026,1.0006,1.00026,.84533,1.00026,1.0006,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,1.00016,.99977,1.00001,1,1.00001,1.00026,1,1.00026,1,1.00026,1,.99924,.99973,1.00001,.99973,1,.99982,1.00022,1.00026,1.00001,1,1.00026,1.0006,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99928,1,.99977,1.00013,1.00055,.99947,.99945,.99941,.99924,1.00001,1.00001,1.0004,.91621,1.00001,1.00026,.99977,1.00022,1.0006,1.00001,1.00005,.99999,.99977,1.00015,1.00022,.99977,1.00001,.99973,1.00026,1.00001,1.00019,1.00001,.99946,1,1.0006,1.00001,.99978,1.00045,.99973,.99924,1.00023,.99978,.99966,1,1.00065,1.00045,1.00019,.99973,.99973,.99924,1,1,.96499,1,1.00055,.99973,1.00008,1.00027,1,.9997,.99995,1.00023,.99933,1.00019,1.00015,1.00031,.99924,1.00023,.99973,1.00023,1.00031,1.00001,.99928,1.00029,1.00092,1.00035,1.00001,1.0006,1.0006,1,.99988,.99975,1,1.00082,.99561,.9996,1.00035,1.00001,.99962,1.00001,1.00092,.99964,1.00001,.99963,.99999,1.00035,1.00035,1.00082,.99962,.99999,.99977,1.00022,1.00035,1.00001,.99977,1.00026,.9996,.99967,1.00001,1.00034,1.00074,1.00054,1.00053,1.00063,.99971,.99962,1.00035,.99975,.99977,.99973,1.00043,.99953,1.0007,.99915,.99973,1.00008,.99892,1.00073,1.00073,1.00114,.99915,1.00073,.99955,.99973,1.00092,.99973,1,.99998,1,1.0003,1,1.00043,1.00001,.99969,1.0003,1,1.00035,1.00001,.9995,1,1.00092,.99973,.99973,.99973,1.0007,.9995,1,.99924,1.0006,.99924,.99972,1.00062,.99973,1.00114,1.00073,1,.99955,1,1,1.00047,.99968,1.00016,.99977,1.00016,.99977,1.00016,.99977,1.00001,1,1,1,.99973,1,1,.99955,.99924,.99924,.99924,.99924,.99998,.99998,.99998,.99973,.99973,.99972,1,1,1.00267,.99999,.99998,.99998,1,.99998,1.66475,1,.99973,.99973,1.00023,.99973,.99971,.99925,1.00023,1,.99991,.99984,1.00002,1.00002,1.00002,1.00002,1,1,1,1,1,1,1,.96329,1,1.20985,1.39713,1.00003,.8254,1.00015,1,1.00035,1.00027,1.00031,1.00031,.99915,1.00031,1.00031,.99999,1.00003,.99999,.99999,1.41144,1.6,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.40579,1.40579,1.36625,.99999,1,.99861,.99861,1,1.00026,1.00026,1.00026,1.00026,.95317,.99999,.99999,.99999,.99999,1.40483,1,.99977,1.00054,1,1,.99953,.99962,1.00042,.9995,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],t.HelveticaRegularMetrics={lineHeight:1.2,lineGap:.2}},
2function(e,t){
vendor: 23,040 bytes, line 2
2Object.defineProperty(t,"__esModule",{value:!0}),t.LiberationSansRegularWidths=t.LiberationSansRegularMapping=t.LiberationSansItalicWidths=t.LiberationSansItalicMapping=t.LiberationSansBoldWidths=t.LiberationSansBoldMapping=t.LiberationSansBoldItalicWidths=t.LiberationSansBoldItalicMapping=void 0,t.LiberationSansBoldWidths=[365,0,333,278,333,474,556,556,889,722,238,333,333,389,584,278,333,278,278,556,556,556,556,556,556,556,556,556,556,333,333,584,584,584,611,975,722,722,722,722,667,611,778,722,278,556,722,611,833,722,778,667,778,722,667,611,722,667,944,667,667,611,333,278,333,584,556,333,556,611,556,611,556,333,611,611,278,278,556,278,889,611,611,611,611,389,556,333,611,556,778,556,556,500,389,280,389,584,333,556,556,556,556,280,556,333,737,370,556,584,737,552,400,549,333,333,333,576,556,278,333,333,365,556,834,834,834,611,722,722,722,722,722,722,1e3,722,667,667,667,667,278,278,278,278,722,722,778,778,778,778,778,584,778,722,722,722,722,667,667,611,556,556,556,556,556,556,889,556,556,556,556,556,278,278,278,278,611,611,611,611,611,611,611,549,611,611,611,611,611,556,611,556,722,556,722,556,722,556,722,556,722,556,722,556,722,556,722,719,722,611,667,556,667,556,667,556,667,556,667,556,778,611,778,611,778,611,778,611,722,611,722,611,278,278,278,278,278,278,278,278,278,278,785,556,556,278,722,556,556,611,278,611,278,611,385,611,479,611,278,722,611,722,611,722,611,708,723,611,778,611,778,611,778,611,1e3,944,722,389,722,389,722,389,667,556,667,556,667,556,667,556,611,333,611,479,611,333,722,611,722,611,722,611,722,611,722,611,722,611,944,778,667,556,667,611,500,611,500,611,500,278,556,722,556,1e3,889,778,611,667,556,611,333,333,333,333,333,333,333,333,333,333,333,465,722,333,853,906,474,825,927,838,278,722,722,601,719,667,611,722,778,278,722,667,833,722,644,778,722,667,600,611,667,821,667,809,802,278,667,615,451,611,278,582,615,610,556,606,475,460,611,541,278,558,556,612,556,445,611,766,619,520,684,446,582,715,576,753,845,278,582,611,582,845,667,669,885,567,711,667,278,276,556,1094,1062,875,610,722,622,719,722,719,722,567,712,667,904,626,719,719,610,702,833,722,778,719,667,722,611,622,854,667,730,703,1005,1019,870,979,719,711,1031,719,556,618,615,417,635,556,709,497,615,615,500,635,740,604,611,604,611,556,490,556,875,556,615,581,833,844,729,854,615,552,854,583,556,556,611,417,552,556,278,281,278,969,906,611,500,615,556,604,778,611,487,447,944,778,944,778,944,778,667,556,333,333,556,1e3,1e3,552,278,278,278,278,500,500,500,556,556,350,1e3,1e3,240,479,333,333,604,333,167,396,556,556,1094,556,885,489,1115,1e3,768,600,834,834,834,834,1e3,500,1e3,500,1e3,500,500,494,612,823,713,584,549,713,979,722,274,549,549,583,549,549,604,584,604,604,708,625,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,729,604,604,354,354,1e3,990,990,990,990,494,604,604,604,604,354,1021,1052,917,750,750,531,656,594,510,500,750,750,611,611,333,333,333,333,333,333,333,333,222,222,333,333,333,333,333,333,333,333],t.LiberationSansBoldMapping=[-1,-1,-1,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,161,162,163,164,165,166,167,168,169,170,171,172,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,402,506,507,508,509,510,511,536,537,538,539,710,711,713,728,729,730,731,732,733,900,901,902,903,904,905,906,908,910,911,912,913,914,915,916,917,918,919,920,921,922,923,924,925,926,927,928,929,931,932,933,934,935,936,937,938,939,940,941,942,943,944,945,946,947,948,949,950,951,952,953,954,955,956,957,958,959,960,961,962,963,964,965,966,967,968,969,970,971,972,973,974,1024,1025,1026,1027,1028,1029,1030,1031,1032,1033,1034,1035,1036,1037,1038,1039,1040,1041,1042,1043,1044,1045,1046,1047,1048,1049,1050,1051,1052,1053,1054,1055,1056,1057,1058,1059,1060,1061,1062,1063,1064,1065,1066,1067,1068,1069,1070,1071,1072,1073,1074,1075,1076,1077,1078,1079,1080,1081,1082,1083,1084,1085,1086,1087,1088,1089,1090,1091,1092,1093,1094,1095,1096,1097,1098,1099,1100,1101,1102,1103,1104,1105,1106,1107,1108,1109,1110,1111,1112,1113,1114,1115,1116,1117,1118,1119,1138,1139,1168,1169,7808,7809,7810,7811,7812,7813,7922,7923,8208,8209,8211,8212,8213,8215,8216,8217,8218,8219,8220,8221,8222,8224,8225,8226,8230,8240,8242,8243,8249,8250,8252,8254,8260,8319,8355,8356,8359,8364,8453,8467,8470,8482,8486,8494,8539,8540,8541,8542,8592,8593,8594,8595,8596,8597,8616,8706,8710,8719,8721,8722,8730,8734,8735,8745,8747,8776,8800,8801,8804,8805,8962,8976,8992,8993,9472,9474,9484,9488,9492,9496,9500,9508,9516,9524,9532,9552,9553,9554,9555,9556,9557,9558,9559,9560,9561,9562,9563,9564,9565,9566,9567,9568,9569,9570,9571,9572,9573,9574,9575,9576,9577,9578,9579,9580,9600,9604,9608,9612,9616,9617,9618,9619,9632,9633,9642,9643,9644,9650,9658,9660,9668,9674,9675,9679,9688,9689,9702,9786,9787,9788,9792,9794,9824,9827,9829,9830,9834,9835,9836,61441,61442,61445,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1],t.LiberationSansBoldItalicWidths=[365,0,333,278,333,474,556,556,889,722,238,333,333,389,584,278,333,278,278,556,556,556,556,556,556,556,556,556,556,333,333,584,584,584,611,975,722,722,722,722,667,611,778,722,278,556,722,611,833,722,778,667,778,722,667,611,722,667,944,667,667,611,333,278,333,584,556,333,556,611,556,611,556,333,611,611,278,278,556,278,889,611,611,611,611,389,556,333,611,556,778,556,556,500,389,280,389,584,333,556,556,556,556,280,556,333,737,370,556,584,737,552,400,549,333,333,333,576,556,278,333,333,365,556,834,834,834,611,722,722,722,722,722,722,1e3,722,667,667,667,667,278,278,278,278,722,722,778,778,778,778,778,584,778,722,722,722,722,667,667,611,556,556,556,556,556,556,889,556,556,556,556,556,278,278,278,278,611,611,611,611,611,611,611,549,611,611,611,611,611,556,611,556,722,556,722,556,722,556,722,556,722,556,722,556,722,556,722,740,722,611,667,556,667,556,667,556,667,556,667,556,778,611,778,611,778,611,778,611,722,611,722,611,278,278,278,278,278,278,278,278,278,278,782,556,556,278,722,556,556,611,278,611,278,611,396,611,479,611,278,722,611,722,611,722,611,708,723,611,778,611,778,611,778,611,1e3,944,722,389,722,389,722,389,667,556,667,556,667,556,667,556,611,333,611,479,611,333,722,611,722,611,722,611,722,611,722,611,722,611,944,778,667,556,667,611,500,611,500,611,500,278,556,722,556,1e3,889,778,611,667,556,611,333,333,333,333,333,333,333,333,333,333,333,333,722,333,854,906,473,844,930,847,278,722,722,610,671,667,611,722,778,278,722,667,833,722,657,778,718,667,590,611,667,822,667,829,781,278,667,620,479,611,278,591,620,621,556,610,479,492,611,558,278,566,556,603,556,450,611,712,605,532,664,409,591,704,578,773,834,278,591,611,591,834,667,667,886,614,719,667,278,278,556,1094,1042,854,622,719,677,719,722,708,722,614,722,667,927,643,719,719,615,687,833,722,778,719,667,722,611,677,781,667,729,708,979,989,854,1e3,708,719,1042,729,556,619,604,534,618,556,736,510,611,611,507,622,740,604,611,611,611,556,889,556,885,556,646,583,889,935,707,854,594,552,865,589,556,556,611,469,563,556,278,278,278,969,906,611,507,619,556,611,778,611,575,467,944,778,944,778,944,778,667,556,333,333,556,1e3,1e3,552,278,278,278,278,500,500,500,556,556,350,1e3,1e3,240,479,333,333,604,333,167,396,556,556,1104,556,885,516,1146,1e3,768,600,834,834,834,834,999,500,1e3,500,1e3,500,500,494,612,823,713,584,549,713,979,722,274,549,549,583,549,549,604,584,604,604,708,625,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,729,604,604,354,354,1e3,990,990,990,990,494,604,604,604,604,354,1021,1052,917,750,750,531,656,594,510,500,750,750,611,611,333,333,333,333,333,333,333,333,222,222,333,333,333,333,333,333,333,333],t.LiberationSansBoldItalicMapping=[-1,-1,-1,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,161,162,163,164,165,166,167,168,169,170,171,172,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,402,506,507,508,509,510,511,536,537,538,539,710,711,713,728,729,730,731,732,733,900,901,902,903,904,905,906,908,910,911,912,913,914,915,916,917,918,919,920,921,922,923,924,925,926,927,928,929,931,932,933,934,935,936,937,938,939,940,941,942,943,944,945,946,947,948,949,950,951,952,953,954,955,956,957,958,959,960,961,962,963,964,965,966,967,968,969,970,971,972,973,974,1024,1025,1026,1027,1028,1029,1030,1031,1032,1033,1034,1035,1036,1037,1038,1039,1040,1041,1042,1043,1044,1045,1046,1047,1048,1049,1050,1051,1052,1053,1054,1055,1056,1057,1058,1059,1060,1061,1062,1063,1064,1065,1066,1067,1068,1069,1070,1071,1072,1073,1074,1075,1076,1077,1078,1079,1080,1081,1082,1083,1084,1085,1086,1087,1088,1089,1090,1091,1092,1093,1094,1095,1096,1097,1098,1099,1100,1101,1102,1103,1104,1105,1106,1107,1108,1109,1110,1111,1112,1113,1114,1115,1116,1117,1118,1119,1138,1139,1168,1169,7808,7809,7810,7811,7812,7813,7922,7923,8208,8209,8211,8212,8213,8215,8216,8217,8218,8219,8220,8221,8222,8224,8225,8226,8230,8240,8242,8243,8249,8250,8252,8254,8260,8319,8355,8356,8359,8364,8453,8467,8470,8482,8486,8494,8539,8540,8541,8542,8592,8593,8594,8595,8596,8597,8616,8706,8710,8719,8721,8722,8730,8734,8735,8745,8747,8776,8800,8801,8804,8805,8962,8976,8992,8993,9472,9474,9484,9488,9492,9496,9500,9508,9516,9524,9532,9552,9553,9554,9555,9556,9557,9558,9559,9560,9561,9562,9563,9564,9565,9566,9567,9568,9569,9570,9571,9572,9573,9574,9575,9576,9577,9578,9579,9580,9600,9604,9608,9612,9616,9617,9618,9619,9632,9633,9642,9643,9644,9650,9658,9660,9668,9674,9675,9679,9688,9689,9702,9786,9787,9788,9792,9794,9824,9827,9829,9830,9834,9835,9836,61441,61442,61445,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1],t.LiberationSansItalicWidths=[365,0,333,278,278,355,556,556,889,667,191,333,333,389,584,278,333,278,278,556,556,556,556,556,556,556,556,556,556,278,278,584,584,584,556,1015,667,667,722,722,667,611,778,722,278,500,667,556,833,722,778,667,778,722,667,611,722,667,944,667,667,611,278,278,278,469,556,333,556,556,500,556,556,278,556,556,222,222,500,222,833,556,556,556,556,333,500,278,556,500,722,500,500,500,334,260,334,584,333,556,556,556,556,260,556,333,737,370,556,584,737,552,400,549,333,333,333,576,537,278,333,333,365,556,834,834,834,611,667,667,667,667,667,667,1e3,722,667,667,667,667,278,278,278,278,722,722,778,778,778,778,778,584,778,722,722,722,722,667,667,611,556,556,556,556,556,556,889,500,556,556,556,556,278,278,278,278,556,556,556,556,556,556,556,549,611,556,556,556,556,500,556,500,667,556,667,556,667,556,722,500,722,500,722,500,722,500,722,625,722,556,667,556,667,556,667,556,667,556,667,556,778,556,778,556,778,556,778,556,722,556,722,556,278,278,278,278,278,278,278,222,278,278,733,444,500,222,667,500,500,556,222,556,222,556,281,556,400,556,222,722,556,722,556,722,556,615,723,556,778,556,778,556,778,556,1e3,944,722,333,722,333,722,333,667,500,667,500,667,500,667,500,611,278,611,354,611,278,722,556,722,556,722,556,722,556,722,556,722,556,944,722,667,500,667,611,500,611,500,611,500,222,556,667,556,1e3,889,778,611,667,500,611,278,333,333,333,333,333,333,333,333,333,333,333,667,278,789,846,389,794,865,775,222,667,667,570,671,667,611,722,778,278,667,667,833,722,648,778,725,667,600,611,667,837,667,831,761,278,667,570,439,555,222,550,570,571,500,556,439,463,555,542,222,500,492,548,500,447,556,670,573,486,603,374,550,652,546,728,779,222,550,556,550,779,667,667,843,544,708,667,278,278,500,1066,982,844,589,715,639,724,667,651,667,544,704,667,917,614,715,715,589,686,833,722,778,725,667,722,611,639,795,667,727,673,920,923,805,886,651,694,1022,682,556,562,522,493,553,556,688,465,556,556,472,564,686,550,556,556,556,500,833,500,835,500,572,518,830,851,621,736,526,492,752,534,556,556,556,378,496,500,222,222,222,910,828,556,472,565,500,556,778,556,492,339,944,722,944,722,944,722,667,500,333,333,556,1e3,1e3,552,222,222,222,222,333,333,333,556,556,350,1e3,1e3,188,354,333,333,500,333,167,365,556,556,1094,556,885,323,1083,1e3,768,600,834,834,834,834,1e3,500,998,500,1e3,500,500,494,612,823,713,584,549,713,979,719,274,549,549,584,549,549,604,584,604,604,708,625,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,729,604,604,354,354,1e3,990,990,990,990,494,604,604,604,604,354,1021,1052,917,750,750,531,656,594,510,500,750,750,500,500,333,333,333,333,333,333,333,333,222,222,294,294,324,324,316,328,398,285],t.LiberationSansItalicMapping=[-1,-1,-1,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,161,162,163,164,165,166,167,168,169,170,171,172,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,402,506,507,508,509,510,511,536,537,538,539,710,711,713,728,729,730,731,732,733,900,901,902,903,904,905,906,908,910,911,912,913,914,915,916,917,918,919,920,921,922,923,924,925,926,927,928,929,931,932,933,934,935,936,937,938,939,940,941,942,943,944,945,946,947,948,949,950,951,952,953,954,955,956,957,958,959,960,961,962,963,964,965,966,967,968,969,970,971,972,973,974,1024,1025,1026,1027,1028,1029,1030,1031,1032,1033,1034,1035,1036,1037,1038,1039,1040,1041,1042,1043,1044,1045,1046,1047,1048,1049,1050,1051,1052,1053,1054,1055,1056,1057,1058,1059,1060,1061,1062,1063,1064,1065,1066,1067,1068,1069,1070,1071,1072,1073,1074,1075,1076,1077,1078,1079,1080,1081,1082,1083,1084,1085,1086,1087,1088,1089,1090,1091,1092,1093,1094,1095,1096,1097,1098,1099,1100,1101,1102,1103,1104,1105,1106,1107,1108,1109,1110,1111,1112,1113,1114,1115,1116,1117,1118,1119,1138,1139,1168,1169,7808,7809,7810,7811,7812,7813,7922,7923,8208,8209,8211,8212,8213,8215,8216,8217,8218,8219,8220,8221,8222,8224,8225,8226,8230,8240,8242,8243,8249,8250,8252,8254,8260,8319,8355,8356,8359,8364,8453,8467,8470,8482,8486,8494,8539,8540,8541,8542,8592,8593,8594,8595,8596,8597,8616,8706,8710,8719,8721,8722,8730,8734,8735,8745,8747,8776,8800,8801,8804,8805,8962,8976,8992,8993,9472,9474,9484,9488,9492,9496,9500,9508,9516,9524,9532,9552,9553,9554,9555,9556,9557,9558,9559,9560,9561,9562,9563,9564,9565,9566,9567,9568,9569,9570,9571,9572,9573,9574,9575,9576,9577,9578,9579,9580,9600,9604,9608,9612,9616,9617,9618,9619,9632,9633,9642,9643,9644,9650,9658,9660,9668,9674,9675,9679,9688,9689,9702,9786,9787,9788,9792,9794,9824,9827,9829,9830,9834,9835,9836,61441,61442,61445,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1],t.LiberationSansRegularWidths=[365,0,333,278,278,355,556,556,889,667,191,333,333,389,584,278,333,278,278,556,556,556,556,556,556,556,556,556,556,278,278,584,584,584,556,1015,667,667,722,722,667,611,778,722,278,500,667,556,833,722,778,667,778,722,667,611,722,667,944,667,667,611,278,278,278,469,556,333,556,556,500,556,556,278,556,556,222,222,500,222,833,556,556,556,556,333,500,278,556,500,722,500,500,500,334,260,334,584,333,556,556,556,556,260,556,333,737,370,556,584,737,552,400,549,333,333,333,576,537,278,333,333,365,556,834,834,834,611,667,667,667,667,667,667,1e3,722,667,667,667,667,278,278,278,278,722,722,778,778,778,778,778,584,778,722,722,722,722,667,667,611,556,556,556,556,556,556,889,500,556,556,556,556,278,278,278,278,556,556,556,556,556,556,556,549,611,556,556,556,556,500,556,500,667,556,667,556,667,556,722,500,722,500,722,500,722,500,722,615,722,556,667,556,667,556,667,556,667,556,667,556,778,556,778,556,778,556,778,556,722,556,722,556,278,278,278,278,278,278,278,222,278,278,735,444,500,222,667,500,500,556,222,556,222,556,292,556,334,556,222,722,556,722,556,722,556,604,723,556,778,556,778,556,778,556,1e3,944,722,333,722,333,722,333,667,500,667,500,667,500,667,500,611,278,611,375,611,278,722,556,722,556,722,556,722,556,722,556,722,556,944,722,667,500,667,611,500,611,500,611,500,222,556,667,556,1e3,889,778,611,667,500,611,278,333,333,333,333,333,333,333,333,333,333,333,667,278,784,838,384,774,855,752,222,667,667,551,668,667,611,722,778,278,667,668,833,722,650,778,722,667,618,611,667,798,667,835,748,278,667,578,446,556,222,547,578,575,500,557,446,441,556,556,222,500,500,576,500,448,556,690,569,482,617,395,547,648,525,713,781,222,547,556,547,781,667,667,865,542,719,667,278,278,500,1057,1010,854,583,722,635,719,667,656,667,542,677,667,923,604,719,719,583,656,833,722,778,719,667,722,611,635,760,667,740,667,917,938,792,885,656,719,1010,722,556,573,531,365,583,556,669,458,559,559,438,583,688,552,556,542,556,500,458,500,823,500,573,521,802,823,625,719,521,510,750,542,556,556,556,365,510,500,222,278,222,906,812,556,438,559,500,552,778,556,489,411,944,722,944,722,944,722,667,500,333,333,556,1e3,1e3,552,222,222,222,222,333,333,333,556,556,350,1e3,1e3,188,354,333,333,500,333,167,365,556,556,1094,556,885,323,1073,1e3,768,600,834,834,834,834,1e3,500,1e3,500,1e3,500,500,494,612,823,713,584,549,713,979,719,274,549,549,583,549,549,604,584,604,604,708,625,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,729,604,604,354,354,1e3,990,990,990,990,494,604,604,604,604,354,1021,1052,917,750,750,531,656,594,510,500,750,750,500,500,333,333,333,333,333,333,333,333,222,222,294,294,324,324,316,328,398,285],t.LiberationSansRegularMapping=[-1,-1,-1,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,161,162,163,164,165,166,167,168,169,170,171,172,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,402,506,507,508,509,510,511,536,537,538,539,710,711,713,728,729,730,731,732,733,900,901,902,903,904,905,906,908,910,911,912,913,914,915,916,917,918,919,920,921,922,923,924,925,926,927,928,929,931,932,933,934,935,936,937,938,939,940,941,942,943,944,945,946,947,948,949,950,951,952,953,954,955,956,957,958,959,960,961,962,963,964,965,966,967,968,969,970,971,972,973,974,1024,1025,1026,1027,1028,1029,1030,1031,1032,1033,1034,1035,1036,1037,1038,1039,1040,1041,1042,1043,1044,1045,1046,1047,1048,1049,1050,1051,1052,1053,1054,1055,1056,1057,1058,1059,1060,1061,1062,1063,1064,1065,1066,1067,1068,1069,1070,1071,1072,1073,1074,1075,1076,1077,1078,1079,1080,1081,1082,1083,1084,1085,1086,1087,1088,1089,1090,1091,1092,1093,1094,1095,1096,1097,1098,1099,1100,1101,1102,1103,1104,1105,1106,1107,1108,1109,1110,1111,1112,1113,1114,1115,1116,1117,1118,1119,1138,1139,1168,1169,7808,7809,7810,7811,7812,7813,7922,7923,8208,8209,8211,8212,8213,8215,8216,8217,8218,8219,8220,8221,8222,8224,8225,8226,8230,8240,8242,8243,8249,8250,8252,8254,8260,8319,8355,8356,8359,8364,8453,8467,8470,8482,8486,8494,8539,8540,8541,8542,8592,8593,8594,8595,8596,8597,8616,8706,8710,8719,8721,8722,8730,8734,8735,8745,8747,8776,8800,8801,8804,8805,8962,8976,8992,8993,9472,9474,9484,9488,9492,9496,9500,9508,9516,9524,9532,9552,9553,9554,9555,9556,9557,9558,9559,9560,9561,9562,9563,9564,9565,9566,9567,9568,9569,9570,9571,9572,9573,9574,9575,9576,9577,9578,9579,9580,9600,9604,9608,9612,9616,9617,9618,9619,9632,9633,9642,9643,9644,9650,9658,9660,9668,9674,9675,9679,9688,9689,9702,9786,9787,9788,9792,9794,9824,9827,9829,9830,9834,9835,9836,61441,61442,61445,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1]},
2function(e,t){
vendor: 14,401 bytes, line 2
2Object.defineProperty(t,"__esModule",{value:!0}),t.MyriadProRegularMetrics=t.MyriadProRegularFactors=t.MyriadProItalicMetrics=t.MyriadProItalicFactors=t.MyriadProBoldMetrics=t.MyriadProBoldItalicMetrics=t.MyriadProBoldItalicFactors=t.MyriadProBoldFactors=void 0,t.MyriadProBoldFactors=[1.36898,1,1,.72706,.80479,.83734,.98894,.99793,.9897,.93884,.86209,.94292,.94292,1.16661,1.02058,.93582,.96694,.93582,1.19137,.99793,.99793,.99793,.99793,.99793,.99793,.99793,.99793,.99793,.99793,.78076,.78076,1.02058,1.02058,1.02058,.72851,.78966,.90838,.83637,.82391,.96376,.80061,.86275,.8768,.95407,1.0258,.73901,.85022,.83655,1.0156,.95546,.92179,.87107,.92179,.82114,.8096,.89713,.94438,.95353,.94083,.91905,.90406,.9446,.94292,1.18777,.94292,1.02058,.89903,.90088,.94938,.97898,.81093,.97571,.94938,1.024,.9577,.95933,.98621,1.0474,.97455,.98981,.9672,.95933,.9446,.97898,.97407,.97646,.78036,1.10208,.95442,.95298,.97579,.9332,.94039,.938,.80687,1.01149,.80687,1.02058,.80479,.99793,.99793,.99793,.99793,1.01149,1.00872,.90088,.91882,1.0213,.8361,1.02058,.62295,.54324,.89022,1.08595,1,1,.90088,1,.97455,.93582,.90088,1,1.05686,.8361,.99642,.99642,.99642,.72851,.90838,.90838,.90838,.90838,.90838,.90838,.868,.82391,.80061,.80061,.80061,.80061,1.0258,1.0258,1.0258,1.0258,.97484,.95546,.92179,.92179,.92179,.92179,.92179,1.02058,.92179,.94438,.94438,.94438,.94438,.90406,.86958,.98225,.94938,.94938,.94938,.94938,.94938,.94938,.9031,.81093,.94938,.94938,.94938,.94938,.98621,.98621,.98621,.98621,.93969,.95933,.9446,.9446,.9446,.9446,.9446,1.08595,.9446,.95442,.95442,.95442,.95442,.94039,.97898,.94039,.90838,.94938,.90838,.94938,.90838,.94938,.82391,.81093,.82391,.81093,.82391,.81093,.82391,.81093,.96376,.84313,.97484,.97571,.80061,.94938,.80061,.94938,.80061,.94938,.80061,.94938,.80061,.94938,.8768,.9577,.8768,.9577,.8768,.9577,1,1,.95407,.95933,.97069,.95933,1.0258,.98621,1.0258,.98621,1.0258,.98621,1.0258,.98621,1.0258,.98621,.887,1.01591,.73901,1.0474,1,1,.97455,.83655,.98981,1,1,.83655,.73977,.83655,.73903,.84638,1.033,.95546,.95933,1,1,.95546,.95933,.8271,.95417,.95933,.92179,.9446,.92179,.9446,.92179,.9446,.936,.91964,.82114,.97646,1,1,.82114,.97646,.8096,.78036,.8096,.78036,1,1,.8096,.78036,1,1,.89713,.77452,.89713,1.10208,.94438,.95442,.94438,.95442,.94438,.95442,.94438,.95442,.94438,.95442,.94438,.95442,.94083,.97579,.90406,.94039,.90406,.9446,.938,.9446,.938,.9446,.938,1,.99793,.90838,.94938,.868,.9031,.92179,.9446,1,1,.89713,1.10208,.90088,.90088,.90088,.90088,.90088,.90088,.90088,.90088,.90088,.90989,.9358,.91945,.83181,.75261,.87992,.82976,.96034,.83689,.97268,1.0078,.90838,.83637,.8019,.90157,.80061,.9446,.95407,.92436,1.0258,.85022,.97153,1.0156,.95546,.89192,.92179,.92361,.87107,.96318,.89713,.93704,.95638,.91905,.91709,.92796,1.0258,.93704,.94836,1.0373,.95933,1.0078,.95871,.94836,.96174,.92601,.9498,.98607,.95776,.95933,1.05453,1.0078,.98275,.9314,.95617,.91701,1.05993,.9446,.78367,.9553,1,.86832,1.0128,.95871,.99394,.87548,.96361,.86774,1.0078,.95871,.9446,.95871,.86774,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,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,.94083,.97579,.94083,.97579,.94083,.97579,.90406,.94039,.96694,1,.89903,1,1,1,.93582,.93582,.93582,1,.908,.908,.918,.94219,.94219,.96544,1,1.285,1,1,.81079,.81079,1,1,.74854,1,1,1,1,.99793,1,1,1,.65,1,1.36145,1,1,1,1,1,1,1,1,1,1,1,1.17173,1,.80535,.76169,1.02058,1.0732,1.05486,1,1,1.30692,1.08595,1.08595,1,1.08595,1.08595,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,1,1,1,1,1,1.16161,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],t.MyriadProBoldMetrics={lineHeight:1.2,lineGap:.2},t.MyriadProBoldItalicFactors=[1.36898,1,1,.66227,.80779,.81625,.97276,.97276,.97733,.92222,.83266,.94292,.94292,1.16148,1.02058,.93582,.96694,.93582,1.17337,.97276,.97276,.97276,.97276,.97276,.97276,.97276,.97276,.97276,.97276,.78076,.78076,1.02058,1.02058,1.02058,.71541,.76813,.85576,.80591,.80729,.94299,.77512,.83655,.86523,.92222,.98621,.71743,.81698,.79726,.98558,.92222,.90637,.83809,.90637,.80729,.76463,.86275,.90699,.91605,.9154,.85308,.85458,.90531,.94292,1.21296,.94292,1.02058,.89903,1.18616,.99613,.91677,.78216,.91677,.90083,.98796,.9135,.92168,.95381,.98981,.95298,.95381,.93459,.92168,.91513,.92004,.91677,.95077,.748,1.04502,.91677,.92061,.94236,.89544,.89364,.9,.80687,.8578,.80687,1.02058,.80779,.97276,.97276,.97276,.97276,.8578,.99973,1.18616,.91339,1.08074,.82891,1.02058,.55509,.71526,.89022,1.08595,1,1,1.18616,1,.96736,.93582,1.18616,1,1.04864,.82711,.99043,.99043,.99043,.71541,.85576,.85576,.85576,.85576,.85576,.85576,.845,.80729,.77512,.77512,.77512,.77512,.98621,.98621,.98621,.98621,.95961,.92222,.90637,.90637,.90637,.90637,.90637,1.02058,.90251,.90699,.90699,.90699,.90699,.85458,.83659,.94951,.99613,.99613,.99613,.99613,.99613,.99613,.85811,.78216,.90083,.90083,.90083,.90083,.95381,.95381,.95381,.95381,.9135,.92168,.91513,.91513,.91513,.91513,.91513,1.08595,.91677,.91677,.91677,.91677,.91677,.89364,.92332,.89364,.85576,.99613,.85576,.99613,.85576,.99613,.80729,.78216,.80729,.78216,.80729,.78216,.80729,.78216,.94299,.76783,.95961,.91677,.77512,.90083,.77512,.90083,.77512,.90083,.77512,.90083,.77512,.90083,.86523,.9135,.86523,.9135,.86523,.9135,1,1,.92222,.92168,.92222,.92168,.98621,.95381,.98621,.95381,.98621,.95381,.98621,.95381,.98621,.95381,.86036,.97096,.71743,.98981,1,1,.95298,.79726,.95381,1,1,.79726,.6894,.79726,.74321,.81691,1.0006,.92222,.92168,1,1,.92222,.92168,.79464,.92098,.92168,.90637,.91513,.90637,.91513,.90637,.91513,.909,.87514,.80729,.95077,1,1,.80729,.95077,.76463,.748,.76463,.748,1,1,.76463,.748,1,1,.86275,.72651,.86275,1.04502,.90699,.91677,.90699,.91677,.90699,.91677,.90699,.91677,.90699,.91677,.90699,.91677,.9154,.94236,.85458,.89364,.85458,.90531,.9,.90531,.9,.90531,.9,1,.97276,.85576,.99613,.845,.85811,.90251,.91677,1,1,.86275,1.04502,1.18616,1.18616,1.18616,1.18616,1.18616,1.18616,1.18616,1.18616,1.18616,1.00899,1.30628,.85576,.80178,.66862,.7927,.69323,.88127,.72459,.89711,.95381,.85576,.80591,.7805,.94729,.77512,.90531,.92222,.90637,.98621,.81698,.92655,.98558,.92222,.85359,.90637,.90976,.83809,.94523,.86275,.83509,.93157,.85308,.83392,.92346,.98621,.83509,.92886,.91324,.92168,.95381,.90646,.92886,.90557,.86847,.90276,.91324,.86842,.92168,.99531,.95381,.9224,.85408,.92699,.86847,1.0051,.91513,.80487,.93481,1,.88159,1.05214,.90646,.97355,.81539,.89398,.85923,.95381,.90646,.91513,.90646,.85923,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,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,.9154,.94236,.9154,.94236,.9154,.94236,.85458,.89364,.96694,1,.89903,1,1,1,.91782,.91782,.91782,1,.896,.896,.896,.9332,.9332,.95973,1,1.26,1,1,.80479,.80178,1,1,.85633,1,1,1,1,.97276,1,1,1,.698,1,1.36145,1,1,1,1,1,1,1,1,1,1,1,1.14542,1,.79199,.78694,1.02058,1.03493,1.05486,1,1,1.23026,1.08595,1.08595,1,1.08595,1.08595,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,1,1,1,1,1,1.20006,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],t.MyriadProBoldItalicMetrics={lineHeight:1.2,lineGap:.2},t.MyriadProItalicFactors=[1.36898,1,1,.65507,.84943,.85639,.88465,.88465,.86936,.88307,.86948,.85283,.85283,1.06383,1.02058,.75945,.9219,.75945,1.17337,.88465,.88465,.88465,.88465,.88465,.88465,.88465,.88465,.88465,.88465,.75945,.75945,1.02058,1.02058,1.02058,.69046,.70926,.85158,.77812,.76852,.89591,.70466,.76125,.80094,.86822,.83864,.728,.77212,.79475,.93637,.87514,.8588,.76013,.8588,.72421,.69866,.77598,.85991,.80811,.87832,.78112,.77512,.8562,1.0222,1.18417,1.0222,1.27014,.89903,1.15012,.93859,.94399,.846,.94399,.81453,1.0186,.94219,.96017,1.03075,1.02175,.912,1.03075,.96998,.96017,.93859,.94399,.94399,.95493,.746,1.12658,.94578,.91,.979,.882,.882,.83,.85034,.83537,.85034,1.02058,.70869,.88465,.88465,.88465,.88465,.83537,.90083,1.15012,.9161,.94565,.73541,1.02058,.53609,.69353,.79519,1.08595,1,1,1.15012,1,.91974,.75945,1.15012,1,.9446,.73361,.9005,.9005,.9005,.62864,.85158,.85158,.85158,.85158,.85158,.85158,.773,.76852,.70466,.70466,.70466,.70466,.83864,.83864,.83864,.83864,.90561,.87514,.8588,.8588,.8588,.8588,.8588,1.02058,.85751,.85991,.85991,.85991,.85991,.77512,.76013,.88075,.93859,.93859,.93859,.93859,.93859,.93859,.8075,.846,.81453,.81453,.81453,.81453,.82424,.82424,.82424,.82424,.9278,.96017,.93859,.93859,.93859,.93859,.93859,1.08595,.8562,.94578,.94578,.94578,.94578,.882,.94578,.882,.85158,.93859,.85158,.93859,.85158,.93859,.76852,.846,.76852,.846,.76852,.846,.76852,.846,.89591,.8544,.90561,.94399,.70466,.81453,.70466,.81453,.70466,.81453,.70466,.81453,.70466,.81453,.80094,.94219,.80094,.94219,.80094,.94219,1,1,.86822,.96017,.86822,.96017,.83864,.82424,.83864,.82424,.83864,.82424,.83864,1.03075,.83864,.82424,.81402,1.02738,.728,1.02175,1,1,.912,.79475,1.03075,1,1,.79475,.83911,.79475,.66266,.80553,1.06676,.87514,.96017,1,1,.87514,.96017,.86865,.87396,.96017,.8588,.93859,.8588,.93859,.8588,.93859,.867,.84759,.72421,.95493,1,1,.72421,.95493,.69866,.746,.69866,.746,1,1,.69866,.746,1,1,.77598,.88417,.77598,1.12658,.85991,.94578,.85991,.94578,.85991,.94578,.85991,.94578,.85991,.94578,.85991,.94578,.87832,.979,.77512,.882,.77512,.8562,.83,.8562,.83,.8562,.83,1,.88465,.85158,.93859,.773,.8075,.85751,.8562,1,1,.77598,1.12658,1.15012,1.15012,1.15012,1.15012,1.15012,1.15313,1.15012,1.15012,1.15012,1.08106,1.03901,.85158,.77025,.62264,.7646,.65351,.86026,.69461,.89947,1.03075,.85158,.77812,.76449,.88836,.70466,.8562,.86822,.8588,.83864,.77212,.85308,.93637,.87514,.82352,.8588,.85701,.76013,.89058,.77598,.8156,.82565,.78112,.77899,.89386,.83864,.8156,.9486,.92388,.96186,1.03075,.91123,.9486,.93298,.878,.93942,.92388,.84596,.96186,.95119,1.03075,.922,.88787,.95829,.88,.93559,.93859,.78815,.93758,1,.89217,1.03737,.91123,.93969,.77487,.85769,.86799,1.03075,.91123,.93859,.91123,.86799,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,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,.87832,.979,.87832,.979,.87832,.979,.77512,.882,.9219,1,.89903,1,1,1,.87321,.87321,.87321,1,1.027,1.027,1.027,.86847,.86847,.79121,1,1.124,1,1,.73572,.73572,1,1,.85034,1,1,1,1,.88465,1,1,1,.669,1,1.36145,1,1,1,1,1,1,1,1,1,1,1,1.04828,1,.74948,.75187,1.02058,.98391,1.02119,1,1,1.06233,1.08595,1.08595,1,1.08595,1.08595,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,1,1,1,1,1,1.05233,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],t.MyriadProItalicMetrics={lineHeight:1.2,lineGap:.2},t.MyriadProRegularFactors=[1.36898,1,1,.76305,.82784,.94935,.89364,.92241,.89073,.90706,.98472,.85283,.85283,1.0664,1.02058,.74505,.9219,.74505,1.23456,.92241,.92241,.92241,.92241,.92241,.92241,.92241,.92241,.92241,.92241,.74505,.74505,1.02058,1.02058,1.02058,.73002,.72601,.91755,.8126,.80314,.92222,.73764,.79726,.83051,.90284,.86023,.74,.8126,.84869,.96518,.91115,.8858,.79761,.8858,.74498,.73914,.81363,.89591,.83659,.89633,.85608,.8111,.90531,1.0222,1.22736,1.0222,1.27014,.89903,.90088,.86667,1.0231,.896,1.01411,.90083,1.05099,1.00512,.99793,1.05326,1.09377,.938,1.06226,1.00119,.99793,.98714,1.0231,1.01231,.98196,.792,1.19137,.99074,.962,1.01915,.926,.942,.856,.85034,.92006,.85034,1.02058,.69067,.92241,.92241,.92241,.92241,.92006,.9332,.90088,.91882,.93484,.75339,1.02058,.56866,.54324,.79519,1.08595,1,1,.90088,1,.95325,.74505,.90088,1,.97198,.75339,.91009,.91009,.91009,.66466,.91755,.91755,.91755,.91755,.91755,.91755,.788,.80314,.73764,.73764,.73764,.73764,.86023,.86023,.86023,.86023,.92915,.91115,.8858,.8858,.8858,.8858,.8858,1.02058,.8858,.89591,.89591,.89591,.89591,.8111,.79611,.89713,.86667,.86667,.86667,.86667,.86667,.86667,.86936,.896,.90083,.90083,.90083,.90083,.84224,.84224,.84224,.84224,.97276,.99793,.98714,.98714,.98714,.98714,.98714,1.08595,.89876,.99074,.99074,.99074,.99074,.942,1.0231,.942,.91755,.86667,.91755,.86667,.91755,.86667,.80314,.896,.80314,.896,.80314,.896,.80314,.896,.92222,.93372,.92915,1.01411,.73764,.90083,.73764,.90083,.73764,.90083,.73764,.90083,.73764,.90083,.83051,1.00512,.83051,1.00512,.83051,1.00512,1,1,.90284,.99793,.90976,.99793,.86023,.84224,.86023,.84224,.86023,.84224,.86023,1.05326,.86023,.84224,.82873,1.07469,.74,1.09377,1,1,.938,.84869,1.06226,1,1,.84869,.83704,.84869,.81441,.85588,1.08927,.91115,.99793,1,1,.91115,.99793,.91887,.90991,.99793,.8858,.98714,.8858,.98714,.8858,.98714,.894,.91434,.74498,.98196,1,1,.74498,.98196,.73914,.792,.73914,.792,1,1,.73914,.792,1,1,.81363,.904,.81363,1.19137,.89591,.99074,.89591,.99074,.89591,.99074,.89591,.99074,.89591,.99074,.89591,.99074,.89633,1.01915,.8111,.942,.8111,.90531,.856,.90531,.856,.90531,.856,1,.92241,.91755,.86667,.788,.86936,.8858,.89876,1,1,.81363,1.19137,.90088,.90088,.90088,.90088,.90088,.90088,.90088,.90088,.90088,.90388,1.03901,.92138,.78105,.7154,.86169,.80513,.94007,.82528,.98612,1.06226,.91755,.8126,.81884,.92819,.73764,.90531,.90284,.8858,.86023,.8126,.91172,.96518,.91115,.83089,.8858,.87791,.79761,.89297,.81363,.88157,.89992,.85608,.81992,.94307,.86023,.88157,.95308,.98699,.99793,1.06226,.95817,.95308,.97358,.928,.98088,.98699,.92761,.99793,.96017,1.06226,.986,.944,.95978,.938,.96705,.98714,.80442,.98972,1,.89762,1.04552,.95817,.99007,.87064,.91879,.88888,1.06226,.95817,.98714,.95817,.88888,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,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,.89633,1.01915,.89633,1.01915,.89633,1.01915,.8111,.942,.9219,1,.89903,1,1,1,.93173,.93173,.93173,1,1.06304,1.06304,1.06904,.89903,.89903,.80549,1,1.156,1,1,.76575,.76575,1,1,.72458,1,1,1,1,.92241,1,1,1,.619,1,1.36145,1,1,1,1,1,1,1,1,1,1,1,1.07257,1,.74705,.71119,1.02058,1.024,1.02119,1,1,1.1536,1.08595,1.08595,1,1.08595,1.08595,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,1,1,1,1,1,1.05638,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],t.MyriadProRegularMetrics={lineHeight:1.2,lineGap:.2}},
2function(e,t){
vendor: 16,003 bytes, line 2
2Object.defineProperty(t,"__esModule",{value:!0}),t.SegoeuiRegularMetrics=t.SegoeuiRegularFactors=t.SegoeuiItalicMetrics=t.SegoeuiItalicFactors=t.SegoeuiBoldMetrics=t.SegoeuiBoldItalicMetrics=t.SegoeuiBoldItalicFactors=t.SegoeuiBoldFactors=void 0,t.SegoeuiBoldFactors=[1.76738,1,1,.99297,.9824,1.04016,1.06497,1.03424,.97529,1.17647,1.23203,1.1085,1.1085,1.16939,1.2107,.9754,1.21408,.9754,1.59578,1.03424,1.03424,1.03424,1.03424,1.03424,1.03424,1.03424,1.03424,1.03424,1.03424,.81378,.81378,1.2107,1.2107,1.2107,.71703,.97847,.97363,.88776,.8641,1.02096,.79795,.85132,.914,1.06085,1.1406,.8007,.89858,.83693,1.14889,1.09398,.97489,.92094,.97489,.90399,.84041,.95923,1.00135,1,1.06467,.98243,.90996,.99361,1.1085,1.56942,1.1085,1.2107,.74627,.94282,.96752,1.01519,.86304,1.01359,.97278,1.15103,1.01359,.98561,1.02285,1.02285,1.00527,1.02285,1.0302,.99041,1.0008,1.01519,1.01359,1.02258,.79104,1.16862,.99041,.97454,1.02511,.99298,.96752,.95801,.94856,1.16579,.94856,1.2107,.9824,1.03424,1.03424,1,1.03424,1.16579,.8727,1.3871,1.18622,1.10818,1.04478,1.2107,1.18622,.75155,.94994,1.28826,1.21408,1.21408,.91056,1,.91572,.9754,.64663,1.18328,1.24866,1.04478,1.14169,1.15749,1.17389,.71703,.97363,.97363,.97363,.97363,.97363,.97363,.93506,.8641,.79795,.79795,.79795,.79795,1.1406,1.1406,1.1406,1.1406,1.02096,1.09398,.97426,.97426,.97426,.97426,.97426,1.2107,.97489,1.00135,1.00135,1.00135,1.00135,.90996,.92094,1.02798,.96752,.96752,.96752,.96752,.96752,.96752,.93136,.86304,.97278,.97278,.97278,.97278,1.02285,1.02285,1.02285,1.02285,.97122,.99041,1,1,1,1,1,1.28826,1.0008,.99041,.99041,.99041,.99041,.96752,1.01519,.96752,.97363,.96752,.97363,.96752,.97363,.96752,.8641,.86304,.8641,.86304,.8641,.86304,.8641,.86304,1.02096,1.03057,1.02096,1.03517,.79795,.97278,.79795,.97278,.79795,.97278,.79795,.97278,.79795,.97278,.914,1.01359,.914,1.01359,.914,1.01359,1,1,1.06085,.98561,1.06085,1.00879,1.1406,1.02285,1.1406,1.02285,1.1406,1.02285,1.1406,1.02285,1.1406,1.02285,.97138,1.08692,.8007,1.02285,1,1,1.00527,.83693,1.02285,1,1,.83693,.9455,.83693,.90418,.83693,1.13005,1.09398,.99041,1,1,1.09398,.99041,.96692,1.09251,.99041,.97489,1.0008,.97489,1.0008,.97489,1.0008,.93994,.97931,.90399,1.02258,1,1,.90399,1.02258,.84041,.79104,.84041,.79104,.84041,.79104,.84041,.79104,1,1,.95923,1.07034,.95923,1.16862,1.00135,.99041,1.00135,.99041,1.00135,.99041,1.00135,.99041,1.00135,.99041,1.00135,.99041,1.06467,1.02511,.90996,.96752,.90996,.99361,.95801,.99361,.95801,.99361,.95801,1.07733,1.03424,.97363,.96752,.93506,.93136,.97489,1.0008,1,1,.95923,1.16862,1.15103,1.15103,1.01173,1.03959,.75953,.81378,.79912,1.15103,1.21994,.95161,.87815,1.01149,.81525,.7676,.98167,1.01134,1.02546,.84097,1.03089,1.18102,.97363,.88776,.85134,.97826,.79795,.99361,1.06085,.97489,1.1406,.89858,1.0388,1.14889,1.09398,.86039,.97489,1.0595,.92094,.94793,.95923,.90996,.99346,.98243,1.02112,.95493,1.1406,.90996,1.03574,1.02597,1.0008,1.18102,1.06628,1.03574,1.0192,1.01932,1.00886,.97531,1.0106,1.0008,1.13189,1.18102,1.02277,.98683,1.0016,.99561,1.07237,1.0008,.90434,.99921,.93803,.8965,1.23085,1.06628,1.04983,.96268,1.0499,.98439,1.18102,1.06628,1.0008,1.06628,.98439,.79795,1,1,1,1,1,1,1,1,1,1,1,1,1.09466,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,1,1,1,1,1,1,1,1,1,1,.97278,1,1,1,1,1,1,1,1,1,1,1,1,1.02065,1,1,1,1,1,1,1.06467,1.02511,1.06467,1.02511,1.06467,1.02511,.90996,.96752,1,1.21408,.89903,1,1,.75155,1.04394,1.04394,1.04394,1.04394,.98633,.98633,.98633,.73047,.73047,1.20642,.91211,1.25635,1.222,1.02956,1.03372,1.03372,.96039,1.24633,1,1.12454,.93503,1.03424,1.19687,1.03424,1,1,1,.771,1,1,1.15749,1.15749,1.15749,1.10948,.86279,.94434,.86279,.94434,.86182,1,1,1.16897,1,.96085,.90137,1.2107,1.18416,1.13973,.69825,.9716,2.10339,1.29004,1.29004,1.21172,1.29004,1.29004,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.42603,1,.99862,.99862,1,.87025,.87025,.87025,.87025,1.18874,1.42603,1,1.42603,1.42603,.99862,1,1,1,1,1,1.2886,1.04315,1.15296,1.34163,1,1,1,1.09193,1.09193,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],t.SegoeuiBoldMetrics={lineHeight:1.33008,lineGap:0},t.SegoeuiBoldItalicFactors=[1.76738,1,1,.98946,1.03959,1.04016,1.02809,1.036,.97639,1.10953,1.23203,1.11144,1.11144,1.16939,1.21237,.9754,1.21261,.9754,1.59754,1.036,1.036,1.036,1.036,1.036,1.036,1.036,1.036,1.036,1.036,.81378,.81378,1.21237,1.21237,1.21237,.73541,.97847,.97363,.89723,.87897,1.0426,.79429,.85292,.91149,1.05815,1.1406,.79631,.90128,.83853,1.04396,1.10615,.97552,.94436,.97552,.88641,.80527,.96083,1.00135,1,1.06777,.9817,.91142,.99361,1.11144,1.57293,1.11144,1.21237,.74627,1.31818,1.06585,.97042,.83055,.97042,.93503,1.1261,.97042,.97922,1.14236,.94552,1.01054,1.14236,1.02471,.97922,.94165,.97042,.97042,1.0276,.78929,1.1261,.97922,.95874,1.02197,.98507,.96752,.97168,.95107,1.16579,.95107,1.21237,1.03959,1.036,1.036,1,1.036,1.16579,.87357,1.31818,1.18754,1.26781,1.05356,1.21237,1.18622,.79487,.94994,1.29004,1.24047,1.24047,1.31818,1,.91484,.9754,1.31818,1.1349,1.24866,1.05356,1.13934,1.15574,1.17389,.73541,.97363,.97363,.97363,.97363,.97363,.97363,.94385,.87897,.79429,.79429,.79429,.79429,1.1406,1.1406,1.1406,1.1406,1.0426,1.10615,.97552,.97552,.97552,.97552,.97552,1.21237,.97552,1.00135,1.00135,1.00135,1.00135,.91142,.94436,.98721,1.06585,1.06585,1.06585,1.06585,1.06585,1.06585,.96705,.83055,.93503,.93503,.93503,.93503,1.14236,1.14236,1.14236,1.14236,.93125,.97922,.94165,.94165,.94165,.94165,.94165,1.29004,.94165,.97922,.97922,.97922,.97922,.96752,.97042,.96752,.97363,1.06585,.97363,1.06585,.97363,1.06585,.87897,.83055,.87897,.83055,.87897,.83055,.87897,.83055,1.0426,1.0033,1.0426,.97042,.79429,.93503,.79429,.93503,.79429,.93503,.79429,.93503,.79429,.93503,.91149,.97042,.91149,.97042,.91149,.97042,1,1,1.05815,.97922,1.05815,.97922,1.1406,1.14236,1.1406,1.14236,1.1406,1.14236,1.1406,1.14236,1.1406,1.14236,.97441,1.04302,.79631,1.01582,1,1,1.01054,.83853,1.14236,1,1,.83853,1.09125,.83853,.90418,.83853,1.19508,1.10615,.97922,1,1,1.10615,.97922,1.01034,1.10466,.97922,.97552,.94165,.97552,.94165,.97552,.94165,.91602,.91981,.88641,1.0276,1,1,.88641,1.0276,.80527,.78929,.80527,.78929,.80527,.78929,.80527,.78929,1,1,.96083,1.05403,.95923,1.16862,1.00135,.97922,1.00135,.97922,1.00135,.97922,1.00135,.97922,1.00135,.97922,1.00135,.97922,1.06777,1.02197,.91142,.96752,.91142,.99361,.97168,.99361,.97168,.99361,.97168,1.23199,1.036,.97363,1.06585,.94385,.96705,.97552,.94165,1,1,.96083,1.1261,1.31818,1.31818,1.31818,1.31818,1.31818,1.31818,1.31818,1.31818,1.31818,.95161,1.27126,1.00811,.83284,.77702,.99137,.95253,1.0347,.86142,1.07205,1.14236,.97363,.89723,.86869,1.09818,.79429,.99361,1.05815,.97552,1.1406,.90128,1.06662,1.04396,1.10615,.84918,.97552,1.04694,.94436,.98015,.96083,.91142,1.00356,.9817,1.01945,.98999,1.1406,.91142,1.04961,.9898,1.00639,1.14236,1.07514,1.04961,.99607,1.02897,1.008,.9898,.95134,1.00639,1.11121,1.14236,1.00518,.97981,1.02186,1,1.08578,.94165,.99314,.98387,.93028,.93377,1.35125,1.07514,1.10687,.93491,1.04232,1.00351,1.14236,1.07514,.94165,1.07514,1.00351,.79429,1,1,1,1,1,1,1,1,1,1,1,1,1.09097,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,1,1,1,1,1,1,1,1,1,1,.93503,1,1,1,1,1,1,1,1,1,1,1,1,.96609,1,1,1,1,1,1,1.06777,1.02197,1.06777,1.02197,1.06777,1.02197,.91142,.96752,1,1.21261,.89903,1,1,.75155,1.04745,1.04745,1.04745,1.04394,.98633,.98633,.98633,.72959,.72959,1.20502,.91406,1.26514,1.222,1.02956,1.03372,1.03372,.96039,1.24633,1,1.09125,.93327,1.03336,1.16541,1.036,1,1,1,.771,1,1,1.15574,1.15574,1.15574,1.15574,.86364,.94434,.86279,.94434,.86224,1,1,1.16798,1,.96085,.90068,1.21237,1.18416,1.13904,.69825,.9716,2.10339,1.29004,1.29004,1.21339,1.29004,1.29004,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.42603,1,.99862,.99862,1,.87025,.87025,.87025,.87025,1.18775,1.42603,1,1.42603,1.42603,.99862,1,1,1,1,1,1.2886,1.04315,1.15296,1.34163,1,1,1,1.13269,1.13269,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],t.SegoeuiBoldItalicMetrics={lineHeight:1.33008,lineGap:0},t.SegoeuiItalicFactors=[1.76738,1,1,.98946,1.14763,1.05365,1.06234,.96927,.92586,1.15373,1.18414,.91349,.91349,1.07403,1.17308,.78383,1.20088,.78383,1.42531,.96927,.96927,.96927,.96927,.96927,.96927,.96927,.96927,.96927,.96927,.78383,.78383,1.17308,1.17308,1.17308,.77349,.94565,.94729,.85944,.88506,.9858,.74817,.80016,.88449,.98039,.95782,.69238,.89898,.83231,.98183,1.03989,.96924,.86237,.96924,.80595,.74524,.86091,.95402,.94143,.98448,.8858,.83089,.93285,1.0949,1.39016,1.0949,1.45994,.74627,1.04839,.97454,.97454,.87207,.97454,.87533,1.06151,.97454,1.00176,1.16484,1.08132,.98047,1.16484,1.02989,1.01054,.96225,.97454,.97454,1.06598,.79004,1.16344,1.00351,.94629,.9973,.91016,.96777,.9043,.91082,.92481,.91082,1.17308,.95748,.96927,.96927,1,.96927,.92481,.80597,1.04839,1.23393,1.1781,.9245,1.17308,1.20808,.63218,.94261,1.24822,1.09971,1.09971,1.04839,1,.85273,.78032,1.04839,1.09971,1.22326,.9245,1.09836,1.13525,1.15222,.70424,.94729,.94729,.94729,.94729,.94729,.94729,.85498,.88506,.74817,.74817,.74817,.74817,.95782,.95782,.95782,.95782,.9858,1.03989,.96924,.96924,.96924,.96924,.96924,1.17308,.96924,.95402,.95402,.95402,.95402,.83089,.86237,.88409,.97454,.97454,.97454,.97454,.97454,.97454,.92916,.87207,.87533,.87533,.87533,.87533,.93146,.93146,.93146,.93146,.93854,1.01054,.96225,.96225,.96225,.96225,.96225,1.24822,.8761,1.00351,1.00351,1.00351,1.00351,.96777,.97454,.96777,.94729,.97454,.94729,.97454,.94729,.97454,.88506,.87207,.88506,.87207,.88506,.87207,.88506,.87207,.9858,.95391,.9858,.97454,.74817,.87533,.74817,.87533,.74817,.87533,.74817,.87533,.74817,.87533,.88449,.97454,.88449,.97454,.88449,.97454,1,1,.98039,1.00176,.98039,1.00176,.95782,.93146,.95782,.93146,.95782,.93146,.95782,1.16484,.95782,.93146,.84421,1.12761,.69238,1.08132,1,1,.98047,.83231,1.16484,1,1,.84723,1.04861,.84723,.78755,.83231,1.23736,1.03989,1.01054,1,1,1.03989,1.01054,.9857,1.03849,1.01054,.96924,.96225,.96924,.96225,.96924,.96225,.92383,.90171,.80595,1.06598,1,1,.80595,1.06598,.74524,.79004,.74524,.79004,.74524,.79004,.74524,.79004,1,1,.86091,1.02759,.85771,1.16344,.95402,1.00351,.95402,1.00351,.95402,1.00351,.95402,1.00351,.95402,1.00351,.95402,1.00351,.98448,.9973,.83089,.96777,.83089,.93285,.9043,.93285,.9043,.93285,.9043,1.31868,.96927,.94729,.97454,.85498,.92916,.96924,.8761,1,1,.86091,1.16344,1.04839,1.04839,1.04839,1.04839,1.04839,1.04839,1.04839,1.04839,1.04839,.81965,.81965,.94729,.78032,.71022,.90883,.84171,.99877,.77596,1.05734,1.2,.94729,.85944,.82791,.9607,.74817,.93285,.98039,.96924,.95782,.89898,.98316,.98183,1.03989,.78614,.96924,.97642,.86237,.86075,.86091,.83089,.90082,.8858,.97296,1.01284,.95782,.83089,1.0976,1.04,1.03342,1.2,1.0675,1.0976,.98205,1.03809,1.05097,1.04,.95364,1.03342,1.05401,1.2,1.02148,1.0119,1.04724,1.0127,1.02732,.96225,.8965,.97783,.93574,.94818,1.30679,1.0675,1.11826,.99821,1.0557,1.0326,1.2,1.0675,.96225,1.0675,1.0326,.74817,1,1,1,1,1,1,1,1,1,1,1,1,1.03754,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,1,1,1,1,1,1,1,1,1,1,.87533,1,1,1,1,1,1,1,1,1,1,1,1,.98705,1,1,1,1,1,1,.98448,.9973,.98448,.9973,.98448,.9973,.83089,.96777,1,1.20088,.89903,1,1,.75155,.94945,.94945,.94945,.94945,1.12317,1.12317,1.12317,.67603,.67603,1.15621,.73584,1.21191,1.22135,1.06483,.94868,.94868,.95996,1.24633,1,1.07497,.87709,.96927,1.01473,.96927,1,1,1,.77295,1,1,1.09836,1.09836,1.09836,1.01522,.86321,.94434,.8649,.94434,.86182,1,1,1.083,1,.91578,.86438,1.17308,1.18416,1.14589,.69825,.97622,1.96791,1.24822,1.24822,1.17308,1.24822,1.24822,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.42603,1,.99862,.99862,1,.87025,.87025,.87025,.87025,1.17984,1.42603,1,1.42603,1.42603,.99862,1,1,1,1,1,1.2886,1.04315,1.15296,1.34163,1,1,1,1.10742,1.10742,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],t.SegoeuiItalicMetrics={lineHeight:1.33008,lineGap:0},t.SegoeuiRegularFactors=[1.76738,1,1,.98594,1.02285,1.10454,1.06234,.96927,.92037,1.19985,1.2046,.90616,.90616,1.07152,1.1714,.78032,1.20088,.78032,1.40246,.96927,.96927,.96927,.96927,.96927,.96927,.96927,.96927,.96927,.96927,.78032,.78032,1.1714,1.1714,1.1714,.80597,.94084,.96706,.85944,.85734,.97093,.75842,.79936,.88198,.9831,.95782,.71387,.86969,.84636,1.07796,1.03584,.96924,.83968,.96924,.82826,.79649,.85771,.95132,.93119,.98965,.88433,.8287,.93365,1.08612,1.3638,1.08612,1.45786,.74627,.80499,.91484,1.05707,.92383,1.05882,.9403,1.12654,1.05882,1.01756,1.09011,1.09011,.99414,1.09011,1.034,1.01756,1.05356,1.05707,1.05882,1.04399,.84863,1.21968,1.01756,.95801,1.00068,.91797,.96777,.9043,.90351,.92105,.90351,1.1714,.85337,.96927,.96927,.99912,.96927,.92105,.80597,1.2434,1.20808,1.05937,.90957,1.1714,1.20808,.75155,.94261,1.24644,1.09971,1.09971,.84751,1,.85273,.78032,.61584,1.05425,1.17914,.90957,1.08665,1.11593,1.14169,.73381,.96706,.96706,.96706,.96706,.96706,.96706,.86035,.85734,.75842,.75842,.75842,.75842,.95782,.95782,.95782,.95782,.97093,1.03584,.96924,.96924,.96924,.96924,.96924,1.1714,.96924,.95132,.95132,.95132,.95132,.8287,.83968,.89049,.91484,.91484,.91484,.91484,.91484,.91484,.93575,.92383,.9403,.9403,.9403,.9403,.8717,.8717,.8717,.8717,1.00527,1.01756,1.05356,1.05356,1.05356,1.05356,1.05356,1.24644,.95923,1.01756,1.01756,1.01756,1.01756,.96777,1.05707,.96777,.96706,.91484,.96706,.91484,.96706,.91484,.85734,.92383,.85734,.92383,.85734,.92383,.85734,.92383,.97093,1.0969,.97093,1.05882,.75842,.9403,.75842,.9403,.75842,.9403,.75842,.9403,.75842,.9403,.88198,1.05882,.88198,1.05882,.88198,1.05882,1,1,.9831,1.01756,.9831,1.01756,.95782,.8717,.95782,.8717,.95782,.8717,.95782,1.09011,.95782,.8717,.84784,1.11551,.71387,1.09011,1,1,.99414,.84636,1.09011,1,1,.84636,1.0536,.84636,.94298,.84636,1.23297,1.03584,1.01756,1,1,1.03584,1.01756,1.00323,1.03444,1.01756,.96924,1.05356,.96924,1.05356,.96924,1.05356,.93066,.98293,.82826,1.04399,1,1,.82826,1.04399,.79649,.84863,.79649,.84863,.79649,.84863,.79649,.84863,1,1,.85771,1.17318,.85771,1.21968,.95132,1.01756,.95132,1.01756,.95132,1.01756,.95132,1.01756,.95132,1.01756,.95132,1.01756,.98965,1.00068,.8287,.96777,.8287,.93365,.9043,.93365,.9043,.93365,.9043,1.08571,.96927,.96706,.91484,.86035,.93575,.96924,.95923,1,1,.85771,1.21968,1.11437,1.11437,.93109,.91202,.60411,.84164,.55572,1.01173,.97361,.81818,.81818,.96635,.78032,.72727,.92366,.98601,1.03405,.77968,1.09799,1.2,.96706,.85944,.85638,.96491,.75842,.93365,.9831,.96924,.95782,.86969,.94152,1.07796,1.03584,.78437,.96924,.98715,.83968,.83491,.85771,.8287,.94492,.88433,.9287,1.0098,.95782,.8287,1.0625,.98248,1.03424,1.2,1.01071,1.0625,.95246,1.03809,1.04912,.98248,1.00221,1.03424,1.05443,1.2,1.04785,.99609,1.00169,1.05176,.99346,1.05356,.9087,1.03004,.95542,.93117,1.23362,1.01071,1.07831,1.02512,1.05205,1.03502,1.2,1.01071,1.05356,1.01071,1.03502,.75842,1,1,1,1,1,1,1,1,1,1,1,1,1.03719,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,1,1,1,1,1,1,1,1,1,1,.9403,1,1,1,1,1,1,1,1,1,1,1,1,1.04021,1,1,1,1,1,1,.98965,1.00068,.98965,1.00068,.98965,1.00068,.8287,.96777,1,1.20088,.89903,1,1,.75155,1.03077,1.03077,1.03077,1.03077,1.13196,1.13196,1.13196,.67428,.67428,1.16039,.73291,1.20996,1.22135,1.06483,.94868,.94868,.95996,1.24633,1,1.07497,.87796,.96927,1.01518,.96927,1,1,1,.77295,1,1,1.10539,1.10539,1.11358,1.06967,.86279,.94434,.86279,.94434,.86182,1,1,1.083,1,.91578,.86507,1.1714,1.18416,1.14589,.69825,.97622,1.9697,1.24822,1.24822,1.17238,1.24822,1.24822,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.42603,1,.99862,.99862,1,.87025,.87025,.87025,.87025,1.18083,1.42603,1,1.42603,1.42603,.99862,1,1,1,1,1,1.2886,1.04315,1.15296,1.34163,1,1,1,1.10938,1.10938,1,1,1,1.05425,1.09971,1.09971,1.09971,1,1,1,1,1,1,1,1,1,1,1],t.SegoeuiRegularMetrics={lineHeight:1.33008,lineGap:0}},
2function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.PostScriptEvaluator=t.PostScriptCompiler=t.PDFFunctionFactory=void 0,t.isPDFFunction=function(e){var t;if("object"!==typeof e)return!1;if(e instanceof a.Dict)t=e;else{if(!(e instanceof o.BaseStream))return!1;t=e.dict}return t.has("FunctionType")};var a=r(5),n=r(2),i=r(58),o=r(7),s=r(59),c=function(){return v((function e(t){var r=t.xref,a=t.isEvalSupported,n=void 0===a||a;m(this,e),this.xref=r,this.isEvalSupported=!1!==n}),[{key:"create",value:function(e){var t=this.getCached(e);if(t)return t;var r=f.parse({xref:this.xref,isEvalSupported:this.isEvalSupported,fn:e instanceof a.Ref?this.xref.fetch(e):e});return this._cache(e,r),r}},{key:"createFromArray",value:function(e){var t=this.getCached(e);if(t)return t;var r=f.parseArray({xref:this.xref,isEvalSupported:this.isEvalSupported,fnObj:e instanceof a.Ref?this.xref.fetch(e):e});return this._cache(e,r),r}},{key:"getCached",value:function(e){var t;if(e instanceof a.Ref?t=e:e instanceof a.Dict?t=e.objId:e instanceof o.BaseStream&&(t=e.dict&&e.dict.objId),t){var r=this._localFunctionCache.getByRef(t);if(r)return r}return null}},{key:"_cache",value:function(e,t){if(!t)throw new Error('PDFFunctionFactory._cache - expected "parsedFunction" argument.');var r;e instanceof a.Ref?r=e:e instanceof a.Dict?r=e.objId:e instanceof o.BaseStream&&(r=e.dict&&e.dict.objId),r&&this._localFunctionCache.set(null,r,t)}},{key:"_localFunctionCache",get:function(){return(0,n.shadow)(this,"_localFunctionCache",new s.LocalFunctionCache)}}])}();function h(e){if(!Array.isArray(e))return null;for(var t=e.length,r=0;r<t;r++)if("number"!==typeof e[r]){for(var a=new Array(t),n=0;n<t;n++)a[n]=+e[n];return a}return e}t.PDFFunctionFactory=c;var f=function(){return v((function e(){m(this,e)}),null,[{key:"getSampleArray",value:function(e,t,r,a){var n,i,o=1;for(n=0,i=e.length;n<i;n++)o*=e[n];o*=t;var s=new Array(o),c=0,l=0,u=1/(Math.pow(2,r)-1),h=a.getBytes((o*r+7)/8),f=0;for(n=0;n<o;n++){for(;c<r;)l<<=8,l|=h[f++],c+=8;c-=r,s[n]=(l>>c)*u,l&=(1<<c)-1}return s}},{key:"parse",value:function(e){var t=e.xref,r=e.isEvalSupported,a=e.fn,i=a.dict||a;switch(i.get("FunctionType")){case 0:return this.constructSampled({xref:t,isEvalSupported:r,fn:a,dict:i});case 1:break;case 2:return this.constructInterpolated({xref:t,isEvalSupported:r,dict:i});case 3:return this.constructStiched({xref:t,isEvalSupported:r,dict:i});case 4:return this.constructPostScript({xref:t,isEvalSupported:r,fn:a,dict:i})}throw new n.FormatError("Unknown type of function")}},{key:"parseArray",value:function(e){var t=e.xref,r=e.isEvalSupported,a=e.fnObj;if(!Array.isArray(a))return this.parse({xref:t,isEvalSupported:r,fn:a});for(var n=[],i=0,o=a.length;i<o;i++)n.push(this.parse({xref:t,isEvalSupported:r,fn:t.fetchIfRef(a[i])}));return function(e,t,r,a){for(var i=0,o=n.length;i<o;i++)n[i](e,t,r,a+i)}}},{key:"constructSampled",value:function(e){e.xref,e.isEvalSupported;var t=e.fn,r=e.dict;function a(e){for(var t=e.length,r=[],a=0,n=0;n<t;n+=2)r[a++]=[e[n],e[n+1]];return r}function i(e,t,r,a,n){return a+(n-a)/(r-t)*(e-t)}var o=h(r.getArray("Domain")),s=h(r.getArray("Range"));if(!o||!s)throw new n.FormatError("No domain or range");var c=o.length/2,l=s.length/2;o=a(o),s=a(s);var u=h(r.getArray("Size")),f=r.get("BitsPerSample"),d=r.get("Order")||1;1!==d&&(0,n.info)("No support for cubic spline interpolation: "+d);var g=h(r.getArray("Encode"));if(g)g=a(g);else{g=[];for(var p=0;p<c;++p)g.push([0,u[p]-1])}var m=h(r.getArray("Decode"));m=m?a(m):s;var v=this.getSampleArray(u,l,f,t);return function(e,t,r,a){var n,h,f=1<<c,d=new Float64Array(f),p=new Uint32Array(f);for(h=0;h<f;h++)d[h]=1;var b=l,y=1;for(n=0;n<c;++n){var k=o[n][0],w=o[n][1],x=i(Math.min(Math.max(e[t+n],k),w),k,w,g[n][0],g[n][1]),S=u[n],A=(x=Math.min(Math.max(x,0),S-1))<S-1?Math.floor(x):x-1,C=A+1-x,F=x-A,O=A*b,I=O+b;for(h=0;h<f;h++)h&y?(d[h]*=F,p[h]+=I):(d[h]*=C,p[h]+=O);b*=S,y<<=1}for(h=0;h<l;++h){var T=0;for(n=0;n<f;n++)T+=v[p[n]+h]*d[n];T=i(T,0,1,m[h][0],m[h][1]),r[a+h]=Math.min(Math.max(T,s[h][0]),s[h][1])}}}},{key:"constructInterpolated",value:function(e){e.xref,e.isEvalSupported;for(var t=e.dict,r=h(t.getArray("C0"))||[0],a=h(t.getArray("C1"))||[1],n=t.get("N"),i=[],o=0,s=r.length;o<s;++o)i.push(a[o]-r[o]);var c=i.length;return function(e,t,a,o){for(var s=1===n?e[t]:Math.pow(e[t],n),l=0;l<c;++l)a[o+l]=r[l]+s*i[l]}}},{key:"constructStiched",value:function(e){var t=e.xref,r=e.isEvalSupported,a=e.dict,i=h(a.getArray("Domain"));if(!i)throw new n.FormatError("No domain");if(1!==i.length/2)throw new n.FormatError("Bad domain for stiched function");for(var o=a.get("Functions"),s=[],c=0,l=o.length;c<l;++c)s.push(this.parse({xref:t,isEvalSupported:r,fn:t.fetchIfRef(o[c])}));var u=h(a.getArray("Bounds")),f=h(a.getArray("Encode")),d=new Float32Array(1);return function(e,t,r,a){var n,o=function(e,t,r){return e>r?e=r:e<t&&(e=t),e}(e[t],i[0],i[1]),c=u.length;for(n=0;n<c&&!(o<u[n]);++n);var l=i[0];n>0&&(l=u[n-1]);var h=i[1];n<u.length&&(h=u[n]);var g=f[2*n],p=f[2*n+1];d[0]=l===h?g:g+(o-l)*(p-g)/(h-l),s[n](d,0,r,a)}}},{key:"constructPostScript",value:function(e){e.xref;
2var t=e.isEvalSupported,r=e.fn,a=e.dict,o=h(a.getArray("Domain")),s=h(a.getArray("Range"));if(!o)throw new n.FormatError("No domain.");if(!s)throw new n.FormatError("No range.");var c=new i.PostScriptLexer(r),l=new i.PostScriptParser(c).parse();if(t&&n.FeatureTest.isEvalSupported){var u=(new T).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,d=o.length>>1,p=new g(l),m=Object.create(null),v=8192,b=new Float32Array(d);return function(e,t,r,a){var n,i,o="",c=b;for(n=0;n<d;n++)i=e[t+n],c[n]=i,o+=i+"_";var l=m[o];if(void 0===l){var u=new Float32Array(f),h=p.execute(c),g=h.length-f;for(n=0;n<f;n++){i=h[g+n];var y=s[2*n];(i<y||i>(y=s[2*n+1]))&&(i=y),u[n]=i}v>0&&(v--,m[o]=u),r.set(u,a)}else r.set(l,a)}}}])}(),d=function(){function e(t){m(this,e),this.stack=t?Array.prototype.slice.call(t,0):[]}return v(e,[{key:"push",value:function(t){if(this.stack.length>=e.MAX_STACK_SIZE)throw new Error("PostScript function stack overflow.");this.stack.push(t)}},{key:"pop",value:function(){if(this.stack.length<=0)throw new Error("PostScript function stack underflow.");return this.stack.pop()}},{key:"copy",value:function(t){if(this.stack.length+t>=e.MAX_STACK_SIZE)throw new Error("PostScript function stack overflow.");for(var r=this.stack,a=r.length-t,n=t-1;n>=0;n--,a++)r.push(r[a])}},{key:"index",value:function(e){this.push(this.stack[this.stack.length-e-1])}},{key:"roll",value:function(e,t){for(var r=this.stack,a=r.length-e,n=r.length-1,i=a+(t-Math.floor(t/e)*e),o=a,s=n;o<s;o++,s--){var c=r[o];r[o]=r[s],r[s]=c}for(var l=a,u=i-1;l<u;l++,u--){var h=r[l];r[l]=r[u],r[u]=h}for(var f=i,d=n;f<d;f++,d--){var g=r[f];r[f]=r[d],r[d]=g}}}],[{key:"MAX_STACK_SIZE",get:function(){return(0,n.shadow)(this,"MAX_STACK_SIZE",100)}}])}(),g=function(){return v((function e(t){m(this,e),this.operators=t}),[{key:"execute",value:function(e){for(var t,r,a,i=new d(e),o=0,s=this.operators,c=s.length;o<c;)if("number"!==typeof(t=s[o++]))switch(t){case"jz":a=i.pop(),(r=i.pop())||(o=a);break;case"j":o=r=i.pop();break;case"abs":r=i.pop(),i.push(Math.abs(r));break;case"add":a=i.pop(),r=i.pop(),i.push(r+a);break;case"and":a=i.pop(),"boolean"===typeof(r=i.pop())&&"boolean"===typeof a?i.push(r&&a):i.push(r&a);break;case"atan":r=i.pop(),i.push(Math.atan(r));break;case"bitshift":a=i.pop(),(r=i.pop())>0?i.push(r<<a):i.push(r>>a);break;case"ceiling":r=i.pop(),i.push(Math.ceil(r));break;case"copy":r=i.pop(),i.copy(r);break;case"cos":r=i.pop(),i.push(Math.cos(r));break;case"cvi":r=0|i.pop(),i.push(r);break;case"cvr":break;case"div":a=i.pop(),r=i.pop(),i.push(r/a);break;case"dup":i.copy(1);break;case"eq":a=i.pop(),r=i.pop(),i.push(r===a);break;case"exch":i.roll(2,1);break;case"exp":a=i.pop(),r=i.pop(),i.push(Math.pow(r,a));break;case"false":i.push(!1);break;case"floor":r=i.pop(),i.push(Math.floor(r));break;case"ge":a=i.pop(),r=i.pop(),i.push(r>=a);break;case"gt":a=i.pop(),r=i.pop(),i.push(r>a);break;case"idiv":a=i.pop(),r=i.pop(),i.push(r/a|0);break;case"index":r=i.pop(),i.index(r);break;case"le":a=i.pop(),r=i.pop(),i.push(r<=a);break;case"ln":r=i.pop(),i.push(Math.log(r));break;case"log":r=i.pop(),i.push(Math.log(r)/Math.LN10);break;case"lt":a=i.pop(),r=i.pop(),i.push(r<a);break;case"mod":a=i.pop(),r=i.pop(),i.push(r%a);break;case"mul":a=i.pop(),r=i.pop(),i.push(r*a);break;case"ne":a=i.pop(),r=i.pop(),i.push(r!==a);break;case"neg":r=i.pop(),i.push(-r);break;case"not":"boolean"===typeof(r=i.pop())?i.push(!r):i.push(~r);break;case"or":a=i.pop(),"boolean"===typeof(r=i.pop())&&"boolean"===typeof a?i.push(r||a):i.push(r|a);break;case"pop":i.pop();break;case"roll":a=i.pop(),r=i.pop(),i.roll(r,a);break;case"round":r=i.pop(),i.push(Math.round(r));break;case"sin":r=i.pop(),i.push(Math.sin(r));break;case"sqrt":r=i.pop(),i.push(Math.sqrt(r));break;case"sub":a=i.pop(),r=i.pop(),i.push(r-a);break;case"true":i.push(!0);break;case"truncate":r=(r=i.pop())<0?Math.ceil(r):Math.floor(r),i.push(r);break;case"xor":a=i.pop(),"boolean"===typeof(r=i.pop())&&"boolean"===typeof a?i.push(r!==a):i.push(r^a);break;default:throw new n.FormatError("Unknown operator ".concat(t))}else i.push(t);return i.stack}}])}();t.PostScriptEvaluator=g;var p=function(){return v((function e(t){m(this,e),this.type=t}),[{key:"visit",value:function(e){(0,n.unreachable)("abstract method")}}])}(),b=function(e){function t(e,r,a){var n;return m(this,t),(n=l(this,t,["args"])).index=e,n.min=r,n.max=a,n}return u(t,e),v(t,[{key:"visit",value:function(e){e.visitArgument(this)}}])}(p),y=function(e){function t(e){var r;return m(this,t),(r=l(this,t,["literal"])).number=e,r.min=e,r.max=e,r}return u(t,e),v(t,[{key:"visit",value:function(e){e.visitLiteral(this)}}])}(p),k=function(e){function t(e,r,a,n,i){var o;return m(this,t),(o=l(this,t,["binary"])).op=e,o.arg1=r,o.arg2=a,o.min=n,o.max=i,o}return u(t,e),v(t,[{key:"visit",value:function(e){e.visitBinaryOperation(this)}}])}(p),w=function(e){function t(e,r){var a;return m(this,t),(a=l(this,t,["max"])).arg=e,a.min=e.min,a.max=r,a}return u(t,e),v(t,[{key:"visit",value:function(e){e.visitMin(this)}}])}(p),x=function(e){function t(e,r,a){var n;return m(this,t),(n=l(this,t,["var"])).index=e,n.min=r,n.max=a,n}return u(t,e),v(t,[{key:"visit",value:function(e){e.visitVariable(this)}}])}(p),S=function(e){function t(e,r){var a;return m(this,t),(a=l(this,t,["definition"])).variable=e,a.arg=r,a}return u(t,e),v(t,[{key:"visit",value:function(e){e.visitVariableDefinition(this)}}])}(p),A=function(){return v((function e(){m(this,e),this.parts=[]}),[{key:"visitArgument",value:function(e){this.parts.push("Math.max(",e.min,", Math.min(",e.max,", src[srcOffset + ",e.index,"]))")}},{key:"visitVariable",value:function(e){this.parts.push("v",e.index)}},{key:"visitLiteral",value:function(e){this.parts.push(e.number)}},{key:"visitBinaryOperation",value:function(e){this.parts.push("("),e.arg1.visit(this),this.parts.push(" ",e.op," "),e.arg2.visit(this),this.parts.push(")")}},{key:"visitVariableDefinition",value:function(e){this.parts.push("var "),e.variable.visit(this),this.parts.push(" = "),e.arg.visit(this),this.parts.push(";")}},{key:"visitMin",value:function(e){this.parts.push("Math.min("),e.arg.visit(this),this.parts.push(", ",e.max,")")}},{key:"toString",value:function(){return this.parts.join("")}}])}();
vendor: 4,529 bytes, line 2
2function C(e,t){return"literal"===t.type&&0===t.number?e:"literal"===e.type&&0===e.number?t:"literal"===t.type&&"literal"===e.type?new y(e.number+t.number):new k("+",e,t,e.min+t.min,e.max+t.max)}function F(e,t){if("literal"===t.type){if(0===t.number)return new y(0);if(1===t.number)return e;if("literal"===e.type)return new y(e.number*t.number)}if("literal"===e.type){if(0===e.number)return new y(0);if(1===e.number)return t}var r=Math.min(e.min*t.min,e.min*t.max,e.max*t.min,e.max*t.max),a=Math.max(e.min*t.min,e.min*t.max,e.max*t.min,e.max*t.max);return new k("*",e,t,r,a)}function O(e,t){if("literal"===t.type){if(0===t.number)return e;if("literal"===e.type)return new y(e.number-t.number)}return"binary"===t.type&&"-"===t.op&&"literal"===e.type&&1===e.number&&"literal"===t.arg1.type&&1===t.arg1.number?t.arg2:new k("-",e,t,e.min-t.max,e.max-t.min)}function I(e,t){return e.min>=t?new y(t):e.max<=t?e:new w(e,t)}var T=function(){return v((function e(){m(this,e)}),[{key:"compile",value:function(e,t,r){for(var a,n,i,o,s,c,l,u,h=[],f=[],d=t.length>>1,g=r.length>>1,p=0,m=0;m<d;m++)h.push(new b(m,t[2*m],t[2*m+1]));for(var v=0,k=e.length;v<k;v++)if("number"!==typeof(u=e[v]))switch(u){case"add":if(h.length<2)return null;o=h.pop(),i=h.pop(),h.push(C(i,o));break;case"cvr":if(h.length<1)return null;break;case"mul":if(h.length<2)return null;o=h.pop(),i=h.pop(),h.push(F(i,o));break;case"sub":if(h.length<2)return null;o=h.pop(),i=h.pop(),h.push(O(i,o));break;case"exch":if(h.length<2)return null;s=h.pop(),c=h.pop(),h.push(s,c);break;case"pop":if(h.length<1)return null;h.pop();break;case"index":if(h.length<1)return null;if("literal"!==(i=h.pop()).type)return null;if((a=i.number)<0||!Number.isInteger(a)||h.length<a)return null;if("literal"===(s=h[h.length-a-1]).type||"var"===s.type){h.push(s);break}l=new x(p++,s.min,s.max),h[h.length-a-1]=l,h.push(l),f.push(new S(l,s));break;case"dup":if(h.length<1)return null;if("number"===typeof e[v+1]&&"gt"===e[v+2]&&e[v+3]===v+7&&"jz"===e[v+4]&&"pop"===e[v+5]&&e[v+6]===e[v+1]){i=h.pop(),h.push(I(i,e[v+1])),v+=6;break}if("literal"===(s=h.at(-1)).type||"var"===s.type){h.push(s);break}l=new x(p++,s.min,s.max),h[h.length-1]=l,h.push(l),f.push(new S(l,s));break;case"roll":if(h.length<2)return null;if(o=h.pop(),i=h.pop(),"literal"!==o.type||"literal"!==i.type)return null;if(n=o.number,(a=i.number)<=0||!Number.isInteger(a)||!Number.isInteger(n)||h.length<a)return null;if(0===(n=(n%a+a)%a))break;Array.prototype.push.apply(h,h.splice(h.length-a,a-n));break;default:return null}else h.push(new y(u));if(h.length!==g)return null;for(var w=[],T=0,M=f;T<M.length;T++){var P=M[T],E=new A;P.visit(E),w.push(E.toString())}for(var N=0,D=h.length;N<D;N++){var B=h[N],L=new A;B.visit(L);var R=r[2*N],_=r[2*N+1],j=[L.toString()];R>B.min&&(j.unshift("Math.max(",R,", "),j.push(")")),_<B.max&&(j.unshift("Math.min(",_,", "),j.push(")")),j.unshift("dest[destOffset + ",N,"] = "),j.push(";"),w.push(j.join(""))}return w.join("\n")}}])}();t.PostScriptCompiler=T},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.PostScriptParser=t.PostScriptLexer=void 0;var a=r(2),n=r(5),i=r(6),o=function(){return v((function e(t){m(this,e),this.lexer=t,this.operators=[],this.token=null,this.prev=null}),[{key:"nextToken",value:function(){this.prev=this.token,this.token=this.lexer.getToken()}},{key:"accept",value:function(e){return this.token.type===e&&(this.nextToken(),!0)}},{key:"expect",value:function(e){if(this.accept(e))return!0;throw new a.FormatError("Unexpected symbol: found ".concat(this.token.type," expected ").concat(e,"."))}},{key:"parse",value:function(){return this.nextToken(),this.expect(s.LBRACE),this.parseBlock(),this.expect(s.RBRACE),this.operators}},{key:"parseBlock",value:function(){for(;;)if(this.accept(s.NUMBER))this.operators.push(this.prev.value);else if(this.accept(s.OPERATOR))this.operators.push(this.prev.value);else{if(!this.accept(s.LBRACE))return;this.parseCondition()}}},{key:"parseCondition",value:function(){var e=this.operators.length;if(this.operators.push(null,null),this.parseBlock(),this.expect(s.RBRACE),this.accept(s.IF))this.operators[e]=this.operators.length,this.operators[e+1]="jz";else{if(!this.accept(s.LBRACE))throw new a.FormatError("PS Function: error parsing conditional.");var t=this.operators.length;this.operators.push(null,null);var r=this.operators.length;this.parseBlock(),this.expect(s.RBRACE),this.expect(s.IFELSE),this.operators[t]=this.operators.length,this.operators[t+1]="j",this.operators[e]=r,this.operators[e+1]="jz"}}
2}])}();t.PostScriptParser=o;var s={LBRACE:0,RBRACE:1,NUMBER:2,OPERATOR:3,IF:4,IFELSE:5},c=function(){function e(t,r){m(this,e),this.type=t,this.value=r}return v(e,null,[{key:"opCache",get:function(){return(0,a.shadow)(this,"opCache",Object.create(null))}},{key:"getOperator",value:function(t){var r=e.opCache[t];return r||(e.opCache[t]=new e(s.OPERATOR,t))}},{key:"LBRACE",get:function(){return(0,a.shadow)(this,"LBRACE",new e(s.LBRACE,"{"))}},{key:"RBRACE",get:function(){return(0,a.shadow)(this,"RBRACE",new e(s.RBRACE,"}"))}},{key:"IF",get:function(){return(0,a.shadow)(this,"IF",new e(s.IF,"IF"))}},{key:"IFELSE",get:function(){return(0,a.shadow)(this,"IFELSE",new e(s.IFELSE,"IFELSE"))}}])}(),l=function(){return v((function e(t){m(this,e),this.stream=t,this.nextChar(),this.strBuf=[]}),[{key:"nextChar",value:function(){return this.currentChar=this.stream.getByte()}},{key:"getToken",value:function(){for(var e=!1,t=this.currentChar;;){if(t<0)return n.EOF;if(e)10!==t&&13!==t||(e=!1);else if(37===t)e=!0;else if(!(0,i.isWhiteSpace)(t))break;t=this.nextChar()}switch(0|t){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 c(s.NUMBER,this.getNumber());case 123:return this.nextChar(),c.LBRACE;case 125:return this.nextChar(),c.RBRACE}var r=this.strBuf;for(r.length=0,r[0]=String.fromCharCode(t);(t=this.nextChar())>=0&&(t>=65&&t<=90||t>=97&&t<=122);)r.push(String.fromCharCode(t));var a=r.join("");switch(a.toLowerCase()){case"if":return c.IF;case"ifelse":return c.IFELSE;default:return c.getOperator(a)}}},{key:"getNumber",value:function(){var e=this.currentChar,t=this.strBuf;for(t.length=0,t[0]=String.fromCharCode(e);(e=this.nextChar())>=0&&(e>=48&&e<=57||45===e||46===e);)t.push(String.fromCharCode(e));var r=parseFloat(t.join(""));if(isNaN(r))throw new a.FormatError("Invalid floating point number: ".concat(r));return r}}])}();t.PostScriptLexer=l},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.LocalTilingPatternCache=t.LocalImageCache=t.LocalGStateCache=t.LocalFunctionCache=t.LocalColorSpaceCache=t.GlobalImageCache=void 0;var a=r(2),n=r(5),i=function(){return v((function e(t){m(this,e),this.constructor===e&&(0,a.unreachable)("Cannot initialize BaseLocalCache."),this._onlyRefs=!0===(t&&t.onlyRefs),this._onlyRefs||(this._nameRefMap=new Map,this._imageMap=new Map),this._imageCache=new n.RefSetCache}),[{key:"getByName",value:function(e){this._onlyRefs&&(0,a.unreachable)("Should not call `getByName` method.");var t=this._nameRefMap.get(e);return t?this.getByRef(t):this._imageMap.get(e)||null}},{key:"getByRef",value:function(e){return this._imageCache.get(e)||null}},{key:"set",value:function(e,t,r){(0,a.unreachable)("Abstract method `set` called.")}}])}(),o=function(e){function t(){return m(this,t),l(this,t,arguments)}return u(t,e),v(t,[{key:"set",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2?arguments[2]:void 0;if("string"!==typeof e)throw new Error('LocalImageCache.set - expected "name" argument.');if(t){if(this._imageCache.has(t))return;return this._nameRefMap.set(e,t),void this._imageCache.put(t,r)}this._imageMap.has(e)||this._imageMap.set(e,r)}}])}(i);t.LocalImageCache=o;var s=function(e){function t(){return m(this,t),l(this,t,arguments)}return u(t,e),v(t,[{key:"set",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2?arguments[2]:void 0;if("string"!==typeof e&&!t)throw new Error('LocalColorSpaceCache.set - expected "name" and/or "ref" argument.');if(t){if(this._imageCache.has(t))return;return null!==e&&this._nameRefMap.set(e,t),void this._imageCache.put(t,r)}this._imageMap.has(e)||this._imageMap.set(e,r)}}])}(i);t.LocalColorSpaceCache=s;var c=function(e){function t(e){return m(this,t),l(this,t,[{onlyRefs:!0}])}return u(t,e),v(t,[{key:"set",value:function(){var e=arguments.length>1?arguments[1]:void 0,t=arguments.length>2?arguments[2]:void 0;if(!e)throw new Error('LocalFunctionCache.set - expected "ref" argument.');this._imageCache.has(e)||this._imageCache.put(e,t)}}])}(i);t.LocalFunctionCache=c;var h=function(e){function t(){return m(this,t),l(this,t,arguments)}return u(t,e),v(t,[{key:"set",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2?arguments[2]:void 0;if("string"!==typeof e)throw new Error('LocalGStateCache.set - expected "name" argument.');if(t){if(this._imageCache.has(t))return;return this._nameRefMap.set(e,t),void this._imageCache.put(t,r)}this._imageMap.has(e)||this._imageMap.set(e,r)}}])}(i);t.LocalGStateCache=h;var f=function(e){function t(e){return m(this,t),l(this,t,[{onlyRefs:!0}])}return u(t,e),v(t,[{key:"set",value:function(){var e=arguments.length>1?arguments[1]:void 0,t=arguments.length>2?arguments[2]:void 0;if(!e)throw new Error('LocalTilingPatternCache.set - expected "ref" argument.');this._imageCache.has(e)||this._imageCache.put(e,t)}}])}(i);t.LocalTilingPatternCache=f;var g=function(){function e(){m(this,e),this._refCache=new n.RefSetCache,this._imageCache=new n.RefSetCache}return v(e,[{key:"_byteSize",get:function(){var e,t=0,r=d(this._imageCache);try{for(r.s();!(e=r.n()).done;)t+=e.value.byteSize}catch(a){r.e(a)}finally{r.f()}return t}},{key:"_cacheLimitReached",get:function(){return!(this._imageCache.size<e.MIN_IMAGES_TO_CACHE)&&!(this._byteSize<e.MAX_BYTE_SIZE)}},{key:"shouldCache",value:function(t,r){var a=this._refCache.get(t);return!((a?a.size+(a.has(r)?0:1):1)<e.NUM_PAGES_THRESHOLD)&&!(!this._imageCache.has(t)&&this._cacheLimitReached)}},{key:"addPageIndex",value:function(e,t){var r=this._refCache.get(e);r||(r=new Set,this._refCache.put(e,r)),r.add(t)}},{key:"addByteSize",value:function(e,t){var r=this._imageCache.get(e);r&&(r.byteSize||(r.byteSize=t))}},{key:"getData",value:function(t,r){var a=this._refCache.get(t);if(!a)return null;if(a.size<e.NUM_PAGES_THRESHOLD)return null;var n=this._imageCache.get(t);return n?(a.add(r),n):null}},{key:"setData",value:function(e,t){if(!this._refCache.has(e))throw new Error('GlobalImageCache.setData - expected "addPageIndex" to have been called.');this._imageCache.has(e)||(this._cacheLimitReached?(0,a.warn)("GlobalImageCache.setData - cache limit reached."):this._imageCache.put(e,t))}},{key:"clear",value:function(){arguments.length>0&&void 0!==arguments[0]&&arguments[0]||this._refCache.clear(),this._imageCache.clear()}}],[{key:"NUM_PAGES_THRESHOLD",get:function(){return(0,a.shadow)(this,"NUM_PAGES_THRESHOLD",2)}},{key:"MIN_IMAGES_TO_CACHE",get:function(){return(0,a.shadow)(this,"MIN_IMAGES_TO_CACHE",10)}},{key:"MAX_BYTE_SIZE",get:function(){return(0,a.shadow)(this,"MAX_BYTE_SIZE",4e7)}}])}();t.GlobalImageCache=g}
vendor: 10,630 bytes, line 2
2,function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.bidi=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],g=!0,p=e.length;if(0===p||r)return h(e,g,r);f.length=p,d.length=p;var m,v,b=0;for(m=0;m<p;++m){f[m]=e.charAt(m);var y=e.charCodeAt(m),k="L";y<=255?k=n[y]:1424<=y&&y<=1524?k="R":1536<=y&&y<=1791?(k=i[255&y])||(0,a.warn)("Bidi: invalid Unicode character "+y.toString(16)):1792<=y&&y<=2220&&(k="AL"),"R"!==k&&"AL"!==k&&"AN"!==k||b++,d[m]=k}if(0===b)return h(e,g=!0);-1===t&&(b/p<.3&&p>4?(g=!0,t=0):(g=!1,t=1));var w=[];for(m=0;m<p;++m)w[m]=t;var x,S=o(t)?"R":"L",A=S,C=A,F=A;for(m=0;m<p;++m)"NSM"===d[m]?d[m]=F:F=d[m];for(F=A,m=0;m<p;++m)"EN"===(x=d[m])?d[m]="AL"===F?"AN":"EN":"R"!==x&&"L"!==x&&"AL"!==x||(F=x);for(m=0;m<p;++m)"AL"===(x=d[m])&&(d[m]="R");for(m=1;m<p-1;++m)"ES"===d[m]&&"EN"===d[m-1]&&"EN"===d[m+1]&&(d[m]="EN"),"CS"!==d[m]||"EN"!==d[m-1]&&"AN"!==d[m-1]||d[m+1]!==d[m-1]||(d[m]=d[m-1]);for(m=0;m<p;++m)if("EN"===d[m]){for(var O=m-1;O>=0&&"ET"===d[O];--O)d[O]="EN";for(var I=m+1;I<p&&"ET"===d[I];++I)d[I]="EN"}for(m=0;m<p;++m)"WS"!==(x=d[m])&&"ES"!==x&&"ET"!==x&&"CS"!==x||(d[m]="ON");for(F=A,m=0;m<p;++m)"EN"===(x=d[m])?d[m]="L"===F?"L":"EN":"R"!==x&&"L"!==x||(F=x);for(m=0;m<p;++m)if("ON"===d[m]){var T=c(d,m+1,"ON"),M=A;m>0&&(M=d[m-1]);var P=C;T+1<p&&(P=d[T+1]),"L"!==M&&(M="R"),"L"!==P&&(P="R"),M===P&&l(d,m,T,M),m=T-1}for(m=0;m<p;++m)"ON"===d[m]&&(d[m]=S);for(m=0;m<p;++m)x=d[m],s(w[m])?"R"===x?w[m]+=1:"AN"!==x&&"EN"!==x||(w[m]+=2):"L"!==x&&"AN"!==x&&"EN"!==x||(w[m]+=1);var E,N=-1,D=99;for(m=0,v=w.length;m<v;++m)N<(E=w[m])&&(N=E),D>E&&o(E)&&(D=E);for(E=N;E>=D;--E){var B=-1;for(m=0,v=w.length;m<v;++m)w[m]<E?B>=0&&(u(f,B,m),B=-1):B<0&&(B=m);B>=0&&u(f,B,w.length)}for(m=0,v=f.length;m<v;++m){var L=f[m];"<"!==L&&">"!==L||(f[m]="")}return h(f.join(""),g)};var a=r(2),n=["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"],i=["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 0!==(1&e)}function s(e){return 0===(1&e)}function c(e,t,r){var a,n;for(a=t,n=e.length;a<n;++a)if(e[a]!==r)return a;return a}function l(e,t,r,a){for(var n=t;n<r;++n)e[n]=a}function u(e,t,r){for(var a=t,n=r-1;a<n;++a,--n){var i=e[a];e[a]=e[n],e[n]=i}}function h(e,t){var r="ltr";return arguments.length>2&&void 0!==arguments[2]&&arguments[2]?r="ttb":t||(r="rtl"),{str:e,dir:r}}var f=[],d=[]},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.MurmurHash3_64=void 0;var a=r(2),n=3285377520,i=4294901760,o=65535,s=function(){return v((function e(t){m(this,e),this.h1=t?4294967295&t:n,this.h2=t?4294967295&t:n}),[{key:"update",value:function(e){var t,r;if("string"===typeof e){t=new Uint8Array(2*e.length),r=0;for(var n=0,s=e.length;n<s;n++){var c=e.charCodeAt(n);c<=255?t[r++]=c:(t[r++]=c>>>8,t[r++]=255&c)}}else{if(!(0,a.isArrayBuffer)(e))throw new Error("Wrong data format in MurmurHash3_64_update. Input must be a string or array.");r=(t=e.slice()).byteLength}for(var l=r>>2,u=r-4*l,h=new Uint32Array(t.buffer,0,l),f=0,d=0,g=this.h1,p=this.h2,m=3432918353,v=461845907,b=11601,y=13715,k=0;k<l;k++)1&k?g=5*(g=(g^=f=(f=(f=(f=h[k])*m&i|f*b&o)<<15|f>>>17)*v&i|f*y&o)<<13|g>>>19)+3864292196:p=5*(p=(p^=d=(d=(d=(d=h[k])*m&i|d*b&o)<<15|d>>>17)*v&i|d*y&o)<<13|p>>>19)+3864292196;switch(f=0,u){case 3:f^=t[4*l+2]<<16;case 2:f^=t[4*l+1]<<8;case 1:f=(f=(f=(f^=t[4*l])*m&i|f*b&o)<<15|f>>>17)*v&i|f*y&o,1&l?g^=f:p^=f}this.h1=g,this.h2=p}},{key:"hexdigest",value:function(){var e=this.h1,t=this.h2;e=3981806797*(e^=t>>>1)&i|36045*e&o,e=444984403*(e^=(t=4283543511*t&i|(2950163797*(t<<16|e>>>16)&i)>>>16)>>>1)&i|60499*e&o;var r=((e^=(t=3301882366*t&i|(3120437893*(t<<16|e>>>16)&i)>>>16)>>>1)>>>0).toString(16),a=(t>>>0).toString(16);return r.padStart(8,"0")+a.padStart(8,"0")}}])}();t.MurmurHash3_64=s},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.OperatorList=void 0;var a=r(2);function n(e,t,r,a,n){for(var i=e,o=0,s=t.length-1;o<s;o++){var c=t[o];i=i[c]||(i[c]=[])}i[t.at(-1)]={checkFn:r,iterateFn:a,processFn:n}}var i=[];n(i,[a.OPS.save,a.OPS.transform,a.OPS.paintInlineImageXObject,a.OPS.restore],null,(function(e,t){var r=e.fnArray,n=(t-(e.iCurr-3))%4;switch(n){case 0:return r[t]===a.OPS.save;case 1:return r[t]===a.OPS.transform;case 2:return r[t]===a.OPS.paintInlineImageXObject;case 3:return r[t]===a.OPS.restore}throw new Error("iterateInlineImageGroup - invalid pos: ".concat(n))}),(function(e,t){var r=e.fnArray,n=e.argsArray,i=e.iCurr,o=i-3,s=i-2,c=i-1,l=Math.min(Math.floor((t-o)/4),200);if(l<10)return t-(t-o)%4;for(var u=0,h=[],f=0,d=1,g=1,p=0;p<l;p++){var m=n[s+(p<<2)],v=n[c+(p<<2)][0];d+v.width>1e3&&(u=Math.max(u,d),g+=f+2,d=0,f=0),h.push({transform:m,x:d,y:g,w:v.width,h:v.height}),d+=v.width+2,f=Math.max(f,v.height)}for(var b=Math.max(u,d)+1,y=g+f+1,k=new Uint8Array(b*y*4),w=b<<2,x=0;x<l;x++){var S=n[c+(x<<2)][0].data,A=h[x].w<<2,C=0,F=h[x].x+h[x].y*b<<2;k.set(S.subarray(0,A),F-w);for(var O=0,I=h[x].h;O<I;O++)k.set(S.subarray(C,C+A),F),C+=A,F+=w;for(k.set(S.subarray(C-A,C),F);F>=0;)S[F-4]=S[F],S[F-3]=S[F+1],S[F-2]=S[F+2],S[F-1]=S[F+3],S[F+A]=S[F+A-4],S[F+A+1]=S[F+A-3],S[F+A+2]=S[F+A-2],S[F+A+3]=S[F+A-1],F-=w}return r.splice(o,4*l,a.OPS.paintInlineImageXObjectGroup),n.splice(o,4*l,[{width:b,height:y,kind:a.ImageKind.RGBA_32BPP,data:k},h]),o+1})),n(i,[a.OPS.save,a.OPS.transform,a.OPS.paintImageMaskXObject,a.OPS.restore],null,(function(e,t){var r=e.fnArray,n=(t-(e.iCurr-3))%4;switch(n){case 0:return r[t]===a.OPS.save;case 1:return r[t]===a.OPS.transform;case 2:return r[t]===a.OPS.paintImageMaskXObject;case 3:return r[t]===a.OPS.restore}throw new Error("iterateImageMaskGroup - invalid pos: ".concat(n))}),(function(e,t){var r=e.fnArray,n=e.argsArray,i=e.iCurr,o=i-3,s=i-2,c=i-1,l=Math.floor((t-o)/4);if(l<10)return t-(t-o)%4;var u,h,f=!1,d=n[c][0],g=n[s][0],p=n[s][1],m=n[s][2],v=n[s][3];if(p===m){f=!0,u=s+4;for(var b=c+4,y=1;y<l;y++,u+=4,b+=4)if(h=n[u],n[b][0]!==d||h[0]!==g||h[1]!==p||h[2]!==m||h[3]!==v){y<10?f=!1:l=y;break}}if(f){l=Math.min(l,1e3);var k=new Float32Array(2*l);u=s;for(var w=0;w<l;w++,u+=4)h=n[u],k[w<<1]=h[4],k[1+(w<<1)]=h[5];r.splice(o,4*l,a.OPS.paintImageMaskXObjectRepeat),n.splice(o,4*l,[d,g,p,m,v,k])}else{l=Math.min(l,100);for(var x=[],S=0;S<l;S++){h=n[s+(S<<2)];var A=n[c+(S<<2)][0];x.push({data:A.data,width:A.width,height:A.height,interpolate:A.interpolate,count:A.count,transform:h})}r.splice(o,4*l,a.OPS.paintImageMaskXObjectGroup),n.splice(o,4*l,[x])}return o+1})),n(i,[a.OPS.save,a.OPS.transform,a.OPS.paintImageXObject,a.OPS.restore],(function(e){var t=e.argsArray,r=e.iCurr-2;return 0===t[r][1]&&0===t[r][2]}),(function(e,t){var r=e.fnArray,n=e.argsArray,i=(t-(e.iCurr-3))%4;switch(i){case 0:return r[t]===a.OPS.save;case 1:if(r[t]!==a.OPS.transform)return!1;var o=e.iCurr-2,s=n[o][0],c=n[o][3];return n[t][0]===s&&0===n[t][1]&&0===n[t][2]&&n[t][3]===c;case 2:if(r[t]!==a.OPS.paintImageXObject)return!1;var l=n[e.iCurr-1][0];return n[t][0]===l;case 3:return r[t]===a.OPS.restore}throw new Error("iterateImageGroup - invalid pos: ".concat(i))}),(function(e,t){var r=e.fnArray,n=e.argsArray,i=e.iCurr,o=i-3,s=i-2,c=n[i-1][0],l=n[s][0],u=n[s][3],h=Math.min(Math.floor((t-o)/4),1e3);if(h<3)return t-(t-o)%4;for(var f=new Float32Array(2*h),d=s,g=0;g<h;g++,d+=4){var p=n[d];f[g<<1]=p[4],f[1+(g<<1)]=p[5]}var m=[c,l,u,f];return r.splice(o,4*h,a.OPS.paintImageXObjectRepeat),n.splice(o,4*h,m),o+1})),n(i,[a.OPS.beginText,a.OPS.setFont,a.OPS.setTextMatrix,a.OPS.showText,a.OPS.endText],null,(function(e,t){var r=e.fnArray,n=e.argsArray,i=(t-(e.iCurr-4))%5;switch(i){case 0:return r[t]===a.OPS.beginText;case 1:return r[t]===a.OPS.setFont;case 2:return r[t]===a.OPS.setTextMatrix;case 3:if(r[t]!==a.OPS.showText)return!1;var o=e.iCurr-3,s=n[o][0],c=n[o][1];return n[t][0]===s&&n[t][1]===c;case 4:return r[t]===a.OPS.endText}throw new Error("iterateShowTextGroup - invalid pos: ".concat(i))}),(function(e,t){var r=e.fnArray,a=e.argsArray,n=e.iCurr,i=n-4,o=n-3,s=n-2,c=n-1,l=n,u=a[o][0],h=a[o][1],f=Math.min(Math.floor((t-i)/5),1e3);if(f<3)return t-(t-i)%5;var d=i;i>=4&&r[i-4]===r[o]&&r[i-3]===r[s]&&r[i-2]===r[c]&&r[i-1]===r[l]&&a[i-4][0]===u&&a[i-4][1]===h&&(f++,d-=5);for(var g=d+4,p=1;p<f;p++)r.splice(g,3),a.splice(g,3),g+=2;return g+1}
2));var o=function(){return v((function e(t){m(this,e),this.queue=t}),[{key:"_optimize",value:function(){}},{key:"push",value:function(e,t){this.queue.fnArray.push(e),this.queue.argsArray.push(t),this._optimize()}},{key:"flush",value:function(){}},{key:"reset",value:function(){}}])}(),s=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[e])).state=null,r.context={iCurr:0,fnArray:e.fnArray,argsArray:e.argsArray},r.match=null,r.lastProcessed=0,r}return u(t,e),v(t,[{key:"_optimize",value:function(){var e=this.queue.fnArray,t=this.lastProcessed,r=e.length,a=this.state,n=this.match;if(a||n||t+1!==r||i[e[t]]){for(var o=this.context;t<r;){if(n){if((0,n.iterateFn)(o,t)){t++;continue}if(t=(0,n.processFn)(o,t+1),n=null,a=null,t>=(r=e.length))break}(a=(a||i)[e[t]])&&!Array.isArray(a)?(o.iCurr=t,t++,!a.checkFn||(0,a.checkFn)(o)?(n=a,a=null):a=null):t++}this.state=a,this.match=n,this.lastProcessed=t}else this.lastProcessed=r}},{key:"flush",value:function(){for(;this.match;){var e=this.queue.fnArray.length;this.lastProcessed=(0,this.match.processFn)(this.context,e),this.match=null,this.state=null,this._optimize()}}},{key:"reset",value:function(){this.state=null,this.match=null,this.lastProcessed=0}}])}(o),c=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,r=arguments.length>1?arguments[1]:void 0;m(this,e),this._streamSink=r,this.fnArray=[],this.argsArray=[],!r||t&a.RenderingIntentFlag.OPLIST?this.optimizer=new o(this):this.optimizer=new s(this),this.dependencies=new Set,this._totalLength=0,this.weight=0,this._resolved=r?null:Promise.resolve()}return v(e,[{key:"length",get:function(){return this.argsArray.length}},{key:"ready",get:function(){return this._resolved||this._streamSink.ready}},{key:"totalLength",get:function(){return this._totalLength+this.length}},{key:"addOp",value:function(t,r){this.optimizer.push(t,r),this.weight++,this._streamSink&&(this.weight>=e.CHUNK_SIZE||this.weight>=e.CHUNK_SIZE_ABOUT&&(t===a.OPS.restore||t===a.OPS.endText))&&this.flush()}},{key:"addImageOps",value:function(e,t,r){void 0!==r&&this.addOp(a.OPS.beginMarkedContentProps,["OC",r]),this.addOp(e,t),void 0!==r&&this.addOp(a.OPS.endMarkedContent,[])}},{key:"addDependency",value:function(e){this.dependencies.has(e)||(this.dependencies.add(e),this.addOp(a.OPS.dependency,[e]))}},{key:"addDependencies",value:function(e){var t,r=d(e);try{for(r.s();!(t=r.n()).done;){var a=t.value;this.addDependency(a)}}catch(n){r.e(n)}finally{r.f()}}},{key:"addOpList",value:function(t){if(t instanceof e){var r,n=d(t.dependencies);try{for(n.s();!(r=n.n()).done;){var i=r.value;this.dependencies.add(i)}}catch(c){n.e(c)}finally{n.f()}for(var o=0,s=t.length;o<s;o++)this.addOp(t.fnArray[o],t.argsArray[o])}else(0,a.warn)('addOpList - ignoring invalid "opList" parameter.')}},{key:"getIR",value:function(){return{fnArray:this.fnArray,argsArray:this.argsArray,length:this.length}}},{key:"_transfers",get:function(){for(var e=[],t=this.fnArray,r=this.argsArray,n=this.length,i=0;i<n;i++)switch(t[i]){case a.OPS.paintInlineImageXObject:case a.OPS.paintInlineImageXObjectGroup:case a.OPS.paintImageMaskXObject:var o=r[i][0];!o.cached&&o.data&&o.data.buffer instanceof ArrayBuffer&&e.push(o.data.buffer)}return e}},{key:"flush",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.optimizer.flush();var r=this.length;this._totalLength+=r,this._streamSink.enqueue({fnArray:this.fnArray,argsArray:this.argsArray,lastChunk:e,separateAnnots:t,length:r},1,this._transfers),this.dependencies.clear(),this.fnArray.length=0,this.argsArray.length=0,this.weight=0,this.optimizer.reset()}}],[{key:"CHUNK_SIZE",get:function(){return(0,a.shadow)(this,"CHUNK_SIZE",1e3)}},{key:"CHUNK_SIZE_ABOUT",get:function(){return(0,a.shadow)(this,"CHUNK_SIZE_ABOUT",this.CHUNK_SIZE-5)}}])}();t.OperatorList=c},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.PDFImage=void 0;var a=r(2),n=r(64),i=r(7),o=r(14),s=r(19),c=r(27),l=r(30),u=r(5);function f(e,t,r,a){return(e=t+e*r)<0?e=0:e>a&&(e=a),e}function d(e,t,r,a,n,i){var o,s=n*i;o=t<=8?new Uint8Array(s):t<=16?new Uint16Array(s):new Uint32Array(s);var c,l,u,h,f=r/n,d=a/i,g=0,p=new Uint16Array(n),m=r;
2for(c=0;c<n;c++)p[c]=Math.floor(c*f);for(c=0;c<i;c++)for(u=Math.floor(c*d)*m,l=0;l<n;l++)h=u+p[l],o[g++]=e[h];return o}var g=function(){function e(t){var r=t.xref,n=t.res,s=t.image,c=t.isInline,h=void 0!==c&&c,f=t.smask,d=void 0===f?null:f,g=t.mask,p=void 0===g?null:g,v=t.isMask,b=void 0!==v&&v,y=t.pdfFunctionFactory,k=t.localColorSpaceCache;m(this,e),this.image=s;var w,x=s.dict,S=x.get("F","Filter");if(S instanceof u.Name)w=S.name;else if(Array.isArray(S)){var A=r.fetchIfRef(S[0]);A instanceof u.Name&&(w=A.name)}switch(w){case"JPXDecode":var C=new l.JpxImage;C.parseImageProperties(s.stream),s.stream.reset(),s.width=C.width,s.height=C.height,s.bitsPerComponent=C.bitsPerComponent,s.numComps=C.componentsCount;break;case"JBIG2Decode":s.bitsPerComponent=1,s.numComps=1}var F=x.get("W","Width"),O=x.get("H","Height");if(Number.isInteger(s.width)&&s.width>0&&Number.isInteger(s.height)&&s.height>0&&(s.width!==F||s.height!==O)&&((0,a.warn)("PDFImage - using the Width/Height of the image data, rather than the image dictionary."),F=s.width,O=s.height),F<1||O<1)throw new a.FormatError("Invalid image width: ".concat(F," or height: ").concat(O));this.width=F,this.height=O,this.interpolate=x.get("I","Interpolate"),this.imageMask=x.get("IM","ImageMask")||!1,this.matte=x.get("Matte")||!1;var I=s.bitsPerComponent;if(!I&&!(I=x.get("BPC","BitsPerComponent"))){if(!this.imageMask)throw new a.FormatError("Bits per component missing in image: ".concat(this.imageMask));I=1}if(this.bpc=I,!this.imageMask){var T=x.getRaw("CS")||x.getRaw("ColorSpace");if(!T)switch((0,a.info)("JPX images (which do not require color spaces)"),s.numComps){case 1:T=u.Name.get("DeviceGray");break;case 3:T=u.Name.get("DeviceRGB");break;case 4:T=u.Name.get("DeviceCMYK");break;default:throw new Error("JPX images with ".concat(s.numComps," color components not supported."))}this.colorSpace=o.ColorSpace.parse({cs:T,xref:r,resources:h?n:null,pdfFunctionFactory:y,localColorSpaceCache:k}),this.numComps=this.colorSpace.numComps}if(this.decode=x.getArray("D","Decode"),this.needsDecode=!1,this.decode&&(this.colorSpace&&!this.colorSpace.isDefaultDecode(this.decode,I)||b&&!o.ColorSpace.isDefaultDecode(this.decode,1))){this.needsDecode=!0;var M=(1<<I)-1;this.decodeCoefficients=[],this.decodeAddends=[];for(var P=this.colorSpace&&"Indexed"===this.colorSpace.name,E=0,N=0;E<this.decode.length;E+=2,++N){var D=this.decode[E],B=this.decode[E+1];this.decodeCoefficients[N]=P?(B-D)/M:B-D,this.decodeAddends[N]=P?D:M*D}}d?this.smask=new e({xref:r,res:n,image:d,isInline:h,pdfFunctionFactory:y,localColorSpaceCache:k}):p&&(p instanceof i.BaseStream?p.dict.get("IM","ImageMask")?this.mask=new e({xref:r,res:n,image:p,isInline:h,isMask:!0,pdfFunctionFactory:y,localColorSpaceCache:k}):(0,a.warn)("Ignoring /Mask in image without /ImageMask."):this.mask=p)}return v(e,[{key:"drawWidth",get:function(){return Math.max(this.width,this.smask&&this.smask.width||0,this.mask&&this.mask.width||0)}},{key:"drawHeight",get:function(){return Math.max(this.height,this.smask&&this.smask.height||0,this.mask&&this.mask.height||0)}},{key:"decodeBuffer",value:function(e){var t,r,a=this.bpc,n=this.numComps,i=this.decodeAddends,o=this.decodeCoefficients,s=(1<<a)-1;if(1!==a){var c=0;for(t=0,r=this.width*this.height;t<r;t++)for(var l=0;l<n;l++)e[c]=f(e[c],i[l],o[l],s),c++}else for(t=0,r=e.length;t<r;t++)e[t]=+!e[t]}},{key:"getComponents",value:function(e){var t=this.bpc;if(8===t)return e;var r,a=this.width,n=this.height,i=this.numComps,o=a*n*i,s=0;r=t<=8?new Uint8Array(o):t<=16?new Uint16Array(o):new Uint32Array(o);var c,l,u=a*i,h=(1<<t)-1,f=0;if(1===t)for(var d,g,p,m=0;m<n;m++){for(g=f+(-8&u),p=f+u;f<g;)l=e[s++],r[f]=l>>7&1,r[f+1]=l>>6&1,r[f+2]=l>>5&1,r[f+3]=l>>4&1,r[f+4]=l>>3&1,r[f+5]=l>>2&1,r[f+6]=l>>1&1,r[f+7]=1&l,f+=8;if(f<p)for(l=e[s++],d=128;f<p;)r[f++]=+!!(l&d),d>>=1}else{var v=0;for(l=0,f=0,c=o;f<c;++f){for(f%u===0&&(l=0,v=0);v<t;)l=l<<8|e[s++],v+=8;var b=v-t,y=l>>b;y<0?y=0:y>h&&(y=h),r[f]=y,l&=(1<<b)-1,v=b}}return r}},{key:"fillOpacity",value:function(t,r,n,i,o){var s,c,l,u,h,f,g=this.smask,p=this.mask;if(g)c=g.width,l=g.height,s=new Uint8ClampedArray(c*l),g.fillGrayBuffer(s),c===r&&l===n||(s=d(s,g.bpc,c,l,r,n));else if(p)if(p instanceof e){for(c=p.width,l=p.height,s=new Uint8ClampedArray(c*l),p.numComps=1,p.fillGrayBuffer(s),u=0,h=c*l;u<h;++u)s[u]=255-s[u];c===r&&l===n||(s=d(s,p.bpc,c,l,r,n))}else{if(!Array.isArray(p))throw new a.FormatError("Unknown mask format.");s=new Uint8ClampedArray(r*n);var m=this.numComps;for(u=0,h=r*n;u<h;++u){var v=0,b=u*m;for(f=0;f<m;++f){var y=o[b+f],k=2*f;if(y<p[k]||y>p[k+1]){v=255;break}}s[u]=v}}if(s)for(u=0,f=3,h=r*i;u<h;++u,f+=4)t[f]=s[u];else for(u=0,f=3,h=r*i;u<h;++u,f+=4)t[f]=255}},{key:"undoPreblend",value:function(e,t,r){var a=this.smask&&this.smask.matte;if(a)for(var n=this.colorSpace.getRgb(a,0),i=n[0],o=n[1],s=n[2],c=t*r*4,l=0;l<c;l+=4){var u=e[l+3];if(0!==u){var h=255/u;e[l]=(e[l]-i)*h+i,e[l+1]=(e[l+1]-o)*h+o,e[l+2]=(e[l+2]-s)*h+s}else e[l]=255,e[l+1]=255,e[l+2]=255}}},{key:"createImageData",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.drawWidth,r=this.drawHeight,n={width:t,height:r,interpolate:this.interpolate,kind:0,data:null},i=this.numComps,o=this.width,s=this.height,l=this.bpc,u=o*i*l+7>>3;if(!e){var h;if("DeviceGray"===this.colorSpace.name&&1===l?h=a.ImageKind.GRAYSCALE_1BPP:"DeviceRGB"!==this.colorSpace.name||8!==l||this.needsDecode||(h=a.ImageKind.RGB_24BPP),h&&!this.smask&&!this.mask&&t===o&&r===s){if(n.kind=h,n.data=this.getImageBytes(s*u,{}),this.needsDecode){(0,a.assert)(h===a.ImageKind.GRAYSCALE_1BPP,"PDFImage.createImageData: The image must be grayscale.");for(var f=n.data,d=0,g=f.length;d<g;d++)f[d]^=255}return n}if(this.image instanceof c.JpegStream&&!this.smask&&!this.mask){var p=s*u;switch(this.colorSpace.name){case"DeviceGray":p*=3;case"DeviceRGB":case"DeviceCMYK":return n.kind=a.ImageKind.RGB_24BPP,n.data=this.getImageBytes(p,{drawWidth:t,drawHeight:r,forceRGB:!0}),n}}}var m,v,b=this.getImageBytes(s*u,{internal:!0}),y=0|b.length/u*r/s,k=this.getComponents(b);return e||this.smask||this.mask?(n.kind=a.ImageKind.RGBA_32BPP,n.data=new Uint8ClampedArray(t*r*4),m=1,v=!0,this.fillOpacity(n.data,t,r,y,k)):(n.kind=a.ImageKind.RGB_24BPP,n.data=new Uint8ClampedArray(t*r*3),m=0,v=!1),this.needsDecode&&this.decodeBuffer(k),this.colorSpace.fillRgb(n.data,o,s,t,r,y,l,k,m),v&&this.undoPreblend(n.data,t,y),n}},{key:"fillGrayBuffer",value:function(e){var t=this.numComps;
2if(1!==t)throw new a.FormatError("Reading gray scale from a color image: ".concat(t));var r,n,i=this.width,o=this.height,s=this.bpc,c=i*t*s+7>>3,l=this.getImageBytes(o*c,{internal:!0}),u=this.getComponents(l);if(1!==s){this.needsDecode&&this.decodeBuffer(u),n=i*o;var h=255/((1<<s)-1);for(r=0;r<n;++r)e[r]=h*u[r]}else if(n=i*o,this.needsDecode)for(r=0;r<n;++r)e[r]=u[r]-1&255;else for(r=0;r<n;++r)e[r]=255&-u[r]}},{key:"getImageBytes",value:function(e,t){var r=t.drawWidth,n=t.drawHeight,i=t.forceRGB,o=void 0!==i&&i,c=t.internal,l=void 0!==c&&c;this.image.reset(),this.image.drawWidth=r||this.width,this.image.drawHeight=n||this.height,this.image.forceRGB=!!o;var u=this.image.getBytes(e);return l||this.image instanceof s.DecodeStream?u:((0,a.assert)(u instanceof Uint8Array,'PDFImage.getImageBytes: Unsupported "imageBytes" type.'),new Uint8Array(u))}}],[{key:"buildImage",value:function(){var t=p(h().mark((function t(r){var n,o,s,c,l,u,f,d,g,p,m,v;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=r.xref,o=r.res,s=r.image,c=r.isInline,l=void 0!==c&&c,u=r.pdfFunctionFactory,f=r.localColorSpaceCache,d=s,g=null,p=null,m=s.dict.get("SMask"),v=s.dict.get("Mask"),m?m instanceof i.BaseStream?g=m:(0,a.warn)("Unsupported /SMask format."):v&&(v instanceof i.BaseStream||Array.isArray(v)?p=v:(0,a.warn)("Unsupported /Mask format.")),t.abrupt("return",new e({xref:n,res:o,image:d,isInline:l,smask:g,mask:p,pdfFunctionFactory:u,localColorSpaceCache:f}));case 8:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()},{key:"createRawMask",value:function(e){var t,r,a=e.imgArray,n=e.width,i=e.height,o=e.imageIsFromDecodeStream,s=e.inverseDecode,c=e.interpolate,l=(n+7>>3)*i,u=a.byteLength;if(!o||s&&l!==u?s?((t=new Uint8Array(l)).set(a),t.fill(255,u)):t=new Uint8Array(a):t=a,s)for(r=0;r<u;r++)t[r]^=255;return{data:t,width:n,height:i,interpolate:c}}},{key:"createMask",value:function(e){var t=e.imgArray,r=e.width,i=e.height,o=e.imageIsFromDecodeStream,s=e.inverseDecode,c=e.interpolate,l=1===r&&1===i&&s===(0===t.length||!!(128&t[0]));if(l)return{isSingleOpaquePixel:l};if(a.FeatureTest.isOffscreenCanvasSupported){var u=new OffscreenCanvas(r,i),h=u.getContext("2d"),f=h.createImageData(r,i);return(0,n.applyMaskImageData)({src:t,dest:f.data,width:r,height:i,inverseDecode:s}),h.putImageData(f,0,0),{data:null,width:r,height:i,interpolate:c,bitmap:u.transferToImageBitmap()}}return this.createRawMask({imgArray:t,width:r,height:i,inverseDecode:s,imageIsFromDecodeStream
2:o,interpolate:c})}}])}();t.PDFImage=g},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.applyMaskImageData=function(e){var t=e.src,r=e.srcPos,n=void 0===r?0:r,i=e.dest,o=e.destPos,s=void 0===o?0:o,c=e.width,l=e.height,u=e.inverseDecode,h=void 0!==u&&u,f=a.FeatureTest.isLittleEndian?4278190080:255,d=g(h?[0,f]:[f,0],2),p=d[0],m=d[1],v=c>>3,b=7&c,y=t.length;i=new Uint32Array(i.buffer);for(var k=0;k<l;k++){for(var w=n+v;n<w;n++){var x=n<y?t[n]:255;i[s++]=128&x?m:p,i[s++]=64&x?m:p,i[s++]=32&x?m:p,i[s++]=16&x?m:p,i[s++]=8&x?m:p,i[s++]=4&x?m:p,i[s++]=2&x?m:p,i[s++]=1&x?m:p}if(0!==b)for(var S=n<y?t[n++]:255,A=0;A<b;A++)i[s++]=S&1<<7-A?m:p}return{srcPos:n,destPos:s}};var a=r(2)},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.incrementalUpdate=function(e){var t=e.originalData,r=e.xrefInfo,s=e.newRefs,u=e.xref,h=void 0===u?null:u,m=e.hasXfa,v=void 0!==m&&m,b=e.xfaDatasetsRef,y=void 0===b?null:b,k=e.hasXfaDatasetsEntry,w=void 0!==k&&k,x=e.acroFormRef,S=void 0===x?null:x,A=e.acroForm,C=void 0===A?null:A,F=e.xfaData,O=void 0===F?null:F;v&&function(e){var t=e.xfaData,r=e.xfaDatasetsRef,n=e.hasXfaDatasetsEntry,s=e.acroFormRef,c=e.acroForm,u=e.newRefs,h=e.xref;if(e.xrefInfo,null!==h){if(!n){if(!s)return void(0,a.warn)("XFA - Cannot save it");var f=c.get("XFA"),g=f.slice();g.splice(2,0,"datasets"),g.splice(3,0,r),c.set("XFA",g);var p=h.encrypt,m=null;p&&(m=p.createCipherTransform(s.num,s.gen));var v=["".concat(s.num," ").concat(s.gen," obj\n")];l(c,v,m),v.push("\n"),c.set("XFA",f),u.push({ref:s,data:v.join("")})}null===t&&(t=function(e,t){var r,n=new o.SimpleXMLParser({hasAttributes:!0}).parseFromString(e),s=d(t);try{for(s.s();!(r=s.n()).done;){var c=r.value.xfa;
2if(c){var l=c.path,u=c.value;if(l){var h=n.documentElement.searchNode((0,i.parseXFAPath)(l),0);h?Array.isArray(u)?h.childNodes=u.map((function(e){return new o.SimpleDOMNode("value",e)})):h.childNodes=[new o.SimpleDOMNode("#text",u)]:(0,a.warn)("Node not found for path: ".concat(l))}}}}catch(g){s.e(g)}finally{s.f()}var f=[];return n.documentElement.dump(f),f.join("")}(h.fetchIfRef(r).getString(),u));var b=h.encrypt;b&&(t=b.createCipherTransform(r.num,r.gen).encryptString(t));var y="".concat(r.num," ").concat(r.gen," obj\n")+"<< /Type /EmbeddedFile /Length ".concat(t.length,">>\nstream\n")+t+"\nendstream\nendobj\n";u.push({ref:r,data:y})}}({xfaData:O,xfaDatasetsRef:y,hasXfaDatasetsEntry:w,acroFormRef:S,acroForm:C,newRefs:s,xref:h,xrefInfo:r});var I,T,M=new n.Dict(null),P=r.newRef,E=t.at(-1);10===E||13===E?(I=[],T=t.length):(I=["\n"],T=t.length+1),M.set("Size",P.num+1),M.set("Prev",r.startXRef),M.set("Type",n.Name.get("XRef")),null!==r.rootRef&&M.set("Root",r.rootRef),null!==r.infoRef&&M.set("Info",r.infoRef),null!==r.encryptRef&&M.set("Encrypt",r.encryptRef),s.push({ref:P,data:""}),s=s.sort((function(e,t){return e.ref.num-t.ref.num}));var N,D=[[0,1,65535]],B=[0,1],L=0,R=d(s);try{for(R.s();!(N=R.n()).done;){var _=N.value,j=_.ref,U=_.data;L=Math.max(L,T),D.push([1,T,Math.min(j.gen,65535)]),T+=U.length,B.push(j.num,1),I.push(U)}}catch(ae){R.e(ae)}finally{R.f()}if(M.set("Index",B),Array.isArray(r.fileIds)&&r.fileIds.length>0){var $=function(e,t){for(var r=Math.floor(Date.now()/1e3),n=t.filename||"",i=[r.toString(),n,e.toString()],o=i.reduce((function(e,t){return e+t.length}),0),s=0,l=Object.values(t.info);s<l.length;s++){var u=l[s];i.push(u),o+=u.length}for(var h=new Uint8Array(o),f=0,d=0,g=i;d<g.length;d++){var m=g[d];p(m,f,h),f+=m.length}return(0,a.bytesToString)((0,c.calculateMD5)(h))}(T,r);M.set("ID",[r.fileIds[0],$])}var X=[1,Math.ceil(Math.log2(L)/8),2],H=(X[0]+X[1]+X[2])*D.length;M.set("W",X),M.set("Length",H),I.push("".concat(P.num," ").concat(P.gen," obj\n")),l(M,I,null),I.push(" stream\n");var q=I.reduce((function(e,t){return e+t.length}),0),z="\nendstream\nendobj\nstartxref\n".concat(T,"\n%%EOF\n"),G=new Uint8Array(t.length+q+H+z.length);G.set(t);var W,V=t.length,K=d(I);try{for(K.s();!(W=K.n()).done;){var Y=W.value;p(Y,V,G),V+=Y.length}}catch(ae){K.e(ae)}finally{K.f()}for(var J=0,Z=D;J<Z.length;J++){var Q=g(Z[J],3),ee=Q[0],te=Q[1],re=Q[2];V=f(ee,X[0],V,G),V=f(te,X[1],V,G),V=f(re,X[2],V,G)}return p(z,V,G),G},t.writeDict=l,t.writeObject=function(e,t,r,a){r.push("".concat(e.num," ").concat(e.gen," obj\n")),t instanceof n.Dict?l(t,r,a):t instanceof s.BaseStream&&u(t,r,a),r.push("\nendobj\n")};var a=r(2),n=r(5),i=r(6),o=r(66),s=r(7),c=r(67);function l(e,t,r){t.push("<<");var a,n=d(e.getKeys());try{for(n.s();!(a=n.n()).done;){var o=a.value;t.push(" /".concat((0,i.escapePDFName)(o)," ")),h(e.getRaw(o),t,r)}}catch(s){n.e(s)}finally{n.f()}t.push(">>")}function u(e,t,r){l(e.dict,t,r),t.push(" stream\n");var a=e.getString();null!==r&&(a=r.encryptString(a)),t.push(a,"\nendstream\n")}function h(e,t,r){e instanceof n.Name?t.push("/".concat((0,i.escapePDFName)(e.name))):e instanceof n.Ref?t.push("".concat(e.num," ").concat(e.gen," R")):Array.isArray(e)?function(e,t,r){t.push("[");var a,n=!0,i=d(e);try{for(i.s();!(a=i.n()).done;){var o=a.value;n?n=!1:t.push(" "),h(o,t,r)}}catch(s){i.e(s)}finally{i.f()}t.push("]")}
2(e,t,r):"string"===typeof e?(null!==r&&(e=r.encryptString(e)),t.push("(".concat((0,a.escapeString)(e),")"))):"number"===typeof e?t.push((0,i.numberToString)(e)):"boolean"===typeof e?t.push(e.toString()):e instanceof n.Dict?l(e,t,r):e instanceof s.BaseStream?u(e,t,r):null===e?t.push("null"):(0,a.warn)("Unhandled value in writer: ".concat(typeof e,", please file a bug."))}function f(e,t,r,a){for(var n=t+r-1;n>r-1;n--)a[n]=255&e,e>>=8;return r+t}function p(e,t,r){for(var a=0,n=e.length;a<n;a++)r[t+a]=255&e.charCodeAt(a)}},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.XMLParserErrorCode=t.XMLParserBase=t.SimpleXMLParser=t.SimpleDOMNode=void 0;var a=r(6),n={NoError:0,EndOfDocument:-1,UnterminatedCdat:-2,UnterminatedXmlDeclaration:-3,UnterminatedDoctypeDeclaration:-4,UnterminatedComment:-5,MalformedElement:-6,OutOfMemory:-7,UnterminatedAttributeValue:-8,UnterminatedElement:-9,ElementNeverBegun:-10};function i(e,t){var r=e[t];return" "===r||"\n"===r||"\r"===r||"\t"===r}t.XMLParserErrorCode=n;var o=function(){return v((function e(){m(this,e)}),[{key:"_resolveEntities",value:function(e){var t=this;return e.replace(/&([^;]+);/g,(function(e,r){if("#x"===r.substring(0,2))return String.fromCodePoint(parseInt(r.substring(2),16));if("#"===r.substring(0,1))return String.fromCodePoint(parseInt(r.substring(1),10));switch(r){case"lt":return"<";case"gt":return">";case"amp":return"&";case"quot":return'"';case"apos":return"'"}return t.onResolveEntity(r)}))}},{key:"_parseContent",value:function(e,t){var r=[],a=t;function n(){for(;a<e.length&&i(e,a);)++a}for(;a<e.length&&!i(e,a)&&">"!==e[a]&&"/"!==e[a];)++a;var o=e.substring(t,a);for(n();a<e.length&&">"!==e[a]&&"/"!==e[a]&&"?"!==e[a];){n();for(var s,c="";a<e.length&&!i(e,a)&&"="!==e[a];)c+=e[a],++a;if(n(),"="!==e[a])return null;++a,n();var l=e[a];if('"'!==l&&"'"!==l)return null;var u=e.indexOf(l,++a);if(u<0)return null;s=e.substring(a,u),r.push({name:c,value:this._resolveEntities(s)}),a=u+1,n()}return{name:o,attributes:r,parsed:a-t}}},{key:"_parseProcessingInstruction",value:function(e,t){for(var r=t;r<e.length&&!i(e,r)&&">"!==e[r]&&"?"!==e[r]&&"/"!==e[r];)++r;var a=e.substring(t,r);!function(){for(;r<e.length&&i(e,r);)++r}();for(var n=r;r<e.length&&("?"!==e[r]||">"!==e[r+1]);)++r;return{name:a,value:e.substring(n,r),parsed:r-t}}},{key:"parseXml",value:function(e){for(var t=0;t<e.length;){var r=t;if("<"===e[t]){var a=void 0;switch(e[++r]){case"/":if(++r,(a=e.indexOf(">",r))<0)return void this.onError(n.UnterminatedElement);this.onEndElement(e.substring(r,a)),r=a+1;break;case"?":++r;var i=this._parseProcessingInstruction(e,r);if("?>"!==e.substring(r+i.parsed,r+i.parsed+2))return void this.onError(n.UnterminatedXmlDeclaration);this.onPi(i.name,i.value),r+=i.parsed+2;break;case"!":if("--"===e.substring(r+1,r+3)){if((a=e.indexOf("--\x3e",r+3))<0)return void this.onError(n.UnterminatedComment);this.onComment(e.substring(r+3,a)),r=a+3}else if("[CDATA["===e.substring(r+1,r+8)){if((a=e.indexOf("]]>",r+8))<0)return void this.onError(n.UnterminatedCdat);this.onCdata(e.substring(r+8,a)),r=a+3}else{if("DOCTYPE"!==e.substring(r+1,r+8))return void this.onError(n.MalformedElement);var o=e.indexOf("[",r+8),s=!1;if((a=e.indexOf(">",r+8))<0)return void this.onError(n.UnterminatedDoctypeDeclaration);if(o>0&&a>o){if((a=e.indexOf("]>",r+8))<0)return void this.onError(n.UnterminatedDoctypeDeclaration);s=!0}var c=e.substring(r+8,a+(s?1:0));this.onDoctype(c),r=a+(s?2:1)}break;default:var l=this._parseContent(e,r);if(null===l)return void this.onError(n.MalformedElement);var u=!1;if("/>"===e.substring(r+l.parsed,r+l.parsed+2))u=!0;else if(">"!==e.substring(r+l.parsed,r+l.parsed+1))return void this.onError(n.UnterminatedElement);this.onBeginElement(l.name,l.attributes,u),r+=l.parsed+(u?2:1)}}else{for(;r<e.length&&"<"!==e[r];)r++;var h=e.substring(t,r);this.onText(this._resolveEntities(h))}t=r}}},{key:"onResolveEntity",value:function(e){return"&".concat(e,";")}},{key:"onPi",value:function(e,t){}},{key:"onComment",value:function(e){}},{key:"onCdata",value:function(e){}},{key:"onDoctype",value:function(e){}},{key:"onText",value:function(e){}},{key:"onBeginElement",value:function(e,t,r){}},{key:"onEndElement",value:function(e){}},{key:"onError",value:function(e){}}])}();t.XMLParserBase=o;var s=function(){return v((function e(t,r){m(this,e),this.nodeName=t,this.nodeValue=r,Object.defineProperty(this,"parentNode",{value:null,writable:!0})}),[{key:"firstChild",get:function(){return this.childNodes&&this.childNodes[0]}},{key:"nextSibling",get:function(){var e=this.parentNode.childNodes;if(e){var t=e.indexOf(this);if(-1!==t)return e[t+1]}}},{key:"textContent",get:function(){return this.childNodes?this.childNodes.map((function(e){return e.textContent})).join(""):this.nodeValue||""}},{key:"children",get:function(){return this.childNodes||[]}},{key:"hasChildNodes",value:function(){return this.childNodes&&this.childNodes.length>0}},{key:"searchNode",value:function(e,t){if(t>=e.length)return this;for(var r=e[t],a=[],n=this;;){if(r.name===n.nodeName){if(0!==r.pos){if(0===a.length)return null;var i,o=a.pop(),s=g(o,1)[0],c=0,l=d(s.childNodes);try{for(l.s();!(i=l.n()).done;){var u=i.value;if(r.name===u.nodeName){if(c===r.pos)return u.searchNode(e,t+1);c++}}}catch(b){l.e(b)}finally{l.f()}return n.searchNode(e,t+1)}var h=n.searchNode(e,t+1);if(null!==h)return h}if(n.childNodes&&0!==n.childNodes.length)a.push([n,0]),n=n.childNodes[0];else{if(0===a.length)return null;for(;0!==a.length;){var f=a.pop(),p=g(f,2),m=p[0],v=p[1]+1;if(v<m.childNodes.length){a.push([m,v]),n=m.childNodes[v];break}}if(0===a.length)return null}}}},{key:"dump",value:function(e){if("#text"!==this.nodeName){if(e.push("<".concat(this.nodeName)),this.attributes){var t,r=d(this.attributes);try{for(r.s();!(t=r.n()).done;){var n=t.value;e.push(" ".concat(n.name,'="').concat((0,a.encodeToXmlString)(n.value),'"'))}}catch(s){r.e(s)}finally{r.f()}}if(this.hasChildNodes()){e.push(">");var i,o=d(this.childNodes);try{for(o.s();!(i=o.n()).done;)i.value.dump(e)}catch(s){o.e(s)}finally{o.f()}e.push("</".concat(this.nodeName,">"))}else this.nodeValue?e.push(">".concat((0,a.encodeToXmlString)(this.nodeValue),"</").concat(this.nodeName,">")):e.push("/>")}else e.push((0,a.encodeToXmlString)(this.nodeValue))}}])}();t.SimpleDOMNode=s;var c=function(e){function t(e){var r,a=e.hasAttributes,i=void 0!==a&&a,o=e.lowerCaseName,s=void 0!==o&&o;return m(this,t),(r=l(this,t))._currentFragment=null,r._stack=null,r._errorCode=n.NoError,r._hasAttributes=i,r._lowerCaseName=s,r}return u(t,e),v(t,[{key:"parseFromString",value:function(e){if(this._currentFragment=[],this._stack=[],this._errorCode=n.NoError,this.parseXml(e),this._errorCode===n.NoError){var t=g(this._currentFragment,1)[0];if(t)return{documentElement:t}}}},{key:"onText",value:function(e){if(!function(e){for(var t=0,r=e.length;t<r;t++)if(!i(e,t))return!1;return!0}(e)){var t=new s("#text",e);this._currentFragment.push(t)}}},{key:"onCdata",value:function(e){var t=new s("#text",e);this._currentFragment.push(t)}},{key:"onBeginElement",value:function(e,t,r){this._lowerCaseName&&(e=e.toLowerCase());var a=new s(e);a.childNodes=[],this._hasAttributes&&(a.attributes=t),this._currentFragment.push(a),r||(this._stack.push(this._currentFragment),this._currentFragment=a.childNodes)}},{key:"onEndElement",value:function(e){this._currentFragment=this._stack.pop()||[];var t=this._currentFragment.at(-1);if(!t)return null;for(var r=0,a=t.childNodes.length;r<a;r++)t.childNodes[r].parentNode=t;return t}},{key:"onError",value:function(e){this._errorCode=e}}])}(o);t.SimpleXMLParser=c}
vendor: 10,658 bytes, line 2
2,function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.calculateSHA256=t.calculateMD5=t.PDF20=t.PDF17=t.CipherTransformFactory=t.ARCFourCipher=t.AES256Cipher=t.AES128Cipher=void 0,t.calculateSHA384=d,t.calculateSHA512=void 0;var a=r(2),n=r(5),i=r(68),o=function(){return v((function e(t){m(this,e),this.a=0,this.b=0;for(var r=new Uint8Array(256),a=t.length,n=0;n<256;++n)r[n]=n;for(var i=0,o=0;i<256;++i){var s=r[i];o=o+s+t[i%a]&255,r[i]=r[o],r[o]=s}this.s=r}),[{key:"encryptBlock",value:function(e){for(var t=this.a,r=this.b,a=this.s,n=e.length,i=new Uint8Array(n),o=0;o<n;++o){var s=a[t=t+1&255],c=a[r=r+s&255];a[t]=c,a[r]=s,i[o]=e[o]^a[s+c&255]}return this.a=t,this.b=r,i}},{key:"decryptBlock",value:function(e){return this.encryptBlock(e)}},{key:"encrypt",value:function(e){return this.encryptBlock(e)}}])}();t.ARCFourCipher=o;var s=function(){var e=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]),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]);return function(r,a,n){var i,o,s=1732584193,c=-271733879,l=-1732584194,u=271733878,h=n+72&-64,f=new Uint8Array(h);for(i=0;i<n;++i)f[i]=r[a++];f[i++]=128;for(var d=h-8;i<d;)f[i++]=0;f[i++]=n<<3&255,f[i++]=n>>5&255,f[i++]=n>>13&255,f[i++]=n>>21&255,f[i++]=n>>>29&255,f[i++]=0,f[i++]=0,f[i++]=0;var g=new Int32Array(16);for(i=0;i<h;){for(o=0;o<16;++o,i+=4)g[o]=f[i]|f[i+1]<<8|f[i+2]<<16|f[i+3]<<24;var p=s,m=c,v=l,b=u,y=void 0,k=void 0;for(o=0;o<64;++o){o<16?(y=m&v|~m&b,k=o):o<32?(y=b&m|~b&v,k=5*o+1&15):o<48?(y=m^v^b,k=3*o+5&15):(y=v^(m|~b),k=7*o&15);var w=b,x=p+y+t[o]+g[k]|0,S=e[o];b=v,v=m,m=m+(x<<S|x>>>32-S)|0,p=w}s=s+p|0,c=c+m|0,l=l+v|0,u=u+b|0}return new Uint8Array([255&s,s>>8&255,s>>16&255,s>>>24&255,255&c,c>>8&255,c>>16&255,c>>>24&255,255&l,l>>8&255,l>>16&255,l>>>24&255,255&u,u>>8&255,u>>16&255,u>>>24&255])}}();t.calculateMD5=s;var c=function(){return v((function e(t,r){m(this,e),this.high=0|t,this.low=0|r}),[{key:"and",value:function(e){this.high&=e.high,this.low&=e.low}},{key:"xor",value:function(e){this.high^=e.high,this.low^=e.low}},{key:"or",value:function(e){this.high|=e.high,this.low|=e.low}},{key:"shiftRight",value:function(e){e>=32?(this.low=this.high>>>e-32|0,this.high=0):(this.low=this.low>>>e|this.high<<32-e,this.high=this.high>>>e|0)}},{key:"shiftLeft",value:function(e){e>=32?(this.high=this.low<<e-32,this.low=0):(this.high=this.high<<e|this.low>>>32-e,this.low<<=e)}},{key:"rotateRight",value:function(e){var t,r;32&e?(r=this.low,t=this.high):(t=this.low,r=this.high),e&=31,this.low=t>>>e|r<<32-e,this.high=r>>>e|t<<32-e}},{key:"not",value:function(){this.high=~this.high,this.low=~this.low}},{key:"add",value:function(e){var t=(this.low>>>0)+(e.low>>>0),r=(this.high>>>0)+(e.high>>>0);t>4294967295&&(r+=1),this.low=0|t,this.high=0|r}},{key:"copyTo",value:function(e,t){e[t]=this.high>>>24&255,e[t+1]=this.high>>16&255,e[t+2]=this.high>>8&255,e[t+3]=255&this.high,e[t+4]=this.low>>>24&255,e[t+5]=this.low>>16&255,e[t+6]=this.low>>8&255,e[t+7]=255&this.low}},{key:"assign",value:function(e){this.high=e.high,this.low=e.low}}])}(),h=function(){function e(e,t){return e>>>t|e<<32-t}function t(e,t,r){return e&t^~e&r}function r(e,t,r){return e&t^e&r^t&r}function a(t){return e(t,2)^e(t,13)^e(t,22)}function n(t){return e(t,6)^e(t,11)^e(t,25)}function i(t){return e(t,7)^e(t,18)^t>>>3}var o=[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];return function(s,c,l){var u,h,f=1779033703,d=3144134277,g=1013904242,p=2773480762,m=1359893119,v=2600822924,b=528734635,y=1541459225,k=64*Math.ceil((l+9)/64),w=new Uint8Array(k);for(u=0;u<l;++u)w[u]=s[c++];w[u++]=128;for(var x=k-8;u<x;)w[u++]=0;w[u++]=0,w[u++]=0,w[u++]=0,w[u++]=l>>>29&255,w[u++]=l>>21&255,w[u++]=l>>13&255,w[u++]=l>>5&255,w[u++]=l<<3&255;var S,A=new Uint32Array(64);for(u=0;u<k;){for(h=0;h<16;++h)A[h]=w[u]<<24|w[u+1]<<16|w[u+2]<<8|w[u+3],u+=4;for(h=16;h<64;++h)A[h]=0|(e(S=A[h-2],17)^e(S,19)^S>>>10)+A[h-7]+i(A[h-15])+A[h-16];var C=f,F=d,O=g,I=p,T=m,M=v,P=b,E=y,N=void 0,D=void 0;for(h=0;h<64;++h)N=E+n(T)+t(T,M,P)+o[h]+A[h],D=a(C)+r(C,F,O),E=P,P=M,M=T,T=I+N|0,I=O,O=F,F=C,C=N+D|0;f=f+C|0,d=d+F|0,g=g+O|0,p=p+I|0,m=m+T|0,v=v+M|0,b=b+P|0,y=y+E|0}return new Uint8Array([f>>24&255,f>>16&255,f>>8&255,255&f,d>>24&255,d>>16&255,d>>8&255,255&d,g>>24&255,g>>16&255,g>>8&255,255&g,p>>24&255,p>>16&255,p>>8&255,255&p,m>>24&255,m>>16&255,m>>8&255,255&m,v>>24&255,v>>16&255,v>>8&255,255&v,b>>24&255,b>>16&255,b>>8&255,255&b,y>>24&255,y>>16&255,y>>8&255,255&y])}}();t.calculateSHA256=h;var f=function(){function e(e,t,r,a,n){e.assign(t),e.and(r),n.assign(t),n.not(),n.and(a),e.xor(n)}function t(e,t,r,a,n){e.assign(t),e.and(r),n.assign(t),n.and(a),e.xor(n),n.assign(r),n.and(a),e.xor(n)}function r(e,t,r){e.assign(t),e.rotateRight(28),r.assign(t),r.rotateRight(34),e.xor(r),r.assign(t),r.rotateRight(39),e.xor(r)}function a(e,t,r){e.assign(t),e.rotateRight(14),r.assign(t),r.rotateRight(18),e.xor(r),r.assign(t),r.rotateRight(41),e.xor(r)}function n(e,t,r){e.assign(t),e.rotateRight(1),r.assign(t),r.rotateRight(8),e.xor(r),r.assign(t),r.shiftRight(7),e.xor(r)}function i(e,t,r){e.assign(t),e.rotateRight(19),r.assign(t),r.rotateRight(61),e.xor(r),r.assign(t),r.shiftRight(6),e.xor(r)}var o=[new c(1116352408,3609767458),new c(1899447441,602891725),new c(3049323471,3964484399),new c(3921009573,2173295548),new c(961987163,4081628472),new c(1508970993,3053834265),new c(2453635748,2937671579),new c(2870763221,3664609560),new c(3624381080,2734883394),new c(310598401,1164996542),new c(607225278,1323610764),new c(1426881987,3590304994),new c(1925078388,4068182383),new c(2162078206,991336113),new c(2614888103,633803317),new c(3248222580,3479774868),new c(3835390401,2666613458),new c(4022224774,944711139),new c(264347078,2341262773),new c(604807628,2007800933),new c(770255983,1495990901),new c(1249150122,1856431235),new c(1555081692,3175218132),new c(1996064986,2198950837),new c(2554220882,3999719339),new c(2821834349,766784016),new c(2952996808,2566594879),new c(3210313671,3203337956),new c(3336571891,1034457026),new c(3584528711,2466948901),new c(113926993,3758326383),new c(338241895,168717936),new c(666307205,1188179964),new c(773529912,1546045734),new c(1294757372,1522805485),new c(1396182291,2643833823),new c(1695183700,2343527390),new c(1986661051,1014477480),new c(2177026350,1206759142),new c(2456956037,344077627),new c(2730485921,1290863460),new c(2820302411,3158454273),new c(3259730800,3505952657),new c(3345764771,106217008),new c(3516065817,3606008344),new c(3600352804,1432725776),new c(4094571909,1467031594),new c(275423344,851169720),new c(430227734,3100823752),new c(506948616,1363258195),new c(659060556,3750685593),new c(883997877,3785050280),new c(958139571,3318307427),new c(1322822218,3812723403),new c(1537002063,2003034995),new c(1747873779,3602036899),new c(1955562222,1575990012),new c(2024104815,1125592928),new c(2227730452,2716904306),new c(2361852424,442776044),new c(2428436474,593698344),new c(2756734187,3733110249),new c(3204031479,2999351573),new c(3329325298,3815920427),new c(3391569614,3928383900),new c(3515267271,566280711),new c(3940187606,3454069534),new c(4118630271,4000239992),new c(116418474,1914138554),new c(174292421,2731055270),new c(289380356,3203993006),new c(460393269,320620315),new c(685471733,587496836),new c(852142971,1086792851),new c(1017036298,365543100),new c(1126000580,2618297676),new c(1288033470,3409855158),new c(1501505948,4234509866),new c(1607167915,987167468),new c(1816402316,1246189591)];return function(s,l,u){var h,f,d,g,p,m,v,b,y=arguments.length>3&&void 0!==arguments[3]&&arguments[3];y?(h=new c(3418070365,3238371032),f=new c(1654270250,914150663),d=new c(2438529370,812702999),g=new c(355462360,4144912697),p=new c(1731405415,4290775857),m=new c(2394180231,1750603025),v=new c(3675008525,1694076839),b=new c(1203062813,3204075428)):(h=new c(1779033703,4089235720),f=new c(3144134277,2227873595),d=new c(1013904242,4271175723),g=new c(2773480762,1595750129),p=new c(1359893119,2917565137),m=new c(2600822924,725511199),v=new c(528734635,4215389547),b=new c(1541459225,327033209));var k,w,x=128*Math.ceil((u+17)/128),S=new Uint8Array(x);for(k=0;k<u;++k)S[k]=s[l++];S[k++]=128;for(var A=x-16;k<A;)S[k++]=0;S[k++]=0,S[k++]=0,S[k++]=0,S[k++]=0,S[k++]=0,S[k++]=0,S[k++]=0,S[k++]=0,S[k++]=0,S[k++]=0,S[k++]=0,S[k++]=u>>>29&255,S[k++]=u>>21&255,S[k++]=u>>13&255,S[k++]=u>>5&255,S[k++]=u<<3&255;var C=new Array(80);for(k=0;k<80;k++)C[k]=new c(0,0);var F,O,I=new c(0,0),T=new c(0,0),M=new c(0,0),P=new c(0,0),E=new c(0,0),N=new c(0,0),D=new c(0,0),B=new c(0,0),L=new c(0,0),R=new c(0,0),_=new c(0,0),j=new c(0,0);for(k=0;k<x;){for(w=0;w<16;++w)C[w].high=S[k]<<24|S[k+1]<<16|S[k+2]<<8|S[k+3],C[w].low=S[k+4]<<24|S[k+5]<<16|S[k+6]<<8|S[k+7],k+=8;for(w=16;w<80;++w)i(F=C[w],C[w-2],j),F.add(C[w-7]),n(_,C[w-15],j),F.add(_),F.add(C[w-16]);for(I.assign(h),T.assign(f),M.assign(d),P.assign(g),E.assign(p),N.assign(m),D.assign(v),B.assign(b),w=0;w<80;++w)L.assign(B),a(_,E,j),L.add(_),e(_,E,N,D,j),L.add(_),L.add(o[w]),L.add(C[w]),r(R,I,j),t(_,I,T,M,j),R.add(_),F=B,B=D,D=N,N=E,P.add(L),E=P,P=M,M=T,T=I,F.assign(L),F.add(R),I=F;h.add(I),f.add(T),d.add(M),g.add(P),p.add(E),m.add(N),v.add(D),b.add(B)}return y?(O=new Uint8Array(48),h.copyTo(O,0),f.copyTo(O,8),d.copyTo(O,16),g.copyTo(O,24),p.
2copyTo(O,32),m.copyTo(O,40)):(O=new Uint8Array(64),h.copyTo(O,0),f.copyTo(O,8),d.copyTo(O,16),g.copyTo(O,24),p.copyTo(O,32),m.copyTo(O,40),v.copyTo(O,48),b.copyTo(O,56)),O}}();function d(e,t,r){return f(e,t,r,!0)}t.calculateSHA512=f;var g=function(){return v((function e(){m(this,e)}),[{key:"decryptBlock",value:function(e){return e}},{key:"encrypt",value:function(e){return e}}])}(),p=function(){return v((function e(){m(this,e),this.constructor===e&&(0,a.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,4969060
vendor: 5,232 bytes, line 2
259,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 t=0;t<256;t++)this._mixCol[t]=t<128?t<<1:t<<1^27;this.buffer=new Uint8Array(16),this.bufferPosition=0}),[{key:"_expandKey",value:function(e){(0,a.unreachable)("Cannot call `_expandKey` on the base class")}},{key:"_decrypt",value:function(e,t){var r,a,n,i=new Uint8Array(16);i.set(e);for(var o=0,s=this._keySize;o<16;++o,++s)i[o]^=t[s];for(var c=this._cyclesOfRepetition-1;c>=1;--c){r=i[13],i[13]=i[9],i[9]=i[5],i[5]=i[1],i[1]=r,r=i[14],a=i[10],i[14]=i[6],i[10]=i[2],i[6]=r,i[2]=a,r=i[15],a=i[11],n=i[7],i[15]=i[3],i[11]=r,i[7]=a,i[3]=n;for(var l=0;l<16;++l)i[l]=this._inv_s[i[l]];for(var u=0,h=16*c;u<16;++u,++h)i[u]^=t[h];for(var f=0;f<16;f+=4){var d=this._mix[i[f]],g=this._mix[i[f+1]],p=this._mix[i[f+2]],m=this._mix[i[f+3]];r=d^g>>>8^g<<24^p>>>16^p<<16^m>>>24^m<<8,i[f]=r>>>24&255,i[f+1]=r>>16&255,i[f+2]=r>>8&255,i[f+3]=255&r}}r=i[13],i[13]=i[9],i[9]=i[5],i[5]=i[1],i[1]=r,r=i[14],a=i[10],i[14]=i[6],i[10]=i[2],i[6]=r,i[2]=a,r=i[15],a=i[11],n=i[7],i[15]=i[3],i[11]=r,i[7]=a,i[3]=n;for(var v=0;v<16;++v)i[v]=this._inv_s[i[v]],i[v]^=t[v];return i}},{key:"_encrypt",value:function(e,t){var r,a,n,i=this._s,o=new Uint8Array(16);o.set(e);for(var s=0;s<16;++s)o[s]^=t[s];for(var c=1;c<this._cyclesOfRepetition;c++){for(var l=0;l<16;++l)o[l]=i[o[l]];n=o[1],o[1]=o[5],o[5]=o[9],o[9]=o[13],o[13]=n,n=o[2],a=o[6],o[2]=o[10],o[6]=o[14],o[10]=n,o[14]=a,n=o[3],a=o[7],r=o[11],o[3]=o[15],o[7]=n,o[11]=a,o[15]=r;for(var u=0;u<16;u+=4){var h=o[u+0],f=o[u+1],d=o[u+2],g=o[u+3];r=h^f^d^g,o[u+0]^=r^this._mixCol[h^f],o[u+1]^=r^this._mixCol[f^d],o[u+2]^=r^this._mixCol[d^g],o[u+3]^=r^this._mixCol[g^h]}for(var p=0,m=16*c;p<16;++p,++m)o[p]^=t[m]}for(var v=0;v<16;++v)o[v]=i[o[v]];n=o[1],o[1]=o[5],o[5]=o[9],o[9]=o[13],o[13]=n,n=o[2],a=o[6],o[2]=o[10],o[6]=o[14],o[10]=n,o[14]=a,n=o[3],a=o[7],r=o[11],o[3]=o[15],o[7]=n,o[11]=a,o[15]=r;for(var b=0,y=this._keySize;b<16;++b,++y)o[b]^=t[y];return o}},{key:"_decryptBlock2",value:function(e,t){for(var r=e.length,a=this.buffer,n=this.bufferPosition,i=[],o=this.iv,s=0;s<r;++s)if(a[n]=e[s],!(++n<16)){for(var c=this._decrypt(a,this._key),l=0;l<16;++l)c[l]^=o[l];o=a,i.push(c),a=new Uint8Array(16),n=0}if(this.buffer=a,this.bufferLength=n,this.iv=o,0===i.length)return new Uint8Array(0);var u=16*i.length;if(t){var h=i.at(-1),f=h[15];if(f<=16){for(var d=15,g=16-f;d>=g;--d)if(h[d]!==f){f=0;break}u-=f,i[i.length-1]=h.subarray(0,16-f)}}for(var p=new Uint8Array(u),m=0,v=0,b=i.length;m<b;++m,v+=16)p.set(i[m],v);return p}},{key:"decryptBlock",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,a=e.length,n=this.buffer,i=this.bufferPosition;if(r)this.iv=r;else{for(var o=0;i<16&&o<a;++o,++i)n[i]=e[o];if(i<16)return this.bufferLength=i,new Uint8Array(0);this.iv=n,e=e.subarray(16)}return this.buffer=new Uint8Array(16),this.bufferLength=0,this.decryptBlock=this._decryptBlock2,this.decryptBlock(e,t)}},{key:"encrypt",value:function(e,t){var r=e.length,a=this.buffer,n=this.bufferPosition,i=[];t||(t=new Uint8Array(16));for(var o=0;o<r;++o)if(a[n]=e[o],!(++n<16)){for(var s=0;s<16;++s)a[s]^=t[s];var c=this._encrypt(a,this._key);t=c,i.push(c),a=new Uint8Array(16),n=0}if(this.buffer=a,this.bufferLength=n,this.iv=t,0===i.length)return new Uint8Array(0);for(var l=16*i.length,u=new Uint8Array(l),h=0,f=0,d=i.length;h<d;++h,f+=16)u.set(i[h],f);return u}}])}(),b=function(e){function t(e){var r;return m(this,t),(r=l(this,t))._cyclesOfRepetition=10,r._keySize=160,r._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]),r._key=r._expandKey(e),r}return u(t,e),v(t,[{key:"_expandKey",value:function(e){var t=this._s,r=this._rcon,a=new Uint8Array(176);a.set(e);for(var n=16,i=1;n<176;++i){var o=a[n-3],s=a[n-2],c=a[n-1],l=a[n-4];o=t[o],s=t[s],c=t[c],l=t[l],o^=r[i];for(var u=0;u<4;++u)a[n]=o^=a[n-16],a[++n]=s^=a[n-16],a[++n]=c^=a[n-16],a[++n]=l^=a[n-16],n++}return a}}])}(p);t.AES128Cipher=b;var y=function(e){function t(e){var r;return m(this,t),(r=l(this,t))._cyclesOfRepetition=14,r._keySize=224,r._key=r._expandKey(e),r}return u(t,e),v(t,[{key:"_expandKey",value:function(e){var t=this._s,r=new 
2Uint8Array(240);r.set(e);for(var a,n,i,o,s=1,c=32,l=1;c<240;++l){c%32===16?(a=t[a],n=t[n],i=t[i],o=t[o]):c%32===0&&(a=r[c-3],n=r[c-2],i=r[c-1],o=r[c-4],a=t[a],n=t[n],i=t[i],o=t[o],a^=s,(s<<=1)>=256&&(s=255&(27^s)));for(var u=0;u<4;++u)r[c]=a^=r[c-32],r[++c]=n^=r[c-32],r[++c]=i^=r[c-32],r[++c]=o^=r[c-32],c++}return r}}])}(p);t.AES256Cipher=y;var k=function(){return v((function e(){m(this,e)}),[{key:"checkOwnerPassword",value:function(e,t,r,n){var i=new Uint8Array(e.length+56);i.set(e,0),i.set(t,e.length),i.set(r,e.length+t.length);var o=h(i,0,i.length);return(0,a.isArrayEqual)(o,n)}},{key:"checkUserPassword",value:function(e,t,r){var n=new Uint8Array(e.length+8);n.set(e,0),n.set(t,e.length);var i=h(n,0,n.length);return(0,a.isArrayEqual)(i,r)}},{key:"getOwnerKey",value:function(e,t,r,a){var n=new Uint8Array(e.length+56);n.set(e,0),n.set(t,e.length),n.set(r,e.length+t.length);var i=h(n,0,n.length);return new y(i).decryptBlock(a,!1,new Uint8Array(16))}},{key:"getUserKey",value:function(e,t,r){var a=new Uint8Array(e.length+8);a.set(e,0),a.set(t,e.length);var n=h(a,0,a.length);return new y(n).decryptBlock(r,!1,new Uint8Array(16))}}])}();t.PDF17=k;var w=function(){function e(e,t,r){for(var a=h(t,0,t.length).subarray(0,32),n=[0],i=0;i<64||n.at(-1)>i-32;){var o=e.length+a.length+r.length,s=new Uint8Array(o),c=0;s.set(e,c),c+=e.length,s.set(a,c),c+=a.length,s.set(r,c);for(var l=new Uint8Array(64*o),u=0,g=0;u<64;u++,g+=o)l.set(s,g);n=new b(a.subarray(0,16)).encrypt(l,a.subarray(16,32));for(var p=0,m=0;m<16;m++)p*=1,p%=3,p+=(n[m]>>>0)%3,p%=3;0===p?a=h(n,0,n.length):1===p?a=d(n,0,n.length):2===p&&(a=f(n,0,n.length)),i++}return a.subarray(0,32)}return function(){return v((function e(){m(this,e)}),[{key:"hash",value:function(t,r,a){return e(t,r,a)}},{key:"checkOwnerPassword",value:function(t,r,n,i){var o=new Uint8Array(t.length+56);o.set(t,0),o.set(r,t.length),o.set(n,t.length+r.length);var s=e(t,o,n);return(0,a.isArrayEqual)(s,i)}},{key:"checkUserPassword",value:function(t,r,n){var i=new Uint8Array(t.length+8);i.set(t,0),i.set(r,t.length);var o=e(t,i,[]);return(0,a.isArrayEqual)(o,n)}},{key:"getOwnerKey",value:function(t,r,a,n){var i=new Uint8Array(t.length+56);i.set(t,0),i.set(r,t.length),i.set(a,t.length+r.length);var o=e(t,i,a);return new y(o).decryptBlock(n,!1,new Uint8Array(16))}},{key:"getUserKey",value:function(t,r,a){var n=new Uint8Array(t.length+8);n.set(t,0),n.set(r,t.length);var i=e(t,n,[]);return new y(i).decryptBlock(a,!1,new Uint8Array(16))}}])}()}();t.PDF20=w;var x=function(){return v((function e(t,r){m(this,e),this.StringCipherConstructor=t,this.StreamCipherConstructor=r}),[{key:"createStream",value:function(e,t){var r=new this.StreamCipherConstructor;return new i.DecryptStream(e,t,(function(e,t){return r.decryptBlock(e,t)}))}},{key:"decryptString",value:function(e){var t=new this.StringCipherConstructor,r=(0,a.stringToBytes)(e);return r=t.decryptBlock(r,!0),(0,a.bytesToString)(r)}},{key:"encryptString",value:function(e){var t=new this.StringCipherConstructor;if(t instanceof p){var r=16-e.length%16;e+=String.fromCharCode(r).repeat(r);var n=new Uint8Array(16);if("undefined"!==typeof crypto)crypto.getRandomValues(n);else for(var i=0;i<16;i++)n[i]=Math.floor(256*Math.random());var o=(0,a.stringToBytes)(e);o=t.encrypt(o,n);var s=new Uint8Array(16+o.length);return s.set(n),s.set(o,16),(0,a.bytesToString)(s)}var c=(0,a.stringToBytes)(e);return c=t.encrypt(c),(0,a.bytesToString)(c)}}])}(),S=function(){var e=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(t,r,a,n,i,c,l,u){var h,f,d=40+a.length+t.length,g=new Uint8Array(d),p=0;if(r)for(f=Math.min(32,r.length);p<f;++p)g[p]=r[p];for(h=0;p<32;)g[p++]=e[h++];for(h=0,f=a.length;h<f;++h)g[p++]=a[h];for(g[p++]=255&i,g[p++]=i>>8&255,g[p++]=i>>16&255,g[p++]=i>>>24&255,h=0,f=t.length;h<f;++h)g[p++]=t[h];c>=4&&!u&&(g[p++]=255,g[p++]=255,g[p++]=255,g[p++]=255);var m=s(g,0,p),v=l>>3;if(c>=3)for(h=0;h<50;++h)m=s(m,0,v);var b,y=m.subarray(0,v);if(c>=3){for(p=0;p<32;++p)g[p]=e[p];for(h=0,f=t.length;h<f;++h)g[p++]=t[h];b=new o(y).encryptBlock(s(g,0,p)),f=y.length;var k=new Uint8Array(f);for(h=1;h<=19;++h){for(var w=0;w<f;++w)k[w]=y[w]^h;b=new o(k).encryptBlock(b)}for(h=0,f=b.length;h<f;++h)if(n[h]!==b[h])return null}else for(h=0,f=(b=new o(y).encryptBlock(e)).length;h<f;++h)if(n[h]!==b[h])return null;return y}var r=n.Name.get("Identity");function i(e,t,r){var a,n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=new Uint8Array(r.length+9),o=r.length;for(a=0;a<o;++a)i[a]=r[a];return i[a++]=255&e,i[a++]=e>>8&255,i[a++]=e>>16&255,i[a++]=255&t,i[a++]=t>>8&255,n&&(i[a++]=115,i[a++]=65,i[a++]=108,i[a++]=84),s(i,0,a).subarray(0,Math.min(r.length+5,16))}function c(e,t,r,s,c){if(!(t instanceof n.Name))throw new a.FormatError("Invalid crypt filter name.");var l,u=e.get(t.name);if(null!==u&&void 0!==u&&(l=u.get("CFM")),!l||"None"===l.name)return function(){return new g};if("V2"===l.name)return function(){return new o(i(r,s,c,!1))};if("AESV2"===l.name)return function(){return new b(i(r,s,c,!0))};if("AESV3"===l.name)return function(){return new y(c)};throw new a.FormatError("Unknown crypto method")}return function(){return v((function i(c,l,u){m(this,i);var h=c.get("Filter");if(!(0,n.isName)(h,"Standard"))throw new a.FormatError("unknown encryption method");this.filterName=h.name,this.dict=c;var f=c.get("V");if(!Number.isInteger(f)||1!==f&&2!==f&&4!==f&&5!==f)throw new a.FormatError("unsupported encryption algorithm");this.algorithm=f;var d=c.get("Length");if(!d)if(f<=3)d=40;else{var g=c.get("CF"),p=c.get("StmF");if(g instanceof n.Dict&&p instanceof n.Name){g.suppressEncryption=!0;var v=g.get(p.name);
2(d=v&&v.get("Length")||128)<40&&(d<<=3)}}if(!Number.isInteger(d)||d<40||d%8!==0)throw new a.FormatError("invalid key length");var b=(0,a.stringToBytes)(c.get("O")).subarray(0,32),y=(0,a.stringToBytes)(c.get("U")).subarray(0,32),x=c.get("P"),S=c.get("R"),A=(4===f||5===f)&&!1!==c.get("EncryptMetadata");this.encryptMetadata=A;var C,F,O=(0,a.stringToBytes)(l);if(u){if(6===S)try{u=(0,a.utf8StringToString)(u)}catch(R){(0,a.warn)("CipherTransformFactory: Unable to convert UTF8 encoded password.")}C=(0,a.stringToBytes)(u)}if(5!==f)F=t(O,C,b,y,x,S,d,A);else{var I=(0,a.stringToBytes)(c.get("O")).subarray(32,40),T=(0,a.stringToBytes)(c.get("O")).subarray(40,48),M=(0,a.stringToBytes)(c.get("U")).subarray(0,48),P=(0,a.stringToBytes)(c.get("U")).subarray(32,40),E=(0,a.stringToBytes)(c.get("U")).subarray(40,48),N=(0,a.stringToBytes)(c.get("OE")),D=(0,a.stringToBytes)(c.get("UE"));(0,a.stringToBytes)(c.get("Perms")),F=function(e,t,r,a,n,i,o,s,c,l,u,h){if(t){var f=Math.min(127,t.length);t=t.subarray(0,f)}else t=[];var d;return(d=6===e?new w:new k).checkUserPassword(t,s,o)?d.getUserKey(t,c,u):t.length&&d.checkOwnerPassword(t,a,i,r)?d.getOwnerKey(t,n,i,l):null}(S,C,b,I,T,M,y,P,E,N,D)}if(!F&&!u)throw new a.PasswordException("No password given",a.PasswordResponses.NEED_PASSWORD);if(!F&&u){var B=function(t,r,a,n){for(var i=new Uint8Array(32),c=0,l=Math.min(32,t.length);c<l;++c)i[c]=t[c];for(var u=0;c<32;)i[c++]=e[u++];var h,f=s(i,0,c),d=n>>3;if(a>=3)for(u=0;u<50;++u)f=s(f,0,f.length);if(a>=3){h=r;var g=new Uint8Array(d);for(u=19;u>=0;u--){for(var p=0;p<d;++p)g[p]=f[p]^u;h=new o(g).encryptBlock(h)}}else h=new o(f.subarray(0,d)).encryptBlock(r);return h}(C,b,S,d);F=t(O,B,b,y,x,S,d,A)}if(!F)throw new a.PasswordException("Incorrect Password",a.PasswordResponses.INCORRECT_PASSWORD);if(this.encryptionKey=F,f>=4){var L=c.get("CF");L instanceof n.Dict&&(L.suppressEncryption=!0),this.cf=L,this.stmf=c.get("StmF")||r,this.strf=c.get("StrF")||r,this.eff=c.get("EFF")||this.stmf}}),[{key:"createCipherTransform",value:function(e,t){if(4===this.algorithm||5===this.algorithm)return new x(c(this.cf,this.strf,e,t,this.encryptionKey),c(this.cf,this.stmf,e,t,this.encryptionKey));var r=i(e,t,this.encryptionKey,!1),a=function(){return new o(r)};return new x(a,a)}}])}()}();t.CipherTransformFactory=S},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.DecryptStream=void 0;var a=r(19),n=function(e){function t(e,r,a){var n;return m(this,t),(n=l(this,t,[r])).str=e,n.dict=e.dict,n.decrypt=a,n.nextChunk=null,n.initialized=!1,n}return u(t,e),v(t,[{key:"readBlock",value:function(){var e;if(this.initialized?e=this.nextChunk:(e=this.str.getBytes(512),this.initialized=!0),e&&0!==e.length){this.nextChunk=this.str.getBytes(512);var t=this.nextChunk&&this.nextChunk.length>0;e=(0,this.decrypt)(e,!t);for(var r=this.bufferLength,a=e.length,n=this.ensureBuffer(r+a),i=0;i<a;i++)n[r++]=e[i];this.bufferLength=r}else this.eof=!0}}])}(a.DecodeStream);t.DecryptStream=n},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.Catalog=void 0;var a=r(6),n=r(2),i=r(5),o=r(70),s=r(7),l=r(71),u=r(14),f=r(72),b=r(59),y=r(73),k=r(74);function w(e){return e instanceof i.Dict&&(e=e.get("D")),Array.isArray(e)?e:null}var x=function(){function e(t,r){if(m(this,e),this.pdfManager=t,this.xref=r,this._catDict=r.getCatalogObj(),!(this._catDict instanceof i.Dict))throw new n.FormatError("Catalog object is not a dictionary.");this.toplevelPagesDict,this._actualNumPages=null,this.fontCache=new i.RefSetCache,this.builtInCMapCache=new Map,this.standardFontDataCache=new Map,this.globalImageCache=new b.GlobalImageCache,this.pageKidsCountCache=new i.RefSetCache,this.pageIndexCache=new i.RefSetCache,this.nonBlendModesSet=new i.RefSet}return v(e,[{key:"version",get:function(){var e=this._catDict.get("Version");return(0,n.shadow)(this,"version",e instanceof i.Name?e.name:null)}},{key:"lang",get:function(){var e=this._catDict.get("Lang");return(0,n.shadow)(this,"lang","string"===typeof e?(0,n.stringToPDFString)(e):null)}},{key:"needsRendering",get:function(){var e=this._catDict.get("NeedsRendering");return(0,n.shadow)(this,"needsRendering","boolean"===typeof e&&e)}},{key:"collection",get:function(){var e=null;try{var t=this._catDict.get("Collection");t instanceof i.Dict&&t.size>0&&(e=t)}catch(r){if(r instanceof a.MissingDataException)throw r;(0,n.info)("Cannot fetch Collection entry; assuming no collection is present.")}return(0,n.shadow)(this,"collection",e)}},{key:"acroForm",get:function(){var e=null;try{var t=this._catDict.get("AcroForm");t instanceof i.Dict&&t.size>0&&(e=t)}catch(r){if(r instanceof a.MissingDataException)throw r;(0,n.info)("Cannot fetch AcroForm entry; assuming no forms are present.")}return(0,n.shadow)(this,"acroForm",e)}},{key:"acroFormRef",get:function(){var e=this._catDict.getRaw("AcroForm");return(0,n.shadow)(this,"acroFormRef",e instanceof i.Ref?e:null)}},{key:"metadata",get:function(){var e=this._catDict.getRaw("Metadata");if(!(e instanceof i.Ref))return(0,n.shadow)(this,"metadata",null);var t=null;try{var r=!(this.xref.encrypt&&this.xref.encrypt.encryptMetadata),o=this.xref.fetch(e,r);if(o instanceof s.BaseStream&&o.dict instanceof i.Dict){var c=o.dict.get("Type"),l=o.dict.get("Subtype");if((0,i.isName)(c,"Metadata")&&(0,i.isName)(l,"XML")){var u=(0,n.stringToUTF8String)(o.getString());u&&(t=new y.MetadataParser(u).serializable)}}}catch(h){if(h instanceof a.MissingDataException)throw h;(0,n.info)('Skipping invalid Metadata: "'.concat(h,'".'))}return(0,n.shadow)(this,"metadata",t)}},{key:"markInfo",get:function(){var e=null;try{e=this._readMarkInfo()}catch(t){if(t instanceof a.MissingDataException)throw t;(0,n.warn)("Unable to read mark info.")}return(0,n.shadow)(this,"markInfo",e)}},{key:"_readMarkInfo",value:function(){var e=this._catDict.get("MarkInfo");if(!(e instanceof i.Dict))return null;var t={Marked:!1,UserProperties:!1,Suspects:!1};for(var r in t){var a=e.get(r);"boolean"===typeof a&&(t[r]=a)}return t}},{key:"structTreeRoot",get:function(){var e=null;try{e=this._readStructTreeRoot()}catch(t){if(t instanceof a.MissingDataException)throw t;(0,n.warn)("Unable read to structTreeRoot info.")}return(0,n.shadow)(this,"structTreeRoot",e)}},{key:"_readStructTreeRoot",value:function(){var e=this._catDict.get("StructTreeRoot");if(!(e instanceof i.Dict))return null;var t=new k.StructTreeRoot(e);return t.init(),t}}
2,{key:"toplevelPagesDict",get:function(){var e=this._catDict.get("Pages");if(!(e instanceof i.Dict))throw new n.FormatError("Invalid top-level pages dictionary.");return(0,n.shadow)(this,"toplevelPagesDict",e)}},{key:"documentOutline",get:function(){var e=null;try{e=this._readDocumentOutline()}catch(t){if(t instanceof a.MissingDataException)throw t;(0,n.warn)("Unable to read document outline.")}return(0,n.shadow)(this,"documentOutline",e)}},{key:"_readDocumentOutline",value:function(){var t=this._catDict.get("Outlines");if(!(t instanceof i.Dict))return null;if(!((t=t.getRaw("First"))instanceof i.Ref))return null;var r={items:[]},a=[{obj:t,parent:r}],o=new i.RefSet;o.put(t);for(var s=this.xref,c=new Uint8ClampedArray(3);a.length>0;){var l=a.shift(),h=s.fetchIfRef(l.obj);if(null!==h){if(!h.has("Title"))throw new n.FormatError("Invalid outline item encountered.");var f={url:null,dest:null};e.parseDestDictionary({destDict:h,resultObj:f,docBaseUrl:this.pdfManager.docBaseUrl});var d=h.get("Title"),g=h.get("F")||0,p=h.getArray("C"),m=h.get("Count"),v=c;!Array.isArray(p)||3!==p.length||0===p[0]&&0===p[1]&&0===p[2]||(v=u.ColorSpace.singletons.rgb.getRgb(p,0));var b={dest:f.dest,url:f.url,unsafeUrl:f.unsafeUrl,newWindow:f.newWindow,title:(0,n.stringToPDFString)(d),color:v,count:Number.isInteger(m)?m:void 0,bold:!!(2&g),italic:!!(1&g),items:[]};l.parent.items.push(b),(t=h.getRaw("First"))instanceof i.Ref&&!o.has(t)&&(a.push({obj:t,parent:b}),o.put(t)),(t=h.getRaw("Next"))instanceof i.Ref&&!o.has(t)&&(a.push({obj:t,parent:l.parent}),o.put(t))}}return r.items.length>0?r.items:null}},{key:"permissions",get:function(){var e=null;try{e=this._readPermissions()}catch(t){if(t instanceof a.MissingDataException)throw t;(0,n.warn)("Unable to read permissions.")}return(0,n.shadow)(this,"permissions",e)}},{key:"_readPermissions",value:function(){var e=this.xref.trailer.get("Encrypt");if(!(e instanceof i.Dict))return null;var t=e.get("P");if("number"!==typeof t)return null;t+=Math.pow(2,32);var r=[];for(var a in n.PermissionFlag){var o=n.PermissionFlag[a];t&o&&r.push(o)}return r}},{key:"optionalContentConfig",get:function(){var e=null;try{var t=this._catDict.get("OCProperties");if(!t)return(0,n.shadow)(this,"optionalContentConfig",null);var r=t.get("D");if(!r)return(0,n.shadow)(this,"optionalContentConfig",null);var o=t.get("OCGs");if(!Array.isArray(o))return(0,n.shadow)(this,"optionalContentConfig",null);var s,c=[],l=[],u=d(o);try{for(u.s();!(s=u.n()).done;){var h=s.value;if(h instanceof i.Ref){l.push(h);var f=this.xref.fetchIfRef(h);c.push({id:h.toString(),name:"string"===typeof f.get("Name")?(0,n.stringToPDFString)(f.get("Name")):null,intent:"string"===typeof f.get("Intent")?(0,n.stringToPDFString)(f.get("Intent")):null})}}}catch(g){u.e(g)}finally{u.f()}(e=this._readOptionalContentConfig(r,l)).groups=c}catch(p){if(p instanceof a.MissingDataException)throw p;(0,n.warn)("Unable to read optional content config: ".concat(p))}return(0,n.shadow)(this,"optionalContentConfig",e)}},{key:"_readOptionalContentConfig",value:function(e,t){function r(e){var r=[];if(Array.isArray(e)){var a,n=d(e);try{for(n.s();!(a=n.n()).done;){var o=a.value;o instanceof i.Ref&&t.includes(o)&&r.push(o.toString())}}catch(s){n.e(s)}finally{n.f()}}return r}function a(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(!Array.isArray(e))return null;var a,n=[],s=d(e);try{for(s.s();!(a=s.n()).done;){var l=a.value;if(l instanceof i.Ref&&t.includes(l))c.put(l),n.push(l.toString());else{var u=o(l,r);u&&n.push(u)}}}catch(m){s.e(m)}finally{s.f()}if(r>0)return n;var h,f=[],g=d(t);try{for(g.s();!(h=g.n()).done;){var p=h.value;c.has(p)||f.push(p.toString())}}catch(m){g.e(m)}finally{g.f()}return f.length&&n.push({name:null,order:f}),n}function o(e,t){if(++t>l)return(0,n.warn)("parseNestedOrder - reached MAX_NESTED_LEVELS."),null;var r=s.fetchIfRef(e);if(!Array.isArray(r))return null;var i=s.fetchIfRef(r[0]);if("string"!==typeof i)return null;var o=a(r.slice(1),t);return o&&o.length?{name:(0,n.stringToPDFString)(i),order:o}:null}var s=this.xref,c=new i.RefSet,l=10;return{name:"string"===typeof e.get("Name")?(0,n.stringToPDFString)(e.get("Name")):null,creator:"string"===typeof e.get("Creator")?(0,n.stringToPDFString)(e.get("Creator")):null,baseState:e.get("BaseState")instanceof i.Name?e.get("BaseState").name:null,on:r(e.get("ON")),off:r(e.get("OFF")),order:a(e.get("Order")),groups:null}}},{key:"setActualNumPages",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this._actualNumPages=e}},{key:"hasActualNumPages",get:function(){return null!==this._actualNumPages}},{key:"_pagesCount",get:function(){var e=this.toplevelPagesDict.get("Count");if(!Number.isInteger(e))throw new n.FormatError("Page count in top-level pages dictionary is not an integer.");return(0,n.shadow)(this,"_pagesCount",e)}},{key:"numPages",get:function(){return this.hasActualNumPages?this._actualNumPages:this._pagesCount}},{key:"destinations",get:function(){var e=this._readDests(),t=Object.create(null);if(e instanceof o.NameTree){var r,a=d(e.getAll());try{for(a.s();!(r=a.n()).done;){var s=g(r.value,2),c=s[0],l=w(s[1]);l&&(t[(0,n.stringToPDFString)(c)]=l)}}catch(u){a.e(u)}finally{a.f()}}else e instanceof i.Dict&&e.forEach((function(e,r){var a=w(r);a&&(t[e]=a)}));return(0,n.shadow)(this,"destinations",t)}},{key:"getDestination",value:function(e){var t=this._readDests();if(t instanceof o.NameTree){var r=w(t.get(e));if(r)return r;var a=this.destinations[e];if(a)return(0,n.warn)('Found "'.concat(e,'" at an incorrect position in the NameTree.')),a}else if(t instanceof i.Dict){var s=w(t.get(e));if(s)return s}return null}},{key:"_readDests",value:function(){var e=this._catDict.get("Names");return e&&e.has("Dests")?new o.NameTree(e.getRaw("Dests"),this.xref):this._catDict.has("Dests")?this._catDict.get("Dests"):void 0}},{key:"pageLabels",get:function(){var e=null;try{e=this._readPageLabels()}catch(t){if(t instanceof a.MissingDataException)throw t;(0,n.warn)("Unable to read page labels.")}return(0,n.shadow)(this,"pageLabels",e)}},{key:"_readPageLabels",value:function(){var e=this._catDict.getRaw("PageLabels");if(!e)return null;for(var t=new Array(this.numPages),r=null,s="",c=new o.NumberTree(e,this.xref).getAll(),l="",u=1,h=0,f=this.numPages;h<f;h++){var d=c.get(h);if(void 0!==d){if(!(d instanceof i.Dict))throw new n.FormatError("PageLabel is not a dictionary.");if(d.has("Type")&&!(0,i.isName)(d.get("Type"),"PageLabel"))throw new n.FormatError("Invalid type in PageLabel dictionary.");if(d.has("S")){var g=d.get("S");if(!(g instanceof i.Name))throw new n.FormatError("Invalid style in PageLabel dictionary.");r=g.name}else r=null;if(d.has("P")){var p=d.get("P");if("string"!==typeof p)throw new n.FormatError("Invalid prefix in PageLabel dictionary.");s=(0,n.stringToPDFString)(p)}else s="";if(d.has("St")){var m=d.get("St");
2if(!(Number.isInteger(m)&&m>=1))throw new n.FormatError("Invalid start in PageLabel dictionary.");u=m}else u=1}switch(r){case"D":l=u;break;case"R":case"r":l=(0,a.toRomanNumerals)(u,"r"===r);break;case"A":case"a":var v="a"===r?97:65,b=u-1;l=String.fromCharCode(v+b%26).repeat(Math.floor(b/26)+1);break;default:if(r)throw new n.FormatError('Invalid style "'.concat(r,'" in PageLabel dictionary.'));l=""}t[h]=s+l,u++}return t}},{key:"pageLayout",get:function(){var e=this._catDict.get("PageLayout"),t="";if(e instanceof i.Name)switch(e.name){case"SinglePage":case"OneColumn":case"TwoColumnLeft":case"TwoColumnRight":case"TwoPageLeft":case"TwoPageRight":t=e.name}return(0,n.shadow)(this,"pageLayout",t)}},{key:"pageMode",get:function(){var e=this._catDict.get("PageMode"),t="UseNone";if(e instanceof i.Name)switch(e.name){case"UseNone":case"UseOutlines":case"UseThumbs":case"FullScreen":case"UseOC":case"UseAttachments":t=e.name}return(0,n.shadow)(this,"pageMode",t)}},{key:"viewerPreferences",get:function(){var e=this,t=this._catDict.get("ViewerPreferences");if(!(t instanceof i.Dict))return(0,n.shadow)(this,"viewerPreferences",null);var r,a=null,o=d(t.getKeys());try{for(o.s();!(r=o.n()).done;){var s=r.value,c=t.get(s),l=void 0;switch(s){case"HideToolbar":case"HideMenubar":case"HideWindowUI":case"FitWindow":case"CenterWindow":case"DisplayDocTitle":case"PickTrayByPDFSize":"boolean"===typeof c&&(l=c);break;case"NonFullScreenPageMode":if(c instanceof i.Name)switch(c.name){case"UseNone":case"UseOutlines":case"UseThumbs":case"UseOC":l=c.name;break;default:l="UseNone"}break;case"Direction":if(c instanceof i.Name)switch(c.name){case"L2R":case"R2L":l=c.name;break;default:l="L2R"}break;case"ViewArea":case"ViewClip":case"PrintArea":case"PrintClip":if(c instanceof i.Name)switch(c.name){case"MediaBox":case"CropBox":case"BleedBox":case"TrimBox":case"ArtBox":l=c.name;break;default:l="CropBox"}break;case"PrintScaling":if(c instanceof i.Name)switch(c.name){case"None":case"AppDefault":l=c.name;break;default:l="AppDefault"}break;case"Duplex":if(c instanceof i.Name)switch(c.name){case"Simplex":case"DuplexFlipShortEdge":case"DuplexFlipLongEdge":l=c.name;break;default:l="None"}break;case"PrintPageRange":Array.isArray(c)&&c.length%2===0&&c.every((function(t,r,a){return Number.isInteger(t)&&t>0&&(0===r||t>=a[r-1])&&t<=e.numPages}))&&(l=c);break;case"NumCopies":Number.isInteger(c)&&c>0&&(l=c);break;default:(0,n.warn)("Ignoring non-standard key in ViewerPreferences: ".concat(s,"."));continue}void 0!==l?(a||(a=Object.create(null)),a[s]=l):(0,n.warn)('Bad value, for key "'.concat(s,'", in ViewerPreferences: ').concat(c,"."))}}catch(u){o.e(u)}finally{o.f()}return(0,n.shadow)(this,"viewerPreferences",a)}},{key:"openAction",get:function(){var t=this._catDict.get("OpenAction"),r=Object.create(null);if(t instanceof i.Dict){var a=new i.Dict(this.xref);a.set("A",t);var o={url:null,dest:null,action:null};e.parseDestDictionary({destDict:a,resultObj:o}),Array.isArray(o.dest)?r.dest=o.dest:o.action&&(r.action=o.action)}else Array.isArray(t)&&(r.dest=t);return(0,n.shadow)(this,"openAction",(0,n.objectSize)(r)>0?r:null)}},{key:"attachments",get:function(){var e=this._catDict.get("Names"),t=null;if(e instanceof i.Dict&&e.has("EmbeddedFiles")){var r,a=new o.NameTree(e.getRaw("EmbeddedFiles"),this.xref),s=d(a.getAll());try{for(s.s();!(r=s.n()).done;){var c=g(r.value,2),l=c[0],u=c[1],h=new f.FileSpec(u,this.xref);t||(t=Object.create(null)),t[(0,n.stringToPDFString)(l)]=h.serializable}}catch(p){s.e(p)}finally{s.f()}}return(0,n.shadow)(this,"attachments",t)}},{key:"xfaImages",get:function(){var e=this._catDict.get("Names"),t=null;if(e instanceof i.Dict&&e.has("XFAImages")){var r,a=new o.NameTree(e.getRaw("XFAImages"),this.xref),s=d(a.getAll());try{for(s.s();!(r=s.n()).done;){var c=g(r.value,2),l=c[0],u=c[1];t||(t=new i.Dict(this.xref)),t.set((0,n.stringToPDFString)(l),u)}}catch(h){s.e(h)}finally{s.f()}}return(0,n.shadow)(this,"xfaImages",t)}},{key:"_collectJavaScript",value:function(){var e=this._catDict.get("Names"),t=null;function r(e,r){if(r instanceof i.Dict&&(0,i.isName)(r.get("S"),"JavaScript")){var a=r.get("JS");if(a instanceof s.BaseStream)a=a.getString();else if("string"!==typeof a)return;null===t&&(t=new Map),a=(0,n.stringToPDFString)(a).replace(/\u0000/g,""),t.set(e,a)}}if(e instanceof i.Dict&&e.has("JavaScript")){var a,c=new o.NameTree(e.getRaw("JavaScript"),this.xref),l=d(c.getAll());try{for(l.s();!(a=l.n()).done;){var u=g(a.value,2),h=u[0],f=u[1];r((0,n.stringToPDFString)(h),f)}}catch(m){l.e(m)}finally{l.f()}}var p=this._catDict.get("OpenAction");return p&&r("OpenAction",p),t}},{key:"javaScript",get:function(){var e=this._collectJavaScript();return(0,n.shadow)(this,"javaScript",e?c(e.values()):null)}},{key:"jsActions",get:function(){var e=this._collectJavaScript(),t=(0,a.collectActions)(this.xref,this._catDict,n.DocumentActionEventType);if(e){t||(t=Object.create(null));var r,i=d(e);try{for(i.s();!(r=i.n()).done;){var o=g(r.value,2),s=o[0],c=o[1];s in t?t[s].push(c):t[s]=[c]}}catch(l){i.e(l)}finally{i.f()}}return(0,n.shadow)(this,"jsActions",t)}},{key:"fontFallback",value:function(){var e=p(h().mark((function e(t,r){var a,n,i,o;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.all(this.fontCache);case 2:a=e.sent,n=d(a),e.prev=4,n.s();case 6:if((i=n.n()).done){e.next=13;break}if((o=i.value).loadedName!==t){e.next=11;break}return o.fallback(r),e.abrupt("return");case 11:e.next=6;break;case 13:e.next=18;break;case 15:e.prev=15,e.t0=e.catch(4),n.e(e.t0);case 18:return e.prev=18,n.f(),e.finish(18);case 21:case"end":return e.stop()}}),e,this,[[4,15,18,21]])})));return function(t,r){return e.apply(this,arguments)}}()},{key:"cleanup",value:function(){var e=p(h().mark((function e(){var t,r,a,n,i=arguments;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=i.length>0&&void 0!==i[0]&&i[0],(0,l.clearGlobalCaches)(),this.globalImageCache.clear(t),this.pageKidsCountCache.clear(),this.pageIndexCache.clear(),this.nonBlendModesSet.clear(),e.next=8,Promise.all(this.fontCache);case 8:r=e.sent,a=d(r);try{for(a.s();!(n=a.n()).done;)delete n.value.dict.cacheKey}catch(o){a.e(o)}finally{a.f()}this.fontCache.clear(),this.builtInCMapCache.clear(),this.standardFontDataCache.clear();case 14:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"getPageDict",value:function(){var e=p(h().mark((function e(t){var r,a,o,s,c,l,u,f,d,g,p,m,v,b,y,k;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r=[this.toplevelPagesDict],a=new i.RefSet,(o=this._catDict.getRaw("Pages"))instanceof i.Ref&&a.put(o),s=this.xref,c=this.pageKidsCountCache,l=this.pageIndexCache,u=0;case 6:if(!r.length){e.next=67;break}if(!((f=r.pop())instanceof i.Ref)){e.next=34;break}if(!((d=c.get(f))>=0&&u+d<=t)){e.next=13;break}return u+=d,e.abrupt("continue",6);case 13:if(!a.has(f)){e.next=15;break}throw new n.FormatError("Pages tree contains circular reference.");case 15:return a.put(f),e.next=18,s.fetchAsync(f);case 18:if(!((g=e.sent)instanceof i.Dict)){e.next=32;break}if(!((p=g.getRaw("Type"))instanceof i.Ref)){e.next=25;break}
2return e.next=24,s.fetchAsync(p);case 24:p=e.sent;case 25:if(!(0,i.isName)(p,"Page")&&g.has("Kids")){e.next=32;break}if(c.has(f)||c.put(f,1),l.has(f)||l.put(f,u),u!==t){e.next=30;break}return e.abrupt("return",[g,f]);case 30:return u++,e.abrupt("continue",6);case 32:return r.push(g),e.abrupt("continue",6);case 34:if(f instanceof i.Dict){e.next=36;break}throw new n.FormatError("Page dictionary kid reference points to wrong type of object.");case 36:if(m=f.objId,!((v=f.getRaw("Count"))instanceof i.Ref)){e.next=42;break}return e.next=41,s.fetchAsync(v);case 41:v=e.sent;case 42:if(!(Number.isInteger(v)&&v>=0)){e.next=47;break}if(m&&!c.has(m)&&c.put(m,v),!(u+v<=t)){e.next=47;break}return u+=v,e.abrupt("continue",6);case 47:if(!((b=f.getRaw("Kids"))instanceof i.Ref)){e.next=52;break}return e.next=51,s.fetchAsync(b);case 51:b=e.sent;case 52:if(Array.isArray(b)){e.next=64;break}if(!((y=f.getRaw("Type"))instanceof i.Ref)){e.next=58;break}return e.next=57,s.fetchAsync(y);case 57:y=e.sent;case 58:if(!(0,i.isName)(y,"Page")&&f.has("Kids")){e.next=63;break}if(u!==t){e.next=61;break}return e.abrupt("return",[f,null]);case 61:return u++,e.abrupt("continue",6);case 63:throw new n.FormatError("Page dictionary kids object is not an array.");case 64:for(k=b.length-1;k>=0;k--)r.push(b[k]);e.next=6;break;case 67:throw new Error("Page index ".concat(t," not found."));case 68:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"getAllPageDicts",value:function(){var e=p(h().mark((function e(){var t,r,o,s,c,l,u,f,d,g,p,m,v,b,y,k,w,x=arguments;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:g=function(e){if(e instanceof a.XRefEntryException&&!t)throw e;c.set(f++,[e,null])},d=function(e,t){t&&!u.has(t)&&u.put(t,f),c.set(f++,[e,t])},t=x.length>0&&void 0!==x[0]&&x[0],r=[{currentNode:this.toplevelPagesDict,posInKids:0}],o=new i.RefSet,(s=this._catDict.getRaw("Pages"))instanceof i.Ref&&o.put(s),c=new Map,l=this.xref,u=this.pageIndexCache,f=0;case 9:if(!(r.length>0)){e.next=69;break}if(p=r.at(-1),m=p.currentNode,v=p.posInKids,!((b=m.getRaw("Kids"))instanceof i.Ref)){e.next=24;break}return e.prev=14,e.next=17,l.fetchAsync(b);case 17:b=e.sent,e.next=24;break;case 20:return e.prev=20,e.t0=e.catch(14),g(e.t0),e.abrupt("break",69);case 24:if(Array.isArray(b)){e.next=27;break}return g(new n.FormatError("Page dictionary kids object is not an array.")),e.abrupt("break",69);case 27:if(!(v>=b.length)){e.next=30;break}return r.pop(),e.abrupt("continue",9);case 30:if(y=b[v],k=void 0,!(y instanceof i.Ref)){e.next=49;break}if(!o.has(y)){e.next=36;break}return g(new n.FormatError("Pages tree contains circular reference.")),e.abrupt("break",69);case 36:return o.put(y),e.prev=37,e.next=40,l.fetchAsync(y);case 40:k=e.sent,e.next=47;break;case 43:return e.prev=43,e.t1=e.catch(37),g(e.t1),e.abrupt("break",69);case 47:e.next=50;break;case 49:k=y;case 50:if(k instanceof i.Dict){e.next=53;break}return g(new n.FormatError("Page dictionary kid reference points to wrong type of object.")),e.abrupt("break",69);case 53:if(!((w=k.getRaw("Type"))instanceof i.Ref)){e.next=65;break}return e.prev=55,e.next=58,l.fetchAsync(w);case 58:w=e.sent,e.next=65;break;case 61:return e.prev=61,e.t2=e.catch(55),g(e.t2),e.abrupt("break",69);case 65:(0,i.isName)(w,"Page")||!k.has("Kids")?d(k,y instanceof i.Ref?y:null):r.push({currentNode:k,posInKids:0}),p.posInKids++,e.next=9;break;case 69:return e.abrupt("return",c);case 70:case"end":return e.stop()}}),e,this,[[14,20],[37,43],[55,61]])})));return function(){return e.apply(this,arguments)}}()},{key:"getPageIndex",value:function(e){var t=this,r=this.pageIndexCache.get(e);if(void 0!==r)return Promise.resolve(r);var a=this.xref,o=0;return function r(s){return function(t){var r,o=0;return a.fetchAsync(t).then((function(a){if((0,i.isRefsEqual)(t,e)&&!(0,i.isDict)(a,"Page")&&!(a instanceof i.Dict&&!a.has("Type")&&a.has("Contents")))throw new n.FormatError("The reference does not point to a /Page dictionary.");if(!a)return null;if(!(a instanceof i.Dict))throw new n.FormatError("Node must be a dictionary.");return r=a.getRaw("Parent"),a.getAsync("Parent")})).then((function(e){if(!e)return null;if(!(e instanceof i.Dict))throw new n.FormatError("Parent must be a dictionary.");return e.getAsync("Kids")})).then((function(e){if(!e)return null;for(var s=[],c=!1,l=0,u=e.length;l<u;l++){var h=e[l];
2if(!(h instanceof i.Ref))throw new n.FormatError("Kid must be a reference.");if((0,i.isRefsEqual)(h,t)){c=!0;break}s.push(a.fetchAsync(h).then((function(e){if(!(e instanceof i.Dict))throw new n.FormatError("Kid node must be a dictionary.");e.has("Count")?o+=e.get("Count"):o++})))}if(!c)throw new n.FormatError("Kid reference not found in parent's kids.");return Promise.all(s).then((function(){return[o,r]}))}))}(s).then((function(a){if(!a)return t.pageIndexCache.put(e,o),o;var n=g(a,2),i=n[0],s=n[1];return o+=i,r(s)}))}(e)}},{key:"baseUrl",get:function(){var e=this._catDict.get("URI");if(e instanceof i.Dict){var t=e.get("Base");if("string"===typeof t){var r=(0,n.createValidAbsoluteUrl)(t,null,{tryConvertEncoding:!0});if(r)return(0,n.shadow)(this,"baseUrl",r.href)}}return(0,n.shadow)(this,"baseUrl",null)}}],[{key:"parseDestDictionary",value:function(e){var t=e.destDict;if(t instanceof i.Dict){var r=e.resultObj;if("object"===typeof r){var o,c,l=e.docBaseUrl||null,u=t.get("A");if(u instanceof i.Dict||(t.has("Dest")?u=t.get("Dest"):(u=t.get("AA"))instanceof i.Dict&&(u.has("D")?u=u.get("D"):u.has("U")&&(u=u.get("U")))),u instanceof i.Dict){var h=u.get("S");if(!(h instanceof i.Name))return void(0,n.warn)("parseDestDictionary: Invalid type in Action dictionary.");var f=h.name;switch(f){case"ResetForm":var g,p=u.get("Flags"),m=0===(1&("number"===typeof p?p:0)),v=[],b=[],y=d(u.get("Fields")||[]);try{for(y.s();!(g=y.n()).done;){var k=g.value;k instanceof i.Ref?b.push(k.toString()):"string"===typeof k&&v.push((0,n.stringToPDFString)(k))}}catch(M){y.e(M)}finally{y.f()}r.resetForm={fields:v,refs:b,include:m};break;case"URI":(o=u.get("URI"))instanceof i.Name&&(o="/"+o.name);break;case"GoTo":c=u.get("D");break;case"Launch":case"GoToR":var w=u.get("F");w instanceof i.Dict?o=w.get("F")||null:"string"===typeof w&&(o=w);var x=u.get("D");if(x&&(x instanceof i.Name&&(x=x.name),"string"===typeof o)){var S=o.split("#")[0];"string"===typeof x?o=S+"#"+x:Array.isArray(x)&&(o=S+"#"+JSON.stringify(x))}var A=u.get("NewWindow");"boolean"===typeof A&&(r.newWindow=A);break;case"Named":var C=u.get("N");C instanceof i.Name&&(r.action=C.name);break;case"JavaScript":var F,O=u.get("JS");O instanceof s.BaseStream?F=O.getString():"string"===typeof O&&(F=O);var I=F&&(0,a.recoverJsURL)((0,n.stringToPDFString)(F));if(I){o=I.url,r.newWindow=I.newWindow;break}default:if("JavaScript"===f||"SubmitForm"===f)break;(0,n.warn)('parseDestDictionary - unsupported action: "'.concat(f,'".'))}}else t.has("Dest")&&(c=t.get("Dest"));if("string"===typeof o){var T=(0,n.createValidAbsoluteUrl)(o,l,{addDefaultProtocol:!0,tryConvertEncoding:!0});T&&(r.url=T.href),r.unsafeUrl=o}c&&(c instanceof i.Name&&(c=c.name),"string"===typeof c?r.dest=(0,n.stringToPDFString)(c):Array.isArray(c)&&(r.dest=c))}else(0,n.warn)("parseDestDictionary: `resultObj` must be an object.")}else(0,n.warn)("parseDestDictionary: `destDict` must be a dictionary.")}}])}();t.Catalog=x},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.NumberTree=t.NameTree=void 0;var a=r(5),n=r(2),i=function(){return v((function e(t,r,a){m(this,e),this.constructor===e&&(0,n.unreachable)("Cannot initialize NameOrNumberTree."),this.root=t,this.xref=r,this._type=a}),[{key:"getAll",value:function(){var e=new Map;if(!this.root)return e;var t=this.xref,r=new a.RefSet;r.put(this.root);for(var i=[this.root];i.length>0;){var o=t.fetchIfRef(i.shift());if(o instanceof a.Dict)if(o.has("Kids")){var s=o.get("Kids");if(!Array.isArray(s))continue;var c,l=d(s);try{for(l.s();!(c=l.n()).done;){var u=c.value;if(r.has(u))throw new n.FormatError('Duplicate entry in "'.concat(this._type,'" tree.'));i.push(u),r.put(u)}}catch(p){l.e(p)}finally{l.f()}}else{var h=o.get(this._type);if(Array.isArray(h))for(var f=0,g=h.length;f<g;f+=2)e.set(t.fetchIfRef(h[f]),t.fetchIfRef(h[f+1]))}}return e}},{key:"get",value:function(e){if(!this.root)return null;for(var t=this.xref,r=t.fetchIfRef(this.root),a=0;r.has("Kids");){if(++a>10)return(0,n.warn)('Search depth limit reached for "'.concat(this._type,'" tree.')),null;var i=r.get("Kids");if(!Array.isArray(i))return null;for(var o=0,s=i.length-1;o<=s;){var c=o+s>>1,l=t.fetchIfRef(i[c]),u=l.get("Limits");if(e<t.fetchIfRef(u[0]))s=c-1;else{if(!(e>t.fetchIfRef(u[1]))){r=l;break}o=c+1}}if(o>s)return null}var h=r.get(this._type);if(Array.isArray(h))for(var f=0,d=h.length-2;f<=d;){var g=f+d>>1,p=g+(1&g),m=t.fetchIfRef(h[p]);if(e<m)d=p-2;else{if(!(e>m))return t.fetchIfRef(h[p+1]);f=p+2}}return null}}])}(),o=function(e){function t(e,r){return m(this,t),l(this,t,[e,r,"Names"])}return u(t,e),v(t)}(i);t.NameTree=o;var s=function(e){function t(e,r){return m(this,t),l(this,t,[e,r,"Nums"])}return u(t,e),v(t)}(i);t.NumberTree=s}
2,function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.clearGlobalCaches=function(){(0,a.clearPrimitiveCaches)(),(0,n.clearUnicodeCaches)()};var a=r(5),n=r(40)},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.FileSpec=void 0;var a=r(2),n=r(7),i=r(5);function o(e){return e.has("UF")?e.get("UF"):e.has("F")?e.get("F"):e.has("Unix")?e.get("Unix"):e.has("Mac")?e.get("Mac"):e.has("DOS")?e.get("DOS"):null}var s=function(){return v((function e(t,r){m(this,e),t instanceof i.Dict&&(this.xref=r,this.root=t,t.has("FS")&&(this.fs=t.get("FS")),this.description=t.has("Desc")?(0,a.stringToPDFString)(t.get("Desc")):"",t.has("RF")&&(0,a.warn)("Related file specifications are not supported"),this.contentAvailable=!0,t.has("EF")||(this.contentAvailable=!1,(0,a.warn)("Non-embedded file specifications are not supported")))}),[{key:"filename",get:function(){if(!this._filename&&this.root){var e=o(this.root)||"unnamed";this._filename=(0,a.stringToPDFString)(e).replace(/\\\\/g,"\\").replace(/\\\//g,"/").replace(/\\/g,"/")}return this._filename}},{key:"content",get:function(){if(!this.contentAvailable)return null;!this.contentRef&&this.root&&(this.contentRef=o(this.root.get("EF")));var e=null;if(this.contentRef){var t=this.xref.fetchIfRef(this.contentRef);t instanceof n.BaseStream?e=t.getBytes():(0,a.warn)("Embedded file specification points to non-existing/invalid content")}else(0,a.warn)("Embedded file specification does not have a content");return e}},{key:"serializable",get:function(){return{filename:this.filename,content:this.content}}}])}();t.FileSpec=s},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.MetadataParser=void 0;var a=r(66),n=function(){return v((function e(t){m(this,e),t=this._repair(t);var r=new a.SimpleXMLParser({lowerCaseName:!0}).parseFromString(t);this._metadataMap=new Map,this._data=t,r&&this._parse(r)}),[{key:"_repair",value:function(e){return e.replace(/^[^<]+/,"").replace(/>\\376\\377([^<]+)/g,(function(e,t){for(var r=t.replace(/\\([0-3])([0-7])([0-7])/g,(function(e,t,r,a){return String.fromCharCode(64*t+8*r+1*a)})).replace(/&(amp|apos|gt|lt|quot);/g,(function(e,t){switch(t){case"amp":return"&";case"apos":return"'";case"gt":return">";case"lt":return"<";case"quot":return'"'}throw new Error("_repair: ".concat(t," isn't defined."))})),a=[],n=0,i=r.length;n<i;n+=2){var o=256*r.charCodeAt(n)+r.charCodeAt(n+1);o>=32&&o<127&&60!==o&&62!==o&&38!==o?a.push(String.fromCharCode(o)):a.push("&#x"+(65536+o).toString(16).substring(1)+";")}return">"+a.join("")}))}},{key:"_getSequence",value:function(e){var t=e.nodeName;return"rdf:bag"!==t&&"rdf:seq"!==t&&"rdf:alt"!==t?null:e.childNodes.filter((function(e){return"rdf:li"===e.nodeName}))}},{key:"_parseArray",value:function(e){if(e.hasChildNodes()){var t=g(e.childNodes,1)[0],r=this._getSequence(t)||[];this._metadataMap.set(e.nodeName,r.map((function(e){return e.textContent.trim()})))}}},{key:"_parse",value:function(e){var t=e.documentElement;if("rdf:rdf"!==t.nodeName)for(t=t.firstChild;t&&"rdf:rdf"!==t.nodeName;)t=t.nextSibling;if(t&&"rdf:rdf"===t.nodeName&&t.hasChildNodes()){var r,a=d(t.childNodes);try{for(a.s();!(r=a.n()).done;){var n=r.value;if("rdf:description"===n.nodeName){var i,o=d(n.childNodes);try{for(o.s();!(i=o.n()).done;){var s=i.value,c=s.nodeName;switch(c){case"#text":continue;case"dc:creator":case"dc:subject":this._parseArray(s);continue}this._metadataMap.set(c,s.textContent.trim())}}catch(l){o.e(l)}finally{o.f()}}}}catch(l){a.e(l)}finally{a.f()}}}},{key:"serializable",get:function(){return{parsedData:this._metadataMap,rawData:this._data}}}])}();t.MetadataParser=n},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.StructTreeRoot=t.StructTreePage=void 0;var a=r(5),n=r(2),i=r(70),o="PAGE_CONTENT",s="STREAM_CONTENT",c="OBJECT",l="ELEMENT",u=function(){return v((function e(t){m(this,e),this.dict=t,this.roleMap=new Map}),[{key:"init",value:function(){this.readRoleMap()}},{key:"readRoleMap",value:function(){var e=this,t=this.dict.get("RoleMap");t instanceof a.Dict&&t.forEach((function(t,r){r instanceof a.Name&&e.roleMap.set(t,r.name)}
2))}}])}();t.StructTreeRoot=u;var h=function(){return v((function e(t,r){m(this,e),this.tree=t,this.dict=r,this.kids=[],this.parseKids()}),[{key:"role",get:function(){var e=this.dict.get("S"),t=e instanceof a.Name?e.name:"",r=this.tree.root;return r.roleMap.has(t)?r.roleMap.get(t):t}},{key:"parseKids",value:function(){var e=null,t=this.dict.getRaw("Pg");t instanceof a.Ref&&(e=t.toString());var r=this.dict.get("K");if(Array.isArray(r)){var n,i=d(r);try{for(i.s();!(n=i.n()).done;){var o=n.value,s=this.parseKid(e,o);s&&this.kids.push(s)}}catch(l){i.e(l)}finally{i.f()}}else{var c=this.parseKid(e,r);c&&this.kids.push(c)}}},{key:"parseKid",value:function(e,t){if(Number.isInteger(t))return this.tree.pageDict.objId!==e?null:new f({type:o,mcid:t,pageObjId:e});var r=null;if(t instanceof a.Ref?r=this.dict.xref.fetch(t):t instanceof a.Dict&&(r=t),!r)return null;var n=r.getRaw("Pg");n instanceof a.Ref&&(e=n.toString());var i=r.get("Type")instanceof a.Name?r.get("Type").name:null;return"MCR"===i?this.tree.pageDict.objId!==e?null:new f({type:s,refObjId:r.getRaw("Stm")instanceof a.Ref?r.getRaw("Stm").toString():null,pageObjId:e,mcid:r.get("MCID")}):"OBJR"===i?this.tree.pageDict.objId!==e?null:new f({type:c,refObjId:r.getRaw("Obj")instanceof a.Ref?r.getRaw("Obj").toString():null,pageObjId:e}):new f({type:l,dict:r})}}])}(),f=v((function e(t){var r=t.type,a=t.dict,n=void 0===a?null:a,i=t.mcid,o=void 0===i?null:i,s=t.pageObjId,c=void 0===s?null:s,l=t.refObjId,u=void 0===l?null:l;m(this,e),this.type=r,this.dict=n,this.mcid=o,this.pageObjId=c,this.refObjId=u,this.parentNode=null})),g=function(){return v((function e(t,r){m(this,e),this.root=t,this.rootDict=t?t.dict:null,this.pageDict=r,this.nodes=[]}),[{key:"parse",value:function(){if(this.root&&this.rootDict){var e=this.rootDict.get("ParentTree");if(e){var t=this.pageDict.get("StructParents");if(Number.isInteger(t)){var r=new i.NumberTree(e,this.rootDict.xref).get(t);if(Array.isArray(r)){var n,o=new Map,s=d(r);try{for(s.s();!(n=s.n()).done;){var c=n.value;c instanceof a.Ref&&this.addNode(this.rootDict.xref.fetch(c),o)}}catch(l){s.e(l)}finally{s.f()}}}}}}},{key:"addNode",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(r>40)return(0,n.warn)("StructTree MAX_DEPTH reached."),null;if(t.has(e))return t.get(e);var i=new h(this,e);t.set(e,i);var o=e.get("P");if(!o||(0,a.isName)(o.get("Type"),"StructTreeRoot"))return this.addTopLevelNode(e,i)||t.delete(e),i;var s=this.addNode(o,t,r+1);if(!s)return i;var c,u=!1,f=d(s.kids);try{for(f.s();!(c=f.n()).done;){var g=c.value;g.type===l&&g.dict===e&&(g.parentNode=i,u=!0)}}catch(p){f.e(p)}finally{f.f()}return u||t.delete(e),i}},{key:"addTopLevelNode",value:function(e,t){var r=this.rootDict.get("K");if(!r)return!1;if(r instanceof a.Dict)return r.objId===e.objId&&(this.nodes[0]=t,!0);if(!Array.isArray(r))return!0;for(var n=!1,i=0;i<r.length;i++){var o=r[i];o&&o.toString()===e.objId&&(this.nodes[i]=t,n=!0)}return n}},{key:"serializable",get:function(){function e(t,r){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(a>40)(0,n.warn)("StructTree too deep to be fully serialized.");else{var i=Object.create(null);i.role=t.role,i.children=[],r.children.push(i);var u=t.dict.get("Alt");"string"===typeof u&&(i.alt=(0,n.stringToPDFString)(u));var h=t.dict.get("Lang");"string"===typeof h&&(i.lang=(0,n.stringToPDFString)(h));var f,g=d(t.kids);try{for(g.s();!(f=g.n()).done;){var p=f.value,m=p.type===l?p.parentNode:null;m?e(m,i,a+1):p.type===o||p.type===s?i.children.push({type:"content",id:"page".concat(p.pageObjId,"_mcid").concat(p.mcid)}):p.type===c&&i.children.push({type:"object",id:p.refObjId})}}catch(v){g.e(v)}finally{g.f()}}}var t=Object.create(null);t.children=[],t.role="Root";var r,a=d(this.nodes);try{for(a.s();!(r=a.n()).done;){var i=r.value;i&&e(i,t)}}catch(u){a.e(u)}finally{a.f()}return t}}])}();t.StructTreePage=g},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.ObjectLoader=void 0;var a=r(5),n=r(7),i=r(6),o=r(2);function s(e,t){if(e instanceof a.Dict)e=e.getRawValues();else if(e instanceof n.BaseStream)e=e.dict.getRawValues();else if(!Array.isArray(e))return;var r,i,o=d(e);try{for(o.s();!(r=o.n()).done;){var s=r.value;((i=s)instanceof a.Ref||i instanceof a.Dict||i instanceof n.BaseStream||Array.isArray(i))&&t.pu
2sh(s)}}catch(c){o.e(c)}finally{o.f()}}var c=function(){return v((function e(t,r,a){m(this,e),this.dict=t,this.keys=r,this.xref=a,this.refSet=null}),[{key:"load",value:function(){var e=p(h().mark((function e(){var t,r,n,i,o,s;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.xref.stream.isDataLoaded){e.next=2;break}return e.abrupt("return",void 0);case 2:for(t=this.keys,r=this.dict,this.refSet=new a.RefSet,n=[],i=0,o=t.length;i<o;i++)void 0!==(s=r.getRaw(t[i]))&&n.push(s);return e.abrupt("return",this._walk(n));case 7:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"_walk",value:function(){var e=p(h().mark((function e(t){var r,c,l,u,f,g,p,m,v,b,y,k;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r=[],c=[];case 2:if(!t.length){e.next=48;break}if(!((l=t.pop())instanceof a.Ref)){e.next=21;break}if(!this.refSet.has(l)){e.next=7;break}return e.abrupt("continue",2);case 7:e.prev=7,this.refSet.put(l),l=this.xref.fetch(l),e.next=21;break;case 12:if(e.prev=12,e.t0=e.catch(7),e.t0 instanceof i.MissingDataException){e.next=19;break}return(0,o.warn)('ObjectLoader._walk - requesting all data: "'.concat(e.t0,'".')),this.refSet=null,u=this.xref.stream.manager,e.abrupt("return",u.requestAllChunks());case 19:r.push(l),c.push({begin:e.t0.begin,end:e.t0.end});case 21:if(!(l instanceof n.BaseStream)){e.next=45;break}if(!(f=l.getBaseStreams())){e.next=45;break}g=!1,p=d(f),e.prev=26,p.s();case 28:if((m=p.n()).done){e.next=36;break}if(!(v=m.value).isDataLoaded){e.next=32;break}return e.abrupt("continue",34);case 32:g=!0,c.push({begin:v.start,end:v.end});case 34:e.next=28;break;case 36:e.next=41;break;case 38:e.prev=38,e.t1=e.catch(26),p.e(e.t1);case 41:return e.prev=41,p.f(),e.finish(41);case 44:g&&r.push(l);case 45:s(l,t),e.next=2;break;case 48:if(!c.length){e.next=54;break}return e.next=51,this.xref.stream.manager.requestRanges(c);case 51:b=d(r);try{for(b.s();!(y=b.n()).done;)(k=y.value)instanceof a.Ref&&this.refSet.remove(k)}catch(h){b.e(h)}finally{b.f()}return e.abrupt("return",this._walk(r));case 54:return this.refSet=null,e.abrupt("return",void 0);case 56:case"end":return e.stop()}}),e,this,[[7,12],[26,38,41,44]])})));return function(t){return e.apply(this,arguments)}}()}])}();t.ObjectLoader=c},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.XFAFactory=void 0;var a=r(77),n=r(81),i=r(87),o=r(85),s=r(78),c=r(2),l=r(88),u=r(98),f=function(){return v((function e(t){m(this,e);try{this.root=(new l.XFAParser).parse(e._createDocument(t));var r=new n.Binder(this.root);this.form=r.bind(),this.dataHandler=new i.DataHandler(this.root,r.getData()),this.form[a.$globalData].template=this.form}catch(o){(0,c.warn)("XFA - an error occurred during parsing and binding: ".concat(o))}}),[{key:"isValid",value:function(){return this.root&&this.form}},{key:"_createPagesHelper",value:function(){var e=this.form[a.$toPages]();return new Promise((function(t,r){setTimeout((function a(){try{var n=e.next();n.done?t(n.value):setTimeout(a,0)}catch(i){r(i)}}),0)}))}},{key:"_createPages",value:function(){var e=p(h().mark((function e(){return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,this._createPagesHelper();case 3:this.pages=e.sent,this.dims=this.pages.children.map((function(e){var t=e.attributes.style,r=t.width,a=t.height;return[0,0,parseInt(r),parseInt(a)]})),e.next=10;break;case 7:e.prev=7,e.t0=e.catch(0),(0,c.warn)("XFA - an error occurred during layout: ".concat(e.t0));case 10:case"end":return e.stop()}}),e,this,[[0,7]])})));return function(){return e.apply(this,arguments)}}()},{key:"getBoundingBox",value:function(e){return this.dims[e]}},{key:"getNumPages",value:function(){var e=p(h().mark((function e(){return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.pages){e.next=3;break}return e.next=3,this._createPages();case 3:return e.abrupt("return",this.dims.length);case 4:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"setImages",value:function(e){this.form[a.$globalData].images=e}},{key:"setFonts",value:function(e){this.form[a.$globalData].fontFinder=new o.FontFinder(e);var t,r=[],n=d(this.form[a.$globalData].usedTypefaces);try{for(n.s();!(t=n.n()).done;){var i=t.value;i=(0,s.stripQuotes)(i),this.form[a.$globalData].fontFinder.find(i)||r.push(i)}}catch(c){n.e(c)}finally{n.f()}return r.length>0?r:null}},{key:"appendFonts",value:function(e,t){this.form[a.$globalData].fontFinder.add(e,t)}},{key:"getPages",value:function(){var e=p(h().mark((function e(){var t;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.pages){e.next=3;break}return e.next=3,this._createPages();case 3:return t=this.pages,this.pages=null,e.abrupt("return",t);case 6:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"serializeData",value:function(e){return this.dataHandler.serialize(e)}}],[{key:"_createDocument",value:function(e){return e["/xdp:xdp"]?Object.values(e).join(""):e["xdp:xdp"]}},{key:"getRichTextAsHtml",value:function(e){if(!e||"string"!==typeof e)return null;try{var t=new l.XFAParser(u.XhtmlNamespace,!0).parse(e);if(!["body","xhtml"].includes(t[a.$nodeName])){var r=u.XhtmlNamespace.body({});r[a.$appendChild](t),t=r}var n=t[a.$toHTML]();if(!n.success)return null;var i=n.html,o=i.attributes;return o&&(o.class&&(o.class=o.class.filter((function(e){return!e.startsWith("xfa")}))),o.dir="auto"),{html:i,str:t[a.$text]()}}catch(s){(0,c.warn)("XFA - an error occurred during parsing of rich text: ".concat(s))}return null}}])}();t.XFAFactory=f}
vendor: 16,810 bytes, line 2
2,function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.XmlObject=t.XFAObjectArray=t.XFAObject=t.XFAAttribute=t.StringObject=t.OptionObject=t.Option10=t.Option01=t.IntegerObject=t.ContentObject=t.$uid=t.$toStyle=t.$toString=t.$toPages=t.$toHTML=t.$text=t.$tabIndex=t.$setValue=t.$setSetAttributes=t.$setId=t.$searchNode=t.$root=t.$resolvePrototypes=t.$removeChild=t.$pushPara=t.$pushGlyphs=t.$popPara=t.$onText=t.$onChildCheck=t.$onChild=t.$nsAttributes=t.$nodeName=t.$namespaceId=t.$isUsable=t.$isTransparent=t.$isThereMoreWidth=t.$isSplittable=t.$isNsAgnostic=t.$isDescendent=t.$isDataValue=t.$isCDATAXml=t.$isBindable=t.$insertAt=t.$indexOf=t.$ids=t.$hasSettableValue=t.$globalData=t.$getTemplateRoot=t.$getSubformParent=t.$getRealChildrenByNameIt=t.$getParent=t.$getNextPage=t.$getExtra=t.$getDataValue=t.$getContainedChildren=t.$getChildrenByNameIt=t.$getChildrenByName=t.$getChildrenByClass=t.$getChildren=t.$getAvailableSpace=t.$getAttributes=t.$getAttributeIt=t.$flushHTML=t.$finalize=t.$extra=t.$dump=t.$data=t.$content=t.$consumed=t.$clone=t.$cleanup=t.$cleanPage=t.$clean=t.$childrenToHTML=t.$appendChild=t.$addHTML=t.$acceptWhitespace=void 0;var a=r(78),n=r(2),s=r(6),f=r(79),p=r(80),b=Symbol();t.$acceptWhitespace=b;var y=Symbol();t.$addHTML=y;var k=Symbol();t.$appendChild=k;var w=Symbol();t.$childrenToHTML=w;var x=Symbol();t.$clean=x;var S=Symbol();t.$cleanPage=S;var A=Symbol();t.$cleanup=A;var C=Symbol();t.$clone=C;var F=Symbol();t.$consumed=F;var O=Symbol("content");t.$content=O;var I=Symbol("data");t.$data=I;var T=Symbol();t.$dump=T;var M=Symbol("extra");t.$extra=M;var P=Symbol();t.$finalize=P;var E=Symbol();t.$flushHTML=E;var N=Symbol();t.$getAttributeIt=N;var D=Symbol();t.$getAttributes=D;var B=Symbol();t.$getAvailableSpace=B;var L=Symbol();t.$getChildrenByClass=L;var R=Symbol();t.$getChildrenByName=R;var _=Symbol();t.$getChildrenByNameIt=_;var j=Symbol();t.$getDataValue=j;var U=Symbol();t.$getExtra=U;var $=Symbol();t.$getRealChildrenByNameIt=$;var X=Symbol();t.$getChildren=X;var H=Symbol();t.$getContainedChildren=H;var q=Symbol();t.$getNextPage=q;var z=Symbol();t.$getSubformParent=z;var G=Symbol();t.$getParent=G;var W=Symbol();t.$getTemplateRoot=W;var V=Symbol();t.$globalData=V;var K=Symbol();t.$hasSettableValue=K;var Y=Symbol();t.$ids=Y;var J=Symbol();t.$indexOf=J;var Z=Symbol();t.$insertAt=Z;var Q=Symbol();t.$isCDATAXml=Q;var ee=Symbol();t.$isBindable=ee;var te=Symbol();t.$isDataValue=te;var re=Symbol();t.$isDescendent=re;var ae=Symbol();t.$isNsAgnostic=ae;var ne=Symbol();t.$isSplittable=ne;var ie=Symbol();t.$isThereMoreWidth=ie;var oe=Symbol();t.$isTransparent=oe;var se=Symbol();t.$isUsable=se;var ce=Symbol(),le=Symbol("namespaceId");t.$namespaceId=le;var ue=Symbol("nodeName");t.$nodeName=ue;var he=Symbol();t.$nsAttributes=he;var fe=Symbol();t.$onChild=fe;var de=Symbol();t.$onChildCheck=de;var ge=Symbol();t.$onText=ge;var pe=Symbol();t.$pushGlyphs=pe;var me=Symbol();t.$popPara=me;var ve=Symbol();t.$pushPara=ve;var be=Symbol();t.$removeChild=be;var ye=Symbol("root");t.$root=ye;var ke=Symbol();t.$resolvePrototypes=ke;var we=Symbol();t.$searchNode=we;var xe=Symbol();t.$setId=xe;var Se=Symbol();t.$setSetAttributes=Se;var Ae=Symbol();t.$setValue=Ae;var Ce=Symbol();t.$tabIndex=Ce;var Fe=Symbol();t.$text=Fe;var Oe=Symbol();t.$toPages=Oe;var Ie=Symbol();t.$toHTML=Ie;var Te=Symbol();t.$toString=Te;var Me=Symbol();t.$toStyle=Me;var Pe=Symbol("uid");t.$uid=Pe;var Ee=Symbol(),Ne=Symbol(),De=Symbol(),Be=Symbol("_children"),Le=Symbol(),Re=Symbol(),_e=Symbol(),je=Symbol(),Ue=Symbol(),$e=Symbol(),Xe=Symbol(),He=Symbol(),qe=Symbol(),ze=Symbol("parent"),Ge=Symbol(),We=Symbol(),Ve=Symbol(),Ke=0,Ye=f.NamespaceIds.datasets.id,Je=function(){function e(t,r){var a=arguments.length>2&&void 0!==arguments[2]&&arguments[2];m(this,e),this[le]=t,this[ue]=r,this[Xe]=a,this[ze]=null,this[Be]=[],this[Pe]="".concat(r).concat(Ke++),this[V]=null}return v(e,[{key:fe,value:function(e){if(!this[Xe]||!this[de](e))return!1;var t=e[ue],r=this[t];if(!(r instanceof Ze))return null!==r&&this[be](r),this[t]=e,this[k](e),!0;if(r.push(e))return this[k](e),!0;var a="";return this.id?a=" (id: ".concat(this.id,")"):this.name&&(a=" (name: ".concat(this.name," ").concat(this.h.value,")")),(0,n.warn)('XFA - node "'.concat(this[ue],'"').concat(a,' has already enough "').concat(t,'"!')),!1}},{key:de,value:function(e){return this.hasOwnProperty(e[ue])&&e[le]===this[le]}},{key:ae,value:function(){return!1}},{key:b,value:function(){return!1}},{key:Q,value:function(){return!1}},{key:ee,value:function(){return!1}},{key:me,value:function(){this.para&&this[W]()[M].paraStack.pop()}},{key:ve,value:function(){this[W]()[M].paraStack.push(this.para)}},{key:xe,value:function(e){this.id&&this[le]===f.NamespaceIds.template.id&&e.set(this.id,this)}},{key:W,value:function(){return this[V].template}},{key:ne,value:function(){return!1}},{key:ie,value:function(){return!1}},{key:k,value:function(e){e[ze]=this,this[Be].push(e),!e[V]&&this[V]&&(e[V]=this[V])}},{key:be,value:function(e){var t=this[Be].indexOf(e);this[Be].splice(t,1)}},{key:K,value:function(){return this.hasOwnProperty("value")}},{key:Ae,value:function(e){}},{key:ge,value:function(e){}},{key:P,value:function(){}},{key:x,value:function(e){delete this[Xe],this[A]&&(e.clean(this[A]),delete this[A])}},{key:J,value:function(e){return this[Be].indexOf(e)}},{key:Z,value:function(e,t){t[ze]=this,this[Be].splice(e,0,t),!t[V]&&this[V]&&(t[V]=this[V])}},{key:oe,value:function(){return!this.name}},{key:ce,value:function(){return""}},{key:Fe,value:function(){return 0===this[Be].length?this[O]:this[Be].map((function(e){return e[Fe]()})).join("")}},{key:De,get:function(){var t=Object.getPrototypeOf(this);if(!t._attributes){var r,a=t._attributes=new Set,i=d(Object.getOwnPropertyNames(this));try{for(i.s();!(r=i.n()).done;){var o=r.value;if(null===this[o]||this[o]instanceof e||this[o]instanceof Ze)break;a.add(o)}}catch(s){i.e(s)}finally{i.f()}}return(0,n.shadow)(this,De,t._attributes)}},{key:re,value:function(e){for(var t=this;t;){if(t===e)return!0;t=t[G]()}return!1}},{key:G,value:function(){return this[ze]}},{key:z,value:function(){return this[G]()}},{key:X,value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return e?this[e]:this[Be]}},{key:T,value:function(){var t=Object.create(null);this[O]&&(t.$content=this[O]);var r,a=d(Object.getOwnPropertyNames(this));try{for(a.s();!(r=a.n()).done;){var n=r.value,i=this[n];null!==i&&(i instanceof e?t[n]=i[T]():i instanceof Ze?i.isEmpty()||(t[n]=i.dump()):t[n]=i)}}catch(o){a.e(o)}finally{a.f()}return t}},{key:Me,value:function(){return null}},{key:Ie,value:function(){return a.HTMLResult.EMPTY}},{key:H,value:h().mark((function e(){var t,r,a;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=d(this[X]()),e.prev=1,t.s();case 3:if((r=t.n()).done){e.next=9;break}return a=r.value,e.next=7,a;case 7:e.next=3;break;case 9:e.next=14;break;case 11:e.prev=11,e.t0=e.catch(1),t.e(e.t0);case 14:return e.prev=14,t.f(),e.finish(14);case 17:case"end":return e.stop()}}),e,this,[[1,11,14,17]])}))},{key:je,value:h().mark((function e(t,r){var a,n,i,o,s;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:a=d(this[H]()),e.prev=1,a.s();case 3:if((n=a.n()).done){e.next=13;break}if(i=n.value,t&&r!==t.has(i[ue])){e.next=11;break}return o=this[B](),(s=i[Ie](o)).success||(this[M].failingNode=i),e.next=11,s;case 11:e.next=3;break;case 13:e.next=18;break;case 15:e.prev=15,e.t0=e.catch(1),a.e(e.t0);case 18:return e.prev=18,a.f(),e.finish(18);case 21:case"end":return e.stop()}}),e,this,[[1,15,18,21]])}))},{key:E,value:function(){return null}},{key:y,value:function(e,t){this[M].children.push(e)}},{key:B,value:function(){}},{key:w,value:function(e){var t=e.filter,r=void 0===t?null:t,n=e.include,i=void 0===n||n;if(this[M].generator){var o=this[B](),s=this[M].failingNode[Ie](o);if(!s.success)return s;s.html&&this[y](s.html,s.bbox),delete this[M].failingNode}else this[M].generator=this[je](r,i);for(;;){var c=this[M].generator.next();if(c.done)break;var l=c.value;if(!l.success)return l;l.html&&this[y](l.html,l.bbox)}return this[M].generator=null,a.HTMLResult.EMPTY}},{key:Se,value:function(e){this[We]=new Set(Object.keys(e))}},{key:$e,value:function(e){var t=this[De],r=this[We];return c(e).filter((function(e){return t.has(e)&&!r.has(e)}))}},{key:ke,value:function(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Set,a=d(this[Be]);try{for(a.s();!(t=a.n()).done;)t.value[Ge](e,r)}catch(n){a.e(n)}finally{a.f()}}},{key:Ge,value:function(e,t){var r=this[Ue](e,t);r?this[Ee](r,e,t):this[ke](e,t)}},{key:Ue,value:function(e,t){var r=this.use,a=this.usehref;if(!r&&!a)return null;var i=null,o=null,s=null,c=r;if(a?(c=a,a.startsWith("#som(")&&a.endsWith(")")?o=a.slice(5,a.length-1):a.startsWith(".#som(")&&a.endsWith(")")?o=a.slice(6,a.length-1):a.startsWith("#")?s=a.slice(1):a.startsWith(".#")&&(s=a.slice(2))):r.startsWith("#")?s=r.slice(1):o=r,this.use=this.usehref="",s?i=e.get(s):(i=(0,p.searchNode)(e.get(ye),this,o,!0,!1))&&(i=i[0]),!i)return(0,n.warn)("XFA - Invalid prototype reference: ".concat(c,".")),null;if(i[ue]!==this[ue])return(0,n.warn)("XFA - Incompatible prototype: ".concat(i[ue]," !== ").concat(this[ue],".")),null;if(t.has(i))return(0,n.warn)("XFA - Cycle detected in prototypes use."),null;t.add(i);var l=i[Ue](e,t);return l&&i[Ee](l,e,t),i[ke](e,t),t.delete(i),i}},{key:Ee,value:function(e,t,r){if(r.has(e))(0,n.warn)("XFA - Cycle detected in prototypes use.");else{!this[O]&&e[O]&&(this[O]=e[O]),new Set(r).add(e);var a,i=d(this[$e](e[We]));try{for(i.s();!(a=i.n()).done;){var o=a.value;this[o]=e[o],this[We]&&this[We].add(o)}}catch(y){i.e(y)}finally{i.f()}var s,c=d(Object.getOwnPropertyNames(this));try{for(c.s();!(s=c.n()).done;){var l=s.value;if(!this[De].has(l)){var u=this[l],h=e[l];if(u instanceof Ze){var f,g=d(u[Be]);try{for(g.s();!(f=g.n()).done;)f.value[Ge](t,r)}catch(y){g.e(y)}finally{g.f()}for(var p=u[Be].length,m=h[Be].length;p<m;p++){var v=e[Be][p][C]();if(!u.push(v))break;v[ze]=this,this[Be].push(v),v[Ge](t,r)}}else if(null===u){if(null!==h){var b=h[C]();b[ze]=this,this[l]=b,this[Be].push(b),b[Ge](t,r)}}else u[ke](t,r),h&&u[Ee](h,t,r)}}}catch(y){c.e(y)}finally{c.f()}}}},{key:C,value:function(){var t,r=Object.create(Object.getPrototypeOf(this)),a=d(Object.getOwnPropertySymbols(this));try{for(a.s();!(t=a.n()).done;){var i=t.value;try{r[i]=this[i]}catch(m){(0,n.shadow)(r,i,this[i])}}}catch(v){a.e(v)}finally{a.f()}r[Pe]="".concat(r[ue]).concat(Ke++),r[Be]=[];var o,s=d(Object.getOwnPropertyNames(this));try{for(s.s();!(o=s.n()).done;){var c=o.value;if(this[De].has(c))r[c]=e[Le](this[c]);else{var l=this[c];r[c]=l instanceof Ze?new Ze(l[He]):null}}}catch(v){s.e(v)}finally{s.f()}var u,h=d(this[Be]);try{for(h.s();!(u=h.n()).done;){var f=u.value,g=f[ue],p=f[C]();r[Be].push(p),p[ze]=r,null===r[g]?r[g]=p:r[g][Be].push(p)}}catch(v){h.e(v)}finally{h.f()}return r}},{key:X,value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return e?this[Be].filter((function(t){return t[ue]===e})):this[Be]}},{key:L,value:function(e){return this[e]}},{key:R,value:function(e,t){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return Array.from(this[_](e,t,r))}},{key:_,value:function(e,t){var r=this,a=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return h().mark((function n(){var i,o,s;return h().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if("parent"!==e){n.next=4;break}return n.next=3,r[ze];case 3:return n.abrupt("return");case 4:i=d(r[Be]),n.prev=5,i.s();case 7:if((o=i.n()).done){n.next=19;break}if((s=o.value)[ue]!==e){n.next=12;break}return n.next=12,s;case 12:if(s.name!==e){n.next=15;break}return n.next=15,s;case 15:if(!t&&!s[oe]()){n.next=17;break}return n.delegateYield(s[_](e,t,!1),"t0",17);case 17:n.next=7;break;case 19:n.next=24;break;case 21:n.prev=21,n.t1=n.catch(5),i.e(n.t1);case 24:return n.prev=24,i.f(),n.finish(24);case 27:if(!a||!r[De].has(e)){n.next=30;break}return n.next=30,new Qe(r,e,r[e]);case 30:case"end":return n.stop()}}),n,null,[[5,21,24,27]])}))()}}],[{key:Le,value:function(t){return Array.isArray(t)?t.map((function(t){return e[Le](t)})):"object"===typeof t&&null!==t?Object.assign({},t):t}}])}();t.XFAObject=Je;var Ze=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1/0;m(this,e),this[He]=t,this[Be]=[]}return v(e,[{key:"push",value:function(e){return this[Be].length<=this[He]?(this[Be].push(e),!0):((0,n.warn)('XFA - node "'.concat(e[ue],'" accepts no more than ').concat(this[He]," children")),!1)}},{key:"isEmpty",value:function(){return 0===this[Be].length}},{key:"dump",value:function(){return 1===this[Be].length?this[Be][0][T]():this[Be].map((function(e){return e[T]()}))}},{key:C,value:function(){var t=new e(this[He]);return t[Be]=this[Be].map((function(e){return e[C]()})),t}},{key:"children",get:function(){return this[Be]}},{key:"clear",value:function(){this[Be].length=0}}])}();t.XFAObjectArray=Ze;var Qe=function(){return v((function e(t,r,a){m(this,e),this[ze]=t,this[ue]=r,this[O]=a,this[F]=!1,this[Pe]="attribute".concat(Ke++)}),[{key:G,value:function(){return this[ze]}},{key:te,value:function(){return!0}},{key:j,value:function(){return this[O].trim()}},{key:Ae,value:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e){e=e.value||"",this[O]=e.toString()}))},{key:Fe,value:function(){return this[O]}},{key:re,value:function(e){return this[ze]===e||this[ze][re](e)}}])}();t.XFAAttribute=Qe;var et=function(e){function t(e,r){var a,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(m(this,t),(a=l(this,t,[e,r]))[O]="",a[Re]=null,"#text"!==r){var i=new Map;a[Ne]=i;for(var o=0,s=Object.entries(n);o<s.length;o++){var c=g(s[o],2),u=c[0],h=c[1];i.set(u,new Qe(a,u,h))}if(n.hasOwnProperty(he)){var f=n[he].xfa.dataNode;void 0!==f&&("dataGroup"===f?a[Re]=!1:"dataValue"===f&&(a[Re]=!0))}}return a[F]=!1,a}return u(t,e),v(t,[{key:Te,value:function(e){var t=this[ue];if("#text"!==t){var r=(0,n.utf8StringToString)(t),a=this[le]===Ye?"xfa:":"";e.push("<".concat(a).concat(r));var i,o=d(this[Ne].entries());try{for(o.s();!(i=o.n()).done;){var c=g(i.value,2),l=c[0],u=c[1],h=(0,n.utf8StringToString)(l);e.push(" ".concat(h,'="').concat((0,s.encodeToXmlString)(u[O]),'"'))}}catch(m){o.e(m)}finally{o.f()}if(null!==this[Re]&&(this[Re]?e.push(' xfa:dataNode="dataValue"'):e.push(' xfa:dataNode="dataGroup"')),this[O]||0!==this[Be].length){if(e.push(">"),this[O])"string"===typeof this[O]?e.push((0,s.encodeToXmlString)(this[O])):this[O][Te](e);else{var f,p=d(this[Be]);try{for(p.s();!(f=p.n()).done;)f.value[Te](e)}catch(m){p.e(m)}finally{p.f()}}e.push("</".concat(a).concat(r,">"))}else e.push("/>")}else e.push((0,s.encodeToXmlString)(this[O]))}},{key:fe,value:function(e){if(this[O]){var r=new t(this[le],"#text");this[k](r),r[O]=this[O],this[O]=""}return this[k](e),!0}},{key:ge,value:function(e){this[O]+=e}},{key:P,value:function(){if(this[O]&&this[Be].length>0){var e=new t(this[le],"#text");this[k](e),e[O]=this[O],delete this[O]}}},{key:Ie,value:function(){return"#text"===this[ue]?a.HTMLResult.success({name:"#text",value:this[O]}):a.HTMLResult.EMPTY}},{key:X,value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return e?this[Be].filter((function(t){return t[ue]===e})):this[Be]}},{key:D,value:function(){return this[Ne]}},{key:L,value:function(e){var t=this[Ne].get(e);return void 0!==t?t:this[X](e)}},{key:_,value:h().mark((function(e,t){var r,a,n,i;return h().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:if(r=this[Ne].get(e),!r){o.next=4;break}return o.next=4,r;case 4:a=d(this[Be]),o.prev=5,a.s();case 7:if((n=a.n()).done){o.next=16;break}if((i=n.value)[ue]!==e){o.next=12;break}return o.next=12,i;case 12:if(!t){o.next=14;break}return o.delegateYield(i[_](e,t),"t0",14);case 14:o.next=7;break;case 16:o.next=21;break;case 18:o.prev=18,o.t1=o.catch(5),a.e(o.t1);case 21:return o.prev=21,a.f(),o.finish(21);case 24:case"end":return o.stop()}}),r,this,[[5,18,21,24]])}))},{key:N,value:h().mark((function(e,t){var r,a,n,i;return h().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:if(r=this[Ne].get(e),!r||t&&r[F]){o.next=4;break}return o.next=4,r;case 4:a=d(this[Be]),o.prev=5,a.s();case 7:if((n=a.n()).done){o.next=12;break}return i=n.value,o.delegateYield(i[N](e,t),"t0",10);case 10:o.next=7;break;case 12:o.next=17;break;case 14:o.prev=14,o.t1=o.catch(5),a.e(o.t1);case 17:return o.prev=17,a.f(),o.finish(17);case 20:case"end":return o.stop()}}),r,this,[[5,14,17,20]])}))},{key:$,value:h().mark((function e(t,r,a){var n,i,o;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=d(this[Be]),e.prev=1,n.s();case 3:if((i=n.n()).done){e.next=12;break}
2if((o=i.value)[ue]!==t||a&&o[F]){e.next=8;break}return e.next=8,o;case 8:if(!r){e.next=10;break}return e.delegateYield(o[$](t,r,a),"t0",10);case 10:e.next=3;break;case 12:e.next=17;break;case 14:e.prev=14,e.t1=e.catch(1),n.e(e.t1);case 17:return e.prev=17,n.f(),e.finish(17);case 20:case"end":return e.stop()}}),e,this,[[1,14,17,20]])}))},{key:te,value:function(){return null===this[Re]?0===this[Be].length||this[Be][0][le]===f.NamespaceIds.xhtml.id:this[Re]}},{key:j,value:function(){return null===this[Re]?0===this[Be].length?this[O].trim():this[Be][0][le]===f.NamespaceIds.xhtml.id?this[Be][0][Fe]().trim():null:this[O].trim()}},{key:Ae,value:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e){e=e.value||"",this[O]=e.toString()}))},{key:T,value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=Object.create(null);e&&(t.$ns=this[le]),this[O]&&(t.$content=this[O]),t.$name=this[ue],t.children=[];var r,a=d(this[Be]);try{for(a.s();!(r=a.n()).done;){var n=r.value;t.children.push(n[T](e))}}catch(u){a.e(u)}finally{a.f()}t.attributes=Object.create(null);var i,o=d(this[Ne]);try{for(o.s();!(i=o.n()).done;){var s=g(i.value,2),c=s[0],l=s[1];t.attributes[c]=l[O]}}catch(u){o.e(u)}finally{o.f()}return t}}])}(Je);t.XmlObject=et;var tt=function(e){function t(e,r){var a;return m(this,t),(a=l(this,t,[e,r]))[O]="",a}return u(t,e),v(t,[{key:ge,value:function(e){this[O]+=e}},{key:P,value:function(){}}])}(Je);t.ContentObject=tt;var rt=function(e){function t(e,r,a){var n;return m(this,t),(n=l(this,t,[e,r]))[qe]=a,n}return u(t,e),v(t,[{key:P,value:function(){var e=this;this[O]=(0,a.getKeyword)({data:this[O],defaultValue:this[qe][0],validate:function(t){return e[qe].includes(t)}})}},{key:x,value:function(e){i(o(t.prototype),x,this).call(this,e),delete this[qe]}}])}(tt);t.OptionObject=rt;var at=function(e){function t(){return m(this,t),l(this,t,arguments)}return u(t,e),v(t,[{key:P,value:function(){this[O]=this[O].trim()}}])}(tt);t.StringObject=at;var nt=function(e){function t(e,r,a,n){var i;return m(this,t),(i=l(this,t,[e,r]))[_e]=a,i[Ve]=n,i}return u(t,e),v(t,[{key:P,value:function(){this[O]=(0,a.getInteger)({data:this[O],defaultValue:this[_e],validate:this[Ve]})}},{key:x,value:function(e){i(o(t.prototype),x,this).call(this,e),delete this[_e],delete this[Ve]}}])}(tt);t.IntegerObject=nt;var it=function(e){function t(e,r){return m(this,t),l(this,t,[e,r,0,function(e){return 1===e}])}return u(t,e),v(t)}(nt);t.Option01=it;var ot=function(e){function t(e,r){return m(this,t),l(this,t,[e,r,1,function(e){return 0===e}])}return u(t,e),v(t)}(nt);t.Option10=ot},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.HTMLResult=void 0,t.getBBox=function(e){var t=-1;if(!e)return{x:t,y:t,width:t,height:t};var r=e.trim().split(/\s*,\s*/).map((function(e){return s(e,"-1")}));if(r.length<4||r[2]<0||r[3]<0)return{x:t,y:t,width:t,height:t};var a=g(r,4),n=a[0],i=a[1],o=a[2],c=a[3];return{x:n,y:i,width:o,height:c}},t.getColor=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[0,0,0],r=g(t,3),a=r[0],n=r[1],i=r[2];if(!e)return{r:a,g:n,b:i};var o=e.trim().split(/\s*,\s*/).map((function(e){return Math.min(Math.max(0,parseInt(e.trim(),10)),255)})).map((function(e){return isNaN(e)?0:e}));if(o.length<3)return{r:a,g:n,b:i};var s=g(o,3);return a=s[0],n=s[1],i=s[2],{r:a,g:n,b:i}},t.getFloat=function(e){var t=e.data,r=e.defaultValue,a=e.validate;if(!t)return r;t=t.trim();var n=parseFloat(t);return!isNaN(n)&&a(n)?n:r},t.getInteger=function(e){var t=e.data,r=e.defaultValue,a=e.validate;if(!t)return r;t=t.trim();var n=parseInt(t,10);return!isNaN(n)&&a(n)?n:r},t.getKeyword=o,t.getMeasurement=s,t.getRatio=function(e){if(!e)return{num:1,den:1};var t=e.trim().split(/\s*:\s*/).map((function(e){return parseFloat(e)})).filter((function(e){return!isNaN(e)}));if(1===t.length&&t.push(1),0===t.length)return{num:1,den:1};var r=g(t,2),a=r[0],n=r[1];return{num:a,den:n}},t.getRelevant=function(e){return e?e.trim().split(/\s+/).map((function(e){return{excluded:"-"===e[0],viewname:e.substring(1)}})):[]},t.getStringOption=function(e,t){return o({data:e,defaultValue:t[0],validate:function(e){return t.includes(e)}})},t.stripQuotes=function(e){return e.startsWith("'")||e.startsWith('"')?e.slice(1,e.length-1):e};var a=r(2),n={pt:function(e){return e},cm:function(e){return e/2.54*72},mm:function(e){return e/25.4*72},in:function(e){return 72*e},px:function(e){return e}},i=/([+-]?\d+\.?\d*)(.*)/;function o(e){var t=e.data,r=e.defaultValue,a=e.validate;return t&&a(t=t.trim())?t:r}function s(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"0";if(t=t||"0",!e)return s(t);var r=e.trim().match(i);if(!r)return s(t);var a=g(r,3),o=a[1],c=a[2],l=parseFloat(o);if(isNaN(l))return s(t);if(0===l)return 0;var u=n[c];return u?u(l):l}var c=function(){function e(t,r,a,n){m(this,e),this.success=t,this.html=r,this.bbox=a,this.breakNode=n}return v(e,[{key:"isBreak",value:function(){return!!this.breakNode}}],[{key:"FAILURE",get:function(){return(0,a.shadow)(this,"FAILURE",new e(!1,null,
2null,null))}},{key:"EMPTY",get:function(){return(0,a.shadow)(this,"EMPTY",new e(!0,null,null,null))}},{key:"breakNode",value:function(t){return new e(!1,null,null,t)}},{key:"success",value:function(t){return new e(!0,t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,null)}}])}();t.HTMLResult=c},function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.NamespaceIds=t.$buildXFAObject=void 0;var r=Symbol();t.$buildXFAObject=r,t.NamespaceIds={config:{id:0,check:function(e){return e.startsWith("http://www.xfa.org/schema/xci/")}},connectionSet:{id:1,check:function(e){return e.startsWith("http://www.xfa.org/schema/xfa-connection-set/")}},datasets:{id:2,check:function(e){return e.startsWith("http://www.xfa.org/schema/xfa-data/")}},form:{id:3,check:function(e){return e.startsWith("http://www.xfa.org/schema/xfa-form/")}},localeSet:{id:4,check:function(e){return e.startsWith("http://www.xfa.org/schema/xfa-locale-set/")}},pdf:{id:5,check:function(e){return"http://ns.adobe.com/xdp/pdf/"===e}},signature:{id:6,check:function(e){return"http://www.w3.org/2000/09/xmldsig#"===e}},sourceSet:{id:7,check:function(e){return e.startsWith("http://www.xfa.org/schema/xfa-source-set/")}},stylesheet:{id:8,check:function(e){return"http://www.w3.org/1999/XSL/Transform"===e}},template:{id:9,check:function(e){return e.startsWith("http://www.xfa.org/schema/xfa-template/")}},xdc:{id:10,check:function(e){return e.startsWith("http://www.xfa.org/schema/xdc/")}},xdp:{id:11,check:function(e){return"http://ns.adobe.com/xdp/"===e}},xfdf:{id:12,check:function(e){return"http://ns.adobe.com/xfdf/"===e}},xhtml:{id:13,check:function(e){return"http://www.w3.org/1999/xhtml"===e}},xmpmeta:{id:14,check:function(e){return"http://ns.adobe.com/xmpmeta/"===e}}}},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.createDataNode=function(e,t,r){var n=f(r);if(!n)return null;if(n.some((function(e){return e.operator===c.dotDot})))return null;var o=l.get(n[0].name),s=0;o?(e=o(e,t),s=1):e=t||e;for(var u=n.length;s<u;s++){var h=n[s],d=h.name,g=h.operator,m=h.index;if(!isFinite(m))return n[s].index=0,p(e,n.slice(s));var v=void 0;switch(g){case c.dot:v=e[a.$getChildrenByName](d,!1);break;case c.dotDot:v=e[a.$getChildrenByName](d,!0);break;case c.dotHash:v=(v=e[a.$getChildrenByClass](d))instanceof a.XFAObjectArray?v.children:[v]}if(0===v.length)return p(e,n.slice(s));if(!(m<v.length))return n[s].index=m-v.length,p(e,n.slice(s));var b=v[m];if(!(b instanceof a.XFAObject))return(0,i.warn)("XFA - Cannot create a node."),null;e=b}return null},t.searchNode=function(e,t,r){var n=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],i=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],o=f(r,n);if(!o)return null;var s,h=l.get(o[0].name),g=0;h?(s=!0,e=[h(e,t)],g=1):(s=null===t,e=[t||e]);for(var p,m=function(){var r,n=o[g],l=n.name,h=n.cacheName,f=n.operator,p=n.index,m=[],v=d(e);try{for(v.s();!(r=v.n()).done;){var b=r.value;if(b instanceof a.XFAObject){var y=void 0,k=void 0;if(i&&((k=u.get(b))||(k=new Map,u.set(b,k)),y=k.get(h)),!y){switch(f){case c.dot:y=b[a.$getChildrenByName](l,!1);break;case c.dotDot:y=b[a.$getChildrenByName](l,!0);break;case c.dotHash:y=(y=b[a.$getChildrenByClass](l))instanceof a.XFAObjectArray?y.children:[y]}i&&k.set(h,y)}y.length>0&&m.push(y)}}}catch(x){v.e(x)}finally{v.f()}if(0===m.length&&!s&&0===g){var w=t[a.$getParent]();return(t=w)?(g=-1,e=[t],0):{v:null}}e=isFinite(p)?m.filter((function(e){return p<e.length})).map((function(e){return e[p]})):m.flat()},v=o.length;g<v;g++)if(0!==(p=m())&&p)return p.v;return 0===e.length?null:e};var a=r(77),n=r(79),i=r(2),o=/^[^.[]+/,s=/^[^\]]+/,c={dot:0,dotDot:1,dotHash:2,dotBracket:3,dotParen:4},l=new Map([["$data",function(e,t){return e.datasets?e.datasets.data:e}],["$record",function(e,t){return(e.datasets?e.datasets.data:e)[a.$getChildren]()[0]}],["$template",function(e,t){return e.template}],["$connectionSet",function(e,t){return e.connectionSet}],["$form",function(e,t){return e.form}],["$layout",function(e,t){return e.layout}],["$host",function(e,t){return e.host}],["$dataWindow",function(e,t){return e.dataWindow}],["$event",function(e,t){return e.event}],["!",function(e,t){return e.datasets}],["$xfa",function(e,t){return e}],["xfa",function(e,t){return e}],["$",function(e,t){return t}]]),u=new WeakMap,h=n.NamespaceIds.datasets.id;function f(e,t){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=e.match(o);if(!a)return null;for(var n,l=g(a,1)[0],u=[{name:l,cacheName:"."+l,index:0,js:null,formCalc:null,operator:c.dot}],h=l.length;h<e.length;){var f=h;if("["!==e.charAt(h++)){var d=void 0;switch(e.charAt(h)){case".":if(!t)return null;h++,d=c.dotDot;break;case"#":h++,d=c.dotHash;break;case"[":if(r)return(0,i.warn)("XFA - SOM expression contains a FormCalc subexpression which is not supported for now."),null;d=c.dotBracket;break;case"(":if(r)return(0,i.warn)("XFA - SOM expression contains a JavaScript subexpression which is not supported for now."),null;d=c.dotParen;break;default:d=c.dot}
2if(!(a=e.slice(h).match(o)))break;h+=(l=g(a,1)[0]).length,u.push({name:l,cacheName:e.slice(f,h),operator:d,index:0,js:null,formCalc:null})}else{if(!(a=e.slice(h).match(s)))return(0,i.warn)("XFA - Invalid index in SOM expression"),null;u.at(-1).index="*"===(n=(n=a[0]).trim())?1/0:parseInt(n,10)||0,h+=a[0].length+1}}return u}function p(e,t){var r,n=null,i=d(t);try{for(i.s();!(r=i.n()).done;){for(var o=r.value,s=o.name,c=o.index,l=0,u=isFinite(c)?c:0;l<=u;l++){var f=e[a.$namespaceId]===h?-1:e[a.$namespaceId];n=new a.XmlObject(f,s),e[a.$appendChild](n)}e=n}}catch(g){i.e(g)}finally{i.f()}return n}},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.Binder=void 0;var a=r(77),n=r(82),i=r(80),o=r(79),s=r(2),c=o.NamespaceIds.datasets.id;function l(e){var t=new n.Text({});return t[a.$content]=e,t}var u=function(){return v((function e(t){m(this,e),this.root=t,this.datasets=t.datasets,t.datasets&&t.datasets.data?this.data=t.datasets.data:this.data=new a.XmlObject(o.NamespaceIds.datasets.id,"data"),this.emptyMerge=0===this.data[a.$getChildren]().length,this.root.form=this.form=t.template[a.$clone]()}),[{key:"_isConsumeData",value:function(){return!this.emptyMerge&&this._mergeMode}},{key:"_isMatchTemplate",value:function(){return!this._isConsumeData()}},{key:"bind",value:function(){return this._bindElement(this.form,this.data),this.form}},{key:"getData",value:function(){return this.data}},{key:"_bindValue",value:function(e,t,r){if(e[a.$data]=t,e[a.$hasSettableValue]())if(t[a.$isDataValue]()){var i=t[a.$getDataValue]();e[a.$setValue](l(i))}else if(e instanceof n.Field&&e.ui&&e.ui.choiceList&&"multiSelect"===e.ui.choiceList.open){var o=t[a.$getChildren]().map((function(e){return e[a.$content].trim()})).join("\n");e[a.$setValue](l(o))}else this._isConsumeData()&&(0,s.warn)("XFA - Nodes haven't the same type.");else!t[a.$isDataValue]()||this._isMatchTemplate()?this._bindElement(e,t):(0,s.warn)("XFA - Nodes haven't the same type.")}},{key:"_findDataByNameToConsume",value:function(e,t,r,n){if(!e)return null;for(var i,s,c=0;c<3;c++){for(i=r[a.$getRealChildrenByNameIt](e,!1,!0);s=i.next().value;)if(t===s[a.$isDataValue]())return s;if(r[a.$namespaceId]===o.NamespaceIds.datasets.id&&"data"===r[a.$nodeName])break;r=r[a.$getParent]()}return n&&((s=(i=this.data[a.$getRealChildrenByNameIt](e,!0,!1)).next().value)||(s=(i=this.data[a.$getAttributeIt](e,!0)).next().value)&&s[a.$isDataValue]())?s:null}},{key:"_setProperties",value:function(e,t){if(e.hasOwnProperty("setProperty")){var r,o=d(e.setProperty.children);try{for(o.s();!(r=o.n()).done;){var c=r.value,l=c.ref,u=c.target;if(!c.connection&&l){var h=(0,i.searchNode)(this.root,t,l,!1,!1);if(h){var f=g(h,1)[0];if(f[a.$isDescendent](this.data)){var p=(0,i.searchNode)(this.root,e,u,!1,!1);if(p){var m=g(p,1)[0];if(m[a.$isDescendent](e)){var v=m[a.$getParent]();if(m instanceof n.SetProperty||v instanceof n.SetProperty)(0,s.warn)("XFA - Invalid target: cannot be a setProperty or one of its properties.");else if(m instanceof n.BindItems||v instanceof n.BindItems)(0,s.warn)("XFA - Invalid target: cannot be a bindItems or one of its properties.");else{var b=f[a.$text](),y=m[a.$nodeName];if(m instanceof a.XFAAttribute){var k=Object.create(null);k[y]=b;var w=Reflect.construct(Object.getPrototypeOf(v).constructor,[k]);v[y]=w[y]}else m.hasOwnProperty(a.$content)?(m[a.$data]=f,m[a.$content]=b,m[a.$finalize]()):(0,s.warn)("XFA - Invalid node to use in setProperty")}}else(0,s.warn)("XFA - Invalid target: must be a property or subproperty.")}else(0,s.warn)("XFA - Invalid target: ".concat(u,"."))}else(0,s.warn)("XFA - Invalid node: must be a data node.")}else(0,s.warn)("XFA - Invalid reference: ".concat(l,"."))}}}catch(x){o.e(x)}finally{o.f()}}}},{key:"_bindItems",value:function(e,t){if(e.hasOwnProperty("items")&&e.hasOwnProperty("bindItems")&&!e.bindItems.isEmpty()){var r,o=d(e.items.children);try{for(o.s();!(r=o.n()).done;){var c=r.value;e[a.$removeChild](c)}}catch(M){o.e(M)}finally{o.f()}e.items.clear();var u=new n.Items({}),h=new n.Items({});e[a.$appendChild](u),e.items.push(u),e[a.$appendChild](h),e.items.push(h);var f,p=d(e.bindItems.children);try{for(p.s();!(f=p.n()).done;){var m=f.value,v=m.ref,b=m.labelRef,y=m.valueRef;if(!m.connection&&v){var k=(0,i.searchNode)(this.root,t,v,!1,!1);if(k){var w,x=d(k);try{for(x.s();!(w=x.n()).done;){var S=w.value;if(S[a.$isDescendent](this.datasets)){var A=(0,i.searchNode)(this.root,S,b,!0,!1);if(A){var C=g(A,1)[0];if(C[a.$isDescendent](this.datasets)){var F=(0,i.searchNode)(this.root,S,y,!0,!1);if(F){var O=g(F,1)[0];if(O[a.$isDescendent](this.datasets)){var I=l(C[a.$text]()),T=l(O[a.$text]());u[a.$appendChild](I),u.text.push(I),h[a.$appendChild](T),h.text.push(T)}else(0,s.warn)("XFA - Invalid value: must be a datasets child.")}else(0,s.warn)("XFA - Invalid value: ".concat(y,"."))}else(0,s.warn)("XFA - Invalid label: must be a datasets child.")}else(0,s.warn)("XFA - Invalid label: ".concat(b,"."))}else(0,s.warn)("XFA - Invalid ref (".concat(v,"): must be a datasets child."))}}catch(M){x.e(M)}finally{x.f()}}else(0,s.warn)("XFA - Invalid reference: ".concat(v,"."))}}}catch(M){p.e(M)}finally{p.f()}}}},{key:"_bindOccurrences",value:function(e,t,r){var n;if(t.length>1&&((n=e[a.$clone]())[a.$removeChild](n.occur),n.occur=null),this._bindValue(e,t[0],r),this._setProperties(e,t[0]),this._bindItems(e,t[0]),1!==t.length)for(var i=e[a.$getParent](),o=e[a.$nodeName],s=i[a.$indexOf](e),c=1,l=t.length;c<l;c++){var u=t[c],h=n[a.$clone]();i[o].push(h),i[a.$insertAt](s+c,h),this._bindValue(h,u,r),this._setProperties(h,u),this._bindItems(h,u)}}},{key:"_createOccurrences",value:function(e){if(this.emptyMerge){var t=e.occur;if(t&&!(t.initial<=1)){var r=e[a.$getParent](),n=e[a.$nodeName];if(r[n]instanceof a.XFAObjectArray){var i;i=e.name?r[n].children.filter((function(t){return t.name===e.name})).length:r[n].children.length;var o=r[a.$indexOf](e)+1,s=t.initial-i;if(s){var c=e[a.$clone]();c[a.$removeChild](c.occur),c.occur=null,r[n].push(c),r[a.$insertAt](o,c);for(var l=1;l<s;l++){var u=c[a.$clone]();r[n].push(u),r[a.$insertAt](o+l,u)}}}}}}},{key:"_getOccurInfo",value:function(e){var t=e.name,r=e.occur;if(!r||!t)return[1,1];var a=-1===r.max?1/0:r.max;return[r.min,a]}},{key:"_setAndBind",value:function(e,t){this._setProperties(e,t),this._bindItems(e,t),this._bindElement(e,t)}},{key:"_bindElement",value:function(e,t){var r=[];this._createOccurrences(e);var n,o=d(e[a.$getChildren]());try{for(o.s();!(n=o.n()).done;){var l=n.value;if(!l[a.$data])if(void 0!==this._mergeMode||"subform"!==l[a.$nodeName]){if(l[a.$isBindable]()){var u=!1,h=null,f=null,p=null;if(l.bind){switch(l.bind.match){case"none":this._setAndBind(l,t);continue;case"global":u=!0;break;case"dataRef":if(!l.bind.ref){(0,s.warn)("XFA - ref is empty in node ".concat(l[a.$n
2odeName],".")),this._setAndBind(l,t);continue}f=l.bind.ref}l.bind.picture&&(h=l.bind.picture[a.$content])}var m=this._getOccurInfo(l),v=g(m,2),b=v[0],y=v[1];if(f){if(null===(p=(0,i.searchNode)(this.root,t,f,!0,!1))){if(!(p=(0,i.createDataNode)(this.data,t,f)))continue;this._isConsumeData()&&(p[a.$consumed]=!0),this._setAndBind(l,p);continue}this._isConsumeData()&&(p=p.filter((function(e){return!e[a.$consumed]}))),p.length>y?p=p.slice(0,y):0===p.length&&(p=null),p&&this._isConsumeData()&&p.forEach((function(e){e[a.$consumed]=!0}))}else{if(!l.name){this._setAndBind(l,t);continue}if(this._isConsumeData()){for(var k=[];k.length<y;){var w=this._findDataByNameToConsume(l.name,l[a.$hasSettableValue](),t,u);if(!w)break;w[a.$consumed]=!0,k.push(w)}p=k.length>0?k:null}else{if(!(p=t[a.$getRealChildrenByNameIt](l.name,!1,this.emptyMerge).next().value)){if(0===b){r.push(l);continue}var x=t[a.$namespaceId]===c?-1:t[a.$namespaceId];p=l[a.$data]=new a.XmlObject(x,l.name),this.emptyMerge&&(p[a.$consumed]=!0),t[a.$appendChild](p),this._setAndBind(l,p);continue}this.emptyMerge&&(p[a.$consumed]=!0),p=[p]}}p?this._bindOccurrences(l,p,h):b>0?this._setAndBind(l,t):r.push(l)}}else{this._mergeMode="consumeData"===l.mergeMode;var S=t[a.$getChildren]();if(S.length>0)this._bindOccurrences(l,[S[0]],null);else if(this.emptyMerge){var A=t[a.$namespaceId]===c?-1:t[a.$namespaceId],C=l[a.$data]=new a.XmlObject(A,l.name||"root");t[a.$appendChild](C),this._bindElement(l,C)}}}}catch(F){o.e(F)}finally{o.f()}r.forEach((function(e){return e[a.$getParent]()[a.$removeChild](e)}))}}])}();t.Binder=u},function(e,t,r){var a=h().mark(M);Object.defineProperty(t,"__esModule",{value:!0}),t.Value=t.Text=t.TemplateNamespace=t.Template=t.SetProperty=t.Items=t.Field=t.BindItems=void 0;var n=r(77),s=r(79),c=r(83),f=r(84),p=r(78),b=r(2),y=r(85),k=r(6),w=r(80),x=s.NamespaceIds.template.id,S="http://www.w3.org/2000/svg",A=/^H(\d+)$/,C=new Set(["image/gif","image/jpeg","image/jpg","image/pjpeg","image/png","image/apng","image/x-png","image/bmp","image/x-ms-bmp","image/tiff","image/tif","application/octet-stream"]),F=[[[66,77],"image/bmp"],[[255,216,255],"image/jpeg"],[[73,73,42,0],"image/tiff"],[[77,77,0,42],"image/tiff"],[[71,73,70,56,57,97],"image/gif"],[[137,80,78,71,13,10,26,10],"image/png"]];function O(e){if(!e||!e.border)return{w:0,h:0};var t=e.border[n.$getExtra]();return t?{w:t.widths[0]+t.widths[2]+t.insets[0]+t.insets[2],h:t.widths[1]+t.widths[3]+t.insets[1]+t.insets[3]}:{w:0,h:0}}function I(e){return e.margin&&(e.margin.topInset||e.margin.rightInset||e.margin.bottomInset||e.margin.leftInset)}function T(e,t){if(!e.value){var r=new Ht({});e[n.$appendChild](r),e.value=r}e.value[n.$setValue](t)}function M(e){var t,r,i;return h().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:t=d(e[n.$getChildren]()),a.prev=1,t.s();case 3:if((r=t.n()).done){a.next=12;break}if(!((i=r.value)instanceof Tt)){a.next=8;break}return a.delegateYield(i[n.$getContainedChildren](),"t0",7);case 7:return a.abrupt("continue",10);case 8:return a.next=10,i;case 10:a.next=3;break;case 12:a.next=17;break;case 14:a.prev=14,a.t1=a.catch(1),t.e(a.t1);case 17:return a.prev=17,t.f(),a.finish(17);case 20:case"end":return a.stop()}}),a,null,[[1,14,17,20]])}function P(e){return e.validate&&"error"===e.validate.nullTest}function E(e){for(;e;){if(!e.traversal)return void(e[n.$tabIndex]=e[n.$getParent]()[n.$tabIndex]);if(e[n.$tabIndex])return;var t,r=null,a=d(e.traversal[n.$getChildren]());try{for(a.s();!(t=a.n()).done;){var i=t.value;if("next"===i.operation){r=i;break}}}catch(c){a.e(c)}finally{a.f()}if(!r||!r.ref)return void(e[n.$tabIndex]=e[n.$getParent]()[n.$tabIndex]);var o=e[n.$getTemplateRoot]();e[n.$tabIndex]=++o[n.$tabIndex];var s=o[n.$searchNode](r.ref,e);if(!s)return;e=s[0]}}function N(e,t){var r=e.assist;if(r){var a=r[n.$toHTML]();a&&(t.title=a);var i=r.role.match(A);if(i){var o=i[1];t.role="heading",t["aria-level"]=o}}if("table"===e.layout)t.role="table";else if("row"===e.layout)t.role="row";else{var s=e[n.$getParent]();"row"===s.layout&&(s.assist&&"TH"===s.assist.role?t.role="columnheader":t.role="cell")}}function D(e){if(!e.assist)return null;var t=e.assist;return t.speak&&""!==t.speak[n.$content]?t.speak[n.$content]:t.toolTip?t.toolTip[n.$content]:null}function B(e){return p.HTMLResult.success({name:"div",attributes:{class:["xfaRich"],style:Object.create(null)},children:[{name:"span",attributes:{style:Object.create(null)},value:e}]})}function L(e){var t=e[n.$getTemplateRoot]();null===t[n.$extra].firstUnsplittable&&(t[n.$extra].firstUnsplittable=e,t[n.$extra].noLayoutFailure=!0)}function R(e){var t=e[n.$getTemplateRoot]();t[n.$extra].firstUnsplittable===e&&(t[n.$extra].noLayoutFailure=!1)}function _(e){if(e[n.$extra])return!1;if(e[n.$extra]=Object.create(null),"auto"===e.targetType)return!1;var t=e[n.$getTemplateRoot](),r=null;if(e.target){if(!(r=t[n.$searchNode](e.target,e[n.$getParent]())))return!1;r=r[0]}var a=t[n.$extra],i=a.currentPageArea,o=a.currentContentArea;if("pageArea"===e.targetType)return r instanceof ct||(r=null),e.startNew?(e[n.$extra].target=r||i,!0):!(!r||r===i)&&(e[n.$extra].target=r,!0);r instanceof le||(r=null);var s,c=r&&r[n.$getParent](),l=c;
2if(e.startNew)if(r){var u=c.contentArea.children,h=u.indexOf(o),f=u.indexOf(r);-1!==h&&h<f&&(l=null),s=f-1}else s=i.contentArea.children.indexOf(o);else{if(!r||r===o)return!1;s=c.contentArea.children.indexOf(r)-1,l=c===i?null:c}return e[n.$extra].target=l,e[n.$extra].index=s,!0}function j(e,t,r){var a=e[n.$getTemplateRoot](),i=a[n.$extra].noLayoutFailure,o=t[n.$getSubformParent];t[n.$getSubformParent]=function(){return e},a[n.$extra].noLayoutFailure=!0;var s=t[n.$toHTML](r);e[n.$addHTML](s.html,s.bbox),a[n.$extra].noLayoutFailure=i,t[n.$getSubformParent]=o}var U=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[x,"appearanceFilter"])).id=e.id||"",r.type=(0,p.getStringOption)(e.type,["optional","required"]),r.use=e.use||"",r.usehref=e.usehref||"",r}return u(t,e),v(t)}(n.StringObject),$=function(e,t){function r(e){var t;return m(this,r),(t=l(this,r,[x,"arc",!0])).circular=(0,p.getInteger)({data:e.circular,defaultValue:0,validate:function(e){return 1===e}}),t.hand=(0,p.getStringOption)(e.hand,["even","left","right"]),t.id=e.id||"",t.startAngle=(0,p.getFloat)({data:e.startAngle,defaultValue:0,validate:function(e){return!0}}),t.sweepAngle=(0,p.getFloat)({data:e.sweepAngle,defaultValue:360,validate:function(e){return!0}}),t.use=e.use||"",t.usehref=e.usehref||"",t.edge=null,t.fill=null,t}return u(r,e),v(r,[{key:t,value:function(){var e,t=this.edge||new ke({}),r=t[n.$toStyle](),a=Object.create(null);this.fill&&"visible"===this.fill.presence?Object.assign(a,this.fill[n.$toStyle]()):a.fill="transparent",a.strokeWidth=(0,f.measureToString)("visible"===t.presence?t.thickness:0),a.stroke=r.color;var i={xmlns:S,style:{width:"100%",height:"100%",overflow:"visible"}};if(360===this.sweepAngle)e={name:"ellipse",attributes:{xmlns:S,cx:"50%",cy:"50%",rx:"50%",ry:"50%",style:a}};else{var o=this.startAngle*Math.PI/180,s=this.sweepAngle*Math.PI/180,c=this.sweepAngle>180?1:0,l=50*(1+Math.cos(o)),u=50*(1-Math.sin(o)),h=50*(1+Math.cos(o+s)),d=50*(1-Math.sin(o+s));e={name:"path",attributes:{xmlns:S,d:"M ".concat(l," ").concat(u," A 50 50 0 ").concat(c," 0 ").concat(h," ").concat(d),vectorEffect:"non-scaling-stroke",style:a}},Object.assign(i,{viewBox:"0 0 100 100",preserveAspectRatio:"none"})}var g={name:"svg",children:[e],attributes:i};return I(this[n.$getParent]()[n.$getParent]())?p.HTMLResult.success({name:"div",attributes:{style:{display:"inline",width:"100%",height:"100%"}},children:[g]}):(g.attributes.style.position="absolute",p.HTMLResult.success(g))}}])}(n.XFAObject,n.$toHTML),X=function(e,t,r,a,i,o,s){function c(e){var t;return m(this,c),(t=l(this,c,[x,"area",!0])).colSpan=(0,p.getInteger)({data:e.colSpan,defaultValue:1,validate:function(e){return e>=1||-1===e}}),t.id=e.id||"",t.name=e.name||"",t.relevant=(0,p.getRelevant)(e.relevant),t.use=e.use||"",t.usehref=e.usehref||"",t.x=(0,p.getMeasurement)(e.x,"0pt"),t.y=(0,p.getMeasurement)(e.y,"0pt"),t.desc=null,t.extras=null,t.area=new n.XFAObjectArray,t.draw=new n.XFAObjectArray,t.exObject=new n.XFAObjectArray,t.exclGroup=new n.XFAObjectArray,t.field=new n.XFAObjectArray,t.subform=new n.XFAObjectArray,t.subformSet=new n.XFAObjectArray,t}return u(c,e),v(c,[{key:t,value:h().mark((function e(){return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.delegateYield(M(this),"t0",1);case 1:case"end":return e.stop()}}),e,this)}))},{key:r,value:function(){return!0}},{key:a,value:function(){return!0}},{key:i,value:function(e,t){var r=g(t,4),a=r[0],i=r[1],o=r[2],s=r[3];this[n.$extra].width=Math.max(this[n.$extra].width,a+o),this[n.$extra].height=Math.max(this[n.$extra].height,i+s),this[n.$extra].children.push(e)}},{key:o,value:function(){return this[n.$extra].availableSpace}},{key:s,value:function(e){var t=(0,f.toStyle)(this,"position"),r={style:t,id:this[n.$uid],class:["xfaArea"]};(0,f.isPrintOnly)(this)&&r.class.push("xfaPrintOnly"),this.name&&(r.xfaName=this.name);var a=[];this[n.$extra]={children:a,width:0,height:0,availableSpace:e};var i=this[n.$childrenToHTML]({filter:new Set(["area","draw","field","exclGroup","subform","subformSet"]),include:!0});if(!i.success)return i.isBreak()?i:(delete this[n.$extra],p.HTMLResult.FAILURE);t.width=(0,f.measureToString)(this[n.$extra].width),t.height=(0,f.measureToString)(this[n.$extra].height);var o={name:"div",attributes:r,children:a},s=[this.x,this.y,this[n.$extra].width,this[n.$extra].height];return delete this[n.$extra],p.HTMLResult.success(o,s)}}])}(n.XFAObject,n.$getContainedChildren,n.$isTransparent,n.$isBindable,n.$addHTML,n.$getAvailableSpace,n.$toHTML),H=function(e,t){function r(e){var t;return m(this,r),(t=l(this,r,[x,"assist",!0])).id=e.id||"",t.role=e.role||"",t.use=e.use||"",t.usehref=e.usehref||"",t.speak=null,t.toolTip=null,t}
2return u(r,e),v(r,[{key:t,value:function(){return this.toolTip&&this.toolTip[n.$content]?this.toolTip[n.$content]:null}}])}(n.XFAObject,n.$toHTML),q=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[x,"barcode",!0])).charEncoding=(0,p.getKeyword)({data:e.charEncoding?e.charEncoding.toLowerCase():"",defaultValue:"",validate:function(e){return["utf-8","big-five","fontspecific","gbk","gb-18030","gb-2312","ksc-5601","none","shift-jis","ucs-2","utf-16"].includes(e)||e.match(/iso-8859-\d{2}/)}}),r.checksum=(0,p.getStringOption)(e.checksum,["none","1mod10","1mod10_1mod11","2mod10","auto"]),r.dataColumnCount=(0,p.getInteger)({data:e.dataColumnCount,defaultValue:-1,validate:function(e){return e>=0}}),r.dataLength=(0,p.getInteger)({data:e.dataLength,defaultValue:-1,validate:function(e){return e>=0}}),r.dataPrep=(0,p.getStringOption)(e.dataPrep,["none","flateCompress"]),r.dataRowCount=(0,p.getInteger)({data:e.dataRowCount,defaultValue:-1,validate:function(e){return e>=0}}),r.endChar=e.endChar||"",r.errorCorrectionLevel=(0,p.getInteger)({data:e.errorCorrectionLevel,defaultValue:-1,validate:function(e){return e>=0&&e<=8}}),r.id=e.id||"",r.moduleHeight=(0,p.getMeasurement)(e.moduleHeight,"5mm"),r.moduleWidth=(0,p.getMeasurement)(e.moduleWidth,"0.25mm"),r.printCheckDigit=(0,p.getInteger)({data:e.printCheckDigit,defaultValue:0,validate:function(e){return 1===e}}),r.rowColumnRatio=(0,p.getRatio)(e.rowColumnRatio),r.startChar=e.startChar||"",r.textLocation=(0,p.getStringOption)(e.textLocation,["below","above","aboveEmbedded","belowEmbedded","none"]),r.truncate=(0,p.getInteger)({data:e.truncate,defaultValue:0,validate:function(e){return 1===e}}),r.type=(0,p.getStringOption)(e.type?e.type.toLowerCase():"",["aztec","codabar","code2of5industrial","code2of5interleaved","code2of5matrix","code2of5standard","code3of9","code3of9extended","code11","code49","code93","code128","code128a","code128b","code128c","code128sscc","datamatrix","ean8","ean8add2","ean8add5","ean13","ean13add2","ean13add5","ean13pwcd","fim","logmars","maxicode","msi","pdf417","pdf417macro","plessey","postauscust2","postauscust3","postausreplypaid","postausstandard","postukrm4scc","postusdpbc","postusimb","postusstandard","postus5zip","qrcode","rfid","rss14","rss14expanded","rss14limited","rss14stacked","rss14stackedomni","rss14truncated","telepen","ucc128","ucc128random","ucc128sscc","upca","upcaadd2","upcaadd5","upcapwcd","upce","upceadd2","upceadd5","upcean2","upcean5","upsmaxicode"]),r.upsMode=(0,p.getStringOption)(e.upsMode,["usCarrier","internationalCarrier","secureSymbol","standardSymbol"]),r.use=e.use||"",r.usehref=e.usehref||"",r.wideNarrowRatio=(0,p.getRatio)(e.wideNarrowRatio),r.encrypt=null,r.extras=null,r}return u(t,e),v(t)}(n.XFAObject),z=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[x,"bind",!0])).match=(0,p.getStringOption)(e.match,["once","dataRef","global","none"]),r.ref=e.ref||"",r.picture=null,r}return u(t,e),v(t)}(n.XFAObject),G=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[x,"bindItems"])).connection=e.connection||"",r.labelRef=e.labelRef||"",r.ref=e.ref||"",r.valueRef=e.valueRef||"",r}return u(t,e),v(t)}(n.XFAObject);t.BindItems=G;var W=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[x,"bookend"])).id=e.id||"",r.leader=e.leader||"",r.trailer=e.trailer||"",r.use=e.use||"",r.usehref=e.usehref||"",r}return u(t,e),v(t)}(n.XFAObject),V=function(e,t){function r(e){var t;return m(this,r),(t=l(this,r,[x,"boolean"])).id=e.id||"",t.name=e.name||"",t.use=e.use||"",t.usehref=e.usehref||"",t}return u(r,e),v(r,[{key:t,value:function(e){return B(1===this[n.$content]?"1":"0")}}])}(n.Option01,n.$toHTML),K=function(e,t,r){function a(e){var t;return m(this,a),(t=l(this,a,[x,"border",!0])).break=(0,p.getStringOption)(e.break,["close","open"]),t.hand=(0,p.getStringOption)(e.hand,["even","left","right"]),t.id=e.id||"",t.presence=(0,p.getStringOption)(e.presence,["visible","hidden","inactive","invisible"]),t.relevant=(0,p.getRelevant)(e.relevant),t.use=e.use||"",t.usehref=e.usehref||"",t.corner=new n.XFAObjectArray(4),t.edge=new n.XFAObjectArray(4),t.extras=null,t.fill=null,t.margin=null,t}return u(a,e),v(a,[{key:t,value:function(){if(!this[n.$extra]){var e=this.edge.children.slice();if(e.length<4)for(var t=e.at(-1)||new ke({}),r=e.length;r<4;r++)e.push(t);var a=e.map((function(e){return e.thickness})),i=[0,0,0,0];this.margin&&(i[0]=this.margin.topInset,i[1]=this.margin.rightInset,i[2]=this.margin.bottomInset,i[3]=this.margin.leftInset),this[n.$extra]={widths:a,insets:i,edges:e}}return this[n.$extra]}},{key:r,value:function(){var e=this[n.$getExtra]().edges.map((function(e){var t=e[n.$toStyle]();return t.color=t.color||"#000000",t})),t=Object.create(null);if(this.margin&&Object.assign(t,this.margin[n.$toStyle]()),this.fill&&"visible"===this.fill.presence&&Object.assign(t,this.fill[n.$toStyle]()),this.corner.children.some((function(e){return 0!==e.radius}))){var r=this.corner.children.map((function(e){return e[n.$toStyle]()}));if(2===r.length||3===r.length)for(var a=r.at(-1),i=r.length;i<4;i++)r.push(a);t.borderRadius=r.map((function(e){return e.radius})).join(" ")}switch(this.presence){case"invisible":case"hidden":t.borderStyle="";break;case"inactive":t.borderStyle="none";break;default:t.borderStyle=e.map((function(e){return e.style})).join(" ")}return t.borderWidth=e.map((function(e){return e.width})).join(" "),t.borderColor=e.map((function(e){return e.color})).join(" "),t}}])}(n.XFAObject,n.$getExtra,n.$toStyle),Y=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[x,"break",!0])).after=(0,p.getStringOption)(e.after,["auto","contentArea","pageArea","pageEven","pageOdd"]),r.afterTarget=e.afterTarget||"",r.before=(0,p.getStringOption)(e.before,["auto","contentArea","pageArea","pageEven","pageOdd"]),r.beforeTarget=e.beforeTarget||"",r.bookendLeader=e.bookendLeader||"",r.bookendTrailer=e.bookendTrailer||"",r.id=e.id||"",r.overflowLeader=e.overflowLeader||"",r.overflowTarget=e.overflowTarget||"",r.overflowTrailer=e.overflowTrailer||"",r.startNew=(0,p.getInteger)({data:e.startNew,defaultValue:0,validate:function(e){return 1===e}}),r.use=e.use||"",r.usehref=e.usehref||"",r.extras=null,r}return u(t,e),v(t)}(n.XFAObject),J=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[x,"breakAfter",!0])).id=e.id||"",r.leader=e.leader||"",r.startNew=(0,p.getInteger)({data:e.startNew,defaultValue:0,validate:function(e){return 1===e}}),r.target=e.target||"",r.targetType=(0,p.getStringOption)(e.targetType,["auto","contentArea","pageArea"]),r.trailer=e.trailer||"",r.use=e.use||"",r.usehref=e.usehref||"",r.script=null,r}return u(t,e),v(t)}(n.XFAObject),Z=function(e,t){function r(e){var t;return m(this,r),(t=l(this,r,[x,"breakBefore",!0])).id=e.id||"",t.leader=e.leader||"",t.startNew=(0,p.getInteger)({data:e.startNew,defaultValue:0,validate:function(e){return 1===e}}),t.target=e.target||"",t.targetType=(0,p.getStringOption)(e.targetType,["auto","contentArea","pageArea"]),t.trailer=e.trailer||"",t.use=e.use||"",t.usehref=e.usehref||"",t.script=null,t}
2return u(r,e),v(r,[{key:t,value:function(e){return this[n.$extra]={},p.HTMLResult.FAILURE}}])}(n.XFAObject,n.$toHTML),Q=function(e,t){function r(e){var t;return m(this,r),(t=l(this,r,[x,"button",!0])).highlight=(0,p.getStringOption)(e.highlight,["inverted","none","outline","push"]),t.id=e.id||"",t.use=e.use||"",t.usehref=e.usehref||"",t.extras=null,t}return u(r,e),v(r,[{key:t,value:function(e){var t,r=this[n.$getParent]()[n.$getParent](),a={name:"button",attributes:{id:this[n.$uid],class:["xfaButton"],style:{}},children:[]},i=d(r.event.children);try{for(i.s();!(t=i.n()).done;){var o=t.value;if("click"===o.activity&&o.script){var s=(0,k.recoverJsURL)(o.script[n.$content]);if(s){var c=(0,f.fixURL)(s.url);c&&a.children.push({name:"a",attributes:{id:"link"+this[n.$uid],href:c,newWindow:s.newWindow,class:["xfaLink"],style:{}},children:[]})}}}}catch(l){i.e(l)}finally{i.f()}return p.HTMLResult.success(a)}}])}(n.XFAObject,n.$toHTML),ee=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[x,"calculate",!0])).id=e.id||"",r.override=(0,p.getStringOption)(e.override,["disabled","error","ignore","warning"]),r.use=e.use||"",r.usehref=e.usehref||"",r.extras=null,r.message=null,r.script=null,r}return u(t,e),v(t)}(n.XFAObject),te=function(e,t,r,a){function i(e){var t;return m(this,i),(t=l(this,i,[x,"caption",!0])).id=e.id||"",t.placement=(0,p.getStringOption)(e.placement,["left","bottom","inline","right","top"]),t.presence=(0,p.getStringOption)(e.presence,["visible","hidden","inactive","invisible"]),t.reserve=Math.ceil((0,p.getMeasurement)(e.reserve)),t.use=e.use||"",t.usehref=e.usehref||"",t.extras=null,t.font=null,t.margin=null,t.para=null,t.value=null,t}return u(i,e),v(i,[{key:t,value:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e){T(this,e)}))},{key:r,value:function(e){if(!this[n.$extra]){var t=e.width,r=e.height;switch(this.placement){case"left":case"right":case"inline":t=this.reserve<=0?t:this.reserve;break;case"top":case"bottom":r=this.reserve<=0?r:this.reserve}this[n.$extra]=(0,f.layoutNode)(this,{width:t,height:r})}return this[n.$extra]}},{key:a,value:function(e){if(!this.value)return p.HTMLResult.EMPTY;this[n.$pushPara]();var t=this.value[n.$toHTML](e).html;if(!t)return this[n.$popPara](),p.HTMLResult.EMPTY;var r=this.reserve;if(this.reserve<=0){var a=this[n.$getExtra](e),i=a.w,o=a.h;switch(this.placement){case"left":case"right":case"inline":this.reserve=i;break;case"top":case"bottom":this.reserve=o}}var s=[];"string"===typeof t?s.push({name:"#text",value:t}):s.push(t);var c=(0,f.toStyle)(this,"font","margin","visibility");switch(this.placement){case"left":case"right":this.reserve>0&&(c.width=(0,f.measureToString)(this.reserve));break;case"top":case"bottom":this.reserve>0&&(c.height=(0,f.measureToString)(this.reserve))}return(0,f.setPara)(this,null,t),this[n.$popPara](),this.reserve=r,p.HTMLResult.success({name:"div",attributes:{style:c,class:["xfaCaption"]},children:s})}}])}(n.XFAObject,n.$setValue,n.$getExtra,n.$toHTML),re=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[x,"certificate"])).id=e.id||"",r.name=e.name||"",r.use=e.use||"",r.usehref=e.usehref||"",r}return u(t,e),v(t)}(n.StringObject),ae=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[x,"certificates",!0])).credentialServerPolicy=(0,p.getStringOption)(e.credentialServerPolicy,["optional","required"]),r.id=e.id||"",r.url=e.url||"",r.urlPolicy=e.urlPolicy||"",r.use=e.use||"",r.usehref=e.usehref||"",r.encryption=null,r.issuers=null,r.keyUsage=null,r.oids=null,r.signing=null,r.subjectDNs=null,r}return u(t,e),v(t)}(n.XFAObject),ne=function(e,t){function r(e){var t;return m(this,r),(t=l(this,r,[x,"checkButton",!0])).id=e.id||"",t.mark=(0,p.getStringOption)(e.mark,["default","check","circle","cross","diamond","square","star"]),t.shape=(0,p.getStringOption)(e.shape,["square","round"]),t.size=(0,p.getMeasurement)(e.size,"10pt"),t.use=e.use||"",t.usehref=e.usehref||"",t.border=null,t.extras=null,t.margin=null,t}return u(r,e),v(r,[{key:t,value:function(e){var t,r,a,i=(0,f.toStyle)("margin"),o=(0,f.measureToString)(this.size);i.width=i.height=o;var s,c=this[n.$getParent]()[n.$getParent](),l=c.items.children.length&&c.items.children[0][n.$toHTML]().html||[],u={on:(void 0!==l[0]?l[0]:"on").toString(),off:(void 0!==l[1]?l[1]:"off").toString()},h=c.value&&c.value[n.$text]()||"off",d=h===u.on||void 0,g=c[n.$getSubformParent](),m=c[n.$uid];g instanceof Pe?(a=g[n.$uid],t="radio",r="xfaRadio",s=g[n.$data]&&g[n.$data][n.$uid]||g[n.$uid]):(t="checkbox",r="xfaCheckbox",s=c[n.$data]&&c[n.$data][n.$uid]||c[n.$uid]);var v={name:"input",attributes:{class:[r],style:i,fieldId:m,dataId:s,type:t,checked:d,xfaOn:u.on,xfaOff:u.off,"aria-label":D(c),"aria-required":!1}};return a&&(v.attributes.name=a),P(c)&&(v.attributes["aria-required"]=!0,v.attributes.required=!0),p.HTMLResult.success({name:"label",attributes:{class:["xfaLabel"]},children:[v]})}}])}(n.XFAObject,n.$toHTML),ie=function(e,t){function r(e){var t;return m(this,r),(t=l(this,r,[x,"choiceList",!0])).commitOn=(0,p.getStringOption)(e.commitOn,["select","exit"]),t.id=e.id||"",t.open=(0,p.getStringOption)(e.open,["userControl","always","multiSelect","onEntry"]),t.textEntry=(0,p.getInteger)({data:e.textEntry,defaultValue:0,validate:function(e){return 1===e}}),t.use=e.use||"",t.usehref=e.usehref||"",t.border=null,t.extras=null,t.margin=null,t}
2return u(r,e),v(r,[{key:t,value:function(e){var t=(0,f.toStyle)(this,"border","margin"),r=this[n.$getParent]()[n.$getParent](),a=r.font&&r.font.size||10,i={fontSize:"calc(".concat(a,"px * var(--scale-factor))")},o=[];if(r.items.children.length>0){var s=r.items,c=0,l=0;2===s.children.length&&(l=1-(c=s.children[0].save));for(var u=s.children[c][n.$toHTML]().html,h=s.children[l][n.$toHTML]().html,d=!1,g=r.value&&r.value[n.$text]()||"",m=0,v=u.length;m<v;m++){var b={name:"option",attributes:{value:h[m]||u[m],style:i},value:u[m]};h[m]===g&&(b.attributes.selected=d=!0),o.push(b)}d||o.splice(0,0,{name:"option",attributes:{hidden:!0,selected:!0},value:" "})}var y={class:["xfaSelect"],fieldId:r[n.$uid],dataId:r[n.$data]&&r[n.$data][n.$uid]||r[n.$uid],style:t,"aria-label":D(r),"aria-required":!1};return P(r)&&(y["aria-required"]=!0,y.required=!0),"multiSelect"===this.open&&(y.multiple=!0),p.HTMLResult.success({name:"label",attributes:{class:["xfaLabel"]},children:[{name:"select",children:o,attributes:y}]})}}])}(n.XFAObject,n.$toHTML),oe=function(e,t,r){function a(e){var t;return m(this,a),(t=l(this,a,[x,"color",!0])).cSpace=(0,p.getStringOption)(e.cSpace,["SRGB"]),t.id=e.id||"",t.use=e.use||"",t.usehref=e.usehref||"",t.value=e.value?(0,p.getColor)(e.value):"",t.extras=null,t}return u(a,e),v(a,[{key:t,value:function(){return!1}},{key:r,value:function(){return this.value?b.Util.makeHexColor(this.value.r,this.value.g,this.value.b):null}}])}(n.XFAObject,n.$hasSettableValue,n.$toStyle),se=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[x,"comb"])).id=e.id||"",r.numberOfCells=(0,p.getInteger)({data:e.numberOfCells,defaultValue:0,validate:function(e){return e>=0}}),r.use=e.use||"",r.usehref=e.usehref||"",r}return u(t,e),v(t)}(n.XFAObject),ce=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[x,"connect",!0])).connection=e.connection||"",r.id=e.id||"",r.ref=e.ref||"",r.usage=(0,p.getStringOption)(e.usage,["exportAndImport","exportOnly","importOnly"]),r.use=e.use||"",r.usehref=e.usehref||"",r.picture=null,r}return u(t,e),v(t)}(n.XFAObject),le=function(e,t){function r(e){var t;return m(this,r),(t=l(this,r,[x,"contentArea",!0])).h=(0,p.getMeasurement)(e.h),t.id=e.id||"",t.name=e.name||"",t.relevant=(0,p.getRelevant)(e.relevant),t.use=e.use||"",t.usehref=e.usehref||"",t.w=(0,p.getMeasurement)(e.w),t.x=(0,p.getMeasurement)(e.x,"0pt"),t.y=(0,p.getMeasurement)(e.y,"0pt"),t.desc=null,t.extras=null,t}return u(r,e),v(r,[{key:t,value:function(e){var t={left:(0,f.measureToString)(this.x),top:(0,f.measureToString)(this.y),width:(0,f.measureToString)(this.w),height:(0,f.measureToString)(this.h)},r=["xfaContentarea"];return(0,f.isPrintOnly)(this)&&r.push("xfaPrintOnly"),p.HTMLResult.success({name:"div",children:[],attributes:{style:t,class:r,id:this[n.$uid]}})}}])}(n.XFAObject,n.$toHTML),ue=function(e,t){function r(e){var t;return m(this,r),(t=l(this,r,[x,"corner",!0])).id=e.id||"",t.inverted=(0,p.getInteger)({data:e.inverted,defaultValue:0,validate:function(e){return 1===e}}),t.join=(0,p.getStringOption)(e.join,["square","round"]),t.presence=(0,p.getStringOption)(e.presence,["visible","hidden","inactive","invisible"]),t.radius=(0,p.getMeasurement)(e.radius),t.stroke=(0,p.getStringOption)(e.stroke,["solid","dashDot","dashDotDot","dashed","dotted","embossed","etched","lowered","raised"]),t.thickness=(0,p.getMeasurement)(e.thickness,"0.5pt"),t.use=e.use||"",t.usehref=e.usehref||"",t.color=null,t.extras=null,t}return u(r,e),v(r,[{key:t,value:function(){var e=(0,f.toStyle)(this,"visibility");return e.radius=(0,f.measureToString)("square"===this.join?0:this.radius),e}}])}(n.XFAObject,n.$toStyle),he=function(e,t,r){function a(e){var t;return m(this,a),(t=l(this,a,[x,"date"])).id=e.id||"",t.name=e.name||"",t.use=e.use||"",t.usehref=e.usehref||"",t}return u(a,e),v(a,[{key:t,value:function(){var e=this[n.$content].trim();this[n.$content]=e?new Date(e):null}},{key:r,value:function(e){return B(this[n.$content]?this[n.$content].toString():"")}}])}(n.ContentObject,n.$finalize,n.$toHTML),fe=function(e,t,r){function a(e){var t;return m(this,a),(t=l(this,a,[x,"dateTime"])).id=e.id||"",t.name=e.name||"",t.use=e.use||"",t.usehref=e.usehref||"",t}return u(a,e),v(a,[{key:t,value:function(){var e=this[n.$content].trim();this[n.$content]=e?new Date(e):null}},{key:r,value:function(e){return B(this[n.$content]?this[n.$content].toString():"")}}])}(n.ContentObject,n.$finalize,n.$toHTML),de=function(e,t){function r(e){var t;
2return m(this,r),(t=l(this,r,[x,"dateTimeEdit",!0])).hScrollPolicy=(0,p.getStringOption)(e.hScrollPolicy,["auto","off","on"]),t.id=e.id||"",t.picker=(0,p.getStringOption)(e.picker,["host","none"]),t.use=e.use||"",t.usehref=e.usehref||"",t.border=null,t.comb=null,t.extras=null,t.margin=null,t}return u(r,e),v(r,[{key:t,value:function(e){var t=(0,f.toStyle)(this,"border","font","margin"),r=this[n.$getParent]()[n.$getParent](),a={name:"input",attributes:{type:"text",fieldId:r[n.$uid],dataId:r[n.$data]&&r[n.$data][n.$uid]||r[n.$uid],class:["xfaTextfield"],style:t,"aria-label":D(r),"aria-required":!1}};return P(r)&&(a.attributes["aria-required"]=!0,a.attributes.required=!0),p.HTMLResult.success({name:"label",attributes:{class:["xfaLabel"]},children:[a]})}}])}(n.XFAObject,n.$toHTML),ge=function(e,t,r){function a(e){var t;return m(this,a),(t=l(this,a,[x,"decimal"])).fracDigits=(0,p.getInteger)({data:e.fracDigits,defaultValue:2,validate:function(e){return!0}}),t.id=e.id||"",t.leadDigits=(0,p.getInteger)({data:e.leadDigits,defaultValue:-1,validate:function(e){return!0}}),t.name=e.name||"",t.use=e.use||"",t.usehref=e.usehref||"",t}return u(a,e),v(a,[{key:t,value:function(){var e=parseFloat(this[n.$content].trim());this[n.$content]=isNaN(e)?null:e}},{key:r,value:function(e){return B(null!==this[n.$content]?this[n.$content].toString():"")}}])}(n.ContentObject,n.$finalize,n.$toHTML),pe=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[x,"defaultUi",!0])).id=e.id||"",r.use=e.use||"",r.usehref=e.usehref||"",r.extras=null,r}return u(t,e),v(t)}(n.XFAObject),me=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[x,"desc",!0])).id=e.id||"",r.use=e.use||"",r.usehref=e.usehref||"",r.boolean=new n.XFAObjectArray,r.date=new n.XFAObjectArray,r.dateTime=new n.XFAObjectArray,r.decimal=new n.XFAObjectArray,r.exData=new n.XFAObjectArray,r.float=new n.XFAObjectArray,r.image=new n.XFAObjectArray,r.integer=new n.XFAObjectArray,r.text=new n.XFAObjectArray,r.time=new n.XFAObjectArray,r}return u(t,e),v(t)}(n.XFAObject),ve=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[x,"digestMethod",["","SHA1","SHA256","SHA512","RIPEMD160"]])).id=e.id||"",r.use=e.use||"",r.usehref=e.usehref||"",r}return u(t,e),v(t)}(n.OptionObject),be=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[x,"digestMethods",!0])).id=e.id||"",r.type=(0,p.getStringOption)(e.type,["optional","required"]),r.use=e.use||"",r.usehref=e.usehref||"",r.digestMethod=new n.XFAObjectArray,r}return u(t,e),v(t)}(n.XFAObject),ye=function(e,t,r){function a(e){var t;return m(this,a),(t=l(this,a,[x,"draw",!0])).anchorType=(0,p.getStringOption)(e.anchorType,["topLeft","bottomCenter","bottomLeft","bottomRight","middleCenter","middleLeft","middleRight","topCenter","topRight"]),t.colSpan=(0,p.getInteger)({data:e.colSpan,defaultValue:1,validate:function(e){return e>=1||-1===e}}),t.h=e.h?(0,p.getMeasurement)(e.h):"",t.hAlign=(0,p.getStringOption)(e.hAlign,["left","center","justify","justifyAll","radix","right"]),t.id=e.id||"",t.locale=e.locale||"",t.maxH=(0,p.getMeasurement)(e.maxH,"0pt"),t.maxW=(0,p.getMeasurement)(e.maxW,"0pt"),t.minH=(0,p.getMeasurement)(e.minH,"0pt"),t.minW=(0,p.getMeasurement)(e.minW,"0pt"),t.name=e.name||"",t.presence=(0,p.getStringOption)(e.presence,["visible","hidden","inactive","invisible"]),t.relevant=(0,p.getRelevant)(e.relevant),t.rotate=(0,p.getInteger)({data:e.rotate,defaultValue:0,validate:function(e){return e%90===0}}),t.use=e.use||"",t.usehref=e.usehref||"",t.w=e.w?(0,p.getMeasurement)(e.w):"",t.x=(0,p.getMeasurement)(e.x,"0pt"),t.y=(0,p.getMeasurement)(e.y,"0pt"),t.assist=null,t.border=null,t.caption=null,t.desc=null,t.extras=null,t.font=null,t.keep=null,t.margin=null,t.para=null,t.traversal=null,t.ui=null,t.value=null,t.setProperty=new n.XFAObjectArray,t}return u(a,e),v(a,[{key:t,value:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e){T(this,e)}))},{key:r,value:function(e){if(E(this),"hidden"===this.presence||"inactive"===this.presence)return p.HTMLResult.EMPTY;(0,f.fixDimensions)(this),this[n.$pushPara]();var t=this.w,r=this.h,a=(0,f.layoutNode)(this,e),i=a.w,o=a.h,s=a.isBroken;if(i&&""===this.w){if(s&&this[n.$getSubformParent]()[n.$isThereMoreWidth]())return this[n.$popPara](),p.HTMLResult.FAILURE;this.w=i}if(o&&""===this.h&&(this.h=o),L(this),!(0,c.checkDimensions)(this,e))return this.w=t,this.h=r,this[n.$popPara](),p.HTMLResult.FAILURE;R(this);var l=(0,f.toStyle)(this,"font","hAlign","dimensions","position","presence","rotate","anchorType","border","margin");(0,f.setMinMaxDimensions)(this,l),l.margin&&(l.padding=l.margin,delete l.margin);var u=["xfaDraw"];this.font&&u.push("xfaFont"),(0,f.isPrintOnly)(this)&&u.push("xfaPrintOnly");var h={style:l,id:this[n.$uid],class:u};this.name&&(h.xfaName=this.name);var d={name:"div",attributes:h,children:[]};N(this,h);var g=(0,f.computeBbox)(this,d,e),m=this.value?this.value[n.$toHTML](e).html:null;return null===m?(this.w=t,this.h=r,this[n.$popPara](),p.HTMLResult.success((0,f.createWrapper)(this,d),g)):(d.children.push(m),(0,f.setPara)(this,l,m),this.w=t,this.h=r,this[n.$popPara](),p.HTMLResult.success((0,f.createWrapper)(this,d),g))}}])}(n.XFAObject,n.$setValue,n.$toHTML),ke=function(e,t){function r(e){var t;
2return m(this,r),(t=l(this,r,[x,"edge",!0])).cap=(0,p.getStringOption)(e.cap,["square","butt","round"]),t.id=e.id||"",t.presence=(0,p.getStringOption)(e.presence,["visible","hidden","inactive","invisible"]),t.stroke=(0,p.getStringOption)(e.stroke,["solid","dashDot","dashDotDot","dashed","dotted","embossed","etched","lowered","raised"]),t.thickness=(0,p.getMeasurement)(e.thickness,"0.5pt"),t.use=e.use||"",t.usehref=e.usehref||"",t.color=null,t.extras=null,t}return u(r,e),v(r,[{key:t,value:function(){var e=(0,f.toStyle)(this,"visibility");if(Object.assign(e,{linecap:this.cap,width:(0,f.measureToString)(this.thickness),color:this.color?this.color[n.$toStyle]():"#000000",style:""}),"visible"!==this.presence)e.style="none";else switch(this.stroke){case"solid":e.style="solid";break;case"dashDot":case"dashDotDot":case"dashed":e.style="dashed";break;case"dotted":e.style="dotted";break;case"embossed":e.style="ridge";break;case"etched":e.style="groove";break;case"lowered":e.style="inset";break;case"raised":e.style="outset"}return e}}])}(n.XFAObject,n.$toStyle),we=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[x,"encoding",["adbe.x509.rsa_sha1","adbe.pkcs7.detached","adbe.pkcs7.sha1"]])).id=e.id||"",r.use=e.use||"",r.usehref=e.usehref||"",r}return u(t,e),v(t)}(n.OptionObject),xe=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[x,"encodings",!0])).id=e.id||"",r.type=(0,p.getStringOption)(e.type,["optional","required"]),r.use=e.use||"",r.usehref=e.usehref||"",r.encoding=new n.XFAObjectArray,r}return u(t,e),v(t)}(n.XFAObject),Se=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[x,"encrypt",!0])).id=e.id||"",r.use=e.use||"",r.usehref=e.usehref||"",r.certificate=null,r}return u(t,e),v(t)}(n.XFAObject),Ae=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[x,"encryptData",!0])).id=e.id||"",r.operation=(0,p.getStringOption)(e.operation,["encrypt","decrypt"]),r.target=e.target||"",r.use=e.use||"",r.usehref=e.usehref||"",r.filter=null,r.manifest=null,r}return u(t,e),v(t)}(n.XFAObject),Ce=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[x,"encryption",!0])).id=e.id||"",r.type=(0,p.getStringOption)(e.type,["optional","required"]),r.use=e.use||"",r.usehref=e.usehref||"",r.certificate=new n.XFAObjectArray,r}return u(t,e),v(t)}(n.XFAObject),Fe=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[x,"encryptionMethod",["","AES256-CBC","TRIPLEDES-CBC","AES128-CBC","AES192-CBC"]])).id=e.id||"",r.use=e.use||"",r.usehref=e.usehref||"",r}return u(t,e),v(t)}(n.OptionObject),Oe=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[x,"encryptionMethods",!0])).id=e.id||"",r.type=(0,p.getStringOption)(e.type,["optional","required"]),r.use=e.use||"",r.usehref=e.usehref||"",r.encryptionMethod=new n.XFAObjectArray,r}return u(t,e),v(t)}(n.XFAObject),Ie=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[x,"event",!0])).activity=(0,p.getStringOption)(e.activity,["click","change","docClose","docReady","enter","exit","full","indexChange","initialize","mouseDown","mouseEnter","mouseExit","mouseUp","postExecute","postOpen","postPrint","postSave","postSign","postSubmit","preExecute","preOpen","prePrint","preSave","preSign","preSubmit","ready","validationState"]),r.id=e.id||"",r.listen=(0,p.getStringOption)(e.listen,["refOnly","refAndDescendents"]),r.name=e.name||"",r.ref=e.ref||"",r.use=e.use||"",r.usehref=e.usehref||"",r.extras=null,r.encryptData=null,r.execute=null,r.script=null,r.signData=null,r.submit=null,r}return u(t,e),v(t)}(n.XFAObject),Te=function(e,t,r,a){function i(e){var t;return m(this,i),(t=l(this,i,[x,"exData"])).contentType=e.contentType||"",t.href=e.href||"",t.id=e.id||"",t.maxLength=(0,p.getInteger)({data:e.maxLength,defaultValue:-1,validate:function(e){return e>=-1}}),t.name=e.name||"",t.rid=e.rid||"",t.transferEncoding=(0,p.getStringOption)(e.transferEncoding,["none","base64","package"]),t.use=e.use||"",t.usehref=e.usehref||"",t}return u(i,e),v(i,[{key:t,value:function(){return"text/html"===this.contentType}},{key:r,value:function(e){return("text/html"===this.contentType&&e[n.$namespaceId]===s.NamespaceIds.xhtml.id||"text/xml"===this.contentType)&&(this[n.$content]=e,!0)}},{key:a,value:function(e){return"text/html"===this.contentType&&this[n.$content]?this[n.$content][n.$toHTML](e):p.HTMLResult.EMPTY}}])}(n.ContentObject,n.$isCDATAXml,n.$onChild,n.$toHTML),Me=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[x,"exObject",!0])).archive=e.archive||"",r.classId=e.classId||"",r.codeBase=e.codeBase||"",r.codeType=e.codeType||"",r.id=e.id||"",r.name=e.name||"",r.use=e.use||"",r.usehref=e.usehref||"",r.extras=null,r.boolean=new n.XFAObjectArray,r.date=new n.XFAObjectArray,r.dateTime=new n.XFAObjectArray,r.decimal=new n.XFAObjectArray,r.exData=new n.XFAObjectArray,r.exObject=ne
2w n.XFAObjectArray,r.float=new n.XFAObjectArray,r.image=new n.XFAObjectArray,r.integer=new n.XFAObjectArray,r.text=new n.XFAObjectArray,r.time=new n.XFAObjectArray,r}return u(t,e),v(t)}(n.XFAObject),Pe=function(e,t,r,a,i,o,s,h,g,b){function y(e){var t;return m(this,y),(t=l(this,y,[x,"exclGroup",!0])).access=(0,p.getStringOption)(e.access,["open","nonInteractive","protected","readOnly"]),t.accessKey=e.accessKey||"",t.anchorType=(0,p.getStringOption)(e.anchorType,["topLeft","bottomCenter","bottomLeft","bottomRight","middleCenter","middleLeft","middleRight","topCenter","topRight"]),t.colSpan=(0,p.getInteger)({data:e.colSpan,defaultValue:1,validate:function(e){return e>=1||-1===e}}),t.h=e.h?(0,p.getMeasurement)(e.h):"",t.hAlign=(0,p.getStringOption)(e.hAlign,["left","center","justify","justifyAll","radix","right"]),t.id=e.id||"",t.layout=(0,p.getStringOption)(e.layout,["position","lr-tb","rl-row","rl-tb","row","table","tb"]),t.maxH=(0,p.getMeasurement)(e.maxH,"0pt"),t.maxW=(0,p.getMeasurement)(e.maxW,"0pt"),t.minH=(0,p.getMeasurement)(e.minH,"0pt"),t.minW=(0,p.getMeasurement)(e.minW,"0pt"),t.name=e.name||"",t.presence=(0,p.getStringOption)(e.presence,["visible","hidden","inactive","invisible"]),t.relevant=(0,p.getRelevant)(e.relevant),t.use=e.use||"",t.usehref=e.usehref||"",t.w=e.w?(0,p.getMeasurement)(e.w):"",t.x=(0,p.getMeasurement)(e.x,"0pt"),t.y=(0,p.getMeasurement)(e.y,"0pt"),t.assist=null,t.bind=null,t.border=null,t.calculate=null,t.caption=null,t.desc=null,t.extras=null,t.margin=null,t.para=null,t.traversal=null,t.validate=null,t.connect=new n.XFAObjectArray,t.event=new n.XFAObjectArray,t.field=new n.XFAObjectArray,t.setProperty=new n.XFAObjectArray,t}return u(y,e),v(y,[{key:t,value:function(){return!0}},{key:r,value:function(){return!0}},{key:a,value:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e){var t,r=d(this.field.children);try{for(r.s();!(t=r.n()).done;){var a=t.value;if(!a.value){var i=new Ht({});a[n.$appendChild](i),a.value=i}a.value[n.$setValue](e)}}catch(o){r.e(o)}finally{r.f()}}))},{key:i,value:function(){return this.layout.endsWith("-tb")&&0===this[n.$extra].attempt&&this[n.$extra].numberInLine>0||this[n.$getParent]()[n.$isThereMoreWidth]()}},{key:o,value:function(){var e=this[n.$getSubformParent]();return!!e[n.$isSplittable]()&&(void 0!==this[n.$extra]._isSplittable?this[n.$extra]._isSplittable:"position"===this.layout||this.layout.includes("row")?(this[n.$extra]._isSplittable=!1,!1):(!e.layout||!e.layout.endsWith("-tb")||0===e[n.$extra].numberInLine)&&(this[n.$extra]._isSplittable=!0,!0))}},{key:s,value:function(){return(0,c.flushHTML)(this)}},{key:h,value:function(e,t){(0,c.addHTML)(this,e,t)}},{key:g,value:function(){return(0,c.getAvailableSpace)(this)}},{key:b,value:function(e){if(E(this),"hidden"===this.presence||"inactive"===this.presence||0===this.h||0===this.w)return p.HTMLResult.EMPTY;(0,f.fixDimensions)(this);var t=[],r={id:this[n.$uid],class:[]};(0,f.setAccess)(this,r.class),this[n.$extra]||(this[n.$extra]=Object.create(null)),Object.assign(this[n.$extra],{children:t,attributes:r,attempt:0,line:null,numberInLine:0,availableSpace:{width:Math.min(this.w||1/0,e.width),height:Math.min(this.h||1/0,e.height)},width:0,height:0,prevHeight:0,currentWidth:0});var a=this[n.$isSplittable]();if(a||L(this),!(0,c.checkDimensions)(this,e))return p.HTMLResult.FAILURE;var i=new Set(["field"]);if(this.layout.includes("row")){var o=this[n.$getSubformParent]().columnWidths;Array.isArray(o)&&o.length>0&&(this[n.$extra].columnWidths=o,this[n.$extra].currentColumn=0)}var s=(0,f.toStyle)(this,"anchorType","dimensions","position","presence","border","margin","hAlign"),l=["xfaExclgroup"],u=(0,f.layoutClass)(this);u&&l.push(u),(0,f.isPrintOnly)(this)&&l.push("xfaPrintOnly"),r.style=s,r.class=l,this.name&&(r.xfaName=this.name),this[n.$pushPara]();for(var h="lr-tb"===this.layout||"rl-tb"===this.layout,d=h?2:1;this[n.$extra].attempt<d;this[n.$extra].attempt++){h&&1===this[n.$extra].attempt&&(this[n.$extra].numberInLine=0);var g=this[n.$childrenToHTML]({filter:i,include:!0});if(g.success)break;if(g.isBreak())return this[n.$popPara](),g;if(h&&0===this[n.$extra].attempt&&0===this[n.$extra].numberInLine&&!this[n.$getTemplateRoot]()[n.$extra].noLayoutFailure){this[n.$extra].attempt=d;break}}if(this[n.$popPara](),a||R(this),this[n.$extra].attempt===d)return a||delete this[n.$extra],p.HTMLResult.FAILURE;var m=0,v=0;this.margin&&(m=this.margin.leftInset+this.margin.rightInset,v=this.margin.topInset+this.margin.bottomInset);var b=Math.max(this[n.$extra].width+m,this.w||0),y=Math.max(this[n.$extra].height+v,this.h||0),k=[this.x,this.y,b,y];""===this.w&&(s.width=(0,f.measureToString)(b)),""===this.h&&(s.height=(0,f.measureToString)(y));var w={name:"div",attributes:r,children:t};return N(this,r),delete this[n.$extra],p.HTMLResult.success((0,f.createWrapper)(this,w),k)}}])}(n.XFAObject,n.$isBindable,n.$hasSettableValue,n.$setValue,n.$isThereMoreWidth,n.$isSplittable,n.$flushHTML,n.$addHTML,n.$getAvailableSpace,n.$toHTML),Ee=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[x,"execute"])).connection=e.connection||"",r.executeType=(0,p.getStringOption)(e.executeType,["import","remerge"]),r.id=e.id||"",r.runAt=(0,p.getStringOption)(e.runAt,["client","both","server"]),r.use=e.use||"",r.usehref=e.usehref||"",r}return u(t,e),v(t)}(n.XFAObject),Ne=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[x,"extras",!0])).id=e.id||"",r.name=e.name||"",r.use=e.use||"",r.usehref=e.usehref||"",r.boolean=new n.XFAObjectArray,r.date=new n.XFAObjectArray,r.dateTime=new n.XFAObjectArray,r.decimal=new n.XFAObjectArray,r.exData=new n.XFAObjectArray,r.extras=new n.XFAObjectArray,r.float=ne
2w n.XFAObjectArray,r.image=new n.XFAObjectArray,r.integer=new n.XFAObjectArray,r.text=new n.XFAObjectArray,r.time=new n.XFAObjectArray,r}return u(t,e),v(t)}(n.XFAObject),De=function(e,t,r,a){function i(e){var t;return m(this,i),(t=l(this,i,[x,"field",!0])).access=(0,p.getStringOption)(e.access,["open","nonInteractive","protected","readOnly"]),t.accessKey=e.accessKey||"",t.anchorType=(0,p.getStringOption)(e.anchorType,["topLeft","bottomCenter","bottomLeft","bottomRight","middleCenter","middleLeft","middleRight","topCenter","topRight"]),t.colSpan=(0,p.getInteger)({data:e.colSpan,defaultValue:1,validate:function(e){return e>=1||-1===e}}),t.h=e.h?(0,p.getMeasurement)(e.h):"",t.hAlign=(0,p.getStringOption)(e.hAlign,["left","center","justify","justifyAll","radix","right"]),t.id=e.id||"",t.locale=e.locale||"",t.maxH=(0,p.getMeasurement)(e.maxH,"0pt"),t.maxW=(0,p.getMeasurement)(e.maxW,"0pt"),t.minH=(0,p.getMeasurement)(e.minH,"0pt"),t.minW=(0,p.getMeasurement)(e.minW,"0pt"),t.name=e.name||"",t.presence=(0,p.getStringOption)(e.presence,["visible","hidden","inactive","invisible"]),t.relevant=(0,p.getRelevant)(e.relevant),t.rotate=(0,p.getInteger)({data:e.rotate,defaultValue:0,validate:function(e){return e%90===0}}),t.use=e.use||"",t.usehref=e.usehref||"",t.w=e.w?(0,p.getMeasurement)(e.w):"",t.x=(0,p.getMeasurement)(e.x,"0pt"),t.y=(0,p.getMeasurement)(e.y,"0pt"),t.assist=null,t.bind=null,t.border=null,t.calculate=null,t.caption=null,t.desc=null,t.extras=null,t.font=null,t.format=null,t.items=new n.XFAObjectArray(2),t.keep=null,t.margin=null,t.para=null,t.traversal=null,t.ui=null,t.validate=null,t.value=null,t.bindItems=new n.XFAObjectArray,t.connect=new n.XFAObjectArray,t.event=new n.XFAObjectArray,t.setProperty=new n.XFAObjectArray,t}return u(i,e),v(i,[{key:t,value:function(){return!0}},{key:r,value:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e){T(this,e)}))},{key:a,value:function(e){if(E(this),!this.ui){var t;switch(this.ui=new $t({}),this.ui[n.$globalData]=this[n.$globalData],this[n.$appendChild](this.ui),this.items.children.length){case 0:t=new Bt({}),this.ui.textEdit=t;break;case 1:t=new ne({}),this.ui.checkButton=t;break;case 2:t=new ie({}),this.ui.choiceList=t}this.ui[n.$appendChild](t)}if(!this.ui||"hidden"===this.presence||"inactive"===this.presence||0===this.h||0===this.w)return p.HTMLResult.EMPTY;this.caption&&delete this.caption[n.$extra],this[n.$pushPara]();var r=this.caption?this.caption[n.$toHTML](e).html:null,a=this.w,i=this.h,o=0,s=0;this.margin&&(o=this.margin.leftInset+this.margin.rightInset,s=this.margin.topInset+this.margin.bottomInset);var l=null;if(""===this.w||""===this.h){var u=null,h=null,d=0,m=0;if(this.ui.checkButton)d=m=this.ui.checkButton.size;else{var v=(0,f.layoutNode)(this,e),b=v.w,k=v.h;null!==b?(d=b,m=k):m=(0,y.getMetrics)(this.font,!0).lineNoGap}if(d+=(l=O(this.ui[n.$getExtra]())).w,m+=l.h,this.caption){var w=this.caption[n.$getExtra](e),x=w.w,S=w.h;if(w.isBroken&&this[n.$getSubformParent]()[n.$isThereMoreWidth]())return this[n.$popPara](),p.HTMLResult.FAILURE;switch(u=x,h=S,this.caption.placement){case"left":case"right":case"inline":u+=d;break;case"top":case"bottom":h+=m}}else u=d,h=m;u&&""===this.w&&(u+=o,this.w=Math.min(this.maxW<=0?1/0:this.maxW,this.minW+1<u?u:this.minW)),h&&""===this.h&&(h+=s,this.h=Math.min(this.maxH<=0?1/0:this.maxH,this.minH+1<h?h:this.minH))}if(this[n.$popPara](),(0,f.fixDimensions)(this),L(this),!(0,c.checkDimensions)(this,e))return this.w=a,this.h=i,this[n.$popPara](),p.HTMLResult.FAILURE;R(this);var A=(0,f.toStyle)(this,"font","dimensions","position","rotate","anchorType","presence","margin","hAlign");(0,f.setMinMaxDimensions)(this,A);var C=["xfaField"];this.font&&C.push("xfaFont"),(0,f.isPrintOnly)(this)&&C.push("xfaPrintOnly");var F={style:A,id:this[n.$uid],class:C};A.margin&&(A.padding=A.margin,delete A.margin),(0,f.setAccess)(this,C),this.name&&(F.xfaName=this.name);var I=[],T={name:"div",attributes:F,children:I};N(this,F);var M=this.border?this.border[n.$toStyle]():null,P=(0,f.computeBbox)(this,T,e),D=this.ui[n.$toHTML]().html;if(!D)return Object.assign(A,M),p.HTMLResult.success((0,f.createWrapper)(this,T),P);this[n.$tabIndex]&&(D.children&&D.children[0]?D.children[0].attributes.tabindex=this[n.$tabIndex]:D.attributes.tabindex=this[n.$tabIndex]),D.attributes.style||(D.attributes.style=Object.create(null));var B=null;if(this.ui.button){if(1===D.children.length){var _=D.children.splice(0,1);B=g(_,1)[0]}Object.assign(D.attributes.style,M)}else Object.assign(A,M);if(I.push(D),this.value)if(this.ui.imageEdit)D.children.push(this.value[n.$toHTML]().html);else if(!this.ui.button){var j="";if(this.value.exData)j=this.value.exData[n.$text]();else if(this.value.text)j=this.value.text[n.$getExtra]();else{var U=this.value[n.$toHTML]().html;null!==U&&(j=U.children[0].value)}this.ui.textEdit&&this.value.text&&this.value.text.maxChars&&(D.children[0].attributes.maxLength=this.value.text.maxChars),j&&(this.ui.numericEdit&&(j=parseFloat(j),j=isNaN(j)?"":j.toString()),"textarea"===D.children[0].name?D.children[0].attributes.textContent=j:D.children[0].attributes.value=j)}if(!this.ui.imageEdit&&D.children&&D.children[0]&&this.h){l=l||O(this.ui[n.$getExtra]());var $=0;if(this.caption&&["top","bottom"].includes(this.caption.placement)){($=this.caption.reserve)<=0&&($=this.caption[n.$getExtra](e).h);var X=this.h-$-s-l.h;D.children[0].attributes.style.height=(0,f.measureToString)(X)}else D.children[0].attributes.style.height="100%"}if(B&&D.children.push(B),!r)return D.attributes.class&&D.attributes.class.push("xfaLeft"),this.w=a,this.h=i,p.HTMLResult.success((0,f.createWrapper)(this,T),P);if(this.ui.button)return A.padding&&delete A.padding,"div"===r.name&&(r.name="span"),D.children.push(r),p.HTMLResult.success(T,P);switch(this.ui.checkButton&&(r.attributes.class[0]="xfaCaptionForCheckButton"),D.attributes.class||(D.attributes.class=[]),D.children.splice(0,0,r),this.caption.placement){case"left":case"inline":D.attributes.class.push("xfaLeft");break;case"right":D.attributes.class.push("xfaRight");break;case"top":D.attributes.class.push("xfaTop");break;case"bottom":D.attributes.class.push("xfaBottom")}return this.w=a,this.h=i,p.HTMLResult.success((0,f.createWrapper)(this,T),P)}}])}(n.XFAObject,n.$isBindable,n.$setValue,n.$toHTML);t.Field=De;var Be=function(e,t){function r(e){var t;return m(this,r),(t=l(this,r,[x,"fill",!0])).id=e.id||"",t.presence=(0,p.getStringOption)(e.presence,["visible","hidden","inactive","invisible"]),t.use=e.use||"",t.usehref=e.usehref||"",t.color=null,t.extras=null,t.linear=null,t.pattern=null,t.radial=null,t.solid=null,t.stipple=null,t}
2return u(r,e),v(r,[{key:t,value:function(){var e=this[n.$getParent](),t=e[n.$getParent]()[n.$getParent](),r=Object.create(null),a="color",i=a;e instanceof K&&(a="background-color",i="background",t instanceof $t&&(r.backgroundColor="white")),(e instanceof bt||e instanceof $)&&(a=i="fill",r.fill="white");var o,s=d(Object.getOwnPropertyNames(this));try{for(s.s();!(o=s.n()).done;){var c=o.value;if("extras"!==c&&"color"!==c){var l=this[c];if(l instanceof n.XFAObject){var u=l[n.$toStyle](this.color);return u&&(r[u.startsWith("#")?a:i]=u),r}}}}catch(f){s.e(f)}finally{s.f()}if(this.color&&this.color.value){var h=this.color[n.$toStyle]();r[h.startsWith("#")?a:i]=h}return r}}])}(n.XFAObject,n.$toStyle),Le=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[x,"filter",!0])).addRevocationInfo=(0,p.getStringOption)(e.addRevocationInfo,["","required","optional","none"]),r.id=e.id||"",r.name=e.name||"",r.use=e.use||"",r.usehref=e.usehref||"",r.version=(0,p.getInteger)({data:r.version,defaultValue:5,validate:function(e){return e>=1&&e<=5}}),r.appearanceFilter=null,r.certificates=null,r.digestMethods=null,r.encodings=null,r.encryptionMethods=null,r.handler=null,r.lockDocument=null,r.mdp=null,r.reasons=null,r.timeStamp=null,r}return u(t,e),v(t)}(n.XFAObject),Re=function(e,t,r){function a(e){var t;return m(this,a),(t=l(this,a,[x,"float"])).id=e.id||"",t.name=e.name||"",t.use=e.use||"",t.usehref=e.usehref||"",t}return u(a,e),v(a,[{key:t,value:function(){var e=parseFloat(this[n.$content].trim());this[n.$content]=isNaN(e)?null:e}},{key:r,value:function(e){return B(null!==this[n.$content]?this[n.$content].toString():"")}}])}(n.ContentObject,n.$finalize,n.$toHTML),_e=function(e,t,r){function a(e){var t;return m(this,a),(t=l(this,a,[x,"font",!0])).baselineShift=(0,p.getMeasurement)(e.baselineShift),t.fontHorizontalScale=(0,p.getFloat)({data:e.fontHorizontalScale,defaultValue:100,validate:function(e){return e>=0}}),t.fontVerticalScale=(0,p.getFloat)({data:e.fontVerticalScale,defaultValue:100,validate:function(e){return e>=0}}),t.id=e.id||"",t.kerningMode=(0,p.getStringOption)(e.kerningMode,["none","pair"]),t.letterSpacing=(0,p.getMeasurement)(e.letterSpacing,"0"),t.lineThrough=(0,p.getInteger)({data:e.lineThrough,defaultValue:0,validate:function(e){return 1===e||2===e}}),t.lineThroughPeriod=(0,p.getStringOption)(e.lineThroughPeriod,["all","word"]),t.overline=(0,p.getInteger)({data:e.overline,defaultValue:0,validate:function(e){return 1===e||2===e}}),t.overlinePeriod=(0,p.getStringOption)(e.overlinePeriod,["all","word"]),t.posture=(0,p.getStringOption)(e.posture,["normal","italic"]),t.size=(0,p.getMeasurement)(e.size,"10pt"),t.typeface=e.typeface||"Courier",t.underline=(0,p.getInteger)({data:e.underline,defaultValue:0,validate:function(e){return 1===e||2===e}}),t.underlinePeriod=(0,p.getStringOption)(e.underlinePeriod,["all","word"]),t.use=e.use||"",t.usehref=e.usehref||"",t.weight=(0,p.getStringOption)(e.weight,["normal","bold"]),t.extras=null,t.fill=null,t}return u(a,e),v(a,[{key:t,value:function(e){i(o(a.prototype),n.$clean,this).call(this,e),this[n.$globalData].usedTypefaces.add(this.typeface)}},{key:r,value:function(){var e=(0,f.toStyle)(this,"fill"),t=e.color;return t&&("#000000"===t?delete e.color:t.startsWith("#")||(e.background=t,e.backgroundClip="text",e.color="transparent")),this.baselineShift&&(e.verticalAlign=(0,f.measureToString)(this.baselineShift)),e.fontKerning="none"===this.kerningMode?"none":"normal",e.letterSpacing=(0,f.measureToString)(this.letterSpacing),0!==this.lineThrough&&(e.textDecoration="line-through",2===this.lineThrough&&(e.textDecorationStyle="double")),0!==this.overline&&(e.textDecoration="overline",2===this.overline&&(e.textDecorationStyle="double")),e.fontStyle=this.posture,e.fontSize=(0,f.measureToString)(.99*this.size),(0,f.setFontFamily)(this,this,this[n.$globalData].fontFinder,e),0!==this.underline&&(e.textDecoration="underline",2===this.underline&&(e.textDecorationStyle="double")),e.fontWeight=this.weight,e}}])}(n.XFAObject,n.$clean,n.$toStyle),je=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[x,"format",!0])).id=e.id||"",r.use=e.use||"",r.usehref=e.usehref||"",r.extras=null,r.picture=null,r}return u(t,e),v(t)}(n.XFAObject),Ue=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[x,"handler"])).id=e.id||"",r.type=(0,p.getStringOption)(e.type,["optional","required"]),r.use=e.use||"",r.usehref=e.usehref||"",r}return u(t,e),v(t)}(n.StringObject),$e=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[x,"hyphenation"])).excludeAllCaps=(0,p.getInteger)({data:e.excludeAllCaps,defaultValue:0,validate:function(e){return 1===e}}),r.excludeInitialCap=(0,p.getInteger)({data:e.excludeInitialCap,defaultValue:0,validate:function(e){return 1===e}}),r.hyphenate=(0,p.getInteger)({data:e.hyphenate,defaultValue:0,validate:function(e){return 1===e}}),r.id=e.id||"",r.pushCharacterCount=(0,p.getInteger)({data:e.pushCharacterCount,defaultValue:3,validate:function(e){return e>=0}}
2),r.remainCharacterCount=(0,p.getInteger)({data:e.remainCharacterCount,defaultValue:3,validate:function(e){return e>=0}}),r.use=e.use||"",r.usehref=e.usehref||"",r.wordCharacterCount=(0,p.getInteger)({data:e.wordCharacterCount,defaultValue:7,validate:function(e){return e>=0}}),r}return u(t,e),v(t)}(n.XFAObject),Xe=function(e,t){function r(e){var t;return m(this,r),(t=l(this,r,[x,"image"])).aspect=(0,p.getStringOption)(e.aspect,["fit","actual","height","none","width"]),t.contentType=e.contentType||"",t.href=e.href||"",t.id=e.id||"",t.name=e.name||"",t.transferEncoding=(0,p.getStringOption)(e.transferEncoding,["base64","none","package"]),t.use=e.use||"",t.usehref=e.usehref||"",t}return u(r,e),v(r,[{key:t,value:function(){if(this.contentType&&!C.has(this.contentType.toLowerCase()))return p.HTMLResult.EMPTY;var e=this[n.$globalData].images&&this[n.$globalData].images.get(this.href);if(!e&&(this.href||!this[n.$content]))return p.HTMLResult.EMPTY;if(e||"base64"!==this.transferEncoding||(e=(0,b.stringToBytes)(atob(this[n.$content]))),!e)return p.HTMLResult.EMPTY;if(!this.contentType){for(var t=0,r=F;t<r.length;t++){var a=g(r[t],2),i=a[0],o=a[1];if(e.length>i.length&&i.every((function(t,r){return t===e[r]}))){this.contentType=o;break}}if(!this.contentType)return p.HTMLResult.EMPTY}var s,c=new Blob([e],{type:this.contentType});switch(this.aspect){case"fit":case"actual":break;case"height":s={height:"100%",objectFit:"fill"};break;case"none":s={width:"100%",height:"100%",objectFit:"fill"};break;case"width":s={width:"100%",objectFit:"fill"}}var l=this[n.$getParent]();return p.HTMLResult.success({name:"img",attributes:{class:["xfaImage"],style:s,src:URL.createObjectURL(c),alt:l?D(l[n.$getParent]()):null}})}}])}(n.StringObject,n.$toHTML),He=function(e,t){function r(e){var t;return m(this,r),(t=l(this,r,[x,"imageEdit",!0])).data=(0,p.getStringOption)(e.data,["link","embed"]),t.id=e.id||"",t.use=e.use||"",t.usehref=e.usehref||"",t.border=null,t.extras=null,t.margin=null,t}return u(r,e),v(r,[{key:t,value:function(e){return"embed"===this.data?p.HTMLResult.success({name:"div",children:[],attributes:{}}):p.HTMLResult.EMPTY}}])}(n.XFAObject,n.$toHTML),qe=function(e,t,r){function a(e){var t;return m(this,a),(t=l(this,a,[x,"integer"])).id=e.id||"",t.name=e.name||"",t.use=e.use||"",t.usehref=e.usehref||"",t}return u(a,e),v(a,[{key:t,value:function(){var e=parseInt(this[n.$content].trim(),10);this[n.$content]=isNaN(e)?null:e}},{key:r,value:function(e){return B(null!==this[n.$content]?this[n.$content].toString():"")}}])}(n.ContentObject,n.$finalize,n.$toHTML),ze=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[x,"issuers",!0])).id=e.id||"",r.type=(0,p.getStringOption)(e.type,["optional","required"]),r.use=e.use||"",r.usehref=e.usehref||"",r.certificate=new n.XFAObjectArray,r}return u(t,e),v(t)}(n.XFAObject),Ge=function(e,t){function r(e){var t;return m(this,r),(t=l(this,r,[x,"items",!0])).id=e.id||"",t.name=e.name||"",t.presence=(0,p.getStringOption)(e.presence,["visible","hidden","inactive","invisible"]),t.ref=e.ref||"",t.save=(0,p.getInteger)({data:e.save,defaultValue:0,validate:function(e){return 1===e}}),t.use=e.use||"",t.usehref=e.usehref||"",t.boolean=new n.XFAObjectArray,t.date=new n.XFAObjectArray,t.dateTime=new n.XFAObjectArray,t.decimal=new n.XFAObjectArray,t.exData=new n.XFAObjectArray,t.float=new n.XFAObjectArray,t.image=new n.XFAObjectArray,t.integer=new n.XFAObjectArray,t.text=new n.XFAObjectArray,t.time=new n.XFAObjectArray,t}return u(r,e),v(r,[{key:t,value:function(){var e,t=[],r=d(this[n.$getChildren]());try{for(r.s();!(e=r.n()).done;){var a=e.value;t.push(a[n.$text]())}}catch(i){r.e(i)}finally{r.f()}return p.HTMLResult.success(t)}}])}(n.XFAObject,n.$toHTML);t.Items=Ge;var We=function(e){function t(e){var r;m(this,t),(r=l(this,t,[x,"keep",!0])).id=e.id||"";var a=["none","contentArea","pageArea"];return r.intact=(0,p.getStringOption)(e.intact,a),r.next=(0,p.getStringOption)(e.next,a),r.previous=(0,p.getStringOption)(e.previous,a),r.use=e.use||"",r.usehref=e.usehref||"",r.extras=null,r}return u(t,e),v(t)}(n.XFAObject),Ve=function(e){function t(e){var r;m(this,t);var a=["","yes","no"];return(r=l(this,t,[x,"keyUsage"])).crlSign=(0,p.getStringOption)(e.crlSign,a),r.dataEncipherment=(0,p.getStringOption)(e.dataEncipherment,a),r.decipherOnly=(0,p.getStringOption)(e.decipherOnly,a),r.digitalSignature=(0,p.getStringOption)(e.digitalSignature,a),r.enci
2pherOnly=(0,p.getStringOption)(e.encipherOnly,a),r.id=e.id||"",r.keyAgreement=(0,p.getStringOption)(e.keyAgreement,a),r.keyCertSign=(0,p.getStringOption)(e.keyCertSign,a),r.keyEncipherment=(0,p.getStringOption)(e.keyEncipherment,a),r.nonRepudiation=(0,p.getStringOption)(e.nonRepudiation,a),r.type=(0,p.getStringOption)(e.type,["optional","required"]),r.use=e.use||"",r.usehref=e.usehref||"",r}return u(t,e),v(t)}(n.XFAObject),Ke=function(e,t){function r(e){var t;return m(this,r),(t=l(this,r,[x,"line",!0])).hand=(0,p.getStringOption)(e.hand,["even","left","right"]),t.id=e.id||"",t.slope=(0,p.getStringOption)(e.slope,["\\","/"]),t.use=e.use||"",t.usehref=e.usehref||"",t.edge=null,t}return u(r,e),v(r,[{key:t,value:function(){var e,t,r,a,i=this[n.$getParent]()[n.$getParent](),o=this.edge||new ke({}),s=o[n.$toStyle](),c=Object.create(null),l="visible"===o.presence?o.thickness:0;c.strokeWidth=(0,f.measureToString)(l),c.stroke=s.color;var u="100%",h="100%";i.w<=l?(e="50%",t=0,r="50%",a="100%",u=c.strokeWidth):i.h<=l?(e=0,t="50%",r="100%",a="50%",h=c.strokeWidth):"\\"===this.slope?(e=0,t=0,r="100%",a="100%"):(e=0,t="100%",r="100%",a=0);var d={name:"svg",children:[{name:"line",attributes:{xmlns:S,x1:e,y1:t,x2:r,y2:a,style:c}}],attributes:{xmlns:S,width:u,height:h,style:{overflow:"visible"}}};return I(i)?p.HTMLResult.success({name:"div",attributes:{style:{display:"inline",width:"100%",height:"100%"}},children:[d]}):(d.attributes.style.position="absolute",p.HTMLResult.success(d))}}])}(n.XFAObject,n.$toHTML),Ye=function(e,t){function r(e){var t;return m(this,r),(t=l(this,r,[x,"linear",!0])).id=e.id||"",t.type=(0,p.getStringOption)(e.type,["toRight","toBottom","toLeft","toTop"]),t.use=e.use||"",t.usehref=e.usehref||"",t.color=null,t.extras=null,t}return u(r,e),v(r,[{key:t,value:function(e){e=e?e[n.$toStyle]():"#FFFFFF";var t=this.type.replace(/([RBLT])/," $1").toLowerCase(),r=this.color?this.color[n.$toStyle]():"#000000";return"linear-gradient(".concat(t,", ").concat(e,", ").concat(r,")")}}])}(n.XFAObject,n.$toStyle),Je=function(e,t){function r(e){var t;return m(this,r),(t=l(this,r,[x,"lockDocument"])).id=e.id||"",t.type=(0,p.getStringOption)(e.type,["optional","required"]),t.use=e.use||"",t.usehref=e.usehref||"",t}return u(r,e),v(r,[{key:t,value:function(){this[n.$content]=(0,p.getStringOption)(this[n.$content],["auto","0","1"])}}])}(n.ContentObject,n.$finalize),Ze=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[x,"manifest",!0])).action=(0,p.getStringOption)(e.action,["include","all","exclude"]),r.id=e.id||"",r.name=e.name||"",r.use=e.use||"",r.usehref=e.usehref||"",r.extras=null,r.ref=new n.XFAObjectArray,r}return u(t,e),v(t)}(n.XFAObject),Qe=function(e,t){function r(e){var t;return m(this,r),(t=l(this,r,[x,"margin",!0])).bottomInset=(0,p.getMeasurement)(e.bottomInset,"0"),t.id=e.id||"",t.leftInset=(0,p.getMeasurement)(e.leftInset,"0"),t.rightInset=(0,p.getMeasurement)(e.rightInset,"0"),t.topInset=(0,p.getMeasurement)(e.topInset,"0"),t.use=e.use||"",t.usehref=e.usehref||"",t.extras=null,t}return u(r,e),v(r,[{key:t,value:function(){return{margin:(0,f.measureToString)(this.topInset)+" "+(0,f.measureToString)(this.rightInset)+" "+(0,f.measureToString)(this.bottomInset)+" "+(0,f.measureToString)(this.leftInset)}}}])}(n.XFAObject,n.$toStyle),et=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[x,"mdp"])).id=e.id||"",r.permissions=(0,p.getInteger)({data:e.permissions,defaultValue:2,validate:function(e){return 1===e||3===e}}),r.signatureType=(0,p.getStringOption)(e.signatureType,["filler","author"]),r.use=e.use||"",r.usehref=e.usehref||"",r}return u(t,e),v(t)}(n.XFAObject),tt=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[x,"medium"])).id=e.id||"",r.imagingBBox=(0,p.getBBox)(e.imagingBBox),r.long=(0,p.getMeasurement)(e.long),r.orientation=(0,p.getStringOption)(e.orientation,["portrait","landscape"]),r.short=(0,p.getMeasurement)(e.short),r.stock=e.stock||"",r.trayIn=(0,p.getStringOption)(e.trayIn,["auto","delegate","pageFront"]),r.trayOut=(0,p.getStringOption)(e.trayOut,["auto","delegate"]),r.use=e.use||"",r.usehref=e.usehref||"",r}return u(t,e),v(t)}(n.XFAObject),rt=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[x,"message",!0])).id=e.id||"",r.use=e.use||"",r.usehref=e.usehref||"",r.text=new n.XFAObjectArray,r}return u(t,e),v(t)}(n.XFAObject),at=function(e,t){function r(e){var t;return m(this,r),(t=l(this,r,[x,"numericEdit",!0])).hScrollPolicy=(0,p.getStringOption)(e.hScrollPolicy,["auto","off","on"]),t.id=e.id||"",t.use=e.use||"",t.usehref=e.usehref||"",t.border=null,t.comb=null,t.extras=null,t.margin=null,t}
2return u(r,e),v(r,[{key:t,value:function(e){var t=(0,f.toStyle)(this,"border","font","margin"),r=this[n.$getParent]()[n.$getParent](),a={name:"input",attributes:{type:"text",fieldId:r[n.$uid],dataId:r[n.$data]&&r[n.$data][n.$uid]||r[n.$uid],class:["xfaTextfield"],style:t,"aria-label":D(r),"aria-required":!1}};return P(r)&&(a.attributes["aria-required"]=!0,a.attributes.required=!0),p.HTMLResult.success({name:"label",attributes:{class:["xfaLabel"]},children:[a]})}}])}(n.XFAObject,n.$toHTML),nt=function(e,t){function r(e){var t;return m(this,r),(t=l(this,r,[x,"occur",!0])).id=e.id||"",t.initial=""!==e.initial?(0,p.getInteger)({data:e.initial,defaultValue:"",validate:function(e){return!0}}):"",t.max=""!==e.max?(0,p.getInteger)({data:e.max,defaultValue:1,validate:function(e){return!0}}):"",t.min=""!==e.min?(0,p.getInteger)({data:e.min,defaultValue:1,validate:function(e){return!0}}):"",t.use=e.use||"",t.usehref=e.usehref||"",t.extras=null,t}return u(r,e),v(r,[{key:t,value:function(){var e=this[n.$getParent](),t=this.min;""===this.min&&(this.min=e instanceof ct||e instanceof lt?0:1),""===this.max&&(this.max=""===t?e instanceof ct||e instanceof lt?-1:1:this.min),-1!==this.max&&this.max<this.min&&(this.max=this.min),""===this.initial&&(this.initial=e instanceof Nt?1:this.min)}}])}(n.XFAObject,n.$clean),it=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[x,"oid"])).id=e.id||"",r.name=e.name||"",r.use=e.use||"",r.usehref=e.usehref||"",r}return u(t,e),v(t)}(n.StringObject),ot=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[x,"oids",!0])).id=e.id||"",r.type=(0,p.getStringOption)(e.type,["optional","required"]),r.use=e.use||"",r.usehref=e.usehref||"",r.oid=new n.XFAObjectArray,r}return u(t,e),v(t)}(n.XFAObject),st=function(e,t){function r(e){var t;return m(this,r),(t=l(this,r,[x,"overflow"])).id=e.id||"",t.leader=e.leader||"",t.target=e.target||"",t.trailer=e.trailer||"",t.use=e.use||"",t.usehref=e.usehref||"",t}return u(r,e),v(r,[{key:t,value:function(){if(!this[n.$extra]){var e=this[n.$getParent](),t=this[n.$getTemplateRoot](),r=t[n.$searchNode](this.target,e),a=t[n.$searchNode](this.leader,e),i=t[n.$searchNode](this.trailer,e);this[n.$extra]={target:r&&r[0]||null,leader:a&&a[0]||null,trailer:i&&i[0]||null,addLeader:!1,addTrailer:!1}}return this[n.$extra]}}])}(n.XFAObject,n.$getExtra),ct=function(e,t,r,a,i,o){function s(e){var t;return m(this,s),(t=l(this,s,[x,"pageArea",!0])).blankOrNotBlank=(0,p.getStringOption)(e.blankOrNotBlank,["any","blank","notBlank"]),t.id=e.id||"",t.initialNumber=(0,p.getInteger)({data:e.initialNumber,defaultValue:1,validate:function(e){return!0}}),t.name=e.name||"",t.numbered=(0,p.getInteger)({data:e.numbered,defaultValue:1,validate:function(e){return!0}}),t.oddOrEven=(0,p.getStringOption)(e.oddOrEven,["any","even","odd"]),t.pagePosition=(0,p.getStringOption)(e.pagePosition,["any","first","last","only","rest"]),t.relevant=(0,p.getRelevant)(e.relevant),t.use=e.use||"",t.usehref=e.usehref||"",t.desc=null,t.extras=null,t.medium=null,t.occur=null,t.area=new n.XFAObjectArray,t.contentArea=new n.XFAObjectArray,t.draw=new n.XFAObjectArray,t.exclGroup=new n.XFAObjectArray,t.field=new n.XFAObjectArray,t.subform=new n.XFAObjectArray,t}return u(s,e),v(s,[{key:t,value:function(){return this[n.$extra]?!this.occur||-1===this.occur.max||this[n.$extra].numberOfUse<this.occur.max:(this[n.$extra]={numberOfUse:0},!0)}},{key:r,value:function(){delete this[n.$extra]}},{key:a,value:function(){this[n.$extra]||(this[n.$extra]={numberOfUse:0});var e=this[n.$getParent]();return"orderedOccurrence"===e.relation&&this[n.$isUsable]()?(this[n.$extra].numberOfUse+=1,this):e[n.$getNextPage]()}},{key:i,value:function(){return this[n.$extra].space||{width:0,height:0}}},{key:o,value:function(){this[n.$extra]||(this[n.$extra]={numberOfUse:1});var e=[];this[n.$extra].children=e;var t=Object.create(null);if(this.medium&&this.medium.short&&this.medium.long){if(t.width=(0,f.measureToString)(this.medium.short),t.height=(0,f.measureToString)(this.medium.long),this[n.$extra].space={width:this.medium.short,height:this.medium.long},"landscape"===this.medium.orientation){var r=t.width;t.width=t.height,t.height=r,this[n.$extra].space={width:this.medium.long,height:this.medium.short}}}else(0,b.warn)("XFA - No medium specified in pageArea: please file a bug.");return this[n.$childrenToHTML]({filter:new Set(["area","draw","field","subform"]),include:!0}),this[n.$childrenToHTML]({filter:new Set(["contentArea"]),include:!0}),p.HTMLResult.success({name:"div",children:e,attributes:{class:["xfaPage"],id:this[n.$uid],style:t,xfaName:this.name}})}}])}(n.XFAObject,n.$isUsable,n.$cleanPage,n.$getNextPage,n.$getAvailableSpace,n.$toHTML),lt=function(e,t,r,a){function i(e){var t;return m(this,i),(t=l(this,i,[x,"pageSet",!0])).duplexImposition=(0,p.getStringOption)(e.duplexImposition,["longEdge","shortEdge"]),t.id=e.id||"",t.name=e.name||"",t.relation=(0,p.getStringOption)(e.relation,["orderedO
2ccurrence","duplexPaginated","simplexPaginated"]),t.relevant=(0,p.getRelevant)(e.relevant),t.use=e.use||"",t.usehref=e.usehref||"",t.extras=null,t.occur=null,t.pageArea=new n.XFAObjectArray,t.pageSet=new n.XFAObjectArray,t}return u(i,e),v(i,[{key:t,value:function(){var e,t=d(this.pageArea.children);try{for(t.s();!(e=t.n()).done;)e.value[n.$cleanPage]()}catch(i){t.e(i)}finally{t.f()}var r,a=d(this.pageSet.children);try{for(a.s();!(r=a.n()).done;)r.value[n.$cleanPage]()}catch(i){a.e(i)}finally{a.f()}}},{key:r,value:function(){return!this.occur||-1===this.occur.max||this[n.$extra].numberOfUse<this.occur.max}},{key:a,value:function(){if(this[n.$extra]||(this[n.$extra]={numberOfUse:1,pageIndex:-1,pageSetIndex:-1}),"orderedOccurrence"===this.relation){if(this[n.$extra].pageIndex+1<this.pageArea.children.length)return this[n.$extra].pageIndex+=1,this.pageArea.children[this[n.$extra].pageIndex][n.$getNextPage]();if(this[n.$extra].pageSetIndex+1<this.pageSet.children.length)return this[n.$extra].pageSetIndex+=1,this.pageSet.children[this[n.$extra].pageSetIndex][n.$getNextPage]();if(this[n.$isUsable]())return this[n.$extra].numberOfUse+=1,this[n.$extra].pageIndex=-1,this[n.$extra].pageSetIndex=-1,this[n.$getNextPage]();var e=this[n.$getParent]();return e instanceof i?e[n.$getNextPage]():(this[n.$cleanPage](),this[n.$getNextPage]())}var t=this[n.$getTemplateRoot]()[n.$extra].pageNumber,r=t%2===0?"even":"odd",a=0===t?"first":"rest",o=this.pageArea.children.find((function(e){return e.oddOrEven===r&&e.pagePosition===a}));return o||((o=this.pageArea.children.find((function(e){return"any"===e.oddOrEven&&e.pagePosition===a})))?o:(o=this.pageArea.children.find((function(e){return"any"===e.oddOrEven&&"any"===e.pagePosition})))||this.pageArea.children[0])}}])}(n.XFAObject,n.$cleanPage,n.$isUsable,n.$getNextPage),ut=function(e,t){function r(e){var t;return m(this,r),(t=l(this,r,[x,"para",!0])).hAlign=(0,p.getStringOption)(e.hAlign,["left","center","justify","justifyAll","radix","right"]),t.id=e.id||"",t.lineHeight=e.lineHeight?(0,p.getMeasurement)(e.lineHeight,"0pt"):"",t.marginLeft=e.marginLeft?(0,p.getMeasurement)(e.marginLeft,"0pt"):"",t.marginRight=e.marginRight?(0,p.getMeasurement)(e.marginRight,"0pt"):"",t.orphans=(0,p.getInteger)({data:e.orphans,defaultValue:0,validate:function(e){return e>=0}}),t.preserve=e.preserve||"",t.radixOffset=e.radixOffset?(0,p.getMeasurement)(e.radixOffset,"0pt"):"",t.spaceAbove=e.spaceAbove?(0,p.getMeasurement)(e.spaceAbove,"0pt"):"",t.spaceBelow=e.spaceBelow?(0,p.getMeasurement)(e.spaceBelow,"0pt"):"",t.tabDefault=e.tabDefault?(0,p.getMeasurement)(t.tabDefault):"",t.tabStops=(e.tabStops||"").trim().split(/\s+/).map((function(e,t){return t%2===1?(0,p.getMeasurement)(e):e})),t.textIndent=e.textIndent?(0,p.getMeasurement)(e.textIndent,"0pt"):"",t.use=e.use||"",t.usehref=e.usehref||"",t.vAlign=(0,p.getStringOption)(e.vAlign,["top","bottom","middle"]),t.widows=(0,p.getInteger)({data:e.widows,defaultValue:0,validate:function(e){return e>=0}}),t.hyphenation=null,t}return u(r,e),v(r,[{key:t,value:function(){var e=(0,f.toStyle)(this,"hAlign");return""!==this.marginLeft&&(e.paddingLeft=(0,f.measureToString)(this.marginLeft)),""!==this.marginRight&&(e.paddingight=(0,f.measureToString)(this.marginRight)),""!==this.spaceAbove&&(e.paddingTop=(0,f.measureToString)(this.spaceAbove)),""!==this.spaceBelow&&(e.paddingBottom=(0,f.measureToString)(this.spaceBelow)),""!==this.textIndent&&(e.textIndent=(0,f.measureToString)(this.textIndent),(0,f.fixTextIndent)(e)),this.lineHeight>0&&(e.lineHeight=(0,f.measureToString)(this.lineHeight)),""!==this.tabDefault&&(e.tabSize=(0,f.measureToString)(this.tabDefault)),this.tabStops.length,this.hyphenatation&&Object.assign(e,this.hyphenatation[n.$toStyle]()),e}}])}(n.XFAObject,n.$toStyle),ht=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[x,"passwordEdit",!0])).hScrollPolicy=(0,p.getStringOption)(e.hScrollPolicy,["auto","off","on"]),r.id=e.id||"",r.passwordChar=e.passwordChar||"*",r.use=e.use||"",r.usehref=e.usehref||"",r.border=null,r.extras=null,r.margin=null,r}return u(t,e),v(t)}(n.XFAObject),ft=function(e,t){function r(e){var t;return m(this,r),(t=l(this,r,[x,"pattern",!0])).id=e.id||"",t.type=(0,p.getStringOption)(e.type,["crossHatch","crossDiagonal","diagonalLeft","diagonalRight","horizontal","vertical"]),t.use=e.use||"",t.usehref=e.usehref||"",t.color=null,t.extras=null,t}
2return u(r,e),v(r,[{key:t,value:function(e){e=e?e[n.$toStyle]():"#FFFFFF";var t=this.color?this.color[n.$toStyle]():"#000000",r="repeating-linear-gradient",a="".concat(e,",").concat(e," ").concat(5,"px,").concat(t," ").concat(5,"px,").concat(t," ").concat(10,"px");switch(this.type){case"crossHatch":return"".concat(r,"(to top,").concat(a,") ").concat(r,"(to right,").concat(a,")");case"crossDiagonal":return"".concat(r,"(45deg,").concat(a,") ").concat(r,"(-45deg,").concat(a,")");case"diagonalLeft":return"".concat(r,"(45deg,").concat(a,")");case"diagonalRight":return"".concat(r,"(-45deg,").concat(a,")");case"horizontal":return"".concat(r,"(to top,").concat(a,")");case"vertical":return"".concat(r,"(to right,").concat(a,")")}return""}}])}(n.XFAObject,n.$toStyle),dt=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[x,"picture"])).id=e.id||"",r.use=e.use||"",r.usehref=e.usehref||"",r}return u(t,e),v(t)}(n.StringObject),gt=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[x,"proto",!0])).appearanceFilter=new n.XFAObjectArray,r.arc=new n.XFAObjectArray,r.area=new n.XFAObjectArray,r.assist=new n.XFAObjectArray,r.barcode=new n.XFAObjectArray,r.bindItems=new n.XFAObjectArray,r.bookend=new n.XFAObjectArray,r.boolean=new n.XFAObjectArray,r.border=new n.XFAObjectArray,r.break=new n.XFAObjectArray,r.breakAfter=new n.XFAObjectArray,r.breakBefore=new n.XFAObjectArray,r.button=new n.XFAObjectArray,r.calculate=new n.XFAObjectArray,r.caption=new n.XFAObjectArray,r.certificate=new n.XFAObjectArray,r.certificates=new n.XFAObjectArray,r.checkButton=new n.XFAObjectArray,r.choiceList=new n.XFAObjectArray,r.color=new n.XFAObjectArray,r.comb=new n.XFAObjectArray,r.connect=new n.XFAObjectArray,r.contentArea=new n.XFAObjectArray,r.corner=new n.XFAObjectArray,r.date=new n.XFAObjectArray,r.dateTime=new n.XFAObjectArray,r.dateTimeEdit=new n.XFAObjectArray,r.decimal=new n.XFAObjectArray,r.defaultUi=new n.XFAObjectArray,r.desc=new n.XFAObjectArray,r.digestMethod=new n.XFAObjectArray,r.digestMethods=new n.XFAObjectArray,r.draw=new n.XFAObjectArray,r.edge=new n.XFAObjectArray,r.encoding=new n.XFAObjectArray,r.encodings=new n.XFAObjectArray,r.encrypt=new n.XFAObjectArray,r.encryptData=new n.XFAObjectArray,r.encryption=new n.XFAObjectArray,r.encryptionMethod=new n.XFAObjectArray,r.encryptionMethods=new n.XFAObjectArray,r.event=new n.XFAObjectArray,r.exData=new n.XFAObjectArray,r.exObject=new n.XFAObjectArray,r.exclGroup=new n.XFAObjectArray,r.execute=new n.XFAObjectArray,r.extras=new n.XFAObjectArray,r.field=new n.XFAObjectArray,r.fill=new n.XFAObjectArray,r.filter=new n.XFAObjectArray,r.float=new n.XFAObjectArray,r.font=new n.XFAObjectArray,r.format=new n.XFAObjectArray,r.handler=new n.XFAObjectArray,r.hyphenation=new n.XFAObjectArray,r.image=new n.XFAObjectArray,r.imageEdit=new n.XFAObjectArray,r.integer=new n.XFAObjectArray,r.issuers=new n.XFAObjectArray,r.items=new n.XFAObjectArray,r.keep=new n.XFAObjectArray,r.keyUsage=new n.XFAObjectArray,r.line=new n.XFAObjectArray,r.linear=ne
2w n.XFAObjectArray,r.lockDocument=new n.XFAObjectArray,r.manifest=new n.XFAObjectArray,r.margin=new n.XFAObjectArray,r.mdp=new n.XFAObjectArray,r.medium=new n.XFAObjectArray,r.message=new n.XFAObjectArray,r.numericEdit=new n.XFAObjectArray,r.occur=new n.XFAObjectArray,r.oid=new n.XFAObjectArray,r.oids=new n.XFAObjectArray,r.overflow=new n.XFAObjectArray,r.pageArea=new n.XFAObjectArray,r.pageSet=new n.XFAObjectArray,r.para=new n.XFAObjectArray,r.passwordEdit=new n.XFAObjectArray,r.pattern=new n.XFAObjectArray,r.picture=new n.XFAObjectArray,r.radial=new n.XFAObjectArray,r.reason=new n.XFAObjectArray,r.reasons=new n.XFAObjectArray,r.rectangle=new n.XFAObjectArray,r.ref=new n.XFAObjectArray,r.script=new n.XFAObjectArray,r.setProperty=new n.XFAObjectArray,r.signData=new n.XFAObjectArray,r.signature=new n.XFAObjectArray,r.signing=new n.XFAObjectArray,r.solid=new n.XFAObjectArray,r.speak=new n.XFAObjectArray,r.stipple=new n.XFAObjectArray,r.subform=new n.XFAObjectArray,r.subformSet=new n.XFAObjectArray,r.subjectDN=new n.XFAObjectArray,r.subjectDNs=new n.XFAObjectArray,r.submit=new n.XFAObjectArray,r.text=new n.XFAObjectArray,r.textEdit=new n.XFAObjectArray,r.time=new n.XFAObjectArray,r.timeStamp=new n.XFAObjectArray,r.toolTip=new n.XFAObjectArray,r.traversal=new n.XFAObjectArray,r.traverse=new n.XFAObjectArray,r.ui=new n.XFAObjectArray,r.validate=new n.XFAObjectArray,r.value=new n.XFAObjectArray,r.variables=new n.XFAObjectArray,r}return u(t,e),v(t)}(n.XFAObject),pt=function(e,t){function r(e){var t;return m(this,r),(t=l(this,r,[x,"radial",!0])).id=e.id||"",t.type=(0,p.getStringOption)(e.type,["toEdge","toCenter"]),t.use=e.use||"",t.usehref=e.usehref||"",t.color=null,t.extras=null,t}return u(r,e),v(r,[{key:t,value:function(e){e=e?e[n.$toStyle]():"#FFFFFF";var t=this.color?this.color[n.$toStyle]():"#000000",r="toEdge"===this.type?"".concat(e,",").concat(t):"".concat(t,",").concat(e);return"radial-gradient(circle at center, ".concat(r,")")}}])}(n.XFAObject,n.$toStyle),mt=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[x,"reason"])).id=e.id||"",r.name=e.name||"",r.use=e.use||"",r.usehref=e.usehref||"",r}return u(t,e),v(t)}(n.StringObject),vt=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[x,"reasons",!0])).id=e.id||"",r.type=(0,p.getStringOption)(e.type,["optional","required"]),r.use=e.use||"",r.usehref=e.usehref||"",r.reason=new n.XFAObjectArray,r}return u(t,e),v(t)}(n.XFAObject),bt=function(e,t){function r(e){var t;return m(this,r),(t=l(this,r,[x,"rectangle",!0])).hand=(0,p.getStringOption)(e.hand,["even","left","right"]),t.id=e.id||"",t.use=e.use||"",t.usehref=e.usehref||"",t.corner=new n.XFAObjectArray(4),t.edge=new n.XFAObjectArray(4),t.fill=null,t}return u(r,e),v(r,[{key:t,value:function(){var e=this.edge.children.length?this.edge.children[0]:new ke({}),t=e[n.$toStyle](),r=Object.create(null);this.fill&&"visible"===this.fill.presence?Object.assign(r,this.fill[n.$toStyle]()):r.fill="transparent",r.strokeWidth=(0,f.measureToString)("visible"===e.presence?e.thickness:0),r.stroke=t.color;var a=(this.corner.children.length?this.corner.children[0]:new ue({}))[n.$toStyle](),i={name:"svg",children:[{name:"rect",attributes:{xmlns:S,width:"100%",height:"100%",x:0,y:0,rx:a.radius,ry:a.radius,style:r}}],attributes:{xmlns:S,style:{overflow:"visible"},width:"100%",height:"100%"}};return I(this[n.$getParent]()[n.$getParent]())?p.HTMLResult.success({name:"div",attributes:{style:{display:"inline",width:"100%",height:"100%"}},children:[i]}):(i.attributes.style.position="absolute",p.HTMLResult.success(i))}}])}(n.XFAObject,n.$toHTML),yt=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[x,"ref"])).id=e.id||"",r.use=e.use||"",r.usehref=e.usehref||"",r}return u(t,e),v(t)}(n.StringObject),kt=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[x,"script"])).binding=e.binding||"",r.contentType=e.contentType||"",r.id=e.id||"",r.name=e.name||"",r.runAt=(0,p.getStringOption)(e.runAt,["client","both","server"]),r.use=e.use||"",r.usehref=e.usehref||"",r}return u(t,e),v(t)}(n.StringObject),wt=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[x,"setProperty"])).connection=e.connection||"",r.ref=e.ref||"",r.target=e.target||"",r}return u(t,e),v(t)}(n.XFAObject);t.SetProperty=wt;var xt=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[x,"signData",!0])).id=e.id||"",r.operation=(0,p.getStringOption)(e.operation,["sign","clear","verify"]),r.ref=e.ref||"",r.target=e.target||"",r.use=e.use||"",r.usehref=e.usehref||"",r.filter=null,r.manifest=null,r}return u(t,e),v(t)}(n.XFAObject),St=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[x,"signature",!0])).id=e.id||"",r.type=(0,p.getStringOption)(e.type,["PDF1.3","PDF1.6"]),r.use=e.use||"",r.usehref=e.usehref||"",r.border=null,r.extras=null,r.filter=null,r.manifest=null,r.margin=null,r}return u(t,e),v(t)}(n.XFAObject),At=function(e){function t(e){var r;
2return m(this,t),(r=l(this,t,[x,"signing",!0])).id=e.id||"",r.type=(0,p.getStringOption)(e.type,["optional","required"]),r.use=e.use||"",r.usehref=e.usehref||"",r.certificate=new n.XFAObjectArray,r}return u(t,e),v(t)}(n.XFAObject),Ct=function(e,t){function r(e){var t;return m(this,r),(t=l(this,r,[x,"solid",!0])).id=e.id||"",t.use=e.use||"",t.usehref=e.usehref||"",t.extras=null,t}return u(r,e),v(r,[{key:t,value:function(e){return e?e[n.$toStyle]():"#FFFFFF"}}])}(n.XFAObject,n.$toStyle),Ft=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[x,"speak"])).disable=(0,p.getInteger)({data:e.disable,defaultValue:0,validate:function(e){return 1===e}}),r.id=e.id||"",r.priority=(0,p.getStringOption)(e.priority,["custom","caption","name","toolTip"]),r.rid=e.rid||"",r.use=e.use||"",r.usehref=e.usehref||"",r}return u(t,e),v(t)}(n.StringObject),Ot=function(e,t){function r(e){var t;return m(this,r),(t=l(this,r,[x,"stipple",!0])).id=e.id||"",t.rate=(0,p.getInteger)({data:e.rate,defaultValue:50,validate:function(e){return e>=0&&e<=100}}),t.use=e.use||"",t.usehref=e.usehref||"",t.color=null,t.extras=null,t}return u(r,e),v(r,[{key:t,value:function(e){var t=this.rate/100;return b.Util.makeHexColor(Math.round(e.value.r*(1-t)+this.value.r*t),Math.round(e.value.g*(1-t)+this.value.g*t),Math.round(e.value.b*(1-t)+this.value.b*t))}}])}(n.XFAObject,n.$toStyle),It=function(e,t,r,a,i,o,s,d,g,y){function k(e){var t;return m(this,k),(t=l(this,k,[x,"subform",!0])).access=(0,p.getStringOption)(e.access,["open","nonInteractive","protected","readOnly"]),t.allowMacro=(0,p.getInteger)({data:e.allowMacro,defaultValue:0,validate:function(e){return 1===e}}),t.anchorType=(0,p.getStringOption)(e.anchorType,["topLeft","bottomCenter","bottomLeft","bottomRight","middleCenter","middleLeft","middleRight","topCenter","topRight"]),t.colSpan=(0,p.getInteger)({data:e.colSpan,defaultValue:1,validate:function(e){return e>=1||-1===e}}),t.columnWidths=(e.columnWidths||"").trim().split(/\s+/).map((function(e){return"-1"===e?-1:(0,p.getMeasurement)(e)})),t.h=e.h?(0,p.getMeasurement)(e.h):"",t.hAlign=(0,p.getStringOption)(e.hAlign,["left","center","justify","justifyAll","radix","right"]),t.id=e.id||"",t.layout=(0,p.getStringOption)(e.layout,["position","lr-tb","rl-row","rl-tb","row","table","tb"]),t.locale=e.locale||"",t.maxH=(0,p.getMeasurement)(e.maxH,"0pt"),t.maxW=(0,p.getMeasurement)(e.maxW,"0pt"),t.mergeMode=(0,p.getStringOption)(e.mergeMode,["consumeData","matchTemplate"]),t.minH=(0,p.getMeasurement)(e.minH,"0pt"),t.minW=(0,p.getMeasurement)(e.minW,"0pt"),t.name=e.name||"",t.presence=(0,p.getStringOption)(e.presence,["visible","hidden","inactive","invisible"]),t.relevant=(0,p.getRelevant)(e.relevant),t.restoreState=(0,p.getStringOption)(e.restoreState,["manual","auto"]),t.scope=(0,p.getStringOption)(e.scope,["name","none"]),t.use=e.use||"",t.usehref=e.usehref||"",t.w=e.w?(0,p.getMeasurement)(e.w):"",t.x=(0,p.getMeasurement)(e.x,"0pt"),t.y=(0,p.getMeasurement)(e.y,"0pt"),t.assist=null,t.bind=null,t.bookend=null,t.border=null,t.break=null,t.calculate=null,t.desc=null,t.extras=null,t.keep=null,t.margin=null,t.occur=null,t.overflow=null,t.pageSet=null,t.para=null,t.traversal=null,t.validate=null,t.variables=null,t.area=new n.XFAObjectArray,t.breakAfter=new n.XFAObjectArray,t.breakBefore=new n.XFAObjectArray,t.connect=new n.XFAObjectArray,t.draw=new n.XFAObjectArray,t.event=new n.XFAObjectArray,t.exObject=new n.XFAObjectArray,t.exclGroup=new n.XFAObjectArray,t.field=new n.XFAObjectArray,t.proto=new n.XFAObjectArray,t.setProperty=new n.XFAObjectArray,t.subform=new n.XFAObjectArray,t.subformSet=new n.XFAObjectArray,t}return u(k,e),v(k,[{key:t,value:function(){var e=this[n.$getParent]();return e instanceof Tt?e[n.$getSubformParent]():e}},{key:r,value:function(){return!0}},{key:a,value:function(){return this.layout.endsWith("-tb")&&0===this[n.$extra].attempt&&this[n.$extra].numberInLine>0||this[n.$getParent]()[n.$isThereMoreWidth]()}},{key:i,value:h().mark((function e(){return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.delegateYield(M(this),"t0",1);case 1:case"end":return e.stop()}}),e,this)}))},{key:o,value:function(){return(0,c.flushHTML)(this)}},{key:s,value:function(e,t){(0,c.addHTML)(this,e,t)}},{key:d,value:function(){return(0,c.getAvailableSpace)(this)}},{key:g,value:function(){var e=this[n.$getSubformParent]();return!!e[n.$isSplittable]()&&(void 0!==this[n.$extra]._isSplittable?this[n.$extra]._isSplittable:"position"===this.layout||this.layout.includes("row")||this.keep&&"none"!==this.keep.intact?(this[n.$extra]._isSplittable=!1,!1):(!e.layout||!e.layout.endsWith("-tb")||0===e[n.$extra].numberInLine)&&(this[n.$extra]._isSplittable=!0,!0))}},{key:y,value:function(e){if(E(this),this.break){if("auto"!==this.break.after||""!==this.break.afterTarget){var t=new J({targetType:this.break.after,target:this.break.afterTarget,startNew:this.break.startNew.toString()});t[n.$globalData]=this[n.$globalData],this[n.$appendChild](t),this.breakAfter.push(t)}if("auto"!==this.break.before||""!==this.break.beforeTarget){var r=new Z({targetType:this.break.before,target:this.break.beforeTarget,startNew:this.break.startNew.toString()});r[n.$globalData]=this[n.$globalData],this[n.$appendChild](r),this.breakBefore.push(r)}if(""!==this.break.overflowTarget){var a=new st({target:this.break.overflowTarget,leader:this.break.overflowLeader,trailer:this.break.overflowTrailer});a[n.$globalData]=this[n.$globalData],this[n.$appendChild](a),this.overflow.push(a)}this[n.$removeChild](this.break),this.break=null}if("hidden"===this.presence||"inactive"===this.presence)return p.HTMLResult.EMPTY;if((this.breakBefore.children.length>1||this.breakAfter.children.length>1)&&(0,b.warn)("XFA - Several breakBefore or breakAfter in subforms: please file a bug."),this.breakBefore.children.length>=1){var i=this.breakBefore.children[0];if(_(i))return p.HTMLResult.breakNode(i)}if(this[n.$extra]&&this[n.$extra].afterBreakAfter)return p.HTMLResult.EMPTY;(0,f.fixDimensions)(this);var o=[],s={id:this[n.$uid],class:[]};(0,f.setAccess)(this,s.class),this[n.$extra]||(this[n.$extra]=Object.create(null)),Object.assign(this[n.$extra],{children:o,line:null,attributes:s,attempt:0,numberInLine:0,availableSpace:{width:Math.min(this.w||1/0,e.width),height:Math.min(this.h||1/0,e.height)},width:0,height:0,prevHeight:0,currentWidth:0});var l=this[n.$getTemplateRoot](),u=l[n.$extra].noLayoutFailure,h=this[n.$isSplittable]();if(h||L(this),!(0,c.checkDimensions)(this,e))return p.HTMLResult.FAILURE;var d=new Set(["area","draw","exclGroup","field","subform","subformSet"]);if(this.layout.includes("row")){var g=this[n.$getSubformParent]().columnWidths;Array.isArray(g)&&g.length>0&&(this[n.$extra].columnWidths=g,this[n.$extra].currentColumn=0)}var m=(0,f.toStyle)(this,"anchorType","dimensions","position","presence","border","margin","hAlign"),v=["xfaSubform"],y=(0,f.layoutClass)(this);if(y&&v.push(y),s.style=m,s.class=v,this.name&&(s.xfaName=this.name),this.overflow){var k=this.overflow[n.$getExtra]();k.addLeader&&(k.addLeader=!1,j(this,k.leader,e))}this[n.$pushPara]();for(var w="lr-tb"===this.layout||"rl-tb"===this.layout,x=w?2:1;this[n.$extra].attempt<x;this[n.$extra].attempt++){w&&1===this[n.$extra].attempt&&(this[n.$extra].numberInLine=0);var S=this[n.$childrenToHTML]({filter:d,include:!0});if(S.success)break;if(S.isBreak())return this[n.$popPara](),S;if(w&&0===this[n.$extra].attempt&&0===this[n.$extra].numberInLine&&!l[n.$extra].noLayoutFailure){this[n.$extra].attempt=x;break}}if(this[n.$popPara](),h||R(this),l[n.$extra].noLayoutFailure=u,this[n.$extra].attempt===x)return this.overflow&&(this[n.$getTemplateRoot]()[n.$extra].overflowNode=this.overflow),h||delete this[n.$extra],p.HTMLResult.FAILURE;if(this.overflow){var A=this.overflow[n.$getExtra]();A.addTrailer&&(A.addTrailer=!1,j(this,A.trailer,e))}var C=0,F=0;this.margin&&(C=this.margin.leftInset+this.margin.rightInset,F=this.margin.topInset+this.margin.bottomInset);var O=Math.max(this[n.$extra].width+C,this.w||0),I=Math.max(this[n.$extra].height+F,this.h||0),T=[this.x,this.y,O,I];if(""===this.w&&(m.width=(0,f.measureToString)(O)),""===this.h&&(m.height=(0,f.measureToString)(I)),("0px"===m.width||"0px"===m.height)&&0===o.length)return p.HTMLResult.EMPTY;var M={name:"div",attributes:s,children:o};N(this,s);var P=p.HTMLResult.success((0,f.createWrapper)(this,M),T);if(this.breakAfter.children.length>=1){var D=this.breakAfter.children[0];if(_(D))return this[n.$extra].afterBreakAfter=P,p.HTMLResult.breakNode(D)}return delete this[n.$extra],P}}])}(n.XFAObject,n.$getSubformParent,n.$isBindable,n.$isThereMoreWidth,n.$getContainedChildren,n.$flushHTML,n.$addHTML,n.$getAvailableSpace,n.$isSplittable,n.$toHTML),Tt=function(e,t,r,a){function i(e){var t;return m(this,i),(t=l(this,i,[x,"subformSet",!0])).id=e.id||"",t.name=e.name||"",t.relation=(0,p.getStringOption)(e.relation,["ordered","choice","unordered"]),t.relevant=(0,p.getRelevant)(e.relevant),t.use=e.use||"",t.usehref=e.usehref||"",t.bookend=null,t.break=null,t.desc=null,t.extras=null,t.occur=null,t.overflow=null,t.breakAfter=new n.XFAObjectArray,t.breakBefore=new n.XFAObjectArray,t.subform=new n.XFAObjectArray,t.subformSet=new n.XFAObjectArray,t}return u(i,e),v(i,[{key:t,value:h().mark((function e(){return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.delegateYield(M(this),"t0",1);case 1:case"end":return e.stop()}}),e,this)}))},{key:r,value:function(){for(var e=this[n.$getParent]();!(e instanceof It);)e=e[n.$getParent]();return e}},{key:a,value:function(){return!0}}])}(n.XFAObject,n.$getContainedChildren,n.$getSubformParent,n.$isBindable),Mt=function(e,t){function r(e){var t;return m(this,r),(t=l(this,r,[x,"subjectDN"])).delimiter=e.delimiter||",",t.id=e.id||"",t.name=e.name||"",t.use=e.use||"",t.usehref=e.usehref||"",t}
2return u(r,e),v(r,[{key:t,value:function(){this[n.$content]=new Map(this[n.$content].split(this.delimiter).map((function(e){return(e=e.split("=",2))[0]=e[0].trim(),e})))}}])}(n.ContentObject,n.$finalize),Pt=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[x,"subjectDNs",!0])).id=e.id||"",r.type=(0,p.getStringOption)(e.type,["optional","required"]),r.use=e.use||"",r.usehref=e.usehref||"",r.subjectDN=new n.XFAObjectArray,r}return u(t,e),v(t)}(n.XFAObject),Et=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[x,"submit",!0])).embedPDF=(0,p.getInteger)({data:e.embedPDF,defaultValue:0,validate:function(e){return 1===e}}),r.format=(0,p.getStringOption)(e.format,["xdp","formdata","pdf","urlencoded","xfd","xml"]),r.id=e.id||"",r.target=e.target||"",r.textEncoding=(0,p.getKeyword)({data:e.textEncoding?e.textEncoding.toLowerCase():"",defaultValue:"",validate:function(e){return["utf-8","big-five","fontspecific","gbk","gb-18030","gb-2312","ksc-5601","none","shift-jis","ucs-2","utf-16"].includes(e)||e.match(/iso-8859-\d{2}/)}}),r.use=e.use||"",r.usehref=e.usehref||"",r.xdpContent=e.xdpContent||"",r.encrypt=null,r.encryptData=new n.XFAObjectArray,r.signData=new n.XFAObjectArray,r}return u(t,e),v(t)}(n.XFAObject),Nt=function(e,t,r,a,i){function o(e){var t;return m(this,o),(t=l(this,o,[x,"template",!0])).baseProfile=(0,p.getStringOption)(e.baseProfile,["full","interactiveForms"]),t.extras=null,t.subform=new n.XFAObjectArray,t}return u(o,e),v(o,[{key:t,value:function(){0===this.subform.children.length&&(0,b.warn)("XFA - No subforms in template node."),this.subform.children.length>=2&&(0,b.warn)("XFA - Several subforms in template node: please file a bug."),this[n.$tabIndex]=5e3}},{key:r,value:function(){return!0}},{key:a,value:function(e,t){return e.startsWith("#")?[this[n.$ids].get(e.slice(1))]:(0,w.searchNode)(this,t,e,!0,!0)}},{key:i,value:h().mark((function e(){var t,r,a,i,o,s,c,l,u,f,d,g,m,v,y,k,w=this;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.subform.children.length){e.next=2;break}return e.abrupt("return",p.HTMLResult.success({name:"div",children:[]}));case 2:this[n.$extra]={overflowNode:null,firstUnsplittable:null,currentContentArea:null,currentPageArea:null,noLayoutFailure:!1,pageNumber:1,pagePosition:"first",oddOrEven:"odd",blankOrNotBlank:"nonBlank",paraStack:[]},(t=this.subform.children[0]).pageSet[n.$cleanPage](),r=t.pageSet.pageArea.children,a={name:"div",children:[]},i=null,o=null,s=null,t.breakBefore.children.length>=1?(o=t.breakBefore.children[0],s=o.target):t.subform.children.length>=1&&t.subform.children[0].breakBefore.children.length>=1?(o=t.subform.children[0].breakBefore.children[0],s=o.target):t.break&&t.break.beforeTarget?(o=t.break,s=o.beforeTarget):t.subform.children.length>=1&&t.subform.children[0].break&&t.subform.children[0].break.beforeTarget&&(o=t.subform.children[0].break,s=o.beforeTarget),o&&(c=this[n.$searchNode](s,o[n.$getParent]()))instanceof ct&&(i=c,o[n.$extra]={}),i||(i=r[0]),i[n.$extra]={numberOfUse:1},(l=i[n.$getParent]())[n.$extra]={numberOfUse:1,pageIndex:l.pageArea.children.indexOf(i),pageSetIndex:0},f=null,d=null,g=!0,m=0,v=0,y=h().mark((function e(){var r,o,s,c,l,p,y,k,x,S,A,C,F,O,I;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(g){e.next=7;break}if(a.children.pop(),3!==++m){e.next=5;break}return(0,b.warn)("XFA - Something goes wrong: please file a bug."),e.abrupt("return",{v:a});case 5:e.next=8;break;case 7:m=0;case 8:u=null,w[n.$extra].currentPageArea=i,r=i[n.$toHTML]().html,a.children.push(r),f&&(w[n.$extra].noLayoutFailure=!0,r.children.push(f[n.$toHTML](i[n.$extra].space).html),f=null),d&&(w[n.$extra].noLayoutFailure=!0,r.children.push(d[n.$toHTML](i[n.$extra].space).html),d=null),o=i.contentArea.children,s=r.children.filter((function(e){return e.attributes.class.includes("xfaContentarea")})),g=!1,w[n.$extra].firstUnsplittable=null,w[n.$extra].noLayoutFailure=!1,c=function(e){var r=t[n.$flushHTML]();r&&(g=g||r.children&&0!==r.children.length,s[e].children.push(r))},l=v,p=o.length;case 21:if(!(l<p)){e.next=56;break}if(y=w[n.$extra].currentContentArea=o[l],k={width:y.w,height:y.h},v=0,f&&(s[l].children.push(f[n.$toHTML](k).html),f=null),d&&(s[l].children.push(d[n.$toHTML](k).html),d=null),!(x=t[n.$toHTML](k)).success){e.next=31;break}return x.html?(g=g||x.html.children&&0!==x.html.children.length,s[l].children.push(x.html)):!g&&a.children.length>1&&a.children.pop(),e.abrupt("return",{v:a});
2case 31:if(!x.isBreak()){e.next=40;break}if(S=x.breakNode,c(l),"auto"!==S.targetType){e.next=36;break}return e.abrupt("continue",53);case 36:return S.leader&&(f=(f=w[n.$searchNode](S.leader,S[n.$getParent]()))?f[0]:null),S.trailer&&(d=(d=w[n.$searchNode](S.trailer,S[n.$getParent]()))?d[0]:null),"pageArea"===S.targetType?(u=S[n.$extra].target,l=1/0):S[n.$extra].target?(u=S[n.$extra].target,v=S[n.$extra].index+1,l=1/0):l=S[n.$extra].index,e.abrupt("continue",53);case 40:if(!w[n.$extra].overflowNode){e.next=52;break}return A=w[n.$extra].overflowNode,w[n.$extra].overflowNode=null,C=A[n.$getExtra](),F=C.target,C.addLeader=null!==C.leader,C.addTrailer=null!==C.trailer,c(l),O=l,l=1/0,F instanceof ct?u=F:F instanceof le&&(-1!==(I=o.indexOf(F))?I>O?l=I-1:v=I:(u=F[n.$getParent](),v=u.contentArea.children.indexOf(F))),e.abrupt("continue",53);case 52:c(l);case 53:l++,e.next=21;break;case 56:return w[n.$extra].pageNumber+=1,u&&(u[n.$isUsable]()?u[n.$extra].numberOfUse+=1:u=null),i=u||i[n.$getNextPage](),e.next=61,null;case 61:case"end":return e.stop()}}),e)}));case 22:return e.delegateYield(y(),"t0",24);case 24:if(!(k=e.t0)){e.next=27;break}return e.abrupt("return",k.v);case 27:e.next=22;break;case 29:case"end":return e.stop()}}),e,this)}))}])}(n.XFAObject,n.$finalize,n.$isSplittable,n.$searchNode,n.$toPages);t.Template=Nt;var Dt=function(e,t,r,a,c,h,f){function d(e){var t;return m(this,d),(t=l(this,d,[x,"text"])).id=e.id||"",t.maxChars=(0,p.getInteger)({data:e.maxChars,defaultValue:0,validate:function(e){return e>=0}}),t.name=e.name||"",t.rid=e.rid||"",t.use=e.use||"",t.usehref=e.usehref||"",t}return u(d,e),v(d,[{key:t,value:function(){return!0}},{key:r,value:function(e){return e[n.$namespaceId]===s.NamespaceIds.xhtml.id?(this[n.$content]=e,!0):((0,b.warn)("XFA - Invalid content in Text: ".concat(e[n.$nodeName],".")),!1)}},{key:a,value:function(e){this[n.$content]instanceof n.XFAObject||i(o(d.prototype),n.$onText,this).call(this,e)}},{key:c,value:function(){"string"===typeof this[n.$content]&&(this[n.$content]=this[n.$content].replace(/\r\n/g,"\n"))}},{key:h,value:function(){return"string"===typeof this[n.$content]?this[n.$content].split(/[\u2029\u2028\n]/).reduce((function(e,t){return t&&e.push(t),e}),[]).join("\n"):this[n.$content][n.$text]()}},{key:f,value:function(e){if("string"===typeof this[n.$content]){var t=B(this[n.$content]).html;return this[n.$content].includes("\u2029")?(t.name="div",t.children=[],this[n.$content].split("\u2029").map((function(e){return e.split(/[\u2028\n]/).reduce((function(e,t){return e.push({name:"span",value:t},{name:"br"}),e}),[])})).forEach((function(e){t.children.push({name:"p",children:e})}))):/[\u2028\n]/.test(this[n.$content])&&(t.name="div",t.children=[],this[n.$content].split(/[\u2028\n]/).forEach((function(e){t.children.push({name:"span",value:e},{name:"br"})}))),p.HTMLResult.success(t)}return this[n.$content][n.$toHTML](e)}}])}(n.ContentObject,n.$acceptWhitespace,n.$onChild,n.$onText,n.$finalize,n.$getExtra,n.$toHTML);t.Text=Dt;var Bt=function(e,t){function r(e){var t;return m(this,r),(t=l(this,r,[x,"textEdit",!0])).allowRichText=(0,p.getInteger)({data:e.allowRichText,defaultValue:0,validate:function(e){return 1===e}}),t.hScrollPolicy=(0,p.getStringOption)(e.hScrollPolicy,["auto","off","on"]),t.id=e.id||"",t.multiLine=(0,p.getInteger)({data:e.multiLine,defaultValue:"",validate:function(e){return 0===e||1===e}}),t.use=e.use||"",t.usehref=e.usehref||"",t.vScrollPolicy=(0,p.getStringOption)(e.vScrollPolicy,["auto","off","on"]),t.border=null,t.comb=null,t.extras=null,t.margin=null,t}return u(r,e),v(r,[{key:t,value:function(e){var t,r=(0,f.toStyle)(this,"border","font","margin"),a=this[n.$getParent]()[n.$getParent]();return""===this.multiLine&&(this.multiLine=a instanceof ye?1:0),t=1===this.multiLine?{name:"textarea",attributes:{dataId:a[n.$data]&&a[n.$data][n.$uid]||a[n.$uid],fieldId:a[n.$uid],class:["xfaTextfield"],style:r,"aria-label":D(a),"aria-required":!1}}:{name:"input",attributes:{type:"text",dataId:a[n.$data]&&a[n.$data][n.$uid]||a[n.$uid],fieldId:a[n.$uid],class:["xfaTextfield"],style:r,"aria-label":D(a),"aria-required":!1}},P(a)&&(t.attributes["aria-required"]=!0,t.attributes.required=!0),p.HTMLResult.success({name:"label",attributes:{class:["xfaLabel"]},children:[t]})}}])}(n.XFAObject,n.$toHTML),Lt=function(e,t,r){function a(e){var t;return m(this,a),(t=l(this,a,[x,"time"])).id=e.id||"",t.name=e.name||"",t.use=e.use||"",t.usehref=e.usehref||"",t}return u(a,e),v(a,[{key:t,value:function(){var e=this[n.$content].trim();this[n.$content]=e?new Date(e):null}},{key:r,value:function(e){return B(this[n.$content]?this[n.$content].toString():"")}}])}
2(n.StringObject,n.$finalize,n.$toHTML),Rt=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[x,"timeStamp"])).id=e.id||"",r.server=e.server||"",r.type=(0,p.getStringOption)(e.type,["optional","required"]),r.use=e.use||"",r.usehref=e.usehref||"",r}return u(t,e),v(t)}(n.XFAObject),_t=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[x,"toolTip"])).id=e.id||"",r.rid=e.rid||"",r.use=e.use||"",r.usehref=e.usehref||"",r}return u(t,e),v(t)}(n.StringObject),jt=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[x,"traversal",!0])).id=e.id||"",r.use=e.use||"",r.usehref=e.usehref||"",r.extras=null,r.traverse=new n.XFAObjectArray,r}return u(t,e),v(t)}(n.XFAObject),Ut=function(e,t){function r(e){var t;return m(this,r),(t=l(this,r,[x,"traverse",!0])).id=e.id||"",t.operation=(0,p.getStringOption)(e.operation,["next","back","down","first","left","right","up"]),t.ref=e.ref||"",t.use=e.use||"",t.usehref=e.usehref||"",t.extras=null,t.script=null,t}return u(r,e),v(r,[{key:"name",get:function(){return this.operation}},{key:t,value:function(){return!1}}])}(n.XFAObject,n.$isTransparent),$t=function(e,t,r){function a(e){var t;return m(this,a),(t=l(this,a,[x,"ui",!0])).id=e.id||"",t.use=e.use||"",t.usehref=e.usehref||"",t.extras=null,t.picture=null,t.barcode=null,t.button=null,t.checkButton=null,t.choiceList=null,t.dateTimeEdit=null,t.defaultUi=null,t.imageEdit=null,t.numericEdit=null,t.passwordEdit=null,t.signature=null,t.textEdit=null,t}return u(a,e),v(a,[{key:t,value:function(){if(void 0===this[n.$extra]){var e,t=d(Object.getOwnPropertyNames(this));try{for(t.s();!(e=t.n()).done;){var r=e.value;if("extras"!==r&&"picture"!==r){var a=this[r];if(a instanceof n.XFAObject)return this[n.$extra]=a,a}}}catch(i){t.e(i)}finally{t.f()}this[n.$extra]=null}return this[n.$extra]}},{key:r,value:function(e){var t=this[n.$getExtra]();return t?t[n.$toHTML](e):p.HTMLResult.EMPTY}}])}(n.XFAObject,n.$getExtra,n.$toHTML),Xt=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[x,"validate",!0])).formatTest=(0,p.getStringOption)(e.formatTest,["warning","disabled","error"]),r.id=e.id||"",r.nullTest=(0,p.getStringOption)(e.nullTest,["disabled","error","warning"]),r.scriptTest=(0,p.getStringOption)(e.scriptTest,["error","disabled","warning"]),r.use=e.use||"",r.usehref=e.usehref||"",r.extras=null,r.message=null,r.picture=null,r.script=null,r}return u(t,e),v(t)}(n.XFAObject),Ht=function(e,t,r,a){function i(e){var t;return m(this,i),(t=l(this,i,[x,"value",!0])).id=e.id||"",t.override=(0,p.getInteger)({data:e.override,defaultValue:0,validate:function(e){return 1===e}}),t.relevant=(0,p.getRelevant)(e.relevant),t.use=e.use||"",t.usehref=e.usehref||"",t.arc=null,t.boolean=null,t.date=null,t.dateTime=null,t.decimal=null,t.exData=null,t.float=null,t.image=null,t.integer=null,t.line=null,t.rectangle=null,t.text=null,t.time=null,t}return u(i,e),v(i,[{key:t,value:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e){var t=this[n.$getParent]();if(t instanceof De&&t.ui&&t.ui.imageEdit)return this.image||(this.image=new Xe({}),this[n.$appendChild](this.image)),void(this.image[n.$content]=e[n.$content]);var r=e[n.$nodeName];if(null===this[r]){var a,i=d(Object.getOwnPropertyNames(this));try{for(i.s();!(a=i.n()).done;){var o=a.value,s=this[o];s instanceof n.XFAObject&&(this[o]=null,this[n.$removeChild](s))}}catch(c){i.e(c)}finally{i.f()}this[e[n.$nodeName]]=e,this[n.$appendChild](e)}else this[r][n.$content]=e[n.$content]}))},{key:r,value:function(){if(this.exData)return"string"===typeof this.exData[n.$content]?this.exData[n.$content].trim():this.exData[n.$content][n.$text]().trim();var e,t=d(Object.getOwnPropertyNames(this));try{for(t.s();!(e=t.n()).done;){var r=e.value;if("image"!==r){var a=this[r];if(a instanceof n.XFAObject)return(a[n.$content]||"").toString().trim()}}}catch(i){t.e(i)}finally{t.f()}return null}},{key:a,value:function(e){var t,r=d(Object.getOwnPropertyNames(this));try{for(r.s();!(t=r.n()).done;){var a=this[t.value];if(a instanceof n.XFAObject)return a[n.$toHTML](e)}}catch(i){r.e(i)}finally{r.f()}return p.HTMLResult.EMPTY}}])}(n.XFAObject,n.$setValue,n.$text,n.$toHTML);t.Value=Ht;var qt=function(e,t){function r(e){var t;return m(this,r),(t=l(this,r,[x,"variables",!0])).id=e.id||"",t.use=e.use||"",t.usehref=e.usehref||"",t.boolean=new n.XFAObjectArray,t.date=new n.XFAObjectArray,t.dateTime=new n.XFAObjectArray,t.decimal=new n.XFAObjectArray,t.exData=new n.XFAObjectArray,t.float=ne
2w n.XFAObjectArray,t.image=new n.XFAObjectArray,t.integer=new n.XFAObjectArray,t.manifest=new n.XFAObjectArray,t.script=new n.XFAObjectArray,t.text=new n.XFAObjectArray,t.time=new n.XFAObjectArray,t}return u(r,e),v(r,[{key:t,value:function(){return!0}}])}(n.XFAObject,n.$isTransparent),zt=function(e){function t(){m(this,t)}return v(t,null,[{key:e,value:function(e,r){if(t.hasOwnProperty(e)){var a=t[e](r);return a[n.$setSetAttributes](r),a}}},{key:"appearanceFilter",value:function(e){return new U(e)}},{key:"arc",value:function(e){return new $(e)}},{key:"area",value:function(e){return new X(e)}},{key:"assist",value:function(e){return new H(e)}},{key:"barcode",value:function(e){return new q(e)}},{key:"bind",value:function(e){return new z(e)}},{key:"bindItems",value:function(e){return new G(e)}},{key:"bookend",value:function(e){return new W(e)}},{key:"boolean",value:function(e){return new V(e)}},{key:"border",value:function(e){return new K(e)}},{key:"break",value:function(e){return new Y(e)}},{key:"breakAfter",value:function(e){return new J(e)}},{key:"breakBefore",value:function(e){return new Z(e)}},{key:"button",value:function(e){return new Q(e)}},{key:"calculate",value:function(e){return new ee(e)}},{key:"caption",value:function(e){return new te(e)}},{key:"certificate",value:function(e){return new re(e)}},{key:"certificates",value:function(e){return new ae(e)}},{key:"checkButton",value:function(e){return new ne(e)}},{key:"choiceList",value:function(e){return new ie(e)}},{key:"color",value:function(e){return new oe(e)}},{key:"comb",value:function(e){return new se(e)}},{key:"connect",value:function(e){return new ce(e)}},{key:"contentArea",value:function(e){return new le(e)}},{key:"corner",value:function(e){return new ue(e)}},{key:"date",value:function(e){return new he(e)}},{key:"dateTime",value:function(e){return new fe(e)}},{key:"dateTimeEdit",value:function(e){return new de(e)}},{key:"decimal",value:function(e){return new ge(e)}},{key:"defaultUi",value:function(e){return new pe(e)}},{key:"desc",value:function(e){return new me(e)}},{key:"digestMethod",value:function(e){return new ve(e)}},{key:"digestMethods",value:function(e){return new be(e)}},{key:"draw",value:function(e){return new ye(e)}},{key:"edge",value:function(e){return new ke(e)}},{key:"encoding",value:function(e){return new we(e)}},{key:"encodings",value:function(e){return new xe(e)}},{key:"encrypt",value:function(e){return new Se(e)}},{key:"encryptData",value:function(e){return new Ae(e)}},{key:"encryption",value:function(e){return new Ce(e)}},{key:"encryptionMethod",value:function(e){return new Fe(e)}},{key:"encryptionMethods",value:function(e){return new Oe(e)}},{key:"event",value:function(e){return new Ie(e)}},{key:"exData",value:function(e){return new Te(e)}},{key:"exObject",value:function(e){return new Me(e)}},{key:"exclGroup",value:function(e){return new Pe(e)}},{key:"execute",value:function(e){return new Ee(e)}},{key:"extras",value:function(e){return new Ne(e)}},{key:"field",value:function(e){return new De(e)}},{key:"fill",value:function(e){return new Be(e)}},{key:"filter",value:function(e){return new Le(e)}},{key:"float",value:function(e){return new Re(e)}},{key:"font",value:function(e){return new _e(e)}},{key:"format",value:function(e){return new je(e)}},{key:"handler",value:function(e){return new Ue(e)}},{key:"hyphenation",value:function(e){return new $e(e)}},{key:"image",value:function(e){return new Xe(e)}},{key:"imageEdit",value:function(e){return new He(e)}},{key:"integer",value:function(e){return new qe(e)}},{key:"issuers",value:function(e){return new ze(e)}},{key:"items",value:function(e){return new Ge(e)}},{key:"keep",value:function(e){return new We(e)}},{key:"keyUsage",value:function(e){return new Ve(e)}},{key:"line",value:function(e){return new Ke(e)}},{key:"linear",value:function(e){return new Ye(e)}},{key:"lockDocument",value:function(e){return new Je(e)}},{key:"manifest",value:function(e){return new Ze(e)}},{key:"margin",value:function(e){return new Qe(e)}},{key:"mdp",value:function(e){return new et(e)}},{key:"medium",value:function(e){return new tt(e)}},{key:"message",value:function(e){return new rt(e)}},{key:"numericEdit",value:function(e){return new at(e)}},{key:"occur",value:function(e){return new nt(e)}},{key:"oid",value:function(e){return new it(e)}},{key:"oids",value:function(e){return new ot(e)}},{key:"overflow",value:function(e){return new st(e)}},{key:"pageArea",value:function(e){return new ct(e)}},{key:"pageSet",value:function(e){return new lt(e)}},{key:"para",value:function(e){return new ut(e)}},{key:"passwordEdit",value:function(e){return new ht(e)}},{key:"pattern",value:function(e){return new ft(e)}},{key:"picture",value:function(e){return new dt(e)}},{key:"proto",value:function(e){return new gt(e)}},{key:"radial",value:function(e){return new pt(e)}},{key:"reason",value:function(e){return new mt(e)}},{key:"reasons",value:function(e){return new vt(e)}},{key:"rectangle",value:function(e){return new bt(e)}},{key:"ref",value:function(e){return new yt(e)}},{key:"script",value:function(e){return new kt(e)}},{key:"setProperty",value:function(e){return new wt(e)}},{key:"signData",value:function(e){return new xt(e)}},{key:"signature",value:function(e){return new St(e)}},{key:"signing",value:function(e){return new At(e)}},{key:"solid",value:function(e){return new Ct(e)}},{key:"speak",value:function(e){return new Ft(e)}},{key:"stipple",value:function(e){return new Ot(e)}},{key:"subform",value:function(e){return new It(e)}},{key:"subformSet",value:function(e){return new Tt(e)}},{key:"subjectDN",value:function(e){return new Mt(e)}},{key:"subjectDNs",value:function(e){return new Pt(e)}},{key:"submit",value:function(e){return new Et(e)}},{key:"template",value:function(e){return new Nt(e)}},{key:"text",value:function(e){return new Dt(e)}},{key:"textEdit",value:function(e){return new Bt(e)}},{key:"time",value:function(e){return new Lt(e)}},{key:"timeStamp",value:function(e){return new Rt(e)}},{key:"toolTip",value:function(e){return new _t(e)}},{key:"traversal",value:function(e){return new jt(e)}},{key:"traverse",value:function(e){return new Ut(e)}},{key:"ui",value:function(e){return new $t(e)}},{key:"validate",value:function(e){return new Xt(e)}},{key:"value",value:function(e){return new Ht(e)}},{key:"variables",value:function(e){return new qt(e)}}])}(s.$buildXFAObject);t.TemplateNamespace=zt}
2,function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.addHTML=function(e,t,r){var o=e[a.$extra],s=o.availableSpace,c=g(r,4),l=c[0],u=c[1],h=c[2],f=c[3];switch(e.layout){case"position":o.width=Math.max(o.width,l+h),o.height=Math.max(o.height,u+f),o.children.push(t);break;case"lr-tb":case"rl-tb":o.line&&1!==o.attempt||(o.line=i(e,[]),o.children.push(o.line),o.numberInLine=0),o.numberInLine+=1,o.line.children.push(t),0===o.attempt?(o.currentWidth+=h,o.height=Math.max(o.height,o.prevHeight+f)):(o.currentWidth=h,o.prevHeight=o.height,o.height+=f,o.attempt=0),o.width=Math.max(o.width,o.currentWidth);break;case"rl-row":case"row":o.children.push(t),o.width+=h,o.height=Math.max(o.height,f);var p,m=(0,n.measureToString)(o.height),v=d(o.children);try{for(v.s();!(p=v.n()).done;)p.value.attributes.style.height=m}catch(b){v.e(b)}finally{v.f()}break;case"table":case"tb":o.width=Math.min(s.width,Math.max(o.width,h)),o.height+=f,o.children.push(t)}},t.checkDimensions=function(e,t){if(null===e[a.$getTemplateRoot]()[a.$extra].firstUnsplittable)return!0;if(0===e.w||0===e.h)return!0;var r=e[a.$getSubformParent](),n=r[a.$extra]&&r[a.$extra].attempt||0,i=function(e){var t,r,a=""===e.w?NaN:e.w,n=""===e.h?NaN:e.h,i=0,o=0;switch(e.anchorType||""){case"bottomCenter":i=a/2,o=n;break;case"bottomLeft":i=0,o=n;break;case"bottomRight":i=a,o=n;break;case"middleCenter":i=a/2,o=n/2;break;case"middleLeft":i=0,o=n/2;break;case"middleRight":i=a,o=n/2;break;case"topCenter":i=a/2,o=0;break;case"topRight":i=a,o=0}switch(e.rotate||0){case 0:t=-i,r=-o;break;case 90:t=-o,r=i;var s=[n,-a];a=s[0],n=s[1];break;case 180:t=i,r=o;var c=[-a,-n];a=c[0],n=c[1];break;case 270:t=o,r=-i;var l=[-n,a];a=l[0],n=l[1]}return[e.x+t+Math.min(0,a),e.y+r+Math.min(0,n),Math.abs(a),Math.abs(n)]}(e),o=g(i,4),s=o[1],c=o[2],l=o[3];switch(r.layout){case"lr-tb":case"rl-tb":return 0===n?e[a.$getTemplateRoot]()[a.$extra].noLayoutFailure?""!==e.w?Math.round(c-t.width)<=2:t.width>2:!(""!==e.h&&Math.round(l-t.height)>2)&&(""!==e.w?Math.round(c-t.width)<=2||0===r[a.$extra].numberInLine&&t.height>2:t.width>2):!!e[a.$getTemplateRoot]()[a.$extra].noLayoutFailure||!(""!==e.h&&Math.round(l-t.height)>2)&&(""===e.w||Math.round(c-t.width)<=2||!r[a.$isThereMoreWidth]())&&t.height>2;case"table":case"tb":return!!e[a.$getTemplateRoot]()[a.$extra].noLayoutFailure||(""===e.h||e[a.$isSplittable]()?(""===e.w||Math.round(c-t.width)<=2||!r[a.$isThereMoreWidth]())&&t.height>2:Math.round(l-t.height)<=2);case"position":return!!e[a.$getTemplateRoot]()[a.$extra].noLayoutFailure||""===e.h||Math.round(l+s-t.height)<=2||l+s>e[a.$getTemplateRoot]()[a.$extra].currentContentArea.h;case"rl-row":case"row":return!!e[a.$getTemplateRoot]()[a.$extra].noLayoutFailure||""===e.h||Math.round(l-t.height)<=2;default:return!0}},t.flushHTML=function(e){if(!e[a.$extra])return null;var t={name:"div",attributes:e[a.$extra].attributes,children:e[a.$extra].children};if(e[a.$extra].failingNode){var r=e[a.$extra].failingNode[a.$flushHTML]();r&&(e.layout.endsWith("-tb")?t.children.push(i(e,[r])):t.children.push(r))}return 0===t.children.length?null:t},t.getAvailableSpace=function(e){var t=e[a.$extra].availableSpace,r=e.margin?e.margin.topInset+e.margin.bottomInset:0,n=e.margin?e.margin.leftInset+e.margin.rightInset:0;switch(e.layout){case"lr-tb":case"rl-tb":return 0===e[a.$extra].attempt?{width:t.width-n-e[a.$extra].currentWidth,height:t.height-r-e[a.$extra].prevHeight}:{width:t.width-n,height:t.height-r-e[a.$extra].height};case"rl-row":case"row":return{width:e[a.$extra].columnWidths.slice(e[a.$extra].currentColumn).reduce((function(e,t){return e+t})),height:t.height-n};case"table":case"tb":return{width:t.width-n,height:t.height-r-e[a.$extra].height};default:return t}};var a=r(77),n=r(84);function i(e,t){return{name:"div",attributes:{class:["lr-tb"===e.layout?"xfaLr":"xfaRl"]},children:t}}},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.computeBbox=function(e,t,r){var n;if(""!==e.w&&""!==e.h)n=[e.x,e.y,e.w,e.h];else{if(!r)return null;var i=e.w;if(""===i){if(0===e.maxW){var o=e[a.$getSubformParent]();i="position"===o.layout&&""!==o.w?0:e.minW}else i=Math.min(e.maxW,r.width);t.attributes.style.width=c(i)}var s=e.h;if(""===s){if(0===e.maxH){var l=e[a.$getSubformParent]();s="position"===l.layout&&""!==l.h?0:e.minH}else s=Math.min(e.maxH,r.height);t.attributes.style.height=c(s)}n=[e.x,e.y,i,s]}return n},t.createWrapper=function(e,t){var r=t.attributes,n=r.style,i={name:"div",attributes:{class:["xfaWrapper"],style:Object.create(null)},children:[]};if(r.class.push("xfaWrapped"),e.border){var o,s,c=e.border[a.$extra],l=c.widths,u=c.insets,f=u[0],d=u[3],g=u[0]+u[2],p=u[1]+u[3];switch(e.border.hand){case"even":f-=l[0]/2,d-=l[3]/2,o="calc(100% + ".concat((l[1]+l[3])/2-p,"px)"),s="calc(100% + ".concat((l[0]+l[2])/2-g,"px)");break;case"left":f-=l[0],d-=l[3],o="calc(100% + ".concat(l[1]+l[3]-p,"px)"),s="calc(100% + ".concat(l[0]+l[2]-g,"px)");break;case"right":o=p?"calc(100% - ".concat(p,"px)"):"100%",s=g?"calc(100% - ".concat(g,"px)"):"100%"}var m=["xfaBorder"];h(e.border)&&m.push("xfaPrintOnly");
2for(var v={name:"div",attributes:{class:m,style:{top:"".concat(f,"px"),left:"".concat(d,"px"),width:o,height:s}},children:[]},b=0,y=["border","borderWidth","borderColor","borderRadius","borderStyle"];b<y.length;b++){var k=y[b];void 0!==n[k]&&(v.attributes.style[k]=n[k],delete n[k])}i.children.push(v,t)}else i.children.push(t);for(var w=0,x=["background","backgroundClip","top","left","width","height","minWidth","minHeight","maxWidth","maxHeight","transform","transformOrigin","visibility"];w<x.length;w++){var S=x[w];void 0!==n[S]&&(i.attributes.style[S]=n[S],delete n[S])}return"absolute"===n.position?i.attributes.style.position="absolute":i.attributes.style.position="relative",delete n.position,n.alignSelf&&(i.attributes.style.alignSelf=n.alignSelf,delete n.alignSelf),i},t.fixDimensions=function(e){var t=e[a.$getSubformParent]();if(t.layout&&t.layout.includes("row")){var r,n=t[a.$extra],i=e.colSpan;r=-1===i?n.columnWidths.slice(n.currentColumn).reduce((function(e,t){return e+t}),0):n.columnWidths.slice(n.currentColumn,n.currentColumn+i).reduce((function(e,t){return e+t}),0),isNaN(r)||(e.w=r)}t.layout&&"position"!==t.layout&&(e.x=e.y=0),"table"===e.layout&&""===e.w&&Array.isArray(e.columnWidths)&&(e.w=e.columnWidths.reduce((function(e,t){return e+t}),0))},t.fixTextIndent=function(e){var t=(0,i.getMeasurement)(e.textIndent,"0px");if(!(t>=0)){var r="padding"+("left"===("right"===e.textAlign?"right":"left")?"Left":"Right"),a=(0,i.getMeasurement)(e[r],"0px");e[r]="".concat(a-t,"px")}},t.fixURL=function(e){var t=(0,n.createValidAbsoluteUrl)(e,null,{addDefaultProtocol:!0,tryConvertEncoding:!0});return t?t.href:null},t.isPrintOnly=h,t.layoutClass=function(e){switch(e.layout){case"position":default:return"xfaPosition";case"lr-tb":return"xfaLrTb";case"rl-row":return"xfaRlRow";case"rl-tb":return"xfaRlTb";case"row":return"xfaRow";case"table":return"xfaTable";case"tb":return"xfaTb"}},t.layoutNode=function(e,t){var r=null,n=null,i=!1;if((!e.w||!e.h)&&e.value){var o=0,s=0;e.margin&&(o=e.margin.leftInset+e.margin.rightInset,s=e.margin.topInset+e.margin.bottomInset);var c=null,l=null;e.para&&(l=Object.create(null),c=""===e.para.lineHeight?null:e.para.lineHeight,l.top=""===e.para.spaceAbove?0:e.para.spaceAbove,l.bottom=""===e.para.spaceBelow?0:e.para.spaceBelow,l.left=""===e.para.marginLeft?0:e.para.marginLeft,l.right=""===e.para.marginRight?0:e.para.marginRight);var h=e.font;if(!h)for(var f=e[a.$getTemplateRoot](),d=e[a.$getParent]();d&&d!==f;){if(d.font){h=d.font;break}d=d[a.$getParent]()}var g=(e.w||t.width)-o,p=e[a.$globalData].fontFinder;if(e.value.exData&&e.value.exData[a.$content]&&"text/html"===e.value.exData.contentType){var m=u(e.value.exData[a.$content],h,l,c,p,g);n=m.width,r=m.height,i=m.isBroken}else{var v=e.value[a.$text]();if(v){var b=u(v,h,l,c,p,g);n=b.width,r=b.height,i=b.isBroken}}null===n||e.w||(n+=o),null===r||e.h||(r+=s)}return{w:n,h:r,isBroken:i}},t.measureToString=c,t.setAccess=function(e,t){switch(e.access){case"nonInteractive":t.push("xfaNonInteractive");break;case"readOnly":t.push("xfaReadOnly");break;case"protected":t.push("xfaDisabled")}},t.setFontFamily=function(e,t,r,a){if(r){var n=(0,i.stripQuotes)(e.typeface);a.fontFamily='"'.concat(n,'"');var s=r.find(n);if(s){var c=s.regular.cssFontInfo.fontFamily;c!==n&&(a.fontFamily='"'.concat(c,'"'));var l=f(t);if(l&&""!==l.lineHeight)return;if(a.lineHeight)return;var u=(0,o.selectFont)(e,s);u&&(a.lineHeight=Math.max(1.2,u.lineHeight))}}else delete a.fontFamily},t.setMinMaxDimensions=function(e,t){"position"===e[a.$getSubformParent]().layout&&(e.minW>0&&(t.minWidth=c(e.minW)),e.maxW>0&&(t.maxWidth=c(e.maxW)),e.minH>0&&(t.minHeight=c(e.minH)),e.maxH>0&&(t.maxHeight=c(e.maxH)))},t.setPara=function(e,t,r){if(r.attributes.class&&r.attributes.class.includes("xfaRich")){t&&(""===e.h&&(t.height="auto"),""===e.w&&(t.width="auto"));var n=f(e);if(n){var i=r.attributes.style;switch(i.display="flex",i.flexDirection="column",n.vAlign){case"top":i.justifyContent="start";break;case"bottom":i.justifyContent="end";break;case"middle":i.justifyContent="center"}for(var o=n[a.$toStyle](),s=0,c=Object.entries(o);s<c.length;s++){var l=g(c[s],2),u=l[0],h=l[1];u in i||(i[u]=h)}}}},t.toStyle=function(e){for(var t=Object.create(null),r=arguments.length,i=new Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];for(var s=0,c=i;s<c.length;s++){var u=c[s],h=e[u];if(null!==h)if(l.hasOwnProperty(u))l[u](e,t);else if(h instanceof a.XFAObject){var f=h[a.$toStyle]();f?Object.assign(t,f):(0,n.warn)("(DEBUG) - XFA - style for ".concat(u," not implemented yet"))}}return t};var a=r(77),n=r(2),i=r(78),o=r(85),s=r(86);function c(e){return"string"===typeof e?"0px":Number.isInteger(e)?"".concat(e,"px"):"".concat(e.toFixed(2),"px")}var l={anchorType:function(e,t){var r=e[a.$getSubformParent]();if(r&&(!r.layout||"position"===r.layout))switch("transform"in t||(t.transform=""),e.anchorType){case"bottomCenter":t.transform+="translate(-50%, -100%)";break;case"bottomLeft":t.transform+="translate(0,-100%)";break;case"bottomRight":t.transform+="translate(-100%,-100%)";break;
2case"middleCenter":t.transform+="translate(-50%,-50%)";break;case"middleLeft":t.transform+="translate(0,-50%)";break;case"middleRight":t.transform+="translate(-100%,-50%)";break;case"topCenter":t.transform+="translate(-50%,0)";break;case"topRight":t.transform+="translate(-100%,0)"}},dimensions:function(e,t){var r=e[a.$getSubformParent](),n=e.w,i=e.h;if(r.layout&&r.layout.includes("row")){var o,s=r[a.$extra],l=e.colSpan;-1===l?(o=s.columnWidths.slice(s.currentColumn).reduce((function(e,t){return e+t}),0),s.currentColumn=0):(o=s.columnWidths.slice(s.currentColumn,s.currentColumn+l).reduce((function(e,t){return e+t}),0),s.currentColumn=(s.currentColumn+e.colSpan)%s.columnWidths.length),isNaN(o)||(n=e.w=o)}t.width=""!==n?c(n):"auto",t.height=""!==i?c(i):"auto"},position:function(e,t){var r=e[a.$getSubformParent]();r&&r.layout&&"position"!==r.layout||(t.position="absolute",t.left=c(e.x),t.top=c(e.y))},rotate:function(e,t){e.rotate&&("transform"in t||(t.transform=""),t.transform+="rotate(-".concat(e.rotate,"deg)"),t.transformOrigin="top left")},presence:function(e,t){switch(e.presence){case"invisible":t.visibility="hidden";break;case"hidden":case"inactive":t.display="none"}},hAlign:function(e,t){if("para"===e[a.$nodeName])switch(e.hAlign){case"justifyAll":t.textAlign="justify-all";break;case"radix":t.textAlign="left";break;default:t.textAlign=e.hAlign}else switch(e.hAlign){case"left":t.alignSelf="start";break;case"center":t.alignSelf="center";break;case"right":t.alignSelf="end"}},margin:function(e,t){e.margin&&(t.margin=e.margin[a.$toStyle]().margin)}};function u(e,t,r,n,i,o){var c=new s.TextMeasure(t,r,n,i);return"string"===typeof e?c.addString(e):e[a.$pushGlyphs](c),c.compute(o)}function h(e){return e.relevant.length>0&&!e.relevant[0].excluded&&"print"===e.relevant[0].viewname}function f(e){var t=e[a.$getTemplateRoot]()[a.$extra].paraStack;return t.length?t.at(-1):null}},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.FontFinder=void 0,t.getMetrics=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=null;if(e){var i=(0,n.stripQuotes)(e.typeface),o=e[a.$globalData].fontFinder.find(i);r=s(e,o)}if(!r)return{lineHeight:12,lineGap:2,lineNoGap:10};var c=e.size||10,l=r.lineHeight?Math.max(t?0:1.2,r.lineHeight):1.2,u=void 0===r.lineGap?.2:r.lineGap;return{lineHeight:l*c,lineGap:u*c,lineNoGap:Math.max(1,l-u)*c}},t.selectFont=s;var a=r(77),n=r(78),i=r(2),o=function(){return v((function e(t){m(this,e),this.fonts=new Map,this.cache=new Map,this.warned=new Set,this.defaultFont=null,this.add(t)}),[{key:"add",value:function(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,a=d(e);try{for(a.s();!(t=a.n()).done;){var n=t.value;this.addPdfFont(n)}}catch(f){a.e(f)}finally{a.f()}var i,o=d(this.fonts.values());try{for(o.s();!(i=o.n()).done;){var s=i.value;s.regular||(s.regular=s.italic||s.bold||s.bolditalic)}}catch(f){o.e(f)}finally{o.f()}if(r&&0!==r.size){var c,l=this.fonts.get("PdfJS-Fallback-PdfJS-XFA"),u=d(r);try{for(u.s();!(c=u.n()).done;){var h=c.value;this.fonts.set(h,l)}}catch(f){u.e(f)}finally{u.f()}}}},{key:"addPdfFont",value:function(e){var t=e.cssFontInfo,r=t.fontFamily,a=this.fonts.get(r);a||(a=Object.create(null),this.fonts.set(r,a),this.defaultFont||(this.defaultFont=a));var n="",i=parseFloat(t.fontWeight);0!==parseFloat(t.italicAngle)?n=i>=700?"bolditalic":"italic":i>=700&&(n="bold"),n||((e.name.includes("Bold")||e.psName&&e.psName.includes("Bold"))&&(n="bold"),(e.name.includes("Italic")||e.name.endsWith("It")||e.psName&&(e.psName.includes("Italic")||e.psName.endsWith("It")))&&(n+="italic")),n||(n="regular"),a[n]=e}},{key:"getDefault",value:function(){return this.defaultFont}},{key:"find",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=this.fonts.get(e)||this.cache.get(e);if(r)return r;var a=/,|-|_| |bolditalic|bold|italic|regular|it/gi,n=e.replace(a,"");if(r=this.fonts.get(n))return this.cache.set(e,r),r;n=n.toLowerCase();var o,s=[],c=d(this.fonts.entries());try{for(c.s();!(o=c.n()).done;){var l=g(o.value,2),u=l[0],h=l[1];u.replace(a,"").toLowerCase().startsWith(n)&&s.push(h)}}catch(C){c.e(C)}finally{c.f()}if(0===s.length){var f,p=d(this.fonts.entries());try{for(p.s();!(f=p.n()).done;){var m=g(f.value,2)[1];m.regular.name&&m.regular.name.replace(a,"").toLowerCase().startsWith(n)&&s.push(m)}}catch(C){p.e(C)}finally{p.f()}}if(0===s.length){n=n.replace(/psmt|mt/gi,"");var v,b=d(this.fonts.entries());try{for(b.s();!(v=b.n()).done;){var y=g(v.value,2),k=y[0],w=y[1];k.replace(a,"").toLowerCase().startsWith(n)&&s.push(w)}}catch(C){b.e(C)}finally{b.f()}}if(0===s.length){var x,S=d(this.fonts.values());try{for(S.s();!(x=S.n()).done;){var A=x.value;A.regular.name&&A.regular.name.replace(a,"").toLowerCase().startsWith(n)&&s.push(A)}}catch(C){S.e(C)}finally{S.f()}}return s.length>=1?(1!==s.length&&t&&(0,i.warn)("XFA - Too many choices to guess the correct font: ".concat(e)),this.cache.set(e,s[0]),s[0]):(t&&!this.warned.has(e)&&(this.warned.add(e),(0,i.warn)("XFA - Cannot find the font: ".concat(e))),null)}}])}();function s(e,t){return"italic"===e.posture?"bold"===e.weight?t.bolditalic:t.italic:"bold"===e.weight?t.bold:t.regular}t.FontFinder=o}
vendor: 3,227 bytes, line 2
2,function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.TextMeasure=void 0;var a=r(85),n=function(){return v((function e(t,r,n,i){if(m(this,e),this.lineHeight=n,this.paraMargin=r||{top:0,bottom:0,left:0,right:0},!t){var o=this.defaultFont(i),s=g(o,2);return this.pdfFont=s[0],void(this.xfaFont=s[1])}this.xfaFont={typeface:t.typeface,posture:t.posture,weight:t.weight,size:t.size,letterSpacing:t.letterSpacing};var c=i.find(t.typeface);if(!c){var l=this.defaultFont(i),u=g(l,2);return this.pdfFont=u[0],void(this.xfaFont=u[1])}if(this.pdfFont=(0,a.selectFont)(t,c),!this.pdfFont){var h=this.defaultFont(i),f=g(h,2);this.pdfFont=f[0],this.xfaFont=f[1]}}),[{key:"defaultFont",value:function(e){var t=e.find("Helvetica",!1)||e.find("Myriad Pro",!1)||e.find("Arial",!1)||e.getDefault();if(t&&t.regular){var r=t.regular;return[r,{typeface:r.cssFontInfo.fontFamily,posture:"normal",weight:"normal",size:10,letterSpacing:0}]}return[null,{typeface:"Courier",posture:"normal",weight:"normal",size:10,letterSpacing:0}]}}])}(),i=function(){return v((function e(t,r,a,i){m(this,e),this.fontFinder=i,this.stack=[new n(t,r,a,i)]}),[{key:"pushData",value:function(e,t,r){for(var a=this.stack.at(-1),i=0,o=["typeface","posture","weight","size","letterSpacing"];i<o.length;i++){var s=o[i];e[s]||(e[s]=a.xfaFont[s])}for(var c=0,l=["top","bottom","left","right"];c<l.length;c++){var u=l[c];isNaN(t[u])&&(t[u]=a.paraMargin[u])}var h=new n(e,t,r||a.lineHeight,this.fontFinder);h.pdfFont||(h.pdfFont=a.pdfFont),this.stack.push(h)}},{key:"popFont",value:function(){this.stack.pop()}},{key:"topFont",value:function(){return this.stack.at(-1)}}])}(),o=function(){return v((function e(t,r,a,n){m(this,e),this.glyphs=[],this.fontSelector=new i(t,r,a,n),this.extraHeight=0}),[{key:"pushData",value:function(e,t,r){this.fontSelector.pushData(e,t,r)}},{key:"popFont",value:function(e){return this.fontSelector.popFont()}},{key:"addPara",value:function(){var e=this.fontSelector.topFont();this.extraHeight+=e.paraMargin.top+e.paraMargin.bottom}},{key:"addString",value:function(e){if(e){var t=this.fontSelector.topFont(),r=t.xfaFont.size;if(t.pdfFont){var a,n=t.xfaFont.letterSpacing,i=t.pdfFont,o=i.lineHeight||1.2,s=t.lineHeight||Math.max(1.2,o)*r,c=o-(void 0===i.lineGap?.2:i.lineGap),l=Math.max(1,c)*r,u=r/1e3,h=i.defaultWidth||i.charsToGlyphs(" ")[0].width,f=d(e.split(/[\u2029\n]/));try{for(f.s();!(a=f.n()).done;){var g,p=a.value,m=i.encodeString(p).join(""),v=i.charsToGlyphs(m),b=d(v);try{for(b.s();!(g=b.n()).done;){var y=g.value,k=y.width||h;this.glyphs.push([k*u+n,s,l,y.unicode,!1])}}catch(O){b.e(O)}finally{b.f()}this.glyphs.push([0,0,0,"\n",!0])}}catch(O){f.e(O)}finally{f.f()}this.glyphs.pop()}else{var w,x=d(e.split(/[\u2029\n]/));try{for(x.s();!(w=x.n()).done;){var S,A=w.value,C=d(A.split(""));try{for(C.s();!(S=C.n()).done;){var F=S.value;this.glyphs.push([r,1.2*r,r,F,!1])}}catch(O){C.e(O)}finally{C.f()}this.glyphs.push([0,0,0,"\n",!0])}}catch(O){x.e(O)}finally{x.f()}this.glyphs.pop()}}}},{key:"compute",value:function(e){for(var t=-1,r=0,a=0,n=0,i=0,o=0,s=!1,c=!0,l=0,u=this.glyphs.length;l<u;l++){var h=g(this.glyphs[l],5),f=h[0],d=h[1],p=h[2],m=" "===h[3],v=c?p:d;h[4]?(a=Math.max(a,i),i=0,n+=o,o=v,t=-1,r=0,c=!1):m?i+f>
2e?(a=Math.max(a,i),i=0,n+=o,o=v,t=-1,r=0,s=!0,c=!1):(o=Math.max(v,o),r=i,i+=f,t=l):i+f>e?(n+=o,o=v,-1!==t?(l=t,a=Math.max(a,r),i=0,t=-1,r=0):(a=Math.max(a,i),i=f),s=!0,c=!1):(i+=f,o=Math.max(v,o))}return{width:1.02*(a=Math.max(a,i)),height:n+=o+this.extraHeight,isBroken:s}}}])}();t.TextMeasure=o},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.DataHandler=void 0;var a=r(77),n=function(){return v((function e(t,r){m(this,e),this.data=r,this.dataset=t.datasets||null}),[{key:"serialize",value:function(e){for(var t=[[-1,this.data[a.$getChildren]()]];t.length>0;){var r=t.at(-1),n=g(r,2),i=n[0],o=n[1];if(i+1!==o.length){var s=o[++r[0]],c=e.get(s[a.$uid]);if(c)s[a.$setValue](c);else{var l,u=s[a.$getAttributes](),h=d(u.values());try{for(h.s();!(l=h.n()).done;){var f=l.value,p=e.get(f[a.$uid]);if(p){f[a.$setValue](p);break}}}catch(w){h.e(w)}finally{h.f()}}var m=s[a.$getChildren]();m.length>0&&t.push([-1,m])}else t.pop()}var v=['<xfa:datasets xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/">'];if(this.dataset){var b,y=d(this.dataset[a.$getChildren]());try{for(y.s();!(b=y.n()).done;){var k=b.value;"data"!==k[a.$nodeName]&&k[a.$toString](v)}}catch(w){y.e(w)}finally{y.f()}}return this.data[a.$toString](v),v.push("</xfa:datasets>"),v.join("")}}])}();t.DataHandler=n},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.XFAParser=void 0;var a=r(77),n=r(66),i=r(89),o=r(2),s=function(e){function t(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,a=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return m(this,t),(e=l(this,t))._builder=new i.Builder(r),e._stack=[],e._globalData={usedTypefaces:new Set},e._ids=new Map,e._current=e._builder.buildRoot(e._ids),e._errorCode=n.XMLParserErrorCode.NoError,e._whiteRegex=/^\s+$/,e._nbsps=/\xa0+/g,e._richText=a,e}return u(t,e),v(t,[{key:"parse",value:function(e){if(this.parseXml(e),this._errorCode===n.XMLParserErrorCode.NoError)return this._current[a.$finalize](),this._current.element}},{key:"onText",value:function(e){e=e.replace(this._nbsps,(function(e){return e.slice(1)+" "})),this._richText||this._current[a.$acceptWhitespace]()?this._current[a.$onText](e,this._richText):this._whiteRegex.test(e)||this._current[a.$onText](e.trim())}},{key:"onCdata",value:function(e){this._current[a.$onText](e)}},{key:"_mkAttributes",value:function(e,t){var r,n=null,i=null,s=Object.create({}),c=d(e);try{for(c.s();!(r=c.n()).done;){var l=r.value,u=l.name,h=l.value;if("xmlns"===u)n?(0,o.warn)("XFA - multiple namespace definition in <".concat(t,">")):n=h;else if(u.startsWith("xmlns:")){var f=u.substring(6);i||(i=[]),i.push({prefix:f,value:h})}else{var g=u.indexOf(":");if(-1===g)s[u]=h;else{var p=s[a.$nsAttributes];p||(p=s[a.$nsAttributes]=Object.create(null));var m=[u.slice(0,g),u.slice(g+1)],v=m[0],b=m[1],y=p[v];y||(y=p[v]=Object.create(null)),y[b]=h}}}}catch(k){c.e(k)}finally{c.f()}return[n,i,s]}},{key:"_getNameAndPrefix",value:function(e,t){var r=e.indexOf(":");return-1===r?[e,null]:[e.substring(r+1),t?"":e.substring(0,r)]}},{key:"onBeginElement",value:function(e,t,r){var n=this._mkAttributes(t,e),i=g(n,3),o=i[0],s=i[1],c=i[2],l=this._getNameAndPrefix(e,this._builder.isNsAgnostic()),u=g(l,2),h=u[0],f=u[1],d=this._builder.build({nsPrefix:f,name:h,attributes:c,namespace:o,prefixes:s});if(d[a.$globalData]=this._globalData,r)return d[a.$finalize](),this._current[a.$onChild](d)&&d[a.$setId](this._ids),void d[a.$clean](this._builder);this._stack.push(this._current),this._current=d}},{key:"onEndElement",value:function(e){var r=this._current;if(r[a.$isCDATAXml]()&&"string"===typeof r[a.$content]){var n=new t;n._globalData=this._globalData;var i=n.parse(r[a.$content]);r[a.$content]=null,r[a.$onChild](i)}r[a.$finalize](),this._current=this._stack.pop(),this._current[a.$onChild](r)&&r[a.$setId](this._ids),r[a.$clean](this._builder)}},{key:"onError",value:function(e){this._errorCode=e}}])}(n.XMLParserBase);t.XFAParser=s},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.Builder=void 0;var a=r(79),n=r(77),s=r(90),h=r(82),f=r(99),p=r(2),b=function(e,t,r){function a(e){var t;return m(this,a),(t=l(this,a,[-1,"root",Object.create(null)])).element=null,t[n.$ids]=e,t}return u(a,e),v(a,[{key:t,value:function(e){return this.element=e,!0}},{key:r,value:function(){i(o(a.prototype),n.$finalize,this).call(this),this.element.template instanceof h.Template&&(this[n.$ids].set(n.$root,this.element),this.element.template[n.$resolvePrototypes](this[n.$ids]),this.element.template[n.$ids]=this[n.$ids])}}])}(n.XFAObject,n.$onChild,n.$finalize),y=function(e,t){function r(){return m(this,r),l(this,r,[-1,"",Object.create(null)])}
2return u(r,e),v(r,[{key:t,value:function(e){return!1}}])}(n.XFAObject,n.$onChild),k=function(){return v((function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;m(this,e),this._namespaceStack=[],this._nsAgnosticLevel=0,this._namespacePrefixes=new Map,this._namespaces=new Map,this._nextNsId=Math.max.apply(Math,c(Object.values(a.NamespaceIds).map((function(e){return e.id})))),this._currentNamespace=t||new f.UnknownNamespace(++this._nextNsId)}),[{key:"buildRoot",value:function(e){return new b(e)}},{key:"build",value:function(e){var t=e.nsPrefix,r=e.name,i=e.attributes,o=e.namespace,c=e.prefixes,l=null!==o;if(l&&(this._namespaceStack.push(this._currentNamespace),this._currentNamespace=this._searchNamespace(o)),c&&this._addNamespacePrefix(c),i.hasOwnProperty(n.$nsAttributes)){for(var u=s.NamespaceSetUp.datasets,h=i[n.$nsAttributes],f=null,d=0,p=Object.entries(h);d<p.length;d++){var m=g(p[d],2),v=m[0],b=m[1];if(this._getNamespaceToUse(v)===u){f={xfa:b};break}}f?i[n.$nsAttributes]=f:delete i[n.$nsAttributes]}var k=this._getNamespaceToUse(t),w=k&&k[a.$buildXFAObject](r,i)||new y;return w[n.$isNsAgnostic]()&&this._nsAgnosticLevel++,(l||c||w[n.$isNsAgnostic]())&&(w[n.$cleanup]={hasNamespace:l,prefixes:c,nsAgnostic:w[n.$isNsAgnostic]()}),w}},{key:"isNsAgnostic",value:function(){return this._nsAgnosticLevel>0}},{key:"_searchNamespace",value:function(e){var t=this._namespaces.get(e);if(t)return t;for(var r=0,n=Object.entries(a.NamespaceIds);r<n.length;r++){var i=g(n[r],2),o=i[0];if((0,i[1].check)(e)){if(t=s.NamespaceSetUp[o])return this._namespaces.set(e,t),t;break}}return t=new f.UnknownNamespace(++this._nextNsId),this._namespaces.set(e,t),t}},{key:"_addNamespacePrefix",value:function(e){var t,r=d(e);try{for(r.s();!(t=r.n()).done;){var a=t.value,n=a.prefix,i=a.value,o=this._searchNamespace(i),s=this._namespacePrefixes.get(n);s||(s=[],this._namespacePrefixes.set(n,s)),s.push(o)}}catch(c){r.e(c)}finally{r.f()}}},{key:"_getNamespaceToUse",value:function(e){if(!e)return this._currentNamespace;var t=this._namespacePrefixes.get(e);return t&&t.length>0?t.at(-1):((0,p.warn)("Unknown namespace prefix: ".concat(e,".")),null)}},{key:"clean",value:function(e){var t=this,r=e.hasNamespace,a=e.prefixes,n=e.nsAgnostic;r&&(this._currentNamespace=this._namespaceStack.pop()),a&&a.forEach((function(e){var r=e.prefix;t._namespacePrefixes.get(r).pop()})),n&&this._nsAgnosticLevel--}}])}();t.Builder=k},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.NamespaceSetUp=void 0;var a=r(91),n=r(92),i=r(93),o=r(94),s=r(95),c=r(96),l=r(82),u=r(97),h=r(98),f={config:a.ConfigNamespace,connection:n.ConnectionSetNamespace,datasets:i.DatasetsNamespace,localeSet:o.LocaleSetNamespace,signature:s.SignatureNamespace,stylesheet:c.StylesheetNamespace,template:l.TemplateNamespace,xdp:u.XdpNamespace,xhtml:h.XhtmlNamespace};t.NamespaceSetUp=f},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.ConfigNamespace=void 0;var a=r(79),n=r(77),i=r(78),o=r(2),s=a.NamespaceIds.config.id,c=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[s,"acrobat",!0])).acrobat7=null,r.autoSave=null,r.common=null,r.validate=null,r.validateApprovalSignatures=null,r.submitUrl=new n.XFAObjectArray,r}return u(t,e),v(t)}(n.XFAObject),h=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[s,"acrobat7",!0])).dynamicRender=null,r}return u(t,e),v(t)}(n.XFAObject),f=function(e){function t(e){return m(this,t),l(this,t,[s,"ADBE_JSConsole",["delegate","Enable","Disable"]])}return u(t,e),v(t)}(n.OptionObject),g=function(e){function t(e){return m(this,t),l(this,t,[s,"ADBE_JSDebugger",["delegate","Enable","Disable"]])}return u(t,e),v(t)}(n.OptionObject),p=function(e){function t(e){return m(this,t),l(this,t,[s,"addSilentPrint"])}return u(t,e),v(t)}(n.Option01),b=function(e){function t(e){return m(this,t),l(this,t,[s,"addViewerPreferences"])}return u(t,e),v(t)}(n.Option01),y=function(e){function t(e){return m(this,t),l(this,t,[s,"adjustData"])}return u(t,e),v(t)}(n.Option10),k=function(e){function t(e){return m(this,t),l(this,t,[s,"adobeExtensionLevel",0,function(e){return e>=1&&e<=8}])}return u(t,e),v(t)}(n.IntegerObject),w=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[s,"agent",!0])).name=e.name?e.name.trim():"",r.common=new n.XFAObjectArray,r}return u(t,e),v(t)}(n.XFAObject),x=function(e){function t(e){return m(this,t),l(this,t,[s,"alwaysEmbed"])}return u(t,e),v(t)}(n.ContentObject),S=function(e){function t(e){return m(this,t),l(this,t,[s,"amd"])}return u(t,e),v(t)}(n.StringObject),A=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[s,"area"])).level=(0,i.getInteger)({data:e.level,defaultValue:0,validate:function(e){return e>=1&&e<=3}}),r.name=(0,i.getStringOption)(e.name,["","barcode","coreinit","deviceDriver","font","general","layout","merge","script","signature","sourceSet","templateCache"]),r}return u(t,e),v(t)}(n.XFAObject),C=function(e){function t(e){return m(this,t),l(this,t,[s,"attributes",["preserve","delegate","ignore"]])}return u(t,e),v(t)}(n.OptionObject),F=function(e){function t(e){return m(this,t),l(this,t,[s,"autoSave",["disabled","enabled"]])}return u(t,e),v(t)}(n.OptionObject),O=function(e){function t(e){return m(this,t),l(this,t,[s,"base"])}return u(t,e),v(t)}(n.StringObject),I=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[s,"batchOutput"])).format=(0,i.getStringOption)(e.format,["none","concat","zip","zipCompress"]),r}return u(t,e),v(t)}(n.XFAObject),T=function(e,t){function r(e){return m(this,r),l(this,r,[s,"behaviorOverride"])}
2return u(r,e),v(r,[{key:t,value:function(){this[n.$content]=new Map(this[n.$content].trim().split(/\s+/).filter((function(e){return e.includes(":")})).map((function(e){return e.split(":",2)})))}}])}(n.ContentObject,n.$finalize),M=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[s,"cache",!0])).templateCache=null,r}return u(t,e),v(t)}(n.XFAObject),P=function(e){function t(e){return m(this,t),l(this,t,[s,"change"])}return u(t,e),v(t)}(n.Option01),E=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[s,"common",!0])).data=null,r.locale=null,r.localeSet=null,r.messaging=null,r.suppressBanner=null,r.template=null,r.validationMessaging=null,r.versionControl=null,r.log=new n.XFAObjectArray,r}return u(t,e),v(t)}(n.XFAObject),N=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[s,"compress"])).scope=(0,i.getStringOption)(e.scope,["imageOnly","document"]),r}return u(t,e),v(t)}(n.XFAObject),D=function(e){function t(e){return m(this,t),l(this,t,[s,"compressLogicalStructure"])}return u(t,e),v(t)}(n.Option01),B=function(e){function t(e){return m(this,t),l(this,t,[s,"compressObjectStream"])}return u(t,e),v(t)}(n.Option10),L=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[s,"compression",!0])).compressLogicalStructure=null,r.compressObjectStream=null,r.level=null,r.type=null,r}return u(t,e),v(t)}(n.XFAObject),R=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[s,"config",!0])).acrobat=null,r.present=null,r.trace=null,r.agent=new n.XFAObjectArray,r}return u(t,e),v(t)}(n.XFAObject),_=function(e){function t(e){return m(this,t),l(this,t,[s,"conformance",["A","B"]])}return u(t,e),v(t)}(n.OptionObject),j=function(e){function t(e){return m(this,t),l(this,t,[s,"contentCopy"])}return u(t,e),v(t)}(n.Option01),U=function(e){function t(e){return m(this,t),l(this,t,[s,"copies",1,function(e){return e>=1}])}return u(t,e),v(t)}(n.IntegerObject),$=function(e){function t(e){return m(this,t),l(this,t,[s,"creator"])}return u(t,e),v(t)}(n.StringObject),X=function(e){function t(e){return m(this,t),l(this,t,[s,"currentPage",0,function(e){return e>=0}])}return u(t,e),v(t)}(n.IntegerObject),H=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[s,"data",!0])).adjustData=null,r.attributes=null,r.incrementalLoad=null,r.outputXSL=null,r.range=null,r.record=null,r.startNode=null,r.uri=null,r.window=null,r.xsl=null,r.excludeNS=new n.XFAObjectArray,r.transform=new n.XFAObjectArray,r}return u(t,e),v(t)}(n.XFAObject),q=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[s,"debug",!0])).uri=null,r}return u(t,e),v(t)}(n.XFAObject),z=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[s,"defaultTypeface"])).writingScript=(0,i.getStringOption)(e.writingScript,["*","Arabic","Cyrillic","EastEuropeanRoman","Greek","Hebrew","Japanese","Korean","Roman","SimplifiedChinese","Thai","TraditionalChinese","Vietnamese"]),r}return u(t,e),v(t)}(n.ContentObject),G=function(e){function t(e){return m(this,t),l(this,t,[s,"destination",["pdf","pcl","ps","webClient","zpl"]])}return u(t,e),v(t)}(n.OptionObject),W=function(e){function t(e){return m(this,t),l(this,t,[s,"documentAssembly"])}return u(t,e),v(t)}(n.Option01),V=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[s,"driver",!0])).name=e.name?e.name.trim():"",r.fontInfo=null,r.xdc=null,r}return u(t,e),v(t)}(n.XFAObject),K=function(e){function t(e){return m(this,t),l(this,t,[s,"duplexOption",["simplex","duplexFlipLongEdge","duplexFlipShortEdge"]])}return u(t,e),v(t)}(n.OptionObject),Y=function(e){function t(e){return m(this,t),l(this,t,[s,"dynamicRender",["forbidden","required"]])}return u(t,e),v(t)}(n.OptionObject),J=function(e){function t(e){return m(this,t),l(this,t,[s,"embed"])}return u(t,e),v(t)}(n.Option01),Z=function(e){function t(e){return m(this,t),l(this,t,[s,"encrypt"])}return u(t,e),v(t)}(n.Option01),Q=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[s,"encryption",!0])).encrypt=null,r.encryptionLevel=null,r.permissions=null,r}return u(t,e),v(t)}(n.XFAObject),ee=function(e){function t(e){return m(this,t),l(this,t,[s,"encryptionLevel",["40bit","128bit"]])}return u(t,e),v(t)}(n.OptionObject),te=function(e){function t(e){return m(this,t),l(this,t,[s,"enforce"])}return u(t,e),v(t)}(n.StringObject),re=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[s,"equate"])).force=(0,i.getInteger)({data:e.force,defaultValue:1,validate:function(e){return 0===e}}),r.from=e.from||"",r.to=e.to||"",r}return u(t,e),v(t)}(n.XFAObject),ae=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[s,"equateRange"])).from=e.from||"",r.to=e.to||"",r._unicodeRange=e.unicodeRange||"",r}return u(t,e),v(t,[{key:"unicodeRange",get:function(){var e,t=[],r=/U\+([0-9a-fA-F]+)/,a=this._unicodeRange,n=d(a.split(",").map((function(e){return e.trim()})).filter((function(e){return!!e})));try{for(n.s();!(e=n.n()).done;){var i=e.value;1===(i=i.split("-",2).map((function(e){var t=e.match(r);return t?parseInt(t[1],16):0}))).length&&i.push(i[0]),t.push(i)}}catch(s){n.e(s)}finally{n.f()}return(0,o.shadow)(this,"unicodeRange",t)}}])}(n.XFAObject),ne=function(e,t){function r(e){return m(this,r),l(this,r,[s,"exclude"])}
2return u(r,e),v(r,[{key:t,value:function(){this[n.$content]=this[n.$content].trim().split(/\s+/).filter((function(e){return e&&["calculate","close","enter","exit","initialize","ready","validate"].includes(e)}))}}])}(n.ContentObject,n.$finalize),ie=function(e){function t(e){return m(this,t),l(this,t,[s,"excludeNS"])}return u(t,e),v(t)}(n.StringObject),oe=function(e){function t(e){return m(this,t),l(this,t,[s,"flipLabel",["usePrinterSetting","on","off"]])}return u(t,e),v(t)}(n.OptionObject),se=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[s,"fontInfo",!0])).embed=null,r.map=null,r.subsetBelow=null,r.alwaysEmbed=new n.XFAObjectArray,r.defaultTypeface=new n.XFAObjectArray,r.neverEmbed=new n.XFAObjectArray,r}return u(t,e),v(t)}(n.XFAObject),ce=function(e){function t(e){return m(this,t),l(this,t,[s,"formFieldFilling"])}return u(t,e),v(t)}(n.Option01),le=function(e){function t(e){return m(this,t),l(this,t,[s,"groupParent"])}return u(t,e),v(t)}(n.StringObject),ue=function(e){function t(e){return m(this,t),l(this,t,[s,"ifEmpty",["dataValue","dataGroup","ignore","remove"]])}return u(t,e),v(t)}(n.OptionObject),he=function(e){function t(e){return m(this,t),l(this,t,[s,"includeXDPContent"])}return u(t,e),v(t)}(n.StringObject),fe=function(e){function t(e){return m(this,t),l(this,t,[s,"incrementalLoad",["none","forwardOnly"]])}return u(t,e),v(t)}(n.OptionObject),de=function(e){function t(e){return m(this,t),l(this,t,[s,"incrementalMerge"])}return u(t,e),v(t)}(n.Option01),ge=function(e){function t(e){return m(this,t),l(this,t,[s,"interactive"])}return u(t,e),v(t)}(n.Option01),pe=function(e){function t(e){return m(this,t),l(this,t,[s,"jog",["usePrinterSetting","none","pageSet"]])}return u(t,e),v(t)}(n.OptionObject),me=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[s,"labelPrinter",!0])).name=(0,i.getStringOption)(e.name,["zpl","dpl","ipl","tcpl"]),r.batchOutput=null,r.flipLabel=null,r.fontInfo=null,r.xdc=null,r}return u(t,e),v(t)}(n.XFAObject),ve=function(e){function t(e){return m(this,t),l(this,t,[s,"layout",["paginate","panel"]])}return u(t,e),v(t)}(n.OptionObject),be=function(e){function t(e){return m(this,t),l(this,t,[s,"level",0,function(e){return e>0}])}return u(t,e),v(t)}(n.IntegerObject),ye=function(e){function t(e){return m(this,t),l(this,t,[s,"linearized"])}return u(t,e),v(t)}(n.Option01),ke=function(e){function t(e){return m(this,t),l(this,t,[s,"locale"])}return u(t,e),v(t)}(n.StringObject),we=function(e){function t(e){return m(this,t),l(this,t,[s,"localeSet"])}return u(t,e),v(t)}(n.StringObject),xe=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[s,"log",!0])).mode=null,r.threshold=null,r.to=null,r.uri=null,r}return u(t,e),v(t)}(n.XFAObject),Se=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[s,"map",!0])).equate=new n.XFAObjectArray,r.equateRange=new n.XFAObjectArray,r}return u(t,e),v(t)}(n.XFAObject),Ae=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[s,"mediumInfo",!0])).map=null,r}return u(t,e),v(t)}(n.XFAObject),Ce=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[s,"message",!0])).msgId=null,r.severity=null,r}return u(t,e),v(t)}(n.XFAObject),Fe=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[s,"messaging",!0])).message=new n.XFAObjectArray,r}return u(t,e),v(t)}(n.XFAObject),Oe=function(e){function t(e){return m(this,t),l(this,t,[s,"mode",["append","overwrite"]])}return u(t,e),v(t)}(n.OptionObject),Ie=function(e){function t(e){return m(this,t),l(this,t,[s,"modifyAnnots"])}return u(t,e),v(t)}(n.Option01),Te=function(e){function t(e){return m(this,t),l(this,t,[s,"msgId",1,function(e){return e>=1}])}return u(t,e),v(t)}(n.IntegerObject),Me=function(e){function t(e){return m(this,t),l(this,t,[s,"nameAttr"])}return u(t,e),v(t)}(n.StringObject),Pe=function(e){function t(e){return m(this,t),l(this,t,[s,"neverEmbed"])}return u(t,e),v(t)}(n.ContentObject),Ee=function(e){function t(e){return m(this,t),l(this,t,[s,"numberOfCopies",null,function(e){return e>=2&&e<=5}])}return u(t,e),v(t)}(n.IntegerObject),Ne=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[s,"openAction",!0])).destination=null,r}return u(t,e),v(t)}(n.XFAObject),De=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[s,"output",!0])).to=null,r.type=null,r.uri=null,r}return u(t,e),v(t)}(n.XFAObject),Be=function(e){function t(e){return m(this,t),l(this,t,[s,"outputBin"])}return u(t,e),v(t)}(n.StringObject),Le=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[s,"outputXSL",!0])).uri=null,r}return u(t,e),v(t)}(n.XFAObject),Re=function(e){function t(e){return m(this,t),l(this,t,[s,"overprint",["none","both","draw","field"]])}return u(t,e),v(t)}(n.OptionObject),_e=function(e,t){function r(e){return m(this,r),l(this,r,[s,"packets"])}
2return u(r,e),v(r,[{key:t,value:function(){"*"!==this[n.$content]&&(this[n.$content]=this[n.$content].trim().split(/\s+/).filter((function(e){return["config","datasets","template","xfdf","xslt"].includes(e)})))}}])}(n.StringObject,n.$finalize),je=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[s,"pageOffset"])).x=(0,i.getInteger)({data:e.x,defaultValue:"useXDCSetting",validate:function(e){return!0}}),r.y=(0,i.getInteger)({data:e.y,defaultValue:"useXDCSetting",validate:function(e){return!0}}),r}return u(t,e),v(t)}(n.XFAObject),Ue=function(e,t){function r(e){return m(this,r),l(this,r,[s,"pageRange"])}return u(r,e),v(r,[{key:t,value:function(){for(var e=this[n.$content].trim().split(/\s+/).map((function(e){return parseInt(e,10)})),t=[],r=0,a=e.length;r<a;r+=2)t.push(e.slice(r,r+2));this[n.$content]=t}}])}(n.StringObject,n.$finalize),$e=function(e){function t(e){return m(this,t),l(this,t,[s,"pagination",["simplex","duplexShortEdge","duplexLongEdge"]])}return u(t,e),v(t)}(n.OptionObject),Xe=function(e){function t(e){return m(this,t),l(this,t,[s,"paginationOverride",["none","forceDuplex","forceDuplexLongEdge","forceDuplexShortEdge","forceSimplex"]])}return u(t,e),v(t)}(n.OptionObject),He=function(e){function t(e){return m(this,t),l(this,t,[s,"part",1,function(e){return!1}])}return u(t,e),v(t)}(n.IntegerObject),qe=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[s,"pcl",!0])).name=e.name||"",r.batchOutput=null,r.fontInfo=null,r.jog=null,r.mediumInfo=null,r.outputBin=null,r.pageOffset=null,r.staple=null,r.xdc=null,r}return u(t,e),v(t)}(n.XFAObject),ze=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[s,"pdf",!0])).name=e.name||"",r.adobeExtensionLevel=null,r.batchOutput=null,r.compression=null,r.creator=null,r.encryption=null,r.fontInfo=null,r.interactive=null,r.linearized=null,r.openAction=null,r.pdfa=null,r.producer=null,r.renderPolicy=null,r.scriptModel=null,r.silentPrint=null,r.submitFormat=null,r.tagged=null,r.version=null,r.viewerPreferences=null,r.xdc=null,r}return u(t,e),v(t)}(n.XFAObject),Ge=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[s,"pdfa",!0])).amd=null,r.conformance=null,r.includeXDPContent=null,r.part=null,r}return u(t,e),v(t)}(n.XFAObject),We=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[s,"permissions",!0])).accessibleContent=null,r.change=null,r.contentCopy=null,r.documentAssembly=null,r.formFieldFilling=null,r.modifyAnnots=null,r.plaintextMetadata=null,r.print=null,r.printHighQuality=null,r}return u(t,e),v(t)}(n.XFAObject),Ve=function(e){function t(e){return m(this,t),l(this,t,[s,"pickTrayByPDFSize"])}return u(t,e),v(t)}(n.Option01),Ke=function(e){function t(e){return m(this,t),l(this,t,[s,"picture"])}return u(t,e),v(t)}(n.StringObject),Ye=function(e){function t(e){return m(this,t),l(this,t,[s,"plaintextMetadata"])}return u(t,e),v(t)}(n.Option01),Je=function(e){function t(e){return m(this,t),l(this,t,[s,"presence",["preserve","dissolve","dissolveStructure","ignore","remove"]])}return u(t,e),v(t)}(n.OptionObject),Ze=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[s,"present",!0])).behaviorOverride=null,r.cache=null,r.common=null,r.copies=null,r.destination=null,r.incrementalMerge=null,r.layout=null,r.output=null,r.overprint=null,r.pagination=null,r.paginationOverride=null,r.script=null,r.validate=null,r.xdp=null,r.driver=new n.XFAObjectArray,r.labelPrinter=new n.XFAObjectArray,r.pcl=new n.XFAObjectArray,r.pdf=new n.XFAObjectArray,r.ps=new n.XFAObjectArray,r.submitUrl=new n.XFAObjectArray,r.webClient=new n.XFAObjectArray,r.zpl=new n.XFAObjectArray,r}return u(t,e),v(t)}(n.XFAObject),Qe=function(e){function t(e){return m(this,t),l(this,t,[s,"print"])}return u(t,e),v(t)}(n.Option01),et=function(e){function t(e){return m(this,t),l(this,t,[s,"printHighQuality"])}return u(t,e),v(t)}(n.Option01),tt=function(e){function t(e){return m(this,t),l(this,t,[s,"printScaling",["appdefault","noScaling"]])}return u(t,e),v(t)}(n.OptionObject),rt=function(e){function t(e){return m(this,t),l(this,t,[s,"printerName"])}return u(t,e),v(t)}(n.StringObject),at=function(e){function t(e){return m(this,t),l(this,t,[s,"producer"])}return u(t,e),v(t)}(n.StringObject),nt=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[s,"ps",!0])).name=e.name||"",r.batchOutput=null,r.fontInfo=null,r.jog=null,r.mediumInfo=null,r.outputBin=null,r.staple=null,r.xdc=null,r}return u(t,e),v(t)}(n.XFAObject),it=function(e,t){function r(e){return m(this,r),l(this,r,[s,"range"])}
2return u(r,e),v(r,[{key:t,value:function(){this[n.$content]=this[n.$content].trim().split(/\s*,\s*/,2).map((function(e){return e.split("-").map((function(e){return parseInt(e.trim(),10)}))})).filter((function(e){return e.every((function(e){return!isNaN(e)}))})).map((function(e){return 1===e.length&&e.push(e[0]),e}))}}])}(n.ContentObject,n.$finalize),ot=function(e,t){function r(e){return m(this,r),l(this,r,[s,"record"])}return u(r,e),v(r,[{key:t,value:function(){this[n.$content]=this[n.$content].trim();var e=parseInt(this[n.$content],10);!isNaN(e)&&e>=0&&(this[n.$content]=e)}}])}(n.ContentObject,n.$finalize),st=function(e,t){function r(e){return m(this,r),l(this,r,[s,"relevant"])}return u(r,e),v(r,[{key:t,value:function(){this[n.$content]=this[n.$content].trim().split(/\s+/)}}])}(n.ContentObject,n.$finalize),ct=function(e,t){function r(e){return m(this,r),l(this,r,[s,"rename"])}return u(r,e),v(r,[{key:t,value:function(){this[n.$content]=this[n.$content].trim(),(this[n.$content].toLowerCase().startsWith("xml")||this[n.$content].match(new RegExp("[\\p{L}_][\\p{L}\\d._\\p{M}-]*","u")))&&(0,o.warn)("XFA - Rename: invalid XFA name")}}])}(n.ContentObject,n.$finalize),lt=function(e){function t(e){return m(this,t),l(this,t,[s,"renderPolicy",["server","client"]])}return u(t,e),v(t)}(n.OptionObject),ut=function(e){function t(e){return m(this,t),l(this,t,[s,"runScripts",["both","client","none","server"]])}return u(t,e),v(t)}(n.OptionObject),ht=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[s,"script",!0])).currentPage=null,r.exclude=null,r.runScripts=null,r}return u(t,e),v(t)}(n.XFAObject),ft=function(e){function t(e){return m(this,t),l(this,t,[s,"scriptModel",["XFA","none"]])}return u(t,e),v(t)}(n.OptionObject),dt=function(e){function t(e){return m(this,t),l(this,t,[s,"severity",["ignore","error","information","trace","warning"]])}return u(t,e),v(t)}(n.OptionObject),gt=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[s,"silentPrint",!0])).addSilentPrint=null,r.printerName=null,r}return u(t,e),v(t)}(n.XFAObject),pt=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[s,"staple"])).mode=(0,i.getStringOption)(e.mode,["usePrinterSetting","on","off"]),r}return u(t,e),v(t)}(n.XFAObject),mt=function(e){function t(e){return m(this,t),l(this,t,[s,"startNode"])}return u(t,e),v(t)}(n.StringObject),vt=function(e){function t(e){return m(this,t),l(this,t,[s,"startPage",0,function(e){return!0}])}return u(t,e),v(t)}(n.IntegerObject),bt=function(e){function t(e){return m(this,t),l(this,t,[s,"submitFormat",["html","delegate","fdf","xml","pdf"]])}return u(t,e),v(t)}(n.OptionObject),yt=function(e){function t(e){return m(this,t),l(this,t,[s,"submitUrl"])}return u(t,e),v(t)}(n.StringObject),kt=function(e){function t(e){return m(this,t),l(this,t,[s,"subsetBelow",100,function(e){return e>=0&&e<=100}])}return u(t,e),v(t)}(n.IntegerObject),wt=function(e){function t(e){return m(this,t),l(this,t,[s,"suppressBanner"])}return u(t,e),v(t)}(n.Option01),xt=function(e){function t(e){return m(this,t),l(this,t,[s,"tagged"])}return u(t,e),v(t)}(n.Option01),St=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[s,"template",!0])).base=null,r.relevant=null,r.startPage=null,r.uri=null,r.xsl=null,r}return u(t,e),v(t)}(n.XFAObject),At=function(e){function t(e){return m(this,t),l(this,t,[s,"threshold",["trace","error","information","warning"]])}return u(t,e),v(t)}(n.OptionObject),Ct=function(e){function t(e){return m(this,t),l(this,t,[s,"to",["null","memory","stderr","stdout","system","uri"]])}return u(t,e),v(t)}(n.OptionObject),Ft=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[s,"templateCache"])).maxEntries=(0,i.getInteger)({data:e.maxEntries,defaultValue:5,validate:function(e){return e>=0}}),r}return u(t,e),v(t)}(n.XFAObject),Ot=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[s,"trace",!0])).area=new n.XFAObjectArray,r}return u(t,e),v(t)}(n.XFAObject),It=function(e){function t(e){var r;
2return m(this,t),(r=l(this,t,[s,"transform",!0])).groupParent=null,r.ifEmpty=null,r.nameAttr=null,r.picture=null,r.presence=null,r.rename=null,r.whitespace=null,r}return u(t,e),v(t)}(n.XFAObject),Tt=function(e){function t(e){return m(this,t),l(this,t,[s,"type",["none","ascii85","asciiHex","ccittfax","flate","lzw","runLength","native","xdp","mergedXDP"]])}return u(t,e),v(t)}(n.OptionObject),Mt=function(e){function t(e){return m(this,t),l(this,t,[s,"uri"])}return u(t,e),v(t)}(n.StringObject),Pt=function(e){function t(e){return m(this,t),l(this,t,[s,"validate",["preSubmit","prePrint","preExecute","preSave"]])}return u(t,e),v(t)}(n.OptionObject),Et=function(e,t){function r(e){return m(this,r),l(this,r,[s,"validateApprovalSignatures"])}return u(r,e),v(r,[{key:t,value:function(){this[n.$content]=this[n.$content].trim().split(/\s+/).filter((function(e){return["docReady","postSign"].includes(e)}))}}])}(n.ContentObject,n.$finalize),Nt=function(e){function t(e){return m(this,t),l(this,t,[s,"validationMessaging",["allMessagesIndividually","allMessagesTogether","firstMessageOnly","noMessages"]])}return u(t,e),v(t)}(n.OptionObject),Dt=function(e){function t(e){return m(this,t),l(this,t,[s,"version",["1.7","1.6","1.5","1.4","1.3","1.2"]])}return u(t,e),v(t)}(n.OptionObject),Bt=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[s,"VersionControl"])).outputBelow=(0,i.getStringOption)(e.outputBelow,["warn","error","update"]),r.sourceAbove=(0,i.getStringOption)(e.sourceAbove,["warn","error"]),r.sourceBelow=(0,i.getStringOption)(e.sourceBelow,["update","maintain"]),r}return u(t,e),v(t)}(n.XFAObject),Lt=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[s,"viewerPreferences",!0])).ADBE_JSConsole=null,r.ADBE_JSDebugger=null,r.addViewerPreferences=null,r.duplexOption=null,r.enforce=null,r.numberOfCopies=null,r.pageRange=null,r.pickTrayByPDFSize=null,r.printScaling=null,r}return u(t,e),v(t)}(n.XFAObject),Rt=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[s,"webClient",!0])).name=e.name?e.name.trim():"",r.fontInfo=null,r.xdc=null,r}return u(t,e),v(t)}(n.XFAObject),_t=function(e){function t(e){return m(this,t),l(this,t,[s,"whitespace",["preserve","ltrim","normalize","rtrim","trim"]])}return u(t,e),v(t)}(n.OptionObject),jt=function(e,t){function r(e){return m(this,r),l(this,r,[s,"window"])}return u(r,e),v(r,[{key:t,value:function(){var e=this[n.$content].trim().split(/\s*,\s*/,2).map((function(e){return parseInt(e,10)}));e.some((function(e){return isNaN(e)}))?this[n.$content]=[0,0]:(1===e.length&&e.push(e[0]),this[n.$content]=e)}}])}(n.ContentObject,n.$finalize),Ut=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[s,"xdc",!0])).uri=new n.XFAObjectArray,r.xsl=new n.XFAObjectArray,r}return u(t,e),v(t)}(n.XFAObject),$t=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[s,"xdp",!0])).packets=null,r}return u(t,e),v(t)}(n.XFAObject),Xt=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[s,"xsl",!0])).debug=null,r.uri=null,r}return u(t,e),v(t)}(n.XFAObject),Ht=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[s,"zpl",!0])).name=e.name?e.name.trim():"",r.batchOutput=null,r.flipLabel=null,r.fontInfo=null,r.xdc=null,r}return u(t,e),v(t)}(n.XFAObject),qt=function(e){function t(){m(this,t)}return v(t,null,[{key:e,value:function(e,r){if(t.hasOwnProperty(e))return t[e](r)}},{key:"acrobat",value:function(e){return new c(e)}},{key:"acrobat7",value:function(e){return new h(e)}},{key:"ADBE_JSConsole",value:function(e){return new f(e)}},{key:"ADBE_JSDebugger",value:function(e){return new g(e)}},{key:"addSilentPrint",value:function(e){return new p(e)}},{key:"addViewerPreferences",value:function(e){return new b(e)}},{key:"adjustData",value:function(e){return new y(e)}},{key:"adobeExtensionLevel",value:function(e){return new k(e)}},{key:"agent",value:function(e){return new w(e)}},{key:"alwaysEmbed",value:function(e){return new x(e)}},{key:"amd",value:function(e){return new S(e)}},{key:"area",value:function(e){return new A(e)}},{key:"attributes",value:function(e){return new C(e)}},{key:"autoSave",value:function(e){return new F(e)}},{key:"base",value:function(e){return new O(e)}},{key:"batchOutput",value:function(e){return new I(e)}},{key:"behaviorOverride",value:function(e){return new T(e)}},{key:"cache",value:function(e){return new M(e)}},{key:"change",value:function(e){return new P(e)}},{key:"common",value:function(e){return new E(e)}},{key:"compress",value:function(e){return new N(e)}},{key:"compressLogicalStructure",value:function(e){return new D(e)}},{key:"compressObjectStream",value:function(e){return new B(e)}},{key:"compression",value:function(e){return new L(e)}},{key:"config",value:function(e){return new R(e)}},{key:"conformance",value:function(e){return new _(e)}},{key:"contentCopy",value:function(e){return new j(e)}},{key:"copies",value:function(e){return new U(e)}},{key:"creator",value:function(e){return new $(e)}},{key:"currentPage",value:function(e){return new X(e)}},{key:"data",value:function(e){return new H(e)}},{key:"debug",value:function(e){return new q(e)}},{key:"defaultTypeface",value:function(e){return new z(e)}},{key:"destination",value:function(e){return new G(e)}},{key:"documentAssembly",value:function(e){return new W(e)}},{key:"driver",value:function(e){return new V(e)}},{key:"duplexOption",value:function(e){return new K(e)}},{key:"dynamicRender",value:function(e){return new Y(e)}}
2,{key:"embed",value:function(e){return new J(e)}},{key:"encrypt",value:function(e){return new Z(e)}},{key:"encryption",value:function(e){return new Q(e)}},{key:"encryptionLevel",value:function(e){return new ee(e)}},{key:"enforce",value:function(e){return new te(e)}},{key:"equate",value:function(e){return new re(e)}},{key:"equateRange",value:function(e){return new ae(e)}},{key:"exclude",value:function(e){return new ne(e)}},{key:"excludeNS",value:function(e){return new ie(e)}},{key:"flipLabel",value:function(e){return new oe(e)}},{key:"fontInfo",value:function(e){return new se(e)}},{key:"formFieldFilling",value:function(e){return new ce(e)}},{key:"groupParent",value:function(e){return new le(e)}},{key:"ifEmpty",value:function(e){return new ue(e)}},{key:"includeXDPContent",value:function(e){return new he(e)}},{key:"incrementalLoad",value:function(e){return new fe(e)}},{key:"incrementalMerge",value:function(e){return new de(e)}},{key:"interactive",value:function(e){return new ge(e)}},{key:"jog",value:function(e){return new pe(e)}},{key:"labelPrinter",value:function(e){return new me(e)}},{key:"layout",value:function(e){return new ve(e)}},{key:"level",value:function(e){return new be(e)}},{key:"linearized",value:function(e){return new ye(e)}},{key:"locale",value:function(e){return new ke(e)}},{key:"localeSet",value:function(e){return new we(e)}},{key:"log",value:function(e){return new xe(e)}},{key:"map",value:function(e){return new Se(e)}},{key:"mediumInfo",value:function(e){return new Ae(e)}},{key:"message",value:function(e){return new Ce(e)}},{key:"messaging",value:function(e){return new Fe(e)}},{key:"mode",value:function(e){return new Oe(e)}},{key:"modifyAnnots",value:function(e){return new Ie(e)}},{key:"msgId",value:function(e){return new Te(e)}},{key:"nameAttr",value:function(e){return new Me(e)}},{key:"neverEmbed",value:function(e){return new Pe(e)}},{key:"numberOfCopies",value:function(e){return new Ee(e)}},{key:"openAction",value:function(e){return new Ne(e)}},{key:"output",value:function(e){return new De(e)}},{key:"outputBin",value:function(e){return new Be(e)}},{key:"outputXSL",value:function(e){return new Le(e)}},{key:"overprint",value:function(e){return new Re(e)}},{key:"packets",value:function(e){return new _e(e)}},{key:"pageOffset",value:function(e){return new je(e)}},{key:"pageRange",value:function(e){return new Ue(e)}},{key:"pagination",value:function(e){return new $e(e)}},{key:"paginationOverride",value:function(e){return new Xe(e)}},{key:"part",value:function(e){return new He(e)}},{key:"pcl",value:function(e){return new qe(e)}},{key:"pdf",value:function(e){return new ze(e)}},{key:"pdfa",value:function(e){return new Ge(e)}},{key:"permissions",value:function(e){return new We(e)}},{key:"pickTrayByPDFSize",value:function(e){return new Ve(e)}},{key:"picture",value:function(e){return new Ke(e)}},{key:"plaintextMetadata",value:function(e){return new Ye(e)}},{key:"presence",value:function(e){return new Je(e)}},{key:"present",value:function(e){return new Ze(e)}},{key:"print",value:function(e){return new Qe(e)}},{key:"printHighQuality",value:function(e){return new et(e)}},{key:"printScaling",value:function(e){return new tt(e)}},{key:"printerName",value:function(e){return new rt(e)}},{key:"producer",value:function(e){return new at(e)}},{key:"ps",value:function(e){return new nt(e)}},{key:"range",value:function(e){return new it(e)}},{key:"record",value:function(e){return new ot(e)}},{key:"relevant",value:function(e){return new st(e)}},{key:"rename",value:function(e){return new ct(e)}},{key:"renderPolicy",value:function(e){return new lt(e)}},{key:"runScripts",value:function(e){return new ut(e)}},{key:"script",value:function(e){return new ht(e)}},{key:"scriptModel",value:function(e){return new ft(e)}},{key:"severity",value:function(e){return new dt(e)}},{key:"silentPrint",value:function(e){return new gt(e)}},{key:"staple",value:function(e){return new pt(e)}},{key:"startNode",value:function(e){return new mt(e)}},{key:"startPage",value:function(e){return new vt(e)}},{key:"submitFormat",value:function(e){return new bt(e)}},{key:"submitUrl",value:function(e){return new yt(e)}},{key:"subsetBelow",value:function(e){return new kt(e)}},{key:"suppressBanner",value:function(e){return new wt(e)}},{key:"tagged",value:function(e){return new xt(e)}},{key:"template",value:function(e){return new St(e)}},{key:"templateCache",value:function(e){return new Ft(e)}},{key:"threshold",value:function(e){return new At(e)}},{key:"to",value:function(e){return new Ct(e)}},{key:"trace",value:function(e){return new Ot(e)}},{key:"transform",value:function(e){return new It(e)}},{key:"type",value:function(e){return new Tt(e)}},{key:"uri",value:function(e){return new Mt(e)}},{key:"validate",value:function(e){return new Pt(e)}},{key:"validateApprovalSignatures",value:function(e){return new Et(e)}},{key:"validationMessaging",value:function(e){return new Nt(e)}},{key:"version",value:function(e){return new Dt(e)}},{key:"versionControl",value:function(e){return new Bt(e)}},{key:"viewerPreferences",value:function(e){return new Lt(e)}},{key:"webClient",value:function(e){return new Rt(e)}},{key:"whitespace",value:function(e){return new _t(e)}},{key:"window",value:function(e){return new jt(e)}},{key:"xdc",value:function(e){return new Ut(e)}},{key:"xdp",value:function(e){return new $t(e)}},{key:"xsl",value:function(e){return new Xt(e)}},{key:"zpl",value:function(e){return new Ht(e)}}])}(a.$buildXFAObject);t.ConfigNamespace=qt}
2,function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.ConnectionSetNamespace=void 0;var a=r(79),n=r(77),i=a.NamespaceIds.connectionSet.id,o=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[i,"connectionSet",!0])).wsdlConnection=new n.XFAObjectArray,r.xmlConnection=new n.XFAObjectArray,r.xsdConnection=new n.XFAObjectArray,r}return u(t,e),v(t)}(n.XFAObject),s=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[i,"effectiveInputPolicy"])).id=e.id||"",r.name=e.name||"",r.use=e.use||"",r.usehref=e.usehref||"",r}return u(t,e),v(t)}(n.XFAObject),c=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[i,"effectiveOutputPolicy"])).id=e.id||"",r.name=e.name||"",r.use=e.use||"",r.usehref=e.usehref||"",r}return u(t,e),v(t)}(n.XFAObject),h=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[i,"operation"])).id=e.id||"",r.input=e.input||"",r.name=e.name||"",r.output=e.output||"",r.use=e.use||"",r.usehref=e.usehref||"",r}return u(t,e),v(t)}(n.StringObject),f=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[i,"rootElement"])).id=e.id||"",r.name=e.name||"",r.use=e.use||"",r.usehref=e.usehref||"",r}return u(t,e),v(t)}(n.StringObject),d=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[i,"soapAction"])).id=e.id||"",r.name=e.name||"",r.use=e.use||"",r.usehref=e.usehref||"",r}return u(t,e),v(t)}(n.StringObject),g=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[i,"soapAddress"])).id=e.id||"",r.name=e.name||"",r.use=e.use||"",r.usehref=e.usehref||"",r}return u(t,e),v(t)}(n.StringObject),p=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[i,"uri"])).id=e.id||"",r.name=e.name||"",r.use=e.use||"",r.usehref=e.usehref||"",r}return u(t,e),v(t)}(n.StringObject),b=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[i,"wsdlAddress"])).id=e.id||"",r.name=e.name||"",r.use=e.use||"",r.usehref=e.usehref||"",r}return u(t,e),v(t)}(n.StringObject),y=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[i,"wsdlConnection",!0])).dataDescription=e.dataDescription||"",r.name=e.name||"",r.effectiveInputPolicy=null,r.effectiveOutputPolicy=null,r.operation=null,r.soapAction=null,r.soapAddress=null,r.wsdlAddress=null,r}return u(t,e),v(t)}(n.XFAObject),k=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[i,"xmlConnection",!0])).dataDescription=e.dataDescription||"",r.name=e.name||"",r.uri=null,r}return u(t,e),v(t)}(n.XFAObject),w=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[i,"xsdConnection",!0])).dataDescription=e.dataDescription||"",r.name=e.name||"",r.rootElement=null,r.uri=null,r}return u(t,e),v(t)}(n.XFAObject),x=function(e){function t(){m(this,t)}return v(t,null,[{key:e,value:function(e,r){if(t.hasOwnProperty(e))return t[e](r)}},{key:"connectionSet",value:function(e){return new o(e)}},{key:"effectiveInputPolicy",value:function(e){return new s(e)}},{key:"effectiveOutputPolicy",value:function(e){return new c(e)}},{key:"operation",value:function(e){return new h(e)}},{key:"rootElement",value:function(e){return new f(e)}},{key:"soapAction",value:function(e){return new d(e)}},{key:"soapAddress",value:function(e){return new g(e)}},{key:"uri",value:function(e){return new p(e)}},{key:"wsdlAddress",value:function(e){return new b(e)}},{key:"wsdlConnection",value:function(e){return new y(e)}},{key:"xmlConnection",value:function(e){return new k(e)}},{key:"xsdConnection",value:function(e){return new w(e)}}])}(a.$buildXFAObject);t.ConnectionSetNamespace=x},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.DatasetsNamespace=void 0;var a=r(77),n=r(79),i=n.NamespaceIds.datasets.id,o=function(e,t){function r(e){return m(this,r),l(this,r,[i,"data",e])}return u(r,e),v(r,[{key:t,value:function(){return!0}}])}(a.XmlObject,a.$isNsAgnostic),s=function(e,t){function r(e){var t;return m(this,r),(t=l(this,r,[i,"datasets",!0])).data=null,t.Signature=null,t}return u(r,e),v(r,[{key:t,value:function(e){var t=e[a.$nodeName];("data"===t&&e[a.$namespaceId]===i||"Signature"===t&&e[a.$namespaceId]===n.NamespaceIds.signature.id)&&(this[t]=e),this[a.$appendChild](e)}}])}(a.XFAObject,a.$onChild),c=function(e){function t(){m(this,t)}return v(t,null,[{key:e,value:function(e,r){if(t.hasOwnProperty(e))return t[e](r)}},{key:"datasets",value:function(e){return new s(e)}},{key:"data",value:function(e){return new o(e)}}])}(n.$buildXFAObject);t.DatasetsNamespace=c}
2,function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.LocaleSetNamespace=void 0;var a=r(79),n=r(77),i=r(78),o=a.NamespaceIds.localeSet.id,s=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[o,"calendarSymbols",!0])).name="gregorian",r.dayNames=new n.XFAObjectArray(2),r.eraNames=null,r.meridiemNames=null,r.monthNames=new n.XFAObjectArray(2),r}return u(t,e),v(t)}(n.XFAObject),c=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[o,"currencySymbol"])).name=(0,i.getStringOption)(e.name,["symbol","isoname","decimal"]),r}return u(t,e),v(t)}(n.StringObject),h=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[o,"currencySymbols",!0])).currencySymbol=new n.XFAObjectArray(3),r}return u(t,e),v(t)}(n.XFAObject),f=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[o,"datePattern"])).name=(0,i.getStringOption)(e.name,["full","long","med","short"]),r}return u(t,e),v(t)}(n.StringObject),d=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[o,"datePatterns",!0])).datePattern=new n.XFAObjectArray(4),r}return u(t,e),v(t)}(n.XFAObject),g=function(e){function t(e){return m(this,t),l(this,t,[o,"dateTimeSymbols"])}return u(t,e),v(t)}(n.ContentObject),p=function(e){function t(e){return m(this,t),l(this,t,[o,"day"])}return u(t,e),v(t)}(n.StringObject),b=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[o,"dayNames",!0])).abbr=(0,i.getInteger)({data:e.abbr,defaultValue:0,validate:function(e){return 1===e}}),r.day=new n.XFAObjectArray(7),r}return u(t,e),v(t)}(n.XFAObject),y=function(e){function t(e){return m(this,t),l(this,t,[o,"era"])}return u(t,e),v(t)}(n.StringObject),k=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[o,"eraNames",!0])).era=new n.XFAObjectArray(2),r}return u(t,e),v(t)}(n.XFAObject),w=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[o,"locale",!0])).desc=e.desc||"",r.name="isoname",r.calendarSymbols=null,r.currencySymbols=null,r.datePatterns=null,r.dateTimeSymbols=null,r.numberPatterns=null,r.numberSymbols=null,r.timePatterns=null,r.typeFaces=null,r}return u(t,e),v(t)}(n.XFAObject),x=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[o,"localeSet",!0])).locale=new n.XFAObjectArray,r}return u(t,e),v(t)}(n.XFAObject),S=function(e){function t(e){return m(this,t),l(this,t,[o,"meridiem"])}return u(t,e),v(t)}(n.StringObject),A=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[o,"meridiemNames",!0])).meridiem=new n.XFAObjectArray(2),r}return u(t,e),v(t)}(n.XFAObject),C=function(e){function t(e){return m(this,t),l(this,t,[o,"month"])}return u(t,e),v(t)}(n.StringObject),F=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[o,"monthNames",!0])).abbr=(0,i.getInteger)({data:e.abbr,defaultValue:0,validate:function(e){return 1===e}}),r.month=new n.XFAObjectArray(12),r}return u(t,e),v(t)}(n.XFAObject),O=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[o,"numberPattern"])).name=(0,i.getStringOption)(e.name,["full","long","med","short"]),r}return u(t,e),v(t)}(n.StringObject),I=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[o,"numberPatterns",!0])).numberPattern=new n.XFAObjectArray(4),r}return u(t,e),v(t)}(n.XFAObject),T=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[o,"numberSymbol"])).name=(0,i.getStringOption)(e.name,["decimal","grouping","percent","minus","zero"]),r}return u(t,e),v(t)}(n.StringObject),M=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[o,"numberSymbols",!0])).numberSymbol=new n.XFAObjectArray(5),r}return u(t,e),v(t)}(n.XFAObject),P=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[o,"timePattern"])).name=(0,i.getStringOption)(e.name,["full","long","med","short"]),r}return u(t,e),v(t)}(n.StringObject),E=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[o,"timePatterns",!0])).timePattern=new n.XFAObjectArray(4),r}return u(t,e),v(t)}(n.XFAObject),N=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[o,"typeFace",!0])).name=""|e.name,r}return u(t,e),v(t)}(n.XFAObject),D=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[o,"typeFaces",!0])).typeFace=new n.XFAObjectArray,r}return u(t,e),v(t)}(n.XFAObject),B=function(e){function t(){m(this,t)}return v(t,null,[{key:e,value:function(e,r){if(t.hasOwnProperty(e))return t[e](r)}},{key:"calendarSymbols",value:function(e){return new s(e)}},{key:"currencySymbol",value:function(e){return new c(e)}}
2,{key:"currencySymbols",value:function(e){return new h(e)}},{key:"datePattern",value:function(e){return new f(e)}},{key:"datePatterns",value:function(e){return new d(e)}},{key:"dateTimeSymbols",value:function(e){return new g(e)}},{key:"day",value:function(e){return new p(e)}},{key:"dayNames",value:function(e){return new b(e)}},{key:"era",value:function(e){return new y(e)}},{key:"eraNames",value:function(e){return new k(e)}},{key:"locale",value:function(e){return new w(e)}},{key:"localeSet",value:function(e){return new x(e)}},{key:"meridiem",value:function(e){return new S(e)}},{key:"meridiemNames",value:function(e){return new A(e)}},{key:"month",value:function(e){return new C(e)}},{key:"monthNames",value:function(e){return new F(e)}},{key:"numberPattern",value:function(e){return new O(e)}},{key:"numberPatterns",value:function(e){return new I(e)}},{key:"numberSymbol",value:function(e){return new T(e)}},{key:"numberSymbols",value:function(e){return new M(e)}},{key:"timePattern",value:function(e){return new P(e)}},{key:"timePatterns",value:function(e){return new E(e)}},{key:"typeFace",value:function(e){return new N(e)}},{key:"typeFaces",value:function(e){return new D(e)}}])}(a.$buildXFAObject);t.LocaleSetNamespace=B},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.SignatureNamespace=void 0;var a=r(79),n=r(77),i=a.NamespaceIds.signature.id,o=function(e){function t(e){return m(this,t),l(this,t,[i,"signature",!0])}return u(t,e),v(t)}(n.XFAObject),s=function(e){function t(){m(this,t)}return v(t,null,[{key:e,value:function(e,r){if(t.hasOwnProperty(e))return t[e](r)}},{key:"signature",value:function(e){return new o(e)}}])}(a.$buildXFAObject);t.SignatureNamespace=s},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.StylesheetNamespace=void 0;var a=r(79),n=r(77),i=a.NamespaceIds.stylesheet.id,o=function(e){function t(e){return m(this,t),l(this,t,[i,"stylesheet",!0])}return u(t,e),v(t)}(n.XFAObject),s=function(e){function t(){m(this,t)}return v(t,null,[{key:e,value:function(e,r){if(t.hasOwnProperty(e))return t[e](r)}},{key:"stylesheet",value:function(e){return new o(e)}}])}(a.$buildXFAObject);t.StylesheetNamespace=s},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.XdpNamespace=void 0;var a=r(79),n=r(77),i=a.NamespaceIds.xdp.id,o=function(e,t){function r(e){var t;return m(this,r),(t=l(this,r,[i,"xdp",!0])).uuid=e.uuid||"",t.timeStamp=e.timeStamp||"",t.config=null,t.connectionSet=null,t.datasets=null,t.localeSet=null,t.stylesheet=new n.XFAObjectArray,t.template=null,t}return u(r,e),v(r,[{key:t,value:function(e){var t=a.NamespaceIds[e[n.$nodeName]];return t&&e[n.$namespaceId]===t.id}}])}(n.XFAObject,n.$onChildCheck),s=function(e){function t(){m(this,t)}return v(t,null,[{key:e,value:function(e,r){if(t.hasOwnProperty(e))return t[e](r)}},{key:"xdp",value:function(e){return new o(e)}}])}(a.$buildXFAObject);t.XdpNamespace=s},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.XhtmlNamespace=void 0;var a=r(77),n=r(79),s=r(84),c=r(78),h=n.NamespaceIds.xhtml.id,f=Symbol(),p=new Set(["color","font","font-family","font-size","font-stretch","font-style","font-weight","margin","margin-bottom","margin-left","margin-right","margin-top","letter-spacing","line-height","orphans","page-break-after","page-break-before","page-break-inside","tab-interval","tab-stop","text-align","text-decoration","text-indent","vertical-align","widows","kerning-mode","xfa-font-horizontal-scale","xfa-font-vertical-scale","xfa-spacerun","xfa-tab-stops"]),b=new Map([["page-break-after","breakAfter"],["page-break-before","breakBefore"],["page-break-inside","breakInside"],["kerning-mode",function(e){return"none"===e?"none":"normal"}],["xfa-font-horizontal-scale",function(e){return"scaleX(".concat(Math.max(0,Math.min(parseInt(e)/100)).toFixed(2),")")}],["xfa-font-vertical-scale",function(e){return"scaleY(".concat(Math.max(0,Math.min(parseInt(e)/100)).toFixed(2),")")}],["xfa-spacerun",""],["xfa-tab-stops",""],["font-size",function(e,t){return e=t.fontSize=(0,c.getMeasurement)(e),(0,s.measureToString)(.99*e)}],["letter-spacing",function(e){return(0,s.measureToString)((0,c.getMeasurement)(e))}],["line-height",function(e){return(0,s.measureToString)((0,c.getMeasurement)(e))}],["margin",function(e){return(0,s.measureToString)((0,c.getMeasurement)(e))}],["margin-bottom",function(e){return(0,s.measureToString)((0,c.getMeasurement)(e))}],["margin-left",function(e){return(0,s.measureToString)((0,c.getMeasurement)(e))}],["margin-right",function(e){return(0,s.measureToString)((0,c.getMeasurement)(e))}],["margin-top",function(e){return(0,s.measureToString)((0,c.getMeasurement)(e))}],["text-indent",function(e){return(0,s.measureToString)((0,c.getMeasurement)(e))}],["font-family",function(e){return e}],["vertical-align",function(e){return(0,s.measureToString)((0,c.getMeasurement)(e))}]]),y=/\s+/g,k=/[\r\n]+/g,w=/\r\n?/g;function x(e,t,r){var n=Object.create(null);if(!e)return n;var i,o=Object.create(null),l=d(e.split(";").map((function(e){return e.split(":",2)})));try{for(l.s();!(i=l.n()).done;){var u=g(i.value,2),h=u[0],f=u[1],p=b.get(h);if(""!==p){var m=f;p&&(m="string"===typeof p?p:p(f,o)),h.endsWith("scale")?n.transform?n.transform="".concat(n[h]," ").concat(m):n.transform=m:n[h.replaceAll(/-([a-zA-Z])/g,(function(e,t){return t.toUpperCase()}))]=m}}}catch(y){l.e(y)}finally{l.f()}
2if(n.fontFamily&&(0,s.setFontFamily)({typeface:n.fontFamily,weight:n.fontWeight||"normal",posture:n.fontStyle||"normal",size:o.fontSize||0},t,t[a.$globalData].fontFinder,n),r&&n.verticalAlign&&"0px"!==n.verticalAlign&&n.fontSize){var v=(0,c.getMeasurement)(n.fontSize);n.fontSize=(0,s.measureToString)(.583*v),n.verticalAlign=(0,s.measureToString)(Math.sign((0,c.getMeasurement)(n.verticalAlign))*v*.333)}return r&&n.fontSize&&(n.fontSize="calc(".concat(n.fontSize," * var(--scale-factor))")),(0,s.fixTextIndent)(n),n}var S=new Set(["body","html"]),A=function(e,t,r,n,s,b){function A(e,t){var r;return m(this,A),(r=l(this,A,[h,t]))[f]=!1,r.style=e.style||"",r}return u(A,e),v(A,[{key:t,value:function(e){var t;i(o(A.prototype),a.$clean,this).call(this,e),this.style=(t=this).style?t.style.trim().split(/\s*;\s*/).filter((function(e){return!!e})).map((function(e){return e.split(/\s*:\s*/,2)})).filter((function(e){var r=g(e,2),n=r[0],i=r[1];return"font-family"===n&&t[a.$globalData].usedTypefaces.add(i),p.has(n)})).map((function(e){return e.join(":")})).join(";"):""}},{key:r,value:function(){return!S.has(this[a.$nodeName])}},{key:n,value:function(e){arguments.length>1&&void 0!==arguments[1]&&arguments[1]?this[f]=!0:(e=e.replace(k,""),this.style.includes("xfa-spacerun:yes")||(e=e.replace(y," "))),e&&(this[a.$content]+=e)}},{key:s,value:function(e){var t,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=Object.create(null),i={top:NaN,bottom:NaN,left:NaN,right:NaN},o=null,s=d(this.style.split(";").map((function(e){return e.split(":",2)})));try{for(s.s();!(t=s.n()).done;){var l=g(t.value,2),u=l[0],h=l[1];switch(u){case"font-family":n.typeface=(0,c.stripQuotes)(h);break;case"font-size":n.size=(0,c.getMeasurement)(h);break;case"font-weight":n.weight=h;break;case"font-style":n.posture=h;break;case"letter-spacing":n.letterSpacing=(0,c.getMeasurement)(h);break;case"margin":var f=h.split(/ \t/).map((function(e){return(0,c.getMeasurement)(e)}));switch(f.length){case 1:i.top=i.bottom=i.left=i.right=f[0];break;case 2:i.top=i.bottom=f[0],i.left=i.right=f[1];break;case 3:i.top=f[0],i.bottom=f[2],i.left=i.right=f[1];break;case 4:i.top=f[0],i.left=f[1],i.bottom=f[2],i.right=f[3]}break;case"margin-top":i.top=(0,c.getMeasurement)(h);break;case"margin-bottom":i.bottom=(0,c.getMeasurement)(h);break;case"margin-left":i.left=(0,c.getMeasurement)(h);break;case"margin-right":i.right=(0,c.getMeasurement)(h);break;case"line-height":o=(0,c.getMeasurement)(h)}}}catch(b){s.e(b)}finally{s.f()}if(e.pushData(n,i,o),this[a.$content])e.addString(this[a.$content]);else{var p,m=d(this[a.$getChildren]());try{for(m.s();!(p=m.n()).done;){var v=p.value;"#text"!==v[a.$nodeName]?v[a.$pushGlyphs](e):e.addString(v[a.$content])}}catch(b){m.e(b)}finally{m.f()}}r&&e.popFont()}},{key:b,value:function(e){var t,r=[];return this[a.$extra]={children:r},this[a.$childrenToHTML]({}),0!==r.length||this[a.$content]?(t=this[f]?this[a.$content]?this[a.$content].replace(w,"\n"):void 0:this[a.$content]||void 0,c.HTMLResult.success({name:this[a.$nodeName],attributes:{href:this.href,style:x(this.style,this,this[f])},children:r,value:t})):c.HTMLResult.EMPTY}}])}(a.XmlObject,a.$clean,a.$acceptWhitespace,a.$onText,a.$pushGlyphs,a.$toHTML),C=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[e,"a"])).href=(0,s.fixURL)(e.href)||"",r}return u(t,e),v(t)}(A),F=function(e,t){function r(e){return m(this,r),l(this,r,[e,"b"])}return u(r,e),v(r,[{key:t,value:function(e){e.pushFont({weight:"bold"}),i(o(r.prototype),a.$pushGlyphs,this).call(this,e),e.popFont()}}])}(A,a.$pushGlyphs),O=function(e,t){function r(e){return m(this,r),l(this,r,[e,"body"])}return u(r,e),v(r,[{key:t,value:function(e){var t=i(o(r.prototype),a.$toHTML,this).call(this,e),n=t.html;return n?(n.name="div",n.attributes.class=["xfaRich"],t):c.HTMLResult.EMPTY}}])}(A,a.$toHTML),I=function(e,t,r,a){function n(e){return m(this,n),l(this,n,[e,"br"])}return u(n,e),v(n,[{key:t,value:function(){return"\n"}},{key:r,value:function(e){e.addString("\n")}},{key:a,value:function(e){return c.HTMLResult.success({name:"br"})}}])}(A,a.$text,a.$pushGlyphs,a.$toHTML),T=function(e,t){function r(e){return m(this,r),l(this,r,[e,"html"])}
2return u(r,e),v(r,[{key:t,value:function(e){var t=[];if(this[a.$extra]={children:t},this[a.$childrenToHTML]({}),0===t.length)return c.HTMLResult.success({name:"div",attributes:{class:["xfaRich"],style:{}},value:this[a.$content]||""});if(1===t.length){var r=t[0];if(r.attributes&&r.attributes.class.includes("xfaRich"))return c.HTMLResult.success(r)}return c.HTMLResult.success({name:"div",attributes:{class:["xfaRich"],style:{}},children:t})}}])}(A,a.$toHTML),M=function(e,t){function r(e){return m(this,r),l(this,r,[e,"i"])}return u(r,e),v(r,[{key:t,value:function(e){e.pushFont({posture:"italic"}),i(o(r.prototype),a.$pushGlyphs,this).call(this,e),e.popFont()}}])}(A,a.$pushGlyphs),P=function(e){function t(e){return m(this,t),l(this,t,[e,"li"])}return u(t,e),v(t)}(A),E=function(e){function t(e){return m(this,t),l(this,t,[e,"ol"])}return u(t,e),v(t)}(A),N=function(e,t,r){function n(e){return m(this,n),l(this,n,[e,"p"])}return u(n,e),v(n,[{key:t,value:function(e){i(o(n.prototype),a.$pushGlyphs,this).call(this,e,!1),e.addString("\n"),e.addPara(),e.popFont()}},{key:r,value:function(){return this[a.$getParent]()[a.$getChildren]().at(-1)===this?i(o(n.prototype),a.$text,this).call(this):i(o(n.prototype),a.$text,this).call(this)+"\n"}}])}(A,a.$pushGlyphs,a.$text),D=function(e){function t(e){return m(this,t),l(this,t,[e,"span"])}return u(t,e),v(t)}(A),B=function(e){function t(e){return m(this,t),l(this,t,[e,"sub"])}return u(t,e),v(t)}(A),L=function(e){function t(e){return m(this,t),l(this,t,[e,"sup"])}return u(t,e),v(t)}(A),R=function(e){function t(e){return m(this,t),l(this,t,[e,"ul"])}return u(t,e),v(t)}(A),_=function(e){function t(){m(this,t)}return v(t,null,[{key:e,value:function(e,r){if(t.hasOwnProperty(e))return t[e](r)}},{key:"a",value:function(e){return new C(e)}},{key:"b",value:function(e){return new F(e)}},{key:"body",value:function(e){return new O(e)}},{key:"br",value:function(e){return new I(e)}},{key:"html",value:function(e){return new T(e)}},{key:"i",value:function(e){return new M(e)}},{key:"li",value:function(e){return new P(e)}},{key:"ol",value:function(e){return new E(e)}},{key:"p",value:function(e){return new N(e)}},{key:"span",value:function(e){return new D(e)}},{key:"sub",value:function(e){return new B(e)}},{key:"sup",value:function(e){return new L(e)}},{key:"ul",value:function(e){return new R(e)}}])}(n.$buildXFAObject);t.XhtmlNamespace=_},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.UnknownNamespace=void 0;var a=r(79),n=r(77),i=function(e){return v((function e(t){m(this,e),this.namespaceId=t}),[{key:e,value:function(e,t){return new n.XmlObject(this.namespaceId,e,t)}}])}(a.$buildXFAObject);t.UnknownNamespace=i},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.DatasetReader=void 0;var a=r(2),n=r(6),s=r(66);function c(e){try{return(0,a.stringToUTF8String)(e)}catch(t){return(0,a.warn)('UTF-8 decoding failed: "'.concat(t,'".')),e}}var h=function(e){function t(e){var r;return m(this,t),(r=l(this,t,[e])).node=null,r}return u(t,e),v(t,[{key:"onEndElement",value:function(e){var r=i(o(t.prototype),"onEndElement",this).call(this,e);if(r&&"xfa:datasets"===e)throw this.node=r,new Error("Aborting DatasetXMLParser.")}}])}(s.SimpleXMLParser),f=function(){return v((function e(t){if(m(this,e),t.datasets)this.node=new s.SimpleXMLParser({hasAttributes:!0}).parseFromString(t.datasets).documentElement;else{var r=new h({hasAttributes:!0});try{r.parseFromString(t["xdp:xdp"])}catch(a){}this.node=r.node}}),[{key:"getValue",value:function(e){if(!this.node||!e)return"";var t=this.node.searchNode((0,n.parseXFAPath)(e),0);if(!t)return"";var r=t.firstChild;return r&&"value"===r.nodeName?t.children.map((function(e){return c(e.textContent)})):c(t.textContent)}}])}();t.DatasetReader=f},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.XRef=void 0;var a=r(2),n=r(5),i=r(6),o=r(17),s=r(7),c=r(67),l=function(){return v((function e(t,r){m(this,e),this.stream=t,this.pdfManager=r,this.entries=[],this.xrefstms=Object.create(null),this._cacheMap=new Map,this._pendingRefs=new n.RefSet,this.stats=new i.DocStats(r.msgHandler),this._newRefNum=null}),[{key:"getNewRef",value:function(){return null===this._newRefNum&&(this._newRefNum=this.entries.length||1),n.Ref.get(this._newRefNum++,0)}},{key:"resetNewRef",value:function(){this._newRefNum=null}},{key:"setStartXRef",value:function(e){this.startXRefQueue=[e]}},{key:"parse",value:function(){var e,t,r,o=arguments.length>0&&void 0!==arguments[0]&&arguments[0];o?((0,a.warn)("Indexing all PDF objects"),e=this.indexObjects()):e=this.readXRef(),e.assignXref(this),this.trailer=e;try{t=e.get("Encrypt")}catch(u){if(u instanceof i.MissingDataException)throw u;(0,a.warn)('XRef.parse - Invalid "Encrypt" reference: "'.concat(u,'".'))}if(t instanceof n.Dict){var s=e.get("ID"),l=s&&s.length?s[0]:"";t.suppressEncryption=!0,this.encrypt=new c.CipherTransformFactory(t,l,this.pdfManager.password)}try{r=e.get("Root")}catch(u){if(u instanceof i.MissingDataException)throw u;(0,a.warn)('XRef.parse - Invalid "Root" reference: "'.concat(u,'".'))}if(r instanceof n.Dict)try{if(r.get("Pages")instanceof n.Dict)return void(this.root=r)}catch(u){if(u instanceof i.MissingDataException)throw u;(0,a.warn)('XRef.parse - Invalid "Pages" reference: "'.concat(u,'".'))}if(!o)throw new i.XRefParseException;throw new a.InvalidPDFException("Invalid Root reference.")}},{key:"processXRefTable",value:function(e){"tableState"in this||(this.tableState={entryNum:0,streamPos:e.lexer.stream.pos,parserBuf1:e.buf1,parserBuf2:e.buf2});var t=this.readXRefTable(e);if(!(0,n.isCmd)(t,"trailer"))throw new a.FormatError("Invalid XRef table: could not find trailer dictionary");var r=e.getObj();if(r instanceof n.Dict||!r.dict||(r=r.dict),!(r instanceof n.Dict))throw new a.FormatError("Invalid XRef table: could not parse trailer dictionary");return delete this.tableState,r}},{key:"readXRefTable",value:function(e){var t,r=e.lexer.stream,i=this.tableState;for(r.pos=i.streamPos,e.buf1=i.parserBuf1,e.buf2=i.parserBuf2;;){if(!("firstEntryNum"in i)||!("entryCount"in i)){if((0,n.isCmd)(t=e.getObj(),"trailer"))break;i.firstEntryNum=t,i.entryCount=e.getObj()}var o=i.firstEntryNum,s=i.entryCount;if(!Number.isInteger(o)||!Number.isInteger(s))throw new a.FormatError("Invalid XRef table: wrong types in subsection header");for(var c=i.entryNum;c<s;c++){i.streamPos=r.pos,i.entryNum=c,i.parserBuf1=e.buf1,i.parserBuf2=e.buf2;var l={};l.offset=e.getObj(),l.gen=e.getObj();var u=e.getObj();if(u instanceof n.Cmd)switch(u.cmd){case"f":l.free=!0;break;case"n":l.uncompressed=!0}if(!Number.isInteger(l.offset)||!Number.isInteger(l.gen)||!l.free&&!l.uncompressed)throw new a.FormatError("Invalid entry in XRef subsection: ".concat(o,", ").concat(s));0===c&&l.free&&1===o&&(o=0),this.entries[c+o]||(this.entries[c+o]=l)}i.entryNum=0,i.streamPos=r.pos,i.parserBuf1=e.buf1,i.parserBuf2=e.buf2,delete i.firstEntryNum,delete i.entryCount}if(this.entries[0]&&!this.entries[0].free)throw new a.FormatError("Invalid XRef table: unexpected first object");return t}},{key:"processXRefStream",value:function(e){if(!("streamState"in this)){var t=e.dict,r=t.get("W"),a=t.get("Index");a||(a=[0,t.get("Size")]),this.streamState={entryRanges:a,byteWidths:r,entryNum:0,streamPos:e.pos}}return this.readXRefStream(e),delete this.streamState,e.dict}},{key:"readXRefStream",value:function(e){var t=this.streamState;e.pos=t.streamPos;for(var r=g(t.byteWidths,3),n=r[0],i=r[1],o=r[2],s=t.entryRanges;s.length>0;){var c=g(s,2),l=c[0],u=c[1];if(!Number.isInteger(l)||!Number.isInteger(u))throw new a.FormatError("Invalid XRef range fields: ".concat(l,", ").concat(u));if(!Number.isInteger(n)||!Number.isInteger(i)||!Number.isInteger(o))throw new a.FormatError("Invalid XRef entry fields length: ".concat(l,", ").concat(u));for(var h=t.entryNum;h<u;++h){t.entryNum=h,t.streamPos=e.pos;for(var f=0,d=0,p=0,m=0;m<n;++m){var v=e.getByte();if(-1===v)throw new a.FormatError("Invalid XRef byteWidths 'type'.");f=f<<8|v}0===n&&(f=1);for(var b=0;b<i;++b){var y=e.getByte();if(-1===y)throw new a.FormatError("Invalid XRef byteWidths 'offset'.");d=d<<8|y}for(var k=0;k<o;++k){var w=e.getByte();if(-1===w)throw new a.FormatError("Invalid XRef byteWidths 'generation'.");p=p<<8|w}var x={};switch(x.offset=d,x.gen=p,f){case 0:x.free=!0;break;case 1:x.uncompressed=!0;break;case 2:break;default:throw new a.FormatError("Invalid XRef entry type: ".concat(f))}this.entries[l+h]||(this.entries[l+h]=x)}t.entryNum=0,t.streamPos=e.pos,s.splice(0,2)}}},{key:"indexObjects",value:function(){function e(e,t){for(var r="",a=e[t];10!==a&&13!==a&&60!==a&&!(++t>=e.length);)r+=String.fromCharCode(a),a=e[t];return r}function t(e,t,r){for(var a=r.length,n=e.length,i=0;t<n;){for(var o=0;o<a&&e[t+o]===r[o];)++o;if(o>=a)break;t++,i++}return i}var r=/^(\d+)\s+(\d+)\s+obj\b/,s=/\bendobj[\b\s]$/,c=/\s+(\d+\s+\d+\s+obj[\b\s<])$/,l=new Uint8Array([116,114,97,105,108,101,114]),u=new Uint8Array([115,116,97,114,116,120,114,101,102]),h=new Uint8Array([111,98,106]),f=new Uint8Array([47,88,82,101,102]);this.entries.length=0,this._cacheMap.clear();var d=this.stream;d.pos=0;for(var g,p=d.getBytes(),m=p.length,v=d.start,b=[],y=[];v<m;){var k=p[v];
2if(9!==k&&10!==k&&13!==k&&32!==k)if(37!==k){var w=e(p,v),x=void 0;if(w.startsWith("xref")&&(4===w.length||/\s/.test(w[4])))v+=t(p,v,l),b.push(v),v+=t(p,v,u);else if(x=r.exec(w)){var S=0|x[1],A=0|x[2],C=void 0,F=v+w.length,O=!1;if(this.entries[S]){if(this.entries[S].gen===A)try{new o.Parser({lexer:new o.Lexer(d.makeSubStream(F))}).getObj(),O=!0}catch(q){q instanceof i.ParserEOFException?(0,a.warn)("indexObjects -- checking object (".concat(w,'): "').concat(q,'".')):O=!0}}else O=!0;for(O&&(this.entries[S]={offset:v-d.start,gen:A,uncompressed:!0});F<p.length;){var I=F+t(p,F,h)+4;C=I-v;var T=Math.max(I-25,F),M=(0,a.bytesToString)(p.subarray(T,I));if(s.test(M))break;var P=c.exec(M);if(P&&P[1]){(0,a.warn)('indexObjects: Found new "obj" inside of another "obj", caused by missing "endobj" -- trying to recover.'),C-=P[1].length;break}F=I}var E=p.subarray(v,v+C),N=t(E,0,f);N<C&&E[N+5]<64&&(y.push(v-d.start),this.xrefstms[v-d.start]=1),v+=C}else w.startsWith("trailer")&&(7===w.length||/\s/.test(w[7]))?(b.push(v),v+=t(p,v,u)):v+=w.length+1}else do{if(++v>=m)break;k=p[v]}while(10!==k&&13!==k);else++v}for(var D=0,B=y.length;D<B;++D)this.startXRefQueue.push(y[D]),this.readXRef(!0);for(var L=0,R=b.length;L<R;++L){d.pos=b[L];var _=new o.Parser({lexer:new o.Lexer(d),xref:this,allowStreams:!0,recoveryMode:!0}),j=_.getObj();if((0,n.isCmd)(j,"trailer")){var U=_.getObj();if(U instanceof n.Dict){try{var $=U.get("Root");if(!($ instanceof n.Dict))continue;var X=$.get("Pages");if(!(X instanceof n.Dict))continue;var H=X.get("Count");if(!Number.isInteger(H))continue}catch(q){continue}if(U.has("ID"))return U;g=U}}}if(g)return g;if(this.topDict)return this.topDict;throw new a.InvalidPDFException("Invalid PDF structure.")}},{key:"readXRef",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.stream,r=new Set;try{for(;this.startXRefQueue.length;){var c=this.startXRefQueue[0];if(r.has(c))(0,a.warn)("readXRef - skipping XRef table since it was already parsed."),this.startXRefQueue.shift();else{r.add(c),t.pos=c+t.start;var l=new o.Parser({lexer:new o.Lexer(t),xref:this,allowStreams:!0}),u=l.getObj(),h=void 0;if((0,n.isCmd)(u,"xref")){if(h=this.processXRefTable(l),this.topDict||(this.topDict=h),u=h.get("XRefStm"),Number.isInteger(u)){var f=u;f in this.xrefstms||(this.xrefstms[f]=1,this.startXRefQueue.push(f))}}else{if(!Number.isInteger(u))throw new a.FormatError("Invalid XRef stream header");if(!Number.isInteger(l.getObj())||!(0,n.isCmd)(l.getObj(),"obj")||!((u=l.getObj())instanceof s.BaseStream))throw new a.FormatError("Invalid XRef stream");if(h=this.processXRefStream(u),this.topDict||(this.topDict=h),!h)throw new a.FormatError("Failed to read XRef stream")}u=h.get("Prev"),Number.isInteger(u)?this.startXRefQueue.push(u):u instanceof n.Ref&&this.startXRefQueue.push(u.num),this.startXRefQueue.shift()}}return this.topDict}catch(d){if(d instanceof i.MissingDataException)throw d;(0,a.info)("(while reading XRef): "+d),this.startXRefQueue.shift()}if(!e)throw new i.XRefParseException}},{key:"getEntry",value:function(e){var t=this.entries[e];return t&&!t.free&&t.offset?t:null}},{key:"fetchIfRef",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e instanceof n.Ref?this.fetch(e,t):e}},{key:"fetch",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!(e instanceof n.Ref))throw new Error("ref object is not a reference");var r=e.num,i=this._cacheMap.get(r);if(void 0!==i)return i instanceof n.Dict&&!i.objId&&(i.objId=e.toString()),i;var o=this.getEntry(r);if(null===o)return this._cacheMap.set(r,o),o;if(this._pendingRefs.has(e))return this._pendingRefs.remove(e),(0,a.warn)("Ignoring circular reference: ".concat(e,".")),n.CIRCULAR_REF;this._pendingRefs.put(e);try{o=o.uncompressed?this.fetchUncompressed(e,o,t):this.fetchCompressed(e,o,t),this._pendingRefs.remove(e)}catch(c){throw this._pendingRefs.remove(e),c}return o instanceof n.Dict?o.objId=e.toString():o instanceof s.BaseStream&&(o.dict.objId=e.toString()),o}},{key:"fetchUncompressed",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=e.gen,c=e.num;if(t.gen!==a)throw new i.XRefEntryException("Inconsistent generation in XRef: ".concat(e));var l=this.stream.makeSubStream(t.offset+this.stream.start),u=new o.Parser({lexer:new o.Lexer(l),xref:this,allowStreams:!0}),h=u.getObj(),f=u.getObj(),d=u.getObj();
2if(h!==c||f!==a||!(d instanceof n.Cmd))throw new i.XRefEntryException("Bad (uncompressed) XRef entry: ".concat(e));if("obj"!==d.cmd){if(d.cmd.startsWith("obj")&&(c=parseInt(d.cmd.substring(3),10),!Number.isNaN(c)))return c;throw new i.XRefEntryException("Bad (uncompressed) XRef entry: ".concat(e))}return(t=this.encrypt&&!r?u.getObj(this.encrypt.createCipherTransform(c,a)):u.getObj())instanceof s.BaseStream||this._cacheMap.set(c,t),t}},{key:"fetchCompressed",value:function(e,t){var r=t.offset,c=this.fetch(n.Ref.get(r,0));if(!(c instanceof s.BaseStream))throw new a.FormatError("bad ObjStm stream");var l=c.dict.get("First"),u=c.dict.get("N");if(!Number.isInteger(l)||!Number.isInteger(u))throw new a.FormatError("invalid first and n parameters for ObjStm stream");for(var h=new o.Parser({lexer:new o.Lexer(c),xref:this,allowStreams:!0}),f=new Array(u),d=new Array(u),g=0;g<u;++g){var p=h.getObj();if(!Number.isInteger(p))throw new a.FormatError("invalid object number in the ObjStm stream: ".concat(p));var m=h.getObj();if(!Number.isInteger(m))throw new a.FormatError("invalid object offset in the ObjStm stream: ".concat(m));f[g]=p,d[g]=m}for(var v=(c.start||0)+l,b=new Array(u),y=0;y<u;++y){var k=y<u-1?d[y+1]-d[y]:void 0;if(k<0)throw new a.FormatError("Invalid offset in the ObjStm stream.");var w=(h=new o.Parser({lexer:new o.Lexer(c.makeSubStream(v+d[y],k,c.dict)),xref:this,allowStreams:!0})).getObj();if(b[y]=w,!(w instanceof s.BaseStream)){var x=f[y],S=this.entries[x];S&&S.offset===r&&S.gen===y&&this._cacheMap.set(x,w)}}if(void 0===(t=b[t.gen]))throw new i.XRefEntryException("Bad (compressed) XRef entry: ".concat(e));return t}},{key:"fetchIfRefAsync",value:function(){var e=p(h().mark((function e(t,r){return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(t instanceof n.Ref)){e.next=2;break}return e.abrupt("return",this.fetchAsync(t,r));case 2:return e.abrupt("return",t);case 3:case"end":return e.stop()}}),e,this)})));return function(t,r){return e.apply(this,arguments)}}()},{key:"fetchAsync",value:function(){var e=p(h().mark((function e(t,r){return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.abrupt("return",this.fetch(t,r));case 4:if(e.prev=4,e.t0=e.catch(0),e.t0 instanceof i.MissingDataException){e.next=8;break}throw e.t0;case 8:return e.next=10,this.pdfManager.requestRange(e.t0.begin,e.t0.end);case 10:return e.abrupt("return",this.fetchAsync(t,r));case 11:case"end":return e.stop()}}),e,this,[[0,4]])})));return function(t,r){return e.apply(this,arguments)}}()},{key:"getCatalogObj",value:function(){return this.root}}])}();t.XRef=l},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.MessageHandler=void 0;var a=r(2),n=1,i=2,o=1,s=2,c=3,l=4,u=5,f=6,d=7,g=8;function b(e){switch(e instanceof Error||"object"===typeof e&&null!==e||(0,a.unreachable)('wrapReason: Expected "reason" to be a (possibly cloned) Error.'),e.name){case"AbortException":return new a.AbortException(e.message);case"MissingPDFException":return new a.MissingPDFException(e.message);case"PasswordException":return new a.PasswordException(e.message,e.code);case"UnexpectedResponseException":return new a.UnexpectedResponseException(e.message,e.status);case"UnknownErrorException":return new a.UnknownErrorException(e.message,e.details);default:return new a.UnknownErrorException(e.message,e.toString())}}var y=function(){return v((function e(t,r,a){var o=this;m(this,e),this.sourceName=t,this.targetName=r,this.comObj=a,this.callbackId=1,this.streamId=1,this.streamSinks=Object.create(null),this.streamControllers=Object.create(null),this.callbackCapabilities=Object.create(null),this.actionHandler=Object.create(null),this._onComObjOnMessage=function(e){var t=e.data;if(t.targetName===o.sourceName)if(t.stream)o._processStreamMessage(t);else if(t.callback){var r=t.callbackId,s=o.callbackCapabilities[r];if(!s)throw new Error("Cannot resolve callback ".concat(r));if(delete o.callbackCapabilities[r],t.callback===n)s.resolve(t.data);else{if(t.callback!==i)throw new Error("Unexpected callback case");s.reject(b(t.reason))}}else{var c=o.actionHandler[t.action];if(!c)throw new Error("Unknown action from worker: ".concat(t.action));if(t.callbackId){var l=o.sourceName,u=t.sourceName;new Promise((function(e){e(c(t.data))})).then((function(e){a.postMessage({sourceName:l,targetName:u,callback:n,callbackId:t.callbackId,data:e})}),(function(e){a.postMessage({sourceName:l,targetName:u,callback:i,callbackId:t.callbackId,reason:b(e)}
vendor: 4,444 bytes, line 2
2)}))}else t.streamId?o._createStreamSink(t):c(t.data)}},a.addEventListener("message",this._onComObjOnMessage)}),[{key:"on",value:function(e,t){var r=this.actionHandler;if(r[e])throw new Error('There is already an actionName called "'.concat(e,'"'));r[e]=t}},{key:"send",value:function(e,t,r){this.comObj.postMessage({sourceName:this.sourceName,targetName:this.targetName,action:e,data:t},r)}},{key:"sendWithPromise",value:function(e,t,r){var n=this.callbackId++,i=(0,a.createPromiseCapability)();this.callbackCapabilities[n]=i;try{this.comObj.postMessage({sourceName:this.sourceName,targetName:this.targetName,action:e,callbackId:n,data:t},r)}catch(o){i.reject(o)}return i.promise}},{key:"sendWithStream",value:function(e,t,r,n){var i=this,s=this.streamId++,c=this.sourceName,l=this.targetName,u=this.comObj;return new ReadableStream({start:function(r){var o=(0,a.createPromiseCapability)();return i.streamControllers[s]={controller:r,startCall:o,pullCall:null,cancelCall:null,isClosed:!1},u.postMessage({sourceName:c,targetName:l,action:e,streamId:s,data:t,desiredSize:r.desiredSize},n),o.promise},pull:function(e){var t=(0,a.createPromiseCapability)();return i.streamControllers[s].pullCall=t,u.postMessage({sourceName:c,targetName:l,stream:f,streamId:s,desiredSize:e.desiredSize}),t.promise},cancel:function(e){(0,a.assert)(e instanceof Error,"cancel must have a valid reason");var t=(0,a.createPromiseCapability)();return i.streamControllers[s].cancelCall=t,i.streamControllers[s].isClosed=!0,u.postMessage({sourceName:c,targetName:l,stream:o,streamId:s,reason:b(e)}),t.promise}},r)}},{key:"_createStreamSink",value:function(e){var t=e.streamId,r=this.sourceName,n=e.sourceName,i=this.comObj,o=this,s=this.actionHandler[e.action],h={enqueue:function(e){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,s=arguments.length>2?arguments[2]:void 0;if(!this.isCancelled){var c=this.desiredSize;this.desiredSize-=o,c>0&&this.desiredSize<=0&&(this.sinkCapability=(0,a.createPromiseCapability)(),this.ready=this.sinkCapability.promise),i.postMessage({sourceName:r,targetName:n,stream:l,streamId:t,chunk:e},s)}},close:function(){this.isCancelled||(this.isCancelled=!0,i.postMessage({sourceName:r,targetName:n,stream:c,streamId:t}),delete o.streamSinks[t])},error:function(e){(0,a.assert)(e instanceof Error,"error must have a valid reason"),this.isCancelled||(this.isCancelled=!0,i.postMessage({sourceName:r,targetName:n,stream:u,streamId:t,reason:b(e)}))},sinkCapability:(0,a.createPromiseCapability)(),onPull:null,onCancel:null,isCancelled:!1,desiredSize:e.desiredSize,ready:null};h.sinkCapability.resolve(),h.ready=h.sinkCapability.promise,this.streamSinks[t]=h,new Promise((function(t){t(s(e.data,h))})).then((function(){i.postMessage({sourceName:r,targetName:n,stream:g,streamId:t,success:!0})}),(function(e){i.postMessage({sourceName:r,targetName:n,stream:g,streamId:t,reason:b(e)})}))}},{key:"_processStreamMessage",value:function(e){var t=e.streamId,r=this.sourceName,n=e.sourceName,i=this.comObj,h=this.streamControllers[t],p=this.streamSinks[t];switch(e.stream){case g:e.success?h.startCall.resolve():h.startCall.reject(b(e.reason));break;case d:e.success?h.pullCall.resolve():h.pullCall.reject(b(e.reason));break;case f:if(!p){i.postMessage({sourceName:r,targetName:n,stream:d,streamId:t,success:!0});break}p.desiredSize<=0&&e.desiredSize>0&&p.sinkCapability.resolve(),p.desiredSize=e.desiredSize,new Promise((function(e){e(p.onPull&&p.onPull())})).then((function(){i.postMessage({sourceName:r,targetName:n,stream:d,streamId:t,success:!0})}),(function(e){i.postMessage({sourceName:r,targetName:n,stream:d,streamId:t,reason:b(e)})}));break;case l:if((0,a.assert)(h,"enqueue should have stream controller"),h.isClosed)break;h.controller.enqueue(e.chunk);break;case c:if((0,a.assert)(h,"close should have stream controller"),h.isClosed)break;h.isClosed=!0,h.controller.close(),this._deleteStreamController(h,t);break;case u:(0,a.assert)(h,"error should have stream controller"),h.controller.error(b(e.reason)),this._deleteStreamController(h,t);break;case s:e.success?h.cancelCall.resolve():h.cancelCall.reject(b(e.reason)),this._deleteStreamController(h,t);break;case o:if(!p)break;new Promise((function(t){t(p.onCancel&&p.onCancel(b(e.reason)))})).then((function(){i.postMessage({sourceName:r,targetName:n,stream:s,streamId:t,success:!0})}),(function(e){i.postMessage({sourceName:r,targetName:n,stream:s,streamId:t,reason:b(e)}
2)})),p.sinkCapability.reject(b(e.reason)),p.isCancelled=!0,delete this.streamSinks[t];break;default:throw new Error("Unexpected stream case")}}},{key:"_deleteStreamController",value:function(){var e=p(h().mark((function e(t,r){return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.allSettled([t.startCall&&t.startCall.promise,t.pullCall&&t.pullCall.promise,t.cancelCall&&t.cancelCall.promise]);case 2:delete this.streamControllers[r];case 3:case"end":return e.stop()}}),e,this)})));return function(t,r){return e.apply(this,arguments)}}()},{key:"destroy",value:function(){this.comObj.removeEventListener("message",this._onComObjOnMessage)}}])}();t.MessageHandler=y},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.PDFWorkerStream=void 0;var a=r(2),n=function(){return v((function e(t){m(this,e),this._msgHandler=t,this._contentLength=null,this._fullRequestReader=null,this._rangeRequestReaders=[]}),[{key:"getFullReader",value:function(){return(0,a.assert)(!this._fullRequestReader,"PDFWorkerStream.getFullReader can only be called once."),this._fullRequestReader=new i(this._msgHandler),this._fullRequestReader}},{key:"getRangeReader",value:function(e,t){var r=new o(e,t,this._msgHandler);return this._rangeRequestReaders.push(r),r}},{key:"cancelAllRequests",value:function(e){this._fullRequestReader&&this._fullRequestReader.cancel(e);var t,r=d(this._rangeRequestReaders.slice(0));try{for(r.s();!(t=r.n()).done;)t.value.cancel(e)}catch(a){r.e(a)}finally{r.f()}}}])}();t.PDFWorkerStream=n;var i=function(){return v((function e(t){var r=this;m(this,e),this._msgHandler=t,this.onProgress=null,this._contentLength=null,this._isRangeSupported=!1,this._isStreamingSupported=!1;var a=this._msgHandler.sendWithStream("GetReader");this._reader=a.getReader(),this._headersReady=this._msgHandler.sendWithPromise("ReaderHeadersReady").then((function(e){r._isStreamingSupported=e.isStreamingSupported,r._isRangeSupported=e.isRangeSupported,r._contentLength=e.contentLength}))}),[{key:"headersReady",get:function(){return this._headersReady}},{key:"contentLength",get:function(){return this._contentLength}},{key:"isStreamingSupported",get:function(){return this._isStreamingSupported}},{key:"isRangeSupported",get:function(){return this._isRangeSupported}},{key:"read",value:function(){var e=p(h().mark((function e(){var t,r;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this._reader.read();case 2:if(t=e.sent,r=t.value,!t.done){e.next=7;break}return e.abrupt("return",{value:void 0,done:!0});case 7:return e.abrupt("return",{value:r.buffer,done:!1});case 8:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"cancel",value:function(e){this._reader.cancel(e)}}])}(),o=function(){return v((function e(t,r,a){m(this,e),this._msgHandler=a,this.onProgress=null;var n=this._msgHandler.sendWithStream("GetRangeReader",{begin:t,end:r});this._reader=n.getReader()}),[{key:"isStreamingSupported",get:function(){return!1}},{key:"read",value:function(){var e=p(h().mark((function e(){var t,r;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this._reader.read();case 2:if(t=e.sent,r=t.value,!t.done){e.next=7;break}return e.abrupt("return",{value:void 0,done:!0});case 7:return e.abrupt("return",{value:r.buffer,done:!1});case 8:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"cancel",value:function(e){this._reader.cancel(e)}}])}()}],t={};function r(a){var n=t[a];if(void 0!==n)return n.exports;var i=t[a]={exports:{}};return e[a](i,i.exports,r),i.exports}r.d=function(e,t){for(var a in t)r.o(t,a)&&!r.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};return function(){var e=a;Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"WorkerMessageHandler",{enumerable:!0,get:function(){return t.WorkerMessageHandler}});var t=r(1)}(),a}()},e.exports=a()},79:function(e){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,a=new Array(t);r<t;r++)a[r]=e[r];return a},e.exports.__esModule=!0,e.exports.default=e.exports},987:function(e){e.exports=function(e){if(Array.isArray(e))return e},e.exports.__esModule=!0,e.exports.default=e.exports},901:function(e,t,r){var a=r(79);e.exports=function(e){if(Array.isArray(e))return a(e)},e.exports.__esModule=!0,e.exports.default=e.exports},475:function(e){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.__esModule=!0,e.exports.default=e.exports},293:function(e){function t(e,t,r,a,n,i,o){try{var s=e[i](o),c=s.value}catch(l){return void r(l)}s.done?t(c):Promise.resolve(c).then(a,n)}
2e.exports=function(e){return function(){var r=this,a=arguments;return new Promise((function(n,i){var o=e.apply(r,a);function s(e){t(o,n,i,s,c,"next",e)}function c(e){t(o,n,i,s,c,"throw",e)}s(void 0)}))}},e.exports.__esModule=!0,e.exports.default=e.exports},336:function(e,t,r){var a=r(72),n=r(550),i=r(452);e.exports=function(e,t,r){return t=a(t),i(e,n()?Reflect.construct(t,r||[],a(e).constructor):t.apply(e,r))},e.exports.__esModule=!0,e.exports.default=e.exports},383:function(e){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.__esModule=!0,e.exports.default=e.exports},579:function(e,t,r){var a=r(736);function n(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,a(n.key),n)}}e.exports=function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e},e.exports.__esModule=!0,e.exports.default=e.exports},883:function(e,t,r){var a=r(122);e.exports=function(e,t){var r="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=a(e))||t&&e&&"number"===typeof e.length){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,c=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return s=e.done,e},e:function(e){c=!0,o=e},f:function(){try{s||null==r.return||r.return()}finally{if(c)throw o}}}},e.exports.__esModule=!0,e.exports.default=e.exports},693:function(e,t,r){var a=r(736);e.exports=function(e,t,r){return(t=a(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e},e.exports.__esModule=!0,e.exports.default=e.exports},395:function(e,t,r){var a=r(552);function n(){return"undefined"!==typeof Reflect&&Reflect.get?(e.exports=n=Reflect.get.bind(),e.exports.__esModule=!0,e.exports.default=e.exports):(e.exports=n=function(e,t,r){var n=a(e,t);if(n){var i=Object.getOwnPropertyDescriptor(n,t);return i.get?i.get.call(arguments.length<3?e:r):i.value}},e.exports.__esModule=!0,e.exports.default=e.exports),n.apply(this,arguments)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports},72:function(e){function t(r){return e.exports=t=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},e.exports.__esModule=!0,e.exports.default=e.exports,t(r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},511:function(e,t,r){var a=r(636);e.exports=function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&a(e,t)},e.exports.__esModule=!0,e.exports.default=e.exports},550:function(e){function t(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(r){}return(e.exports=t=function(){return!!r},e.exports.__esModule=!0,e.exports.default=e.exports)()}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},291:function(e){e.exports=function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.__esModule=!0,e.exports.default=e.exports},156:function(e){e.exports=function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var a,n,i,o,s=[],c=!0,l=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(a=i.call(r)).done)&&(s.push(a.value),s.length!==t);c=!0);}catch(e){l=!0,n=e}finally{try{if(!c&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(l)throw n}}return s}},e.exports.__esModule=!0,e.exports.default=e.exports},752:function(e){e.exports=function(){throw new TypeError("Invalid attempt to de
2structure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},869:function(e){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},452:function(e,t,r){var a=r(738).default,n=r(475);e.exports=function(e,t){if(t&&("object"===a(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return n(e)},e.exports.__esModule=!0,e.exports.default=e.exports},633:function(e,t,r){var a=r(738).default;function n(){"use strict";e.exports=n=function(){return r},e.exports.__esModule=!0,e.exports.default=e.exports;var t,r={},i=Object.prototype,o=i.hasOwnProperty,s=Object.defineProperty||function(e,t,r){e[t]=r.value},c="function"==typeof Symbol?Symbol:{},l=c.iterator||"@@iterator",u=c.asyncIterator||"@@asyncIterator",h=c.toStringTag||"@@toStringTag";function f(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(t){f=function(e,t,r){return e[t]=r}}function d(e,t,r,a){var n=t&&t.prototype instanceof k?t:k,i=Object.create(n.prototype),o=new N(a||[]);return s(i,"_invoke",{value:T(e,r,o)}),i}function g(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}r.wrap=d;var p="suspendedStart",m="suspendedYield",v="executing",b="completed",y={};function k(){}function w(){}function x(){}var S={};f(S,l,(function(){return this}));var A=Object.getPrototypeOf,C=A&&A(A(D([])));C&&C!==i&&o.call(C,l)&&(S=C);var F=x.prototype=k.prototype=Object.create(S);function O(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function I(e,t){function r(n,i,s,c){var l=g(e[n],e,i);if("throw"!==l.type){var u=l.arg,h=u.value;return h&&"object"==a(h)&&o.call(h,"__await")?t.resolve(h.__await).then((function(e){r("next",e,s,c)}),(function(e){r("throw",e,s,c)})):t.resolve(h).then((function(e){u.value=e,s(u)}),(function(e){return r("throw",e,s,c)}))}c(l.arg)}var n;s(this,"_invoke",{value:function(e,a){function i(){return new t((function(t,n){r(e,a,t,n)}))}return n=n?n.then(i,i):i()}})}function T(e,r,a){var n=p;return function(i,o){if(n===v)throw Error("Generator is already running");if(n===b){if("throw"===i)throw o;return{value:t,done:!0}}for(a.method=i,a.arg=o;;){var s=a.delegate;if(s){var c=M(s,a);if(c){if(c===y)continue;return c}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if(n===p)throw n=b,a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);n=v;var l=g(e,r,a);if("normal"===l.type){if(n=a.done?b:m,l.arg===y)continue;return{value:l.arg,done:a.done}}"throw"===l.type&&(n=b,a.method="throw",a.arg=l.arg)}}}function M(e,r){var a=r.method,n=e.iterator[a];if(n===t)return r.delegate=null,"throw"===a&&e.iterator.return&&(r.method="return",r.arg=t,M(e,r),"throw"===r.method)||"return"!==a&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+a+"' method")),y;var i=g(n,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,y;var o=i.arg;return o?o.done?(r[e.resultName]=o.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):o:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function P(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function N(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(P,this),this.reset(!0)}function D(e){if(e||""===e){var r=e[l];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,i=function r(){for(;++n<e.length;)if(o.call(e,n))return r.value=e[n],r.done=!1,r;return r.value=t,r.done=!0,r};return i.next=i}}throw new TypeError(a(e)+" is not iterable")}return w.prototype=x,s(F,"constructor",{value:x,configurable:!0}),s(x,"constructor",{value:w,configurable:!0}),w.displayName=f(x,h,"GeneratorFunction"),r.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===w||"GeneratorFunction"===(t.displayName||t.name))},r.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,x):(e.__proto__=x,f(e,h,"GeneratorFunction")),e.prototype=Object.create(F),e},r.awrap=function(e){return{__await:e}},O(I.prototype),f(I.prototype,u,(function(){return this})),r.AsyncIterator=I,r.async=function(e,t,a,n,i){void 0===i&&(i=Prom
vendor: 4,996 bytes, line 2
2ise);var o=new I(d(e,t,a,n),i);return r.isGeneratorFunction(t)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},O(F),f(F,h,"Generator"),f(F,l,(function(){return this})),f(F,"toString",(function(){return"[object Generator]"})),r.keys=function(e){var t=Object(e),r=[];for(var a in t)r.push(a);return r.reverse(),function e(){for(;r.length;){var a=r.pop();if(a in t)return e.value=a,e.done=!1,e}return e.done=!0,e}},r.values=D,N.prototype={constructor:N,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(E),!e)for(var r in this)"t"===r.charAt(0)&&o.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function a(a,n){return s.type="throw",s.arg=e,r.next=a,n&&(r.method="next",r.arg=t),!!n}for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n],s=i.completion;if("root"===i.tryLoc)return a("end");if(i.tryLoc<=this.prev){var c=o.call(i,"catchLoc"),l=o.call(i,"finallyLoc");if(c&&l){if(this.prev<i.catchLoc)return a(i.catchLoc,!0);if(this.prev<i.finallyLoc)return a(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return a(i.catchLoc,!0)}else{if(!l)throw Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return a(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var a=this.tryEntries[r];if(a.tryLoc<=this.prev&&o.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var n=a;break}}n&&("break"===e||"continue"===e)&&n.tryLoc<=t&&t<=n.finallyLoc&&(n=null);var i=n?n.completion:{};return i.type=e,i.arg=t,n?(this.method="next",this.next=n.finallyLoc,y):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),y},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),E(r),y}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var a=r.completion;if("throw"===a.type){var n=a.arg;E(r)}return n}}throw Error("illegal catch attempt")},delegateYield:function(e,r,a){return this.delegate={iterator:D(e),resultName:r,nextLoc:a},"next"===this.method&&(this.arg=t),y}},r}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports},636:function(e){function t(r,a){return e.exports=t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},e.exports.__esModule=!0,e.exports.default=e.exports,t(r,a)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},715:function(e,t,r){var a=r(987),n=r(156),i=r(122),o=r(752);e.exports=function(e,t){return a(e)||n(e,t)||i(e,t)||o()},e.exports.__esModule=!0,e.exports.default=e.exports},552:function(e,t,r){var a=r(72);e.exports=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=a(e)););return e},e.exports.__esModule=!0,e.exports.default=e.exports},53:function(e,t,r){var a=r(987),n=r(291),i=r(122),o=r(752);e.exports=function(e){return a(e)||n(e)||i(e)||o()},e.exports.__esModule=!0,e.exports.default=e.exports},132:function(e,t,r){var a=r(901),n=r(291),i=r(122),o=r(869);e.exports=function(e){return a(e)||n(e)||i(e)||o()},e.exports.__esModule=!0,e.exports.default=e.exports},45:function(e,t,r){var a=r(738).default;e.exports=function(e,t){if("object"!=a(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=a(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},736:function(e,t,r){var a=r(738).default,n=r(45);e.exports=function(e){var t=n(e,"string");return"symbol"==a(t)?t:t+""},e.exports.__esModule=!0,e.exports.default=e.exports},738:function(e){function t(r){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},122:function(e,t,r){var a=r(79);e.exports=function(e,t){if(e){if("string"===typeof e)return a(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?a(e,t):void 0}},e.exports.__esModule=!0,e.exports.default=e.exports}},t={};(function r(a){var n=t[a];if(void 0!==n)return n.exports;var i=t[a]={exports:{}};return e[a](i,i.exports,r),i.exports})(181)}();
3//# sourceMappingURL=pdf.worker.8967bd4a98e86e9b001c.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.