(function(e){function t(t){for(var s,i,u=t[0],o=t[1],c=t[2],b=0,d=[];b>>0,n=0;case 6:if(!(r>n)){e.next=13;break}return e.next=9,t(s,this[n],n,this);case 9:s=e.sent;case 10:++n,e.next=6;break;case 13:return e.abrupt("return",s);case 14:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}();var r=function(){for(var e=this,t=arguments.length,n=new Array(t),s=0;s0){var u=window.open("打印窗口","_blank"),c=u.document.body;console.log(s.length);var l,b=Object(o["a"])(s);try{for(b.s();!(l=b.n()).done;){var d=l.value;c.appendChild(d)}}catch(f){b.e(f)}finally{b.f()}this.progressVisible=!1,this.loading=!1,u.focus(),u.print(),u.close()}},printSecret:function(){var e,t=document.getElementsByTagName("img"),n=Object(o["a"])(t);try{for(n.s();!(e=n.n()).done;){var s=e.value;s.style.filter="grayscale(100%)"}}catch(u){n.e(u)}finally{n.f()}this.print();var r,a=Object(o["a"])(t);try{for(a.s();!(r=a.n()).done;){var i=r.value;i.style.filter=""}}catch(u){a.e(u)}finally{a.f()}},scrool:function(){for(var e,t,n=(null===(e=this.$refs.contentDiv.firstElementChild)||void 0===e||null===(t=e.getBoundingClientRect())||void 0===t?void 0:t.top)-60,s=0,r=0,a=0;a0)){e.next=23;break}if("ofd"!==d.sealObj.type){e.next=22;break}return e.next=17,B(d);case 17:f=e.sent,h=Object(s["a"])(f);try{for(h.s();!(p=h.n()).done;)v=p.value,d.stampAnnot.boundary=Object(c["l"])(d.stampAnnot["@_Boundary"]),d.stampAnnot.pageRef=d.stampAnnot["@_PageRef"],o[d.stampAnnot["@_PageRef"]]||(o[d.stampAnnot["@_PageRef"]]=[]),o[d.stampAnnot["@_PageRef"]].push({type:"ofd",obj:v,stamp:d})}catch(j){h.e(j)}finally{h.f()}e.next=23;break;case 22:if("png"===d.sealObj.type){g="data:image/png;base64,"+btoa(String.fromCharCode.apply(null,d.sealObj.ofdArray)),m=[],m=m.concat(d.stampAnnot),y=Object(s["a"])(m);try{for(y.s();!(w=y.n()).done;)x=w.value,x&&(O={img:g,pageId:x["@_PageRef"],boundary:Object(c["l"])(x["@_Boundary"]),clip:Object(c["l"])(x["@_Clip"])},o[x["@_PageRef"]]||(o[x["@_PageRef"]]=[]),o[x["@_PageRef"]].push({type:"png",obj:O,stamp:d}))}catch(j){y.e(j)}finally{y.f()}}case 23:e.next=11;break;case 25:e.next=30;break;case 27:e.prev=27,e.t0=e["catch"](9),l.e(e.t0);case 30:return e.prev=30,l.f(),e.finish(30);case 33:return e.abrupt("return",[t,a,r,o]);case 34:case"end":return e.stop()}}),e,null,[[9,27,30,33]])})));return function(t,n){return e.apply(this,arguments)}}(),g=function(){var e=Object(a["a"])(regeneratorRuntime.mark((function e(t){var n,s,a,i,u,o,c,l,b,d,f;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n=Object(r["a"])(t,4),s=n[0],a=n[1],i=n[2],u=n[3],e.next=3,P(s,i);case 3:if(o=e.sent,c=o["json"]["ofd:Document"],l=c["ofd:Annotations"],b=[],!l){e.next=15;break}if(-1!==l.indexOf("/")&&(d=l.substring(0,l.indexOf("/"))),-1===l.indexOf(a)&&(l="".concat(a,"/").concat(l)),!s.files[l]){e.next=15;break}return e.next=13,P(s,l);case 13:l=e.sent,b=b.concat(l["json"]["ofd:Annotations"]["ofd:Page"]);case 15:return e.next=17,m(d,b,a,s);case 17:return f=e.sent,e.abrupt("return",[s,a,c,u,f]);case 19:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),m=function(){var e=Object(a["a"])(regeneratorRuntime.mark((function e(t,n,r,a){var i,u,o,l,b,d,f,h,p,v,g,m,y,w,x;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:i={},u=Object(s["a"])(n),e.prev=2,u.s();case 4:if((o=u.n()).done){e.next=44;break}if(l=o.value,l){e.next=8;break}return e.abrupt("continue",42);case 8:if(b=l["@_PageID"],d=l["ofd:FileLoc"],d=Object(c["m"])(d),t&&-1===d.indexOf(t)&&(d="".concat(t,"/").concat(d)),-1===d.indexOf(r)&&(d="".concat(r,"/").concat(d)),!a.files[d]){e.next=42;break}return e.next=16,P(a,d);case 16:f=e.sent,h=[],h=h.concat(f["json"]["ofd:PageAnnot"]["ofd:Annot"]),i[b]||(i[b]=[]),p=Object(s["a"])(h),e.prev=21,p.s();case 23:if((v=p.n()).done){e.next=34;break}if(g=v.value,g){e.next=27;break}return e.abrupt("continue",32);case 27:m=g["@_Type"],y=!g["@_Visible"]||g["@_Visible"],w=g["ofd:Appearance"],x={type:m,appearance:w,visible:y},i[b].push(x);case 32:e.next=23;break;case 34:e.next=39;break;case 36:e.prev=36,e.t0=e["catch"](21),p.e(e.t0);case 39:return e.prev=39,p.f(),e.finish(39);case 42:e.next=4;break;case 44:e.next=49;break;case 46:e.prev=46,e.t1=e["catch"](2),u.e(e.t1);case 49:return e.prev=49,u.f(),e.finish(49);case 52:return e.abrupt("return",i);case 53:case"end":return e.stop()}}),e,null,[[2,46,49,52],[21,36,39,42]])})));return function(t,n,s,r){return e.apply(this,arguments)}}(),y=function(){var e=Object(a["a"])(regeneratorRuntime.mark((function e(t){var n,s,a,i,u,o,c,l,b,d,f,h,p;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(n=Object(r["a"])(t,5),s=n[0],a=n[1],i=n[2],u=n[3],o=n[4],c=i["ofd:CommonData"]["ofd:DocumentRes"],l={},b={},d={},f=[],!c){e.next=23;break}if(-1==c.indexOf(a)&&(c="".concat(a,"/").concat(c)),!s.files[c]){e.next=23;break}return e.next=11,P(s,c);case 11:return h=e.sent,p=h["json"]["ofd:Res"],e.next=15,j(p);case 15:return l=e.sent,e.next=18,k(p);case 18:return b=e.sent,e.next=21,S(s,p,a);case 21:d=e.sent,f=_(p);case 23:return e.abrupt("return",[s,a,i,u,o,l,b,d,f]);case 24:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),w=function(){var e=Object(a["a"])(regeneratorRuntime.mark((function e(t){var n,s,a,i,u,o,c,l,b,d,f,h,p,v,g,m;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(n=Object(r["a"])(t,9),s=n[0],a=n[1],i=n[2],u=n[3],o=n[4],c=n[5],l=n[6],b=n[7],d=n[8],f=i["ofd:CommonData"]["ofd:PublicRes"],!f){e.next=22;break}if(-1==f.indexOf(a)&&(f="".concat(a,"/").concat(f)),!s.files[f]){e.next=22;break}return e.next=7,P(s,f);case 7:return h=e.sent,p=h["json"]["ofd:Res"],e.next=11,j(p);case 11:return v=e.sent,c=Object.assign(c,v),e.next=15,k(p);case 15:return g=e.sent,l=Object.assign(l,g),e.next=19,S(s,p,a);case 19:m=e.sent,b=Object.assign(b,m),d=d.concat(_(p));case 22:return e.abrupt("return",[s,a,i,u,o,c,l,b,d]);case 23:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),x=function(){var e=Object(a["a"])(regeneratorRuntime.mark((function e(t){var n,a,i,u,o,c,l,b,d,f,h,p,v,g,m,y,w;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:n=Object(r["a"])(t,9),a=n[0],i=n[1],u=n[2],o=n[3],c=n[4],l=n[5],b=n[6],d=n[7],f=n[8],h=u["ofd:CommonData"]["ofd:TemplatePage"],p=[],p=p.concat(h),v={},g=Object(s["a"])(p),e.prev=6,g.s();case 8:if((m=g.n()).done){e.next=17;break}if(y=m.value,!y){e.next=15;break}return e.next=13,A(a,y,i);case 13:w=e.sent,v[Object.keys(w)[0]]=w[Object.keys(w)[0]];case 15:e.next=8;break;case 17:e.next=22;break;case 19:e.prev=19,e.t0=e["catch"](6),g.e(e.t0);case 22:return e.prev=22,g.f(),e.finish(22);case 25:return e.abrupt("return",[a,i,u,o,c,v,l,b,d,f]);case 26:case"end":return e.stop()}}),e,null,[[6,19,22,25]])})));return function(t){return e.apply(this,arguments)}}(),O=function(){var e=Object(a["a"])(regeneratorRuntime.mark((function e(t){var n,a,i,u,o,c,l,b,d,f,h,p,v,g,m,y,w,x,O,j,k;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:n=Object(r["a"])(t,10),a=n[0],i=n[1],u=n[2],o=n[3],c=n[4],l=n[5],b=n[6],d=n[7],f=n[8],h=n[9],p=u["ofd:Pages"]["ofd:Page"],v=[],v=v.concat(p),g=[],m=Object(s["a"])(v),e.prev=6,m.s();case 8:if((y=m.n()).done){e.next=22;break}if(w=y.value,!w){e.next=20;break}return e.next=13,A(a,w,i);case 13:x=e.sent,O=Object.keys(x)[0],j=o[O],j&&(x[O].stamp=j),k=c[O],k&&(x[O].annotation=k),g.push(x);case 20:e.next=8;break;case 22:e.next=27;break;case 24:e.prev=24,e.t0=e["catch"](6),m.e(e.t0);case 27:return e.prev=27,m.f(),e.finish(27);case 30:return e.abrupt("return",{doc:i,document:u,pages:g,tpls:l,stampAnnot:o,fontResObj:b,drawParamResObj:d,multiMediaResObj:f,compositeGraphicUnits:h});case 31:case"end":return e.stop()}}),e,null,[[6,24,27,30]])})));return function(t){return e.apply(this,arguments)}}(),j=function(){var e=Object(a["a"])(regeneratorRuntime.mark((function e(t){var n,r,a,i,u,o;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(n=t["ofd:Fonts"],r={},n){a=[],a=a.concat(n["ofd:Font"]),i=Object(s["a"])(a);try{for(i.s();!(u=i.n()).done;)o=u.value,o&&(o["@_FamilyName"]?r[o["@_ID"]]=o["@_FamilyName"]:r[o["@_ID"]]=o["@_FontName"])}catch(c){i.e(c)}finally{i.f()}}return e.abrupt("return",r);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),k=function(){var e=Object(a["a"])(regeneratorRuntime.mark((function e(t){var n,r,a,i,u,o;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(n=t["ofd:DrawParams"],r={},n){a=[],a=a.concat(n["ofd:DrawParam"]),i=Object(s["a"])(a);try{for(i.s();!(u=i.n()).done;)o=u.value,o&&(r[o["@_ID"]]={LineWidth:o["@_LineWidth"],FillColor:o["ofd:FillColor"]?o["ofd:FillColor"]["@_Value"]:"",StrokeColor:o["ofd:StrokeColor"]?o["ofd:StrokeColor"]["@_Value"]:"",relative:o["@_Relative"]})}catch(c){i.e(c)}finally{i.f()}}return e.abrupt("return",r);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),S=function(){var e=Object(a["a"])(regeneratorRuntime.mark((function e(t,n,r){var a,i,u,o,l,b,d,f,h,p,v;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(a=n["ofd:MultiMedias"],i={},!a){e.next=41;break}u=[],u=u.concat(a["ofd:MultiMedia"]),o=Object(s["a"])(u),e.prev=6,o.s();case 8:if((l=o.n()).done){e.next=33;break}if(b=l.value,!b){e.next=31;break}if(d=b["ofd:MediaFile"],n["@_BaseLoc"]&&-1===d.indexOf(n["@_BaseLoc"])&&(d="".concat(n["@_BaseLoc"],"/").concat(d)),-1===d.indexOf(r)&&(d="".concat(r,"/").concat(d)),"image"!==b["@_Type"].toLowerCase()){e.next=30;break}if(f=b["@_Format"],h=Object(c["g"])(d),(!f||"gbig2"!==f.toLowerCase()&&"jb2"!==f.toLowerCase())&&(!h||"jb2"!==h.toLowerCase()&&"gbig2"!==h.toLowerCase())){e.next=24;break}return e.next=20,F(t,d);case 20:p=e.sent,i[b["@_ID"]]=p,e.next=28;break;case 24:return e.next=26,R(t,d);case 26:v=e.sent,i[b["@_ID"]]={img:v,format:"png"};case 28:e.next=31;break;case 30:i[b["@_ID"]]=d;case 31:e.next=8;break;case 33:e.next=38;break;case 35:e.prev=35,e.t0=e["catch"](6),o.e(e.t0);case 38:return e.prev=38,o.f(),e.finish(38);case 41:return e.abrupt("return",i);case 42:case"end":return e.stop()}}),e,null,[[6,35,38,41]])})));return function(t,n,s){return e.apply(this,arguments)}}(),_=function(e){var t=e["ofd:CompositeGraphicUnits"],n=[];if(t){var r=[];r=r.concat(t["ofd:CompositeGraphicUnit"]);var a,i=Object(s["a"])(r);try{for(i.s();!(a=i.n()).done;){var u=a.value;u&&n.push(u)}}catch(o){i.e(o)}finally{i.f()}}return n},A=function(){var e=Object(a["a"])(regeneratorRuntime.mark((function e(t,n,s){var r,a,i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return r=n["@_BaseLoc"],-1==r.indexOf(s)&&(r="".concat(s,"/").concat(r)),e.next=4,P(t,r);case 4:return a=e.sent,i={},i[n["@_ID"]]={json:a["json"]["ofd:Page"],xml:a["xml"]},e.abrupt("return",i);case 8:case"end":return e.stop()}}),e)})));return function(t,n,s){return e.apply(this,arguments)}}(),D=function(){var e=Object(a["a"])(regeneratorRuntime.mark((function e(t,n,r){var a,i,u,o,l,b,d,f,h;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(a=[],!n){e.next=37;break}if(n=Object(c["m"])(n),-1===n.indexOf(r)&&(n="".concat(r,"/").concat(n)),!t.files[n]){e.next=37;break}return e.next=7,P(t,n);case 7:i=e.sent,u=i["json"]["ofd:Signatures"]["ofd:Signature"],o=[],o=o.concat(u),l=Object(s["a"])(o),e.prev=12,l.s();case 14:if((b=l.n()).done){e.next=29;break}if(d=b.value,!d){e.next=27;break}return f=d["@_BaseLoc"],h=d["@_ID"],f=Object(c["m"])(f),-1===f.indexOf("Signs")&&(f="Signs/".concat(f)),-1===f.indexOf(r)&&(f="".concat(r,"/").concat(f)),e.t0=a,e.next=25,C(t,f,h);case 25:e.t1=e.sent,e.t0.push.call(e.t0,e.t1);case 27:e.next=14;break;case 29:e.next=34;break;case 31:e.prev=31,e.t2=e["catch"](12),l.e(e.t2);case 34:return e.prev=34,l.f(),e.finish(34);case 37:return e.abrupt("return",a);case 38:case"end":return e.stop()}}),e,null,[[12,31,34,37]])})));return function(t,n,s){return e.apply(this,arguments)}}(),I=function(){var e=Object(a["a"])(regeneratorRuntime.mark((function e(t,n){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",t.files[n].async("uint8array"));case 1:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),C=function(){var t=Object(a["a"])(regeneratorRuntime.mark((function t(n,s,r){var i,u,o,c,l;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,P(n,s);case 2:return i=t.sent,u=i["json"]["ofd:Signature"]["ofd:SignedValue"],u=u.toString().replace("/",""),n.files[u]||(u="".concat(s.substring(0,s.lastIndexOf("/")),"/").concat(u)),t.next=8,Object(b["b"])(n,u);case 8:return o=t.sent,c=i["json"]["ofd:Signature"]["ofd:SignedInfo"]["ofd:References"]["@_CheckMethod"],e.toBeChecked=new Map,l=new Array,i["json"]["ofd:Signature"]["ofd:SignedInfo"]["ofd:References"]["ofd:Reference"].forEach(function(){var e=Object(a["a"])(regeneratorRuntime.mark((function e(t){var s,r,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(0!=Object.keys(t).length&&0!=Object.keys(t["@_FileRef"]).length){e.next=2;break}return e.abrupt("return",!0);case 2:return s=t["ofd:CheckValue"],r=t["@_FileRef"].replace("/",""),e.next=6,I(n,r);case 6:a=e.sent,l.push({fileData:a,hashed:s,checkMethod:c});case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),e.toBeChecked.set(r,l),t.abrupt("return",{stampAnnot:i["json"]["ofd:Signature"]["ofd:SignedInfo"]["ofd:StampAnnot"],sealObj:o,signedInfo:{signatureID:r,VerifyRet:o.verifyRet,Provider:i["json"]["ofd:Signature"]["ofd:SignedInfo"]["ofd:Provider"],SignatureMethod:i["json"]["ofd:Signature"]["ofd:SignedInfo"]["ofd:SignatureMethod"],SignatureDateTime:i["json"]["ofd:Signature"]["ofd:SignedInfo"]["ofd:SignatureDateTime"]}});case 15:case"end":return t.stop()}}),t)})));return function(e,n,s){return t.apply(this,arguments)}}(),B=function(e){var t=this;return new Promise((function(n,s){i["a"].call(t,Object(a["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,f(e.sealObj.ofdArray);case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t)}))),h,p).then((function(e){n(e)})).catch((function(e){s(e)}))}))},P=function(){var e=Object(a["a"])(regeneratorRuntime.mark((function e(t,n){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise((function(e,s){t.files[n].async("string").then((function(t){var n={attributeNamePrefix:"@_",ignoreAttributes:!1,parseNodeValue:!1,trimValues:!1},s=d.parse(t,n),r={xml:t,json:s};e(r)}),(function(e){s(e)}))})));case 1:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),F=function(){var e=Object(a["a"])(regeneratorRuntime.mark((function e(t,n){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise((function(e,s){t.files[n].async("uint8array").then((function(t){var n=new l["a"],s=n.parse(t);e({img:s,width:n.width,height:n.height,format:"gbig2"})}),(function(e){s(e)}))})));case 1:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),R=function(){var e=Object(a["a"])(regeneratorRuntime.mark((function e(t,n){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise((function(e,s){t.files[n].async("base64").then((function(t){var n="data:image/png;base64,"+t;e(n)}),(function(e){s(e)}))})));case 1:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}()}).call(this,n("c8ba"))},"6b33":function(e,t,n){"use strict";n.d(t,"d",(function(){return r})),n.d(t,"b",(function(){return a})),n.d(t,"n",(function(){return c})),n.d(t,"o",(function(){return l})),n.d(t,"i",(function(){return b})),n.d(t,"f",(function(){return d})),n.d(t,"c",(function(){return h})),n.d(t,"m",(function(){return p})),n.d(t,"g",(function(){return v})),n.d(t,"h",(function(){return x})),n.d(t,"l",(function(){return O})),n.d(t,"k",(function(){return j})),n.d(t,"j",(function(){return k})),n.d(t,"e",(function(){return S})),n.d(t,"a",(function(){return _}));var s=n("b85c"),r=(n("1276"),n("ac1f"),n("498a"),n("5319"),n("d3b7"),n("25f0"),n("b64b"),n("99af"),n("a15b"),function(e){var t=e.split(" "),n=[],s=0;while(s5?5:e},l=function(e){o=e>1?e:1,o=o>u?u:o},b=function(){return o},d=function(e){return i(e,25.4*o)},f=function(e){if(-1===e.indexOf("g")){var t,n=[],r=Object(s["a"])(e.split(" "));try{for(r.s();!(t=r.n()).done;){var a=t.value;n.push(parseFloat(a))}}catch(p){r.e(p)}finally{r.f()}return n}var i,u=e.split(" "),o=!1,c=!1,l=0,b=[],d=Object(s["a"])(u);try{for(d.s();!(i=d.n()).done;){var f=i.value;if("g"===f)o=!0;else{if(!f||0==f.trim().length)continue;if(o)l=parseInt(f),c=!0,o=!1;else if(c){for(var h=0;h0&&(o=f(u["@_DeltaX"])),u["@_DeltaY"]&&u["@_DeltaY"].length>0&&(c=f(u["@_DeltaY"]));var l=u["#text"];if(l){l+="",l=y(l),l=l.replace(/ /g," ");for(var b=0;b0&&o.length>0&&(t+=o[b-1]),b>0&&c.length>0&&(n+=c[b-1]);var h=l.substring(b,b+1),p={x:d(t),y:d(n),text:h};r.push(p)}}}}}catch(v){i.e(v)}finally{i.f()}return r},p=function(e){return e&&0===e.indexOf("/")&&(e=e.replace("/","")),e},v=function(e){return e||"string"===typeof e?e.substring(e.lastIndexOf(".")+1):""},g=/&\w+;|&#(\d+);/g,m={"<":"<",">":">","&":"&"," ":" ",""":'"',"©":"","'":"'"},y=function(e){return e=void 0!=e?e:this.toString(),"string"!=typeof e?e:e.replace(g,(function(e,t){var n=m[e];return void 0==n&&(n=isNaN(t)?e:String.fromCharCode(160==t?32:t)),n}))},w={"楷体":"楷体, KaiTi, Kai, simkai",kaiti:"楷体, KaiTi, Kai, simkai",Kai:"楷体, KaiTi, Kai",simsun:"SimSun, simsun, Songti SC","宋体":"SimSun, simsun, Songti SC","黑体":"SimHei, STHeiti, simhei","仿宋":"FangSong, STFangsong, simfang","小标宋体":"sSun","方正小标宋_gbk":"sSun","仿宋_gb2312":"FangSong, STFangsong, simfang","楷体_gb2312":"楷体, KaiTi, Kai, simkai",couriernew:"Courier New","courier new":"Courier New"},x=function(e){w[e.toLowerCase()]&&(e=w[e.toLowerCase()]);for(var t=0,n=Object.keys(w);t>>3]|=parseInt(e[n],10)<<24-s%8*4,n++;for(var r=[],a=0;a>>2]>>>24-a%4*8&255;r.push((i>>>4).toString(16)),r.push((15&i).toString(16))}return r.join("")}},"73fd":function(e,t,n){"use strict";n.d(t,"a",(function(){return x}));var s=n("d4ec"),r=n("262e"),a=n("2caf"),i=(n("fd87"),n("9a8c"),n("a975"),n("735e"),n("c1ac"),n("d139"),n("3a7b"),n("d5d6"),n("82f8"),n("e91f"),n("60bd"),n("5f96"),n("3280"),n("3fcc"),n("ca91"),n("25a1"),n("cd26"),n("3c5d"),n("2954"),n("649e"),n("219c"),n("170b"),n("b39a"),n("72f7"),n("d3b7"),n("5cc6"),n("99af"),n("84c3"),n("143c"),n("8a59"),n("fb2c"),n("bee2")),u=(n("53ca"),n("8ba4"),n("a9e3"),n("2b3d"),n("3ca3"),n("ddb0"),n("b0c0"),n("5319"),n("ac1f"),n("a15b"),n("fb6a"),n("25f0"),n("4d90"),n("7f3b"),{ERRORS:0,WARNINGS:1,INFOS:5}),o=u.WARNINGS;function c(e){o>=u.INFOS&&console.log("Info: ".concat(e))}function l(e){throw new Error(e)}function b(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!1}),n}var d=function(){function e(t){this.constructor===e&&l("Cannot initialize BaseException."),this.message=t,this.name=this.constructor.name}return e.prototype=new Error,e.constructor=e,e}();(function(){var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="})(),n("90d7");function f(e){return e<=0?0:Math.ceil(Math.log2(e))}function h(e,t){return e[t]<<24>>24}function p(e,t){return e[t]<<8|e[t+1]}function v(e,t){return(e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3])>>>0}var g=[{qe:22017,nmps:1,nlps:1,switchFlag:1},{qe:13313,nmps:2,nlps:6,switchFlag:0},{qe:6145,nmps:3,nlps:9,switchFlag:0},{qe:2753,nmps:4,nlps:12,switchFlag:0},{qe:1313,nmps:5,nlps:29,switchFlag:0},{qe:545,nmps:38,nlps:33,switchFlag:0},{qe:22017,nmps:7,nlps:6,switchFlag:1},{qe:21505,nmps:8,nlps:14,switchFlag:0},{qe:18433,nmps:9,nlps:14,switchFlag:0},{qe:14337,nmps:10,nlps:14,switchFlag:0},{qe:12289,nmps:11,nlps:17,switchFlag:0},{qe:9217,nmps:12,nlps:18,switchFlag:0},{qe:7169,nmps:13,nlps:20,switchFlag:0},{qe:5633,nmps:29,nlps:21,switchFlag:0},{qe:22017,nmps:15,nlps:14,switchFlag:1},{qe:21505,nmps:16,nlps:14,switchFlag:0},{qe:20737,nmps:17,nlps:15,switchFlag:0},{qe:18433,nmps:18,nlps:16,switchFlag:0},{qe:14337,nmps:19,nlps:17,switchFlag:0},{qe:13313,nmps:20,nlps:18,switchFlag:0},{qe:12289,nmps:21,nlps:19,switchFlag:0},{qe:10241,nmps:22,nlps:19,switchFlag:0},{qe:9217,nmps:23,nlps:20,switchFlag:0},{qe:8705,nmps:24,nlps:21,switchFlag:0},{qe:7169,nmps:25,nlps:22,switchFlag:0},{qe:6145,nmps:26,nlps:23,switchFlag:0},{qe:5633,nmps:27,nlps:24,switchFlag:0},{qe:5121,nmps:28,nlps:25,switchFlag:0},{qe:4609,nmps:29,nlps:26,switchFlag:0},{qe:4353,nmps:30,nlps:27,switchFlag:0},{qe:2753,nmps:31,nlps:28,switchFlag:0},{qe:2497,nmps:32,nlps:29,switchFlag:0},{qe:2209,nmps:33,nlps:30,switchFlag:0},{qe:1313,nmps:34,nlps:31,switchFlag:0},{qe:1089,nmps:35,nlps:32,switchFlag:0},{qe:673,nmps:36,nlps:33,switchFlag:0},{qe:545,nmps:37,nlps:34,switchFlag:0},{qe:321,nmps:38,nlps:35,switchFlag:0},{qe:273,nmps:39,nlps:36,switchFlag:0},{qe:133,nmps:40,nlps:37,switchFlag:0},{qe:73,nmps:41,nlps:38,switchFlag:0},{qe:37,nmps:42,nlps:39,switchFlag:0},{qe:21,nmps:43,nlps:40,switchFlag:0},{qe:9,nmps:44,nlps:41,switchFlag:0},{qe:5,nmps:45,nlps:42,switchFlag:0},{qe:1,nmps:45,nlps:43,switchFlag:0},{qe:22017,nmps:46,nlps:46,switchFlag:0}],m=function(){function e(t,n,r){Object(s["a"])(this,e),this.data=t,this.bp=n,this.dataEnd=r,this.chigh=t[n],this.clow=0,this.byteIn(),this.chigh=this.chigh<<7&65535|this.clow>>9&127,this.clow=this.clow<<7&65535,this.ct-=7,this.a=32768}return Object(i["a"])(e,[{key:"byteIn",value:function(){var e=this.data,t=this.bp;255===e[t]?e[t+1]>143?(this.clow+=65280,this.ct=8):(t++,this.clow+=e[t]<<9,this.ct=7,this.bp=t):(t++,this.clow+=t65535&&(this.chigh+=this.clow>>16,this.clow&=65535)}},{key:"readBit",value:function(e,t){var n,s=e[t]>>1,r=1&e[t],a=g[s],i=a.qe,u=this.a-i;if(this.chigh>15&1,this.clow=this.clow<<1&65535,this.ct--}while(0===(32768&u));return this.a=u,e[t]=s<<1|r,n}}]),e}(),y=function(){var e=-2,t=-1,n=0,s=1,r=2,a=3,i=4,u=5,o=6,l=7,b=8,d=[[-1,-1],[-1,-1],[7,b],[7,l],[6,o],[6,o],[6,u],[6,u],[4,n],[4,n],[4,n],[4,n],[4,n],[4,n],[4,n],[4,n],[3,s],[3,s],[3,s],[3,s],[3,s],[3,s],[3,s],[3,s],[3,s],[3,s],[3,s],[3,s],[3,s],[3,s],[3,s],[3,s],[3,i],[3,i],[3,i],[3,i],[3,i],[3,i],[3,i],[3,i],[3,i],[3,i],[3,i],[3,i],[3,i],[3,i],[3,i],[3,i],[3,a],[3,a],[3,a],[3,a],[3,a],[3,a],[3,a],[3,a],[3,a],[3,a],[3,a],[3,a],[3,a],[3,a],[3,a],[3,a],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r]],f=[[-1,-1],[12,e],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[11,1792],[11,1792],[12,1984],[12,2048],[12,2112],[12,2176],[12,2240],[12,2304],[11,1856],[11,1856],[11,1920],[11,1920],[12,2368],[12,2432],[12,2496],[12,2560]],h=[[-1,-1],[-1,-1],[-1,-1],[-1,-1],[8,29],[8,29],[8,30],[8,30],[8,45],[8,45],[8,46],[8,46],[7,22],[7,22],[7,22],[7,22],[7,23],[7,23],[7,23],[7,23],[8,47],[8,47],[8,48],[8,48],[6,13],[6,13],[6,13],[6,13],[6,13],[6,13],[6,13],[6,13],[7,20],[7,20],[7,20],[7,20],[8,33],[8,33],[8,34],[8,34],[8,35],[8,35],[8,36],[8,36],[8,37],[8,37],[8,38],[8,38],[7,19],[7,19],[7,19],[7,19],[8,31],[8,31],[8,32],[8,32],[6,1],[6,1],[6,1],[6,1],[6,1],[6,1],[6,1],[6,1],[6,12],[6,12],[6,12],[6,12],[6,12],[6,12],[6,12],[6,12],[8,53],[8,53],[8,54],[8,54],[7,26],[7,26],[7,26],[7,26],[8,39],[8,39],[8,40],[8,40],[8,41],[8,41],[8,42],[8,42],[8,43],[8,43],[8,44],[8,44],[7,21],[7,21],[7,21],[7,21],[7,28],[7,28],[7,28],[7,28],[8,61],[8,61],[8,62],[8,62],[8,63],[8,63],[8,0],[8,0],[8,320],[8,320],[8,384],[8,384],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[7,27],[7,27],[7,27],[7,27],[8,59],[8,59],[8,60],[8,60],[9,1472],[9,1536],[9,1600],[9,1728],[7,18],[7,18],[7,18],[7,18],[7,24],[7,24],[7,24],[7,24],[8,49],[8,49],[8,50],[8,50],[8,51],[8,51],[8,52],[8,52],[7,25],[7,25],[7,25],[7,25],[8,55],[8,55],[8,56],[8,56],[8,57],[8,57],[8,58],[8,58],[6,192],[6,192],[6,192],[6,192],[6,192],[6,192],[6,192],[6,192],[6,1664],[6,1664],[6,1664],[6,1664],[6,1664],[6,1664],[6,1664],[6,1664],[8,448],[8,448],[8,512],[8,512],[9,704],[9,768],[8,640],[8,640],[8,576],[8,576],[9,832],[9,896],[9,960],[9,1024],[9,1088],[9,1152],[9,1216],[9,1280],[9,1344],[9,1408],[7,256],[7,256],[7,256],[7,256],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[6,16],[6,16],[6,16],[6,16],[6,16],[6,16],[6,16],[6,16],[6,17],[6,17],[6,17],[6,17],[6,17],[6,17],[6,17],[6,17],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[6,14],[6,14],[6,14],[6,14],[6,14],[6,14],[6,14],[6,14],[6,15],[6,15],[6,15],[6,15],[6,15],[6,15],[6,15],[6,15],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7]],p=[[-1,-1],[-1,-1],[12,e],[12,e],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[11,1792],[11,1792],[11,1792],[11,1792],[12,1984],[12,1984],[12,2048],[12,2048],[12,2112],[12,2112],[12,2176],[12,2176],[12,2240],[12,2240],[12,2304],[12,2304],[11,1856],[11,1856],[11,1856],[11,1856],[11,1920],[11,1920],[11,1920],[11,1920],[12,2368],[12,2368],[12,2432],[12,2432],[12,2496],[12,2496],[12,2560],[12,2560],[10,18],[10,18],[10,18],[10,18],[10,18],[10,18],[10,18],[10,18],[12,52],[12,52],[13,640],[13,704],[13,768],[13,832],[12,55],[12,55],[12,56],[12,56],[13,1280],[13,1344],[13,1408],[13,1472],[12,59],[12,59],[12,60],[12,60],[13,1536],[13,1600],[11,24],[11,24],[11,24],[11,24],[11,25],[11,25],[11,25],[11,25],[13,1664],[13,1728],[12,320],[12,320],[12,384],[12,384],[12,448],[12,448],[13,512],[13,576],[12,53],[12,53],[12,54],[12,54],[13,896],[13,960],[13,1024],[13,1088],[13,1152],[13,1216],[10,64],[10,64],[10,64],[10,64],[10,64],[10,64],[10,64],[10,64]],v=[[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[11,23],[11,23],[12,50],[12,51],[12,44],[12,45],[12,46],[12,47],[12,57],[12,58],[12,61],[12,256],[10,16],[10,16],[10,16],[10,16],[10,17],[10,17],[10,17],[10,17],[12,48],[12,49],[12,62],[12,63],[12,30],[12,31],[12,32],[12,33],[12,40],[12,41],[11,22],[11,22],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[9,15],[9,15],[9,15],[9,15],[9,15],[9,15],[9,15],[9,15],[12,128],[12,192],[12,26],[12,27],[12,28],[12,29],[11,19],[11,19],[11,20],[11,20],[12,34],[12,35],[12,36],[12,37],[12,38],[12,39],[11,21],[11,21],[12,42],[12,43],[10,0],[10,0],[10,0],[10,0],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12]],g=[[-1,-1],[-1,-1],[-1,-1],[-1,-1],[6,9],[6,8],[5,7],[5,7],[4,6],[4,6],[4,6],[4,6],[4,5],[4,5],[4,5],[4,5],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2]];function m(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e||"function"!==typeof e.next)throw new Error('CCITTFaxDecoder - invalid "source" parameter.');this.source=e,this.eof=!1,this.encoding=t.K||0,this.eoline=t.EndOfLine||!1,this.byteAlign=t.EncodedByteAlign||!1,this.columns=t.Columns||1728,this.rows=t.Rows||0;var n,s=t.EndOfBlock;null!==s&&void 0!==s||(s=!0),this.eoblock=s,this.black=t.BlackIs1||!1,this.codingLine=new Uint32Array(this.columns+1),this.refLine=new Uint32Array(this.columns+2),this.codingLine[0]=this.columns,this.codingPos=0,this.row=0,this.nextLine2D=this.encoding<0,this.inputBits=0,this.inputBuf=0,this.outputBits=0,this.rowsDone=!1;while(0===(n=this._lookBits(12)))this._eatBits(1);1===n&&this._eatBits(12),this.encoding>0&&(this.nextLine2D=!this._lookBits(1),this._eatBits(1))}return m.prototype={readNextChar:function(){if(this.eof)return-1;var e,d,f,h,p,v=this.refLine,g=this.codingLine,m=this.columns;if(0===this.outputBits){if(this.rowsDone&&(this.eof=!0),this.eof)return-1;var y,w,x;if(this.err=!1,this.nextLine2D){for(h=0;g[h]=64);do{w+=x=this._getWhiteCode()}while(x>=64)}else{do{y+=x=this._getWhiteCode()}while(x>=64);do{w+=x=this._getBlackCode()}while(x>=64)}this._addPixels(g[this.codingPos]+y,d),g[this.codingPos]0?--e:++e;while(v[e]<=g[this.codingPos]&&v[e]0?--e:++e;while(v[e]<=g[this.codingPos]&&v[e]0?--e:++e;while(v[e]<=g[this.codingPos]&&v[e]=64);else do{y+=x=this._getWhiteCode()}while(x>=64);this._addPixels(g[this.codingPos]+y,d),d^=1}}var O=!1;if(this.byteAlign&&(this.inputBits&=-8),this.eoblock||this.row!==this.rows-1){if(y=this._lookBits(12),this.eoline)while(y!==t&&1!==y)this._eatBits(1),y=this._lookBits(12);else while(0===y)this._eatBits(1),y=this._lookBits(12);1===y?(this._eatBits(12),O=!0):y===t&&(this.eof=!0)}else this.rowsDone=!0;if(!this.eof&&this.encoding>0&&!this.rowsDone&&(this.nextLine2D=!this._lookBits(1),this._eatBits(1)),this.eoblock&&O&&this.byteAlign){if(y=this._lookBits(12),1===y){if(this._eatBits(12),this.encoding>0&&(this._lookBits(1),this._eatBits(1)),this.encoding>=0)for(h=0;h<4;++h)y=this._lookBits(12),1!==y&&c("bad rtc code: "+y),this._eatBits(12),this.encoding>0&&(this._lookBits(1),this._eatBits(1));this.eof=!0}}else if(this.err&&this.eoline){while(1){if(y=this._lookBits(13),y===t)return this.eof=!0,-1;if(y>>1===1)break;this._eatBits(1)}this._eatBits(12),this.encoding>0&&(this._eatBits(1),this.nextLine2D=!(1&y))}g[0]>0?this.outputBits=g[this.codingPos=0]:this.outputBits=g[this.codingPos=1],this.row++}if(this.outputBits>=8)p=1&this.codingPos?0:255,this.outputBits-=8,0===this.outputBits&&g[this.codingPos]f?(p<<=f,1&this.codingPos||(p|=255>>8-f),this.outputBits-=f,f=0):(p<<=this.outputBits,1&this.codingPos||(p|=255>>8-this.outputBits),f-=this.outputBits,this.outputBits=0,g[this.codingPos]0&&(p<<=f,f=0))}while(f)}return this.black&&(p^=255),p},_addPixels:function(e,t){var n=this.codingLine,s=this.codingPos;e>n[s]&&(e>this.columns&&(c("row is wrong length"),this.err=!0,e=this.columns),1&s^t&&++s,n[s]=e),this.codingPos=s},_addPixelsNeg:function(e,t){var n=this.codingLine,s=this.codingPos;if(e>n[s])e>this.columns&&(c("row is wrong length"),this.err=!0,e=this.columns),1&s^t&&++s,n[s]=e;else if(e0&&e=a){var o=s[u-a];if(o[0]===i)return this._eatBits(i),[!0,o[1],!0]}}return[!1,0,!1]},_getTwoDimCode:function(){var e,n=0;if(this.eoblock){if(n=this._lookBits(7),e=d[n],e&&e[0]>0)return this._eatBits(e[0]),e[1]}else{var s=this._findTableCode(1,7,d);if(s[0]&&s[2])return s[1]}return c("Bad two dim code"),t},_getWhiteCode:function(){var e,n=0;if(this.eoblock){if(n=this._lookBits(12),n===t)return 1;if(e=n>>5===0?f[n]:h[n>>3],e[0]>0)return this._eatBits(e[0]),e[1]}else{var s=this._findTableCode(1,9,h);if(s[0])return s[1];if(s=this._findTableCode(11,12,f),s[0])return s[1]}return c("bad white code"),this._eatBits(1),1},_getBlackCode:function(){var e,n;if(this.eoblock){if(e=this._lookBits(13),e===t)return 1;if(n=e>>7===0?p[e]:e>>9===0&&e>>7!==0?v[(e>>1)-64]:g[e>>7],n[0]>0)return this._eatBits(n[0]),n[1]}else{var s=this._findTableCode(2,6,g);if(s[0])return s[1];if(s=this._findTableCode(7,12,v,64),s[0])return s[1];if(s=this._findTableCode(10,13,p),s[0])return s[1]}return c("bad black code"),this._eatBits(1),1},_lookBits:function(e){var n;while(this.inputBits>16-e;this.inputBuf=this.inputBuf<<8|n,this.inputBits+=8}return this.inputBuf>>this.inputBits-e&65535>>16-e},_eatBits:function(e){(this.inputBits-=e)<0&&(this.inputBits=0)}},m}(),w=function(e){Object(r["a"])(n,e);var t=Object(a["a"])(n);function n(e){return Object(s["a"])(this,n),t.call(this,"JBIG2 error: ".concat(e))}return n}(d),x=function(){function e(){}function t(e,t,n){this.data=e,this.start=t,this.end=n}function n(e,t,n){var s=e.getContexts(t),r=1;function a(e){for(var t=0,a=0;a>>0}var i=a(1),u=a(1)?a(1)?a(1)?a(1)?a(1)?a(32)+4436:a(12)+340:a(8)+84:a(6)+20:a(4)+4:a(2);return 0===i?u:u>0?-u:null}function s(e,t,n){for(var s=e.getContexts("IAID"),r=1,a=0;a=F&&D=R)for(W=W<<1&w,p=0;p=0&&C=0&&(B=M[I][C],B&&(W|=B<=e?R<<=1:R=R<<1|k[P][F];for(d=0;d=O||F<0||F>=x?R<<=1:R=R<<1|s[P][F];var T=S.readBit(_,R);C[B]=T}}return k}function g(e,t,r,a,i,u,o,c,b,h,p,v){if(e&&t)throw new w("symbol refinement with Huffman is not supported");var g,m,y=[],O=0,j=f(r.length+a),k=p.decoder,S=p.contextCache;e&&(g=M(1),m=[],j=Math.max(j,1));while(y.length1)C=x(e,t,A,O,0,P,1,r.concat(y),j,0,0,1,0,u,b,h,p,0,v);else{var F=s(S,k,j),R=n(S,"IARDX",k),T=n(S,"IARDY",k),L=F1&&(R=e?O.readBits(x):n(D,"IAIT",A));var T=o*I+R,L=e?v.symbolIDTable.decode(O):s(D,A,l),E=t&&(e?O.readBit():n(D,"IARI",A)),M=c[L],N=M[0].length,q=M.length;if(E){var V=n(D,"IARDW",A),H=n(D,"IARDH",A),W=n(D,"IARDX",A),U=n(D,"IARDY",A);N+=V,q+=H,M=d(N,q,g,M,(V>>1)+W,(H>>1)+U,!1,m,y)}var G,z,J,X=T-(1&h?0:q-1),K=F-(2&h?N-1:0);if(b){for(G=0;G=0;m--)C=e?U(I,o,c,!0):l(!1,o,c,n,!1,g,D,v),V[m]=C;for(B=0;B=0;y--)F=V[y][B][P]^F,R|=F<>8,E=d+B*h-P*p>>8,L>=0&&L+S<=s&&E>=0&&E+_<=r)for(m=0;m<_;m++)for(q=O[E+m],M=T[m],y=0;y=r))for(q=O[W],M=T[m],y=0;y=0&&H>5&7,c=[31&u],l=t+6;if(7===u){o=536870911&v(e,l-1),l+=3;var b=o+7>>3;c[0]=e[l++];while(--b>0)c.push(e[l++])}else if(5===u||6===u)throw new w("invalid referred-to flags");n.retainBits=c;var d=4;n.number<=256?d=1:n.number<=65536&&(d=2);var f,h,g=[];for(f=0;f>>24&255,k[3]=y.height>>16&255,k[4]=y.height>>8&255,k[5]=255&y.height,f=l,h=e.length;f>2&3,l.huffmanDWSelector=b>>4&3,l.bitmapSizeSelector=b>>6&1,l.aggregationInstancesSelector=b>>7&1,l.bitmapCodingContextUsed=!!(256&b),l.bitmapCodingContextRetained=!!(512&b),l.template=b>>10&3,l.refinementTemplate=b>>12&1,o+=2,!l.huffman){for(a=0===l.template?4:1,s=[],r=0;r>2&3,d.stripSize=1<>4&3,d.transposed=!!(64&f),d.combinationOperator=f>>7&3,d.defaultPixelValue=f>>9&1,d.dsOffset=f<<17>>27,d.refinementTemplate=f>>15&1,d.huffman){var g=p(u,o);o+=2,d.huffmanFS=3&g,d.huffmanDS=g>>2&3,d.huffmanDT=g>>4&3,d.huffmanRefinementDW=g>>6&3,d.huffmanRefinementDH=g>>8&3,d.huffmanRefinementDX=g>>10&3,d.huffmanRefinementDY=g>>12&3,d.huffmanRefinementSizeSelector=!!(16384&g)}if(d.refinement&&!d.refinementTemplate){for(s=[],r=0;r<2;r++)s.push({x:h(u,o),y:h(u,o+1)}),o+=2;d.refinementAt=s}d.numberOfSymbolInstances=v(u,o),o+=4,n=[d,i.referredTo,u,o,c];break;case 16:var m={},y=u[o++];m.mmr=!!(1&y),m.template=y>>1&3,m.patternWidth=u[o++],m.patternHeight=u[o++],m.maxPatternIndex=v(u,o),o+=4,n=[m,i.number,u,o,c];break;case 22:case 23:var x={};x.info=_(u,o),o+=A;var O=u[o++];x.mmr=!!(1&O),x.template=O>>1&3,x.enableSkip=!!(8&O),x.combinationOperator=O>>4&7,x.defaultPixelValue=O>>7&1,x.gridWidth=v(u,o),o+=4,x.gridHeight=v(u,o),o+=4,x.gridOffsetX=4294967295&v(u,o),o+=4,x.gridOffsetY=4294967295&v(u,o),o+=4,x.gridVectorX=p(u,o),o+=2,x.gridVectorY=p(u,o),o+=2,n=[x,i.referredTo,u,o,c];break;case 38:case 39:var j={};j.info=_(u,o),o+=A;var k=u[o++];if(j.mmr=!!(1&k),j.template=k>>1&3,j.prediction=!!(8&k),!j.mmr){for(a=0===j.template?4:1,s=[],r=0;r>2&1,S.combinationOperator=D>>3&3,S.requiresBuffer=!!(32&D),S.combinationOperatorOverride=!!(64&D),n=[S];break;case 49:break;case 50:break;case 51:break;case 53:n=[i.number,u,o,c];break;case 62:break;default:throw new w("segment type ".concat(i.typeName,"(").concat(i.type,")")+" is not implemented")}var I="on"+i.typeName;I in t&&t[I].apply(t,n)}function I(e,t){for(var n=0,s=e.length;n>=1;return{imgData:b,width:o,height:c}}function P(){}function F(e){2===e.length?(this.isOOB=!0,this.rangeLow=0,this.prefixLength=e[0],this.rangeLength=0,this.prefixCode=e[1],this.isLowerRange=!1):(this.isOOB=!1,this.rangeLow=e[0],this.prefixLength=e[1],this.rangeLength=e[2],this.prefixCode=e[3],this.isLowerRange="lower"===e[4])}function R(e){this.children=[],e?(this.isLeaf=!0,this.rangeLength=e.rangeLength,this.rangeLow=e.rangeLow,this.isLowerRange=e.isLowerRange,this.isOOB=e.isOOB):this.isLeaf=!1}function T(e,t){t||this.assignPrefixCodes(e),this.rootNode=new R(null);for(var n=0,s=e.length;n0&&this.rootNode.buildTree(r,r.prefixLength-1)}}function L(e,t,n){var s,r,a=e[t],i=4294967295&v(e,t+1),u=4294967295&v(e,t+5),o=new N(e,t+9,n),c=1+(a>>1&7),l=1+(a>>4&7),b=[],d=i;do{s=o.readBits(c),r=o.readBits(l),b.push(new F([d,s,r,0])),d+=1<>3,n=new Uint8ClampedArray(t*e.height);if(e.defaultPixelValue)for(var s=0,r=n.length;s>3,l=i.combinationOperatorOverride?e.combinationOperator:i.combinationOperator,b=this.buffer,d=128>>(7&e.x),f=e.y*c+(e.x>>3);switch(l){case 0:for(n=0;n>=1,r||(r=128,a++);f+=c}break;case 2:for(n=0;n>=1,r||(r=128,a++);f+=c}break;default:throw new w("operator ".concat(l," is not supported"))}},onImmediateGenericRegion:function(e,n,s,r){var a=e.info,i=new t(n,s,r),u=l(e.mmr,a.width,a.height,e.template,e.prediction,null,e.at,i);this.drawBitmap(a,u)},onImmediateLosslessGenericRegion:function(){this.onImmediateGenericRegion.apply(this,arguments)},onSymbolDictionary:function(e,n,s,r,a,i){var u,o;e.huffman&&(u=H(e,s,this.customTables),o=new N(r,a,i));var c=this.symbols;c||(this.symbols=c={});for(var l=[],b=0,d=s.length;b>t&1;if(t<=0)this.children[n]=new R(e);else{var s=this.children[n];s||(this.children[n]=s=new R(null)),s.buildTree(e,t-1)}},decodeNode:function(e){if(this.isLeaf){if(this.isOOB)return null;var t=e.readBits(this.rangeLength);return this.rangeLow+(this.isLowerRange?-t:t)}var n=this.children[e.readBit()];if(!n)throw new w("invalid Huffman data");return n.decodeNode(e)}},T.prototype={decode:function(e){return this.rootNode.decodeNode(e)},assignPrefixCodes:function(e){for(var t=e.length,n=0,s=0;s=32){var b=void 0,d=void 0,f=void 0;switch(l){case 32:if(0===c)throw new w("no previous value in symbol ID table");d=r.readBits(2)+3,b=a[c-1].prefixLength;break;case 33:d=r.readBits(3)+3,b=0;break;case 34:d=r.readBits(7)+11,b=0;break;default:throw new w("invalid code length in symbol ID table")}for(f=0;f>b&1,b--}if(s&&!o)for(var f=5,h=0;h=this.end)throw new w("end of data while reading bit");this.currentByte=this.data[this.position++],this.shift=7}var e=this.currentByte>>this.shift&1;return this.shift--,e},readBits:function(e){var t,n=0;for(t=e-1;t>=0;t--)n|=this.readBit()<=this.end?-1:this.data[this.position++]}},G.prototype={parseChunks:function(e){return C(e)},parse:function(e){var t=B(e),n=t.imgData,s=t.width,r=t.height;return this.width=s,this.height=r,n}},G}()},"7efc":function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return u}));var s=n("b85c"),r=(n("b64b"),n("1276"),n("ac1f"),n("b680"),n("99af"),n("8a59"),n("9a8c"),n("a975"),n("735e"),n("c1ac"),n("d139"),n("3a7b"),n("d5d6"),n("82f8"),n("e91f"),n("60bd"),n("5f96"),n("3280"),n("3fcc"),n("ca91"),n("25a1"),n("cd26"),n("3c5d"),n("2954"),n("649e"),n("219c"),n("170b"),n("b39a"),n("72f7"),n("d3b7"),n("5319"),n("6b33")),a=function(e,t,n){var s,a=n[Object.keys(n)[0]]["json"]["ofd:Area"];if(a){var i=a["ofd:PhysicalBox"];if(i)s=i;else{var u=a["ofd:ApplicationBox"];if(u)s=u;else{var o=a["ofd:ContentBox"];o&&(s=o)}}}else{var c=t["ofd:CommonData"]["ofd:PageArea"],l=c["ofd:PhysicalBox"];if(l)s=l;else{var b=c["ofd:ApplicationBox"];if(b)s=b;else{var d=c["ofd:ContentBox"];d&&(s=d)}}}var f=s.split(" "),h=((e-10)/parseFloat(f[2])).toFixed(1);return Object(r["n"])(h),Object(r["o"])(h),s=Object(r["l"])(s),s=Object(r["e"])(s),s},i=function(e,t){var n,s=t[Object.keys(t)[0]]["json"]["ofd:Area"];if(s){var a=s["ofd:PhysicalBox"];if(a)n=a;else{var i=s["ofd:ApplicationBox"];if(i)n=i;else{var u=s["ofd:ContentBox"];u&&(n=u)}}}else{var o=e["ofd:CommonData"]["ofd:PageArea"],c=o["ofd:PhysicalBox"];if(c)n=c;else{var l=o["ofd:ApplicationBox"];if(l)n=l;else{var b=o["ofd:ContentBox"];b&&(n=b)}}}return n=Object(r["l"])(n),n=Object(r["e"])(n),n},u=function(e,t,n,a,i,u,b){var d=Object.keys(t)[0],h=t[d]["json"]["ofd:Template"];if(h){var p=[],v=n[h["@_TemplateID"]]["json"]["ofd:Content"]["ofd:Layer"];p=p.concat(v);var g,m=Object(s["a"])(p);try{for(m.s();!(g=m.n()).done;){var y=g.value;y&&l(e,a,i,u,b,y,!1)}}catch(L){m.e(L)}finally{m.f()}}var w=t[d]["json"]["ofd:Content"]["ofd:Layer"],x=[];x=x.concat(w);var O,j=Object(s["a"])(x);try{for(j.s();!(O=j.n()).done;){var k=O.value;k&&l(e,a,i,u,b,k,!1)}}catch(L){j.e(L)}finally{j.f()}if(t[d].stamp){var S,_=t[d].json.pfIndex,A=Object(s["a"])(t[d].stamp);try{for(A.s();!(S=A.n()).done;){var D=S.value;if("ofd"===D.type)c(e,D.obj.pages,D.obj.tpls,!0,D.stamp.stampAnnot,D.obj.fontResObj,D.obj.drawParamResObj,D.obj.multiMediaResObj,b,D.stamp.sealObj.SES_Signature,D.stamp.signedInfo,_);else if("png"===D.type){var I=Object(r["e"])(D.obj.boundary),C=(Array.isArray(D.stamp.stampAnnot)?D.stamp.stampAnnot[0]["@_ID"]:D.stamp.stampAnnot["@_ID"])+_,B=f(e.style.width,e.style.height,D.obj.img,I,D.obj.clip,!0,D.stamp.sealObj.SES_Signature,D.stamp.signedInfo,C);e.appendChild(B)}}}catch(L){A.e(L)}finally{A.f()}}if(t[d].annotation){var P,F=t[d].json.pfIndex,R=Object(s["a"])(t[d].annotation);try{for(R.s();!(P=R.n()).done;){var T=P.value;o(e,T,a,i,u,b,F)}}catch(L){R.e(L)}finally{R.f()}}},o=function(e,t,n,s,a,i,u){var o=document.createElement("div");o.setAttribute("style","overflow: hidden;z-index:".concat(t["@_ID"]+u,";position:relative;"));var c=t["appearance"]["@_Boundary"];if(c){var b=Object(r["e"])(Object(r["l"])(c));o.setAttribute("style","overflow: hidden;z-index:".concat(t["@_ID"]+u,";position:absolute; left: ").concat(b.x,"px; top: ").concat(b.y,"px; width: ").concat(b.w,"px; height: ").concat(b.h,"px"))}var d=t["appearance"];l(o,n,s,a,i,d,!1),e.appendChild(o)},c=function(e,t,n,a,i,u,o,c,b,d,f,h){var p,v=Object(s["a"])(t);try{for(v.s();!(p=v.n()).done;){var g=p.value,m=Object.keys(g)[0],y={x:0,y:0,w:0,h:0};a&&i&&(y=i.boundary);var w=Object(r["e"])(y),x=document.createElement("div");x.setAttribute("name","seal_img_div"),x.setAttribute("style","z-index:".concat(h+1e4,";cursor: pointer; position:relative; left: ").concat(w.x,"px; top: ").concat(w.y,"px; width: ").concat(w.w,"px; height: ").concat(w.h,"px")),x.setAttribute("data-ses-signature","".concat(JSON.stringify(d))),x.setAttribute("data-signed-info","".concat(JSON.stringify(f)));var O=g[m]["json"]["ofd:Template"];if(O){var j=n[O["@_TemplateID"]]["json"]["ofd:Content"]["ofd:Layer"],k=[];k=k.concat(j);var S,_=Object(s["a"])(k);try{for(_.s();!(S=_.n()).done;){var A=S.value;A&&l(x,u,o,c,b,A,a)}}catch(F){_.e(F)}finally{_.f()}}var D=g[m]["json"]["ofd:Content"]["ofd:Layer"],I=[];I=I.concat(D);var C,B=Object(s["a"])(I);try{for(B.s();!(C=B.n()).done;){var P=C.value;P&&l(x,u,o,c,b,P,a)}}catch(F){B.e(F)}finally{B.f()}e.appendChild(x)}}catch(F){v.e(F)}finally{v.f()}},l=function e(t,n,a,i,u,o,c,l,d,f){var v=null,g=null,m=Object(r["f"])(.353),y=o["@_DrawParam"];y&&Object.keys(a).length>0&&a[y]&&(a[y]["relative"]&&(y=a[y]["relative"],a[y]["FillColor"]&&(v=Object(r["j"])(a[y]["FillColor"])),a[y]["StrokeColor"]&&(g=Object(r["j"])(a[y]["StrokeColor"])),a[y]["LineWidth"]&&(m=Object(r["f"])(a[y]["LineWidth"]))),a[y]["FillColor"]&&(v=Object(r["j"])(a[y]["FillColor"])),a[y]["StrokeColor"]&&(g=Object(r["j"])(a[y]["StrokeColor"])),a[y]["LineWidth"]&&(m=Object(r["f"])(a[y]["LineWidth"])));var w=o["ofd:ImageObject"],x=[];x=x.concat(w);var O,j=Object(s["a"])(x);try{for(j.s();!(O=j.n()).done;){var k=O.value;if(k){var S=b(t.style.width,t.style.height,i,k,c,d);t.appendChild(S)}}}catch(ee){j.e(ee)}finally{j.f()}var _=o["ofd:PathObject"],A=[];A=A.concat(_);var D,I=Object(s["a"])(A);try{for(I.s();!(D=I.n()).done;){var C=D.value;if(C){var B=p(a,C,v,g,m,c,l,d,f);t.appendChild(B)}}}catch(ee){I.e(ee)}finally{I.f()}var P=o["ofd:TextObject"],F=[];F=F.concat(P);var R,T=Object(s["a"])(F);try{for(T.s();!(R=T.n()).done;){var L=R.value;if(L){var E=h(n,L,v,g);t.appendChild(E)}}}catch(ee){T.e(ee)}finally{T.f()}var M=o["ofd:CompositeObject"],N=[];N=N.concat(M);var q,V=Object(s["a"])(N);try{for(V.s();!(q=V.n()).done;){var H=q.value;if(H){var W,U=Object(s["a"])(u);try{for(U.s();!(W=U.n()).done;){var G=W.value;if(G["@_ID"]===H["@_ResourceID"]){var z=H["@_Alpha"],J=H["@_Boundary"],X=H["@_CTM"];e(t,n,a,i,u,G["ofd:Content"],!1,z,J,X);break}}}catch(ee){U.e(ee)}finally{U.f()}}}}catch(ee){V.e(ee)}finally{V.f()}var K=o["ofd:PageBlock"],Y=[];Y=Y.concat(K);var $,Q=Object(s["a"])(Y);try{for(Q.s();!($=Q.n()).done;){var Z=$.value;Z&&e(t,n,a,i,u,Z,c)}}catch(ee){Q.e(ee)}finally{Q.f()}},b=function(e,t,n,s,a,i){var u=Object(r["l"])(s["@_Boundary"]);u=Object(r["e"])(u);var o=s["@_ResourceID"];if("gbig2"===n[o].format){var c=n[o].img,l=n[o].width,b=n[o].height;return d(c,l,b,u,s["@_ID"])}var h=s["@_CTM"];return f(e,t,n[o].img,u,!1,a,null,null,s["@_ID"],h,i)},d=function(e,t,n,s,r){for(var a=new Uint8ClampedArray(4*t*n),i=0;ip?p:s.w,m=s.h>v?v:s.h,y="";return a&&(a=Object(r["e"])(a),y="clip: rect(".concat(a.y,"px, ").concat(a.w+a.x,"px, ").concat(a.h+a.y,"px, ").concat(a.x,"px)")),d.setAttribute("style","cursor: pointer; overflow: hidden; position: absolute; left: ".concat(y?s.x:s.x<0?0:s.x,"px; top: ").concat(y?s.y:s.y<0?0:s.y,"px; width: ").concat(g,"px; height: ").concat(m,"px; ").concat(y,";z-index: ").concat(c)),d},h=function(e,t,n,a){var i=1,u=Object(r["l"])(t["@_Boundary"]);u=Object(r["e"])(u);var o=t["@_CTM"],c=t["@_HScale"],l=t["@_Font"],b=t["@_Weight"],d=Object(r["f"])(parseFloat(t["@_Size"])),f=[];f=f.concat(t["ofd:TextCode"]);var h=Object(r["c"])(f),p=document.createElementNS("http://www.w3.org/2000/svg","svg");p.setAttribute("version","1.1");var v=t["ofd:FillColor"],g=!1;if(v){v["@_Value"]&&(n=Object(r["j"])(v["@_Value"]));var m=v["@_Alpha"];m&&(i=m>1?m/255:m);var y=v["ofd:AxialShd"];if(y){g=!0;var w=document.createElement("linearGradient");w.setAttribute("id","".concat(t["@_ID"])),w.setAttribute("x1","0%"),w.setAttribute("y1","0%"),w.setAttribute("x2","100%"),w.setAttribute("y2","100%");var x,O=Object(s["a"])(y["ofd:Segment"]);try{for(O.s();!(x=O.n()).done;){var j=x.value;if(j){var k=document.createElement("stop");k.setAttribute("offset","".concat(100*j["@_Position"],"%")),k.setAttribute("style","stop-color:".concat(Object(r["j"])(j["ofd:Color"]["@_Value"]),";stop-opacity:1")),w.appendChild(k),n=Object(r["j"])(j["ofd:Color"]["@_Value"])}}}catch(R){O.e(R)}finally{O.f()}p.appendChild(w)}}var S,_=Object(s["a"])(h);try{for(_.s();!(S=_.n()).done;){var A=S.value;if(A&&!isNaN(A.x)){var D=document.createElementNS("http://www.w3.org/2000/svg","text");if(D.setAttribute("x",A.x),D.setAttribute("y",A.y),D.innerHTML=A.text,o){var I=Object(r["k"])(o);D.setAttribute("transform","matrix(".concat(I[0]," ").concat(I[1]," ").concat(I[2]," ").concat(I[3]," ").concat(Object(r["f"])(I[4])," ").concat(Object(r["f"])(I[5]),")"))}c&&D.setAttribute("transform","matrix(".concat(c,", 0, 0, 1, ").concat((1-c)*A.x,", 0)")),g?D.setAttribute("fill",n):(D.setAttribute("fill",a),D.setAttribute("fill",n),D.setAttribute("fill-opacity",i)),D.setAttribute("style","font-weight: ".concat(b,";font-size:").concat(d,"px;font-family: ").concat(Object(r["h"])(e[l]),";")),p.appendChild(D)}}}catch(R){_.e(R)}finally{_.f()}var C=u.w,B=u.h,P=u.x,F=u.y;return p.setAttribute("style","overflow:visible;position:absolute;width:".concat(C,"px;height:").concat(B,"px;left:").concat(P,"px;top:").concat(F,"px;z-index:").concat(t["@_ID"])),p},p=function(e,t,n,a,i,u,o,c,l){var b=document.createElementNS("http://www.w3.org/2000/svg","svg");b.setAttribute("version","1.1");var d=Object(r["l"])(t["@_Boundary"]);if(!d)return b;d=Object(r["e"])(d);var f=t["@_LineWidth"],h=t["ofd:AbbreviatedData"],p=Object(r["b"])(Object(r["d"])(h)),v=t["@_CTM"],g=document.createElementNS("http://www.w3.org/2000/svg","path");f&&(i=Object(r["f"])(f));var m=t["@_DrawParam"];if(m&&(f=e[m].LineWidth,f&&(i=Object(r["f"])(f))),v){var y=Object(r["k"])(v);g.setAttribute("transform","matrix(".concat(y[0]," ").concat(y[1]," ").concat(y[2]," ").concat(y[3]," ").concat(Object(r["f"])(y[4])," ").concat(Object(r["f"])(y[5]),")"))}var w=t["ofd:StrokeColor"];if(w){w["@_Value"]&&(a=Object(r["j"])(w["@_Value"]));var x=w["ofd:AxialShd"];if(x){!0;var O=document.createElement("linearGradient");O.setAttribute("id","".concat(t["@_ID"])),O.setAttribute("x1","0%"),O.setAttribute("y1","0%"),O.setAttribute("x2","100%"),O.setAttribute("y2","100%");var j,k=Object(s["a"])(x["ofd:Segment"]);try{for(k.s();!(j=k.n()).done;){var S=j.value;if(S){var _=document.createElement("stop");_.setAttribute("offset","".concat(100*S["@_Position"],"%")),_.setAttribute("style","stop-color:".concat(Object(r["j"])(S["ofd:Color"]["@_Value"]),";stop-opacity:1")),O.appendChild(_),a=Object(r["j"])(S["ofd:Color"]["@_Value"])}}}catch(Q){k.e(Q)}finally{k.f()}b.appendChild(O)}}var A=t["ofd:FillColor"];if(A){A["@_Value"]&&(n=Object(r["j"])(A["@_Value"]));var D=A["ofd:AxialShd"];if(D){!0;var I=document.createElement("linearGradient");I.setAttribute("id","".concat(t["@_ID"])),I.setAttribute("x1","0%"),I.setAttribute("y1","0%"),I.setAttribute("x2","100%"),I.setAttribute("y2","100%");var C,B=Object(s["a"])(D["ofd:Segment"]);try{for(B.s();!(C=B.n()).done;){var P=C.value;if(P){var F=document.createElement("stop");F.setAttribute("offset","".concat(100*P["@_Position"],"%")),F.setAttribute("style","stop-color:".concat(Object(r["j"])(P["ofd:Color"]["@_Value"]),";stop-opacity:1")),I.appendChild(F),n=Object(r["j"])(P["ofd:Color"]["@_Value"])}}}catch(Q){B.e(Q)}finally{B.f()}b.appendChild(I)}}if(i>0&&!a&&(a=n,a||(a="rgb(0, 0, 0)")),o&&g.setAttribute("fill-opacity","".concat(o/255)),"false"!=t["@_Stroke"]&&(g.setAttribute("stroke","".concat(a)),g.setAttribute("stroke-width","".concat(i,"px"))),"false"!=t["@_Fill"]&&g.setAttribute("fill","".concat(u?"none":n||"none")),t["@_Join"]&&g.setAttribute("stroke-linejoin","".concat(t["@_Join"])),t["@_Cap"]&&g.setAttribute("stroke-linecap","".concat(t["@_Cap"])),t["@_DashPattern"]){var R=t["@_DashPattern"],T=Object(r["k"])(R),L=0;t["@_DashOffset"]&&(L=t["@_DashOffset"]),g.setAttribute("stroke-dasharray","".concat(Object(r["f"])(T[0]),",").concat(Object(r["f"])(T[1]))),g.setAttribute("stroke-dashoffset","".concat(Object(r["f"])(L),"px"))}var E,M="",N=Object(s["a"])(p);try{for(N.s();!(E=N.n()).done;){var q=E.value;"M"===q.type?M+="M".concat(q.x," ").concat(q.y," "):"L"===q.type?M+="L".concat(q.x," ").concat(q.y," "):"B"===q.type?M+="C".concat(q.x1," ").concat(q.y1," ").concat(q.x2," ").concat(q.y2," ").concat(q.x3," ").concat(q.y3," "):"Q"===q.type?M+="Q".concat(q.x1," ").concat(q.y1," ").concat(q.x2," ").concat(q.y2," "):"A"===q.type?M+="A".concat(q.rx,",").concat(q.ry," ").concat(q.rotation," ").concat(q.arc,",").concat(q.sweep," ").concat(q.x,",").concat(q.y):"C"===q.type&&(M+="Z")}}catch(Q){N.e(Q)}finally{N.f()}g.setAttribute("d",M),b.appendChild(g);var V=u?d.w:Math.ceil(d.w),H=u?d.h:Math.ceil(d.h),W=d.x,U=d.y;if(b.setAttribute("style","overflow:visible;position:absolute;width:".concat(V,"px;height:").concat(H,"px;left:").concat(W,"px;top:").concat(U,"px;z-index:").concat(t["@_ID"])),c){var G=document.createElementNS("http://www.w3.org/2000/svg","svg");G.setAttribute("version","1.1");var z=Object(r["l"])(c);z=Object(r["e"])(z);var J=Math.ceil(z.w),X=Math.ceil(z.h),K=z.x,Y=z.y;if(G.setAttribute("style","overflow:hidden;position:absolute;width:".concat(J,"px;height:").concat(X,"px;left:").concat(K,"px;top:").concat(Y,"px;z-index:").concat(t["@_ID"])),l){var $=Object(r["k"])(l);b.setAttribute("transform","matrix(".concat($[0]," ").concat($[1]," ").concat($[2]," ").concat($[3]," ").concat(Object(r["f"])($[4])," ").concat(Object(r["f"])($[5]),")"))}return G.appendChild(b),G}return b}},"7f3b":function(e,t,n){"use strict";(function(e){n("6c57"),n("d3b7"),n("25f0"),n("2ca0"),n("8a79"),n("2532"),n("caad"),n("a630"),n("3ca3"),n("c1f9"),n("90d7"),n("9129"),n("a9e3"),n("8ba4"),n("5cc6"),n("9a8c"),n("a975"),n("735e"),n("c1ac"),n("d139"),n("3a7b"),n("d5d6"),n("82f8"),n("e91f"),n("60bd"),n("5f96"),n("3280"),n("3fcc"),n("ca91"),n("25a1"),n("cd26"),n("3c5d"),n("2954"),n("649e"),n("219c"),n("170b"),n("b39a"),n("72f7"),n("2b3d"),n("ddb0"),n("4ec9"),n("6062"),n("10d1"),n("1fe2"),n("f5b2"),n("f6d6"),n("a4d3"),n("e01a"),n("4d90"),n("843c"),n("07ac"),n("4fad");var t=n("d00a");"undefined"!==typeof PDFJSDev&&PDFJSDev.test("SKIP_BABEL")||"undefined"!==typeof globalThis&&globalThis._pdfjsCompatibilityChecked||("undefined"!==typeof globalThis&&globalThis.Math===Math||(globalThis=n("eb73")),globalThis._pdfjsCompatibilityChecked=!0,function(){!globalThis.btoa&&t["a"]&&(globalThis.btoa=function(t){return e.from(t,"binary").toString("base64")})}(),function(){!globalThis.atob&&t["a"]&&(globalThis.atob=function(t){return e.from(t,"base64").toString("binary")})}(),function(){String.prototype.startsWith||n("d2a2")}(),function(){String.prototype.endsWith||n("8f4c")}(),function(){String.prototype.includes||n("4661")}(),function(){Array.prototype.includes||n("bf2c")}(),function(){Array.from||n("6b84")}(),function(){Object.assign||n("2418")}(),function(){Object.fromEntries||n("8ac5")}(),function(){Math.log2||(Math.log2=n("dc57"))}(),function(){Number.isNaN||(Number.isNaN=n("9020"))}(),function(){Number.isInteger||(Number.isInteger=n("f2e6"))}(),function(){Uint8Array.prototype.slice||n("8f2a")}(),function(){"undefined"!==typeof PDFJSDev&&PDFJSDev.test("IMAGE_DECODERS")||globalThis.Promise.allSettled||(globalThis.Promise=n("3980"))}(),function(){"undefined"!==typeof PDFJSDev&&PDFJSDev.test("PRODUCTION")&&PDFJSDev.test("GENERIC")&&(PDFJSDev.test("IMAGE_DECODERS")||(globalThis.URL=n("14d8")))}(),function(){if("undefined"===typeof PDFJSDev||!PDFJSDev.test("IMAGE_DECODERS")){var e=!1;if("undefined"!==typeof ReadableStream)try{new ReadableStream({start:function(e){e.close()}}),e=!0}catch(t){}e||(globalThis.ReadableStream=n("87c2").ReadableStream)}}(),function(){globalThis.Map&&globalThis.Map.prototype.entries||(globalThis.Map=n("5eff"))}(),function(){globalThis.Set&&globalThis.Set.prototype.entries||(globalThis.Set=n("9a35"))}(),function(){globalThis.WeakMap||(globalThis.WeakMap=n("ad63"))}(),function(){globalThis.WeakSet||(globalThis.WeakSet=n("ee42"))}(),function(){String.prototype.codePointAt||n("d627")}(),function(){String.fromCodePoint||(String.fromCodePoint=n("1cd7"))}(),function(){globalThis.Symbol||n("1f4a")}(),function(){String.prototype.padStart||n("1920")}(),function(){String.prototype.padEnd||n("476b")}(),function(){Object.values||(Object.values=n("4e28"))}(),function(){Object.entries||(Object.entries=n("a960"))}())}).call(this,n("b639").Buffer)},"81a2":function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return f})),n.d(t,"c",(function(){return p})),n.d(t,"d",(function(){return v})),n.d(t,"e",(function(){return g})),n.d(t,"a",(function(){return m}));var s=n("b85c"),r=n("1da1"),a=(n("96cf"),n("d3b7"),n("c19f"),n("b64b"),n("99af"),n("7efc")),i=n("3662"),u=n("67d3"),o=(n("a9c6"),n("6b33")),c={};function l(){try{return new window.XMLHttpRequest}catch(e){}}function b(){try{return new window.ActiveXObject("Microsoft.XMLHTTP")}catch(e){}}c._getBinaryFromXHR=function(e){return e.response||e.responseText};var d="undefined"!==typeof window&&window.ActiveXObject?function(){return l()||b()}:l;c.getBinaryContent=function(e,t){var n,s,r,a;console.log("getBinaryContent"),t||(t={}),"function"===typeof t?(a=t,t={}):"function"===typeof t.callback&&(a=t.callback),a||"undefined"===typeof Promise?(s=function(e){a(null,e)},r=function(e){a(e,null)}):n=new Promise((function(e,t){s=e,r=t}));try{var i=d();i.open("GET",e,!0),"responseType"in i&&(i.responseType="arraybuffer"),i.overrideMimeType&&i.overrideMimeType("text/plain; charset=x-user-defined"),i.onreadystatechange=function(t){if(4===i.readyState)if(200===i.status||0===i.status)try{s(c._getBinaryFromXHR(i))}catch(n){r(new Error(n))}else r(new Error("Ajax error for "+e+" : "+this.status+" "+this.statusText))},t.progress&&(i.onprogress=function(n){t.progress({path:e,originalEvent:n,percent:n.loaded/n.total*100,loaded:n.loaded,total:n.total})}),i.withCredentials=!0,i.send()}catch(u){r(new Error(u),null)}return n};var f=function(e){e.ofd instanceof File||e.ofd instanceof ArrayBuffer?h(e):c.getBinaryContent(e.ofd,(function(t,n){t?e.fail&&e.fail(t):(e.ofd=n,h(e))}))},h=function(t){e.xmlParseFlag=0,i["a"].call(this,Object(r["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(u["c"])(t.ofd);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))),u["a"],u["b"]).then((function(e){t.success&&t.success(e)})).catch((function(e){console.log(e),t.fail&&t.fail(e)}))},p=function(e,t){var n=[];if(!t)return n;var r,i=Object(s["a"])(t.pages);try{for(i.s();!(r=i.n()).done;){var u=r.value,o=Object(a["a"])(e,t.document,u),c=Object.keys(u)[0],l=document.createElement("div");l.id=c,l.setAttribute("style","margin-bottom: 20px;position: relative;width:".concat(o.w,"px;height:").concat(o.h,"px;background: white;")),Object(a["c"])(l,u,t.tpls,t.fontResObj,t.drawParamResObj,t.multiMediaResObj,t.compositeGraphicUnits),n.push(l)}}catch(b){i.e(b)}finally{i.f()}return n},v=function(e){var t=[];if(!e)return t;var n,r=Object(s["a"])(e.pages);try{for(r.s();!(n=r.n()).done;){var i=n.value,u=Object(a["b"])(e.document,i),o=Object.keys(i)[0],c=document.createElement("div");c.id=o,c.setAttribute("style","overflow: hidden;margin-bottom: 20px;position: relative;width:".concat(u.w,"px;height:").concat(u.h,"px;background: white;")),Object(a["c"])(c,i,e.tpls,e.fontResObj,e.drawParamResObj,e.multiMediaResObj,e.compositeGraphicUnits),t.push(c)}}catch(l){r.e(l)}finally{r.f()}return t},g=function(e){Object(o["o"])(e)},m=function(){return Object(o["i"])()}}).call(this,n("c8ba"))},"85ec":function(e,t,n){},a9c6:function(e,t,n){"use strict";n.d(t,"b",(function(){return q})),n.d(t,"a",(function(){return V}));var s=n("b85c"),r=n("1da1"),a=(n("96cf"),n("d3b7"),n("5319"),n("ac1f"),n("4c53"),n("159b"),n("4ec9"),n("3ca3"),n("ddb0"),n("1276"),n("6f9c")),i=n.n(a),u=n("64c1"),o=n.n(u),c=n("a476"),l=n.n(c),b=n("8060");n("a15b"),n("25f0"),n("f5b2"),n("13d5"),n("99af");function d(e,t){return e.length>=t?e:new Array(t-e.length+1).join("0")+e}function f(e){for(var t=8,n="",s=0;s=0;u--)s=n(r[u],a[u],s),i[u]=s[0];return i.join("")}function g(e,t){return v(e,t,(function(e,t){return[e===t?"0":"1"]}))}function m(e,t){return v(e,t,(function(e,t){return["1"===e&&"1"===t?"1":"0"]}))}function y(e,t){return v(e,t,(function(e,t){return["1"===e||"1"===t?"1":"0"]}))}function w(e,t){var n=v(e,t,(function(e,t,n){var s=n?n[1]:"0";return e!==t?["0"===s?"1":"0",s]:[s,e]}));return n}function x(e){return v(e,void 0,(function(e){return["1"===e?"0":"1"]}))}function O(e){return function(){for(var t=arguments.length,n=new Array(t),s=0;s=0&&s<=15?O(g)(e,t,n):O(y)(m(e,t),m(e,n),m(t,n))}function _(e,t,n,s){return s>=0&&s<=15?O(g)(e,t,n):y(m(e,t),m(x(e),n))}function A(e){return h(e>=0&&e<=15?"79cc4519":"7a879d8a")}function D(e,t){for(var n=32,s=[],r=[],a=0;a<16;a++)s.push(t.substr(a*n,n));for(var i=16;i<68;i++)s.push(O(g)(k(O(g)(s[i-16],s[i-9],p(s[i-3],15))),p(s[i-13],7),s[i-6]));for(var u=0;u<64;u++)r.push(g(s[u],s[u+4]));for(var o=[],c=0;c<8;c++)o.push(e.substr(c*n,n));for(var l,b,d,f,h=o[0],v=o[1],m=o[2],y=o[3],x=o[4],D=o[5],I=o[6],C=o[7],B=0;B<64;B++)l=p(O(w)(p(h,12),x,p(A(B),B)),7),b=g(l,p(h,12)),d=O(w)(S(h,v,m,B),y,b,r[B]),f=O(w)(_(x,D,I,B),C,l,s[B]),y=m,m=p(v,9),v=h,h=d,C=I,I=p(D,19),D=x,x=j(f);return g([h,v,m,y,x,D,I,C].join(""),e)}function I(e){var t=h(e),n=t.length,s=n%512;s=s>=448?512-s%448-1:448-s-1;for(var r="".concat(t,"1").concat(d("",s)).concat(d(n.toString(2),64)).toString(),a=(n+s+65)/512,i=h("7380166f4914b2b9172442d7da8a0600a96f30bc163138aae38dee4db0fb0e4e"),u=0;u<=a-1;u++){var o=r.substr(512*u,512);i=D(i,o)}return f(i)}var C=n("8237"),B=n.n(C),P=n("6199"),F=n.n(P),R=n("81fa"),T=n.n(R),L=n("6b33"),E=function(e,t,n){var s=Object(L["a"])(o.a.decode(t));return n=n.toLowerCase(),n.indexOf("1.2.156.10197.1.401")>=0||n.indexOf("sm3")>=0?s==I(Object(L["a"])(e)):n.indexOf("md5")>=0?s==B()(e):n.indexOf("sha1")>=0?s==F()(e):""},M=function(e){try{var t=e.realVersion<4?e.toSign.signatureAlgorithm:e.signatureAlgID;t=t.toLowerCase();var n=e.toSignDer;if(t.indexOf("1.2.156.10197.1.501")>=0||t.indexOf("sm2")>=0){var s=e.signature.replace(/ /g,"").replace(/\n/g,"");0==s.indexOf("00")&&(s=s.substr(2,s.length-2));var r=e.realVersion<4?e.toSign.cert:e.cert,a=r.subjectPublicKeyInfo.subjectPublicKey.replace(/ /g,"").replace(/\n/g,"");return 0==a.indexOf("00")&&(a=a.substr(2,a.length-2)),b["sm2"].doVerifySignature(n,s,a,{der:!0,hash:!0,userId:"1234567812345678"})}var i=new T.a.KJUR.crypto.Signature({alg:"SHA1withRSA"}),u=e.realVersion<4?e.toSign.cert:e.cert,o=e.signature.replace(/ /g,"").replace(/\n/g,"");return 0==o.indexOf("00")&&(o=o.substr(2,o.length-2)),i.init(u),i.updateHex(n),i.verify(o)}catch(c){return console.log(c),!1}},N=/^\s*(?:[0-9A-Fa-f][0-9A-Fa-f]\s*)+$/,q=function(){var e=Object(r["a"])(regeneratorRuntime.mark((function e(t,n){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise((function(e,s){t.files[n].async("base64").then((function(t){var n=H(t);e(n)}),(function(e){s(e)}))})));case 1:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),V=function(e){var t,n=!0,r=Object(s["a"])(e);try{for(r.s();!(t=r.n()).done;){var a=t.value,i=E(a.fileData,a.hashed,a.checkMethod);n=n&&i}}catch(u){r.e(u)}finally{r.f()}return n},H=function(e){try{var t=N.test(e)?i.a.decode(e):o.a.unarmor(e);return W(t)}catch(n){return console.log(n),{}}},W=function(e,t){t=t||0;try{var n=G(e,t),s=n.toSign.eseal.esealInfo.picture.type,r=n.toSign.eseal.esealInfo.picture.data.byte;return{ofdArray:r,type:s.toLowerCase(),SES_Signature:n,verifyRet:M(n)}}catch(a){return console.log(a),{}}},U=function(e){e=e.replace("Unrecognized time: ","");e.indexOf("Z");return e=e.replace("Z",""),e=e.substr(0,1)<"5"?"20"+e:"19"+e,e},G=function(e,t){t=t||0;var n,s=l.a.decode(e,t);try{var r,a,i,u,o,c,b,d,f,h,p,v,g,m,y,w,x,O,j,k,S,_,A,D,I,C,B,P,F,R,T,L,E,M,N,q,V,H,W,G,X,K,Y,$,Q,Z,ee,te,ne,se,re,ae,ie,ue,oe,ce,le,be,de,fe,he,pe,ve,ge,me,ye,we,xe,Oe,je,ke,Se,_e,Ae,De,Ie,Ce,Be,Pe,Fe,Re,Te,Le,Ee,Me,Ne,qe,Ve,He,We,Ue,Ge,ze,Je,Xe,Ke,Ye,$e,Qe,Ze,et=U(null===(r=s.sub[0])||void 0===r||null===(a=r.sub[1])||void 0===a||null===(i=a.sub[0])||void 0===i||null===(u=i.sub[2])||void 0===u||null===(o=u.sub[3])||void 0===o?void 0:o.stream.parseTime(s.sub[0].sub[1].sub[0].sub[2].sub[3].stream.pos+s.sub[0].sub[1].sub[0].sub[2].sub[3].header,s.sub[0].sub[1].sub[0].sub[2].sub[3].stream.pos+s.sub[0].sub[1].sub[0].sub[2].sub[3].header+s.sub[0].sub[1].sub[0].sub[2].sub[3].length)),tt=U(null===(c=s.sub[0])||void 0===c||null===(b=c.sub[1])||void 0===b||null===(d=b.sub[0])||void 0===d||null===(f=d.sub[2])||void 0===f||null===(h=f.sub[4])||void 0===h?void 0:h.stream.parseTime(s.sub[0].sub[1].sub[0].sub[2].sub[4].stream.pos+s.sub[0].sub[1].sub[0].sub[2].sub[4].header,s.sub[0].sub[1].sub[0].sub[2].sub[4].stream.pos+s.sub[0].sub[1].sub[0].sub[2].sub[4].header+s.sub[0].sub[1].sub[0].sub[2].sub[4].length)),nt=U(null===(p=s.sub[0])||void 0===p||null===(v=p.sub[1])||void 0===v||null===(g=v.sub[0])||void 0===g||null===(m=g.sub[2])||void 0===m||null===(y=m.sub[5])||void 0===y?void 0:y.stream.parseTime(s.sub[0].sub[1].sub[0].sub[2].sub[5].stream.pos+s.sub[0].sub[1].sub[0].sub[2].sub[5].header,s.sub[0].sub[1].sub[0].sub[2].sub[5].stream.pos+s.sub[0].sub[1].sub[0].sub[2].sub[5].header+s.sub[0].sub[1].sub[0].sub[2].sub[5].length)),st=U(null===(w=s.sub[0])||void 0===w||null===(x=w.sub[2])||void 0===x?void 0:x.stream.parseTime(s.sub[0].sub[2].stream.pos+s.sub[0].sub[2].header,s.sub[0].sub[2].stream.pos+s.sub[0].sub[2].header+s.sub[0].sub[2].length,!1)),rt=null===(O=s.sub[0])||void 0===O||null===(j=O.sub[1])||void 0===j||null===(k=j.sub[0])||void 0===k||null===(S=k.sub[2])||void 0===S?void 0:S.sub[2],at=new Array;rt&&rt.sub.forEach((function(e){at.push(e.stream.parseOctetString(e.stream.pos+e.header,e.stream.pos+e.header+e.length))}));var it=null===(_=s.sub[0])||void 0===_||null===(A=_.sub[1])||void 0===A||null===(D=A.sub[0])||void 0===D?void 0:D.sub[4],ut=new Array;it&&it.sub.forEach((function(e){var t,n,s;ut.push({extnID:null===(t=e.sub[0])||void 0===t?void 0:t.stream.parseOID(e.sub[0].stream.pos+e.sub[0].header,e.sub[0].stream.pos+e.sub[0].header+e.sub[0].length),critical:null===(n=e.sub[1])||void 0===n?void 0:n.stream.parseInteger(e.sub[1].stream.pos+e.sub[1].header,e.sub[1].stream.pos+e.sub[1].header+e.sub[1].length),extnValue:null===(s=e.sub[2])||void 0===s?void 0:s.stream.parseOctetString(e.sub[2].stream.pos+e.sub[2].header,e.sub[2].stream.pos+e.sub[2].header+e.sub[2].length)})})),n={realVersion:1,toSignDer:null===(I=s.sub[0])||void 0===I?void 0:I.stream.enc.subarray(s.sub[0].stream.pos,s.sub[0].stream.pos+s.sub[0].header+s.sub[0].length),toSign:{version:null===(C=s.sub[0])||void 0===C||null===(B=C.sub[0])||void 0===B?void 0:B.stream.parseInteger(s.sub[0].sub[0].stream.pos+s.sub[0].sub[0].header,s.sub[0].sub[0].stream.pos+s.sub[0].sub[0].header+s.sub[0].sub[0].length),eseal:{esealInfo:{header:{ID:null===(P=s.sub[0])||void 0===P||null===(F=P.sub[1])||void 0===F||null===(R=F.sub[0])||void 0===R||null===(T=R.sub[0])||void 0===T||null===(L=T.sub[0])||void 0===L?void 0:L.stream.parseStringUTF(s.sub[0].sub[1].sub[0].sub[0].sub[0].stream.pos+s.sub[0].sub[1].sub[0].sub[0].sub[0].header,s.sub[0].sub[1].sub[0].sub[0].sub[0].stream.pos+s.sub[0].sub[1].sub[0].sub[0].sub[0].header+s.sub[0].sub[1].sub[0].sub[0].sub[0].length),version:null===(E=s.sub[0])||void 0===E||null===(M=E.sub[1])||void 0===M||null===(N=M.sub[0])||void 0===N||null===(q=N.sub[0])||void 0===q||null===(V=q.sub[1])||void 0===V?void 0:V.stream.parseInteger(s.sub[0].sub[1].sub[0].sub[0].sub[1].stream.pos+s.sub[0].sub[1].sub[0].sub[0].sub[1].header,s.sub[0].sub[1].sub[0].sub[0].sub[1].stream.pos+s.sub[0].sub[1].sub[0].sub[0].sub[1].header+s.sub[0].sub[1].sub[0].sub[0].sub[1].length),Vid:null===(H=s.sub[0])||void 0===H||null===(W=H.sub[1])||void 0===W||null===(G=W.sub[0])||void 0===G||null===(X=G.sub[0])||void 0===X||null===(K=X.sub[2])||void 0===K?void 0:K.stream.parseStringUTF(s.sub[0].sub[1].sub[0].sub[0].sub[2].stream.pos+s.sub[0].sub[1].sub[0].sub[0].sub[2].header,s.sub[0].sub[1].sub[0].sub[0].sub[2].stream.pos+s.sub[0].sub[1].sub[0].sub[0].sub[2].header+s.sub[0].sub[1].sub[0].sub[0].sub[2].length)},esID:null===(Y=s.sub[0])||void 0===Y||null===($=Y.sub[1])||void 0===$||null===(Q=$.sub[0])||void 0===Q||null===(Z=Q.sub[1])||void 0===Z?void 0:Z.stream.parseStringUTF(s.sub[0].sub[1].sub[0].sub[1].stream.pos+s.sub[0].sub[1].sub[0].sub[1].header,s.sub[0].sub[1].sub[0].sub[1].stream.pos+s.sub[0].sub[1].sub[0].sub[1].header+s.sub[0].sub[1].sub[0].sub[1].length),property:{type:null===(ee=s.sub[0])||void 0===ee||null===(te=ee.sub[1])||void 0===te||null===(ne=te.sub[0])||void 0===ne||null===(se=ne.sub[2])||void 0===se||null===(re=se.sub[0])||void 0===re?void 0:re.stream.parseInteger(s.sub[0].sub[1].sub[0].sub[2].sub[0].stream.pos+s.sub[0].sub[1].sub[0].sub[2].sub[0].header,s.sub[0].sub[1].sub[0].sub[2].sub[0].stream.pos+s.sub[0].sub[1].sub[0].sub[2].sub[0].header+s.sub[0].sub[1].sub[0].sub[2].sub[0].length),name:null===(ae=s.sub[0])||void 0===ae||null===(ie=ae.sub[1])||void 0===ie||null===(ue=ie.sub[0])||void 0===ue||null===(oe=ue.sub[2])||void 0===oe||null===(ce=oe.sub[1])||void 0===ce?void 0:ce.stream.parseStringUTF(s.sub[0].sub[1].sub[0].sub[2].sub[1].stream.pos+s.sub[0].sub[1].sub[0].sub[2].sub[1].header,s.sub[0].sub[1].sub[0].sub[2].sub[1].stream.pos+s.sub[0].sub[1].sub[0].sub[2].sub[1].header+s.sub[0].sub[1].sub[0].sub[2].sub[1].length),certList:at,createDate:et,validStart:tt,validEnd:nt},picture:{type:null===(le=s.sub[0])||void 0===le||null===(be=le.sub[1])||void 0===be||null===(de=be.sub[0])||void 0===de||null===(fe=de.sub[3])||void 0===fe||null===(he=fe.sub[0])||void 0===he?void 0:he.stream.parseStringUTF(s.sub[0].sub[1].sub[0].sub[3].sub[0].stream.pos+s.sub[0].sub[1].sub[0].sub[3].sub[0].header,s.sub[0].sub[1].sub[0].sub[3].sub[0].stream.pos+s.sub[0].sub[1].sub[0].sub[3].sub[0].header+s.sub[0].sub[1].sub[0].sub[3].sub[0].length),data:{hex:null===(pe=s.sub[0])||void 0===pe||null===(ve=pe.sub[1])||void 0===ve||null===(ge=ve.sub[0])||void 0===ge||null===(me=ge.sub[3])||void 0===me||null===(ye=me.sub[1])||void 0===ye?void 0:ye.stream.parseOctetString(s.sub[0].sub[1].sub[0].sub[3].sub[1].stream.pos+s.sub[0].sub[1].sub[0].sub[3].sub[1].header,s.sub[0].sub[1].sub[0].sub[3].sub[1].stream.pos+s.sub[0].sub[1].sub[0].sub[3].sub[1].header+s.sub[0].sub[1].sub[0].sub[3].sub[1].length),byte:null===(we=s.sub[0])||void 0===we||null===(xe=we.sub[1])||void 0===xe||null===(Oe=xe.sub[0])||void 0===Oe||null===(je=Oe.sub[3])||void 0===je||null===(ke=je.sub[1])||void 0===ke?void 0:ke.stream.enc.subarray(s.sub[0].sub[1].sub[0].sub[3].sub[1].stream.pos+s.sub[0].sub[1].sub[0].sub[3].sub[1].header,s.sub[0].sub[1].sub[0].sub[3].sub[1].stream.pos+s.sub[0].sub[1].sub[0].sub[3].sub[1].header+s.sub[0].sub[1].sub[0].sub[3].sub[1].length)},width:null===(Se=s.sub[0])||void 0===Se||null===(_e=Se.sub[1])||void 0===_e||null===(Ae=_e.sub[0])||void 0===Ae||null===(De=Ae.sub[3])||void 0===De||null===(Ie=De.sub[2])||void 0===Ie?void 0:Ie.stream.parseInteger(s.sub[0].sub[1].sub[0].sub[3].sub[2].stream.pos+s.sub[0].sub[1].sub[0].sub[3].sub[2].header,s.sub[0].sub[1].sub[0].sub[3].sub[2].stream.pos+s.sub[0].sub[1].sub[0].sub[3].sub[2].header+s.sub[0].sub[1].sub[0].sub[3].sub[2].length),height:null===(Ce=s.sub[0])||void 0===Ce||null===(Be=Ce.sub[1])||void 0===Be||null===(Pe=Be.sub[0])||void 0===Pe||null===(Fe=Pe.sub[3])||void 0===Fe||null===(Re=Fe.sub[3])||void 0===Re?void 0:Re.stream.parseInteger(s.sub[0].sub[1].sub[0].sub[3].sub[3].stream.pos+s.sub[0].sub[1].sub[0].sub[3].sub[3].header,s.sub[0].sub[1].sub[0].sub[3].sub[3].stream.pos+s.sub[0].sub[1].sub[0].sub[3].sub[3].header+s.sub[0].sub[1].sub[0].sub[3].sub[3].length)},extDatas:ut},signInfo:{cert:z(null===(Te=s.sub[0])||void 0===Te||null===(Le=Te.sub[1])||void 0===Le||null===(Ee=Le.sub[1])||void 0===Ee?void 0:Ee.sub[0]),signatureAlgorithm:null===(Me=s.sub[0])||void 0===Me||null===(Ne=Me.sub[1])||void 0===Ne||null===(qe=Ne.sub[1])||void 0===qe||null===(Ve=qe.sub[1])||void 0===Ve?void 0:Ve.stream.parseOID(s.sub[0].sub[1].sub[1].sub[1].stream.pos+s.sub[0].sub[1].sub[1].sub[1].header,s.sub[0].sub[1].sub[1].sub[1].stream.pos+s.sub[0].sub[1].sub[1].sub[1].header+s.sub[0].sub[1].sub[1].sub[1].length),signData:null===(He=s.sub[0])||void 0===He||null===(We=He.sub[1])||void 0===We||null===(Ue=We.sub[1])||void 0===Ue||null===(Ge=Ue.sub[2])||void 0===Ge?void 0:Ge.stream.hexDump(s.sub[0].sub[1].sub[1].sub[2].stream.pos+s.sub[0].sub[1].sub[1].sub[2].header,s.sub[0].sub[1].sub[1].sub[2].stream.pos+s.sub[0].sub[1].sub[1].sub[2].header+s.sub[0].sub[1].sub[1].sub[2].length,!1)}},timeInfo:st,dataHash:null===(ze=s.sub[0])||void 0===ze||null===(Je=ze.sub[3])||void 0===Je?void 0:Je.stream.hexDump(s.sub[0].sub[3].stream.pos+s.sub[0].sub[3].header,s.sub[0].sub[3].stream.pos+s.sub[0].sub[3].header+s.sub[0].sub[3].length,!1),propertyInfo:null===(Xe=s.sub[0])||void 0===Xe||null===(Ke=Xe.sub[4])||void 0===Ke?void 0:Ke.stream.parseStringUTF(s.sub[0].sub[4].stream.pos+s.sub[0].sub[4].header,s.sub[0].sub[4].stream.pos+s.sub[0].sub[4].header+s.sub[0].sub[4].length),cert:z(null===(Ye=s.sub[0])||void 0===Ye?void 0:Ye.sub[5]),signatureAlgorithm:null===($e=s.sub[0])||void 0===$e||null===(Qe=$e.sub[6])||void 0===Qe?void 0:Qe.stream.parseOID(s.sub[0].sub[6].stream.pos+s.sub[0].sub[6].header,s.sub[0].sub[6].stream.pos+s.sub[0].sub[6].header+s.sub[0].sub[6].length)},signature:null===(Ze=s.sub[1])||void 0===Ze?void 0:Ze.stream.hexDump(s.sub[1].stream.pos+s.sub[1].header,s.sub[1].stream.pos+s.sub[1].header+s.sub[1].length,!1)}}catch(as){try{var ot,ct,lt,bt,dt,ft,ht,pt,vt,gt,mt,yt,wt,xt,Ot,jt,kt,St,_t,At,Dt,It,Ct,Bt,Pt,Ft,Rt,Tt,Lt,Et,Mt,Nt,qt,Vt,Ht,Wt,Ut,Gt,zt,Jt,Xt,Kt,Yt,$t,Qt,Zt,en,tn,nn,sn,rn,an,un,on,cn,ln,bn,dn,fn,hn,pn,vn,gn,mn,yn,wn,xn,On,jn,kn,Sn,_n,An,Dn,In,Cn,Bn,Pn,Fn,Rn,Tn,Ln,En,Mn,Nn,qn,Vn,Hn,Wn,Un,Gn,zn,Jn,Xn,Kn,Yn,$n,Qn,Zn,es=null===(ot=s.sub[0])||void 0===ot||null===(ct=ot.sub[1])||void 0===ct||null===(lt=ct.sub[0])||void 0===lt||null===(bt=lt.sub[2])||void 0===bt||null===(dt=bt.sub[2])||void 0===dt?void 0:dt.stream.parseInteger(s.sub[0].sub[1].sub[0].sub[2].sub[2].stream.pos+s.sub[0].sub[1].sub[0].sub[2].sub[2].header,s.sub[0].sub[1].sub[0].sub[2].sub[2].stream.pos+s.sub[0].sub[1].sub[0].sub[2].sub[2].header+s.sub[0].sub[1].sub[0].sub[2].sub[2].length),ts=null===(ft=s.sub[0])||void 0===ft||null===(ht=ft.sub[1])||void 0===ht||null===(pt=ht.sub[0])||void 0===pt||null===(vt=pt.sub[2])||void 0===vt?void 0:vt.sub[3],ns=new Array;ts&&ts.sub.forEach((function(e){ns.push(e.stream.parseOctetString(e.stream.pos+e.header,e.stream.pos+e.header+e.length))}));var ss=null===(gt=s.sub[0])||void 0===gt||null===(mt=gt.sub[1])||void 0===mt||null===(yt=mt.sub[0])||void 0===yt?void 0:yt.sub[4],rs=new Array;ss&&ss.sub.forEach((function(e){var t,n,s;rs.push({extnID:null===(t=e.sub[0])||void 0===t?void 0:t.stream.parseOID(e.sub[0].stream.pos+e.sub[0].header,e.sub[0].stream.pos+e.sub[0].header+e.sub[0].length),critical:null===(n=e.sub[1])||void 0===n?void 0:n.stream.parseInteger(e.sub[1].stream.pos+e.sub[1].header,e.sub[1].stream.pos+e.sub[1].header+e.sub[1].length),extnValue:null===(s=e.sub[2])||void 0===s?void 0:s.stream.parseOctetString(e.sub[2].stream.pos+e.sub[2].header,e.sub[2].stream.pos+e.sub[2].header+e.sub[2].length)})})),n={realVersion:4,toSignDer:null===(wt=s.sub[0])||void 0===wt?void 0:wt.stream.enc.subarray(s.sub[0].stream.pos,s.sub[0].stream.pos+s.sub[0].header+s.sub[0].length),toSign:{version:null===(xt=s.sub[0])||void 0===xt||null===(Ot=xt.sub[0])||void 0===Ot?void 0:Ot.stream.parseInteger(s.sub[0].sub[0].stream.pos+s.sub[0].sub[0].header,s.sub[0].sub[0].stream.pos+s.sub[0].sub[0].header+s.sub[0].sub[0].length),eseal:{esealInfo:{header:{ID:null===(jt=s.sub[0])||void 0===jt||null===(kt=jt.sub[1])||void 0===kt||null===(St=kt.sub[0])||void 0===St||null===(_t=St.sub[0])||void 0===_t||null===(At=_t.sub[0])||void 0===At?void 0:At.stream.parseStringUTF(s.sub[0].sub[1].sub[0].sub[0].sub[0].stream.pos+s.sub[0].sub[1].sub[0].sub[0].sub[0].header,s.sub[0].sub[1].sub[0].sub[0].sub[0].stream.pos+s.sub[0].sub[1].sub[0].sub[0].sub[0].header+s.sub[0].sub[1].sub[0].sub[0].sub[0].length),version:null===(Dt=s.sub[0])||void 0===Dt||null===(It=Dt.sub[1])||void 0===It||null===(Ct=It.sub[0])||void 0===Ct||null===(Bt=Ct.sub[0])||void 0===Bt||null===(Pt=Bt.sub[1])||void 0===Pt?void 0:Pt.stream.parseInteger(s.sub[0].sub[1].sub[0].sub[0].sub[1].stream.pos+s.sub[0].sub[1].sub[0].sub[0].sub[1].header,s.sub[0].sub[1].sub[0].sub[0].sub[1].stream.pos+s.sub[0].sub[1].sub[0].sub[0].sub[1].header+s.sub[0].sub[1].sub[0].sub[0].sub[1].length),Vid:null===(Ft=s.sub[0])||void 0===Ft||null===(Rt=Ft.sub[1])||void 0===Rt||null===(Tt=Rt.sub[0])||void 0===Tt||null===(Lt=Tt.sub[0])||void 0===Lt||null===(Et=Lt.sub[2])||void 0===Et?void 0:Et.stream.parseStringUTF(s.sub[0].sub[1].sub[0].sub[0].sub[2].stream.pos+s.sub[0].sub[1].sub[0].sub[0].sub[2].header,s.sub[0].sub[1].sub[0].sub[0].sub[2].stream.pos+s.sub[0].sub[1].sub[0].sub[0].sub[2].header+s.sub[0].sub[1].sub[0].sub[0].sub[2].length)},esID:null===(Mt=s.sub[0])||void 0===Mt||null===(Nt=Mt.sub[1])||void 0===Nt||null===(qt=Nt.sub[0])||void 0===qt||null===(Vt=qt.sub[1])||void 0===Vt?void 0:Vt.stream.parseStringUTF(s.sub[0].sub[1].sub[0].sub[1].stream.pos+s.sub[0].sub[1].sub[0].sub[1].header,s.sub[0].sub[1].sub[0].sub[1].stream.pos+s.sub[0].sub[1].sub[0].sub[1].header+s.sub[0].sub[1].sub[0].sub[1].length),property:{type:null===(Ht=s.sub[0])||void 0===Ht||null===(Wt=Ht.sub[1])||void 0===Wt||null===(Ut=Wt.sub[0])||void 0===Ut||null===(Gt=Ut.sub[2])||void 0===Gt||null===(zt=Gt.sub[0])||void 0===zt?void 0:zt.stream.parseInteger(s.sub[0].sub[1].sub[0].sub[2].sub[0].stream.pos+s.sub[0].sub[1].sub[0].sub[2].sub[0].header,s.sub[0].sub[1].sub[0].sub[2].sub[0].stream.pos+s.sub[0].sub[1].sub[0].sub[2].sub[0].header+s.sub[0].sub[1].sub[0].sub[2].sub[0].length),name:null===(Jt=s.sub[0])||void 0===Jt||null===(Xt=Jt.sub[1])||void 0===Xt||null===(Kt=Xt.sub[0])||void 0===Kt||null===(Yt=Kt.sub[2])||void 0===Yt||null===($t=Yt.sub[1])||void 0===$t?void 0:$t.stream.parseStringUTF(s.sub[0].sub[1].sub[0].sub[2].sub[1].stream.pos+s.sub[0].sub[1].sub[0].sub[2].sub[1].header,s.sub[0].sub[1].sub[0].sub[2].sub[1].stream.pos+s.sub[0].sub[1].sub[0].sub[2].sub[1].header+s.sub[0].sub[1].sub[0].sub[2].sub[1].length),certListType:es,certList:ns,createDate:null===(Qt=s.sub[0])||void 0===Qt||null===(Zt=Qt.sub[1])||void 0===Zt||null===(en=Zt.sub[0])||void 0===en||null===(tn=en.sub[2])||void 0===tn||null===(nn=tn.sub[4])||void 0===nn?void 0:nn.stream.parseTime(s.sub[0].sub[1].sub[0].sub[2].sub[4].stream.pos+s.sub[0].sub[1].sub[0].sub[2].sub[4].header,s.sub[0].sub[1].sub[0].sub[2].sub[4].stream.pos+s.sub[0].sub[1].sub[0].sub[2].sub[4].header+s.sub[0].sub[1].sub[0].sub[2].sub[4].length),validStart:null===(sn=s.sub[0])||void 0===sn||null===(rn=sn.sub[1])||void 0===rn||null===(an=rn.sub[0])||void 0===an||null===(un=an.sub[2])||void 0===un||null===(on=un.sub[5])||void 0===on?void 0:on.stream.parseTime(s.sub[0].sub[1].sub[0].sub[2].sub[5].stream.pos+s.sub[0].sub[1].sub[0].sub[2].sub[5].header,s.sub[0].sub[1].sub[0].sub[2].sub[5].stream.pos+s.sub[0].sub[1].sub[0].sub[2].sub[5].header+s.sub[0].sub[1].sub[0].sub[2].sub[5].length),validEnd:null===(cn=s.sub[0])||void 0===cn||null===(ln=cn.sub[1])||void 0===ln||null===(bn=ln.sub[0])||void 0===bn||null===(dn=bn.sub[2])||void 0===dn||null===(fn=dn.sub[6])||void 0===fn?void 0:fn.stream.parseTime(s.sub[0].sub[1].sub[0].sub[2].sub[6].stream.pos+s.sub[0].sub[1].sub[0].sub[2].sub[6].header,s.sub[0].sub[1].sub[0].sub[2].sub[6].stream.pos+s.sub[0].sub[1].sub[0].sub[2].sub[6].header+s.sub[0].sub[1].sub[0].sub[2].sub[6].length)},picture:{type:null===(hn=s.sub[0])||void 0===hn||null===(pn=hn.sub[1])||void 0===pn||null===(vn=pn.sub[0])||void 0===vn||null===(gn=vn.sub[3])||void 0===gn||null===(mn=gn.sub[0])||void 0===mn?void 0:mn.stream.parseStringUTF(s.sub[0].sub[1].sub[0].sub[3].sub[0].stream.pos+s.sub[0].sub[1].sub[0].sub[3].sub[0].header,s.sub[0].sub[1].sub[0].sub[3].sub[0].stream.pos+s.sub[0].sub[1].sub[0].sub[3].sub[0].header+s.sub[0].sub[1].sub[0].sub[3].sub[0].length),data:{hex:null===(yn=s.sub[0])||void 0===yn||null===(wn=yn.sub[1])||void 0===wn||null===(xn=wn.sub[0])||void 0===xn||null===(On=xn.sub[3])||void 0===On||null===(jn=On.sub[1])||void 0===jn?void 0:jn.stream.parseOctetString(s.sub[0].sub[1].sub[0].sub[3].sub[1].stream.pos+s.sub[0].sub[1].sub[0].sub[3].sub[1].header,s.sub[0].sub[1].sub[0].sub[3].sub[1].stream.pos+s.sub[0].sub[1].sub[0].sub[3].sub[1].header+s.sub[0].sub[1].sub[0].sub[3].sub[1].length),byte:null===(kn=s.sub[0])||void 0===kn||null===(Sn=kn.sub[1])||void 0===Sn||null===(_n=Sn.sub[0])||void 0===_n||null===(An=_n.sub[3])||void 0===An||null===(Dn=An.sub[1])||void 0===Dn?void 0:Dn.stream.enc.subarray(s.sub[0].sub[1].sub[0].sub[3].sub[1].stream.pos+s.sub[0].sub[1].sub[0].sub[3].sub[1].header,s.sub[0].sub[1].sub[0].sub[3].sub[1].stream.pos+s.sub[0].sub[1].sub[0].sub[3].sub[1].header+s.sub[0].sub[1].sub[0].sub[3].sub[1].length)},width:null===(In=s.sub[0])||void 0===In||null===(Cn=In.sub[1])||void 0===Cn||null===(Bn=Cn.sub[0])||void 0===Bn||null===(Pn=Bn.sub[3])||void 0===Pn||null===(Fn=Pn.sub[2])||void 0===Fn?void 0:Fn.stream.parseInteger(s.sub[0].sub[1].sub[0].sub[3].sub[2].stream.pos+s.sub[0].sub[1].sub[0].sub[3].sub[2].header,s.sub[0].sub[1].sub[0].sub[3].sub[2].stream.pos+s.sub[0].sub[1].sub[0].sub[3].sub[2].header+s.sub[0].sub[1].sub[0].sub[3].sub[2].length),height:null===(Rn=s.sub[0])||void 0===Rn||null===(Tn=Rn.sub[1])||void 0===Tn||null===(Ln=Tn.sub[0])||void 0===Ln||null===(En=Ln.sub[3])||void 0===En||null===(Mn=En.sub[3])||void 0===Mn?void 0:Mn.stream.parseInteger(s.sub[0].sub[1].sub[0].sub[3].sub[3].stream.pos+s.sub[0].sub[1].sub[0].sub[3].sub[3].header,s.sub[0].sub[1].sub[0].sub[3].sub[3].stream.pos+s.sub[0].sub[1].sub[0].sub[3].sub[3].header+s.sub[0].sub[1].sub[0].sub[3].sub[3].length)},extDatas:rs},cert:z(null===(Nn=s.sub[0])||void 0===Nn||null===(qn=Nn.sub[1])||void 0===qn?void 0:qn.sub[1]),signAlgID:null===(Vn=s.sub[0])||void 0===Vn||null===(Hn=Vn.sub[1])||void 0===Hn||null===(Wn=Hn.sub[2])||void 0===Wn?void 0:Wn.stream.parseOID(s.sub[0].sub[1].sub[2].stream.pos+s.sub[0].sub[1].sub[2].header,s.sub[0].sub[1].sub[2].stream.pos+s.sub[0].sub[1].sub[2].header+s.sub[0].sub[1].sub[2].length),signedValue:null===(Un=s.sub[0])||void 0===Un||null===(Gn=Un.sub[1])||void 0===Gn||null===(zn=Gn.sub[3])||void 0===zn?void 0:zn.stream.hexDump(s.sub[0].sub[1].sub[3].stream.pos+s.sub[0].sub[1].sub[3].header,s.sub[0].sub[1].sub[3].stream.pos+s.sub[0].sub[1].sub[3].header+s.sub[0].sub[1].sub[3].length,!1)},timeInfo:null===(Jn=s.sub[0])||void 0===Jn||null===(Xn=Jn.sub[2])||void 0===Xn?void 0:Xn.stream.parseTime(s.sub[0].sub[2].stream.pos+s.sub[0].sub[2].header,s.sub[0].sub[2].stream.pos+s.sub[0].sub[2].header+s.sub[0].sub[2].length,!1),dataHash:null===(Kn=s.sub[0])||void 0===Kn||null===(Yn=Kn.sub[3])||void 0===Yn?void 0:Yn.stream.hexDump(s.sub[0].sub[3].stream.pos+s.sub[0].sub[3].header,s.sub[0].sub[3].stream.pos+s.sub[0].sub[3].header+s.sub[0].sub[3].length,!1),propertyInfo:J(s.sub[0].sub[4])},cert:z(s.sub[1]),signatureAlgID:null===($n=s.sub[2])||void 0===$n?void 0:$n.stream.parseOID(s.sub[2].stream.pos+s.sub[2].header,s.sub[2].stream.pos+s.sub[2].header+s.sub[2].length),signature:null===(Qn=s.sub[3])||void 0===Qn?void 0:Qn.stream.hexDump(s.sub[3].stream.pos+s.sub[3].header,s.sub[3].stream.pos+s.sub[3].header+s.sub[3].length,!1),timpStamp:null===(Zn=s.sub[4])||void 0===Zn?void 0:Zn.stream.parseTime(s.sub[4].stream.pos+s.sub[4].header,s.sub[4].stream.pos+s.sub[4].header+s.sub[4].length)}}catch(as){console.log(as),n={}}}return n},z=function(e,t){t=t||0;try{var n,s,r=e.sub[0].sub[0].sub[5],a=new Map;r.sub.forEach((function(e){var t,n=e.sub[0].sub[0].content().split("\n")[0],s=null===(t=e.sub[0].sub[1])||void 0===t?void 0:t.stream.parseStringUTF(e.sub[0].sub[1].stream.pos+e.sub[0].sub[1].header,e.sub[0].sub[1].stream.pos+e.sub[0].sub[1].header+e.sub[0].sub[1].length);a.set(n,s)}));var i=e.sub[0].sub[0].sub[6];return{subject:a,commonName:a.get("2.5.4.3"),subjectPublicKeyInfo:{algorithm:null===(n=i.sub[0])||void 0===n?void 0:n.stream.parseOID(i.sub[0].stream.pos+i.sub[0].header,i.sub[0].stream.pos+i.sub[0].header+i.sub[0].length),subjectPublicKey:null===(s=i.sub[1])||void 0===s?void 0:s.stream.hexDump(i.sub[1].stream.pos+i.sub[1].header,i.sub[1].stream.pos+i.sub[1].header+i.sub[1].length)}}}catch(u){return console.log(u),{}}},J=function(e){for(var t="",n=0;n