fika-editor 3.6.9 → 3.6.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1 @@
1
+ export const __rspack_esm_id=4466;export const __rspack_esm_ids=[4466];export const __webpack_modules__={97728(t,e,r){var o,n;(n=o||(o={}))[n.Fastest=1/0]="Fastest",n[n.Fast=1500]="Fast",n[n.Medium=500]="Medium",n[n.Slow=100]="Slow",r.d(e,{A:()=>o})},78448(t,e,r){var o=r(81205),n=r(42810),i=r(67531),a=r(44910);e.A=function(){function t(t,e,r){this.alreadyEmbedded=!1,(0,a.jo)(t,"ref",[[i.so,"PDFRef"]]),(0,a.jo)(e,"doc",[[n.A,"PDFDocument"]]),(0,a.jo)(r,"embedder",[[i.kO,"PDFPageEmbedder"]]),this.ref=t,this.doc=e,this.width=r.width,this.height=r.height,this.embedder=r}return t.prototype.scale=function(t){return(0,a.jo)(t,"factor",["number"]),{width:this.width*t,height:this.height*t}},t.prototype.size=function(){return this.scale(1)},t.prototype.embed=function(){return(0,o.sH)(this,void 0,void 0,function(){return(0,o.YH)(this,function(t){switch(t.label){case 0:if(this.alreadyEmbedded)return[3,2];return[4,this.embedder.embedIntoContext(this.doc.context,this.ref)];case 1:t.sent(),this.alreadyEmbedded=!0,t.label=2;case 2:return[2]}})})},t.of=function(e,r,o){return new t(e,r,o)},t}()},25064(t,e,r){var o=r(81205),n=r(42810),i=r(67531),a=r(44910);e.A=function(){function t(t,e,r){this.modified=!0,(0,a.jo)(t,"ref",[[i.so,"PDFRef"]]),(0,a.jo)(e,"doc",[[n.A,"PDFDocument"]]),(0,a.jo)(r,"embedder",[[i.pp,"CustomFontEmbedder"],[i.hM,"StandardFontEmbedder"]]),this.ref=t,this.doc=e,this.name=r.fontName,this.embedder=r}return t.prototype.encodeText=function(t){return(0,a.jo)(t,"text",["string"]),this.modified=!0,this.embedder.encodeText(t)},t.prototype.widthOfTextAtSize=function(t,e){return(0,a.jo)(t,"text",["string"]),(0,a.jo)(e,"size",["number"]),this.embedder.widthOfTextAtSize(t,e)},t.prototype.heightAtSize=function(t,e){var r;return(0,a.jo)(t,"size",["number"]),(0,a.wU)(null==e?void 0:e.descender,"options.descender",["boolean"]),this.embedder.heightOfFontAtSize(t,{descender:null==(r=null==e?void 0:e.descender)||r})},t.prototype.sizeAtHeight=function(t){return(0,a.jo)(t,"height",["number"]),this.embedder.sizeOfFontAtHeight(t)},t.prototype.getCharacterSet=function(){return this.embedder instanceof i.hM?this.embedder.encoding.supportedCodePoints:this.embedder.font.characterSet},t.prototype.embed=function(){return(0,o.sH)(this,void 0,void 0,function(){return(0,o.YH)(this,function(t){switch(t.label){case 0:if(!this.modified)return[3,2];return[4,this.embedder.embedIntoContext(this.doc.context,this.ref)];case 1:t.sent(),this.modified=!1,t.label=2;case 2:return[2]}})})},t.of=function(e,r,o){return new t(e,r,o)},t}()},13684(t,e,r){var o=r(81205),n=r(42810),i=r(67531),a=r(44910);e.A=function(){function t(t,e,r){(0,a.jo)(t,"ref",[[i.so,"PDFRef"]]),(0,a.jo)(e,"doc",[[n.A,"PDFDocument"]]),(0,a.jo)(r,"embedder",[[i.Dm,"JpegEmbedder"],[i.cV,"PngEmbedder"]]),this.ref=t,this.doc=e,this.width=r.width,this.height=r.height,this.embedder=r}return t.prototype.scale=function(t){return(0,a.jo)(t,"factor",["number"]),{width:this.width*t,height:this.height*t}},t.prototype.scaleToFit=function(t,e){(0,a.jo)(t,"width",["number"]),(0,a.jo)(e,"height",["number"]);var r=Math.min(t/this.width,e/this.height);return this.scale(r)},t.prototype.size=function(){return this.scale(1)},t.prototype.embed=function(){return(0,o.sH)(this,void 0,void 0,function(){var t,e,r;return(0,o.YH)(this,function(o){switch(o.label){case 0:if(!this.embedder)return[2];return this.embedTask||(t=this,e=t.doc,r=t.ref,this.embedTask=this.embedder.embedIntoContext(e.context,r)),[4,this.embedTask];case 1:return o.sent(),this.embedder=void 0,[2]}})})},t.of=function(e,r,o){return new t(e,r,o)},t}()},97202(t,e,r){var o=r(81205),n=r(67531);e.A=function(){function t(t,e,r){this.alreadyEmbedded=!1,this.ref=t,this.doc=e,this.embedder=r}return t.prototype.embed=function(){return(0,o.sH)(this,void 0,void 0,function(){var t,e,r,i,a,s,u;return(0,o.YH)(this,function(o){switch(o.label){case 0:if(this.alreadyEmbedded)return[3,2];return e=(t=this.doc).catalog,r=t.context,[4,this.embedder.embedIntoContext(this.doc.context,this.ref)];case 1:i=o.sent(),e.has(n.S5.of("Names"))||e.set(n.S5.of("Names"),r.obj({})),(a=e.lookup(n.S5.of("Names"),n.Ri)).has(n.S5.of("JavaScript"))||a.set(n.S5.of("JavaScript"),r.obj({})),(s=a.lookup(n.S5.of("JavaScript"),n.Ri)).has(n.S5.of("Names"))||s.set(n.S5.of("Names"),r.obj([])),(u=s.lookup(n.S5.of("Names"),n.y3)).push(n.lv.fromText(this.embedder.scriptName)),u.push(i),this.alreadyEmbedded=!0,o.label=2;case 2:return[2]}})})},t.of=function(e,r,o){return new t(e,r,o)},t}()},72434(t,e,r){var o=r(81205),n=r(65231),i=r(57333),a=r(45198),s=r(42810),u=r(78448),c=r(25064),l=r(13684),h=r(97490),d=r(58184),f=r(37934),p=r(67531),g=r(44910);e.A=function(){function t(t,e,r){this.fontSize=24,this.fontColor=(0,n.Qh)(0,0,0),this.lineHeight=24,this.x=0,this.y=0,(0,g.jo)(t,"leafNode",[[p.y1,"PDFPageLeaf"]]),(0,g.jo)(e,"ref",[[p.so,"PDFRef"]]),(0,g.jo)(r,"doc",[[s.A,"PDFDocument"]]),this.node=t,this.ref=e,this.doc=r}return t.prototype.setRotation=function(t){var e=(0,d.xW)(t);(0,g.vW)(e,"degreesAngle",90),this.node.set(p.S5.of("Rotate"),this.doc.context.obj(e))},t.prototype.getRotation=function(){var t=this.node.Rotate();return(0,d.uj)(t?t.asNumber():0)},t.prototype.setSize=function(t,e){(0,g.jo)(t,"width",["number"]),(0,g.jo)(e,"height",["number"]);var r=this.getMediaBox();this.setMediaBox(r.x,r.y,t,e);var o=this.getCropBox(),n=this.getBleedBox(),i=this.getTrimBox(),a=this.getArtBox(),s=this.node.CropBox(),u=this.node.BleedBox(),c=this.node.TrimBox(),l=this.node.ArtBox();s&&(0,g.N8)(o,r)&&this.setCropBox(r.x,r.y,t,e),u&&(0,g.N8)(n,r)&&this.setBleedBox(r.x,r.y,t,e),c&&(0,g.N8)(i,r)&&this.setTrimBox(r.x,r.y,t,e),l&&(0,g.N8)(a,r)&&this.setArtBox(r.x,r.y,t,e)},t.prototype.setWidth=function(t){(0,g.jo)(t,"width",["number"]),this.setSize(t,this.getSize().height)},t.prototype.setHeight=function(t){(0,g.jo)(t,"height",["number"]),this.setSize(this.getSize().width,t)},t.prototype.setMediaBox=function(t,e,r,o){(0,g.jo)(t,"x",["number"]),(0,g.jo)(e,"y",["number"]),(0,g.jo)(r,"width",["number"]),(0,g.jo)(o,"height",["number"]);var n=this.doc.context.obj([t,e,t+r,e+o]);this.node.set(p.S5.MediaBox,n)},t.prototype.setCropBox=function(t,e,r,o){(0,g.jo)(t,"x",["number"]),(0,g.jo)(e,"y",["number"]),(0,g.jo)(r,"width",["number"]),(0,g.jo)(o,"height",["number"]);var n=this.doc.context.obj([t,e,t+r,e+o]);this.node.set(p.S5.CropBox,n)},t.prototype.setBleedBox=function(t,e,r,o){(0,g.jo)(t,"x",["number"]),(0,g.jo)(e,"y",["number"]),(0,g.jo)(r,"width",["number"]),(0,g.jo)(o,"height",["number"]);var n=this.doc.context.obj([t,e,t+r,e+o]);this.node.set(p.S5.BleedBox,n)},t.prototype.setTrimBox=function(t,e,r,o){(0,g.jo)(t,"x",["number"]),(0,g.jo)(e,"y",["number"]),(0,g.jo)(r,"width",["number"]),(0,g.jo)(o,"height",["number"]);var n=this.doc.context.obj([t,e,t+r,e+o]);this.node.set(p.S5.TrimBox,n)},t.prototype.setArtBox=function(t,e,r,o){(0,g.jo)(t,"x",["number"]),(0,g.jo)(e,"y",["number"]),(0,g.jo)(r,"width",["number"]),(0,g.jo)(o,"height",["number"]);var n=this.doc.context.obj([t,e,t+r,e+o]);this.node.set(p.S5.ArtBox,n)},t.prototype.getSize=function(){var t=this.getMediaBox();return{width:t.width,height:t.height}},t.prototype.getWidth=function(){return this.getSize().width},t.prototype.getHeight=function(){return this.getSize().height},t.prototype.getMediaBox=function(){return this.node.MediaBox().asRectangle()},t.prototype.getCropBox=function(){var t,e=this.node.CropBox();return null!=(t=null==e?void 0:e.asRectangle())?t:this.getMediaBox()},t.prototype.getBleedBox=function(){var t,e=this.node.BleedBox();return null!=(t=null==e?void 0:e.asRectangle())?t:this.getCropBox()},t.prototype.getTrimBox=function(){var t,e=this.node.TrimBox();return null!=(t=null==e?void 0:e.asRectangle())?t:this.getCropBox()},t.prototype.getArtBox=function(){var t,e=this.node.ArtBox();return null!=(t=null==e?void 0:e.asRectangle())?t:this.getCropBox()},t.prototype.translateContent=function(t,e){(0,g.jo)(t,"x",["number"]),(0,g.jo)(e,"y",["number"]),this.node.normalize(),this.getContentStream();var r=this.createContentStream((0,a.Tl)(),(0,a.kJ)(t,e)),o=this.doc.context.register(r),n=this.createContentStream((0,a.eH)()),i=this.doc.context.register(n);this.node.wrapContentStreams(o,i)},t.prototype.scale=function(t,e){(0,g.jo)(t,"x",["number"]),(0,g.jo)(e,"y",["number"]),this.setSize(this.getWidth()*t,this.getHeight()*e),this.scaleContent(t,e),this.scaleAnnotations(t,e)},t.prototype.scaleContent=function(t,e){(0,g.jo)(t,"x",["number"]),(0,g.jo)(e,"y",["number"]),this.node.normalize(),this.getContentStream();var r=this.createContentStream((0,a.Tl)(),(0,a.hs)(t,e)),o=this.doc.context.register(r),n=this.createContentStream((0,a.eH)()),i=this.doc.context.register(n);this.node.wrapContentStreams(o,i)},t.prototype.scaleAnnotations=function(t,e){(0,g.jo)(t,"x",["number"]),(0,g.jo)(e,"y",["number"]);var r=this.node.Annots();if(r)for(var o=0;o<r.size();o++){var n=r.lookup(o);n instanceof p.Ri&&this.scaleAnnot(n,t,e)}},t.prototype.resetPosition=function(){this.getContentStream(!1),this.x=0,this.y=0},t.prototype.setFont=function(t){(0,g.jo)(t,"font",[[c.A,"PDFFont"]]),this.font=t,this.fontKey=this.node.newFontDictionary(this.font.name,this.font.ref)},t.prototype.setFontSize=function(t){(0,g.jo)(t,"fontSize",["number"]),this.fontSize=t},t.prototype.setFontColor=function(t){(0,g.jo)(t,"fontColor",[[Object,"Color"]]),this.fontColor=t},t.prototype.setLineHeight=function(t){(0,g.jo)(t,"lineHeight",["number"]),this.lineHeight=t},t.prototype.getPosition=function(){return{x:this.x,y:this.y}},t.prototype.getX=function(){return this.x},t.prototype.getY=function(){return this.y},t.prototype.moveTo=function(t,e){(0,g.jo)(t,"x",["number"]),(0,g.jo)(e,"y",["number"]),this.x=t,this.y=e},t.prototype.moveDown=function(t){(0,g.jo)(t,"yDecrease",["number"]),this.y-=t},t.prototype.moveUp=function(t){(0,g.jo)(t,"yIncrease",["number"]),this.y+=t},t.prototype.moveLeft=function(t){(0,g.jo)(t,"xDecrease",["number"]),this.x-=t},t.prototype.moveRight=function(t){(0,g.jo)(t,"xIncrease",["number"]),this.x+=t},t.prototype.pushOperators=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];(0,g.k)(t,"operator",[[p.VK,"PDFOperator"]]);var r=this.getContentStream();r.push.apply(r,t)},t.prototype.drawText=function(t,e){void 0===e&&(e={}),(0,g.jo)(t,"text",["string"]),(0,g.wU)(e.color,"options.color",[[Object,"Color"]]),(0,g.Dw)(e.opacity,"opacity.opacity",0,1),(0,g.wU)(e.font,"options.font",[[c.A,"PDFFont"]]),(0,g.wU)(e.size,"options.size",["number"]),(0,g.wU)(e.rotate,"options.rotate",[[Object,"Rotation"]]),(0,g.wU)(e.xSkew,"options.xSkew",[[Object,"Rotation"]]),(0,g.wU)(e.ySkew,"options.ySkew",[[Object,"Rotation"]]),(0,g.wU)(e.x,"options.x",["number"]),(0,g.wU)(e.y,"options.y",["number"]),(0,g.wU)(e.lineHeight,"options.lineHeight",["number"]),(0,g.wU)(e.maxWidth,"options.maxWidth",["number"]),(0,g.wU)(e.wordBreaks,"options.wordBreaks",[Array]),(0,g.DU)(e.blendMode,"options.blendMode",h.N);for(var r,o,n,a,s,u,l,f=this.setOrEmbedFont(e.font),p=f.oldFont,y=f.newFont,v=f.newFontKey,m=e.size||this.fontSize,b=e.wordBreaks||this.doc.defaultWordBreaks,A=void 0===e.maxWidth?(0,g.JQ)((0,g.X5)(t)):(0,g.YF)(t,b,e.maxWidth,function(t){return y.widthOfTextAtSize(t,m)}),C=Array(A.length),F=0,S=A.length;F<S;F++)C[F]=y.encodeText(A[F]);var w=this.maybeEmbedGraphicsState({opacity:e.opacity,blendMode:e.blendMode}),x=this.getContentStream();x.push.apply(x,(0,i.EF)(C,{color:null!=(r=e.color)?r:this.fontColor,font:v,size:m,rotate:null!=(o=e.rotate)?o:(0,d.uj)(0),xSkew:null!=(n=e.xSkew)?n:(0,d.uj)(0),ySkew:null!=(a=e.ySkew)?a:(0,d.uj)(0),x:null!=(s=e.x)?s:this.x,y:null!=(u=e.y)?u:this.y,lineHeight:null!=(l=e.lineHeight)?l:this.lineHeight,graphicsState:w})),e.font&&(p?this.setFont(p):this.resetFont())},t.prototype.drawImage=function(t,e){void 0===e&&(e={}),(0,g.jo)(t,"image",[[l.A,"PDFImage"]]),(0,g.wU)(e.x,"options.x",["number"]),(0,g.wU)(e.y,"options.y",["number"]),(0,g.wU)(e.width,"options.width",["number"]),(0,g.wU)(e.height,"options.height",["number"]),(0,g.wU)(e.rotate,"options.rotate",[[Object,"Rotation"]]),(0,g.wU)(e.xSkew,"options.xSkew",[[Object,"Rotation"]]),(0,g.wU)(e.ySkew,"options.ySkew",[[Object,"Rotation"]]),(0,g.Dw)(e.opacity,"opacity.opacity",0,1),(0,g.DU)(e.blendMode,"options.blendMode",h.N);var r,o,n,a,s,u,c,f=this.node.newXObject("Image",t.ref),p=this.maybeEmbedGraphicsState({opacity:e.opacity,blendMode:e.blendMode}),y=this.getContentStream();y.push.apply(y,(0,i.aC)(f,{x:null!=(r=e.x)?r:this.x,y:null!=(o=e.y)?o:this.y,width:null!=(n=e.width)?n:t.size().width,height:null!=(a=e.height)?a:t.size().height,rotate:null!=(s=e.rotate)?s:(0,d.uj)(0),xSkew:null!=(u=e.xSkew)?u:(0,d.uj)(0),ySkew:null!=(c=e.ySkew)?c:(0,d.uj)(0),graphicsState:p}))},t.prototype.drawPage=function(t,e){void 0===e&&(e={}),(0,g.jo)(t,"embeddedPage",[[u.A,"PDFEmbeddedPage"]]),(0,g.wU)(e.x,"options.x",["number"]),(0,g.wU)(e.y,"options.y",["number"]),(0,g.wU)(e.xScale,"options.xScale",["number"]),(0,g.wU)(e.yScale,"options.yScale",["number"]),(0,g.wU)(e.width,"options.width",["number"]),(0,g.wU)(e.height,"options.height",["number"]),(0,g.wU)(e.rotate,"options.rotate",[[Object,"Rotation"]]),(0,g.wU)(e.xSkew,"options.xSkew",[[Object,"Rotation"]]),(0,g.wU)(e.ySkew,"options.ySkew",[[Object,"Rotation"]]),(0,g.Dw)(e.opacity,"opacity.opacity",0,1),(0,g.DU)(e.blendMode,"options.blendMode",h.N);var r,o,n,a,s,c=this.node.newXObject("EmbeddedPdfPage",t.ref),l=this.maybeEmbedGraphicsState({opacity:e.opacity,blendMode:e.blendMode}),f=void 0!==e.width?e.width/t.width:void 0!==e.xScale?e.xScale:1,p=void 0!==e.height?e.height/t.height:void 0!==e.yScale?e.yScale:1,y=this.getContentStream();y.push.apply(y,(0,i.wl)(c,{x:null!=(r=e.x)?r:this.x,y:null!=(o=e.y)?o:this.y,xScale:f,yScale:p,rotate:null!=(n=e.rotate)?n:(0,d.uj)(0),xSkew:null!=(a=e.xSkew)?a:(0,d.uj)(0),ySkew:null!=(s=e.ySkew)?s:(0,d.uj)(0),graphicsState:l}))},t.prototype.drawSvgPath=function(t,e){void 0===e&&(e={}),(0,g.jo)(t,"path",["string"]),(0,g.wU)(e.x,"options.x",["number"]),(0,g.wU)(e.y,"options.y",["number"]),(0,g.wU)(e.scale,"options.scale",["number"]),(0,g.wU)(e.rotate,"options.rotate",[[Object,"Rotation"]]),(0,g.wU)(e.borderWidth,"options.borderWidth",["number"]),(0,g.wU)(e.color,"options.color",[[Object,"Color"]]),(0,g.Dw)(e.opacity,"opacity.opacity",0,1),(0,g.wU)(e.borderColor,"options.borderColor",[[Object,"Color"]]),(0,g.wU)(e.borderDashArray,"options.borderDashArray",[Array]),(0,g.wU)(e.borderDashPhase,"options.borderDashPhase",["number"]),(0,g.DU)(e.borderLineCap,"options.borderLineCap",a.uT),(0,g.Dw)(e.borderOpacity,"options.borderOpacity",0,1),(0,g.DU)(e.blendMode,"options.blendMode",h.N);var r,o,s,u,c,l,f,p,y,v=this.maybeEmbedGraphicsState({opacity:e.opacity,borderOpacity:e.borderOpacity,blendMode:e.blendMode});"color"in e||"borderColor"in e||(e.borderColor=(0,n.Qh)(0,0,0));var m=this.getContentStream();m.push.apply(m,(0,i.wd)(t,{x:null!=(r=e.x)?r:this.x,y:null!=(o=e.y)?o:this.y,scale:e.scale,rotate:null!=(s=e.rotate)?s:(0,d.uj)(0),color:null!=(u=e.color)?u:void 0,borderColor:null!=(c=e.borderColor)?c:void 0,borderWidth:null!=(l=e.borderWidth)?l:0,borderDashArray:null!=(f=e.borderDashArray)?f:void 0,borderDashPhase:null!=(p=e.borderDashPhase)?p:void 0,borderLineCap:null!=(y=e.borderLineCap)?y:void 0,graphicsState:v}))},t.prototype.drawLine=function(t){(0,g.jo)(t.start,"options.start",[[Object,"{ x: number, y: number }"]]),(0,g.jo)(t.end,"options.end",[[Object,"{ x: number, y: number }"]]),(0,g.jo)(t.start.x,"options.start.x",["number"]),(0,g.jo)(t.start.y,"options.start.y",["number"]),(0,g.jo)(t.end.x,"options.end.x",["number"]),(0,g.jo)(t.end.y,"options.end.y",["number"]),(0,g.wU)(t.thickness,"options.thickness",["number"]),(0,g.wU)(t.color,"options.color",[[Object,"Color"]]),(0,g.wU)(t.dashArray,"options.dashArray",[Array]),(0,g.wU)(t.dashPhase,"options.dashPhase",["number"]),(0,g.DU)(t.lineCap,"options.lineCap",a.uT),(0,g.Dw)(t.opacity,"opacity.opacity",0,1),(0,g.DU)(t.blendMode,"options.blendMode",h.N);var e,r,o,s,u,c=this.maybeEmbedGraphicsState({borderOpacity:t.opacity,blendMode:t.blendMode});"color"in t||(t.color=(0,n.Qh)(0,0,0));var l=this.getContentStream();l.push.apply(l,(0,i.V6)({start:t.start,end:t.end,thickness:null!=(e=t.thickness)?e:1,color:null!=(r=t.color)?r:void 0,dashArray:null!=(o=t.dashArray)?o:void 0,dashPhase:null!=(s=t.dashPhase)?s:void 0,lineCap:null!=(u=t.lineCap)?u:void 0,graphicsState:c}))},t.prototype.drawRectangle=function(t){void 0===t&&(t={}),(0,g.wU)(t.x,"options.x",["number"]),(0,g.wU)(t.y,"options.y",["number"]),(0,g.wU)(t.width,"options.width",["number"]),(0,g.wU)(t.height,"options.height",["number"]),(0,g.wU)(t.rotate,"options.rotate",[[Object,"Rotation"]]),(0,g.wU)(t.xSkew,"options.xSkew",[[Object,"Rotation"]]),(0,g.wU)(t.ySkew,"options.ySkew",[[Object,"Rotation"]]),(0,g.wU)(t.borderWidth,"options.borderWidth",["number"]),(0,g.wU)(t.color,"options.color",[[Object,"Color"]]),(0,g.Dw)(t.opacity,"opacity.opacity",0,1),(0,g.wU)(t.borderColor,"options.borderColor",[[Object,"Color"]]),(0,g.wU)(t.borderDashArray,"options.borderDashArray",[Array]),(0,g.wU)(t.borderDashPhase,"options.borderDashPhase",["number"]),(0,g.DU)(t.borderLineCap,"options.borderLineCap",a.uT),(0,g.Dw)(t.borderOpacity,"options.borderOpacity",0,1),(0,g.DU)(t.blendMode,"options.blendMode",h.N);var e,r,o,s,u,c,l,f,p,y,v,m,b,A=this.maybeEmbedGraphicsState({opacity:t.opacity,borderOpacity:t.borderOpacity,blendMode:t.blendMode});"color"in t||"borderColor"in t||(t.color=(0,n.Qh)(0,0,0));var C=this.getContentStream();C.push.apply(C,(0,i.CQ)({x:null!=(e=t.x)?e:this.x,y:null!=(r=t.y)?r:this.y,width:null!=(o=t.width)?o:150,height:null!=(s=t.height)?s:100,rotate:null!=(u=t.rotate)?u:(0,d.uj)(0),xSkew:null!=(c=t.xSkew)?c:(0,d.uj)(0),ySkew:null!=(l=t.ySkew)?l:(0,d.uj)(0),borderWidth:null!=(f=t.borderWidth)?f:0,color:null!=(p=t.color)?p:void 0,borderColor:null!=(y=t.borderColor)?y:void 0,borderDashArray:null!=(v=t.borderDashArray)?v:void 0,borderDashPhase:null!=(m=t.borderDashPhase)?m:void 0,graphicsState:A,borderLineCap:null!=(b=t.borderLineCap)?b:void 0}))},t.prototype.drawSquare=function(t){void 0===t&&(t={});var e=t.size;(0,g.wU)(e,"size",["number"]),this.drawRectangle((0,o.Cl)((0,o.Cl)({},t),{width:e,height:e}))},t.prototype.drawEllipse=function(t){void 0===t&&(t={}),(0,g.wU)(t.x,"options.x",["number"]),(0,g.wU)(t.y,"options.y",["number"]),(0,g.wU)(t.xScale,"options.xScale",["number"]),(0,g.wU)(t.yScale,"options.yScale",["number"]),(0,g.wU)(t.rotate,"options.rotate",[[Object,"Rotation"]]),(0,g.wU)(t.color,"options.color",[[Object,"Color"]]),(0,g.Dw)(t.opacity,"opacity.opacity",0,1),(0,g.wU)(t.borderColor,"options.borderColor",[[Object,"Color"]]),(0,g.Dw)(t.borderOpacity,"options.borderOpacity",0,1),(0,g.wU)(t.borderWidth,"options.borderWidth",["number"]),(0,g.wU)(t.borderDashArray,"options.borderDashArray",[Array]),(0,g.wU)(t.borderDashPhase,"options.borderDashPhase",["number"]),(0,g.DU)(t.borderLineCap,"options.borderLineCap",a.uT),(0,g.DU)(t.blendMode,"options.blendMode",h.N);var e,r,o,s,u,c,l,d,f,p,y,v=this.maybeEmbedGraphicsState({opacity:t.opacity,borderOpacity:t.borderOpacity,blendMode:t.blendMode});"color"in t||"borderColor"in t||(t.color=(0,n.Qh)(0,0,0));var m=this.getContentStream();m.push.apply(m,(0,i.n)({x:null!=(e=t.x)?e:this.x,y:null!=(r=t.y)?r:this.y,xScale:null!=(o=t.xScale)?o:100,yScale:null!=(s=t.yScale)?s:100,rotate:null!=(u=t.rotate)?u:void 0,color:null!=(c=t.color)?c:void 0,borderColor:null!=(l=t.borderColor)?l:void 0,borderWidth:null!=(d=t.borderWidth)?d:0,borderDashArray:null!=(f=t.borderDashArray)?f:void 0,borderDashPhase:null!=(p=t.borderDashPhase)?p:void 0,borderLineCap:null!=(y=t.borderLineCap)?y:void 0,graphicsState:v}))},t.prototype.drawCircle=function(t){void 0===t&&(t={});var e=t.size,r=void 0===e?100:e;(0,g.wU)(r,"size",["number"]),this.drawEllipse((0,o.Cl)((0,o.Cl)({},t),{xScale:r,yScale:r}))},t.prototype.setOrEmbedFont=function(t){var e=this.font,r=this.fontKey;return t?this.setFont(t):this.getFont(),{oldFont:e,oldFontKey:r,newFont:this.font,newFontKey:this.fontKey}},t.prototype.getFont=function(){if(!this.font||!this.fontKey){var t=this.doc.embedStandardFont(f.q.Helvetica);this.setFont(t)}return[this.font,this.fontKey]},t.prototype.resetFont=function(){this.font=void 0,this.fontKey=void 0},t.prototype.getContentStream=function(t){return void 0===t&&(t=!0),t&&this.contentStream||(this.contentStream=this.createContentStream(),this.contentStreamRef=this.doc.context.register(this.contentStream),this.node.addContentStream(this.contentStreamRef)),this.contentStream},t.prototype.createContentStream=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var r=this.doc.context.obj({});return p.CB.of(r,t)},t.prototype.maybeEmbedGraphicsState=function(t){var e=t.opacity,r=t.borderOpacity,o=t.blendMode;if(void 0!==e||void 0!==r||void 0!==o){var n=this.doc.context.obj({Type:"ExtGState",ca:e,CA:r,BM:o});return this.node.newExtGState("GS",n)}},t.prototype.scaleAnnot=function(t,e,r){for(var o=["RD","CL","Vertices","QuadPoints","L","Rect"],n=0,i=o.length;n<i;n++){var a=t.lookup(p.S5.of(o[n]));a instanceof p.y3&&a.scalePDFNumbers(e,r)}var s=t.lookup(p.S5.of("InkList"));if(s instanceof p.y3)for(var n=0,i=s.size();n<i;n++){var u=s.lookup(n);u instanceof p.y3&&u.scalePDFNumbers(e,r)}},t.of=function(e,r,o){return new t(e,r,o)},t.create=function(e){(0,g.jo)(e,"doc",[[s.A,"PDFDocument"]]);var r=p.so.of(-1),o=p.y1.withContextAndParent(e.context,r),n=e.context.register(o);return new t(o,n,e)},t}()},97490(t,e,r){var o,n;(n=o||(o={})).Normal="Normal",n.Multiply="Multiply",n.Screen="Screen",n.Overlay="Overlay",n.Darken="Darken",n.Lighten="Lighten",n.ColorDodge="ColorDodge",n.ColorBurn="ColorBurn",n.HardLight="HardLight",n.SoftLight="SoftLight",n.Difference="Difference",n.Exclusion="Exclusion",r.d(e,{N:()=>o})},37934(t,e,r){var o,n;(n=o||(o={})).Courier="Courier",n.CourierBold="Courier-Bold",n.CourierOblique="Courier-Oblique",n.CourierBoldOblique="Courier-BoldOblique",n.Helvetica="Helvetica",n.HelveticaBold="Helvetica-Bold",n.HelveticaOblique="Helvetica-Oblique",n.HelveticaBoldOblique="Helvetica-BoldOblique",n.TimesRoman="Times-Roman",n.TimesRomanBold="Times-Bold",n.TimesRomanItalic="Times-Italic",n.TimesRomanBoldItalic="Times-BoldItalic",n.Symbol="Symbol",n.ZapfDingbats="ZapfDingbats",r.d(e,{q:()=>o})},65231(t,e,r){var o,n,i=r(45198),a=r(44910);(o=n||(n={})).Grayscale="Grayscale",o.RGB="RGB",o.CMYK="CMYK";var s=function(t){return(0,a.Qb)(t,"gray",0,1),{type:n.Grayscale,gray:t}},u=function(t,e,r){return(0,a.Qb)(t,"red",0,1),(0,a.Qb)(e,"green",0,1),(0,a.Qb)(r,"blue",0,1),{type:n.RGB,red:t,green:e,blue:r}},c=function(t,e,r,o){return(0,a.Qb)(t,"cyan",0,1),(0,a.Qb)(e,"magenta",0,1),(0,a.Qb)(r,"yellow",0,1),(0,a.Qb)(o,"key",0,1),{type:n.CMYK,cyan:t,magenta:e,yellow:r,key:o}},l=n.Grayscale,h=n.RGB,d=n.CMYK,f=function(t){return t.type===l?(0,i.Cq)(t.gray):t.type===h?(0,i._u)(t.red,t.green,t.blue):t.type===d?(0,i.J2)(t.cyan,t.magenta,t.yellow,t.key):(0,a.z3)("Invalid color: "+JSON.stringify(t))},p=function(t){return t.type===l?(0,i.U4)(t.gray):t.type===h?(0,i.Ie)(t.red,t.green,t.blue):t.type===d?(0,i.FP)(t.cyan,t.magenta,t.yellow,t.key):(0,a.z3)("Invalid color: "+JSON.stringify(t))},g=function(t,e){return void 0===e&&(e=1),(null==t?void 0:t.length)===1?s(t[0]*e):(null==t?void 0:t.length)===3?u(t[0]*e,t[1]*e,t[2]*e):(null==t?void 0:t.length)===4?c(t[0]*e,t[1]*e,t[2]*e,t[3]*e):void 0},y=function(t){return t.type===l?[t.gray]:t.type===h?[t.red,t.green,t.blue]:t.type===d?[t.cyan,t.magenta,t.yellow,t.key]:(0,a.z3)("Invalid color: "+JSON.stringify(t))};r.d(e,{CM:()=>s,Qh:()=>u,T7:()=>c,ZP:()=>p,b5:()=>y,fS:()=>g,vb:()=>n,zN:()=>f})},39560(t,e,r){var o=r(81205),n=function(t){function e(){return t.call(this,"Input document to `PDFDocument.load` is encrypted. You can use `PDFDocument.load(..., { ignoreEncryption: true })` if you wish to load the document anyways.")||this}return(0,o.C6)(e,t),e}(Error),i=function(t){function e(){return t.call(this,"Input to `PDFDocument.embedFont` was a custom font, but no `fontkit` instance was found. You must register a `fontkit` instance with `PDFDocument.registerFontkit(...)` before embedding custom fonts.")||this}return(0,o.C6)(e,t),e}(Error),a=function(t){function e(){return t.call(this,"A `page` passed to `PDFDocument.addPage` or `PDFDocument.insertPage` was from a different (foreign) PDF document. If you want to copy pages from one PDFDocument to another, you must use `PDFDocument.copyPages(...)` to copy the pages before adding or inserting them.")||this}return(0,o.C6)(e,t),e}(Error),s=function(t){function e(){return t.call(this,"PDFDocument has no pages so `PDFDocument.removePage` cannot be called")||this}return(0,o.C6)(e,t),e}(Error),u=function(t){function e(e){return t.call(this,'PDFDocument has no form field with the name "'+e+'"')||this}return(0,o.C6)(e,t),e}(Error),c=function(t){function e(e,r,o){var n,i,a='Expected field "'+e+'" to be of type '+(null==r?void 0:r.name)+", but it is actually of type "+(null!=(i=null==(n=null==o?void 0:o.constructor)?void 0:n.name)?i:o);return t.call(this,a)||this}return(0,o.C6)(e,t),e}(Error),l=function(t){function e(e){return t.call(this,'Failed to select check box due to missing onValue: "'+e+'"')||this}return(0,o.C6)(e,t),e}(Error),h=function(t){function e(e){return t.call(this,'A field already exists with the specified name: "'+e+'"')||this}return(0,o.C6)(e,t),e}(Error),d=function(t){function e(e){return t.call(this,'Field name contains invalid component: "'+e+'"')||this}return(0,o.C6)(e,t),e}(Error),f=function(t){function e(e){return t.call(this,'A non-terminal field already exists with the specified name: "'+e+'"')||this}return(0,o.C6)(e,t),e}(Error),p=function(t){function e(e){return t.call(this,"Reading rich text fields is not supported: Attempted to read rich text field: "+e)||this}return(0,o.C6)(e,t),e}(Error),g=function(t){function e(e,r){return t.call(this,"Failed to layout combed text as lineLength="+e+" is greater than cellCount="+r)||this}return(0,o.C6)(e,t),e}(Error),y=function(t){function e(e,r,o){return t.call(this,"Attempted to set text with length="+e+" for TextField with maxLength="+r+" and name="+o)||this}return(0,o.C6)(e,t),e}(Error),v=function(t){function e(e,r,o){var n="Attempted to set maxLength="+r+", which is less than "+e+", the length of this field's current value (name="+o+")";return t.call(this,n)||this}return(0,o.C6)(e,t),e}(Error);r.d(e,{A:()=>g,BY:()=>h,KI:()=>y,OY:()=>s,ZT:()=>n,eW:()=>v,iB:()=>a,k0:()=>p,oX:()=>f,or:()=>c,pI:()=>l,vs:()=>u,wT:()=>d,xC:()=>i})},66516(t,e,r){var o=r(81205),n=r(72434),i=r(25064),a=r(76396),s=r(60853),u=r(45410),c=r(65231),l=r(58184),h=r(67531),d=r(44910);e.A=function(t){function e(e,r,o){var n=t.call(this,e,r,o)||this;return(0,d.jo)(e,"acroButton",[[h.OR,"PDFAcroPushButton"]]),n.acroField=e,n}return(0,o.C6)(e,t),e.prototype.setImage=function(t,e){void 0===e&&(e=a.n.Center);for(var r=this.acroField.getWidgets(),o=0,n=r.length;o<n;o++){var i=r[o],s=this.createImageAppearanceStream(i,t,e);this.updateWidgetAppearances(i,{normal:s})}this.markAsClean()},e.prototype.setFontSize=function(t){(0,d.a_)(t,"fontSize"),this.acroField.setFontSize(t),this.markAsDirty()},e.prototype.addToPage=function(t,e,r){(0,d.wU)(t,"text",["string"]),(0,d.wU)(e,"page",[[n.A,"PDFPage"]]),(0,u.B)(r);var o,i,a,s,h,f,p,g,y,v,m,b=this.createWidget({x:(null!=(o=null==r?void 0:r.x)?o:0)-(null!=(i=null==r?void 0:r.borderWidth)?i:0)/2,y:(null!=(a=null==r?void 0:r.y)?a:0)-(null!=(s=null==r?void 0:r.borderWidth)?s:0)/2,width:null!=(h=null==r?void 0:r.width)?h:100,height:null!=(f=null==r?void 0:r.height)?f:50,textColor:null!=(p=null==r?void 0:r.textColor)?p:(0,c.Qh)(0,0,0),backgroundColor:null!=(g=null==r?void 0:r.backgroundColor)?g:(0,c.Qh)(.75,.75,.75),borderColor:null==r?void 0:r.borderColor,borderWidth:null!=(y=null==r?void 0:r.borderWidth)?y:0,rotate:null!=(v=null==r?void 0:r.rotate)?v:(0,l.uj)(0),caption:t,hidden:null==r?void 0:r.hidden,page:e.ref}),A=this.doc.context.register(b.dict);this.acroField.addWidget(A);var C=null!=(m=null==r?void 0:r.font)?m:this.doc.getForm().getDefaultFont();this.updateWidgetAppearance(b,C),e.node.addAnnot(A)},e.prototype.needsAppearancesUpdate=function(){if(this.isDirty())return!0;for(var t,e=this.acroField.getWidgets(),r=0,o=e.length;r<o;r++)if(!((null==(t=e[r].getAppearances())?void 0:t.normal)instanceof h.h0))return!0;return!1},e.prototype.defaultUpdateAppearances=function(t){(0,d.jo)(t,"font",[[i.A,"PDFFont"]]),this.updateAppearances(t)},e.prototype.updateAppearances=function(t,e){(0,d.jo)(t,"font",[[i.A,"PDFFont"]]),(0,d.wU)(e,"provider",[Function]);for(var r=this.acroField.getWidgets(),o=0,n=r.length;o<n;o++){var a=r[o];this.updateWidgetAppearance(a,t,e)}},e.prototype.updateWidgetAppearance=function(t,e,r){var o=null!=r?r:s.p6,n=(0,s.QK)(o(this,t,e));this.updateWidgetAppearanceWithFont(t,e,n)},e.of=function(t,r,o){return new e(t,r,o)},e}(u.A)},57014(t,e,r){var o=r(81205),n=r(72434),i=r(60853),a=r(65231),s=r(58184),u=r(45410),c=r(67531),l=r(44910);e.A=function(t){function e(e,r,o){var n=t.call(this,e,r,o)||this;return(0,l.jo)(e,"acroCheckBox",[[c.RL,"PDFAcroCheckBox"]]),n.acroField=e,n}return(0,o.C6)(e,t),e.prototype.check=function(){var t,e=null!=(t=this.acroField.getOnValue())?t:c.S5.of("Yes");this.markAsDirty(),this.acroField.setValue(e)},e.prototype.uncheck=function(){this.markAsDirty(),this.acroField.setValue(c.S5.of("Off"))},e.prototype.isChecked=function(){var t=this.acroField.getOnValue();return!!t&&t===this.acroField.getValue()},e.prototype.addToPage=function(t,e){(0,l.jo)(t,"page",[[n.A,"PDFPage"]]),(0,u.B)(e),e||(e={}),"textColor"in e||(e.textColor=(0,a.Qh)(0,0,0)),"backgroundColor"in e||(e.backgroundColor=(0,a.Qh)(1,1,1)),"borderColor"in e||(e.borderColor=(0,a.Qh)(0,0,0)),"borderWidth"in e||(e.borderWidth=1);var r,o,i,h,d,f,p=this.createWidget({x:null!=(r=e.x)?r:0,y:null!=(o=e.y)?o:0,width:null!=(i=e.width)?i:50,height:null!=(h=e.height)?h:50,textColor:e.textColor,backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:null!=(d=e.borderWidth)?d:0,rotate:null!=(f=e.rotate)?f:(0,s.uj)(0),hidden:e.hidden,page:t.ref}),g=this.doc.context.register(p.dict);this.acroField.addWidget(g),p.setAppearanceState(c.S5.of("Off")),this.updateWidgetAppearance(p,c.S5.of("Yes")),t.node.addAnnot(g)},e.prototype.needsAppearancesUpdate=function(){for(var t,e=this.acroField.getWidgets(),r=0,o=e.length;r<o;r++){var n=e[r],i=n.getAppearanceState(),a=null==(t=n.getAppearances())?void 0:t.normal;if(!(a instanceof c.Ri)||i&&!a.has(i))return!0}return!1},e.prototype.defaultUpdateAppearances=function(){this.updateAppearances()},e.prototype.updateAppearances=function(t){(0,l.wU)(t,"provider",[Function]);for(var e,r=this.acroField.getWidgets(),o=0,n=r.length;o<n;o++){var i=r[o],a=null!=(e=i.getOnValue())?e:c.S5.of("Yes");a&&this.updateWidgetAppearance(i,a,t)}this.markAsClean()},e.prototype.updateWidgetAppearance=function(t,e,r){var o=null!=r?r:i.kb,n=(0,i.QK)(o(this,t));this.updateOnOffWidgetAppearance(t,e,n)},e.of=function(t,r,o){return new e(t,r,o)},e}(u.A)},11641(t,e,r){var o=r(81205),n=r(72434),i=r(25064),a=r(45410),s=r(60853),u=r(65231),c=r(58184),l=r(67531),h=r(44910);e.A=function(t){function e(e,r,o){var n=t.call(this,e,r,o)||this;return(0,h.jo)(e,"acroComboBox",[[l.Bi,"PDFAcroComboBox"]]),n.acroField=e,n}return(0,o.C6)(e,t),e.prototype.getOptions=function(){for(var t=this.acroField.getOptions(),e=Array(t.length),r=0,o=e.length;r<o;r++){var n=t[r],i=n.display,a=n.value;e[r]=(null!=i?i:a).decodeText()}return e},e.prototype.getSelected=function(){for(var t=this.acroField.getValues(),e=Array(t.length),r=0,o=t.length;r<o;r++)e[r]=t[r].decodeText();return e},e.prototype.setOptions=function(t){(0,h.jo)(t,"options",[Array]);for(var e=Array(t.length),r=0,o=t.length;r<o;r++)e[r]={value:l.lv.fromText(t[r])};this.acroField.setOptions(e)},e.prototype.addOptions=function(t){(0,h.jo)(t,"options",["string",Array]);for(var e=Array.isArray(t)?t:[t],r=this.acroField.getOptions(),o=Array(e.length),n=0,i=e.length;n<i;n++)o[n]={value:l.lv.fromText(e[n])};this.acroField.setOptions(r.concat(o))},e.prototype.select=function(t,e){void 0===e&&(e=!1),(0,h.jo)(t,"options",["string",Array]),(0,h.jo)(e,"merge",["boolean"]);var r=Array.isArray(t)?t:[t],o=this.getOptions();r.find(function(t){return!o.includes(t)})&&this.enableEditing(),this.markAsDirty(),(r.length>1||1===r.length&&e)&&this.enableMultiselect();for(var n=Array(r.length),i=0,a=r.length;i<a;i++)n[i]=l.lv.fromText(r[i]);if(e){var s=this.acroField.getValues();this.acroField.setValues(s.concat(n))}else this.acroField.setValues(n)},e.prototype.clear=function(){this.markAsDirty(),this.acroField.setValues([])},e.prototype.setFontSize=function(t){(0,h.a_)(t,"fontSize"),this.acroField.setFontSize(t),this.markAsDirty()},e.prototype.isEditable=function(){return this.acroField.hasFlag(l.qM.Edit)},e.prototype.enableEditing=function(){this.acroField.setFlagTo(l.qM.Edit,!0)},e.prototype.disableEditing=function(){this.acroField.setFlagTo(l.qM.Edit,!1)},e.prototype.isSorted=function(){return this.acroField.hasFlag(l.qM.Sort)},e.prototype.enableSorting=function(){this.acroField.setFlagTo(l.qM.Sort,!0)},e.prototype.disableSorting=function(){this.acroField.setFlagTo(l.qM.Sort,!1)},e.prototype.isMultiselect=function(){return this.acroField.hasFlag(l.qM.MultiSelect)},e.prototype.enableMultiselect=function(){this.acroField.setFlagTo(l.qM.MultiSelect,!0)},e.prototype.disableMultiselect=function(){this.acroField.setFlagTo(l.qM.MultiSelect,!1)},e.prototype.isSpellChecked=function(){return!this.acroField.hasFlag(l.qM.DoNotSpellCheck)},e.prototype.enableSpellChecking=function(){this.acroField.setFlagTo(l.qM.DoNotSpellCheck,!1)},e.prototype.disableSpellChecking=function(){this.acroField.setFlagTo(l.qM.DoNotSpellCheck,!0)},e.prototype.isSelectOnClick=function(){return this.acroField.hasFlag(l.qM.CommitOnSelChange)},e.prototype.enableSelectOnClick=function(){this.acroField.setFlagTo(l.qM.CommitOnSelChange,!0)},e.prototype.disableSelectOnClick=function(){this.acroField.setFlagTo(l.qM.CommitOnSelChange,!1)},e.prototype.addToPage=function(t,e){(0,h.jo)(t,"page",[[n.A,"PDFPage"]]),(0,a.B)(e),e||(e={}),"textColor"in e||(e.textColor=(0,u.Qh)(0,0,0)),"backgroundColor"in e||(e.backgroundColor=(0,u.Qh)(1,1,1)),"borderColor"in e||(e.borderColor=(0,u.Qh)(0,0,0)),"borderWidth"in e||(e.borderWidth=1);var r,o,i,s,l,d,f,p=this.createWidget({x:null!=(r=e.x)?r:0,y:null!=(o=e.y)?o:0,width:null!=(i=e.width)?i:200,height:null!=(s=e.height)?s:50,textColor:e.textColor,backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:null!=(l=e.borderWidth)?l:0,rotate:null!=(d=e.rotate)?d:(0,c.uj)(0),hidden:e.hidden,page:t.ref}),g=this.doc.context.register(p.dict);this.acroField.addWidget(g);var y=null!=(f=e.font)?f:this.doc.getForm().getDefaultFont();this.updateWidgetAppearance(p,y),t.node.addAnnot(g)},e.prototype.needsAppearancesUpdate=function(){if(this.isDirty())return!0;for(var t,e=this.acroField.getWidgets(),r=0,o=e.length;r<o;r++)if(!((null==(t=e[r].getAppearances())?void 0:t.normal)instanceof l.h0))return!0;return!1},e.prototype.defaultUpdateAppearances=function(t){(0,h.jo)(t,"font",[[i.A,"PDFFont"]]),this.updateAppearances(t)},e.prototype.updateAppearances=function(t,e){(0,h.jo)(t,"font",[[i.A,"PDFFont"]]),(0,h.wU)(e,"provider",[Function]);for(var r=this.acroField.getWidgets(),o=0,n=r.length;o<n;o++){var a=r[o];this.updateWidgetAppearance(a,t,e)}this.markAsClean()},e.prototype.updateWidgetAppearance=function(t,e,r){var o=null!=r?r:s.q2,n=(0,s.QK)(o(this,t,e));this.updateWidgetAppearanceWithFont(t,e,n)},e.of=function(t,r,o){return new e(t,r,o)},e}(a.A)},45410(t,e,r){r.d(e,{B:()=>h});var o=r(81205),n=r(42810),i=r(65231),a=r(58184),s=r(67531),u=r(44910),c=r(63033),l=r(57333),h=function(t){(0,u.wU)(null==t?void 0:t.x,"options.x",["number"]),(0,u.wU)(null==t?void 0:t.y,"options.y",["number"]),(0,u.wU)(null==t?void 0:t.width,"options.width",["number"]),(0,u.wU)(null==t?void 0:t.height,"options.height",["number"]),(0,u.wU)(null==t?void 0:t.textColor,"options.textColor",[[Object,"Color"]]),(0,u.wU)(null==t?void 0:t.backgroundColor,"options.backgroundColor",[[Object,"Color"]]),(0,u.wU)(null==t?void 0:t.borderColor,"options.borderColor",[[Object,"Color"]]),(0,u.wU)(null==t?void 0:t.borderWidth,"options.borderWidth",["number"]),(0,u.wU)(null==t?void 0:t.rotate,"options.rotate",[[Object,"Rotation"]])};e.A=function(){function t(t,e,r){(0,u.jo)(t,"acroField",[[s.AC,"PDFAcroTerminal"]]),(0,u.jo)(e,"ref",[[s.so,"PDFRef"]]),(0,u.jo)(r,"doc",[[n.A,"PDFDocument"]]),this.acroField=t,this.ref=e,this.doc=r}return t.prototype.getName=function(){var t;return null!=(t=this.acroField.getFullyQualifiedName())?t:""},t.prototype.isReadOnly=function(){return this.acroField.hasFlag(s.Zo.ReadOnly)},t.prototype.enableReadOnly=function(){this.acroField.setFlagTo(s.Zo.ReadOnly,!0)},t.prototype.disableReadOnly=function(){this.acroField.setFlagTo(s.Zo.ReadOnly,!1)},t.prototype.isRequired=function(){return this.acroField.hasFlag(s.Zo.Required)},t.prototype.enableRequired=function(){this.acroField.setFlagTo(s.Zo.Required,!0)},t.prototype.disableRequired=function(){this.acroField.setFlagTo(s.Zo.Required,!1)},t.prototype.isExported=function(){return!this.acroField.hasFlag(s.Zo.NoExport)},t.prototype.enableExporting=function(){this.acroField.setFlagTo(s.Zo.NoExport,!1)},t.prototype.disableExporting=function(){this.acroField.setFlagTo(s.Zo.NoExport,!0)},t.prototype.needsAppearancesUpdate=function(){throw new s.ju(this.constructor.name,"needsAppearancesUpdate")},t.prototype.defaultUpdateAppearances=function(t){throw new s.ju(this.constructor.name,"defaultUpdateAppearances")},t.prototype.markAsDirty=function(){this.doc.getForm().markFieldAsDirty(this.ref)},t.prototype.markAsClean=function(){this.doc.getForm().markFieldAsClean(this.ref)},t.prototype.isDirty=function(){return this.doc.getForm().fieldIsDirty(this.ref)},t.prototype.createWidget=function(t){var e,r=t.textColor,o=t.backgroundColor,n=t.borderColor,c=t.borderWidth,l=(0,a.xW)(t.rotate),h=t.caption,d=t.x,f=t.y,p=t.width+c,g=t.height+c,y=!!t.hidden,v=t.page;(0,u.vW)(l,"degreesAngle",90);var m=s.Ml.create(this.doc.context,this.ref),b=(0,a.P8)({x:d,y:f,width:p,height:g},c,l);m.setRectangle(b),v&&m.setP(v);var A=m.getOrCreateAppearanceCharacteristics();o&&A.setBackgroundColor((0,i.b5)(o)),A.setRotation(l),h&&A.setCaptions({normal:h}),n&&A.setBorderColor((0,i.b5)(n));var C=m.getOrCreateBorderStyle();if(void 0!==c&&C.setWidth(c),m.setFlagTo(s.bO.Print,!0),m.setFlagTo(s.bO.Hidden,y),m.setFlagTo(s.bO.Invisible,!1),r){var F=(null!=(e=this.acroField.getDefaultAppearance())?e:"")+"\n"+(0,i.zN)(r).toString();this.acroField.setDefaultAppearance(F)}return m},t.prototype.updateWidgetAppearanceWithFont=function(t,e,r){var o=r.normal,n=r.rollover,i=r.down;this.updateWidgetAppearances(t,{normal:this.createAppearanceStream(t,o,e),rollover:n&&this.createAppearanceStream(t,n,e),down:i&&this.createAppearanceStream(t,i,e)})},t.prototype.updateOnOffWidgetAppearance=function(t,e,r){var o=r.normal,n=r.rollover,i=r.down;this.updateWidgetAppearances(t,{normal:this.createAppearanceDict(t,o,e),rollover:n&&this.createAppearanceDict(t,n,e),down:i&&this.createAppearanceDict(t,i,e)})},t.prototype.updateWidgetAppearances=function(t,e){var r=e.normal,o=e.rollover,n=e.down;t.setNormalAppearance(r),o?t.setRolloverAppearance(o):t.removeRolloverAppearance(),n?t.setDownAppearance(n):t.removeDownAppearance()},t.prototype.createAppearanceStream=function(t,e,r){var o,n=this.acroField.dict.context,i=t.getRectangle(),a=i.width,s=i.height,u=r&&{Font:((o={})[r.name]=r.ref,o)},c=n.formXObject(e,{Resources:u,BBox:n.obj([0,0,a,s]),Matrix:n.obj([1,0,0,1,0,0])});return n.register(c)},t.prototype.createImageAppearanceStream=function(t,e,r){var n,i,s=this.acroField.dict.context,u=t.getRectangle(),h=t.getAppearanceCharacteristics(),d=t.getBorderStyle(),f=null!=(i=null==d?void 0:d.getWidth())?i:0,p=(0,a.du)(null==h?void 0:h.getRotation()),g=(0,l.Il)((0,o.Cl)((0,o.Cl)({},u),{rotation:p})),y=(0,a.S3)(u,p),v=e.scaleToFit(y.width-2*f,y.height-2*f),m={x:f,y:f,width:v.width,height:v.height,rotate:(0,a.uj)(0),xSkew:(0,a.uj)(0),ySkew:(0,a.uj)(0)};r===c.n.Center?(m.x+=(y.width-2*f)/2-v.width/2,m.y+=(y.height-2*f)/2-v.height/2):r===c.n.Right&&(m.x=y.width-f-v.width,m.y=y.height-f-v.height);var b=this.doc.context.addRandomSuffix("Image",10),A=(0,o.aN)(g,(0,l.aC)(b,m)),C={XObject:((n={})[b]=e.ref,n)},F=s.formXObject(A,{Resources:C,BBox:s.obj([0,0,u.width,u.height]),Matrix:s.obj([1,0,0,1,0,0])});return s.register(F)},t.prototype.createAppearanceDict=function(t,e,r){var o=this.acroField.dict.context,n=this.createAppearanceStream(t,e.on),i=this.createAppearanceStream(t,e.off),a=o.obj({});return a.set(r,n),a.set(s.S5.of("Off"),i),a},t}()},55774(t,e,r){var o=r(81205),n=r(42810),i=r(66516),a=r(57014),s=r(11641),u=r(86337),c=r(45606),l=r(22120),h=r(63899),d=r(39560),f=r(25064),p=r(37934),g=r(57333),y=r(45198),v=r(67531),m=r(44910);e.A=function(){function t(t,e){var r=this;this.embedDefaultFont=function(){return r.doc.embedStandardFont(p.q.Helvetica)},(0,m.jo)(t,"acroForm",[[v.In,"PDFAcroForm"]]),(0,m.jo)(e,"doc",[[n.A,"PDFDocument"]]),this.acroForm=t,this.doc=e,this.dirtyFields=new Set,this.defaultFontCache=m.l2.populatedBy(this.embedDefaultFont)}return t.prototype.hasXFA=function(){return this.acroForm.dict.has(v.S5.of("XFA"))},t.prototype.deleteXFA=function(){this.acroForm.dict.delete(v.S5.of("XFA"))},t.prototype.getFields=function(){for(var t=this.acroForm.getAllFields(),e=[],r=0,o=t.length;r<o;r++){var n=t[r],i=b(n[0],n[1],this.doc);i&&e.push(i)}return e},t.prototype.getFieldMaybe=function(t){(0,m.jo)(t,"name",["string"]);for(var e=this.getFields(),r=0,o=e.length;r<o;r++){var n=e[r];if(n.getName()===t)return n}},t.prototype.getField=function(t){(0,m.jo)(t,"name",["string"]);var e=this.getFieldMaybe(t);if(e)return e;throw new d.vs(t)},t.prototype.getButton=function(t){(0,m.jo)(t,"name",["string"]);var e=this.getField(t);if(e instanceof i.A)return e;throw new d.or(t,i.A,e)},t.prototype.getCheckBox=function(t){(0,m.jo)(t,"name",["string"]);var e=this.getField(t);if(e instanceof a.A)return e;throw new d.or(t,a.A,e)},t.prototype.getDropdown=function(t){(0,m.jo)(t,"name",["string"]);var e=this.getField(t);if(e instanceof s.A)return e;throw new d.or(t,s.A,e)},t.prototype.getOptionList=function(t){(0,m.jo)(t,"name",["string"]);var e=this.getField(t);if(e instanceof u.A)return e;throw new d.or(t,u.A,e)},t.prototype.getRadioGroup=function(t){(0,m.jo)(t,"name",["string"]);var e=this.getField(t);if(e instanceof c.A)return e;throw new d.or(t,c.A,e)},t.prototype.getSignature=function(t){(0,m.jo)(t,"name",["string"]);var e=this.getField(t);if(e instanceof l.A)return e;throw new d.or(t,l.A,e)},t.prototype.getTextField=function(t){(0,m.jo)(t,"name",["string"]);var e=this.getField(t);if(e instanceof h.A)return e;throw new d.or(t,h.A,e)},t.prototype.createButton=function(t){(0,m.jo)(t,"name",["string"]);var e=A(t),r=this.findOrCreateNonTerminals(e.nonTerminal),o=v.OR.create(this.doc.context);return o.setPartialName(e.terminal),C(r,[o,o.ref],e.terminal),i.A.of(o,o.ref,this.doc)},t.prototype.createCheckBox=function(t){(0,m.jo)(t,"name",["string"]);var e=A(t),r=this.findOrCreateNonTerminals(e.nonTerminal),o=v.RL.create(this.doc.context);return o.setPartialName(e.terminal),C(r,[o,o.ref],e.terminal),a.A.of(o,o.ref,this.doc)},t.prototype.createDropdown=function(t){(0,m.jo)(t,"name",["string"]);var e=A(t),r=this.findOrCreateNonTerminals(e.nonTerminal),o=v.Bi.create(this.doc.context);return o.setPartialName(e.terminal),C(r,[o,o.ref],e.terminal),s.A.of(o,o.ref,this.doc)},t.prototype.createOptionList=function(t){(0,m.jo)(t,"name",["string"]);var e=A(t),r=this.findOrCreateNonTerminals(e.nonTerminal),o=v.ld.create(this.doc.context);return o.setPartialName(e.terminal),C(r,[o,o.ref],e.terminal),u.A.of(o,o.ref,this.doc)},t.prototype.createRadioGroup=function(t){(0,m.jo)(t,"name",["string"]);var e=A(t),r=this.findOrCreateNonTerminals(e.nonTerminal),o=v.b$.create(this.doc.context);return o.setPartialName(e.terminal),C(r,[o,o.ref],e.terminal),c.A.of(o,o.ref,this.doc)},t.prototype.createTextField=function(t){(0,m.jo)(t,"name",["string"]);var e=A(t),r=this.findOrCreateNonTerminals(e.nonTerminal),o=v.BM.create(this.doc.context);return o.setPartialName(e.terminal),C(r,[o,o.ref],e.terminal),h.A.of(o,o.ref,this.doc)},t.prototype.flatten=function(t){void 0===t&&(t={updateFieldAppearances:!0}),t.updateFieldAppearances&&this.updateFieldAppearances();for(var e=this.getFields(),r=0,n=e.length;r<n;r++){for(var i=e[r],a=i.acroField.getWidgets(),s=0,u=a.length;s<u;s++){var c=a[s],l=this.findWidgetPage(c),h=this.findWidgetAppearanceRef(i,c),d=l.node.newXObject("FlatWidget",h),f=c.getRectangle(),p=(0,o.aN)([(0,y.Tl)(),(0,y.kJ)(f.x,f.y)],(0,g.Il)((0,o.Cl)((0,o.Cl)({},f),{rotation:0})),[(0,y.aS)(d),(0,y.eH)()]).filter(Boolean);l.pushOperators.apply(l,p)}this.removeField(i)}},t.prototype.removeField=function(t){for(var e=t.acroField.getWidgets(),r=new Set,o=0,n=e.length;o<n;o++){var i=e[o],a=this.findWidgetAppearanceRef(t,i),s=this.findWidgetPage(i);r.add(s),s.node.removeAnnot(a)}r.forEach(function(e){return e.node.removeAnnot(t.ref)}),this.acroForm.removeField(t.acroField);for(var u=t.acroField.normalizedEntries().Kids,c=u.size(),l=0;l<c;l++){var h=u.get(l);h instanceof v.so&&this.doc.context.delete(h)}this.doc.context.delete(t.ref)},t.prototype.updateFieldAppearances=function(t){(0,m.wU)(t,"font",[[f.A,"PDFFont"]]),t=null!=t?t:this.getDefaultFont();for(var e=this.getFields(),r=0,o=e.length;r<o;r++){var n=e[r];n.needsAppearancesUpdate()&&n.defaultUpdateAppearances(t)}},t.prototype.markFieldAsDirty=function(t){(0,m.wU)(t,"fieldRef",[[v.so,"PDFRef"]]),this.dirtyFields.add(t)},t.prototype.markFieldAsClean=function(t){(0,m.wU)(t,"fieldRef",[[v.so,"PDFRef"]]),this.dirtyFields.delete(t)},t.prototype.fieldIsDirty=function(t){return(0,m.wU)(t,"fieldRef",[[v.so,"PDFRef"]]),this.dirtyFields.has(t)},t.prototype.getDefaultFont=function(){return this.defaultFontCache.access()},t.prototype.findWidgetPage=function(t){var e=t.P(),r=this.doc.getPages().find(function(t){return t.ref===e});if(void 0===r){var o=this.doc.context.getObjectRef(t.dict);if(void 0===o)throw Error("Could not find PDFRef for PDFObject");if(void 0===(r=this.doc.findPageForAnnotationRef(o)))throw Error("Could not find page for PDFRef "+o)}return r},t.prototype.findWidgetAppearanceRef=function(t,e){var r,o=e.getNormalAppearance();if(o instanceof v.Ri&&(t instanceof a.A||t instanceof c.A)){var n=t.acroField.getValue(),i=null!=(r=o.get(n))?r:o.get(v.S5.of("Off"));i instanceof v.so&&(o=i)}if(!(o instanceof v.so))throw Error("Failed to extract appearance ref for: "+t.getName());return o},t.prototype.findOrCreateNonTerminals=function(t){for(var e=[this.acroForm],r=0,o=t.length;r<o;r++){var n=t[r];if(!n)throw new d.wT(n);var i=e[0],a=e[1],s=this.findNonTerminal(n,i);if(s)e=s;else{var u=v.z5.create(this.doc.context);u.setPartialName(n),u.setParent(a);var c=this.doc.context.register(u.dict);i.addField(c),e=[u,c]}}return e},t.prototype.findNonTerminal=function(t,e){for(var r=e instanceof v.In?this.acroForm.getFields():(0,v.h$)(e.Kids()),o=0,n=r.length;o<n;o++){var i=r[o],a=i[0],s=i[1];if(a.getPartialName()===t){if(a instanceof v.z5)return[a,s];throw new d.BY(t)}}},t.of=function(e,r){return new t(e,r)},t}();var b=function(t,e,r){return t instanceof v.OR?i.A.of(t,e,r):t instanceof v.RL?a.A.of(t,e,r):t instanceof v.Bi?s.A.of(t,e,r):t instanceof v.ld?u.A.of(t,e,r):t instanceof v.BM?h.A.of(t,e,r):t instanceof v.b$?c.A.of(t,e,r):t instanceof v.oz?l.A.of(t,e,r):void 0},A=function(t){if(0===t.length)throw Error("PDF field names must not be empty strings");for(var e=t.split("."),r=0,o=e.length;r<o;r++)if(""===e[r])throw Error('Periods in PDF field names must be separated by at least one character: "'+t+'"');return 1===e.length?{nonTerminal:[],terminal:e[0]}:{nonTerminal:e.slice(0,e.length-1),terminal:e[e.length-1]}},C=function(t,e,r){for(var o=t[0],n=t[1],i=e[0],a=e[1],s=o.normalizedEntries(),u=(0,v.h$)("Kids"in s?s.Kids:s.Fields),c=0,l=u.length;c<l;c++)if(u[c][0].getPartialName()===r)throw new d.BY(r);o.addField(a),i.setParent(n)}},86337(t,e,r){var o=r(81205),n=r(72434),i=r(25064),a=r(45410),s=r(60853),u=r(65231),c=r(58184),l=r(67531),h=r(44910);e.A=function(t){function e(e,r,o){var n=t.call(this,e,r,o)||this;return(0,h.jo)(e,"acroListBox",[[l.ld,"PDFAcroListBox"]]),n.acroField=e,n}return(0,o.C6)(e,t),e.prototype.getOptions=function(){for(var t=this.acroField.getOptions(),e=Array(t.length),r=0,o=e.length;r<o;r++){var n=t[r],i=n.display,a=n.value;e[r]=(null!=i?i:a).decodeText()}return e},e.prototype.getSelected=function(){for(var t=this.acroField.getValues(),e=Array(t.length),r=0,o=t.length;r<o;r++)e[r]=t[r].decodeText();return e},e.prototype.setOptions=function(t){(0,h.jo)(t,"options",[Array]),this.markAsDirty();for(var e=Array(t.length),r=0,o=t.length;r<o;r++)e[r]={value:l.lv.fromText(t[r])};this.acroField.setOptions(e)},e.prototype.addOptions=function(t){(0,h.jo)(t,"options",["string",Array]),this.markAsDirty();for(var e=Array.isArray(t)?t:[t],r=this.acroField.getOptions(),o=Array(e.length),n=0,i=e.length;n<i;n++)o[n]={value:l.lv.fromText(e[n])};this.acroField.setOptions(r.concat(o))},e.prototype.select=function(t,e){void 0===e&&(e=!1),(0,h.jo)(t,"options",["string",Array]),(0,h.jo)(e,"merge",["boolean"]);var r=Array.isArray(t)?t:[t],o=this.getOptions();(0,h.hc)(r,"option",o),this.markAsDirty(),(r.length>1||1===r.length&&e)&&this.enableMultiselect();for(var n=Array(r.length),i=0,a=r.length;i<a;i++)n[i]=l.lv.fromText(r[i]);if(e){var s=this.acroField.getValues();this.acroField.setValues(s.concat(n))}else this.acroField.setValues(n)},e.prototype.clear=function(){this.markAsDirty(),this.acroField.setValues([])},e.prototype.setFontSize=function(t){(0,h.a_)(t,"fontSize"),this.acroField.setFontSize(t),this.markAsDirty()},e.prototype.isSorted=function(){return this.acroField.hasFlag(l.qM.Sort)},e.prototype.enableSorting=function(){this.acroField.setFlagTo(l.qM.Sort,!0)},e.prototype.disableSorting=function(){this.acroField.setFlagTo(l.qM.Sort,!1)},e.prototype.isMultiselect=function(){return this.acroField.hasFlag(l.qM.MultiSelect)},e.prototype.enableMultiselect=function(){this.acroField.setFlagTo(l.qM.MultiSelect,!0)},e.prototype.disableMultiselect=function(){this.acroField.setFlagTo(l.qM.MultiSelect,!1)},e.prototype.isSelectOnClick=function(){return this.acroField.hasFlag(l.qM.CommitOnSelChange)},e.prototype.enableSelectOnClick=function(){this.acroField.setFlagTo(l.qM.CommitOnSelChange,!0)},e.prototype.disableSelectOnClick=function(){this.acroField.setFlagTo(l.qM.CommitOnSelChange,!1)},e.prototype.addToPage=function(t,e){(0,h.jo)(t,"page",[[n.A,"PDFPage"]]),(0,a.B)(e),e||(e={}),"textColor"in e||(e.textColor=(0,u.Qh)(0,0,0)),"backgroundColor"in e||(e.backgroundColor=(0,u.Qh)(1,1,1)),"borderColor"in e||(e.borderColor=(0,u.Qh)(0,0,0)),"borderWidth"in e||(e.borderWidth=1);var r,o,i,s,l,d,f,p=this.createWidget({x:null!=(r=e.x)?r:0,y:null!=(o=e.y)?o:0,width:null!=(i=e.width)?i:200,height:null!=(s=e.height)?s:100,textColor:e.textColor,backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:null!=(l=e.borderWidth)?l:0,rotate:null!=(d=e.rotate)?d:(0,c.uj)(0),hidden:e.hidden,page:t.ref}),g=this.doc.context.register(p.dict);this.acroField.addWidget(g);var y=null!=(f=e.font)?f:this.doc.getForm().getDefaultFont();this.updateWidgetAppearance(p,y),t.node.addAnnot(g)},e.prototype.needsAppearancesUpdate=function(){if(this.isDirty())return!0;for(var t,e=this.acroField.getWidgets(),r=0,o=e.length;r<o;r++)if(!((null==(t=e[r].getAppearances())?void 0:t.normal)instanceof l.h0))return!0;return!1},e.prototype.defaultUpdateAppearances=function(t){(0,h.jo)(t,"font",[[i.A,"PDFFont"]]),this.updateAppearances(t)},e.prototype.updateAppearances=function(t,e){(0,h.jo)(t,"font",[[i.A,"PDFFont"]]),(0,h.wU)(e,"provider",[Function]);for(var r=this.acroField.getWidgets(),o=0,n=r.length;o<n;o++){var a=r[o];this.updateWidgetAppearance(a,t,e)}this.markAsClean()},e.prototype.updateWidgetAppearance=function(t,e,r){var o=null!=r?r:s.Wy,n=(0,s.QK)(o(this,t,e));this.updateWidgetAppearanceWithFont(t,e,n)},e.of=function(t,r,o){return new e(t,r,o)},e}(a.A)},45606(t,e,r){var o=r(81205),n=r(72434),i=r(45410),a=r(60853),s=r(65231),u=r(58184),c=r(67531),l=r(44910);e.A=function(t){function e(e,r,o){var n=t.call(this,e,r,o)||this;return(0,l.jo)(e,"acroRadioButton",[[c.b$,"PDFAcroRadioButton"]]),n.acroField=e,n}return(0,o.C6)(e,t),e.prototype.getOptions=function(){var t=this.acroField.getExportValues();if(t){for(var e=Array(t.length),r=0,o=t.length;r<o;r++)e[r]=t[r].decodeText();return e}for(var n=this.acroField.getOnValues(),i=Array(n.length),r=0,o=i.length;r<o;r++)i[r]=n[r].decodeText();return i},e.prototype.getSelected=function(){var t=this.acroField.getValue();if(t!==c.S5.of("Off")){var e=this.acroField.getExportValues();if(e){for(var r=this.acroField.getOnValues(),o=0,n=r.length;o<n;o++)if(r[o]===t)return e[o].decodeText()}return t.decodeText()}},e.prototype.select=function(t){(0,l.jo)(t,"option",["string"]);var e=this.getOptions();(0,l.Co)(t,"option",e),this.markAsDirty();var r=this.acroField.getOnValues(),o=this.acroField.getExportValues();if(o)for(var n=0,i=o.length;n<i;n++)o[n].decodeText()===t&&this.acroField.setValue(r[n]);else for(var n=0,i=r.length;n<i;n++){var a=r[n];a.decodeText()===t&&this.acroField.setValue(a)}},e.prototype.clear=function(){this.markAsDirty(),this.acroField.setValue(c.S5.of("Off"))},e.prototype.isOffToggleable=function(){return!this.acroField.hasFlag(c.Tz.NoToggleToOff)},e.prototype.enableOffToggling=function(){this.acroField.setFlagTo(c.Tz.NoToggleToOff,!1)},e.prototype.disableOffToggling=function(){this.acroField.setFlagTo(c.Tz.NoToggleToOff,!0)},e.prototype.isMutuallyExclusive=function(){return!this.acroField.hasFlag(c.Tz.RadiosInUnison)},e.prototype.enableMutualExclusion=function(){this.acroField.setFlagTo(c.Tz.RadiosInUnison,!1)},e.prototype.disableMutualExclusion=function(){this.acroField.setFlagTo(c.Tz.RadiosInUnison,!0)},e.prototype.addOptionToPage=function(t,e,r){(0,l.jo)(t,"option",["string"]),(0,l.jo)(e,"page",[[n.A,"PDFPage"]]),(0,i.B)(r);var o,a,h,d,f,p,g,y,v,m=this.createWidget({x:null!=(o=null==r?void 0:r.x)?o:0,y:null!=(a=null==r?void 0:r.y)?a:0,width:null!=(h=null==r?void 0:r.width)?h:50,height:null!=(d=null==r?void 0:r.height)?d:50,textColor:null!=(f=null==r?void 0:r.textColor)?f:(0,s.Qh)(0,0,0),backgroundColor:null!=(p=null==r?void 0:r.backgroundColor)?p:(0,s.Qh)(1,1,1),borderColor:null!=(g=null==r?void 0:r.borderColor)?g:(0,s.Qh)(0,0,0),borderWidth:null!=(y=null==r?void 0:r.borderWidth)?y:1,rotate:null!=(v=null==r?void 0:r.rotate)?v:(0,u.uj)(0),hidden:null==r?void 0:r.hidden,page:e.ref}),b=this.doc.context.register(m.dict),A=this.acroField.addWidgetWithOpt(b,c.lv.fromText(t),!this.isMutuallyExclusive());m.setAppearanceState(c.S5.of("Off")),this.updateWidgetAppearance(m,A),e.node.addAnnot(b)},e.prototype.needsAppearancesUpdate=function(){for(var t,e=this.acroField.getWidgets(),r=0,o=e.length;r<o;r++){var n=e[r],i=n.getAppearanceState(),a=null==(t=n.getAppearances())?void 0:t.normal;if(!(a instanceof c.Ri)||i&&!a.has(i))return!0}return!1},e.prototype.defaultUpdateAppearances=function(){this.updateAppearances()},e.prototype.updateAppearances=function(t){(0,l.wU)(t,"provider",[Function]);for(var e=this.acroField.getWidgets(),r=0,o=e.length;r<o;r++){var n=e[r],i=n.getOnValue();i&&this.updateWidgetAppearance(n,i,t)}},e.prototype.updateWidgetAppearance=function(t,e,r){var o=null!=r?r:a.vM,n=(0,a.QK)(o(this,t));this.updateOnOffWidgetAppearance(t,e,n)},e.of=function(t,r,o){return new e(t,r,o)},e}(i.A)},22120(t,e,r){var o=r(81205),n=r(45410),i=r(67531),a=r(44910);e.A=function(t){function e(e,r,o){var n=t.call(this,e,r,o)||this;return(0,a.jo)(e,"acroSignature",[[i.oz,"PDFAcroSignature"]]),n.acroField=e,n}return(0,o.C6)(e,t),e.prototype.needsAppearancesUpdate=function(){return!1},e.of=function(t,r,o){return new e(t,r,o)},e}(n.A)},63899(t,e,r){var o=r(81205),n=r(72434),i=r(25064),a=r(45410),s=r(60853),u=r(65231),c=r(58184),l=r(39560),h=r(76396),d=r(85530),f=r(67531),p=r(44910);e.A=function(t){function e(e,r,o){var n=t.call(this,e,r,o)||this;return(0,p.jo)(e,"acroText",[[f.BM,"PDFAcroText"]]),n.acroField=e,n}return(0,o.C6)(e,t),e.prototype.getText=function(){var t=this.acroField.getValue();if(!t&&this.isRichFormatted())throw new l.k0(this.getName());return null==t?void 0:t.decodeText()},e.prototype.setText=function(t){(0,p.wU)(t,"text",["string"]);var e=this.getMaxLength();if(void 0!==e&&t&&t.length>e)throw new l.KI(t.length,e,this.getName());this.markAsDirty(),this.disableRichFormatting(),t?this.acroField.setValue(f.lv.fromText(t)):this.acroField.removeValue()},e.prototype.getAlignment=function(){var t=this.acroField.getQuadding();return 0===t?d.D.Left:1===t?d.D.Center:2===t?d.D.Right:d.D.Left},e.prototype.setAlignment=function(t){(0,p.Co)(t,"alignment",d.D),this.markAsDirty(),this.acroField.setQuadding(t)},e.prototype.getMaxLength=function(){return this.acroField.getMaxLength()},e.prototype.setMaxLength=function(t){if((0,p.Dw)(t,"maxLength",0,Number.MAX_SAFE_INTEGER),this.markAsDirty(),void 0===t)this.acroField.removeMaxLength();else{var e=this.getText();if(e&&e.length>t)throw new l.eW(e.length,t,this.getName());this.acroField.setMaxLength(t)}},e.prototype.removeMaxLength=function(){this.markAsDirty(),this.acroField.removeMaxLength()},e.prototype.setImage=function(t){for(var e=this.getAlignment(),r=e===d.D.Center?h.n.Center:e===d.D.Right?h.n.Right:h.n.Left,o=this.acroField.getWidgets(),n=0,i=o.length;n<i;n++){var a=o[n],s=this.createImageAppearanceStream(a,t,r);this.updateWidgetAppearances(a,{normal:s})}this.markAsClean()},e.prototype.setFontSize=function(t){(0,p.a_)(t,"fontSize"),this.acroField.setFontSize(t),this.markAsDirty()},e.prototype.isMultiline=function(){return this.acroField.hasFlag(f.Il.Multiline)},e.prototype.enableMultiline=function(){this.markAsDirty(),this.acroField.setFlagTo(f.Il.Multiline,!0)},e.prototype.disableMultiline=function(){this.markAsDirty(),this.acroField.setFlagTo(f.Il.Multiline,!1)},e.prototype.isPassword=function(){return this.acroField.hasFlag(f.Il.Password)},e.prototype.enablePassword=function(){this.acroField.setFlagTo(f.Il.Password,!0)},e.prototype.disablePassword=function(){this.acroField.setFlagTo(f.Il.Password,!1)},e.prototype.isFileSelector=function(){return this.acroField.hasFlag(f.Il.FileSelect)},e.prototype.enableFileSelection=function(){this.acroField.setFlagTo(f.Il.FileSelect,!0)},e.prototype.disableFileSelection=function(){this.acroField.setFlagTo(f.Il.FileSelect,!1)},e.prototype.isSpellChecked=function(){return!this.acroField.hasFlag(f.Il.DoNotSpellCheck)},e.prototype.enableSpellChecking=function(){this.acroField.setFlagTo(f.Il.DoNotSpellCheck,!1)},e.prototype.disableSpellChecking=function(){this.acroField.setFlagTo(f.Il.DoNotSpellCheck,!0)},e.prototype.isScrollable=function(){return!this.acroField.hasFlag(f.Il.DoNotScroll)},e.prototype.enableScrolling=function(){this.acroField.setFlagTo(f.Il.DoNotScroll,!1)},e.prototype.disableScrolling=function(){this.acroField.setFlagTo(f.Il.DoNotScroll,!0)},e.prototype.isCombed=function(){return this.acroField.hasFlag(f.Il.Comb)&&!this.isMultiline()&&!this.isPassword()&&!this.isFileSelector()&&void 0!==this.getMaxLength()},e.prototype.enableCombing=function(){void 0===this.getMaxLength()&&console.warn("PDFTextFields must have a max length in order to be combed"),this.markAsDirty(),this.disableMultiline(),this.disablePassword(),this.disableFileSelection(),this.acroField.setFlagTo(f.Il.Comb,!0)},e.prototype.disableCombing=function(){this.markAsDirty(),this.acroField.setFlagTo(f.Il.Comb,!1)},e.prototype.isRichFormatted=function(){return this.acroField.hasFlag(f.Il.RichText)},e.prototype.enableRichFormatting=function(){this.acroField.setFlagTo(f.Il.RichText,!0)},e.prototype.disableRichFormatting=function(){this.acroField.setFlagTo(f.Il.RichText,!1)},e.prototype.addToPage=function(t,e){(0,p.jo)(t,"page",[[n.A,"PDFPage"]]),(0,a.B)(e),e||(e={}),"textColor"in e||(e.textColor=(0,u.Qh)(0,0,0)),"backgroundColor"in e||(e.backgroundColor=(0,u.Qh)(1,1,1)),"borderColor"in e||(e.borderColor=(0,u.Qh)(0,0,0)),"borderWidth"in e||(e.borderWidth=1);var r,o,i,s,l,h,d,f=this.createWidget({x:null!=(r=e.x)?r:0,y:null!=(o=e.y)?o:0,width:null!=(i=e.width)?i:200,height:null!=(s=e.height)?s:50,textColor:e.textColor,backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:null!=(l=e.borderWidth)?l:0,rotate:null!=(h=e.rotate)?h:(0,c.uj)(0),hidden:e.hidden,page:t.ref}),g=this.doc.context.register(f.dict);this.acroField.addWidget(g);var y=null!=(d=e.font)?d:this.doc.getForm().getDefaultFont();this.updateWidgetAppearance(f,y),t.node.addAnnot(g)},e.prototype.needsAppearancesUpdate=function(){if(this.isDirty())return!0;for(var t,e=this.acroField.getWidgets(),r=0,o=e.length;r<o;r++)if(!((null==(t=e[r].getAppearances())?void 0:t.normal)instanceof f.h0))return!0;return!1},e.prototype.defaultUpdateAppearances=function(t){(0,p.jo)(t,"font",[[i.A,"PDFFont"]]),this.updateAppearances(t)},e.prototype.updateAppearances=function(t,e){(0,p.jo)(t,"font",[[i.A,"PDFFont"]]),(0,p.wU)(e,"provider",[Function]);for(var r=this.acroField.getWidgets(),o=0,n=r.length;o<n;o++){var a=r[o];this.updateWidgetAppearance(a,t,e)}this.markAsClean()},e.prototype.updateWidgetAppearance=function(t,e,r){var o=null!=r?r:s.S0,n=(0,s.QK)(o(this,t,e));this.updateWidgetAppearanceWithFont(t,e,n)},e.of=function(t,r,o){return new e(t,r,o)},e}(a.A)},60853(t,e,r){var o=r(81205),n=r(57333),i=r(65231),a=r(58184),s=r(23205),u=r(85530),c=r(45198),l=r(44910),h=function(t){return"normal"in t?t:{normal:t}},d=/\/([^\0\t\n\f\r\ ]+)[\0\t\n\f\r\ ]+(\d*\.\d+|\d+)[\0\t\n\f\r\ ]+Tf/,f=function(t){var e,r,o=null!=(e=t.getDefaultAppearance())?e:"",n=Number((null!=(r=(0,l.dJ)(o,d).match)?r:[])[2]);return isFinite(n)?n:void 0},p=/(\d*\.\d+|\d+)[\0\t\n\f\r\ ]*(\d*\.\d+|\d+)?[\0\t\n\f\r\ ]*(\d*\.\d+|\d+)?[\0\t\n\f\r\ ]*(\d*\.\d+|\d+)?[\0\t\n\f\r\ ]+(g|rg|k)/,g=function(t){var e,r=null!=(e=t.getDefaultAppearance())?e:"",o=(0,l.dJ)(r,p).match,n=null!=o?o:[],a=n[1],s=n[2],u=n[3],c=n[4],h=n[5];return"g"===h&&a?(0,i.CM)(Number(a)):"rg"===h&&a&&s&&u?(0,i.Qh)(Number(a),Number(s),Number(u)):"k"===h&&a&&s&&u&&c?(0,i.T7)(Number(a),Number(s),Number(u),Number(c)):void 0},y=function(t,e,r,o){void 0===o&&(o=0);var n,a=[(0,i.zN)(e).toString(),(0,c.M8)(null!=(n=null==r?void 0:r.name)?n:"dummy__noop",o).toString()].join("\n");t.setDefaultAppearance(a)},v=function(t,e){var r,s,u,c=g(e),l=g(t.acroField),h=e.getRectangle(),d=e.getAppearanceCharacteristics(),f=e.getBorderStyle(),p=null!=(r=null==f?void 0:f.getWidth())?r:0,v=(0,a.du)(null==d?void 0:d.getRotation()),m=(0,a.S3)(h,v),b=m.width,A=m.height,C=(0,n.Il)((0,o.Cl)((0,o.Cl)({},h),{rotation:v})),F=(0,i.Qh)(0,0,0),S=null!=(s=(0,i.fS)(null==d?void 0:d.getBorderColor()))?s:F,w=(0,i.fS)(null==d?void 0:d.getBackgroundColor()),x=(0,i.fS)(null==d?void 0:d.getBackgroundColor(),.8),D=null!=(u=null!=c?c:l)?u:F;c?y(e,D):y(t.acroField,D);var P={x:0+p/2,y:0+p/2,width:b-p,height:A-p,thickness:1.5,borderWidth:p,borderColor:S,markColor:D};return{normal:{on:(0,o.aN)(C,(0,n.oS)((0,o.Cl)((0,o.Cl)({},P),{color:w,filled:!0}))),off:(0,o.aN)(C,(0,n.oS)((0,o.Cl)((0,o.Cl)({},P),{color:w,filled:!1})))},down:{on:(0,o.aN)(C,(0,n.oS)((0,o.Cl)((0,o.Cl)({},P),{color:x,filled:!0}))),off:(0,o.aN)(C,(0,n.oS)((0,o.Cl)((0,o.Cl)({},P),{color:x,filled:!1})))}}},m=function(t,e){var r,s,u,c=g(e),l=g(t.acroField),h=e.getRectangle(),d=e.getAppearanceCharacteristics(),f=e.getBorderStyle(),p=null!=(r=null==f?void 0:f.getWidth())?r:0,v=(0,a.du)(null==d?void 0:d.getRotation()),m=(0,a.S3)(h,v),b=m.width,A=m.height,C=(0,n.Il)((0,o.Cl)((0,o.Cl)({},h),{rotation:v})),F=(0,i.Qh)(0,0,0),S=null!=(s=(0,i.fS)(null==d?void 0:d.getBorderColor()))?s:F,w=(0,i.fS)(null==d?void 0:d.getBackgroundColor()),x=(0,i.fS)(null==d?void 0:d.getBackgroundColor(),.8),D=null!=(u=null!=c?c:l)?u:F;c?y(e,D):y(t.acroField,D);var P={x:b/2,y:A/2,width:b-p,height:A-p,borderWidth:p,borderColor:S,dotColor:D};return{normal:{on:(0,o.aN)(C,(0,n.Ew)((0,o.Cl)((0,o.Cl)({},P),{color:w,filled:!0}))),off:(0,o.aN)(C,(0,n.Ew)((0,o.Cl)((0,o.Cl)({},P),{color:w,filled:!1})))},down:{on:(0,o.aN)(C,(0,n.Ew)((0,o.Cl)((0,o.Cl)({},P),{color:x,filled:!0}))),off:(0,o.aN)(C,(0,n.Ew)((0,o.Cl)((0,o.Cl)({},P),{color:x,filled:!1})))}}},b=function(t,e,r){var c,l,h,d,p,v=g(e),m=g(t.acroField),b=f(e),A=f(t.acroField),C=e.getRectangle(),F=e.getAppearanceCharacteristics(),S=e.getBorderStyle(),w=null==F?void 0:F.getCaptions(),x=null!=(c=null==w?void 0:w.normal)?c:"",D=null!=(h=null!=(l=null==w?void 0:w.down)?l:x)?h:"",P=null!=(d=null==S?void 0:S.getWidth())?d:0,T=(0,a.du)(null==F?void 0:F.getRotation()),k=(0,a.S3)(C,T),B=k.width,j=k.height,O=(0,n.Il)((0,o.Cl)((0,o.Cl)({},C),{rotation:T})),N=(0,i.Qh)(0,0,0),E=(0,i.fS)(null==F?void 0:F.getBorderColor()),R=(0,i.fS)(null==F?void 0:F.getBackgroundColor()),I=(0,i.fS)(null==F?void 0:F.getBackgroundColor(),.8),M={x:P,y:P,width:B-2*P,height:j-2*P},W=(0,s.sK)(x,{alignment:u.D.Center,fontSize:null!=b?b:A,font:r,bounds:M}),z=(0,s.sK)(D,{alignment:u.D.Center,fontSize:null!=b?b:A,font:r,bounds:M}),U=Math.min(W.fontSize,z.fontSize),L=null!=(p=null!=v?v:m)?p:N;v||void 0!==b?y(e,L,r,U):y(t.acroField,L,r,U);var V={x:0+P/2,y:0+P/2,width:B-P,height:j-P,borderWidth:P,borderColor:E,textColor:L,font:r.name,fontSize:U};return{normal:(0,o.aN)(O,(0,n.XW)((0,o.Cl)((0,o.Cl)({},V),{color:R,textLines:[W.line]}))),down:(0,o.aN)(O,(0,n.XW)((0,o.Cl)((0,o.Cl)({},V),{color:I,textLines:[z.line]})))}},A=function(t,e,r){var u,c,l,h,d,p,v=g(e),m=g(t.acroField),b=f(e),A=f(t.acroField),C=e.getRectangle(),F=e.getAppearanceCharacteristics(),S=e.getBorderStyle(),w=null!=(u=t.getText())?u:"",x=null!=(c=null==S?void 0:S.getWidth())?c:0,D=(0,a.du)(null==F?void 0:F.getRotation()),P=(0,a.S3)(C,D),T=P.width,k=P.height,B=(0,n.Il)((0,o.Cl)((0,o.Cl)({},C),{rotation:D})),j=(0,i.Qh)(0,0,0),O=(0,i.fS)(null==F?void 0:F.getBorderColor()),N=(0,i.fS)(null==F?void 0:F.getBackgroundColor()),E=+!t.isCombed(),R={x:x+E,y:x+E,width:T-(x+E)*2,height:k-(x+E)*2};if(t.isMultiline()){var I=(0,s.Tf)(w,{alignment:t.getAlignment(),fontSize:null!=b?b:A,font:r,bounds:R});d=I.lines,p=I.fontSize}else if(t.isCombed()){var I=(0,s.k7)(w,{fontSize:null!=b?b:A,font:r,bounds:R,cellCount:null!=(l=t.getMaxLength())?l:0});d=I.cells,p=I.fontSize}else{var I=(0,s.sK)(w,{alignment:t.getAlignment(),fontSize:null!=b?b:A,font:r,bounds:R});d=[I.line],p=I.fontSize}var M=null!=(h=null!=v?v:m)?h:j;v||void 0!==b?y(e,M,r,p):y(t.acroField,M,r,p);var W={x:0+x/2,y:0+x/2,width:T-x,height:k-x,borderWidth:null!=x?x:0,borderColor:O,textColor:M,font:r.name,fontSize:p,color:N,textLines:d,padding:E};return(0,o.aN)(B,(0,n.iW)(W))},C=function(t,e,r){var c,l,h,d=g(e),p=g(t.acroField),v=f(e),m=f(t.acroField),b=e.getRectangle(),A=e.getAppearanceCharacteristics(),C=e.getBorderStyle(),F=null!=(c=t.getSelected()[0])?c:"",S=null!=(l=null==C?void 0:C.getWidth())?l:0,w=(0,a.du)(null==A?void 0:A.getRotation()),x=(0,a.S3)(b,w),D=x.width,P=x.height,T=(0,n.Il)((0,o.Cl)((0,o.Cl)({},b),{rotation:w})),k=(0,i.Qh)(0,0,0),B=(0,i.fS)(null==A?void 0:A.getBorderColor()),j=(0,i.fS)(null==A?void 0:A.getBackgroundColor()),O=(0,s.sK)(F,{alignment:u.D.Left,fontSize:null!=v?v:m,font:r,bounds:{x:S+1,y:S+1,width:D-(S+1)*2,height:P-(S+1)*2}}),N=O.line,E=O.fontSize,R=null!=(h=null!=d?d:p)?h:k;d||void 0!==v?y(e,R,r,E):y(t.acroField,R,r,E);var I={x:0+S/2,y:0+S/2,width:D-S,height:P-S,borderWidth:null!=S?S:0,borderColor:B,textColor:R,font:r.name,fontSize:E,color:j,textLines:[N],padding:1};return(0,o.aN)(T,(0,n.iW)(I))},F=function(t,e,r){var c,l,h=g(e),d=g(t.acroField),p=f(e),v=f(t.acroField),m=e.getRectangle(),b=e.getAppearanceCharacteristics(),A=e.getBorderStyle(),C=null!=(c=null==A?void 0:A.getWidth())?c:0,F=(0,a.du)(null==b?void 0:b.getRotation()),S=(0,a.S3)(m,F),w=S.width,x=S.height,D=(0,n.Il)((0,o.Cl)((0,o.Cl)({},m),{rotation:F})),P=(0,i.Qh)(0,0,0),T=(0,i.fS)(null==b?void 0:b.getBorderColor()),k=(0,i.fS)(null==b?void 0:b.getBackgroundColor()),B=t.getOptions(),j=t.getSelected();t.isSorted()&&B.sort();for(var O="",N=0,E=B.length;N<E;N++)O+=B[N],N<E-1&&(O+="\n");for(var R=(0,s.Tf)(O,{alignment:u.D.Left,fontSize:null!=p?p:v,font:r,bounds:{x:C+1,y:C+1,width:w-(C+1)*2,height:x-(C+1)*2}}),I=R.lines,M=R.fontSize,W=R.lineHeight,z=[],N=0,E=I.length;N<E;N++){var U=I[N];j.includes(U.text)&&z.push(N)}var L=(0,i.Qh)(.6,193/255,218/255),V=null!=(l=null!=h?h:d)?l:P;return h||void 0!==p?y(e,V,r,M):y(t.acroField,V,r,M),(0,o.aN)(D,(0,n.Aw)({x:0+C/2,y:0+C/2,width:w-C,height:x-C,borderWidth:null!=C?C:0,borderColor:T,textColor:V,font:r.name,fontSize:M,color:k,textLines:I,lineHeight:W,selectedColor:L,selectedLines:z,padding:1}))};r.d(e,{QK:()=>h,S0:()=>A,Wy:()=>F,kb:()=>v,p6:()=>b,q2:()=>C,vM:()=>m})},76396(t,e,r){var o,n;(n=o||(o={}))[n.Left=0]="Left",n[n.Center=1]="Center",n[n.Right=2]="Right",r.d(e,{n:()=>o})},63033(t,e,r){var o=r(76396);r.d(e,{n:()=>o.n})},80285(t,e,r){r.d(e,{Nx:()=>S.N,vb:()=>g.vb,A:()=>y.A,ZT:()=>y.ZT,KI:()=>y.KI,BY:()=>y.BY,oX:()=>y.oX,xC:()=>y.xC,iB:()=>y.iB,nW:()=>v.n,wT:()=>y.wT,eW:()=>y.eW,uT:()=>A.uT,wd:()=>A.wd,pI:()=>y.pI,vs:()=>y.vs,dG:()=>n.A,Md:()=>i.A,UL:()=>D.A,OG:()=>a.A,qk:()=>B.A,PA:()=>s.A,Kc:()=>P.A,tB:()=>u.A,SZ:()=>T.A,W1:()=>j.A,I7:()=>c.A,GZ:()=>k.A,rU:()=>l.A,tg:()=>h.A,S7:()=>d.A,q2:()=>F.q,Ap:()=>w.A,OY:()=>y.OY,k0:()=>y.k0,WU:()=>C.WU,qX:()=>x.q,DY:()=>f.D,hu:()=>A.hu,or:()=>y.or,S3:()=>C.S3,v$:()=>A.v$,a_:()=>A.a_,i:()=>m.i,yd:()=>m.yd,q0:()=>m.q0,rk:()=>A.rk,VS:()=>A.VS,$Q:()=>A.$Q,U7:()=>A.U7,OE:()=>A.OE,T7:()=>g.T7,b5:()=>g.b5,fS:()=>g.fS,Dr:()=>A.Dr,p6:()=>o.p6,kb:()=>o.kb,ZE:()=>o.q2,Wy:()=>o.Wy,vM:()=>o.vM,S0:()=>o.S0,uj:()=>C.uj,tR:()=>C.tR,XW:()=>b.XW,oS:()=>b.oS,e6:()=>b.e6,n:()=>b.n,vj:()=>b.OG,aC:()=>b.aC,V6:()=>b.V6,EF:()=>b.EF,aS:()=>A.aS,Aw:()=>b.Aw,wl:()=>b.wl,Ew:()=>b.Ew,CQ:()=>b.CQ,dS:()=>b.wd,m:()=>b.m,iW:()=>b.iW,Fv:()=>b.Fv,Tw:()=>A.Tw,R:()=>A.R,Z4:()=>A.Z4,GS:()=>A.GS,HF:()=>A.HF,CM:()=>g.CM,k7:()=>p.k7,Tf:()=>p.Tf,sK:()=>p.sK,a5:()=>A.a5,nQ:()=>A.nQ,tw:()=>A.tw,sE:()=>A.sE,QK:()=>o.QK,eH:()=>A.eH,Tl:()=>A.Tl,F2:()=>C.F2,nv:()=>C.nv,YC:()=>A.YC,du:()=>C.du,JA:()=>A.JA,Qh:()=>g.Qh,mJ:()=>A.mJ,BK:()=>A.BK,t5:()=>A.t5,Il:()=>b.Il,y4:()=>A.y4,P8:()=>C.P8,hs:()=>A.hs,rI:()=>A.rI,Yc:()=>A.Yc,Vv:()=>A.Vv,J2:()=>A.J2,zN:()=>g.zN,Cq:()=>A.Cq,_u:()=>A._u,M8:()=>A.M8,XG:()=>A.XG,Jl:()=>A.Jl,Kz:()=>A.Kz,BI:()=>A.BI,Hm:()=>A.Hm,FP:()=>A.FP,ZP:()=>g.ZP,U4:()=>A.U4,Ie:()=>A.Ie,$J:()=>A.$J,LW:()=>A.LW,jt:()=>A.jt,Sm:()=>A.Sm,h$:()=>A.h$,mk:()=>A.mk,db:()=>A.db,l$:()=>A.Ew,TB:()=>A.TB,xW:()=>C.xW,eh:()=>C.eh,kJ:()=>A.kJ});var o=r(60853),n=r(66516),i=r(57014),a=r(11641),s=r(45410),u=r(55774),c=r(86337),l=r(45606),h=r(22120),d=r(63899),f=r(85530),p=r(23205),g=r(65231),y=r(39560),v=r(63033),m=r(6031),b=r(57333),A=r(45198),C=r(58184),F=r(57037),S=r(97490),w=r(97728),x=r(37934),D=r(42810),P=r(25064),T=r(13684),k=r(72434),B=r(78448),j=r(97202)},6031(t,e,r){var o=r(67531),n=function(t){return t instanceof o.S5?t:o.S5.of(t)},i=function(t){return t instanceof o.iu?t:o.iu.of(t)},a=function(t){return t instanceof o.iu?t.asNumber():t};r.d(e,{i:()=>a,q0:()=>i,yd:()=>n})},57333(t,e,r){r.d(e,{XW:()=>I,oS:()=>E,e6:()=>O,n:()=>B,OG:()=>T,aC:()=>S,V6:()=>x,EF:()=>F,Aw:()=>z,wl:()=>w,Ew:()=>R,CQ:()=>D,wd:()=>j,m:()=>C,iW:()=>W,Fv:()=>M,Il:()=>N});var o=r(81205),n=r(65231),i=r(45198),a=r(58184),s=0,u=0,c=0,l=0,h=0,d=0,f=new Map([["A",7],["a",7],["C",6],["c",6],["H",1],["h",1],["L",2],["l",2],["M",2],["m",2],["Q",4],["q",4],["S",4],["s",4],["T",2],["t",2],["V",1],["v",1],["Z",0],["z",0]]),p=function(t){for(var e,r=[],o=[],n="",i=!1,a=0,s=0;s<t.length;s++){var u=t[s];if(f.has(u))a=f.get(u),e&&(n.length>0&&(o[o.length]=+n),r[r.length]={cmd:e,args:o},o=[],n="",i=!1),e=u;else if([" ",","].includes(u)||"-"===u&&n.length>0&&"e"!==n[n.length-1]||"."===u&&i){if(0===n.length)continue;o.length===a?(r[r.length]={cmd:e,args:o},o=[+n],"M"===e&&(e="L"),"m"===e&&(e="l")):o[o.length]=+n,i="."===u,n=["-","."].includes(u)?u:""}else n+=u,"."===u&&(i=!0)}return n.length>0&&(o.length===a?(r[r.length]={cmd:e,args:o},o=[+n],"M"===e&&(e="L"),"m"===e&&(e="l")):o[o.length]=+n),r[r.length]={cmd:e,args:o},r},g=function(t){s=u=c=l=h=d=0;for(var e=[],r=0;r<t.length;r++){var o=t[r];if(o.cmd&&"function"==typeof y[o.cmd]){var n=y[o.cmd](o.args);Array.isArray(n)?e=e.concat(n):e.push(n)}}return e},y={M:function(t){return s=t[0],u=t[1],c=l=null,h=s,d=u,(0,i.tw)(s,u)},m:function(t){return s+=t[0],u+=t[1],c=l=null,h=s,d=u,(0,i.tw)(s,u)},C:function(t){return s=t[4],u=t[5],c=t[2],l=t[3],(0,i.v$)(t[0],t[1],t[2],t[3],t[4],t[5])},c:function(t){var e=(0,i.v$)(t[0]+s,t[1]+u,t[2]+s,t[3]+u,t[4]+s,t[5]+u);return c=s+t[2],l=u+t[3],s+=t[4],u+=t[5],e},S:function(t){(null===c||null===l)&&(c=s,l=u);var e=(0,i.v$)(s-(c-s),u-(l-u),t[0],t[1],t[2],t[3]);return c=t[0],l=t[1],s=t[2],u=t[3],e},s:function(t){(null===c||null===l)&&(c=s,l=u);var e=(0,i.v$)(s-(c-s),u-(l-u),s+t[0],u+t[1],s+t[2],u+t[3]);return c=s+t[0],l=u+t[1],s+=t[2],u+=t[3],e},Q:function(t){return c=t[0],l=t[1],s=t[2],u=t[3],(0,i.a_)(t[0],t[1],s,u)},q:function(t){var e=(0,i.a_)(t[0]+s,t[1]+u,t[2]+s,t[3]+u);return c=s+t[0],l=u+t[1],s+=t[2],u+=t[3],e},T:function(t){null===c||null===l?(c=s,l=u):(c=s-(c-s),l=u-(l-u));var e=(0,i.a_)(c,l,t[0],t[1]);return c=s-(c-s),l=u-(l-u),s=t[0],u=t[1],e},t:function(t){null===c||null===l?(c=s,l=u):(c=s-(c-s),l=u-(l-u));var e=(0,i.a_)(c,l,s+t[0],u+t[1]);return s+=t[0],u+=t[1],e},A:function(t){var e=v(s,u,t);return s=t[5],u=t[6],e},a:function(t){t[5]+=s,t[6]+=u;var e=v(s,u,t);return s=t[5],u=t[6],e},L:function(t){return s=t[0],u=t[1],c=l=null,(0,i.a5)(s,u)},l:function(t){return s+=t[0],u+=t[1],c=l=null,(0,i.a5)(s,u)},H:function(t){return s=t[0],c=l=null,(0,i.a5)(s,u)},h:function(t){return s+=t[0],c=l=null,(0,i.a5)(s,u)},V:function(t){return u=t[0],c=l=null,(0,i.a5)(s,u)},v:function(t){return u+=t[0],c=l=null,(0,i.a5)(s,u)},Z:function(){var t=(0,i.OE)();return s=h,u=d,t},z:function(){var t=(0,i.OE)();return s=h,u=d,t}},v=function(t,e,r){for(var o=r[0],n=r[1],a=r[2],s=r[3],u=r[4],c=m(r[5],r[6],o,n,s,u,a,t,e),l=[],h=0;h<c.length;h++){var d=b.apply(void 0,c[h]);l.push(i.v$.apply(void 0,d))}return l},m=function(t,e,r,o,n,i,a,s,u){var h=Math.PI/180*a,d=Math.sin(h),f=Math.cos(h);r=Math.abs(r),o=Math.abs(o);var p=(c=f*(s-t)*.5+d*(u-e)*.5)*c/(r*r)+(l=f*(u-e)*.5-d*(s-t)*.5)*l/(o*o);p>1&&(r*=p=Math.sqrt(p),o*=p);var g=f/r,y=d/r,v=-d/o,m=f/o,b=g*s+y*u,A=v*s+m*u,C=g*t+y*e,F=v*t+m*e,S=1/((C-b)*(C-b)+(F-A)*(F-A))-.25;S<0&&(S=0);var w=Math.sqrt(S);i===n&&(w=-w);var x=.5*(b+C)-w*(F-A),D=.5*(A+F)+w*(C-b),P=Math.atan2(A-D,b-x),T=Math.atan2(F-D,C-x)-P;T<0&&1===i?T+=2*Math.PI:T>0&&0===i&&(T-=2*Math.PI);for(var k=Math.ceil(Math.abs(T/(.5*Math.PI+.001))),B=[],j=0;j<k;j++){var O=P+j*T/k,N=P+(j+1)*T/k;B[j]=[x,D,O,N,r,o,d,f]}return B},b=function(t,e,r,o,n,i,a,s){var u=s*n,c=-a*i,l=a*n,h=s*i,d=.5*(o-r),f=8/3*Math.sin(.5*d)*Math.sin(.5*d)/Math.sin(d),p=t+Math.cos(r)-f*Math.sin(r),g=e+Math.sin(r)+f*Math.cos(r),y=t+Math.cos(o),v=e+Math.sin(o),m=y+f*Math.sin(o),b=v-f*Math.cos(o);return[u*p+c*g,l*p+h*g,u*m+c*b,l*m+h*b,u*y+c*v,l*y+h*v]},A=r(6031),C=function(t,e){return[(0,i.Tl)(),e.graphicsState&&(0,i.XG)(e.graphicsState),(0,i.VS)(),(0,n.zN)(e.color),(0,i.M8)(e.font,e.size),(0,i.BK)((0,a.eh)(e.rotate),(0,a.eh)(e.xSkew),(0,a.eh)(e.ySkew),e.x,e.y),(0,i.h$)(t),(0,i.Z4)(),(0,i.eH)()].filter(Boolean)},F=function(t,e){for(var r=[(0,i.Tl)(),e.graphicsState&&(0,i.XG)(e.graphicsState),(0,i.VS)(),(0,n.zN)(e.color),(0,i.M8)(e.font,e.size),(0,i.Kz)(e.lineHeight),(0,i.BK)((0,a.eh)(e.rotate),(0,a.eh)(e.xSkew),(0,a.eh)(e.ySkew),e.x,e.y)].filter(Boolean),o=0,s=t.length;o<s;o++)r.push((0,i.h$)(t[o]),(0,i.sE)());return r.push((0,i.Z4)(),(0,i.eH)()),r},S=function(t,e){return[(0,i.Tl)(),e.graphicsState&&(0,i.XG)(e.graphicsState),(0,i.kJ)(e.x,e.y),(0,i.y4)((0,a.eh)(e.rotate)),(0,i.hs)(e.width,e.height),(0,i.db)((0,a.eh)(e.xSkew),(0,a.eh)(e.ySkew)),(0,i.aS)(t),(0,i.eH)()].filter(Boolean)},w=function(t,e){return[(0,i.Tl)(),e.graphicsState&&(0,i.XG)(e.graphicsState),(0,i.kJ)(e.x,e.y),(0,i.y4)((0,a.eh)(e.rotate)),(0,i.hs)(e.xScale,e.yScale),(0,i.db)((0,a.eh)(e.xSkew),(0,a.eh)(e.ySkew)),(0,i.aS)(t),(0,i.eH)()].filter(Boolean)},x=function(t){var e,r;return[(0,i.Tl)(),t.graphicsState&&(0,i.XG)(t.graphicsState),t.color&&(0,n.ZP)(t.color),(0,i.Hm)(t.thickness),(0,i.Vv)(null!=(e=t.dashArray)?e:[],null!=(r=t.dashPhase)?r:0),(0,i.tw)(t.start.x,t.start.y),t.lineCap&&(0,i.Jl)(t.lineCap),(0,i.tw)(t.start.x,t.start.y),(0,i.a5)(t.end.x,t.end.y),(0,i.TB)(),(0,i.eH)()].filter(Boolean)},D=function(t){var e,r;return[(0,i.Tl)(),t.graphicsState&&(0,i.XG)(t.graphicsState),t.color&&(0,n.zN)(t.color),t.borderColor&&(0,n.ZP)(t.borderColor),(0,i.Hm)(t.borderWidth),t.borderLineCap&&(0,i.Jl)(t.borderLineCap),(0,i.Vv)(null!=(e=t.borderDashArray)?e:[],null!=(r=t.borderDashPhase)?r:0),(0,i.kJ)(t.x,t.y),(0,i.y4)((0,a.eh)(t.rotate)),(0,i.db)((0,a.eh)(t.xSkew),(0,a.eh)(t.ySkew)),(0,i.tw)(0,0),(0,i.a5)(0,t.height),(0,i.a5)(t.width,t.height),(0,i.a5)(t.width,0),(0,i.OE)(),t.color&&t.borderWidth?(0,i.HF)():t.color?(0,i.GS)():t.borderColor?(0,i.TB)():(0,i.OE)(),(0,i.eH)()].filter(Boolean)},P=(Math.sqrt(2)-1)/3*4,T=function(t){var e=(0,A.i)(t.x),r=(0,A.i)(t.y),o=(0,A.i)(t.xScale),n=(0,A.i)(t.yScale);e-=o,r-=n;var a=o*P,s=n*P,u=e+2*o,c=r+2*n,l=e+o,h=r+n;return[(0,i.Tl)(),(0,i.tw)(e,h),(0,i.v$)(e,h-s,l-a,r,l,r),(0,i.v$)(l+a,r,u,h-s,u,h),(0,i.v$)(u,h+s,l+a,c,l,c),(0,i.v$)(l-a,c,e,h+s,e,h),(0,i.eH)()]},k=function(t){var e=(0,A.i)(t.x),r=(0,A.i)(t.y),o=(0,A.i)(t.xScale),n=(0,A.i)(t.yScale),s=-o,u=-n,c=o*P,l=n*P,h=s+2*o,d=u+2*n,f=s+o,p=u+n;return[(0,i.kJ)(e,r),(0,i.y4)((0,a.eh)(t.rotate)),(0,i.tw)(s,p),(0,i.v$)(s,p-l,f-c,u,f,u),(0,i.v$)(f+c,u,h,p-l,h,p),(0,i.v$)(h,p+l,f+c,d,f,d),(0,i.v$)(f-c,d,s,p+l,s,p)]},B=function(t){var e,r,s;return(0,o.aN)([(0,i.Tl)(),t.graphicsState&&(0,i.XG)(t.graphicsState),t.color&&(0,n.zN)(t.color),t.borderColor&&(0,n.ZP)(t.borderColor),(0,i.Hm)(t.borderWidth),t.borderLineCap&&(0,i.Jl)(t.borderLineCap),(0,i.Vv)(null!=(e=t.borderDashArray)?e:[],null!=(r=t.borderDashPhase)?r:0)],void 0===t.rotate?T({x:t.x,y:t.y,xScale:t.xScale,yScale:t.yScale}):k({x:t.x,y:t.y,xScale:t.xScale,yScale:t.yScale,rotate:null!=(s=t.rotate)?s:(0,a.uj)(0)}),[t.color&&t.borderWidth?(0,i.HF)():t.color?(0,i.GS)():t.borderColor?(0,i.TB)():(0,i.OE)(),(0,i.eH)()]).filter(Boolean)},j=function(t,e){var r,s,u;return(0,o.aN)([(0,i.Tl)(),e.graphicsState&&(0,i.XG)(e.graphicsState),(0,i.kJ)(e.x,e.y),(0,i.y4)((0,a.eh)(null!=(r=e.rotate)?r:(0,a.uj)(0))),e.scale?(0,i.hs)(e.scale,-e.scale):(0,i.hs)(1,-1),e.color&&(0,n.zN)(e.color),e.borderColor&&(0,n.ZP)(e.borderColor),e.borderWidth&&(0,i.Hm)(e.borderWidth),e.borderLineCap&&(0,i.Jl)(e.borderLineCap),(0,i.Vv)(null!=(s=e.borderDashArray)?s:[],null!=(u=e.borderDashPhase)?u:0)],g(p(t)),[e.color&&e.borderWidth?(0,i.HF)():e.color?(0,i.GS)():e.borderColor?(0,i.TB)():(0,i.OE)(),(0,i.eH)()]).filter(Boolean)},O=function(t){var e=(0,A.i)(t.size);return[(0,i.Tl)(),t.color&&(0,n.ZP)(t.color),(0,i.Hm)(t.thickness),(0,i.kJ)(t.x,t.y),(0,i.tw)(-.675*e,(-((-.675- -.25)*.94)/.965+-.49)*e),(0,i.a5)(-.25*e,-.49*e),(0,i.a5)(.69*e,.475*e),(0,i.TB)(),(0,i.eH)()].filter(Boolean)},N=function(t){return 0===t.rotation?[(0,i.kJ)(0,0),(0,i.t5)(0)]:90===t.rotation?[(0,i.kJ)(t.width,0),(0,i.t5)(90)]:180===t.rotation?[(0,i.kJ)(t.width,t.height),(0,i.t5)(180)]:270===t.rotation?[(0,i.kJ)(0,t.height),(0,i.t5)(270)]:[]},E=function(t){var e=D({x:t.x,y:t.y,width:t.width,height:t.height,borderWidth:t.borderWidth,color:t.color,borderColor:t.borderColor,rotate:(0,a.uj)(0),xSkew:(0,a.uj)(0),ySkew:(0,a.uj)(0)});if(!t.filled)return e;var r=(0,A.i)(t.width),n=(0,A.i)(t.height),s=Math.min(r,n)/2,u=O({x:r/2,y:n/2,size:s,thickness:t.thickness,color:t.markColor});return(0,o.aN)([(0,i.Tl)()],e,u,[(0,i.eH)()])},R=function(t){var e=Math.min((0,A.i)(t.width),(0,A.i)(t.height))/2,r=B({x:t.x,y:t.y,xScale:e,yScale:e,color:t.color,borderColor:t.borderColor,borderWidth:t.borderWidth});if(!t.filled)return r;var n=B({x:t.x,y:t.y,xScale:.45*e,yScale:.45*e,color:t.dotColor,borderColor:void 0,borderWidth:0});return(0,o.aN)([(0,i.Tl)()],r,n,[(0,i.eH)()])},I=function(t){var e=D({x:(0,A.i)(t.x),y:(0,A.i)(t.y),width:(0,A.i)(t.width),height:(0,A.i)(t.height),borderWidth:t.borderWidth,color:t.color,borderColor:t.borderColor,rotate:(0,a.uj)(0),xSkew:(0,a.uj)(0),ySkew:(0,a.uj)(0)}),r=M(t.textLines,{color:t.textColor,font:t.font,size:t.fontSize,rotate:(0,a.uj)(0),xSkew:(0,a.uj)(0),ySkew:(0,a.uj)(0)});return(0,o.aN)([(0,i.Tl)()],e,r,[(0,i.eH)()])},M=function(t,e){for(var r=[(0,i.VS)(),(0,n.zN)(e.color),(0,i.M8)(e.font,e.size)],o=0,s=t.length;o<s;o++){var u=t[o],c=u.encoded,l=u.x,h=u.y;r.push((0,i.BK)((0,a.eh)(e.rotate),(0,a.eh)(e.xSkew),(0,a.eh)(e.ySkew),l,h),(0,i.h$)(c))}return r.push((0,i.Z4)()),r},W=function(t){var e=(0,A.i)(t.x),r=(0,A.i)(t.y),n=(0,A.i)(t.width),s=(0,A.i)(t.height),u=(0,A.i)(t.borderWidth),c=(0,A.i)(t.padding),l=e+u/2+c,h=r+u/2+c,d=n-(u/2+c)*2,f=s-(u/2+c)*2,p=[(0,i.tw)(l,h),(0,i.a5)(l,h+f),(0,i.a5)(l+d,h+f),(0,i.a5)(l+d,h),(0,i.OE)(),(0,i.$Q)(),(0,i.R)()],g=D({x:e,y:r,width:n,height:s,borderWidth:t.borderWidth,color:t.color,borderColor:t.borderColor,rotate:(0,a.uj)(0),xSkew:(0,a.uj)(0),ySkew:(0,a.uj)(0)}),y=M(t.textLines,{color:t.textColor,font:t.font,size:t.fontSize,rotate:(0,a.uj)(0),xSkew:(0,a.uj)(0),ySkew:(0,a.uj)(0)}),v=(0,o.aN)([(0,i.rk)("Tx"),(0,i.Tl)()],y,[(0,i.eH)(),(0,i.Tw)()]);return(0,o.aN)([(0,i.Tl)()],g,p,v,[(0,i.eH)()])},z=function(t){for(var e=(0,A.i)(t.x),r=(0,A.i)(t.y),n=(0,A.i)(t.width),s=(0,A.i)(t.height),u=(0,A.i)(t.lineHeight),c=(0,A.i)(t.borderWidth),l=(0,A.i)(t.padding),h=e+c/2+l,d=r+c/2+l,f=n-(c/2+l)*2,p=s-(c/2+l)*2,g=[(0,i.tw)(h,d),(0,i.a5)(h,d+p),(0,i.a5)(h+f,d+p),(0,i.a5)(h+f,d),(0,i.OE)(),(0,i.$Q)(),(0,i.R)()],y=D({x:e,y:r,width:n,height:s,borderWidth:t.borderWidth,color:t.color,borderColor:t.borderColor,rotate:(0,a.uj)(0),xSkew:(0,a.uj)(0),ySkew:(0,a.uj)(0)}),v=[],m=0,b=t.selectedLines.length;m<b;m++){var C=t.textLines[t.selectedLines[m]];v.push.apply(v,D({x:C.x-l,y:C.y-(u-C.height)/2,width:n-c,height:C.height+(u-C.height)/2,borderWidth:0,color:t.selectedColor,borderColor:void 0,rotate:(0,a.uj)(0),xSkew:(0,a.uj)(0),ySkew:(0,a.uj)(0)}))}var F=M(t.textLines,{color:t.textColor,font:t.font,size:t.fontSize,rotate:(0,a.uj)(0),xSkew:(0,a.uj)(0),ySkew:(0,a.uj)(0)}),S=(0,o.aN)([(0,i.rk)("Tx"),(0,i.Tl)()],F,[(0,i.eH)(),(0,i.Tw)()]);return(0,o.aN)([(0,i.Tl)()],y,v,g,S,[(0,i.eH)()])}},45198(t,e,r){var o,n,i,a,s,u,c=r(6031),l=r(58184),h=r(67531),d=function(){return h.VK.of(h.Zt.ClipNonZero)},f=function(){return h.VK.of(h.Zt.ClipEvenOdd)},p=Math.cos,g=Math.sin,y=Math.tan,v=function(t,e,r,o,n,i){return h.VK.of(h.Zt.ConcatTransformationMatrix,[(0,c.q0)(t),(0,c.q0)(e),(0,c.q0)(r),(0,c.q0)(o),(0,c.q0)(n),(0,c.q0)(i)])},m=function(t,e){return v(1,0,0,1,t,e)},b=function(t,e){return v(t,0,0,e,0,0)},A=function(t){return v(p((0,c.i)(t)),g((0,c.i)(t)),-g((0,c.i)(t)),p((0,c.i)(t)),0,0)},C=function(t){return A((0,l.tR)((0,c.i)(t)))},F=function(t,e){return v(1,y((0,c.i)(t)),y((0,c.i)(e)),1,0,0)},S=function(t,e){return F((0,l.tR)((0,c.i)(t)),(0,l.tR)((0,c.i)(e)))},w=function(t,e){return h.VK.of(h.Zt.SetLineDashPattern,["["+t.map(c.q0).join(" ")+"]",(0,c.q0)(e)])},x=function(){return w([],0)};(o=a||(a={}))[o.Butt=0]="Butt",o[o.Round=1]="Round",o[o.Projecting=2]="Projecting";var D=function(t){return h.VK.of(h.Zt.SetLineCapStyle,[(0,c.q0)(t)])};(n=s||(s={}))[n.Miter=0]="Miter",n[n.Round=1]="Round",n[n.Bevel=2]="Bevel";var P=function(t){return h.VK.of(h.Zt.SetLineJoinStyle,[(0,c.q0)(t)])},T=function(t){return h.VK.of(h.Zt.SetGraphicsStateParams,[(0,c.yd)(t)])},k=function(){return h.VK.of(h.Zt.PushGraphicsState)},B=function(){return h.VK.of(h.Zt.PopGraphicsState)},j=function(t){return h.VK.of(h.Zt.SetLineWidth,[(0,c.q0)(t)])},O=function(t,e,r,o,n,i){return h.VK.of(h.Zt.AppendBezierCurve,[(0,c.q0)(t),(0,c.q0)(e),(0,c.q0)(r),(0,c.q0)(o),(0,c.q0)(n),(0,c.q0)(i)])},N=function(t,e,r,o){return h.VK.of(h.Zt.CurveToReplicateInitialPoint,[(0,c.q0)(t),(0,c.q0)(e),(0,c.q0)(r),(0,c.q0)(o)])},E=function(){return h.VK.of(h.Zt.ClosePath)},R=function(t,e){return h.VK.of(h.Zt.MoveTo,[(0,c.q0)(t),(0,c.q0)(e)])},I=function(t,e){return h.VK.of(h.Zt.LineTo,[(0,c.q0)(t),(0,c.q0)(e)])},M=function(t,e,r,o){return h.VK.of(h.Zt.AppendRectangle,[(0,c.q0)(t),(0,c.q0)(e),(0,c.q0)(r),(0,c.q0)(o)])},W=function(t,e,r){return M(t,e,r,r)},z=function(){return h.VK.of(h.Zt.StrokePath)},U=function(){return h.VK.of(h.Zt.FillNonZero)},L=function(){return h.VK.of(h.Zt.FillNonZeroAndStroke)},V=function(){return h.VK.of(h.Zt.EndPath)},H=function(){return h.VK.of(h.Zt.NextLine)},K=function(t,e){return h.VK.of(h.Zt.MoveText,[(0,c.q0)(t),(0,c.q0)(e)])},q=function(t){return h.VK.of(h.Zt.ShowText,[t])},G=function(){return h.VK.of(h.Zt.BeginText)},J=function(){return h.VK.of(h.Zt.EndText)},Z=function(t,e){return h.VK.of(h.Zt.SetFontAndSize,[(0,c.yd)(t),(0,c.q0)(e)])},Q=function(t){return h.VK.of(h.Zt.SetCharacterSpacing,[(0,c.q0)(t)])},X=function(t){return h.VK.of(h.Zt.SetWordSpacing,[(0,c.q0)(t)])},Y=function(t){return h.VK.of(h.Zt.SetTextHorizontalScaling,[(0,c.q0)(t)])},$=function(t){return h.VK.of(h.Zt.SetTextLineHeight,[(0,c.q0)(t)])},_=function(t){return h.VK.of(h.Zt.SetTextRise,[(0,c.q0)(t)])};(i=u||(u={}))[i.Fill=0]="Fill",i[i.Outline=1]="Outline",i[i.FillAndOutline=2]="FillAndOutline",i[i.Invisible=3]="Invisible",i[i.FillAndClip=4]="FillAndClip",i[i.OutlineAndClip=5]="OutlineAndClip",i[i.FillAndOutlineAndClip=6]="FillAndOutlineAndClip",i[i.Clip=7]="Clip";var tt=function(t){return h.VK.of(h.Zt.SetTextRenderingMode,[(0,c.q0)(t)])},te=function(t,e,r,o,n,i){return h.VK.of(h.Zt.SetTextMatrix,[(0,c.q0)(t),(0,c.q0)(e),(0,c.q0)(r),(0,c.q0)(o),(0,c.q0)(n),(0,c.q0)(i)])},tr=function(t,e,r,o,n){return te(p((0,c.i)(t)),g((0,c.i)(t))+y((0,c.i)(e)),-g((0,c.i)(t))+y((0,c.i)(r)),p((0,c.i)(t)),o,n)},to=function(t,e,r,o,n){return tr((0,l.tR)((0,c.i)(t)),(0,l.tR)((0,c.i)(e)),(0,l.tR)((0,c.i)(r)),o,n)},tn=function(t){return h.VK.of(h.Zt.DrawObject,[(0,c.yd)(t)])},ti=function(t){return h.VK.of(h.Zt.NonStrokingColorGray,[(0,c.q0)(t)])},ta=function(t){return h.VK.of(h.Zt.StrokingColorGray,[(0,c.q0)(t)])},ts=function(t,e,r){return h.VK.of(h.Zt.NonStrokingColorRgb,[(0,c.q0)(t),(0,c.q0)(e),(0,c.q0)(r)])},tu=function(t,e,r){return h.VK.of(h.Zt.StrokingColorRgb,[(0,c.q0)(t),(0,c.q0)(e),(0,c.q0)(r)])},tc=function(t,e,r,o){return h.VK.of(h.Zt.NonStrokingColorCmyk,[(0,c.q0)(t),(0,c.q0)(e),(0,c.q0)(r),(0,c.q0)(o)])},tl=function(t,e,r,o){return h.VK.of(h.Zt.StrokingColorCmyk,[(0,c.q0)(t),(0,c.q0)(e),(0,c.q0)(r),(0,c.q0)(o)])},th=function(t){return h.VK.of(h.Zt.BeginMarkedContent,[(0,c.yd)(t)])},td=function(){return h.VK.of(h.Zt.EndMarkedContent)};r.d(e,{$J:()=>te,$Q:()=>d,BI:()=>P,BK:()=>tr,Cq:()=>ti,Dr:()=>v,Ew:()=>W,FP:()=>tl,GS:()=>U,HF:()=>L,Hm:()=>j,Ie:()=>tu,J2:()=>tc,JA:()=>x,Jl:()=>D,Kz:()=>$,LW:()=>tt,M8:()=>Z,OE:()=>E,R:()=>V,Sm:()=>X,TB:()=>z,Tl:()=>k,Tw:()=>td,U4:()=>ta,U7:()=>f,VS:()=>G,Vv:()=>w,XG:()=>T,YC:()=>M,Yc:()=>Y,Z4:()=>J,_u:()=>ts,a5:()=>I,aS:()=>tn,a_:()=>N,db:()=>F,eH:()=>B,h$:()=>q,hs:()=>b,hu:()=>u,jt:()=>_,kJ:()=>m,mJ:()=>to,mk:()=>S,nQ:()=>K,rI:()=>Q,rk:()=>th,sE:()=>H,t5:()=>C,tw:()=>R,uT:()=>a,v$:()=>O,wd:()=>s,y4:()=>A})},58184(t,e,r){var o,n,i=r(44910);(o=n||(n={})).Degrees="degrees",o.Radians="radians";var a=function(t){return(0,i.jo)(t,"radianAngle",["number"]),{type:n.Radians,angle:t}},s=function(t){return(0,i.jo)(t,"degreeAngle",["number"]),{type:n.Degrees,angle:t}},u=n.Radians,c=n.Degrees,l=function(t){return t*Math.PI/180},h=function(t){return 180*t/Math.PI},d=function(t){return t.type===u?t.angle:t.type===c?l(t.angle):(0,i.z3)("Invalid rotation: "+JSON.stringify(t))},f=function(t){return t.type===u?h(t.angle):t.type===c?t.angle:(0,i.z3)("Invalid rotation: "+JSON.stringify(t))},p=function(t){void 0===t&&(t=0);var e=t/90%4;return 0===e?0:1===e?90:2===e?180:270*(3===e)},g=function(t,e){void 0===e&&(e=0);var r=p(e);return 90===r||270===r?{width:t.height,height:t.width}:{width:t.width,height:t.height}},y=function(t,e,r){void 0===e&&(e=0),void 0===r&&(r=0);var o=t.x,n=t.y,i=t.width,a=t.height,s=p(r),u=e/2;return 0===s?{x:o-u,y:n-u,width:i,height:a}:90===s?{x:o-a+u,y:n-u,width:a,height:i}:180===s?{x:o-i+u,y:n-a+u,width:i,height:a}:270===s?{x:o-u,y:n-i+u,width:a,height:i}:{x:o-u,y:n-u,width:i,height:a}};r.d(e,{F2:()=>a,P8:()=>y,S3:()=>g,WU:()=>n,du:()=>p,eh:()=>d,nv:()=>h,tR:()=>l,uj:()=>s,xW:()=>f})},85530(t,e,r){var o,n;(n=o||(o={}))[n.Left=0]="Left",n[n.Center=1]="Center",n[n.Right=2]="Right",r.d(e,{D:()=>o})},23205(t,e,r){var o=r(39560),n=r(85530),i=r(44910),a=function(t,e,r,o){void 0===o&&(o=!1);for(var n=4;n<500;){for(var i=0,a=0,s=t.length;a<s;a++){i+=1;for(var u=t[a].split(" "),c=r.width,l=0,h=u.length;l<h;l++){var d=l===h-1?u[l]:u[l]+" ",f=e.widthOfTextAtSize(d,n);(c-=f)<=0&&(i+=1,c=r.width-f)}}if(!o&&i>t.length)return n-1;var p=e.heightAtSize(n);if((p+.2*p)*i>Math.abs(r.height))return n-1;n+=1}return n},s=function(t,e,r,o){for(var n=r.width/o,a=r.height,s=4,u=(0,i.BP)(t);s<500;){for(var c=0,l=u.length;c<l;c++){var h=u[c];if(e.widthOfTextAtSize(h,s)>.75*n)return s-1}if(e.heightAtSize(s,{descender:!1})>a)return s-1;s+=1}return s},u=function(t){for(var e=t.length;e>0;e--)if(/\s/.test(t[e]))return e},c=function(t,e,r,o){for(var n,i=t.length;i>0;){var a=t.substring(0,i),s=r.encodeText(a),c=r.widthOfTextAtSize(a,o);if(c<e)return{line:a,encoded:s,width:c,remainder:t.substring(i)||void 0};i=null!=(n=u(a))?n:0}return{line:t,encoded:r.encodeText(t),width:r.widthOfTextAtSize(t,o),remainder:void 0}},l=function(t,e){var r=e.alignment,o=e.fontSize,s=e.font,u=e.bounds,l=(0,i.JQ)((0,i.X5)(t));(void 0===o||0===o)&&(o=a(l,s,u,!0));for(var h=s.heightAtSize(o),d=h+.2*h,f=[],p=u.x,g=u.y,y=u.x+u.width,v=u.y+u.height,m=u.y+u.height,b=0,A=l.length;b<A;b++)for(var C=l[b];void 0!==C;){var F=c(C,u.width,s,o),S=F.line,w=F.encoded,x=F.width,D=F.remainder,P=r===n.D.Left?u.x:r===n.D.Center?u.x+u.width/2-x/2:r===n.D.Right?u.x+u.width-x:u.x;m-=d,P<p&&(p=P),m<g&&(g=m),P+x>y&&(y=P+x),m+h>v&&(v=m+h),f.push({text:S,encoded:w,width:x,height:h,x:P,y:m}),C=null==D?void 0:D.trim()}return{fontSize:o,lineHeight:d,lines:f,bounds:{x:p,y:g,width:y-p,height:v-g}}},h=function(t,e){var r=e.fontSize,n=e.font,a=e.bounds,u=e.cellCount,c=(0,i.Ac)((0,i.X5)(t));if(c.length>u)throw new o.A(c.length,u);(void 0===r||0===r)&&(r=s(c,n,a,u));for(var l=a.width/u,h=n.heightAtSize(r,{descender:!1}),d=a.y+(a.height/2-h/2),f=[],p=a.x,g=a.y,y=a.x+a.width,v=a.y+a.height,m=0,b=0;m<u;){var A=(0,i.sR)(c,b),C=A[0],F=A[1],S=n.encodeText(C),w=n.widthOfTextAtSize(C,r),x=a.x+(l*m+l/2)-w/2;x<p&&(p=x),d<g&&(g=d),x+w>y&&(y=x+w),d+h>v&&(v=d+h),f.push({text:c,encoded:S,width:w,height:h,x:x,y:d}),m+=1,b+=F}return{fontSize:r,cells:f,bounds:{x:p,y:g,width:y-p,height:v-g}}},d=function(t,e){var r=e.alignment,o=e.fontSize,s=e.font,u=e.bounds,c=(0,i.Ac)((0,i.X5)(t));(void 0===o||0===o)&&(o=a([c],s,u));var l=s.encodeText(c),h=s.widthOfTextAtSize(c,o),d=s.heightAtSize(o,{descender:!1}),f=r===n.D.Left?u.x:r===n.D.Center?u.x+u.width/2-h/2:r===n.D.Right?u.x+u.width-h:u.x,p=u.y+(u.height/2-d/2);return{fontSize:o,line:{text:c,encoded:l,width:h,height:d,x:f,y:p},bounds:{x:f,y:p,width:h,height:d}}};r.d(e,{Tf:()=>l,k7:()=>h,sK:()=>d})},94460(t,e,r){var o,n,i=r(81205),a=r(9326),s=r(15291);(o=n||(n={})).Source="Source",o.Data="Data",o.Alternative="Alternative",o.Supplement="Supplement",o.EncryptedPayload="EncryptedPayload",o.FormData="EncryptedPayload",o.Schema="Schema",o.Unspecified="Unspecified",e.A=function(){function t(t,e,r){void 0===r&&(r={}),this.fileData=t,this.fileName=e,this.options=r}return t.for=function(e,r,o){return void 0===o&&(o={}),new t(e,r,o)},t.prototype.embedIntoContext=function(t,e){return(0,i.sH)(this,void 0,void 0,function(){var r,o,n,u,c,l,h,d,f;return(0,i.YH)(this,function(i){return(o=(r=this.options).mimeType,n=r.description,u=r.creationDate,c=r.modificationDate,l=r.afRelationship,h=t.flateStream(this.fileData,{Type:"EmbeddedFile",Subtype:null!=o?o:void 0,Params:{Size:this.fileData.length,CreationDate:u?a.A.fromDate(u):void 0,ModDate:c?a.A.fromDate(c):void 0}}),d=t.register(h),f=t.obj({Type:"Filespec",F:a.A.of(this.fileName),UF:s.A.fromText(this.fileName),EF:{F:d},Desc:n?s.A.fromText(n):void 0,AFRelationship:null!=l?l:void 0}),e)?(t.assign(e,f),[2,e]):[2,t.register(f)]})})},t}(),r.d(e,{G:()=>n})},47387(t,e,r){var o=r(81205),n=r(44910),i=function(t){function e(e,r){return t.call(this,"Method "+e+"."+r+"() not implemented")||this}return(0,o.C6)(e,t),e}(Error),a=function(t){function e(e){return t.call(this,"Cannot construct "+e+" - it has a private constructor")||this}return(0,o.C6)(e,t),e}(Error),s=function(t){function e(e,r){var o=function(t){var e,r;return null!=(e=null==t?void 0:t.name)?e:null==(r=null==t?void 0:t.constructor)?void 0:r.name},n="Expected instance of "+(Array.isArray(e)?e.map(o):[o(e)]).join(" or ")+", but got instance of "+(r?o(r):r);return t.call(this,n)||this}return(0,o.C6)(e,t),e}(Error),u=function(t){function e(e){return t.call(this,e+" stream encoding not supported")||this}return(0,o.C6)(e,t),e}(Error),c=function(t){function e(e,r){return t.call(this,"Cannot call "+e+"."+r+"() more than once")||this}return(0,o.C6)(e,t),e}(Error),l=function(t){function e(e){return t.call(this,"Missing catalog (ref="+e+")")||this}return(0,o.C6)(e,t),e}(Error),h=function(t){function e(){return t.call(this,"Can't embed page with missing Contents")||this}return(0,o.C6)(e,t),e}(Error),d=function(t){function e(e){var r,o,n,i=null!=(n=null!=(o=null==(r=null==e?void 0:e.contructor)?void 0:r.name)?o:null==e?void 0:e.name)?n:e;return t.call(this,"Unrecognized stream type: "+i)||this}return(0,o.C6)(e,t),e}(Error),f=function(t){function e(){return t.call(this,"Found mismatched contexts while embedding pages. All pages in the array passed to `PDFDocument.embedPages()` must be from the same document.")||this}return(0,o.C6)(e,t),e}(Error),p=function(t){function e(e){return t.call(this,"Attempted to convert PDFArray with "+e+" elements to rectangle, but must have exactly 4 elements.")||this}return(0,o.C6)(e,t),e}(Error),g=function(t){function e(e){return t.call(this,'Attempted to convert "'+e+'" to a date, but it does not match the PDF date string format.')||this}return(0,o.C6)(e,t),e}(Error),y=function(t){function e(e,r){return t.call(this,"Invalid targetIndex specified: targetIndex="+e+" must be less than Count="+r)||this}return(0,o.C6)(e,t),e}(Error),v=function(t){function e(e,r){return t.call(this,"Failed to "+r+" at targetIndex="+e+" due to corrupt page tree: It is likely that one or more 'Count' entries are invalid")||this}return(0,o.C6)(e,t),e}(Error),m=function(t){function e(e,r,o){return t.call(this,"index should be at least "+r+" and at most "+o+", but was actually "+e)||this}return(0,o.C6)(e,t),e}(Error),b=function(t){function e(){return t.call(this,"Attempted to set invalid field value")||this}return(0,o.C6)(e,t),e}(Error),A=function(t){function e(){return t.call(this,"Attempted to select multiple values for single-select field")||this}return(0,o.C6)(e,t),e}(Error),C=function(t){function e(e){return t.call(this,"No /DA (default appearance) entry found for field: "+e)||this}return(0,o.C6)(e,t),e}(Error),F=function(t){function e(e){return t.call(this,"No Tf operator found for DA of field: "+e)||this}return(0,o.C6)(e,t),e}(Error),S=function(t){function e(e,r){var o="Failed to parse number "+("(line:"+e.line+" col:"+e.column+" offset="+e.offset+'): "')+r+'"';return t.call(this,o)||this}return(0,o.C6)(e,t),e}(Error),w=function(t){function e(e,r){var o="Failed to parse PDF document "+("(line:"+e.line+" col:"+e.column+" offset="+e.offset)+"): "+r;return t.call(this,o)||this}return(0,o.C6)(e,t),e}(Error),x=function(t){function e(e,r,o){return t.call(this,e,"Expected next byte to be "+r+" but it was actually "+o)||this}return(0,o.C6)(e,t),e}(w),D=function(t){function e(e,r){return t.call(this,e,"Failed to parse PDF object starting with the following byte: "+r)||this}return(0,o.C6)(e,t),e}(w),P=function(t){function e(e){return t.call(this,e,"Failed to parse invalid PDF object")||this}return(0,o.C6)(e,t),e}(w),T=function(t){function e(e){return t.call(this,e,"Failed to parse PDF stream")||this}return(0,o.C6)(e,t),e}(w),k=function(t){function e(e){return t.call(this,e,"Failed to parse PDF literal string due to unbalanced parenthesis")||this}return(0,o.C6)(e,t),e}(w),B=function(t){function e(e){return t.call(this,e,"Parser stalled")||this}return(0,o.C6)(e,t),e}(w),j=function(t){function e(e){return t.call(this,e,"No PDF header found")||this}return(0,o.C6)(e,t),e}(w),O=function(t){function e(e,r){var o="Did not find expected keyword '"+(0,n.pZ)(r)+"'";return t.call(this,e,o)||this}return(0,o.C6)(e,t),e}(w);r.d(e,{$T:()=>s,B4:()=>u,EQ:()=>a,F2:()=>F,FY:()=>P,Hi:()=>A,I8:()=>S,IX:()=>d,JA:()=>f,Jl:()=>B,Kc:()=>j,OT:()=>p,PU:()=>y,Qj:()=>k,bq:()=>g,cR:()=>b,cZ:()=>O,eM:()=>x,fx:()=>m,g9:()=>l,jM:()=>c,ju:()=>i,m2:()=>D,o4:()=>C,rY:()=>w,tV:()=>T,tX:()=>h,vV:()=>v})},67531(t,e,r){r.d(e,{Go:()=>tm.G,Tz:()=>S,qM:()=>x,Zo:()=>F,Il:()=>w,bO:()=>D,N9:()=>tN,J_:()=>T.A,vV:()=>P.vV,pp:()=>ty,Bo:()=>tv,d1:()=>C,jA:()=>tm.A,fx:()=>P.fx,cR:()=>P.cR,bq:()=>P.bq,PU:()=>P.PU,Dm:()=>tC,ju:()=>P.ju,g9:()=>P.g9,o4:()=>P.o4,cZ:()=>P.cZ,Kc:()=>P.Kc,tX:()=>P.tX,F2:()=>P.F2,Hi:()=>P.Hi,eM:()=>P.eM,bj:()=>m,I8:()=>P.I8,I:()=>tI,RL:()=>tM,xm:()=>tz,Bi:()=>tU,el:()=>tB,In:()=>t2,ld:()=>tG,z5:()=>tL,OR:()=>tK,b$:()=>tq,oz:()=>tV,AC:()=>tR,BM:()=>tH,sz:()=>tO,y3:()=>E.A,OT:()=>P.OT,$l:()=>M,am:()=>t1,CB:()=>X,yQ:()=>_,JX:()=>tr,_q:()=>tu,Ri:()=>W.A,V0:()=>Q,w$:()=>N,lv:()=>th.A,j6:()=>ts,FY:()=>P.FY,S5:()=>z.A,qQ:()=>U.A,iu:()=>L.A,YA:()=>R.A,Gw:()=>te,np:()=>ee,m2:()=>P.m2,et:()=>ti,D7:()=>er,VK:()=>J,Zt:()=>Z,kO:()=>tD,y1:()=>tt,KF:()=>t4,gS:()=>en,rY:()=>P.rY,T9:()=>H,so:()=>G,h0:()=>V,tV:()=>P.tV,k_:()=>tc,mA:()=>tg.A,Kk:()=>to,W4:()=>tn,Ml:()=>tE,Sl:()=>ta,bs:()=>eo,JA:()=>P.JA,cV:()=>tS,Nq:()=>A,EQ:()=>P.EQ,s3:()=>b,jM:()=>P.jM,Jl:()=>P.Jl,hM:()=>td,Qj:()=>P.Qj,$T:()=>P.$T,IX:()=>P.IX,B4:()=>P.B4,x7:()=>tT,o:()=>tZ,h$:()=>tJ,jY:()=>tw.j});var o,n,i,a,s,u,c,l,h,d,f,p,g,y,v,m,b,A,C,F,S,w,x,D,P=r(47387),T=r(56706),k=r(81205),B=r(51668),j=r.n(B),O=r(44910),N=function(){function t(t,e){this.major=String(t),this.minor=String(e)}return t.prototype.toString=function(){var t=(0,O.sJ)(129);return"%PDF-"+this.major+"."+this.minor+"\n%"+t+t+t+t},t.prototype.sizeInBytes=function(){return 12+this.major.length+this.minor.length},t.prototype.copyBytesInto=function(t,e){var r=e;return t[e++]=T.A.Percent,t[e++]=T.A.P,t[e++]=T.A.D,t[e++]=T.A.F,t[e++]=T.A.Dash,e+=(0,O.BO)(this.major,t,e),t[e++]=T.A.Period,e+=(0,O.BO)(this.minor,t,e),t[e++]=T.A.Newline,t[e++]=T.A.Percent,t[e++]=129,t[e++]=129,t[e++]=129,t[e++]=129,e-r},t.forVersion=function(e,r){return new t(e,r)},t}(),E=r(42762),R=r(84416),I={},M=function(t){function e(e,r){var o=this;if(e!==I)throw new P.EQ("PDFBool");return(o=t.call(this)||this).value=r,o}return(0,k.C6)(e,t),e.prototype.asBoolean=function(){return this.value},e.prototype.clone=function(){return this},e.prototype.toString=function(){return String(this.value)},e.prototype.sizeInBytes=function(){return this.value?4:5},e.prototype.copyBytesInto=function(t,e){return this.value?(t[e++]=T.A.t,t[e++]=T.A.r,t[e++]=T.A.u,t[e++]=T.A.e,4):(t[e++]=T.A.f,t[e++]=T.A.a,t[e++]=T.A.l,t[e++]=T.A.s,t[e++]=T.A.e,5)},e.True=new e(I,!0),e.False=new e(I,!1),e}(R.A),W=r(76187),z=r(21860),U=r(34714),L=r(28278),V=function(t){function e(e){var r=t.call(this)||this;return r.dict=e,r}return(0,k.C6)(e,t),e.prototype.clone=function(t){throw new P.ju(this.constructor.name,"clone")},e.prototype.getContentsString=function(){throw new P.ju(this.constructor.name,"getContentsString")},e.prototype.getContents=function(){throw new P.ju(this.constructor.name,"getContents")},e.prototype.getContentsSize=function(){throw new P.ju(this.constructor.name,"getContentsSize")},e.prototype.updateDict=function(){var t=this.getContentsSize();this.dict.set(z.A.Length,L.A.of(t))},e.prototype.sizeInBytes=function(){return this.updateDict(),this.dict.sizeInBytes()+this.getContentsSize()+18},e.prototype.toString=function(){this.updateDict();var t=this.dict.toString();return t+="\nstream\n",t+=this.getContentsString(),t+="\nendstream"},e.prototype.copyBytesInto=function(t,e){this.updateDict();var r=e;e+=this.dict.copyBytesInto(t,e),t[e++]=T.A.Newline,t[e++]=T.A.s,t[e++]=T.A.t,t[e++]=T.A.r,t[e++]=T.A.e,t[e++]=T.A.a,t[e++]=T.A.m,t[e++]=T.A.Newline;for(var o=this.getContents(),n=0,i=o.length;n<i;n++)t[e++]=o[n];return t[e++]=T.A.Newline,t[e++]=T.A.e,t[e++]=T.A.n,t[e++]=T.A.d,t[e++]=T.A.s,t[e++]=T.A.t,t[e++]=T.A.r,t[e++]=T.A.e,t[e++]=T.A.a,t[e++]=T.A.m,e-r},e}(R.A),H=function(t){function e(e,r){var o=t.call(this,e)||this;return o.contents=r,o}return(0,k.C6)(e,t),e.prototype.asUint8Array=function(){return this.contents.slice()},e.prototype.clone=function(t){return e.of(this.dict.clone(t),this.contents.slice())},e.prototype.getContentsString=function(){return(0,O.pZ)(this.contents)},e.prototype.getContents=function(){return this.contents},e.prototype.getContentsSize=function(){return this.contents.length},e.of=function(t,r){return new e(t,r)},e}(V),K={},q=new Map,G=function(t){function e(e,r,o){var n=this;if(e!==K)throw new P.EQ("PDFRef");return(n=t.call(this)||this).objectNumber=r,n.generationNumber=o,n.tag=r+" "+o+" R",n}return(0,k.C6)(e,t),e.prototype.clone=function(){return this},e.prototype.toString=function(){return this.tag},e.prototype.sizeInBytes=function(){return this.tag.length},e.prototype.copyBytesInto=function(t,e){return e+=(0,O.BO)(this.tag,t,e),this.tag.length},e.of=function(t,r){void 0===r&&(r=0);var o=t+" "+r+" R",n=q.get(o);return n||(n=new e(K,t,r),q.set(o,n)),n},e}(R.A),J=function(){function t(t,e){this.name=t,this.args=e||[]}return t.prototype.clone=function(e){for(var r=Array(this.args.length),o=0,n=r.length;o<n;o++){var i=this.args[o];r[o]=i instanceof R.A?i.clone(e):i}return t.of(this.name,r)},t.prototype.toString=function(){for(var t="",e=0,r=this.args.length;e<r;e++)t+=String(this.args[e])+" ";return t+this.name},t.prototype.sizeInBytes=function(){for(var t=0,e=0,r=this.args.length;e<r;e++){var o=this.args[e];t+=(o instanceof R.A?o.sizeInBytes():o.length)+1}return t+this.name.length},t.prototype.copyBytesInto=function(t,e){for(var r=e,o=0,n=this.args.length;o<n;o++){var i=this.args[o];i instanceof R.A?e+=i.copyBytesInto(t,e):e+=(0,O.BO)(i,t,e),t[e++]=T.A.Space}return(e+=(0,O.BO)(this.name,t,e))-r},t.of=function(e,r){return new t(e,r)},t}();(o=g||(g={})).NonStrokingColor="sc",o.NonStrokingColorN="scn",o.NonStrokingColorRgb="rg",o.NonStrokingColorGray="g",o.NonStrokingColorCmyk="k",o.NonStrokingColorspace="cs",o.StrokingColor="SC",o.StrokingColorN="SCN",o.StrokingColorRgb="RG",o.StrokingColorGray="G",o.StrokingColorCmyk="K",o.StrokingColorspace="CS",o.BeginMarkedContentSequence="BDC",o.BeginMarkedContent="BMC",o.EndMarkedContent="EMC",o.MarkedContentPointWithProps="DP",o.MarkedContentPoint="MP",o.DrawObject="Do",o.ConcatTransformationMatrix="cm",o.PopGraphicsState="Q",o.PushGraphicsState="q",o.SetFlatness="i",o.SetGraphicsStateParams="gs",o.SetLineCapStyle="J",o.SetLineDashPattern="d",o.SetLineJoinStyle="j",o.SetLineMiterLimit="M",o.SetLineWidth="w",o.SetTextMatrix="Tm",o.SetRenderingIntent="ri",o.AppendRectangle="re",o.BeginInlineImage="BI",o.BeginInlineImageData="ID",o.EndInlineImage="EI",o.ClipEvenOdd="W*",o.ClipNonZero="W",o.CloseAndStroke="s",o.CloseFillEvenOddAndStroke="b*",o.CloseFillNonZeroAndStroke="b",o.ClosePath="h",o.AppendBezierCurve="c",o.CurveToReplicateFinalPoint="y",o.CurveToReplicateInitialPoint="v",o.EndPath="n",o.FillEvenOddAndStroke="B*",o.FillEvenOdd="f*",o.FillNonZeroAndStroke="B",o.FillNonZero="f",o.LegacyFillNonZero="F",o.LineTo="l",o.MoveTo="m",o.ShadingFill="sh",o.StrokePath="S",o.BeginText="BT",o.EndText="ET",o.MoveText="Td",o.MoveTextSetLeading="TD",o.NextLine="T*",o.SetCharacterSpacing="Tc",o.SetFontAndSize="Tf",o.SetTextHorizontalScaling="Tz",o.SetTextLineHeight="TL",o.SetTextRenderingMode="Tr",o.SetTextRise="Ts",o.SetWordSpacing="Tw",o.ShowText="Tj",o.ShowTextAdjusted="TJ",o.ShowTextLine="'",o.ShowTextLineAndSpace='"',o.Type3D0="d0",o.Type3D1="d1",o.BeginCompatibilitySection="BX",o.EndCompatibilitySection="EX";var Z=g,Q=function(t){function e(e,r){var o=t.call(this,e)||this;return o.computeContents=function(){var t=o.getUnencodedContents();return o.encode?j().deflate(t):t},o.encode=r,r&&e.set(z.A.of("Filter"),z.A.of("FlateDecode")),o.contentsCache=O.l2.populatedBy(o.computeContents),o}return(0,k.C6)(e,t),e.prototype.getContents=function(){return this.contentsCache.access()},e.prototype.getContentsSize=function(){return this.contentsCache.access().length},e.prototype.getUnencodedContents=function(){throw new P.ju(this.constructor.name,"getUnencodedContents")},e}(V),X=function(t){function e(e,r,o){void 0===o&&(o=!0);var n=t.call(this,e,o)||this;return n.operators=r,n}return(0,k.C6)(e,t),e.prototype.push=function(){for(var t,e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];(t=this.operators).push.apply(t,e)},e.prototype.clone=function(t){for(var r=Array(this.operators.length),o=0,n=this.operators.length;o<n;o++)r[o]=this.operators[o].clone(t);var i=this.dict,a=this.encode;return e.of(i.clone(t),r,a)},e.prototype.getContentsString=function(){for(var t="",e=0,r=this.operators.length;e<r;e++)t+=this.operators[e]+"\n";return t},e.prototype.getUnencodedContents=function(){for(var t=new Uint8Array(this.getUnencodedContentsSize()),e=0,r=0,o=this.operators.length;r<o;r++)e+=this.operators[r].copyBytesInto(t,e),t[e++]=T.A.Newline;return t},e.prototype.getUnencodedContentsSize=function(){for(var t=0,e=0,r=this.operators.length;e<r;e++)t+=this.operators[e].sizeInBytes()+1;return t},e.of=function(t,r,o){return void 0===o&&(o=!0),new e(t,r,o)},e}(Q),Y=r(55267),$=function(t,e){var r=t[0],o=e[0];return r.objectNumber-o.objectNumber},_=function(){function t(){this.largestObjectNumber=0,this.header=N.forVersion(1,7),this.trailerInfo={},this.indirectObjects=new Map,this.rng=Y.I.withSeed(1)}return t.prototype.assign=function(t,e){this.indirectObjects.set(t,e),t.objectNumber>this.largestObjectNumber&&(this.largestObjectNumber=t.objectNumber)},t.prototype.nextRef=function(){return this.largestObjectNumber+=1,G.of(this.largestObjectNumber)},t.prototype.register=function(t){var e=this.nextRef();return this.assign(e,t),e},t.prototype.delete=function(t){return this.indirectObjects.delete(t)},t.prototype.lookupMaybe=function(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];var o=e.includes(U.A),n=t instanceof G?this.indirectObjects.get(t):t;if(n&&(n!==U.A||o)){for(var i=0,a=e.length;i<a;i++){var s=e[i];if(s===U.A){if(n===U.A)return n}else if(n instanceof s)return n}throw new P.$T(e,n)}},t.prototype.lookup=function(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];var o=t instanceof G?this.indirectObjects.get(t):t;if(0===e.length)return o;for(var n=0,i=e.length;n<i;n++){var a=e[n];if(a===U.A){if(o===U.A)return o}else if(o instanceof a)return o}throw new P.$T(e,o)},t.prototype.getObjectRef=function(t){for(var e=Array.from(this.indirectObjects.entries()),r=0,o=e.length;r<o;r++){var n=e[r],i=n[0];if(n[1]===t)return i}},t.prototype.enumerateIndirectObjects=function(){return Array.from(this.indirectObjects.entries()).sort($)},t.prototype.obj=function(t){if(t instanceof R.A)return t;if(null==t)return U.A;if("string"==typeof t)return z.A.of(t);if("number"==typeof t)return L.A.of(t);if("boolean"==typeof t)return t?M.True:M.False;else if(Array.isArray(t)){for(var e=E.A.withContext(this),r=0,o=t.length;r<o;r++)e.push(this.obj(t[r]));return e}else{for(var n=W.A.withContext(this),i=Object.keys(t),r=0,o=i.length;r<o;r++){var a=i[r],s=t[a];void 0!==s&&n.set(z.A.of(a),this.obj(s))}return n}},t.prototype.stream=function(t,e){return void 0===e&&(e={}),H.of(this.obj(e),(0,O.dp)(t))},t.prototype.flateStream=function(t,e){return void 0===e&&(e={}),this.stream(j().deflate((0,O.dp)(t)),(0,k.Cl)((0,k.Cl)({},e),{Filter:"FlateDecode"}))},t.prototype.contentStream=function(t,e){return void 0===e&&(e={}),X.of(this.obj(e),t)},t.prototype.formXObject=function(t,e){return void 0===e&&(e={}),this.contentStream(t,(0,k.Cl)((0,k.Cl)({BBox:this.obj([0,0,0,0]),Matrix:this.obj([1,0,0,1,0,0])},e),{Type:"XObject",Subtype:"Form"}))},t.prototype.getPushGraphicsStateContentStream=function(){if(this.pushGraphicsStateContentStreamRef)return this.pushGraphicsStateContentStreamRef;var t=this.obj({}),e=J.of(Z.PushGraphicsState),r=X.of(t,[e]);return this.pushGraphicsStateContentStreamRef=this.register(r),this.pushGraphicsStateContentStreamRef},t.prototype.getPopGraphicsStateContentStream=function(){if(this.popGraphicsStateContentStreamRef)return this.popGraphicsStateContentStreamRef;var t=this.obj({}),e=J.of(Z.PopGraphicsState),r=X.of(t,[e]);return this.popGraphicsStateContentStreamRef=this.register(r),this.popGraphicsStateContentStreamRef},t.prototype.addRandomSuffix=function(t,e){return void 0===e&&(e=4),t+"-"+Math.floor(this.rng.nextInt()*Math.pow(10,e))},t.create=function(){return new t},t}(),tt=function(t){function e(e,r,o){void 0===o&&(o=!0);var n=t.call(this,e,r)||this;return n.normalized=!1,n.autoNormalizeCTM=o,n}return(0,k.C6)(e,t),e.prototype.clone=function(t){for(var r=e.fromMapWithContext(new Map,t||this.context,this.autoNormalizeCTM),o=this.entries(),n=0,i=o.length;n<i;n++){var a=o[n],s=a[0],u=a[1];r.set(s,u)}return r},e.prototype.Parent=function(){return this.lookupMaybe(z.A.Parent,W.A)},e.prototype.Contents=function(){return this.lookup(z.A.of("Contents"))},e.prototype.Annots=function(){return this.lookupMaybe(z.A.Annots,E.A)},e.prototype.BleedBox=function(){return this.lookupMaybe(z.A.BleedBox,E.A)},e.prototype.TrimBox=function(){return this.lookupMaybe(z.A.TrimBox,E.A)},e.prototype.ArtBox=function(){return this.lookupMaybe(z.A.ArtBox,E.A)},e.prototype.Resources=function(){var t=this.getInheritableAttribute(z.A.Resources);return this.context.lookupMaybe(t,W.A)},e.prototype.MediaBox=function(){var t=this.getInheritableAttribute(z.A.MediaBox);return this.context.lookup(t,E.A)},e.prototype.CropBox=function(){var t=this.getInheritableAttribute(z.A.CropBox);return this.context.lookupMaybe(t,E.A)},e.prototype.Rotate=function(){var t=this.getInheritableAttribute(z.A.Rotate);return this.context.lookupMaybe(t,L.A)},e.prototype.getInheritableAttribute=function(t){var e;return this.ascend(function(r){e||(e=r.get(t))}),e},e.prototype.setParent=function(t){this.set(z.A.Parent,t)},e.prototype.addContentStream=function(t){var e=this.normalizedEntries().Contents||this.context.obj([]);this.set(z.A.Contents,e),e.push(t)},e.prototype.wrapContentStreams=function(t,e){var r=this.Contents();return r instanceof E.A&&(r.insert(0,t),r.push(e),!0)},e.prototype.addAnnot=function(t){this.normalizedEntries().Annots.push(t)},e.prototype.removeAnnot=function(t){var e=this.normalizedEntries().Annots,r=e.indexOf(t);void 0!==r&&e.remove(r)},e.prototype.setFontDictionary=function(t,e){this.normalizedEntries().Font.set(t,e)},e.prototype.newFontDictionaryKey=function(t){return this.normalizedEntries().Font.uniqueKey(t)},e.prototype.newFontDictionary=function(t,e){var r=this.newFontDictionaryKey(t);return this.setFontDictionary(r,e),r},e.prototype.setXObject=function(t,e){this.normalizedEntries().XObject.set(t,e)},e.prototype.newXObjectKey=function(t){return this.normalizedEntries().XObject.uniqueKey(t)},e.prototype.newXObject=function(t,e){var r=this.newXObjectKey(t);return this.setXObject(r,e),r},e.prototype.setExtGState=function(t,e){this.normalizedEntries().ExtGState.set(t,e)},e.prototype.newExtGStateKey=function(t){return this.normalizedEntries().ExtGState.uniqueKey(t)},e.prototype.newExtGState=function(t,e){var r=this.newExtGStateKey(t);return this.setExtGState(r,e),r},e.prototype.ascend=function(t){t(this);var e=this.Parent();e&&e.ascend(t)},e.prototype.normalize=function(){if(!this.normalized){var t=this.context,e=this.get(z.A.Contents);this.context.lookup(e)instanceof V&&this.set(z.A.Contents,t.obj([e])),this.autoNormalizeCTM&&this.wrapContentStreams(this.context.getPushGraphicsStateContentStream(),this.context.getPopGraphicsStateContentStream());var r=this.getInheritableAttribute(z.A.Resources),o=t.lookupMaybe(r,W.A)||t.obj({});this.set(z.A.Resources,o);var n=o.lookupMaybe(z.A.Font,W.A)||t.obj({});o.set(z.A.Font,n);var i=o.lookupMaybe(z.A.XObject,W.A)||t.obj({});o.set(z.A.XObject,i);var a=o.lookupMaybe(z.A.ExtGState,W.A)||t.obj({});o.set(z.A.ExtGState,a);var s=this.Annots()||t.obj([]);this.set(z.A.Annots,s),this.normalized=!0}},e.prototype.normalizedEntries=function(){this.normalize();var t=this.Annots(),e=this.Resources();return{Annots:t,Resources:e,Contents:this.Contents(),Font:e.lookup(z.A.Font,W.A),XObject:e.lookup(z.A.XObject,W.A),ExtGState:e.lookup(z.A.ExtGState,W.A)}},e.InheritableEntries=["Resources","MediaBox","CropBox","Rotate"],e.withContextAndParent=function(t,r){var o=new Map;return o.set(z.A.Type,z.A.Page),o.set(z.A.Parent,r),o.set(z.A.Resources,t.obj({})),o.set(z.A.MediaBox,t.obj([0,0,612,792])),new e(o,t,!1)},e.fromMapWithContext=function(t,r,o){return void 0===o&&(o=!0),new e(t,r,o)},e}(W.A),te=function(){function t(t,e){var r=this;this.traversedObjects=new Map,this.copy=function(t){return t instanceof tt?r.copyPDFPage(t):t instanceof W.A?r.copyPDFDict(t):t instanceof E.A?r.copyPDFArray(t):t instanceof V?r.copyPDFStream(t):t instanceof G?r.copyPDFIndirectObject(t):t.clone()},this.copyPDFPage=function(t){for(var e=t.clone(),o=tt.InheritableEntries,n=0,i=o.length;n<i;n++){var a=z.A.of(o[n]),s=e.getInheritableAttribute(a);!e.get(a)&&s&&e.set(a,s)}return e.delete(z.A.of("Parent")),r.copyPDFDict(e)},this.copyPDFDict=function(t){if(r.traversedObjects.has(t))return r.traversedObjects.get(t);var e=t.clone(r.dest);r.traversedObjects.set(t,e);for(var o=t.entries(),n=0,i=o.length;n<i;n++){var a=o[n],s=a[0],u=a[1];e.set(s,r.copy(u))}return e},this.copyPDFArray=function(t){if(r.traversedObjects.has(t))return r.traversedObjects.get(t);var e=t.clone(r.dest);r.traversedObjects.set(t,e);for(var o=0,n=t.size();o<n;o++){var i=t.get(o);e.set(o,r.copy(i))}return e},this.copyPDFStream=function(t){if(r.traversedObjects.has(t))return r.traversedObjects.get(t);var e=t.clone(r.dest);r.traversedObjects.set(t,e);for(var o=t.dict.entries(),n=0,i=o.length;n<i;n++){var a=o[n],s=a[0],u=a[1];e.dict.set(s,r.copy(u))}return e},this.copyPDFIndirectObject=function(t){if(!r.traversedObjects.has(t)){var e=r.dest.nextRef();r.traversedObjects.set(t,e);var o=r.src.lookup(t);if(o){var n=r.copy(o);r.dest.assign(e,n)}}return r.traversedObjects.get(t)},this.src=t,this.dest=e}return t.for=function(e,r){return new t(e,r)},t}(),tr=function(){function t(t){this.subsections=t?[[t]]:[],this.chunkIdx=0,this.chunkLength=+!!t}return t.prototype.addEntry=function(t,e){this.append({ref:t,offset:e,deleted:!1})},t.prototype.addDeletedEntry=function(t,e){this.append({ref:t,offset:e,deleted:!0})},t.prototype.toString=function(){for(var t="xref\n",e=0,r=this.subsections.length;e<r;e++){var o=this.subsections[e];t+=o[0].ref.objectNumber+" "+o.length+"\n";for(var n=0,i=o.length;n<i;n++){var a=o[n];t+=(0,O.CF)(String(a.offset),10,"0"),t+=" ",t+=(0,O.CF)(String(a.ref.generationNumber),5,"0"),t+=" ",t+=a.deleted?"f":"n",t+=" \n"}}return t},t.prototype.sizeInBytes=function(){for(var t=5,e=0,r=this.subsections.length;e<r;e++){var o=this.subsections[e],n=o.length;t+=2,t+=String(o[0].ref.objectNumber).length,t+=String(n).length,t+=20*n}return t},t.prototype.copyBytesInto=function(t,e){var r=e;return t[e++]=T.A.x,t[e++]=T.A.r,t[e++]=T.A.e,t[e++]=T.A.f,t[e++]=T.A.Newline,(e+=this.copySubsectionsIntoBuffer(this.subsections,t,e))-r},t.prototype.copySubsectionsIntoBuffer=function(t,e,r){for(var o=r,n=t.length,i=0;i<n;i++){var a=this.subsections[i],s=String(a[0].ref.objectNumber);r+=(0,O.BO)(s,e,r),e[r++]=T.A.Space;var u=String(a.length);r+=(0,O.BO)(u,e,r),e[r++]=T.A.Newline,r+=this.copyEntriesIntoBuffer(a,e,r)}return r-o},t.prototype.copyEntriesIntoBuffer=function(t,e,r){for(var o=t.length,n=0;n<o;n++){var i=t[n],a=(0,O.CF)(String(i.offset),10,"0");r+=(0,O.BO)(a,e,r),e[r++]=T.A.Space;var s=(0,O.CF)(String(i.ref.generationNumber),5,"0");r+=(0,O.BO)(s,e,r),e[r++]=T.A.Space,e[r++]=i.deleted?T.A.f:T.A.n,e[r++]=T.A.Space,e[r++]=T.A.Newline}return 20*o},t.prototype.append=function(t){if(0===this.chunkLength){this.subsections.push([t]),this.chunkIdx=0,this.chunkLength=1;return}var e=this.subsections[this.chunkIdx],r=e[this.chunkLength-1];t.ref.objectNumber-r.ref.objectNumber>1?(this.subsections.push([t]),this.chunkIdx+=1,this.chunkLength=1):(e.push(t),this.chunkLength+=1)},t.create=function(){return new t({ref:G.of(0,65535),offset:0,deleted:!0})},t.createEmpty=function(){return new t},t}(),to=function(){function t(t){this.lastXRefOffset=String(t)}return t.prototype.toString=function(){return"startxref\n"+this.lastXRefOffset+"\n%%EOF"},t.prototype.sizeInBytes=function(){return 16+this.lastXRefOffset.length},t.prototype.copyBytesInto=function(t,e){var r=e;return t[e++]=T.A.s,t[e++]=T.A.t,t[e++]=T.A.a,t[e++]=T.A.r,t[e++]=T.A.t,t[e++]=T.A.x,t[e++]=T.A.r,t[e++]=T.A.e,t[e++]=T.A.f,t[e++]=T.A.Newline,e+=(0,O.BO)(this.lastXRefOffset,t,e),t[e++]=T.A.Newline,t[e++]=T.A.Percent,t[e++]=T.A.Percent,t[e++]=T.A.E,t[e++]=T.A.O,t[e++]=T.A.F,e-r},t.forLastCrossRefSectionOffset=function(e){return new t(e)},t}(),tn=function(){function t(t){this.dict=t}return t.prototype.toString=function(){return"trailer\n"+this.dict.toString()},t.prototype.sizeInBytes=function(){return 8+this.dict.sizeInBytes()},t.prototype.copyBytesInto=function(t,e){var r=e;return t[e++]=T.A.t,t[e++]=T.A.r,t[e++]=T.A.a,t[e++]=T.A.i,t[e++]=T.A.l,t[e++]=T.A.e,t[e++]=T.A.r,t[e++]=T.A.Newline,(e+=this.dict.copyBytesInto(t,e))-r},t.of=function(e){return new t(e)},t}(),ti=function(t){function e(e,r,o){void 0===o&&(o=!0);var n=t.call(this,e.obj({}),o)||this;return n.objects=r,n.offsets=n.computeObjectOffsets(),n.offsetsString=n.computeOffsetsString(),n.dict.set(z.A.of("Type"),z.A.of("ObjStm")),n.dict.set(z.A.of("N"),L.A.of(n.objects.length)),n.dict.set(z.A.of("First"),L.A.of(n.offsetsString.length)),n}return(0,k.C6)(e,t),e.prototype.getObjectsCount=function(){return this.objects.length},e.prototype.clone=function(t){return e.withContextAndObjects(t||this.dict.context,this.objects.slice(),this.encode)},e.prototype.getContentsString=function(){for(var t=this.offsetsString,e=0,r=this.objects.length;e<r;e++)t+=this.objects[e][1]+"\n";return t},e.prototype.getUnencodedContents=function(){for(var t=new Uint8Array(this.getUnencodedContentsSize()),e=(0,O.BO)(this.offsetsString,t,0),r=0,o=this.objects.length;r<o;r++){var n=this.objects[r][1];e+=n.copyBytesInto(t,e),t[e++]=T.A.Newline}return t},e.prototype.getUnencodedContentsSize=function(){return this.offsetsString.length+(0,O.HV)(this.offsets)[1]+(0,O.HV)(this.objects)[1].sizeInBytes()+1},e.prototype.computeOffsetsString=function(){for(var t="",e=0,r=this.offsets.length;e<r;e++){var o=this.offsets[e];t+=o[0]+" "+o[1]+" "}return t},e.prototype.computeObjectOffsets=function(){for(var t=0,e=Array(this.objects.length),r=0,o=this.objects.length;r<o;r++){var n=this.objects[r],i=n[0],a=n[1];e[r]=[i.objectNumber,t],t+=a.sizeInBytes()+1}return e},e.withContextAndObjects=function(t,r,o){return void 0===o&&(o=!0),new e(t,r,o)},e}(Q),ta=function(){function t(t,e){var r=this;this.parsedObjects=0,this.shouldWaitForTick=function(t){return r.parsedObjects+=t,r.parsedObjects%r.objectsPerTick==0},this.context=t,this.objectsPerTick=e}return t.prototype.serializeToBuffer=function(){return(0,k.sH)(this,void 0,void 0,function(){var t,e,r,o,n,i,a,s,u,c,l,h,d,f,p,g,y;return(0,k.YH)(this,function(v){switch(v.label){case 0:return[4,this.computeBufferSize()];case 1:e=(t=v.sent()).size,r=t.header,o=t.indirectObjects,n=t.xref,i=t.trailerDict,a=t.trailer,s=0,u=new Uint8Array(e),s+=r.copyBytesInto(u,s),u[s++]=T.A.Newline,u[s++]=T.A.Newline,c=0,l=o.length,v.label=2;case 2:if(!(c<l))return[3,5];if(d=(h=o[c])[0],f=h[1],p=String(d.objectNumber),s+=(0,O.BO)(p,u,s),u[s++]=T.A.Space,g=String(d.generationNumber),s+=(0,O.BO)(g,u,s),u[s++]=T.A.Space,u[s++]=T.A.o,u[s++]=T.A.b,u[s++]=T.A.j,u[s++]=T.A.Newline,s+=f.copyBytesInto(u,s),u[s++]=T.A.Newline,u[s++]=T.A.e,u[s++]=T.A.n,u[s++]=T.A.d,u[s++]=T.A.o,u[s++]=T.A.b,u[s++]=T.A.j,u[s++]=T.A.Newline,u[s++]=T.A.Newline,y=f instanceof ti?f.getObjectsCount():1,!this.shouldWaitForTick(y))return[3,4];return[4,(0,O.KP)()];case 3:v.sent(),v.label=4;case 4:return c++,[3,2];case 5:return n&&(s+=n.copyBytesInto(u,s),u[s++]=T.A.Newline),i&&(s+=i.copyBytesInto(u,s),u[s++]=T.A.Newline,u[s++]=T.A.Newline),s+=a.copyBytesInto(u,s),[2,u]}})})},t.prototype.computeIndirectObjectSize=function(t){var e=t[0],r=t[1];return e.sizeInBytes()+3+(r.sizeInBytes()+9)},t.prototype.createTrailerDict=function(){return this.context.obj({Size:this.context.largestObjectNumber+1,Root:this.context.trailerInfo.Root,Encrypt:this.context.trailerInfo.Encrypt,Info:this.context.trailerInfo.Info,ID:this.context.trailerInfo.ID})},t.prototype.computeBufferSize=function(){return(0,k.sH)(this,void 0,void 0,function(){var t,e,r,o,n,i,a,s,u,c,l;return(0,k.YH)(this,function(h){switch(h.label){case 0:e=(t=N.forVersion(1,7)).sizeInBytes()+2,r=tr.create(),o=this.context.enumerateIndirectObjects(),n=0,i=o.length,h.label=1;case 1:if(!(n<i))return[3,4];if(s=(a=o[n])[0],r.addEntry(s,e),e+=this.computeIndirectObjectSize(a),!this.shouldWaitForTick(1))return[3,3];return[4,(0,O.KP)()];case 2:h.sent(),h.label=3;case 3:return n++,[3,1];case 4:return u=e,e+=r.sizeInBytes()+1,c=tn.of(this.createTrailerDict()),e+=c.sizeInBytes()+2,l=to.forLastCrossRefSectionOffset(u),[2,{size:e+=l.sizeInBytes(),header:t,indirectObjects:o,xref:r,trailerDict:c,trailer:l}]}})})},t.forContext=function(e,r){return new t(e,r)},t}(),ts=function(t){function e(e){var r=t.call(this)||this;return r.data=e,r}return(0,k.C6)(e,t),e.prototype.clone=function(){return e.of(this.data.slice())},e.prototype.toString=function(){return"PDFInvalidObject("+this.data.length+" bytes)"},e.prototype.sizeInBytes=function(){return this.data.length},e.prototype.copyBytesInto=function(t,e){for(var r=this.data.length,o=0;o<r;o++)t[e++]=this.data[o];return r},e.of=function(t){return new e(t)},e}(R.A);(n=y||(y={}))[n.Deleted=0]="Deleted",n[n.Uncompressed=1]="Uncompressed",n[n.Compressed=2]="Compressed";var tu=function(t){function e(e,r,o){void 0===o&&(o=!0);var n=t.call(this,e,o)||this;return n.computeIndex=function(){for(var t=[],e=0,r=0,o=n.entries.length;r<o;r++){var i=n.entries[r],a=n.entries[r-1];0===r?t.push(i.ref.objectNumber):i.ref.objectNumber-a.ref.objectNumber>1&&(t.push(e),t.push(i.ref.objectNumber),e=0),e+=1}return t.push(e),t},n.computeEntryTuples=function(){for(var t=Array(n.entries.length),e=0,r=n.entries.length;e<r;e++){var o=n.entries[e];if(o.type===y.Deleted){var i=o.type,a=o.nextFreeObjectNumber,s=o.ref;t[e]=[i,a,s.generationNumber]}if(o.type===y.Uncompressed){var i=o.type,u=o.offset,s=o.ref;t[e]=[i,u,s.generationNumber]}if(o.type===y.Compressed){var i=o.type,c=o.objectStreamRef,l=o.index;t[e]=[i,c.objectNumber,l]}}return t},n.computeMaxEntryByteWidths=function(){for(var t=n.entryTuplesCache.access(),e=[0,0,0],r=0,o=t.length;r<o;r++){var i=t[r],a=i[0],s=i[1],u=i[2],c=(0,O.Wl)(a),l=(0,O.Wl)(s),h=(0,O.Wl)(u);c>e[0]&&(e[0]=c),l>e[1]&&(e[1]=l),h>e[2]&&(e[2]=h)}return e},n.entries=r||[],n.entryTuplesCache=O.l2.populatedBy(n.computeEntryTuples),n.maxByteWidthsCache=O.l2.populatedBy(n.computeMaxEntryByteWidths),n.indexCache=O.l2.populatedBy(n.computeIndex),e.set(z.A.of("Type"),z.A.of("XRef")),n}return(0,k.C6)(e,t),e.prototype.addDeletedEntry=function(t,e){var r=y.Deleted;this.entries.push({type:r,ref:t,nextFreeObjectNumber:e}),this.entryTuplesCache.invalidate(),this.maxByteWidthsCache.invalidate(),this.indexCache.invalidate(),this.contentsCache.invalidate()},e.prototype.addUncompressedEntry=function(t,e){var r=y.Uncompressed;this.entries.push({type:r,ref:t,offset:e}),this.entryTuplesCache.invalidate(),this.maxByteWidthsCache.invalidate(),this.indexCache.invalidate(),this.contentsCache.invalidate()},e.prototype.addCompressedEntry=function(t,e,r){var o=y.Compressed;this.entries.push({type:o,ref:t,objectStreamRef:e,index:r}),this.entryTuplesCache.invalidate(),this.maxByteWidthsCache.invalidate(),this.indexCache.invalidate(),this.contentsCache.invalidate()},e.prototype.clone=function(t){var r=this.dict,o=this.entries,n=this.encode;return e.of(r.clone(t),o.slice(),n)},e.prototype.getContentsString=function(){for(var t=this.entryTuplesCache.access(),e=this.maxByteWidthsCache.access(),r="",o=0,n=t.length;o<n;o++){for(var i=t[o],a=i[0],s=i[1],u=i[2],c=(0,O.q7)((0,O.D_)(a)),l=(0,O.q7)((0,O.D_)(s)),h=(0,O.q7)((0,O.D_)(u)),d=e[0]-1;d>=0;d--)r+=(c[d]||0).toString(2);for(var d=e[1]-1;d>=0;d--)r+=(l[d]||0).toString(2);for(var d=e[2]-1;d>=0;d--)r+=(h[d]||0).toString(2)}return r},e.prototype.getUnencodedContents=function(){for(var t=this.entryTuplesCache.access(),e=this.maxByteWidthsCache.access(),r=new Uint8Array(this.getUnencodedContentsSize()),o=0,n=0,i=t.length;n<i;n++){for(var a=t[n],s=a[0],u=a[1],c=a[2],l=(0,O.q7)((0,O.D_)(s)),h=(0,O.q7)((0,O.D_)(u)),d=(0,O.q7)((0,O.D_)(c)),f=e[0]-1;f>=0;f--)r[o++]=l[f]||0;for(var f=e[1]-1;f>=0;f--)r[o++]=h[f]||0;for(var f=e[2]-1;f>=0;f--)r[o++]=d[f]||0}return r},e.prototype.getUnencodedContentsSize=function(){var t=this.maxByteWidthsCache.access();return(0,O.cz)(t)*this.entries.length},e.prototype.updateDict=function(){t.prototype.updateDict.call(this);var e=this.maxByteWidthsCache.access(),r=this.indexCache.access(),o=this.dict.context;this.dict.set(z.A.of("W"),o.obj(e)),this.dict.set(z.A.of("Index"),o.obj(r))},e.create=function(t,r){void 0===r&&(r=!0);var o=new e(t,[],r);return o.addDeletedEntry(G.of(0,65535),0),o},e.of=function(t,r,o){return void 0===o&&(o=!0),new e(t,r,o)},e}(Q),tc=function(t){function e(e,r,o,n){var i=t.call(this,e,r)||this;return i.encodeStreams=o,i.objectsPerStream=n,i}return(0,k.C6)(e,t),e.prototype.computeBufferSize=function(){return(0,k.sH)(this,void 0,void 0,function(){var t,e,r,o,n,i,a,s,u,c,l,h,d,f,p,g,y,v,m;return(0,k.YH)(this,function(b){switch(b.label){case 0:t=this.context.largestObjectNumber+1,r=(e=N.forVersion(1,7)).sizeInBytes()+2,o=tu.create(this.createTrailerDict(),this.encodeStreams),n=[],i=[],a=[],s=this.context.enumerateIndirectObjects(),u=0,c=s.length,b.label=1;case 1:if(!(u<c))return[3,6];if(h=(l=s[u])[0],d=l[1],!(h===this.context.trailerInfo.Encrypt||d instanceof V||d instanceof ts||0!==h.generationNumber))return[3,4];if(n.push(l),o.addUncompressedEntry(h,r),r+=this.computeIndirectObjectSize(l),!this.shouldWaitForTick(1))return[3,3];return[4,(0,O.KP)()];case 2:b.sent(),b.label=3;case 3:return[3,5];case 4:f=(0,O.HV)(i),p=(0,O.HV)(a),f&&f.length%this.objectsPerStream!=0||(f=[],i.push(f),p=G.of(t++),a.push(p)),o.addCompressedEntry(h,p,f.length),f.push(l),b.label=5;case 5:return u++,[3,1];case 6:u=0,c=i.length,b.label=7;case 7:if(!(u<c))return[3,10];if(f=i[u],h=a[u],g=ti.withContextAndObjects(this.context,f,this.encodeStreams),o.addUncompressedEntry(h,r),r+=this.computeIndirectObjectSize([h,g]),n.push([h,g]),!this.shouldWaitForTick(f.length))return[3,9];return[4,(0,O.KP)()];case 8:b.sent(),b.label=9;case 9:return u++,[3,7];case 10:return y=G.of(t++),o.dict.set(z.A.of("Size"),L.A.of(t)),o.addUncompressedEntry(y,r),v=r,r+=this.computeIndirectObjectSize([y,o]),n.push([y,o]),m=to.forLastCrossRefSectionOffset(v),[2,{size:r+=m.sizeInBytes(),header:e,indirectObjects:n,trailer:m}]}})})},e.forContext=function(t,r,o,n){return void 0===o&&(o=!0),void 0===n&&(n=50),new e(t,r,o,n)},e}(ta),tl=r(35377),th=r(15291),td=function(){function t(t,e){this.encoding=t===tl.sD.ZapfDingbats?tl.p6.ZapfDingbats:t===tl.sD.Symbol?tl.p6.Symbol:tl.p6.WinAnsi,this.font=tl.KQ.load(t),this.fontName=this.font.FontName,this.customName=e}return t.prototype.encodeText=function(t){for(var e=this.encodeTextAsGlyphs(t),r=Array(e.length),o=0,n=e.length;o<n;o++)r[o]=(0,O.U5)(e[o].code);return th.A.of(r.join(""))},t.prototype.widthOfTextAtSize=function(t,e){for(var r=this.encodeTextAsGlyphs(t),o=0,n=0,i=r.length;n<i;n++){var a=r[n].name,s=(r[n+1]||{}).name,u=this.font.getXAxisKerningForPair(a,s)||0;o+=this.widthOfGlyph(a)+u}return e/1e3*o},t.prototype.heightOfFontAtSize=function(t,e){void 0===e&&(e={});var r=e.descender,o=this.font,n=o.Ascender,i=o.Descender,a=o.FontBBox,s=(n||a[3])-(i||a[1]);return void 0===r||r||(s+=i||0),s/1e3*t},t.prototype.sizeOfFontAtHeight=function(t){var e=this.font,r=e.Ascender,o=e.Descender,n=e.FontBBox;return 1e3*t/((r||n[3])-(o||n[1]))},t.prototype.embedIntoContext=function(t,e){var r=t.obj({Type:"Font",Subtype:"Type1",BaseFont:this.customName||this.fontName,Encoding:this.encoding===tl.p6.WinAnsi?"WinAnsiEncoding":void 0});return e?(t.assign(e,r),e):t.register(r)},t.prototype.widthOfGlyph=function(t){return this.font.getWidthOfGlyph(t)||250},t.prototype.encodeTextAsGlyphs=function(t){for(var e=Array.from(t),r=Array(e.length),o=0,n=e.length;o<n;o++){var i=(0,O.XX)(e[o]);r[o]=this.encoding.encodeUnicodeCodePoint(i)}return r},t.for=function(e,r){return new t(e,r)},t}(),tf=r(28315),tp=r(89384),tg=r(9326),ty=function(){function t(t,e,r,o){var n=this;this.allGlyphsInFontSortedById=function(){for(var t=Array(n.font.characterSet.length),e=0,r=t.length;e<r;e++){var o=n.font.characterSet[e];t[e]=n.font.glyphForCodePoint(o)}return(0,O.TR)(t.sort(O.nM),function(t){return t.id})},this.font=t,this.scale=1e3/this.font.unitsPerEm,this.fontData=e,this.fontName=this.font.postscriptName||"Font",this.customName=r,this.fontFeatures=o,this.baseFontName="",this.glyphCache=O.l2.populatedBy(this.allGlyphsInFontSortedById)}return t.for=function(e,r,o,n){return(0,k.sH)(this,void 0,void 0,function(){return(0,k.YH)(this,function(i){switch(i.label){case 0:return[4,e.create(r)];case 1:return[2,new t(i.sent(),r,o,n)]}})})},t.prototype.encodeText=function(t){for(var e=this.font.layout(t,this.fontFeatures).glyphs,r=Array(e.length),o=0,n=e.length;o<n;o++)r[o]=(0,O.vu)(e[o].id,4);return th.A.of(r.join(""))},t.prototype.widthOfTextAtSize=function(t,e){for(var r=this.font.layout(t,this.fontFeatures).glyphs,o=0,n=0,i=r.length;n<i;n++)o+=r[n].advanceWidth*this.scale;return e/1e3*o},t.prototype.heightOfFontAtSize=function(t,e){void 0===e&&(e={});var r=e.descender,o=this.font,n=o.ascent,i=o.descent,a=o.bbox,s=(n||a.maxY)*this.scale-(i||a.minY)*this.scale;return void 0===r||r||(s-=Math.abs(i)||0),s/1e3*t},t.prototype.sizeOfFontAtHeight=function(t){var e=this.font,r=e.ascent,o=e.descent,n=e.bbox;return 1e3*t/((r||n.maxY)*this.scale-(o||n.minY)*this.scale)},t.prototype.embedIntoContext=function(t,e){return this.baseFontName=this.customName||t.addRandomSuffix(this.fontName),this.embedFontDict(t,e)},t.prototype.embedFontDict=function(t,e){return(0,k.sH)(this,void 0,void 0,function(){var r,o,n;return(0,k.YH)(this,function(i){switch(i.label){case 0:return[4,this.embedCIDFontDict(t)];case 1:if(r=i.sent(),o=this.embedUnicodeCmap(t),n=t.obj({Type:"Font",Subtype:"Type0",BaseFont:this.baseFontName,Encoding:"Identity-H",DescendantFonts:[r],ToUnicode:o}),e)return t.assign(e,n),[2,e];return[2,t.register(n)]}})})},t.prototype.isCFF=function(){return this.font.cff},t.prototype.embedCIDFontDict=function(t){return(0,k.sH)(this,void 0,void 0,function(){var e,r;return(0,k.YH)(this,function(o){switch(o.label){case 0:return[4,this.embedFontDescriptor(t)];case 1:return e=o.sent(),r=t.obj({Type:"Font",Subtype:this.isCFF()?"CIDFontType0":"CIDFontType2",CIDToGIDMap:"Identity",BaseFont:this.baseFontName,CIDSystemInfo:{Registry:tg.A.of("Adobe"),Ordering:tg.A.of("Identity"),Supplement:0},FontDescriptor:e,W:this.computeWidths()}),[2,t.register(r)]}})})},t.prototype.embedFontDescriptor=function(t){return(0,k.sH)(this,void 0,void 0,function(){var e,r,o,n,i,a,s,u,c,l,h,d,f,p,g;return(0,k.YH)(this,function(y){switch(y.label){case 0:return[4,this.embedFontStream(t)];case 1:return e=y.sent(),r=this.scale,n=(o=this.font).italicAngle,i=o.ascent,a=o.descent,s=o.capHeight,u=o.xHeight,l=(c=this.font.bbox).minX,h=c.minY,d=c.maxX,f=c.maxY,p=t.obj(((g={Type:"FontDescriptor",FontName:this.baseFontName,Flags:(0,tp.g)(this.font),FontBBox:[l*r,h*r,d*r,f*r],ItalicAngle:n,Ascent:i*r,Descent:a*r,CapHeight:(s||i)*r,XHeight:(u||0)*r,StemV:0})[this.isCFF()?"FontFile3":"FontFile2"]=e,g)),[2,t.register(p)]}})})},t.prototype.serializeFont=function(){return(0,k.sH)(this,void 0,void 0,function(){return(0,k.YH)(this,function(t){return[2,this.fontData]})})},t.prototype.embedFontStream=function(t){return(0,k.sH)(this,void 0,void 0,function(){var e,r,o;return(0,k.YH)(this,function(n){switch(n.label){case 0:return o=(r=t).flateStream,[4,this.serializeFont()];case 1:return e=o.apply(r,[n.sent(),{Subtype:this.isCFF()?"CIDFontType0C":void 0}]),[2,t.register(e)]}})})},t.prototype.embedUnicodeCmap=function(t){var e=(0,tf.W)(this.glyphCache.access(),this.glyphId.bind(this)),r=t.flateStream(e);return t.register(r)},t.prototype.glyphId=function(t){return t?t.id:-1},t.prototype.computeWidths=function(){for(var t=this.glyphCache.access(),e=[],r=[],o=0,n=t.length;o<n;o++){var i=t[o],a=t[o-1],s=this.glyphId(i),u=this.glyphId(a);0===o?e.push(s):s-u!=1&&(e.push(r),e.push(s),r=[]),r.push(i.advanceWidth*this.scale)}return e.push(r),e},t}(),tv=function(t){function e(e,r,o,n){var i=t.call(this,e,r,o,n)||this;return i.subset=i.font.createSubset(),i.glyphs=[],i.glyphCache=O.l2.populatedBy(function(){return i.glyphs}),i.glyphIdMap=new Map,i}return(0,k.C6)(e,t),e.for=function(t,r,o,n){return(0,k.sH)(this,void 0,void 0,function(){return(0,k.YH)(this,function(i){switch(i.label){case 0:return[4,t.create(r)];case 1:return[2,new e(i.sent(),r,o,n)]}})})},e.prototype.encodeText=function(t){for(var e=this.font.layout(t,this.fontFeatures).glyphs,r=Array(e.length),o=0,n=e.length;o<n;o++){var i=e[o],a=this.subset.includeGlyph(i);this.glyphs[a-1]=i,this.glyphIdMap.set(i.id,a),r[o]=(0,O.vu)(a,4)}return this.glyphCache.invalidate(),th.A.of(r.join(""))},e.prototype.isCFF=function(){return this.subset.cff},e.prototype.glyphId=function(t){return t?this.glyphIdMap.get(t.id):-1},e.prototype.serializeFont=function(){var t=this;return new Promise(function(e,r){var o=[];t.subset.encodeStream().on("data",function(t){return o.push(t)}).on("end",function(){return e((0,O.FP)(o))}).on("error",function(t){return r(t)})})},e}(ty),tm=r(94460),tb=[65472,65473,65474,65475,65477,65478,65479,65480,65481,65482,65483,65484,65485,65486,65487];(i=v||(v={})).DeviceGray="DeviceGray",i.DeviceRGB="DeviceRGB",i.DeviceCMYK="DeviceCMYK";var tA={1:v.DeviceGray,3:v.DeviceRGB,4:v.DeviceCMYK},tC=function(){function t(t,e,r,o,n){this.imageData=t,this.bitsPerComponent=e,this.width=r,this.height=o,this.colorSpace=n}return t.for=function(e){return(0,k.sH)(this,void 0,void 0,function(){var r,o,n,i,a,s,u;return(0,k.YH)(this,function(c){if(65496!==(r=new DataView(e.buffer)).getUint16(0))throw Error("SOI not found in JPEG");for(o=2;o<r.byteLength&&(n=r.getUint16(o),o+=2,!tb.includes(n));)o+=r.getUint16(o);if(!tb.includes(n))throw Error("Invalid JPEG");if(o+=2,i=r.getUint8(o++),a=r.getUint16(o),o+=2,s=r.getUint16(o),o+=2,!(u=tA[r.getUint8(o++)]))throw Error("Unknown JPEG channel.");return[2,new t(e,i,s,a,u)]})})},t.prototype.embedIntoContext=function(t,e){return(0,k.sH)(this,void 0,void 0,function(){var r;return(0,k.YH)(this,function(o){return(r=t.stream(this.imageData,{Type:"XObject",Subtype:"Image",BitsPerComponent:this.bitsPerComponent,Width:this.width,Height:this.height,ColorSpace:this.colorSpace,Filter:"DCTDecode",Decode:this.colorSpace===v.DeviceCMYK?[1,0,1,0,1,0,1,0]:void 0}),e)?(t.assign(e,r),[2,e]):[2,t.register(r)]})})},t}(),tF=r(22193),tS=function(){function t(t){this.image=t,this.bitsPerComponent=t.bitsPerComponent,this.width=t.width,this.height=t.height,this.colorSpace="DeviceRGB"}return t.for=function(e){return(0,k.sH)(this,void 0,void 0,function(){return(0,k.YH)(this,function(r){return[2,new t(tF.O.load(e))]})})},t.prototype.embedIntoContext=function(t,e){return(0,k.sH)(this,void 0,void 0,function(){var r,o;return(0,k.YH)(this,function(n){return(r=this.embedAlphaChannel(t),o=t.flateStream(this.image.rgbChannel,{Type:"XObject",Subtype:"Image",BitsPerComponent:this.image.bitsPerComponent,Width:this.image.width,Height:this.image.height,ColorSpace:this.colorSpace,SMask:r}),e)?(t.assign(e,o),[2,e]):[2,t.register(o)]})})},t.prototype.embedAlphaChannel=function(t){if(this.image.alphaChannel){var e=t.flateStream(this.image.alphaChannel,{Type:"XObject",Subtype:"Image",Height:this.image.height,Width:this.image.width,BitsPerComponent:this.image.bitsPerComponent,ColorSpace:"DeviceGray",Decode:[0,1]});return t.register(e)}},t}(),tw=r(76075),tx=function(t){var e=t.MediaBox();return{left:0,bottom:0,right:e.lookup(2,L.A).asNumber()-e.lookup(0,L.A).asNumber(),top:e.lookup(3,L.A).asNumber()-e.lookup(1,L.A).asNumber()}},tD=function(){function t(t,e,r){this.page=t;var o=null!=e?e:tx(t);this.width=o.right-o.left,this.height=o.top-o.bottom,this.boundingBox=o,this.transformationMatrix=null!=r?r:[1,0,0,1,-o.left,-o.bottom]}return t.for=function(e,r,o){return(0,k.sH)(this,void 0,void 0,function(){return(0,k.YH)(this,function(n){return[2,new t(e,r,o)]})})},t.prototype.embedIntoContext=function(t,e){return(0,k.sH)(this,void 0,void 0,function(){var r,o,n,i,a,s,u,c,l,h;return(0,k.YH)(this,function(d){if(o=(r=this.page.normalizedEntries()).Contents,n=r.Resources,!o)throw new P.tX;return(i=this.decodeContents(o),s=(a=this.boundingBox).left,u=a.bottom,c=a.right,l=a.top,h=t.flateStream(i,{Type:"XObject",Subtype:"Form",FormType:1,BBox:[s,u,c,l],Matrix:this.transformationMatrix,Resources:n}),e)?(t.assign(e,h),[2,e]):[2,t.register(h)]})})},t.prototype.decodeContents=function(t){for(var e=Uint8Array.of(T.A.Newline),r=[],o=0,n=t.size();o<n;o++){var i=t.lookup(o,V),a=void 0;if(i instanceof H)a=(0,tw.j)(i).decode();else if(i instanceof X)a=i.getUnencodedContents();else throw new P.IX(i);r.push(a,e)}return O.If.apply(void 0,r)},t}(),tP=function(t,e){if(void 0!==t)return e[t]};(a=m||(m={})).UseNone="UseNone",a.UseOutlines="UseOutlines",a.UseThumbs="UseThumbs",a.UseOC="UseOC",(s=b||(b={})).L2R="L2R",s.R2L="R2L",(u=A||(A={})).None="None",u.AppDefault="AppDefault",(c=C||(C={})).Simplex="Simplex",c.DuplexFlipShortEdge="DuplexFlipShortEdge",c.DuplexFlipLongEdge="DuplexFlipLongEdge";var tT=function(){function t(t){this.dict=t}return t.prototype.lookupBool=function(t){var e=this.dict.lookup(z.A.of(t));if(e instanceof M)return e},t.prototype.lookupName=function(t){var e=this.dict.lookup(z.A.of(t));if(e instanceof z.A)return e},t.prototype.HideToolbar=function(){return this.lookupBool("HideToolbar")},t.prototype.HideMenubar=function(){return this.lookupBool("HideMenubar")},t.prototype.HideWindowUI=function(){return this.lookupBool("HideWindowUI")},t.prototype.FitWindow=function(){return this.lookupBool("FitWindow")},t.prototype.CenterWindow=function(){return this.lookupBool("CenterWindow")},t.prototype.DisplayDocTitle=function(){return this.lookupBool("DisplayDocTitle")},t.prototype.NonFullScreenPageMode=function(){return this.lookupName("NonFullScreenPageMode")},t.prototype.Direction=function(){return this.lookupName("Direction")},t.prototype.PrintScaling=function(){return this.lookupName("PrintScaling")},t.prototype.Duplex=function(){return this.lookupName("Duplex")},t.prototype.PickTrayByPDFSize=function(){return this.lookupBool("PickTrayByPDFSize")},t.prototype.PrintPageRange=function(){var t=this.dict.lookup(z.A.of("PrintPageRange"));if(t instanceof E.A)return t},t.prototype.NumCopies=function(){var t=this.dict.lookup(z.A.of("NumCopies"));if(t instanceof L.A)return t},t.prototype.getHideToolbar=function(){var t,e;return null!=(e=null==(t=this.HideToolbar())?void 0:t.asBoolean())&&e},t.prototype.getHideMenubar=function(){var t,e;return null!=(e=null==(t=this.HideMenubar())?void 0:t.asBoolean())&&e},t.prototype.getHideWindowUI=function(){var t,e;return null!=(e=null==(t=this.HideWindowUI())?void 0:t.asBoolean())&&e},t.prototype.getFitWindow=function(){var t,e;return null!=(e=null==(t=this.FitWindow())?void 0:t.asBoolean())&&e},t.prototype.getCenterWindow=function(){var t,e;return null!=(e=null==(t=this.CenterWindow())?void 0:t.asBoolean())&&e},t.prototype.getDisplayDocTitle=function(){var t,e;return null!=(e=null==(t=this.DisplayDocTitle())?void 0:t.asBoolean())&&e},t.prototype.getNonFullScreenPageMode=function(){var t,e;return null!=(e=tP(null==(t=this.NonFullScreenPageMode())?void 0:t.decodeText(),m))?e:m.UseNone},t.prototype.getReadingDirection=function(){var t,e;return null!=(e=tP(null==(t=this.Direction())?void 0:t.decodeText(),b))?e:b.L2R},t.prototype.getPrintScaling=function(){var t,e;return null!=(e=tP(null==(t=this.PrintScaling())?void 0:t.decodeText(),A))?e:A.AppDefault},t.prototype.getDuplex=function(){var t;return tP(null==(t=this.Duplex())?void 0:t.decodeText(),C)},t.prototype.getPickTrayByPDFSize=function(){var t;return null==(t=this.PickTrayByPDFSize())?void 0:t.asBoolean()},t.prototype.getPrintPageRange=function(){var t=this.PrintPageRange();if(!t)return[];for(var e=[],r=0;r<t.size();r+=2){var o=t.lookup(r,L.A).asNumber(),n=t.lookup(r+1,L.A).asNumber();e.push({start:o,end:n})}return e},t.prototype.getNumCopies=function(){var t,e;return null!=(e=null==(t=this.NumCopies())?void 0:t.asNumber())?e:1},t.prototype.setHideToolbar=function(t){var e=this.dict.context.obj(t);this.dict.set(z.A.of("HideToolbar"),e)},t.prototype.setHideMenubar=function(t){var e=this.dict.context.obj(t);this.dict.set(z.A.of("HideMenubar"),e)},t.prototype.setHideWindowUI=function(t){var e=this.dict.context.obj(t);this.dict.set(z.A.of("HideWindowUI"),e)},t.prototype.setFitWindow=function(t){var e=this.dict.context.obj(t);this.dict.set(z.A.of("FitWindow"),e)},t.prototype.setCenterWindow=function(t){var e=this.dict.context.obj(t);this.dict.set(z.A.of("CenterWindow"),e)},t.prototype.setDisplayDocTitle=function(t){var e=this.dict.context.obj(t);this.dict.set(z.A.of("DisplayDocTitle"),e)},t.prototype.setNonFullScreenPageMode=function(t){(0,O.Co)(t,"nonFullScreenPageMode",m);var e=z.A.of(t);this.dict.set(z.A.of("NonFullScreenPageMode"),e)},t.prototype.setReadingDirection=function(t){(0,O.Co)(t,"readingDirection",b);var e=z.A.of(t);this.dict.set(z.A.of("Direction"),e)},t.prototype.setPrintScaling=function(t){(0,O.Co)(t,"printScaling",A);var e=z.A.of(t);this.dict.set(z.A.of("PrintScaling"),e)},t.prototype.setDuplex=function(t){(0,O.Co)(t,"duplex",C);var e=z.A.of(t);this.dict.set(z.A.of("Duplex"),e)},t.prototype.setPickTrayByPDFSize=function(t){var e=this.dict.context.obj(t);this.dict.set(z.A.of("PickTrayByPDFSize"),e)},t.prototype.setPrintPageRange=function(t){Array.isArray(t)||(t=[t]);for(var e=[],r=0,o=t.length;r<o;r++)e.push(t[r].start),e.push(t[r].end);(0,O.k)(e,"printPageRange",["number"]);var n=this.dict.context.obj(e);this.dict.set(z.A.of("PrintPageRange"),n)},t.prototype.setNumCopies=function(t){(0,O.Qb)(t,"numCopies",1,Number.MAX_VALUE),(0,O.vk)(t,"numCopies");var e=this.dict.context.obj(t);this.dict.set(z.A.of("NumCopies"),e)},t.fromDict=function(e){return new t(e)},t.create=function(e){return new t(e.obj({}))},t}(),tk=/\/([^\0\t\n\f\r\ ]+)[\0\t\n\f\r\ ]*(\d*\.\d+|\d+)?[\0\t\n\f\r\ ]+Tf/,tB=function(){function t(t,e){this.dict=t,this.ref=e}return t.prototype.T=function(){return this.dict.lookupMaybe(z.A.of("T"),tg.A,th.A)},t.prototype.Ff=function(){var t=this.getInheritableAttribute(z.A.of("Ff"));return this.dict.context.lookupMaybe(t,L.A)},t.prototype.V=function(){var t=this.getInheritableAttribute(z.A.of("V"));return this.dict.context.lookup(t)},t.prototype.Kids=function(){return this.dict.lookupMaybe(z.A.of("Kids"),E.A)},t.prototype.DA=function(){var t=this.dict.lookup(z.A.of("DA"));if(t instanceof tg.A||t instanceof th.A)return t},t.prototype.setKids=function(t){this.dict.set(z.A.of("Kids"),this.dict.context.obj(t))},t.prototype.getParent=function(){var e=this.dict.get(z.A.of("Parent"));if(e instanceof G)return new t(this.dict.lookup(z.A.of("Parent"),W.A),e)},t.prototype.setParent=function(t){t?this.dict.set(z.A.of("Parent"),t):this.dict.delete(z.A.of("Parent"))},t.prototype.getFullyQualifiedName=function(){var t=this.getParent();return t?t.getFullyQualifiedName()+"."+this.getPartialName():this.getPartialName()},t.prototype.getPartialName=function(){var t;return null==(t=this.T())?void 0:t.decodeText()},t.prototype.setPartialName=function(t){t?this.dict.set(z.A.of("T"),th.A.fromText(t)):this.dict.delete(z.A.of("T"))},t.prototype.setDefaultAppearance=function(t){this.dict.set(z.A.of("DA"),tg.A.of(t))},t.prototype.getDefaultAppearance=function(){var t=this.DA();return t instanceof th.A?t.decodeText():null==t?void 0:t.asString()},t.prototype.setFontSize=function(t){var e,r=null!=(e=this.getFullyQualifiedName())?e:"",o=this.getDefaultAppearance();if(!o)throw new P.o4(r);var n=(0,O.dJ)(o,tk);if(!n.match)throw new P.F2(r);var i=o.slice(0,n.pos-n.match[0].length),a=n.pos<=o.length?o.slice(n.pos):"",s=i+" /"+n.match[1]+" "+t+" Tf "+a;this.setDefaultAppearance(s)},t.prototype.getFlags=function(){var t,e;return null!=(e=null==(t=this.Ff())?void 0:t.asNumber())?e:0},t.prototype.setFlags=function(t){this.dict.set(z.A.of("Ff"),L.A.of(t))},t.prototype.hasFlag=function(t){return(this.getFlags()&t)!=0},t.prototype.setFlag=function(t){var e=this.getFlags();this.setFlags(e|t)},t.prototype.clearFlag=function(t){var e=this.getFlags();this.setFlags(e&~t)},t.prototype.setFlagTo=function(t,e){e?this.setFlag(t):this.clearFlag(t)},t.prototype.getInheritableAttribute=function(t){var e;return this.ascend(function(r){e||(e=r.dict.get(t))}),e},t.prototype.ascend=function(t){t(this);var e=this.getParent();e&&e.ascend(t)},t}(),tj=r(82137),tO=function(){function t(t){this.dict=t}return t.prototype.Rect=function(){return this.dict.lookup(z.A.of("Rect"),E.A)},t.prototype.AP=function(){return this.dict.lookupMaybe(z.A.of("AP"),W.A)},t.prototype.F=function(){var t=this.dict.lookup(z.A.of("F"));return this.dict.context.lookupMaybe(t,L.A)},t.prototype.getRectangle=function(){var t,e=this.Rect();return null!=(t=null==e?void 0:e.asRectangle())?t:{x:0,y:0,width:0,height:0}},t.prototype.setRectangle=function(t){var e=t.x,r=t.y,o=t.width,n=t.height,i=this.dict.context.obj([e,r,e+o,r+n]);this.dict.set(z.A.of("Rect"),i)},t.prototype.getAppearanceState=function(){var t=this.dict.lookup(z.A.of("AS"));if(t instanceof z.A)return t},t.prototype.setAppearanceState=function(t){this.dict.set(z.A.of("AS"),t)},t.prototype.setAppearances=function(t){this.dict.set(z.A.of("AP"),t)},t.prototype.ensureAP=function(){var t=this.AP();return t||(t=this.dict.context.obj({}),this.dict.set(z.A.of("AP"),t)),t},t.prototype.getNormalAppearance=function(){var t=this.ensureAP().get(z.A.of("N"));if(t instanceof G||t instanceof W.A)return t;throw Error("Unexpected N type: "+(null==t?void 0:t.constructor.name))},t.prototype.setNormalAppearance=function(t){this.ensureAP().set(z.A.of("N"),t)},t.prototype.setRolloverAppearance=function(t){this.ensureAP().set(z.A.of("R"),t)},t.prototype.setDownAppearance=function(t){this.ensureAP().set(z.A.of("D"),t)},t.prototype.removeRolloverAppearance=function(){var t=this.AP();null==t||t.delete(z.A.of("R"))},t.prototype.removeDownAppearance=function(){var t=this.AP();null==t||t.delete(z.A.of("D"))},t.prototype.getAppearances=function(){var t=this.AP();if(t)return{normal:t.lookup(z.A.of("N"),W.A,V),rollover:t.lookupMaybe(z.A.of("R"),W.A,V),down:t.lookupMaybe(z.A.of("D"),W.A,V)}},t.prototype.getFlags=function(){var t,e;return null!=(e=null==(t=this.F())?void 0:t.asNumber())?e:0},t.prototype.setFlags=function(t){this.dict.set(z.A.of("F"),L.A.of(t))},t.prototype.hasFlag=function(t){return(this.getFlags()&t)!=0},t.prototype.setFlag=function(t){var e=this.getFlags();this.setFlags(e|t)},t.prototype.clearFlag=function(t){var e=this.getFlags();this.setFlags(e&~t)},t.prototype.setFlagTo=function(t,e){e?this.setFlag(t):this.clearFlag(t)},t.fromDict=function(e){return new t(e)},t}(),tN=function(){function t(t){this.dict=t}return t.prototype.R=function(){var t=this.dict.lookup(z.A.of("R"));if(t instanceof L.A)return t},t.prototype.BC=function(){var t=this.dict.lookup(z.A.of("BC"));if(t instanceof E.A)return t},t.prototype.BG=function(){var t=this.dict.lookup(z.A.of("BG"));if(t instanceof E.A)return t},t.prototype.CA=function(){var t=this.dict.lookup(z.A.of("CA"));if(t instanceof th.A||t instanceof tg.A)return t},t.prototype.RC=function(){var t=this.dict.lookup(z.A.of("RC"));if(t instanceof th.A||t instanceof tg.A)return t},t.prototype.AC=function(){var t=this.dict.lookup(z.A.of("AC"));if(t instanceof th.A||t instanceof tg.A)return t},t.prototype.getRotation=function(){var t;return null==(t=this.R())?void 0:t.asNumber()},t.prototype.getBorderColor=function(){var t=this.BC();if(t){for(var e=[],r=0,o=null==t?void 0:t.size();r<o;r++){var n=t.get(r);n instanceof L.A&&e.push(n.asNumber())}return e}},t.prototype.getBackgroundColor=function(){var t=this.BG();if(t){for(var e=[],r=0,o=null==t?void 0:t.size();r<o;r++){var n=t.get(r);n instanceof L.A&&e.push(n.asNumber())}return e}},t.prototype.getCaptions=function(){var t=this.CA(),e=this.RC(),r=this.AC();return{normal:null==t?void 0:t.decodeText(),rollover:null==e?void 0:e.decodeText(),down:null==r?void 0:r.decodeText()}},t.prototype.setRotation=function(t){var e=this.dict.context.obj(t);this.dict.set(z.A.of("R"),e)},t.prototype.setBorderColor=function(t){var e=this.dict.context.obj(t);this.dict.set(z.A.of("BC"),e)},t.prototype.setBackgroundColor=function(t){var e=this.dict.context.obj(t);this.dict.set(z.A.of("BG"),e)},t.prototype.setCaptions=function(t){var e=th.A.fromText(t.normal);if(this.dict.set(z.A.of("CA"),e),t.rollover){var r=th.A.fromText(t.rollover);this.dict.set(z.A.of("RC"),r)}else this.dict.delete(z.A.of("RC"));if(t.down){var o=th.A.fromText(t.down);this.dict.set(z.A.of("AC"),o)}else this.dict.delete(z.A.of("AC"))},t.fromDict=function(e){return new t(e)},t}(),tE=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,k.C6)(e,t),e.prototype.MK=function(){var t=this.dict.lookup(z.A.of("MK"));if(t instanceof W.A)return t},e.prototype.BS=function(){var t=this.dict.lookup(z.A.of("BS"));if(t instanceof W.A)return t},e.prototype.DA=function(){var t=this.dict.lookup(z.A.of("DA"));if(t instanceof tg.A||t instanceof th.A)return t},e.prototype.P=function(){var t=this.dict.get(z.A.of("P"));if(t instanceof G)return t},e.prototype.setP=function(t){this.dict.set(z.A.of("P"),t)},e.prototype.setDefaultAppearance=function(t){this.dict.set(z.A.of("DA"),tg.A.of(t))},e.prototype.getDefaultAppearance=function(){var t=this.DA();return t instanceof th.A?t.decodeText():null==t?void 0:t.asString()},e.prototype.getAppearanceCharacteristics=function(){var t=this.MK();if(t)return tN.fromDict(t)},e.prototype.getOrCreateAppearanceCharacteristics=function(){var t=this.MK();if(t)return tN.fromDict(t);var e=tN.fromDict(this.dict.context.obj({}));return this.dict.set(z.A.of("MK"),e.dict),e},e.prototype.getBorderStyle=function(){var t=this.BS();if(t)return tj.A.fromDict(t)},e.prototype.getOrCreateBorderStyle=function(){var t=this.BS();if(t)return tj.A.fromDict(t);var e=tj.A.fromDict(this.dict.context.obj({}));return this.dict.set(z.A.of("BS"),e.dict),e},e.prototype.getOnValue=function(){var t,e=null==(t=this.getAppearances())?void 0:t.normal;if(e instanceof W.A)for(var r=e.keys(),o=0,n=r.length;o<n;o++){var i=r[o];if(i!==z.A.of("Off"))return i}},e.fromDict=function(t){return new e(t)},e.create=function(t,r){return new e(t.obj({Type:"Annot",Subtype:"Widget",Rect:[0,0,0,0],Parent:r}))},e}(tO),tR=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,k.C6)(e,t),e.prototype.FT=function(){var t=this.getInheritableAttribute(z.A.of("FT"));return this.dict.context.lookup(t,z.A)},e.prototype.getWidgets=function(){var t=this.Kids();if(!t)return[tE.fromDict(this.dict)];for(var e=Array(t.size()),r=0,o=t.size();r<o;r++){var n=t.lookup(r,W.A);e[r]=tE.fromDict(n)}return e},e.prototype.addWidget=function(t){this.normalizedEntries().Kids.push(t)},e.prototype.removeWidget=function(t){var e=this.Kids();if(e){if(t<0||t>e.size())throw new P.fx(t,0,e.size());e.remove(t)}else{if(0!==t)throw new P.fx(t,0,0);this.setKids([])}},e.prototype.normalizedEntries=function(){var t=this.Kids();return t||(t=this.dict.context.obj([this.ref]),this.dict.set(z.A.of("Kids"),t)),{Kids:t}},e.fromDict=function(t,r){return new e(t,r)},e}(tB),tI=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,k.C6)(e,t),e.prototype.Opt=function(){return this.dict.lookupMaybe(z.A.of("Opt"),tg.A,th.A,E.A)},e.prototype.setOpt=function(t){this.dict.set(z.A.of("Opt"),this.dict.context.obj(t))},e.prototype.getExportValues=function(){var t=this.Opt();if(t){if(t instanceof tg.A||t instanceof th.A)return[t];for(var e=[],r=0,o=t.size();r<o;r++){var n=t.lookup(r);(n instanceof tg.A||n instanceof th.A)&&e.push(n)}return e}},e.prototype.removeExportValue=function(t){var e=this.Opt();if(e)if(e instanceof tg.A||e instanceof th.A){if(0!==t)throw new P.fx(t,0,0);this.setOpt([])}else{if(t<0||t>e.size())throw new P.fx(t,0,e.size());e.remove(t)}},e.prototype.normalizeExportValues=function(){for(var t,e,r,o,n=null!=(t=this.getExportValues())?t:[],i=[],a=this.getWidgets(),s=0,u=a.length;s<u;s++){var c=a[s],l=null!=(e=n[s])?e:th.A.fromText(null!=(o=null==(r=c.getOnValue())?void 0:r.decodeText())?o:"");i.push(l)}this.setOpt(i)},e.prototype.addOpt=function(t,e){this.normalizeExportValues();var r,o,n=t.decodeText();if(e)for(var i=null!=(r=this.getExportValues())?r:[],a=0,s=i.length;a<s;a++)i[a].decodeText()===n&&(o=a);var u=this.Opt();return u.push(t),null!=o?o:u.size()-1},e.prototype.addWidgetWithOpt=function(t,e,r){var o=this.addOpt(e,r),n=z.A.of(String(o));return this.addWidget(t),n},e}(tR),tM=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,k.C6)(e,t),e.prototype.setValue=function(t){if(t!==(null!=(e=this.getOnValue())?e:z.A.of("Yes"))&&t!==z.A.of("Off"))throw new P.cR;this.dict.set(z.A.of("V"),t);for(var e,r=this.getWidgets(),o=0,n=r.length;o<n;o++){var i=r[o],a=i.getOnValue()===t?t:z.A.of("Off");i.setAppearanceState(a)}},e.prototype.getValue=function(){var t=this.V();return t instanceof z.A?t:z.A.of("Off")},e.prototype.getOnValue=function(){var t=this.getWidgets()[0];return null==t?void 0:t.getOnValue()},e.fromDict=function(t,r){return new e(t,r)},e.create=function(t){var r=t.obj({FT:"Btn",Kids:[]}),o=t.register(r);return new e(r,o)},e}(tI),tW=function(t){return 1<<t};(l=F||(F={}))[l.ReadOnly=tW(0)]="ReadOnly",l[l.Required=tW(1)]="Required",l[l.NoExport=tW(2)]="NoExport",(h=S||(S={}))[h.NoToggleToOff=tW(14)]="NoToggleToOff",h[h.Radio=tW(15)]="Radio",h[h.PushButton=tW(16)]="PushButton",h[h.RadiosInUnison=tW(25)]="RadiosInUnison",(d=w||(w={}))[d.Multiline=tW(12)]="Multiline",d[d.Password=tW(13)]="Password",d[d.FileSelect=tW(20)]="FileSelect",d[d.DoNotSpellCheck=tW(22)]="DoNotSpellCheck",d[d.DoNotScroll=tW(23)]="DoNotScroll",d[d.Comb=tW(24)]="Comb",d[d.RichText=tW(25)]="RichText",(f=x||(x={}))[f.Combo=tW(17)]="Combo",f[f.Edit=tW(18)]="Edit",f[f.Sort=tW(19)]="Sort",f[f.MultiSelect=tW(21)]="MultiSelect",f[f.DoNotSpellCheck=tW(22)]="DoNotSpellCheck",f[f.CommitOnSelChange=tW(26)]="CommitOnSelChange";var tz=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,k.C6)(e,t),e.prototype.setValues=function(t){if(this.hasFlag(x.Combo)&&!this.hasFlag(x.Edit)&&!this.valuesAreValid(t))throw new P.cR;if(0===t.length&&this.dict.delete(z.A.of("V")),1===t.length&&this.dict.set(z.A.of("V"),t[0]),t.length>1){if(!this.hasFlag(x.MultiSelect))throw new P.Hi;this.dict.set(z.A.of("V"),this.dict.context.obj(t))}this.updateSelectedIndices(t)},e.prototype.valuesAreValid=function(t){for(var e=this.getOptions(),r=0,o=t.length;r<o;r++){var n=function(r){var o=t[r].decodeText();if(!e.find(function(t){return o===(t.display||t.value).decodeText()}))return{value:!1}}(r);if("object"==typeof n)return n.value}return!0},e.prototype.updateSelectedIndices=function(t){if(t.length>1){for(var e=Array(t.length),r=this.getOptions(),o=0,n=t.length;o<n;o++)!function(o){var n=t[o].decodeText();e[o]=r.findIndex(function(t){return n===(t.display||t.value).decodeText()})}(o);this.dict.set(z.A.of("I"),this.dict.context.obj(e.sort()))}else this.dict.delete(z.A.of("I"))},e.prototype.getValues=function(){var t=this.V();if(t instanceof tg.A||t instanceof th.A)return[t];if(t instanceof E.A){for(var e=[],r=0,o=t.size();r<o;r++){var n=t.lookup(r);(n instanceof tg.A||n instanceof th.A)&&e.push(n)}return e}return[]},e.prototype.Opt=function(){return this.dict.lookupMaybe(z.A.of("Opt"),tg.A,th.A,E.A)},e.prototype.setOptions=function(t){for(var e=Array(t.length),r=0,o=t.length;r<o;r++){var n=t[r],i=n.value,a=n.display;e[r]=this.dict.context.obj([i,a||i])}this.dict.set(z.A.of("Opt"),this.dict.context.obj(e))},e.prototype.getOptions=function(){var t=this.Opt();if(t instanceof tg.A||t instanceof th.A)return[{value:t,display:t}];if(t instanceof E.A){for(var e=[],r=0,o=t.size();r<o;r++){var n=t.lookup(r);if((n instanceof tg.A||n instanceof th.A)&&e.push({value:n,display:n}),n instanceof E.A&&n.size()>0){var i=n.lookup(0,tg.A,th.A),a=n.lookupMaybe(1,tg.A,th.A);e.push({value:i,display:a||i})}}return e}return[]},e}(tR),tU=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,k.C6)(e,t),e.fromDict=function(t,r){return new e(t,r)},e.create=function(t){var r=t.obj({FT:"Ch",Ff:x.Combo,Kids:[]}),o=t.register(r);return new e(r,o)},e}(tz),tL=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,k.C6)(e,t),e.prototype.addField=function(t){var e=this.normalizedEntries().Kids;null==e||e.push(t)},e.prototype.normalizedEntries=function(){var t=this.Kids();return t||(t=this.dict.context.obj([]),this.dict.set(z.A.of("Kids"),t)),{Kids:t}},e.fromDict=function(t,r){return new e(t,r)},e.create=function(t){var r=t.obj({}),o=t.register(r);return new e(r,o)},e}(tB),tV=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,k.C6)(e,t),e.fromDict=function(t,r){return new e(t,r)},e}(tR),tH=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,k.C6)(e,t),e.prototype.MaxLen=function(){var t=this.dict.lookup(z.A.of("MaxLen"));if(t instanceof L.A)return t},e.prototype.Q=function(){var t=this.dict.lookup(z.A.of("Q"));if(t instanceof L.A)return t},e.prototype.setMaxLength=function(t){this.dict.set(z.A.of("MaxLen"),L.A.of(t))},e.prototype.removeMaxLength=function(){this.dict.delete(z.A.of("MaxLen"))},e.prototype.getMaxLength=function(){var t;return null==(t=this.MaxLen())?void 0:t.asNumber()},e.prototype.setQuadding=function(t){this.dict.set(z.A.of("Q"),L.A.of(t))},e.prototype.getQuadding=function(){var t;return null==(t=this.Q())?void 0:t.asNumber()},e.prototype.setValue=function(t){this.dict.set(z.A.of("V"),t)},e.prototype.removeValue=function(){this.dict.delete(z.A.of("V"))},e.prototype.getValue=function(){var t=this.V();if(t instanceof tg.A||t instanceof th.A)return t},e.fromDict=function(t,r){return new e(t,r)},e.create=function(t){var r=t.obj({FT:"Tx",Kids:[]}),o=t.register(r);return new e(r,o)},e}(tR),tK=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,k.C6)(e,t),e.fromDict=function(t,r){return new e(t,r)},e.create=function(t){var r=t.obj({FT:"Btn",Ff:S.PushButton,Kids:[]}),o=t.register(r);return new e(r,o)},e}(tI),tq=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,k.C6)(e,t),e.prototype.setValue=function(t){if(!this.getOnValues().includes(t)&&t!==z.A.of("Off"))throw new P.cR;this.dict.set(z.A.of("V"),t);for(var e=this.getWidgets(),r=0,o=e.length;r<o;r++){var n=e[r],i=n.getOnValue()===t?t:z.A.of("Off");n.setAppearanceState(i)}},e.prototype.getValue=function(){var t=this.V();return t instanceof z.A?t:z.A.of("Off")},e.prototype.getOnValues=function(){for(var t=this.getWidgets(),e=[],r=0,o=t.length;r<o;r++){var n=t[r].getOnValue();n&&e.push(n)}return e},e.fromDict=function(t,r){return new e(t,r)},e.create=function(t){var r=t.obj({FT:"Btn",Ff:S.Radio,Kids:[]}),o=t.register(r);return new e(r,o)},e}(tI),tG=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,k.C6)(e,t),e.fromDict=function(t,r){return new e(t,r)},e.create=function(t){var r=t.obj({FT:"Ch",Kids:[]}),o=t.register(r);return new e(r,o)},e}(tz),tJ=function(t){if(!t)return[];for(var e=[],r=0,o=t.size();r<o;r++){var n=t.get(r),i=t.lookup(r);n instanceof G&&i instanceof W.A&&e.push([tZ(i,n),n])}return e},tZ=function(t,e){return tQ(t)?tL.fromDict(t,e):tX(t,e)},tQ=function(t){var e=t.lookup(z.A.of("Kids"));if(e instanceof E.A)for(var r=0,o=e.size();r<o;r++){var n=e.lookup(r);if(n instanceof W.A&&n.has(z.A.of("T")))return!0}return!1},tX=function(t,e){var r=t0(t,z.A.of("FT")),o=t.context.lookup(r,z.A);return o===z.A.of("Btn")?tY(t,e):o===z.A.of("Ch")?t$(t,e):o===z.A.of("Tx")?tH.fromDict(t,e):o===z.A.of("Sig")?tV.fromDict(t,e):tR.fromDict(t,e)},tY=function(t,e){var r,o=t0(t,z.A.of("Ff")),n=t.context.lookupMaybe(o,L.A),i=null!=(r=null==n?void 0:n.asNumber())?r:0;return t_(i,S.PushButton)?tK.fromDict(t,e):t_(i,S.Radio)?tq.fromDict(t,e):tM.fromDict(t,e)},t$=function(t,e){var r,o=t0(t,z.A.of("Ff")),n=t.context.lookupMaybe(o,L.A);return t_(null!=(r=null==n?void 0:n.asNumber())?r:0,x.Combo)?tU.fromDict(t,e):tG.fromDict(t,e)},t_=function(t,e){return(t&e)!=0},t0=function(t,e){var r;return t5(t,function(t){r||(r=t.get(e))}),r},t5=function(t,e){e(t);var r=t.lookupMaybe(z.A.of("Parent"),W.A);r&&t5(r,e)},t2=function(){function t(t){this.dict=t}return t.prototype.Fields=function(){var t=this.dict.lookup(z.A.of("Fields"));if(t instanceof E.A)return t},t.prototype.getFields=function(){for(var t=this.normalizedEntries().Fields,e=Array(t.size()),r=0,o=t.size();r<o;r++){var n=t.get(r),i=t.lookup(r,W.A);e[r]=[tZ(i,n),n]}return e},t.prototype.getAllFields=function(){var t=[],e=function(r){if(r)for(var o=0,n=r.length;o<n;o++){var i=r[o];t.push(i);var a=i[0];a instanceof tL&&e(tJ(a.Kids()))}};return e(this.getFields()),t},t.prototype.addField=function(t){var e=this.normalizedEntries().Fields;null==e||e.push(t)},t.prototype.removeField=function(t){var e=t.getParent(),r=void 0===e?this.normalizedEntries().Fields:e.Kids(),o=null==r?void 0:r.indexOf(t.ref);if(void 0===r||void 0===o)throw Error("Tried to remove inexistent field "+t.getFullyQualifiedName());r.remove(o),void 0!==e&&0===r.size()&&this.removeField(e)},t.prototype.normalizedEntries=function(){var t=this.Fields();return t||(t=this.dict.context.obj([]),this.dict.set(z.A.of("Fields"),t)),{Fields:t}},t.fromDict=function(e){return new t(e)},t.create=function(e){return new t(e.obj({Fields:[]}))},t}(),t1=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,k.C6)(e,t),e.prototype.Pages=function(){return this.lookup(z.A.of("Pages"),W.A)},e.prototype.AcroForm=function(){return this.lookupMaybe(z.A.of("AcroForm"),W.A)},e.prototype.getAcroForm=function(){var t=this.AcroForm();if(t)return t2.fromDict(t)},e.prototype.getOrCreateAcroForm=function(){var t=this.getAcroForm();if(!t){t=t2.create(this.context);var e=this.context.register(t.dict);this.set(z.A.of("AcroForm"),e)}return t},e.prototype.ViewerPreferences=function(){return this.lookupMaybe(z.A.of("ViewerPreferences"),W.A)},e.prototype.getViewerPreferences=function(){var t=this.ViewerPreferences();if(t)return tT.fromDict(t)},e.prototype.getOrCreateViewerPreferences=function(){var t=this.getViewerPreferences();if(!t){t=tT.create(this.context);var e=this.context.register(t.dict);this.set(z.A.of("ViewerPreferences"),e)}return t},e.prototype.insertLeafNode=function(t,e){var r=this.get(z.A.of("Pages"));return this.Pages().insertLeafNode(t,e)||r},e.prototype.removeLeafNode=function(t){this.Pages().removeLeafNode(t)},e.withContextAndPages=function(t,r){var o=new Map;return o.set(z.A.of("Type"),z.A.of("Catalog")),o.set(z.A.of("Pages"),r),new e(o,t)},e.fromMapWithContext=function(t,r){return new e(t,r)},e}(W.A),t4=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,k.C6)(e,t),e.prototype.Parent=function(){return this.lookup(z.A.of("Parent"))},e.prototype.Kids=function(){return this.lookup(z.A.of("Kids"),E.A)},e.prototype.Count=function(){return this.lookup(z.A.of("Count"),L.A)},e.prototype.pushTreeNode=function(t){this.Kids().push(t)},e.prototype.pushLeafNode=function(t){var e=this.Kids();this.insertLeafKid(e.size(),t)},e.prototype.insertLeafNode=function(t,r){var o=this.Kids(),n=this.Count().asNumber();if(r>n)throw new P.PU(r,n);for(var i=r,a=0,s=o.size();a<s;a++){if(0===i)return void this.insertLeafKid(a,t);var u=o.get(a),c=this.context.lookup(u);if(c instanceof e)if(c.Count().asNumber()>i)return c.insertLeafNode(t,i)||u;else i-=c.Count().asNumber();c instanceof tt&&(i-=1)}if(0===i)return void this.insertLeafKid(o.size(),t);throw new P.vV(r,"insertLeafNode")},e.prototype.removeLeafNode=function(t,r){void 0===r&&(r=!0);var o=this.Kids(),n=this.Count().asNumber();if(t>=n)throw new P.PU(t,n);for(var i=t,a=0,s=o.size();a<s;a++){var u=o.get(a),c=this.context.lookup(u);if(c instanceof e)if(c.Count().asNumber()>i){c.removeLeafNode(i,r),r&&0===c.Kids().size()&&o.remove(a);return}else i-=c.Count().asNumber();if(c instanceof tt)if(0===i)return void this.removeKid(a);else i-=1}throw new P.vV(t,"removeLeafNode")},e.prototype.ascend=function(t){t(this);var e=this.Parent();e&&e.ascend(t)},e.prototype.traverse=function(t){for(var r=this.Kids(),o=0,n=r.size();o<n;o++){var i=r.get(o),a=this.context.lookup(i);a instanceof e&&a.traverse(t),t(a,i)}},e.prototype.insertLeafKid=function(t,e){var r=this.Kids();this.ascend(function(t){var e=t.Count().asNumber()+1;t.set(z.A.of("Count"),L.A.of(e))}),r.insert(t,e)},e.prototype.removeKid=function(t){var e=this.Kids();e.lookup(t)instanceof tt&&this.ascend(function(t){var e=t.Count().asNumber()-1;t.set(z.A.of("Count"),L.A.of(e))}),e.remove(t)},e.withContext=function(t,r){var o=new Map;return o.set(z.A.of("Type"),z.A.of("Pages")),o.set(z.A.of("Kids"),t.obj([])),o.set(z.A.of("Count"),t.obj(0)),r&&o.set(z.A.of("Parent"),r),new e(o,t)},e.fromMapWithContext=function(t,r){return new e(t,r)},e}(W.A),t3=r(55372),t9=r(6644),t6=r(99444),t8=r(73146),t7=r(47819),et=r(35491),ee=function(t){function e(e,r,o){void 0===o&&(o=!1);var n=t.call(this,e,o)||this;return n.context=r,n}return(0,k.C6)(e,t),e.prototype.parseObject=function(){if(this.skipWhitespaceAndComments(),this.matchKeyword(t8.L.true))return M.True;if(this.matchKeyword(t8.L.false))return M.False;if(this.matchKeyword(t8.L.null))return U.A;var t=this.bytes.peek();if(t===T.A.LessThan&&this.bytes.peekAhead(1)===T.A.LessThan)return this.parseDictOrStream();if(t===T.A.LessThan)return this.parseHexString();if(t===T.A.LeftParen)return this.parseString();if(t===T.A.ForwardSlash)return this.parseName();if(t===T.A.LeftSquareBracket)return this.parseArray();if(t7.U$[t])return this.parseNumberOrRef();throw new P.m2(this.bytes.position(),t)},e.prototype.parseNumberOrRef=function(){var t=this.parseRawNumber();this.skipWhitespaceAndComments();var e=this.bytes.offset();if(t7.Uo[this.bytes.peek()]){var r=this.parseRawNumber();if(this.skipWhitespaceAndComments(),this.bytes.peek()===T.A.R)return this.bytes.assertNext(T.A.R),G.of(t,r)}return this.bytes.moveTo(e),L.A.of(t)},e.prototype.parseHexString=function(){var t="";for(this.bytes.assertNext(T.A.LessThan);!this.bytes.done()&&this.bytes.peek()!==T.A.GreaterThan;)t+=(0,O.sJ)(this.bytes.next());return this.bytes.assertNext(T.A.GreaterThan),th.A.of(t)},e.prototype.parseString=function(){for(var t=0,e=!1,r="";!this.bytes.done();){var o=this.bytes.next();if(r+=(0,O.sJ)(o),e||(o===T.A.LeftParen&&(t+=1),o===T.A.RightParen&&(t-=1)),o===T.A.BackSlash?e=!e:e&&(e=!1),0===t)return tg.A.of(r.substring(1,r.length-1))}throw new P.Qj(this.bytes.position())},e.prototype.parseName=function(){this.bytes.assertNext(T.A.ForwardSlash);for(var t="";!this.bytes.done();){var e=this.bytes.peek();if(et.I[e]||t6.i[e])break;t+=(0,O.sJ)(e),this.bytes.next()}return z.A.of(t)},e.prototype.parseArray=function(){this.bytes.assertNext(T.A.LeftSquareBracket),this.skipWhitespaceAndComments();for(var t=E.A.withContext(this.context);this.bytes.peek()!==T.A.RightSquareBracket;){var e=this.parseObject();t.push(e),this.skipWhitespaceAndComments()}return this.bytes.assertNext(T.A.RightSquareBracket),t},e.prototype.parseDict=function(){this.bytes.assertNext(T.A.LessThan),this.bytes.assertNext(T.A.LessThan),this.skipWhitespaceAndComments();for(var t=new Map;!this.bytes.done()&&this.bytes.peek()!==T.A.GreaterThan&&this.bytes.peekAhead(1)!==T.A.GreaterThan;){var e=this.parseName(),r=this.parseObject();t.set(e,r),this.skipWhitespaceAndComments()}this.skipWhitespaceAndComments(),this.bytes.assertNext(T.A.GreaterThan),this.bytes.assertNext(T.A.GreaterThan);var o=t.get(z.A.of("Type"));return o===z.A.of("Catalog")?t1.fromMapWithContext(t,this.context):o===z.A.of("Pages")?t4.fromMapWithContext(t,this.context):o===z.A.of("Page")?tt.fromMapWithContext(t,this.context):W.A.fromMapWithContext(t,this.context)},e.prototype.parseDictOrStream=function(){var t,e=this.bytes.position(),r=this.parseDict();if(this.skipWhitespaceAndComments(),!this.matchKeyword(t8.L.streamEOF1)&&!this.matchKeyword(t8.L.streamEOF2)&&!this.matchKeyword(t8.L.streamEOF3)&&!this.matchKeyword(t8.L.streamEOF4)&&!this.matchKeyword(t8.L.stream))return r;var o=this.bytes.offset(),n=r.get(z.A.of("Length"));n instanceof L.A?(t=o+n.asNumber(),this.bytes.moveTo(t),this.skipWhitespaceAndComments(),this.matchKeyword(t8.L.endstream)||(this.bytes.moveTo(o),t=this.findEndOfStreamFallback(e))):t=this.findEndOfStreamFallback(e);var i=this.bytes.slice(o,t);return H.of(r,i)},e.prototype.findEndOfStreamFallback=function(t){for(var e=1,r=this.bytes.offset();!this.bytes.done()&&(r=this.bytes.offset(),this.matchKeyword(t8.L.stream)?e+=1:this.matchKeyword(t8.L.EOF1endstream)||this.matchKeyword(t8.L.EOF2endstream)||this.matchKeyword(t8.L.EOF3endstream)||this.matchKeyword(t8.L.endstream)?e-=1:this.bytes.next(),0!==e););if(0!==e)throw new P.tV(t);return r},e.forBytes=function(t,r,o){return new e(t9.A.of(t),r,o)},e.forByteStream=function(t,r,o){return void 0===o&&(o=!1),new e(t,r,o)},e}(t3.A),er=function(t){function e(e,r){var o=t.call(this,t9.A.fromPDFRawStream(e),e.dict.context)||this,n=e.dict;return o.alreadyParsed=!1,o.shouldWaitForTick=r||function(){return!1},o.firstOffset=n.lookup(z.A.of("First"),L.A).asNumber(),o.objectCount=n.lookup(z.A.of("N"),L.A).asNumber(),o}return(0,k.C6)(e,t),e.prototype.parseIntoContext=function(){return(0,k.sH)(this,void 0,void 0,function(){var t,e,r,o,n,i,a,s;return(0,k.YH)(this,function(u){switch(u.label){case 0:if(this.alreadyParsed)throw new P.jM("PDFObjectStreamParser","parseIntoContext");this.alreadyParsed=!0,t=this.parseOffsetsAndObjectNumbers(),e=0,r=t.length,u.label=1;case 1:if(!(e<r))return[3,4];if(n=(o=t[e]).objectNumber,i=o.offset,this.bytes.moveTo(this.firstOffset+i),a=this.parseObject(),s=G.of(n,0),this.context.assign(s,a),!this.shouldWaitForTick())return[3,3];return[4,(0,O.KP)()];case 2:u.sent(),u.label=3;case 3:return e++,[3,1];case 4:return[2]}})})},e.prototype.parseOffsetsAndObjectNumbers=function(){for(var t=[],e=0,r=this.objectCount;e<r;e++){this.skipWhitespaceAndComments();var o=this.parseRawInt();this.skipWhitespaceAndComments();var n=this.parseRawInt();t.push({objectNumber:o,offset:n})}return t},e.forStream=function(t,r){return new e(t,r)},e}(ee),eo=function(){function t(t){this.alreadyParsed=!1,this.dict=t.dict,this.bytes=t9.A.fromPDFRawStream(t),this.context=this.dict.context;var e=this.dict.lookup(z.A.of("Size"),L.A),r=this.dict.lookup(z.A.of("Index"));if(r instanceof E.A){this.subsections=[];for(var o=0,n=r.size();o<n;o+=2){var i=r.lookup(o+0,L.A).asNumber(),a=r.lookup(o+1,L.A).asNumber();this.subsections.push({firstObjectNumber:i,length:a})}}else this.subsections=[{firstObjectNumber:0,length:e.asNumber()}];var s=this.dict.lookup(z.A.of("W"),E.A);this.byteWidths=[-1,-1,-1];for(var o=0,n=s.size();o<n;o++)this.byteWidths[o]=s.lookup(o,L.A).asNumber()}return t.prototype.parseIntoContext=function(){if(this.alreadyParsed)throw new P.jM("PDFXRefStreamParser","parseIntoContext");return this.alreadyParsed=!0,this.context.trailerInfo={Root:this.dict.get(z.A.of("Root")),Encrypt:this.dict.get(z.A.of("Encrypt")),Info:this.dict.get(z.A.of("Info")),ID:this.dict.get(z.A.of("ID"))},this.parseEntries()},t.prototype.parseEntries=function(){for(var t=[],e=this.byteWidths,r=e[0],o=e[1],n=e[2],i=0,a=this.subsections.length;i<a;i++)for(var s=this.subsections[i],u=s.firstObjectNumber,c=s.length,l=0;l<c;l++){for(var h=0,d=0,f=r;d<f;d++)h=h<<8|this.bytes.next();for(var p=0,d=0,f=o;d<f;d++)p=p<<8|this.bytes.next();for(var g=0,d=0,f=n;d<f;d++)g=g<<8|this.bytes.next();0===r&&(h=1);var y=u+l,v={ref:G.of(y,g),offset:p,deleted:0===h,inObjectStream:2===h};t.push(v)}return t},t.forStream=function(e){return new t(e)},t}(),en=function(t){function e(e,r,o,n){void 0===r&&(r=1/0),void 0===o&&(o=!1),void 0===n&&(n=!1);var i=t.call(this,t9.A.of(e),_.create(),n)||this;return i.alreadyParsed=!1,i.parsedObjects=0,i.shouldWaitForTick=function(){return i.parsedObjects+=1,i.parsedObjects%i.objectsPerTick==0},i.objectsPerTick=r,i.throwOnInvalidObject=o,i}return(0,k.C6)(e,t),e.prototype.parseDocument=function(){return(0,k.sH)(this,void 0,void 0,function(){var t,e;return(0,k.YH)(this,function(r){switch(r.label){case 0:if(this.alreadyParsed)throw new P.jM("PDFParser","parseDocument");this.alreadyParsed=!0,this.context.header=this.parseHeader(),r.label=1;case 1:if(this.bytes.done())return[3,3];return[4,this.parseDocumentSection()];case 2:if(r.sent(),(e=this.bytes.offset())===t)throw new P.Jl(this.bytes.position());return t=e,[3,1];case 3:return this.maybeRecoverRoot(),this.context.lookup(G.of(0))&&(console.warn("Removing parsed object: 0 0 R"),this.context.delete(G.of(0))),[2,this.context]}})})},e.prototype.maybeRecoverRoot=function(){var t=function(t){return t instanceof W.A&&t.lookup(z.A.of("Type"))===z.A.of("Catalog")};if(!t(this.context.lookup(this.context.trailerInfo.Root)))for(var e=this.context.enumerateIndirectObjects(),r=0,o=e.length;r<o;r++){var n=e[r],i=n[0];t(n[1])&&(this.context.trailerInfo.Root=i)}},e.prototype.parseHeader=function(){for(;!this.bytes.done();){if(this.matchKeyword(t8.L.header)){var t=this.parseRawInt();this.bytes.assertNext(T.A.Period);var e=this.parseRawInt(),r=N.forVersion(t,e);return this.skipBinaryHeaderComment(),r}this.bytes.next()}throw new P.Kc(this.bytes.position())},e.prototype.parseIndirectObjectHeader=function(){this.skipWhitespaceAndComments();var t=this.parseRawInt();this.skipWhitespaceAndComments();var e=this.parseRawInt();if(this.skipWhitespaceAndComments(),!this.matchKeyword(t8.L.obj))throw new P.cZ(this.bytes.position(),t8.L.obj);return G.of(t,e)},e.prototype.matchIndirectObjectHeader=function(){var t=this.bytes.offset();try{return this.parseIndirectObjectHeader(),!0}catch(e){return this.bytes.moveTo(t),!1}},e.prototype.parseIndirectObject=function(){return(0,k.sH)(this,void 0,void 0,function(){var t,e;return(0,k.YH)(this,function(r){switch(r.label){case 0:if(t=this.parseIndirectObjectHeader(),this.skipWhitespaceAndComments(),e=this.parseObject(),this.skipWhitespaceAndComments(),this.matchKeyword(t8.L.endobj),!(e instanceof H&&e.dict.lookup(z.A.of("Type"))===z.A.of("ObjStm")))return[3,2];return[4,er.forStream(e,this.shouldWaitForTick).parseIntoContext()];case 1:return r.sent(),[3,3];case 2:e instanceof H&&e.dict.lookup(z.A.of("Type"))===z.A.of("XRef")?eo.forStream(e).parseIntoContext():this.context.assign(t,e),r.label=3;case 3:return[2,t]}})})},e.prototype.tryToParseInvalidIndirectObject=function(){var t=this.bytes.position(),e="Trying to parse invalid object: "+JSON.stringify(t)+")";if(this.throwOnInvalidObject)throw Error(e);console.warn(e);var r=this.parseIndirectObjectHeader();console.warn("Invalid object ref: "+r),this.skipWhitespaceAndComments();for(var o=this.bytes.offset(),n=!0;!this.bytes.done()&&(this.matchKeyword(t8.L.endobj)&&(n=!1),n);)this.bytes.next();if(n)throw new P.FY(t);var i=this.bytes.offset()-t8.L.endobj.length,a=ts.of(this.bytes.slice(o,i));return this.context.assign(r,a),r},e.prototype.parseIndirectObjects=function(){return(0,k.sH)(this,void 0,void 0,function(){var t;return(0,k.YH)(this,function(e){switch(e.label){case 0:this.skipWhitespaceAndComments(),e.label=1;case 1:if(!(!this.bytes.done()&&t7.Uo[this.bytes.peek()]))return[3,8];t=this.bytes.offset(),e.label=2;case 2:return e.trys.push([2,4,,5]),[4,this.parseIndirectObject()];case 3:return e.sent(),[3,5];case 4:return e.sent(),this.bytes.moveTo(t),this.tryToParseInvalidIndirectObject(),[3,5];case 5:if(this.skipWhitespaceAndComments(),this.skipJibberish(),!this.shouldWaitForTick())return[3,7];return[4,(0,O.KP)()];case 6:e.sent(),e.label=7;case 7:return[3,1];case 8:return[2]}})})},e.prototype.maybeParseCrossRefSection=function(){if(this.skipWhitespaceAndComments(),this.matchKeyword(t8.L.xref)){this.skipWhitespaceAndComments();for(var t=-1,e=tr.createEmpty();!this.bytes.done()&&t7.Uo[this.bytes.peek()];){var r=this.parseRawInt();this.skipWhitespaceAndComments();var o=this.parseRawInt();this.skipWhitespaceAndComments();var n=this.bytes.peek();if(n===T.A.n||n===T.A.f){var i=G.of(t,o);this.bytes.next()===T.A.n?e.addEntry(i,r):e.addDeletedEntry(i,r),t+=1}else t=r;this.skipWhitespaceAndComments()}return e}},e.prototype.maybeParseTrailerDict=function(){if(this.skipWhitespaceAndComments(),this.matchKeyword(t8.L.trailer)){this.skipWhitespaceAndComments();var t=this.parseDict(),e=this.context;e.trailerInfo={Root:t.get(z.A.of("Root"))||e.trailerInfo.Root,Encrypt:t.get(z.A.of("Encrypt"))||e.trailerInfo.Encrypt,Info:t.get(z.A.of("Info"))||e.trailerInfo.Info,ID:t.get(z.A.of("ID"))||e.trailerInfo.ID}}},e.prototype.maybeParseTrailer=function(){if(this.skipWhitespaceAndComments(),this.matchKeyword(t8.L.startxref)){this.skipWhitespaceAndComments();var t=this.parseRawInt();return this.skipWhitespace(),this.matchKeyword(t8.L.eof),this.skipWhitespaceAndComments(),this.matchKeyword(t8.L.eof),this.skipWhitespaceAndComments(),to.forLastCrossRefSectionOffset(t)}},e.prototype.parseDocumentSection=function(){return(0,k.sH)(this,void 0,void 0,function(){return(0,k.YH)(this,function(t){switch(t.label){case 0:return[4,this.parseIndirectObjects()];case 1:return t.sent(),this.maybeParseCrossRefSection(),this.maybeParseTrailerDict(),this.maybeParseTrailer(),this.skipJibberish(),[2]}})})},e.prototype.skipJibberish=function(){for(this.skipWhitespaceAndComments();!this.bytes.done();){var t=this.bytes.offset(),e=this.bytes.peek();if(e>=T.A.Space&&e<=T.A.Tilde&&(this.matchKeyword(t8.L.xref)||this.matchKeyword(t8.L.trailer)||this.matchKeyword(t8.L.startxref)||this.matchIndirectObjectHeader())){this.bytes.moveTo(t);break}this.bytes.next()}},e.prototype.skipBinaryHeaderComment=function(){this.skipWhitespaceAndComments();try{var t=this.bytes.offset();this.parseIndirectObjectHeader(),this.bytes.moveTo(t)}catch(t){this.bytes.next(),this.skipWhitespaceAndComments()}},e.forBytesWithOptions=function(t,r,o,n){return new e(t,r,o,n)},e}(ee),ei=function(t){return 1<<t};(p=D||(D={}))[p.Invisible=ei(0)]="Invisible",p[p.Hidden=ei(1)]="Hidden",p[p.Print=ei(2)]="Print",p[p.NoZoom=ei(3)]="NoZoom",p[p.NoRotate=ei(4)]="NoRotate",p[p.NoView=ei(5)]="NoView",p[p.ReadOnly=ei(6)]="ReadOnly",p[p.Locked=ei(7)]="Locked",p[p.ToggleNoView=ei(8)]="ToggleNoView",p[p.LockedContents=ei(9)]="LockedContents"},42762(t,e,r){var o=r(81205),n=r(28278),i=r(84416),a=r(56706),s=r(47387);e.A=function(t){function e(e){var r=t.call(this)||this;return r.array=[],r.context=e,r}return(0,o.C6)(e,t),e.prototype.size=function(){return this.array.length},e.prototype.push=function(t){this.array.push(t)},e.prototype.insert=function(t,e){this.array.splice(t,0,e)},e.prototype.indexOf=function(t){var e=this.array.indexOf(t);return -1===e?void 0:e},e.prototype.remove=function(t){this.array.splice(t,1)},e.prototype.set=function(t,e){this.array[t]=e},e.prototype.get=function(t){return this.array[t]},e.prototype.lookupMaybe=function(t){for(var e,r=[],n=1;n<arguments.length;n++)r[n-1]=arguments[n];return(e=this.context).lookupMaybe.apply(e,(0,o.aN)([this.get(t)],r))},e.prototype.lookup=function(t){for(var e,r=[],n=1;n<arguments.length;n++)r[n-1]=arguments[n];return(e=this.context).lookup.apply(e,(0,o.aN)([this.get(t)],r))},e.prototype.asRectangle=function(){if(4!==this.size())throw new s.OT(this.size());var t=this.lookup(0,n.A).asNumber(),e=this.lookup(1,n.A).asNumber();return{x:t,y:e,width:this.lookup(2,n.A).asNumber()-t,height:this.lookup(3,n.A).asNumber()-e}},e.prototype.asArray=function(){return this.array.slice()},e.prototype.clone=function(t){for(var r=e.withContext(t||this.context),o=0,n=this.size();o<n;o++)r.push(this.array[o]);return r},e.prototype.toString=function(){for(var t="[ ",e=0,r=this.size();e<r;e++)t+=this.get(e).toString(),t+=" ";return t+"]"},e.prototype.sizeInBytes=function(){for(var t=3,e=0,r=this.size();e<r;e++)t+=this.get(e).sizeInBytes()+1;return t},e.prototype.copyBytesInto=function(t,e){var r=e;t[e++]=a.A.LeftSquareBracket,t[e++]=a.A.Space;for(var o=0,n=this.size();o<n;o++)e+=this.get(o).copyBytesInto(t,e),t[e++]=a.A.Space;return t[e++]=a.A.RightSquareBracket,e-r},e.prototype.scalePDFNumbers=function(t,e){for(var r=0,o=this.size();r<o;r++){var i=this.lookup(r);if(i instanceof n.A){var a=r%2==0?t:e;this.set(r,n.A.of(i.asNumber()*a))}}},e.withContext=function(t){return new e(t)},e}(i.A)},76187(t,e,r){var o=r(81205),n=r(21860),i=r(34714),a=r(84416),s=r(56706);e.A=function(t){function e(e,r){var o=t.call(this)||this;return o.dict=e,o.context=r,o}return(0,o.C6)(e,t),e.prototype.keys=function(){return Array.from(this.dict.keys())},e.prototype.values=function(){return Array.from(this.dict.values())},e.prototype.entries=function(){return Array.from(this.dict.entries())},e.prototype.set=function(t,e){this.dict.set(t,e)},e.prototype.get=function(t,e){void 0===e&&(e=!1);var r=this.dict.get(t);if(r!==i.A||e)return r},e.prototype.has=function(t){var e=this.dict.get(t);return void 0!==e&&e!==i.A},e.prototype.lookupMaybe=function(t){for(var e,r=[],n=1;n<arguments.length;n++)r[n-1]=arguments[n];var a=r.includes(i.A),s=(e=this.context).lookupMaybe.apply(e,(0,o.aN)([this.get(t,a)],r));if(s!==i.A||a)return s},e.prototype.lookup=function(t){for(var e,r=[],n=1;n<arguments.length;n++)r[n-1]=arguments[n];var a=r.includes(i.A),s=(e=this.context).lookup.apply(e,(0,o.aN)([this.get(t,a)],r));if(s!==i.A||a)return s},e.prototype.delete=function(t){return this.dict.delete(t)},e.prototype.asMap=function(){return new Map(this.dict)},e.prototype.uniqueKey=function(t){void 0===t&&(t="");for(var e=this.keys(),r=n.A.of(this.context.addRandomSuffix(t,10));e.includes(r);)r=n.A.of(this.context.addRandomSuffix(t,10));return r},e.prototype.clone=function(t){for(var r=e.withContext(t||this.context),o=this.entries(),n=0,i=o.length;n<i;n++){var a=o[n],s=a[0],u=a[1];r.set(s,u)}return r},e.prototype.toString=function(){for(var t="<<\n",e=this.entries(),r=0,o=e.length;r<o;r++){var n=e[r],i=n[0],a=n[1];t+=i.toString()+" "+a.toString()+"\n"}return t+">>"},e.prototype.sizeInBytes=function(){for(var t=5,e=this.entries(),r=0,o=e.length;r<o;r++){var n=e[r],i=n[0],a=n[1];t+=i.sizeInBytes()+a.sizeInBytes()+2}return t},e.prototype.copyBytesInto=function(t,e){var r=e;t[e++]=s.A.LessThan,t[e++]=s.A.LessThan,t[e++]=s.A.Newline;for(var o=this.entries(),n=0,i=o.length;n<i;n++){var a=o[n],u=a[0],c=a[1];e+=u.copyBytesInto(t,e),t[e++]=s.A.Space,e+=c.copyBytesInto(t,e),t[e++]=s.A.Newline}return t[e++]=s.A.GreaterThan,t[e++]=s.A.GreaterThan,e-r},e.withContext=function(t){return new e(new Map,t)},e.fromMapWithContext=function(t,r){return new e(t,r)},e}(a.A)},15291(t,e,r){var o=r(81205),n=r(84416),i=r(56706),a=r(44910),s=r(47387);e.A=function(t){function e(e){var r=t.call(this)||this;return r.value=e,r}return(0,o.C6)(e,t),e.prototype.asBytes=function(){for(var t=this.value+(this.value.length%2==1?"0":""),e=t.length,r=new Uint8Array(t.length/2),o=0,n=0;o<e;){var i=parseInt(t.substring(o,o+2),16);r[n]=i,o+=2,n+=1}return r},e.prototype.decodeText=function(){var t=this.asBytes();return(0,a.pJ)(t)?(0,a.NJ)(t):(0,a.IE)(t)},e.prototype.decodeDate=function(){var t=this.decodeText(),e=(0,a._U)(t);if(!e)throw new s.bq(t);return e},e.prototype.asString=function(){return this.value},e.prototype.clone=function(){return e.of(this.value)},e.prototype.toString=function(){return"<"+this.value+">"},e.prototype.sizeInBytes=function(){return this.value.length+2},e.prototype.copyBytesInto=function(t,e){return t[e++]=i.A.LessThan,e+=(0,a.BO)(this.value,t,e),t[e++]=i.A.GreaterThan,this.value.length+2},e.of=function(t){return new e(t)},e.fromText=function(t){for(var r=(0,a.bW)(t),o="",n=0,i=r.length;n<i;n++)o+=(0,a.vu)(r[n],4);return new e(o)},e}(n.A)},21860(t,e,r){var o=r(81205),n=r(47387),i=r(84416),a=r(56706),s=r(35653),u=r(44910),c={},l=new Map;e.A=function(t){function e(e,r){var o=this;if(e!==c)throw new n.EQ("PDFName");o=t.call(this)||this;for(var i="/",l=0,h=r.length;l<h;l++){var d=r[l],f=(0,u.VW)(d);i+=f>=a.A.ExclamationPoint&&f<=a.A.Tilde&&!s.C[f]?d:"#"+(0,u.U5)(f)}return o.encodedName=i,o}return(0,o.C6)(e,t),e.prototype.asBytes=function(){for(var t=[],e="",r=!1,o=function(e){void 0!==e&&t.push(e),r=!1},n=1,i=this.encodedName.length;n<i;n++){var s=this.encodedName[n],c=(0,u.VW)(s),l=this.encodedName[n+1];r?c>=a.A.Zero&&c<=a.A.Nine||c>=a.A.a&&c<=a.A.f||c>=a.A.A&&c<=a.A.F?2!==(e+=s).length&&(l>="0"&&l<="9"||l>="a"&&l<="f"||l>="A"&&l<="F")||(o(parseInt(e,16)),e=""):o(c):c===a.A.Hash?r=!0:o(c)}return new Uint8Array(t)},e.prototype.decodeText=function(){var t=this.asBytes();return String.fromCharCode.apply(String,Array.from(t))},e.prototype.asString=function(){return this.encodedName},e.prototype.value=function(){return this.encodedName},e.prototype.clone=function(){return this},e.prototype.toString=function(){return this.encodedName},e.prototype.sizeInBytes=function(){return this.encodedName.length},e.prototype.copyBytesInto=function(t,e){return e+=(0,u.BO)(this.encodedName,t,e),this.encodedName.length},e.of=function(t){var r=t.replace(/#([\dABCDEF]{2})/g,function(t,e){return(0,u.Di)(e)}),o=l.get(r);return o||(o=new e(c,r),l.set(r,o)),o},e.Length=e.of("Length"),e.FlateDecode=e.of("FlateDecode"),e.Resources=e.of("Resources"),e.Font=e.of("Font"),e.XObject=e.of("XObject"),e.ExtGState=e.of("ExtGState"),e.Contents=e.of("Contents"),e.Type=e.of("Type"),e.Parent=e.of("Parent"),e.MediaBox=e.of("MediaBox"),e.Page=e.of("Page"),e.Annots=e.of("Annots"),e.TrimBox=e.of("TrimBox"),e.ArtBox=e.of("ArtBox"),e.BleedBox=e.of("BleedBox"),e.CropBox=e.of("CropBox"),e.Rotate=e.of("Rotate"),e.Title=e.of("Title"),e.Author=e.of("Author"),e.Subject=e.of("Subject"),e.Creator=e.of("Creator"),e.Keywords=e.of("Keywords"),e.Producer=e.of("Producer"),e.CreationDate=e.of("CreationDate"),e.ModDate=e.of("ModDate"),e}(i.A)},34714(t,e,r){var o=r(81205),n=r(84416),i=r(56706);e.A=new(function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,o.C6)(e,t),e.prototype.asNull=function(){return null},e.prototype.clone=function(){return this},e.prototype.toString=function(){return"null"},e.prototype.sizeInBytes=function(){return 4},e.prototype.copyBytesInto=function(t,e){return t[e++]=i.A.n,t[e++]=i.A.u,t[e++]=i.A.l,t[e++]=i.A.l,4},e}(n.A))},28278(t,e,r){var o=r(81205),n=r(44910);e.A=function(t){function e(e){var r=t.call(this)||this;return r.numberValue=e,r.stringValue=(0,n.um)(e),r}return(0,o.C6)(e,t),e.prototype.asNumber=function(){return this.numberValue},e.prototype.value=function(){return this.numberValue},e.prototype.clone=function(){return e.of(this.numberValue)},e.prototype.toString=function(){return this.stringValue},e.prototype.sizeInBytes=function(){return this.stringValue.length},e.prototype.copyBytesInto=function(t,e){return e+=(0,n.BO)(this.stringValue,t,e),this.stringValue.length},e.of=function(t){return new e(t)},e}(r(84416).A)},84416(t,e,r){var o=r(47387);e.A=function(){function t(){}return t.prototype.clone=function(t){throw new o.ju(this.constructor.name,"clone")},t.prototype.toString=function(){throw new o.ju(this.constructor.name,"toString")},t.prototype.sizeInBytes=function(){throw new o.ju(this.constructor.name,"sizeInBytes")},t.prototype.copyBytesInto=function(t,e){throw new o.ju(this.constructor.name,"copyBytesInto")},t}()},9326(t,e,r){var o=r(81205),n=r(84416),i=r(56706),a=r(44910),s=r(47387);e.A=function(t){function e(e){var r=t.call(this)||this;return r.value=e,r}return(0,o.C6)(e,t),e.prototype.asBytes=function(){for(var t=[],e="",r=!1,o=function(e){void 0!==e&&t.push(e),r=!1},n=0,s=this.value.length;n<s;n++){var u=this.value[n],c=(0,a.VW)(u),l=this.value[n+1];r?c===i.A.Newline||c===i.A.CarriageReturn?o():c===i.A.n?o(i.A.Newline):c===i.A.r?o(i.A.CarriageReturn):c===i.A.t?o(i.A.Tab):c===i.A.b?o(i.A.Backspace):c===i.A.f?o(i.A.FormFeed):c===i.A.LeftParen?o(i.A.LeftParen):c===i.A.RightParen?o(i.A.RightParen):c===i.A.Backspace?o(i.A.BackSlash):c>=i.A.Zero&&c<=i.A.Seven?3!==(e+=u).length&&l>="0"&&l<="7"||(o(parseInt(e,8)),e=""):o(c):c===i.A.BackSlash?r=!0:o(c)}return new Uint8Array(t)},e.prototype.decodeText=function(){var t=this.asBytes();return(0,a.pJ)(t)?(0,a.NJ)(t):(0,a.IE)(t)},e.prototype.decodeDate=function(){var t=this.decodeText(),e=(0,a._U)(t);if(!e)throw new s.bq(t);return e},e.prototype.asString=function(){return this.value},e.prototype.clone=function(){return e.of(this.value)},e.prototype.toString=function(){return"("+this.value+")"},e.prototype.sizeInBytes=function(){return this.value.length+2},e.prototype.copyBytesInto=function(t,e){return t[e++]=i.A.LeftParen,e+=(0,a.BO)(this.value,t,e),t[e++]=i.A.RightParen,this.value.length+2},e.of=function(t){return new e(t)},e.fromDate=function(t){return new e("D:"+(0,a.CF)(String(t.getUTCFullYear()),4,"0")+(0,a.CF)(String(t.getUTCMonth()+1),2,"0")+(0,a.CF)(String(t.getUTCDate()),2,"0")+(0,a.CF)(String(t.getUTCHours()),2,"0")+(0,a.CF)(String(t.getUTCMinutes()),2,"0")+(0,a.CF)(String(t.getUTCSeconds()),2,"0")+"Z")},e}(n.A)},46442(t,e){e.A=function(){function t(t,e,r){this.bytes=t,this.start=e||0,this.pos=this.start,this.end=e&&r?e+r:this.bytes.length}return Object.defineProperty(t.prototype,"length",{get:function(){return this.end-this.start},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isEmpty",{get:function(){return 0===this.length},enumerable:!1,configurable:!0}),t.prototype.getByte=function(){return this.pos>=this.end?-1:this.bytes[this.pos++]},t.prototype.getUint16=function(){var t=this.getByte(),e=this.getByte();return -1===t||-1===e?-1:(t<<8)+e},t.prototype.getInt32=function(){return(this.getByte()<<24)+(this.getByte()<<16)+(this.getByte()<<8)+this.getByte()},t.prototype.getBytes=function(t,e){void 0===e&&(e=!1);var r=this.bytes,o=this.pos,n=this.end;if(t){var i=o+t;i>n&&(i=n),this.pos=i;var a=r.subarray(o,i);return e?new Uint8ClampedArray(a):a}var a=r.subarray(o,n);return e?new Uint8ClampedArray(a):a},t.prototype.peekByte=function(){var t=this.getByte();return this.pos--,t},t.prototype.peekBytes=function(t,e){void 0===e&&(e=!1);var r=this.getBytes(t,e);return this.pos-=r.length,r},t.prototype.skip=function(t){t||(t=1),this.pos+=t},t.prototype.reset=function(){this.pos=this.start},t.prototype.moveStart=function(){this.start=this.pos},t.prototype.makeSubStream=function(e,r){return new t(this.bytes,e,r)},t.prototype.decode=function(){return this.bytes},t}()},76075(t,e,r){r.d(e,{j:()=>S});var o=r(47387),n=r(42762),i=r(76187),a=r(21860),s=r(28278),u=r(81205),c=r(10528),l=function(t){return 32===t||9===t||13===t||10===t},h=function(t){function e(e,r){var o=t.call(this,r)||this;return o.stream=e,o.input=new Uint8Array(5),r&&(r*=.8),o}return(0,u.C6)(e,t),e.prototype.readBlock=function(){for(var t,e,r=this.stream,o=r.getByte();l(o);)o=r.getByte();if(-1===o||126===o){this.eof=!0;return}var n=this.bufferLength;if(122===o){for(t=this.ensureBuffer(n+4),e=0;e<4;++e)t[n+e]=0;this.bufferLength+=4}else{var i=this.input;for(i[0]=o,e=1;e<5;++e){for(o=r.getByte();l(o);)o=r.getByte();if(i[e]=o,-1===o||126===o)break}if(t=this.ensureBuffer(n+e-1),this.bufferLength+=e-1,e<5){for(;e<5;++e)i[e]=117;this.eof=!0}var a=0;for(e=0;e<5;++e)a=85*a+(i[e]-33);for(e=3;e>=0;--e)t[n+e]=255&a,a>>=8}},e}(c.A),d=function(t){function e(e,r){var o=t.call(this,r)||this;return o.stream=e,o.firstDigit=-1,r&&(r*=.5),o}return(0,u.C6)(e,t),e.prototype.readBlock=function(){var t=this.stream.getBytes(8e3);if(!t.length){this.eof=!0;return}for(var e=t.length+1>>1,r=this.ensureBuffer(this.bufferLength+e),o=this.bufferLength,n=this.firstDigit,i=0,a=t.length;i<a;i++){var s=t[i],u=void 0;if(s>=48&&s<=57)u=15&s;else if(s>=65&&s<=70||s>=97&&s<=102)u=(15&s)+9;else{if(62!==s)continue;this.eof=!0;break}n<0?n=u:(r[o++]=n<<4|u,n=-1)}n>=0&&this.eof&&(r[o++]=n<<4,n=-1),this.firstDigit=n,this.bufferLength=o},e}(c.A),f=new Int32Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),p=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]),g=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]),y=[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],v=[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],m=function(t){function e(e,r){var o=t.call(this,r)||this;o.stream=e;var n=e.getByte(),i=e.getByte();if(-1===n||-1===i)throw Error("Invalid header in flate stream: "+n+", "+i);if((15&n)!=8)throw Error("Unknown compression method in flate stream: "+n+", "+i);if(((n<<8)+i)%31!=0)throw Error("Bad FCHECK in flate stream: "+n+", "+i);if(32&i)throw Error("FDICT bit set in flate stream: "+n+", "+i);return o.codeSize=0,o.codeBuf=0,o}return(0,u.C6)(e,t),e.prototype.readBlock=function(){var t,e,r,o,n=this.stream,i=this.getBits(3);if(1&i&&(this.eof=!0),0==(i>>=1)){var a=void 0;if(-1===(a=n.getByte()))throw Error("Bad block header in flate stream");var s=a;if(-1===(a=n.getByte())||(s|=a<<8,-1===(a=n.getByte())))throw Error("Bad block header in flate stream");var u=a;if(-1===(a=n.getByte()))throw Error("Bad block header in flate stream");if((u|=a<<8)!=(65535&~s)&&(0!==s||0!==u))throw Error("Bad uncompressed block length in flate stream");this.codeBuf=0,this.codeSize=0;var c=this.bufferLength;t=this.ensureBuffer(c+s);var l=c+s;if(this.bufferLength=l,0===s)-1===n.peekByte()&&(this.eof=!0);else for(var h=c;h<l;++h){if(-1===(a=n.getByte())){this.eof=!0;break}t[h]=a}return}if(1===i)r=y,o=v;else if(2===i){var d=this.getBits(5)+257,m=this.getBits(5)+1,b=this.getBits(4)+4,A=new Uint8Array(f.length),C=void 0;for(C=0;C<b;++C)A[f[C]]=this.getBits(3);var F=this.generateHuffmanTable(A);e=0,C=0;for(var S=d+m,w=new Uint8Array(S),x=void 0,D=void 0,P=void 0;C<S;){var T=this.getCode(F);if(16===T)x=2,D=3,P=e;else if(17===T)x=3,D=3,P=e=0;else if(18===T)x=7,D=11,P=e=0;else{w[C++]=e=T;continue}for(var k=this.getBits(x)+D;k-- >0;)w[C++]=P}r=this.generateHuffmanTable(w.subarray(0,d)),o=this.generateHuffmanTable(w.subarray(d,S))}else throw Error("Unknown block type in flate stream");for(var B=(t=this.buffer)?t.length:0,j=this.bufferLength;;){var O=this.getCode(r);if(O<256){j+1>=B&&(B=(t=this.ensureBuffer(j+1)).length),t[j++]=O;continue}if(256===O){this.bufferLength=j;return}O-=257;var N=(O=p[O])>>16;N>0&&(N=this.getBits(N)),e=(65535&O)+N,(N=(O=g[O=this.getCode(o)])>>16)>0&&(N=this.getBits(N));var E=(65535&O)+N;j+e>=B&&(B=(t=this.ensureBuffer(j+e)).length);for(var R=0;R<e;++R,++j)t[j]=t[j-E]}},e.prototype.getBits=function(t){for(var e,r=this.stream,o=this.codeSize,n=this.codeBuf;o<t;){if(-1===(e=r.getByte()))throw Error("Bad encoding in flate stream");n|=e<<o,o+=8}return e=n&(1<<t)-1,this.codeBuf=n>>t,this.codeSize=o-=t,e},e.prototype.getCode=function(t){for(var e,r=this.stream,o=t[0],n=t[1],i=this.codeSize,a=this.codeBuf;i<n&&-1!==(e=r.getByte());)a|=e<<i,i+=8;var s=o[a&(1<<n)-1];"number"==typeof o&&console.log("FLATE:",s);var u=s>>16;if(u<1||i<u)throw Error("Bad encoding in flate stream");return this.codeBuf=a>>u,this.codeSize=i-u,65535&s},e.prototype.generateHuffmanTable=function(t){var e,r=t.length,o=0;for(e=0;e<r;++e)t[e]>o&&(o=t[e]);for(var n=1<<o,i=new Int32Array(n),a=1,s=0,u=2;a<=o;++a,s<<=1,u<<=1)for(var c=0;c<r;++c)if(t[c]===a){var l=0,h=s;for(e=0;e<a;++e)l=l<<1|1&h,h>>=1;for(e=l;e<n;e+=u)i[e]=a<<16|c;++s}return[i,o]},e}(c.A),b=function(t){function e(e,r,o){var n=t.call(this,r)||this;n.stream=e,n.cachedData=0,n.bitsCached=0;for(var i={earlyChange:o,codeLength:9,nextCode:258,dictionaryValues:new Uint8Array(4096),dictionaryLengths:new Uint16Array(4096),dictionaryPrevCodes:new Uint16Array(4096),currentSequence:new Uint8Array(4096),currentSequenceLength:0},a=0;a<256;++a)i.dictionaryValues[a]=a,i.dictionaryLengths[a]=1;return n.lzwState=i,n}return(0,u.C6)(e,t),e.prototype.readBlock=function(){var t,e,r,o=1024,n=this.lzwState;if(n){var i=n.earlyChange,a=n.nextCode,s=n.dictionaryValues,u=n.dictionaryLengths,c=n.dictionaryPrevCodes,l=n.codeLength,h=n.prevCode,d=n.currentSequence,f=n.currentSequenceLength,p=0,g=this.bufferLength,y=this.ensureBuffer(this.bufferLength+o);for(t=0;t<512;t++){var v=this.readBits(l),m=f>0;if(!v||v<256)d[0]=v,f=1;else if(v>=258)if(v<a)for(e=(f=u[v])-1,r=v;e>=0;e--)d[e]=s[r],r=c[r];else d[f++]=d[0];else if(256===v){l=9,a=258,f=0;continue}else{this.eof=!0,delete this.lzwState;break}if(m&&(c[a]=h,u[a]=u[h]+1,s[a]=d[0],l=++a+i&a+i-1?l:0|Math.min(Math.log(a+i)/.6931471805599453+1,12)),h=v,o<(p+=f)){do o+=512;while(o<p)y=this.ensureBuffer(this.bufferLength+o)}for(e=0;e<f;e++)y[g++]=d[e]}n.nextCode=a,n.codeLength=l,n.prevCode=h,n.currentSequenceLength=f,this.bufferLength=g}},e.prototype.readBits=function(t){for(var e=this.bitsCached,r=this.cachedData;e<t;){var o=this.stream.getByte();if(-1===o)return this.eof=!0,null;r=r<<8|o,e+=8}return this.bitsCached=e-=t,this.cachedData=r,r>>>e&(1<<t)-1},e}(c.A),A=function(t){function e(e,r){var o=t.call(this,r)||this;return o.stream=e,o}return(0,u.C6)(e,t),e.prototype.readBlock=function(){var t,e=this.stream.getBytes(2);if(!e||e.length<2||128===e[0]){this.eof=!0;return}var r=this.bufferLength,o=e[0];if(o<128){if((t=this.ensureBuffer(r+o+1))[r++]=e[1],o>0){var n=this.stream.getBytes(o);t.set(n,r),r+=o}}else{o=257-o;var i=e[1];t=this.ensureBuffer(r+o+1);for(var a=0;a<o;a++)t[r++]=i}this.bufferLength=r},e}(c.A),C=r(46442),F=function(t,e,r){if(e===a.A.of("FlateDecode"))return new m(t);if(e===a.A.of("LZWDecode")){var n=1;if(r instanceof i.A){var u=r.lookup(a.A.of("EarlyChange"));u instanceof s.A&&(n=u.asNumber())}return new b(t,void 0,n)}if(e===a.A.of("ASCII85Decode"))return new h(t);if(e===a.A.of("ASCIIHexDecode"))return new d(t);if(e===a.A.of("RunLengthDecode"))return new A(t);throw new o.B4(e.asString())},S=function(t){var e=t.dict,r=t.contents,s=new C.A(r),u=e.lookup(a.A.of("Filter")),c=e.lookup(a.A.of("DecodeParms"));if(u instanceof a.A)s=F(s,u,c);else if(u instanceof n.A)for(var l=0,h=u.size();l<h;l++)s=F(s,u.lookup(l,a.A),c&&c.lookupMaybe(l,i.A));else if(u)throw new o.$T([a.A,n.A],u);return s}},56706(t,e){var r,o;(o=r||(r={}))[o.Null=0]="Null",o[o.Backspace=8]="Backspace",o[o.Tab=9]="Tab",o[o.Newline=10]="Newline",o[o.FormFeed=12]="FormFeed",o[o.CarriageReturn=13]="CarriageReturn",o[o.Space=32]="Space",o[o.ExclamationPoint=33]="ExclamationPoint",o[o.Hash=35]="Hash",o[o.Percent=37]="Percent",o[o.LeftParen=40]="LeftParen",o[o.RightParen=41]="RightParen",o[o.Plus=43]="Plus",o[o.Minus=45]="Minus",o[o.Dash=45]="Dash",o[o.Period=46]="Period",o[o.ForwardSlash=47]="ForwardSlash",o[o.Zero=48]="Zero",o[o.One=49]="One",o[o.Two=50]="Two",o[o.Three=51]="Three",o[o.Four=52]="Four",o[o.Five=53]="Five",o[o.Six=54]="Six",o[o.Seven=55]="Seven",o[o.Eight=56]="Eight",o[o.Nine=57]="Nine",o[o.LessThan=60]="LessThan",o[o.GreaterThan=62]="GreaterThan",o[o.A=65]="A",o[o.D=68]="D",o[o.E=69]="E",o[o.F=70]="F",o[o.O=79]="O",o[o.P=80]="P",o[o.R=82]="R",o[o.LeftSquareBracket=91]="LeftSquareBracket",o[o.BackSlash=92]="BackSlash",o[o.RightSquareBracket=93]="RightSquareBracket",o[o.a=97]="a",o[o.b=98]="b",o[o.d=100]="d",o[o.e=101]="e",o[o.f=102]="f",o[o.i=105]="i",o[o.j=106]="j",o[o.l=108]="l",o[o.m=109]="m",o[o.n=110]="n",o[o.o=111]="o",o[o.r=114]="r",o[o.s=115]="s",o[o.t=116]="t",o[o.u=117]="u",o[o.x=120]="x",o[o.LeftCurly=123]="LeftCurly",o[o.RightCurly=125]="RightCurly",o[o.Tilde=126]="Tilde",e.A=r},64772(t,e,r){r.r(e);var o=r(80285),n=r(67531),i=r(40090),a={};for(var s in i)0>["ParseSpeeds","PngEmbedder","drawRectangle","TextAlignment","setStrokingRgbColor","defaultDropdownAppearanceProvider","PDFOperator","MethodNotImplementedError","fillAndStroke","FontkitNotRegisteredError","MissingKeywordError","componentsToColor","skewRadians","setLineWidth","PDFContext","PDFTrailer","endText","MissingCatalogError","degrees","BlendMode","drawEllipsePath","MissingTfOperatorError","AcroTextFlags","PDFObject","ReparseError","PDFInvalidObjectParsingError","PDFObjectStream","PDFContentStream","skewDegrees","rotateDegrees","UnsupportedEncodingError","appendQuadraticCurve","PDFRadioGroup","drawLine","PDFFont","PDFForm","defaultRadioGroupAppearanceProvider","rotateRectangle","TextRenderingMode","drawImage","clip","setFontAndSize","NextByteAssertionError","radiansToDegrees","PDFHeader","createPDFAcroField","toRadians","CustomFontSubsetEmbedder","CharCodes","rotateAndSkewTextRadiansAndTranslate","asPDFName","setTextRenderingMode","PDFName","PDFButton","PDFArrayIsNotRectangleError","cmyk","JpegEmbedder","setTextMatrix","PDFAcroSignature","decodePDFRawStream","PDFAcroTerminal","PDFDict","drawObject","PDFAcroButton","popGraphicsState","PrivateConstructorError","moveText","PDFInvalidObject","UnbalancedParenthesisError","setStrokingGrayscaleColor","setDashPattern","createPDFAcroFields","InvalidMaxLengthError","ImageAlignment","PDFObjectStreamParser","closePath","PDFRef","FileEmbedder","PrintScaling","setCharacterSpacing","ReadingDirection","drawOptionList","PDFParsingError","PDFJavaScript","setFillingRgbColor","PDFOptionList","stroke","PDFAcroText","defaultButtonAppearanceProvider","setLineHeight","LineCapStyle","colorToComponents","restoreDashPattern","beginMarkedContent","rotateRadians","degreesToRadians","default","NumberParsingError","layoutMultilineText","EncryptedPDFError","MissingDAEntryError","CombedTextLayoutError","PDFCheckBox","setFillingCmykColor","PDFAnnotation","rotateInPlace","layoutCombedText","grayscale","PDFAcroListBox","asNumber","AcroFieldFlags","PDFFlateStream","setTextRise","CorruptPageTreeError","PDFAcroChoice","setWordSpacing","PDFAcroField","drawPage","setGraphicsState","PDFAcroCheckBox","PDFAcroNonTerminal","rgb","NoSuchFieldError","UnexpectedObjectTypeError","rotateAndSkewTextDegreesAndTranslate","PDFAcroRadioButton","layoutSinglelineText","AFRelationship","scale","reduceRotation","PDFStream","PDFImage","PDFEmbeddedPage","defaultTextFieldAppearanceProvider","PDFWriter","endMarkedContent","drawRadioButton","setLineCap","drawText","drawLinesOfText","PDFOperatorNames","fill","setStrokingCmykColor","AppearanceCharacteristics","MissingPDFHeaderError","drawCheckMark","PDFAcroComboBox","PDFArray","appendBezierCurve","PDFField","pushGraphicsState","asPDFNumber","PDFRawStream","StandardFontEmbedder","PDFDropdown","MissingOnValueCheckError","defaultOptionListAppearanceProvider","toDegrees","PDFStreamWriter","drawCheckBox","endPath","CustomFontEmbedder","drawEllipse","PDFAcroPushButton","PDFCatalog","ExceededMaxLengthError","beginText","drawButton","PDFStreamParsingError","AcroButtonFlags","PDFNumber","UnexpectedFieldTypeError","setFillingGrayscaleColor","PDFString","setCharacterSqueeze","PageEmbeddingMismatchedContextError","PDFXRefStreamParser","nextLine","adjustDimsForRotation","MissingPageContentsEmbeddingError","drawTextField","PDFObjectParser","ForeignPageError","PDFPageLeaf","normalizeAppearance","StandardFonts","FieldAlreadyExistsError","setStrokingColor","AnnotationFlags","InvalidPDFDateStringError","IndexOutOfBoundsError","PDFParser","showText","setLineJoin","NonFullScreenPageMode","clipEvenOdd","InvalidAcroFieldValueError","square","PageSizes","PDFWidgetAnnotation","InvalidFieldNamePartError","defaultCheckBoxAppearanceProvider","setFillingColor","lineTo","LineJoinStyle","PDFCrossRefSection","translate","PDFBool","radians","FieldExistsAsNonTerminalError","PDFPage","PDFPageEmbedder","ViewerPreferences","PDFPageTree","RotationTypes","PDFSignature","PDFTextField","PDFAcroForm","RichTextFieldReadError","UnrecognizedStreamTypeError","StalledParserError","PDFTrailerDict","RemovePageFromEmptyDocumentError","concatTransformationMatrix","drawSvgPath","ColorTypes","PDFDocument","rectangle","MultiSelectValueError","PDFCrossRefStream","AcroChoiceFlags","Duplex","PDFHexString","PDFObjectParsingError","InvalidTargetIndexError","moveTo","drawTextLines","PDFNull","PDFObjectCopier"].indexOf(s)&&(a[s]=(function(t){return i[t]}).bind(0,s));r.d(e,a);var u=r(44910);r.d(e,{AFRelationship:()=>n.Go,AcroButtonFlags:()=>n.Tz,AcroChoiceFlags:()=>n.qM,AcroFieldFlags:()=>n.Zo,AcroTextFlags:()=>n.Il,AnnotationFlags:()=>n.bO,AppearanceCharacteristics:()=>n.N9,BlendMode:()=>o.Nx,Cache:()=>u.l2,CharCodes:()=>n.J_,ColorTypes:()=>o.vb,CombedTextLayoutError:()=>o.A,CorruptPageTreeError:()=>n.vV,CustomFontEmbedder:()=>n.pp,CustomFontSubsetEmbedder:()=>n.Bo,Duplex:()=>n.d1,EncryptedPDFError:()=>o.ZT,ExceededMaxLengthError:()=>o.KI,FieldAlreadyExistsError:()=>o.BY,FieldExistsAsNonTerminalError:()=>o.oX,FileEmbedder:()=>n.jA,FontkitNotRegisteredError:()=>o.xC,ForeignPageError:()=>o.iB,ImageAlignment:()=>o.nW,IndexOutOfBoundsError:()=>n.fx,InvalidAcroFieldValueError:()=>n.cR,InvalidFieldNamePartError:()=>o.wT,InvalidMaxLengthError:()=>o.eW,InvalidPDFDateStringError:()=>n.bq,InvalidTargetIndexError:()=>n.PU,JpegEmbedder:()=>n.Dm,LineCapStyle:()=>o.uT,LineJoinStyle:()=>o.wd,MethodNotImplementedError:()=>n.ju,MissingCatalogError:()=>n.g9,MissingDAEntryError:()=>n.o4,MissingKeywordError:()=>n.cZ,MissingOnValueCheckError:()=>o.pI,MissingPDFHeaderError:()=>n.Kc,MissingPageContentsEmbeddingError:()=>n.tX,MissingTfOperatorError:()=>n.F2,MultiSelectValueError:()=>n.Hi,NextByteAssertionError:()=>n.eM,NoSuchFieldError:()=>o.vs,NonFullScreenPageMode:()=>n.bj,NumberParsingError:()=>n.I8,PDFAcroButton:()=>n.I,PDFAcroCheckBox:()=>n.RL,PDFAcroChoice:()=>n.xm,PDFAcroComboBox:()=>n.Bi,PDFAcroField:()=>n.el,PDFAcroForm:()=>n.In,PDFAcroListBox:()=>n.ld,PDFAcroNonTerminal:()=>n.z5,PDFAcroPushButton:()=>n.OR,PDFAcroRadioButton:()=>n.b$,PDFAcroSignature:()=>n.oz,PDFAcroTerminal:()=>n.AC,PDFAcroText:()=>n.BM,PDFAnnotation:()=>n.sz,PDFArray:()=>n.y3,PDFArrayIsNotRectangleError:()=>n.OT,PDFBool:()=>n.$l,PDFButton:()=>o.dG,PDFCatalog:()=>n.am,PDFCheckBox:()=>o.Md,PDFContentStream:()=>n.CB,PDFContext:()=>n.yQ,PDFCrossRefSection:()=>n.JX,PDFCrossRefStream:()=>n._q,PDFDict:()=>n.Ri,PDFDocument:()=>o.UL,PDFDropdown:()=>o.OG,PDFEmbeddedPage:()=>o.qk,PDFField:()=>o.PA,PDFFlateStream:()=>n.V0,PDFFont:()=>o.Kc,PDFForm:()=>o.tB,PDFHeader:()=>n.w$,PDFHexString:()=>n.lv,PDFImage:()=>o.SZ,PDFInvalidObject:()=>n.j6,PDFInvalidObjectParsingError:()=>n.FY,PDFJavaScript:()=>o.W1,PDFName:()=>n.S5,PDFNull:()=>n.qQ,PDFNumber:()=>n.iu,PDFObject:()=>n.YA,PDFObjectCopier:()=>n.Gw,PDFObjectParser:()=>n.np,PDFObjectParsingError:()=>n.m2,PDFObjectStream:()=>n.et,PDFObjectStreamParser:()=>n.D7,PDFOperator:()=>n.VK,PDFOperatorNames:()=>n.Zt,PDFOptionList:()=>o.I7,PDFPage:()=>o.GZ,PDFPageEmbedder:()=>n.kO,PDFPageLeaf:()=>n.y1,PDFPageTree:()=>n.KF,PDFParser:()=>n.gS,PDFParsingError:()=>n.rY,PDFRadioGroup:()=>o.rU,PDFRawStream:()=>n.T9,PDFRef:()=>n.so,PDFSignature:()=>o.tg,PDFStream:()=>n.h0,PDFStreamParsingError:()=>n.tV,PDFStreamWriter:()=>n.k_,PDFString:()=>n.mA,PDFTextField:()=>o.S7,PDFTrailer:()=>n.Kk,PDFTrailerDict:()=>n.W4,PDFWidgetAnnotation:()=>n.Ml,PDFWriter:()=>n.Sl,PDFXRefStreamParser:()=>n.bs,PageEmbeddingMismatchedContextError:()=>n.JA,PageSizes:()=>o.q2,ParseSpeeds:()=>o.Ap,PngEmbedder:()=>n.cV,PrintScaling:()=>n.Nq,PrivateConstructorError:()=>n.EQ,ReadingDirection:()=>n.s3,RemovePageFromEmptyDocumentError:()=>o.OY,ReparseError:()=>n.jM,RichTextFieldReadError:()=>o.k0,RotationTypes:()=>o.WU,StalledParserError:()=>n.Jl,StandardFontEmbedder:()=>n.hM,StandardFontValues:()=>u.no,StandardFonts:()=>o.qX,TextAlignment:()=>o.DY,TextRenderingMode:()=>o.hu,UnbalancedParenthesisError:()=>n.Qj,UnexpectedFieldTypeError:()=>o.or,UnexpectedObjectTypeError:()=>n.$T,UnrecognizedStreamTypeError:()=>n.IX,UnsupportedEncodingError:()=>n.B4,ViewerPreferences:()=>n.x7,addRandomSuffix:()=>u.os,adjustDimsForRotation:()=>o.S3,appendBezierCurve:()=>o.v$,appendQuadraticCurve:()=>o.a_,arrayAsString:()=>u.pZ,asNumber:()=>o.i,asPDFName:()=>o.yd,asPDFNumber:()=>o.q0,assertEachIs:()=>u.k,assertInteger:()=>u.vk,assertIs:()=>u.jo,assertIsOneOf:()=>u.Co,assertIsOneOfOrUndefined:()=>u.DU,assertIsSubset:()=>u.hc,assertMultiple:()=>u.vW,assertOrUndefined:()=>u.wU,assertPositive:()=>u.a_,assertRange:()=>u.Qb,assertRangeOrUndefined:()=>u.Dw,backtick:()=>u.pj,beginMarkedContent:()=>o.rk,beginText:()=>o.VS,breakTextIntoLines:()=>u.YF,byAscendingId:()=>u.nM,bytesFor:()=>u.D_,canBeConvertedToUint8Array:()=>u.ou,charAtIndex:()=>u.sR,charFromCode:()=>u.sJ,charFromHexCode:()=>u.Di,charSplit:()=>u.BP,cleanText:()=>u.X5,clip:()=>o.$Q,clipEvenOdd:()=>o.U7,closePath:()=>o.OE,cmyk:()=>o.T7,colorToComponents:()=>o.b5,componentsToColor:()=>o.fS,concatTransformationMatrix:()=>o.Dr,copyStringIntoBuffer:()=>u.BO,createPDFAcroField:()=>n.o,createPDFAcroFields:()=>n.h$,createTypeErrorMsg:()=>u._9,createValueErrorMsg:()=>u.RI,decodeFromBase64:()=>u.Wk,decodeFromBase64DataUri:()=>u.Sj,decodePDFRawStream:()=>n.jY,defaultButtonAppearanceProvider:()=>o.p6,defaultCheckBoxAppearanceProvider:()=>o.kb,defaultDropdownAppearanceProvider:()=>o.ZE,defaultOptionListAppearanceProvider:()=>o.Wy,defaultRadioGroupAppearanceProvider:()=>o.vM,defaultTextFieldAppearanceProvider:()=>o.S0,degrees:()=>o.uj,degreesToRadians:()=>o.tR,drawButton:()=>o.XW,drawCheckBox:()=>o.oS,drawCheckMark:()=>o.e6,drawEllipse:()=>o.n,drawEllipsePath:()=>o.vj,drawImage:()=>o.aC,drawLine:()=>o.V6,drawLinesOfText:()=>o.EF,drawObject:()=>o.aS,drawOptionList:()=>o.Aw,drawPage:()=>o.wl,drawRadioButton:()=>o.Ew,drawRectangle:()=>o.CQ,drawSvgPath:()=>o.dS,drawText:()=>o.m,drawTextField:()=>o.iW,drawTextLines:()=>o.Fv,encodeToBase64:()=>u.XP,endMarkedContent:()=>o.Tw,endPath:()=>o.R,endText:()=>o.Z4,error:()=>u.z3,escapeRegExp:()=>u.Nt,escapedNewlineChars:()=>u.X2,fill:()=>o.GS,fillAndStroke:()=>o.HF,findLastMatch:()=>u.dJ,getType:()=>u.Pw,grayscale:()=>o.CM,hasSurrogates:()=>u.me,hasUtf16BOM:()=>u.pJ,highSurrogate:()=>u.rN,isNewlineChar:()=>u.N7,isStandardFont:()=>u.Pz,isType:()=>u.Xj,isWithinBMP:()=>u.HH,last:()=>u.HV,layoutCombedText:()=>o.k7,layoutMultilineText:()=>o.Tf,layoutSinglelineText:()=>o.sK,lineSplit:()=>u.JQ,lineTo:()=>o.a5,lowSurrogate:()=>u.P1,mergeIntoTypedArray:()=>u.If,mergeLines:()=>u.Ac,mergeUint8Arrays:()=>u.FP,moveText:()=>o.nQ,moveTo:()=>o.tw,newlineChars:()=>u.SU,nextLine:()=>o.sE,normalizeAppearance:()=>o.QK,numberToString:()=>u.um,padStart:()=>u.CF,parseDate:()=>u._U,pdfDocEncodingDecode:()=>u.IE,pluckIndices:()=>u.f8,popGraphicsState:()=>o.eH,pushGraphicsState:()=>o.Tl,radians:()=>o.F2,radiansToDegrees:()=>o.nv,range:()=>u.y1,rectangle:()=>o.YC,rectanglesAreEqual:()=>u.N8,reduceRotation:()=>o.du,restoreDashPattern:()=>o.JA,reverseArray:()=>u.q7,rgb:()=>o.Qh,rotateAndSkewTextDegreesAndTranslate:()=>o.mJ,rotateAndSkewTextRadiansAndTranslate:()=>o.BK,rotateDegrees:()=>o.t5,rotateInPlace:()=>o.Il,rotateRadians:()=>o.y4,rotateRectangle:()=>o.P8,scale:()=>o.hs,setCharacterSpacing:()=>o.rI,setCharacterSqueeze:()=>o.Yc,setDashPattern:()=>o.Vv,setFillingCmykColor:()=>o.J2,setFillingColor:()=>o.zN,setFillingGrayscaleColor:()=>o.Cq,setFillingRgbColor:()=>o._u,setFontAndSize:()=>o.M8,setGraphicsState:()=>o.XG,setLineCap:()=>o.Jl,setLineHeight:()=>o.Kz,setLineJoin:()=>o.BI,setLineWidth:()=>o.Hm,setStrokingCmykColor:()=>o.FP,setStrokingColor:()=>o.ZP,setStrokingGrayscaleColor:()=>o.U4,setStrokingRgbColor:()=>o.Ie,setTextMatrix:()=>o.$J,setTextRenderingMode:()=>o.LW,setTextRise:()=>o.jt,setWordSpacing:()=>o.Sm,showText:()=>o.h$,singleQuote:()=>u.nI,sizeInBytes:()=>u.Wl,skewDegrees:()=>o.mk,skewRadians:()=>o.db,sortedUniq:()=>u.TR,square:()=>o.l$,stroke:()=>o.TB,sum:()=>u.cz,toCharCode:()=>u.VW,toCodePoint:()=>u.XX,toDegrees:()=>o.xW,toHexString:()=>u.U5,toHexStringOfMinLength:()=>u.vu,toRadians:()=>o.eh,toUint8Array:()=>u.Fo,translate:()=>o.kJ,typedArrayFor:()=>u.dp,utf16Decode:()=>u.NJ,utf16Encode:()=>u.bW,utf8Encode:()=>u.yi,values:()=>u.zu,waitForTick:()=>u.KP})},40090(){},44910(t,e,r){r.d(e,{l2:()=>tt,no:()=>B,os:()=>l.os,pZ:()=>g,k:()=>q,vk:()=>Q,jo:()=>H,Co:()=>M,DU:()=>W,hc:()=>z,vW:()=>Z,wU:()=>K,a_:()=>X,Qb:()=>G,Dw:()=>J,pj:()=>N,YF:()=>l.YF,nM:()=>y,D_:()=>D.D_,ou:()=>F,sR:()=>l.sR,sJ:()=>l.sJ,Di:()=>l.Di,BP:()=>l.BP,X5:()=>l.X5,BO:()=>l.BO,_9:()=>V,RI:()=>I,Wk:()=>s,Sj:()=>c,XP:()=>a,z3:()=>P.z,Nt:()=>l.Nt,X2:()=>l.X2,dJ:()=>l.dJ,Pw:()=>U,me:()=>x.me,pJ:()=>x.pJ,rN:()=>x.rN,N7:()=>l.N7,Pz:()=>j,Xj:()=>L,HH:()=>x.HH,HV:()=>h,JQ:()=>l.JQ,P1:()=>x.P1,If:()=>f,Ac:()=>l.Ac,FP:()=>p,SU:()=>l.SU,um:()=>D.um,CF:()=>l.CF,_U:()=>l._U,IE:()=>_,f8:()=>C,y1:()=>A,N8:()=>O,q7:()=>m,nI:()=>E,Wl:()=>D.Wl,TR:()=>v,cz:()=>b,VW:()=>l.VW,XX:()=>l.XX,U5:()=>l.U5,vu:()=>l.vu,Fo:()=>S,dp:()=>d,NJ:()=>x.NJ,bW:()=>x.bW,yi:()=>x.yi,zu:()=>k,KP:()=>w.K});for(var o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n=new Uint8Array(256),i=0;i<o.length;i++)n[o.charCodeAt(i)]=i;for(var a=function(t){for(var e="",r=t.length,n=0;n<r;n+=3)e+=o[t[n]>>2],e+=o[(3&t[n])<<4|t[n+1]>>4],e+=o[(15&t[n+1])<<2|t[n+2]>>6],e+=o[63&t[n+2]];return r%3==2?e=e.substring(0,e.length-1)+"=":r%3==1&&(e=e.substring(0,e.length-2)+"=="),e},s=function(t){var e,r,o,i,a,s=.75*t.length,u=t.length,c=0;"="===t[t.length-1]&&(s--,"="===t[t.length-2]&&s--);var l=new Uint8Array(s);for(e=0;e<u;e+=4)r=n[t.charCodeAt(e)],o=n[t.charCodeAt(e+1)],i=n[t.charCodeAt(e+2)],a=n[t.charCodeAt(e+3)],l[c++]=r<<2|o>>4,l[c++]=(15&o)<<4|i>>2,l[c++]=(3&i)<<6|63&a;return l},u=/^(data)?:?([\w\/\+]+)?;?(charset=[\w-]+|base64)?.*,/i,c=function(t){var e=t.trim(),r=e.substring(0,100).match(u);if(!r)return s(e);var o=r[0];return s(e.substring(o.length))},l=r(32896),h=function(t){return t[t.length-1]},d=function(t){if(t instanceof Uint8Array)return t;for(var e=t.length,r=new Uint8Array(e),o=0;o<e;o++)r[o]=t.charCodeAt(o);return r},f=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var r=t.length,o=[],n=0;n<r;n++){var i=t[n];o[n]=i instanceof Uint8Array?i:d(i)}for(var a=0,n=0;n<r;n++)a+=t[n].length;for(var s=new Uint8Array(a),u=0,c=0;c<r;c++)for(var l=o[c],h=0,f=l.length;h<f;h++)s[u++]=l[h];return s},p=function(t){for(var e=0,r=0,o=t.length;r<o;r++)e+=t[r].length;for(var n=new Uint8Array(e),i=0,r=0,o=t.length;r<o;r++){var a=t[r];n.set(a,i),i+=a.length}return n},g=function(t){for(var e="",r=0,o=t.length;r<o;r++)e+=(0,l.sJ)(t[r]);return e},y=function(t,e){return t.id-e.id},v=function(t,e){for(var r=[],o=0,n=t.length;o<n;o++){var i=t[o],a=t[o-1];(0===o||e(i)!==e(a))&&r.push(i)}return r},m=function(t){for(var e=t.length,r=0,o=Math.floor(e/2);r<o;r++){var n=r,i=e-r-1,a=t[r];t[n]=t[i],t[i]=a}return t},b=function(t){for(var e=0,r=0,o=t.length;r<o;r++)e+=t[r];return e},A=function(t,e){for(var r=Array(e-t),o=0,n=r.length;o<n;o++)r[o]=t+o;return r},C=function(t,e){for(var r=Array(e.length),o=0,n=e.length;o<n;o++)r[o]=t[e[o]];return r},F=function(t){return t instanceof Uint8Array||t instanceof ArrayBuffer||"string"==typeof t},S=function(t){if("string"==typeof t)return c(t);if(t instanceof ArrayBuffer)return new Uint8Array(t);if(t instanceof Uint8Array)return t;throw TypeError("`input` must be one of `string | ArrayBuffer | Uint8Array`")},w=r(69882),x=r(18885),D=r(29100),P=r(6123),T=r(35377),k=function(t){return Object.keys(t).map(function(e){return t[e]})},B=k(T.sD),j=function(t){return B.includes(t)},O=function(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height},N=function(t){return"`"+t+"`"},E=function(t){return"'"+t+"'"},R=function(t){var e=typeof t;return"string"===e?E(t):"undefined"===e?N(t):t},I=function(t,e,r){for(var o=Array(r.length),n=0,i=r.length;n<i;n++){var a=r[n];o[n]=R(a)}var s=o.join(" or ");return N(e)+" must be one of "+s+", but was actually "+R(t)},M=function(t,e,r){Array.isArray(r)||(r=k(r));for(var o=0,n=r.length;o<n;o++)if(t===r[o])return;throw TypeError(I(t,e,r))},W=function(t,e,r){Array.isArray(r)||(r=k(r)),M(t,e,r.concat(void 0))},z=function(t,e,r){Array.isArray(r)||(r=k(r));for(var o=0,n=t.length;o<n;o++)M(t[o],e,r)},U=function(t){return null===t?"null":void 0===t?"undefined":"string"==typeof t?"string":isNaN(t)?"NaN":"number"==typeof t?"number":"boolean"==typeof t?"boolean":"symbol"==typeof t?"symbol":"bigint"==typeof t?"bigint":t.constructor&&t.constructor.name?t.constructor.name:t.name?t.name:t.constructor?String(t.constructor):String(t)},L=function(t,e){return"null"===e?null===t:"undefined"===e?void 0===t:"string"===e?"string"==typeof t:"number"===e?"number"==typeof t&&!isNaN(t):"boolean"===e?"boolean"==typeof t:"symbol"===e?"symbol"==typeof t:"bigint"===e?"bigint"==typeof t:e===Date?t instanceof Date:e===Array?t instanceof Array:e===Uint8Array?t instanceof Uint8Array:e===ArrayBuffer?t instanceof ArrayBuffer:e===Function?t instanceof Function:t instanceof e[0]},V=function(t,e,r){for(var o=Array(r.length),n=0,i=r.length;n<i;n++){var a=r[n];"null"===a&&(o[n]=N("null")),"undefined"===a&&(o[n]=N("undefined")),"string"===a?o[n]=N("string"):"number"===a?o[n]=N("number"):"boolean"===a?o[n]=N("boolean"):"symbol"===a?o[n]=N("symbol"):"bigint"===a?o[n]=N("bigint"):a===Array?o[n]=N("Array"):a===Uint8Array?o[n]=N("Uint8Array"):a===ArrayBuffer?o[n]=N("ArrayBuffer"):o[n]=N(a[1])}var s=o.join(" or ");return N(e)+" must be of type "+s+", but was actually of type "+N(U(t))},H=function(t,e,r){for(var o=0,n=r.length;o<n;o++)if(L(t,r[o]))return;throw TypeError(V(t,e,r))},K=function(t,e,r){H(t,e,r.concat("undefined"))},q=function(t,e,r){for(var o=0,n=t.length;o<n;o++)H(t[o],e,r)},G=function(t,e,r,o){if(H(t,e,["number"]),H(r,"min",["number"]),H(o,"max",["number"]),o=Math.max(r,o),t<r||t>o)throw Error(N(e)+" must be at least "+r+" and at most "+o+", but was actually "+t)},J=function(t,e,r,o){H(t,e,["number","undefined"]),"number"==typeof t&&G(t,e,r,o)},Z=function(t,e,r){if(H(t,e,["number"]),t%r!=0)throw Error(N(e)+" must be a multiple of "+r+", but was actually "+t)},Q=function(t,e){if(!Number.isInteger(t))throw Error(N(e)+" must be an integer, but was actually "+t)},X=function(t,e){if(![1,0].includes(Math.sign(t)))throw Error(N(e)+" must be a positive number or 0, but was actually "+t)},Y=new Uint16Array(256),$=0;$<256;$++)Y[$]=$;Y[22]=(0,l.VW)("\x17"),Y[24]=(0,l.VW)("˘"),Y[25]=(0,l.VW)("ˇ"),Y[26]=(0,l.VW)("ˆ"),Y[27]=(0,l.VW)("˙"),Y[28]=(0,l.VW)("˝"),Y[29]=(0,l.VW)("˛"),Y[30]=(0,l.VW)("˚"),Y[31]=(0,l.VW)("˜"),Y[127]=(0,l.VW)("�"),Y[128]=(0,l.VW)("•"),Y[129]=(0,l.VW)("†"),Y[130]=(0,l.VW)("‡"),Y[131]=(0,l.VW)("…"),Y[132]=(0,l.VW)("—"),Y[133]=(0,l.VW)("–"),Y[134]=(0,l.VW)("ƒ"),Y[135]=(0,l.VW)("⁄"),Y[136]=(0,l.VW)("‹"),Y[137]=(0,l.VW)("›"),Y[138]=(0,l.VW)("−"),Y[139]=(0,l.VW)("‰"),Y[140]=(0,l.VW)("„"),Y[141]=(0,l.VW)("“"),Y[142]=(0,l.VW)("”"),Y[143]=(0,l.VW)("‘"),Y[144]=(0,l.VW)("’"),Y[145]=(0,l.VW)("‚"),Y[146]=(0,l.VW)("™"),Y[147]=(0,l.VW)("fi"),Y[148]=(0,l.VW)("fl"),Y[149]=(0,l.VW)("Ł"),Y[150]=(0,l.VW)("Œ"),Y[151]=(0,l.VW)("Š"),Y[152]=(0,l.VW)("Ÿ"),Y[153]=(0,l.VW)("Ž"),Y[154]=(0,l.VW)("ı"),Y[155]=(0,l.VW)("ł"),Y[156]=(0,l.VW)("œ"),Y[157]=(0,l.VW)("š"),Y[158]=(0,l.VW)("ž"),Y[159]=(0,l.VW)("�"),Y[160]=(0,l.VW)("€"),Y[173]=(0,l.VW)("�");var _=function(t){for(var e=Array(t.length),r=0,o=t.length;r<o;r++)e[r]=Y[t[r]];return String.fromCodePoint.apply(String,e)},tt=function(){function t(t){this.populate=t,this.value=void 0}return t.prototype.getValue=function(){return this.value},t.prototype.access=function(){return this.value||(this.value=this.populate()),this.value},t.prototype.invalidate=function(){this.value=void 0},t.populatedBy=function(e){return new t(e)},t}()},32896(t,e,r){var o=function(t){return t.charCodeAt(0)},n=function(t){return t.codePointAt(0)},i=function(t,e){return c(t.toString(16),e,"0").toUpperCase()},a=function(t){return i(t,2)},s=function(t){return String.fromCharCode(t)},u=function(t){return s(parseInt(t,16))},c=function(t,e,r){for(var o="",n=0,i=e-t.length;n<i;n++)o+=r;return o+t},l=function(t,e,r){for(var o=t.length,n=0;n<o;n++)e[r++]=t.charCodeAt(n);return o},h=function(t,e){return void 0===e&&(e=4),t+"-"+Math.floor(Math.random()*Math.pow(10,e))},d=function(t){return t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")},f=function(t){return t.replace(/\t|\u0085|\u2028|\u2029/g," ").replace(/[\b\v]/g,"")},p=["\\n","\\f","\\r","\\u000B"],g=["\n","\f","\r","\v"],y=function(t){return/^[\n\f\r\u000B]$/.test(t)},v=function(t){return t.split(/[\n\f\r\u000B]/)},m=function(t){return t.replace(/[\n\f\r\u000B]/g," ")},b=function(t,e){var r,o=t.charCodeAt(e),n=e+1,i=1;return o>=55296&&o<=56319&&t.length>n&&(r=t.charCodeAt(n))>=56320&&r<=57343&&(i=2),[t.slice(e,e+i),i]},A=function(t){for(var e=[],r=0,o=t.length;r<o;){var n=b(t,r),i=n[0],a=n[1];e.push(i),r+=a}return e},C=function(t){for(var e=p.join("|"),r=["$"],o=0,n=t.length;o<n;o++){var i=t[o];if(y(i))throw TypeError("`wordBreak` must not include "+e);r.push(""===i?".":d(i))}return RegExp("("+e+")|((.*?)("+r.join("|")+"))","gm")},F=function(t,e,r,o){for(var n=C(e),i=f(t).match(n),a="",s=0,u=[],c=function(){""!==a&&u.push(a),a="",s=0},l=0,h=i.length;l<h;l++){var d=i[l];if(y(d))c();else{var p=o(d);s+p>r&&c(),a+=d,s+=p}}return c(),u},S=/^D:(\d\d\d\d)(\d\d)?(\d\d)?(\d\d)?(\d\d)?(\d\d)?([+\-Z])?(\d\d)?'?(\d\d)?'?$/,w=function(t){var e=t.match(S);if(e){var r=e[1],o=e[2],n=e[3],i=e[4],a=e[5],s=e[6],u=e[7],c=void 0===u?"Z":u,l=e[8],h=e[9];return new Date(r+"-"+(void 0===o?"01":o)+"-"+(void 0===n?"01":n)+"T"+(void 0===i?"00":i)+":"+(void 0===a?"00":a)+":"+(void 0===s?"00":s)+("Z"===c?"Z":""+c+(void 0===l?"00":l)+":"+(void 0===h?"00":h)))}},x=function(t,e){for(var r,o,n=0;n<t.length;){var i=t.substring(n).match(e);if(!i)break;o=i,n+=(null!=(r=i.index)?r:0)+i[0].length}return{match:o,pos:n}};r.d(e,{Ac:()=>m,BO:()=>l,BP:()=>A,CF:()=>c,Di:()=>u,JQ:()=>v,N7:()=>y,Nt:()=>d,SU:()=>g,U5:()=>a,VW:()=>o,X2:()=>p,X5:()=>f,XX:()=>n,YF:()=>F,_U:()=>w,dJ:()=>x,os:()=>h,sJ:()=>s,sR:()=>b,vu:()=>i})},18885(t,e,r){var o,n,i=r(32896),a=function(t,e){void 0===e&&(e=!0);var r=[];e&&r.push(239,187,191);for(var o=0,n=t.length;o<n;){var a=t.codePointAt(o);if(a<128){var s=127&a;r.push(s),o+=1}else if(a<2048){var s=a>>6&31|192,u=63&a|128;r.push(s,u),o+=1}else if(a<65536){var s=a>>12&15|224,u=a>>6&63|128,c=63&a|128;r.push(s,u,c),o+=1}else if(a<1114112){var s=a>>18&7|240,u=a>>12&63|128,c=a>>6&63|128,l=63&a|128;r.push(s,u,c,l),o+=2}else throw Error("Invalid code point: 0x"+(0,i.U5)(a))}return new Uint8Array(r)},s=function(t,e){void 0===e&&(e=!0);var r=[];e&&r.push(65279);for(var o=0,n=t.length;o<n;){var a=t.codePointAt(o);if(a<65536)r.push(a),o+=1;else if(a<1114112)r.push(l(a),h(a)),o+=2;else throw Error("Invalid code point: 0x"+(0,i.U5)(a))}return new Uint16Array(r)},u=function(t){return t>=0&&t<=65535},c=function(t){return t>=65536&&t<=1114111},l=function(t){return Math.floor((t-65536)/1024)+55296},h=function(t){return(t-65536)%1024+56320};(o=n||(n={})).BigEndian="BigEndian",o.LittleEndian="LittleEndian";var d=function(t,e){if(void 0===e&&(e=!0),t.length<=1)return String.fromCodePoint(65533);for(var r=e?y(t):n.BigEndian,o=2*!!e,i=[];t.length-o>=2;){var a=g(t[o++],t[o++],r);if(f(a))if(t.length-o<2)i.push(65533);else{var s=g(t[o++],t[o++],r);p(s)?i.push(a,s):i.push(65533)}else p(a)?(o+=2,i.push(65533)):i.push(a)}return o<t.length&&i.push(65533),String.fromCodePoint.apply(String,i)},f=function(t){return t>=55296&&t<=56319},p=function(t){return t>=56320&&t<=57343},g=function(t,e,r){if(r===n.LittleEndian)return e<<8|t;if(r===n.BigEndian)return t<<8|e;throw Error("Invalid byteOrder: "+r)},y=function(t){return v(t)?n.BigEndian:m(t)?n.LittleEndian:n.BigEndian},v=function(t){return 254===t[0]&&255===t[1]},m=function(t){return 255===t[0]&&254===t[1]},b=function(t){return v(t)||m(t)};r.d(e,{HH:()=>u,NJ:()=>d,P1:()=>h,bW:()=>s,me:()=>c,pJ:()=>b,rN:()=>l,yi:()=>a})}};