try{let pr=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},$i=new pr.Error().stack;$i&&(pr._sentryDebugIds=pr._sentryDebugIds||{},pr._sentryDebugIds[$i]="83dca642-8fa0-41e0-8c40-8a400c7c0532",pr._sentryDebugIdIdentifier="sentry-dbid-83dca642-8fa0-41e0-8c40-8a400c7c0532")}catch(pr){}{let pr=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};pr.SENTRY_RELEASE={id:"22.14.4"}}(self.webpackChunk_mb2024_mb_proto=self.webpackChunk_mb2024_mb_proto||[]).push([[976],{77109:(pr,$i,Tn)=>{Tn.r($i),Tn.d($i,{BwsImgCmp:()=>on,JsPdf:()=>Yt,zip:()=>Sc});var _u={},dc=function(e,t,n,i,o){var r=new Worker(_u[t]||(_u[t]=URL.createObjectURL(new Blob([e+';addEventListener("error",function(e){e=e.error;postMessage({$e$:[e.message,e.code,e.stack]})})'],{type:"text/javascript"}))));return r.onmessage=function(s){var u=s.data,c=u.$e$;if(c){var m=new Error(c[0]);m.code=c[1],m.stack=c[2],o(m,null)}else o(null,u)},r.postMessage(n,i),r},pe=Uint8Array,ln=Uint16Array,ta=Int32Array,ui=new pe([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),li=new pe([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),ea=new pe([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),Su=function(e,t){for(var n=new ln(31),i=0;i<31;++i)n[i]=t+=1<>1|(Se&21845)<<1;Sr=(Sr&52428)>>2|(Sr&13107)<<2,Sr=(Sr&61680)>>4|(Sr&3855)<<4,na[Se]=((Sr&65280)>>8|(Sr&255)<<8)>>1}for(var Pn=function(e,t,n){for(var i=e.length,o=0,r=new ln(t);o>c]=m}else for(u=new ln(i),o=0;o>15-e[o]);return u},gr=new pe(288),Se=0;Se<144;++Se)gr[Se]=8;for(var Se=144;Se<256;++Se)gr[Se]=9;for(var Se=256;Se<280;++Se)gr[Se]=7;for(var Se=280;Se<288;++Se)gr[Se]=8;for(var ci=new pe(32),Se=0;Se<32;++Se)ci[Se]=5;var Fu=Pn(gr,9,0),Cu=Pn(gr,9,1),Eu=Pn(ci,5,0),ju=Pn(ci,5,1),Ra=function(e){for(var t=e[0],n=1;nt&&(t=e[n]);return t},kn=function(e,t,n){var i=t/8|0;return(e[i]|e[i+1]<<8)>>(t&7)&n},qa=function(e,t){var n=t/8|0;return(e[n]|e[n+1]<<8|e[n+2]<<16)>>(t&7)},ra=function(e){return(e+7)/8|0},Pr=function(e,t,n){return(t==null||t<0)&&(t=0),(n==null||n>e.length)&&(n=e.length),new pe(e.subarray(t,n))},e1={UnexpectedEOF:0,InvalidBlockType:1,InvalidLengthLiteral:2,InvalidDistance:3,StreamFinished:4,NoStreamHandler:5,InvalidHeader:6,NoCallback:7,InvalidUTF8:8,ExtraFieldTooLong:9,InvalidDate:10,FilenameTooLong:11,StreamFinishing:12,InvalidZipData:13,UnknownCompressionMethod:14},Ou=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],ue=function(e,t,n){var i=new Error(t||Ou[e]);if(i.code=e,Error.captureStackTrace&&Error.captureStackTrace(i,ue),!n)throw i;return i},Ua=function(e,t,n,i){var o=e.length,r=i?i.length:0;if(!o||t.f&&!t.l)return n||new pe(0);var s=!n,u=s||t.i!=2,c=t.i;s&&(n=new pe(o*3));var m=function(bt){var St=n.length;if(bt>St){var Ft=new pe(Math.max(St*2,bt));Ft.set(n),n=Ft}},d=t.f||0,p=t.p||0,g=t.b||0,f=t.l,w=t.d,N=t.m,C=t.n,y=o*8;do{if(!f){d=kn(e,p,1);var M=kn(e,p+1,3);if(p+=3,M)if(M==1)f=Cu,w=ju,N=9,C=5;else if(M==2){var W=kn(e,p,31)+257,Q=kn(e,p+10,15)+4,x=W+kn(e,p+5,31)+1;p+=14;for(var k=new pe(x),H=new pe(19),A=0;A>4;if(z<16)k[A++]=z;else{var E=0,I=0;for(z==16?(I=3+kn(e,p,3),p+=2,E=k[A-1]):z==17?(I=3+kn(e,p,7),p+=3):z==18&&(I=11+kn(e,p,127),p+=7);I--;)k[A++]=E}}var X=k.subarray(0,W),J=k.subarray(W);N=Ra(X),C=Ra(J),f=Pn(X,N,1),w=Pn(J,C,1)}else ue(1);else{var z=ra(p)+4,G=e[z-4]|e[z-3]<<8,$=z+G;if($>o){c&&ue(0);break}u&&m(g+G),n.set(e.subarray(z,$),g),t.b=g+=G,t.p=p=$*8,t.f=d;continue}if(p>y){c&&ue(0);break}}u&&m(g+131072);for(var tt=(1<>4;if(p+=E&15,p>y){c&&ue(0);break}if(E||ue(2),R<256)n[g++]=R;else if(R==256){_=p,f=null;break}else{var q=R-254;if(R>264){var A=R-257,U=ui[A];q=kn(e,p,(1<>4;et||ue(3),p+=et&15;var J=Iu[st];if(st>3){var U=li[st];J+=qa(e,p)&(1<y){c&&ue(0);break}u&&m(g+131072);var lt=g+q;if(g>8},fi=function(e,t,n){n<<=t&7;var i=t/8|0;e[i]|=n,e[i+1]|=n>>8,e[i+2]|=n>>16},za=function(e,t){for(var n=[],i=0;ig&&(g=r[i].s);var f=new ln(g+1),w=Ha(n[d-1],f,0);if(w>t){var i=0,N=0,C=w-t,y=1<t)N+=y-(1<>=C;N>0;){var z=r[i].s;f[z]=0&&N;--i){var G=r[i].s;f[G]==t&&(--f[G],++N)}w=t}return{t:new pe(f),l:w}},Ha=function(e,t,n){return e.s==-1?Math.max(Ha(e.l,t,n+1),Ha(e.r,t,n+1)):t[e.s]=n},ls=function(e){for(var t=e.length;t&&!e[--t];);for(var n=new ln(++t),i=0,o=e[0],r=1,s=function(c){n[i++]=c},u=1;u<=t;++u)if(e[u]==o&&u!=t)++r;else{if(!o&&r>2){for(;r>138;r-=138)s(32754);r>2&&(s(r>10?r-11<<5|28690:r-3<<5|12305),r=0)}else if(r>3){for(s(o),--r;r>6;r-=6)s(8304);r>2&&(s(r-3<<5|8208),r=0)}for(;r--;)s(o);r=1,o=e[u]}return{c:n.subarray(0,i),n:t}},hi=function(e,t){for(var n=0,i=0;i>8,e[o+2]=e[o]^255,e[o+3]=e[o+1]^255;for(var r=0;r4&&!H[ea[L-1]];--L);var B=m+5<<3,F=hi(o,gr)+hi(r,ci)+s,Y=hi(o,g)+hi(r,N)+s+14+3*L+hi(Q,H)+2*Q[16]+3*Q[17]+7*Q[18];if(c>=0&&B<=F&&B<=Y)return cs(t,d,e.subarray(c,c+m));var E,I,X,J;if($n(t,d,1+(Y15&&($n(t,d,R[x]>>5&127),d+=R[x]>>12)}}else E=Fu,I=gr,X=Eu,J=ci;for(var x=0;x255){var q=U>>18&31;fi(t,d,E[q+257]),d+=I[q+257],q>7&&($n(t,d,U>>23&31),d+=ui[q]);var et=U&31;fi(t,d,X[et]),d+=J[et],et>3&&(fi(t,d,U>>5&8191),d+=li[et])}else fi(t,d,E[U]),d+=I[U]}return fi(t,d,E[256]),d+I[256]},Mu=new ta([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),hs=new pe(0),Bu=function(e,t,n,i,o,r){var s=r.z||e.length,u=new pe(i+s+5*(1+Math.ceil(s/7e3))+o),c=u.subarray(i,u.length-o),m=r.l,d=(r.r||0)&7;if(t){d&&(c[0]=r.r>>3);for(var p=Mu[t-1],g=p>>13,f=p&8191,w=(1<7e3||H>24576)&&(E>423||!m)){d=fs(e,c,0,G,$,W,x,H,L,k-L,d),H=Q=x=0,L=k;for(var I=0;I<286;++I)$[I]=0;for(var I=0;I<30;++I)W[I]=0}var X=2,J=0,tt=f,gt=F-Y&32767;if(E>2&&B==z(k-gt))for(var _=Math.min(g,E)-1,R=Math.min(32767,k),q=Math.min(258,E);gt<=R&&--tt&&F!=Y;){if(e[k+X]==e[k+X-gt]){for(var U=0;UX){if(X=U,J=gt,U>_)break;for(var et=Math.min(gt,U-2),st=0,I=0;Ist&&(st=wt,Y=lt)}}}F=Y,Y=N[F],gt+=F-Y&32767}if(J){G[H++]=268435456|Ta[X]<<18|us[J];var bt=Ta[X]&31,St=us[J]&31;x+=ui[bt]+li[St],++$[257+bt],++W[St],A=k+X,++Q}else G[H++]=e[k],++$[e[k]]}}for(k=Math.max(k,A);k=s&&(c[d/8|0]=m,Ft=s),d=cs(c,d+1,e.subarray(k,Ft))}r.i=s}return Pr(u,0,i+ra(d)+o)},Du=function(){for(var e=new Int32Array(256),t=0;t<256;++t){for(var n=t,i=9;--i;)n=(n&1&&-306674912)^n>>>1;e[t]=n}return e}(),Wa=function(){var e=-1;return{p:function(t){for(var n=e,i=0;i>>8;e=n},d:function(){return~e}}},ds=function(){var e=1,t=0;return{p:function(n){for(var i=e,o=t,r=n.length|0,s=0;s!=r;){for(var u=Math.min(s+2655,r);s>16),o=(o&65535)+15*(o>>16)}e=i,t=o},d:function(){return e%=65521,t%=65521,(e&255)<<24|(e&65280)<<8|(t&255)<<8|t>>8}}},Ga=function(e,t,n,i,o){if(!o&&(o={l:1},t.dictionary)){var r=t.dictionary.subarray(-32768),s=new pe(r.length+e.length);s.set(r),s.set(e,r.length),e=s,o.w=r.length}return Bu(e,t.level==null?6:t.level,t.mem==null?o.l?Math.ceil(Math.max(8,Math.min(13,Math.log(e.length)))*1.5):20:12+t.mem,n,i,o)},Va=function(e,t){var n={};for(var i in e)n[i]=e[i];for(var i in t)n[i]=t[i];return n},Tu=function(e,t,n){for(var i=e(),o=e.toString(),r=o.slice(o.indexOf("[")+1,o.lastIndexOf("]")).replace(/\s+/g,"").split(","),s=0;s>>0},ms=function(e,t){return Ke(e,t)+Ke(e,t+4)*4294967296},ke=function(e,t,n){for(;n;++t)e[t]=n,n>>>=8},qu=function(e,t){var n=t.filename;if(e[0]=31,e[1]=139,e[2]=8,e[8]=t.level<2?4:t.level==9?2:0,e[9]=3,t.mtime!=0&&ke(e,4,Math.floor(new Date(t.mtime||Date.now())/1e3)),n){e[3]=8;for(var i=0;i<=n.length;++i)e[i+10]=n.charCodeAt(i)}},Uu=function(e){(e[0]!=31||e[1]!=139||e[2]!=8)&&ue(6,"invalid gzip data");var t=e[3],n=10;t&4&&(n+=(e[10]|e[11]<<8)+2);for(var i=(t>>3&1)+(t>>4&1);i>0;i-=!e[n++]);return n+(t&2)},zu=function(e){var t=e.length;return(e[t-4]|e[t-3]<<8|e[t-2]<<16|e[t-1]<<24)>>>0},Hu=function(e){return 10+(e.filename?e.filename.length+1:0)},Wu=function(e,t){var n=t.level,i=n==0?0:n<6?1:n==9?3:2;if(e[0]=120,e[1]=i<<6|(t.dictionary&&32),e[1]|=31-(e[0]<<8|e[1])%31,t.dictionary){var o=ds();o.p(t.dictionary),ke(e,2,o.d())}},Gu=function(e,t){return((e[0]&15)!=8||e[0]>>4>7||(e[0]<<8|e[1])%31)&&ue(6,"invalid zlib data"),(e[1]>>5&1)==+!t&&ue(6,"invalid zlib data: "+(e[1]&32?"need":"unexpected")+" dictionary"),(e[1]>>3&4)+2};function i1(e,t){return typeof e=="function"&&(t=e,e={}),this.ondata=t,e}var a1=null,o1=null;function yc(e,t,n){return n||(n=t,t={}),typeof n!="function"&&ue(7),di(e,t,[gs],function(i){return kr(Qa(i.data[0],i.data[1]))},0,n)}function Qa(e,t){return Ga(e,t||{},0,0)}var s1=null,u1=null;function Vu(e,t,n){return n||(n=t,t={}),typeof n!="function"&&ue(7),di(e,t,[ps],function(i){return kr(ia(i.data[0],vs(i.data[1])))},1,n)}function ia(e,t){return Ua(e,{i:2},t&&t.out,t&&t.dictionary)}var l1=null,c1=null;function f1(e,t,n){return n||(n=t,t={}),typeof n!="function"&&ue(7),di(e,t,[gs,gc,function(){return[Yu]}],function(i){return kr(Yu(i.data[0],i.data[1]))},2,n)}function Yu(e,t){t||(t={});var n=Wa(),i=e.length;n.p(e);var o=Ga(e,t,Hu(t),8),r=o.length;return qu(o,t),ke(o,r-8,n.d()),ke(o,r-4,i),o}var h1=null,d1=null;function wc(e,t,n){return n||(n=t,t={}),typeof n!="function"&&ue(7),di(e,t,[ps,vc,function(){return[bs]}],function(i){return kr(bs(i.data[0],i.data[1]))},3,n)}function bs(e,t){var n=Uu(e);return n+8>e.length&&ue(6,"invalid gzip data"),Ua(e.subarray(n,-8),{i:2},t&&t.out||new pe(zu(e)),t&&t.dictionary)}var p1=null,g1=null;function v1(e,t,n){return n||(n=t,t={}),typeof n!="function"&&ue(7),di(e,t,[gs,mc,function(){return[aa]}],function(i){return kr(aa(i.data[0],i.data[1]))},4,n)}function aa(e,t){t||(t={});var n=ds();n.p(e);var i=Ga(e,t,t.dictionary?6:2,4);return Wu(i,t),ke(i,i.length-4,n.d()),i}var m1=null,b1=null;function Ac(e,t,n){return n||(n=t,t={}),typeof n!="function"&&ue(7),di(e,t,[ps,bc,function(){return[Ja]}],function(i){return kr(Ja(i.data[0],vs(i.data[1])))},5,n)}function Ja(e,t){return Ua(e.subarray(Gu(e,t&&t.dictionary),-4),{i:2},t&&t.out,t&&t.dictionary)}var y1=null,w1=null;function A1(e,t,n){return n||(n=t,t={}),typeof n!="function"&&ue(7),e[0]==31&&e[1]==139&&e[2]==8?wc(e,t,n):(e[0]&15)!=8||e[0]>>4>7||(e[0]<<8|e[1])%31?Vu(e,t,n):Ac(e,t,n)}function x1(e,t){return e[0]==31&&e[1]==139&&e[2]==8?bs(e,t):(e[0]&15)!=8||e[0]>>4>7||(e[0]<<8|e[1])%31?ia(e,t):Ja(e,t)}var ys=function(e,t,n,i){for(var o in e){var r=e[o],s=t+o,u=i;Array.isArray(r)&&(u=Va(i,r[1]),r=r[0]),r instanceof pe?n[s]=[r,u]:(n[s+="/"]=[new pe(0),u],ys(r,s,n,i))}},Qu=typeof TextEncoder<"u"&&new TextEncoder,ws=typeof TextDecoder<"u"&&new TextDecoder,xc=0;try{ws.decode(hs,{stream:!0}),xc=1}catch(e){}var Lc=function(e){for(var t="",n=0;;){var i=e[n++],o=(i>127)+(i>223)+(i>239);if(n+o>e.length)return{s:t,r:Pr(e,n-1)};o?o==3?(i=((i&15)<<18|(e[n++]&63)<<12|(e[n++]&63)<<6|e[n++]&63)-65536,t+=String.fromCharCode(55296|i>>10,56320|i&1023)):o&1?t+=String.fromCharCode((i&31)<<6|e[n++]&63):t+=String.fromCharCode((i&15)<<12|(e[n++]&63)<<6|e[n++]&63):t+=String.fromCharCode(i)}},L1=null,N1=null;function Za(e,t){if(t){for(var n=new pe(e.length),i=0;i>1)),s=0,u=function(d){r[s++]=d},i=0;ir.length){var c=new pe(s+8+(o-i<<1));c.set(r),r=c}var m=e.charCodeAt(i);m<128||t?u(m):m<2048?(u(192|m>>6),u(128|m&63)):m>55295&&m<57344?(m=65536+(m&1047552)|e.charCodeAt(++i)&1023,u(240|m>>18),u(128|m>>12&63),u(128|m>>6&63),u(128|m&63)):(u(224|m>>12),u(128|m>>6&63),u(128|m&63))}return Pr(r,0,s)}function Nc(e,t){if(t){for(var n="",i=0;i65535&&ue(9),t+=i+4}return t},Xa=function(e,t,n,i,o,r,s,u){var c=i.length,m=n.extra,d=u&&u.length,p=oa(m);ke(e,t,s!=null?33639248:67324752),t+=4,s!=null&&(e[t++]=20,e[t++]=n.os),e[t]=20,t+=2,e[t++]=n.flag<<1|(r<0&&8),e[t++]=o&&8,e[t++]=n.compression&255,e[t++]=n.compression>>8;var g=new Date(n.mtime==null?Date.now():n.mtime),f=g.getFullYear()-1980;if((f<0||f>119)&&ue(10),ke(e,t,f<<25|g.getMonth()+1<<21|g.getDate()<<16|g.getHours()<<11|g.getMinutes()<<5|g.getSeconds()>>1),t+=4,r!=-1&&(ke(e,t,n.crc),ke(e,t+4,r<0?-r-2:r),ke(e,t+8,n.size)),ke(e,t+12,c),ke(e,t+14,p),t+=16,s!=null&&(ke(e,t,d),ke(e,t+6,n.attrs),ke(e,t+10,s),t+=14),e.set(i,t),t+=c,p)for(var w in m){var N=m[w],C=N.length;ke(e,t,+w),ke(e,t+2,C),e.set(N,t+4),t+=4+C}return d&&(e.set(u,t),t+=d),t},Xu=function(e,t,n,i,o){ke(e,t,101010256),ke(e,t+8,n),ke(e,t+10,n),ke(e,t+12,i),ke(e,t+16,o)},S1=null,P1=null,k1=null,I1=null;function Sc(e,t,n){n||(n=t,t={}),typeof n!="function"&&ue(7);var i={};ys(e,"",i,t);var o=Object.keys(i),r=o.length,s=0,u=0,c=r,m=new Array(r),d=[],p=function(){for(var C=0;C65535&&F(ue(11,0,1),null),!B)F(null,z);else if(W<16e4)try{F(null,Qa(z,G))}catch(Y){F(Y,null)}else d.push(yc(z,G,F))},N=0;N65535&&ue(11);var y=d?Qa(c,m):c,M=y.length,z=Wa();z.p(c),i.push(Va(m,{size:c.length,crc:z.d(),c:y,f:p,m:w,u:g!=s.length||w&&f.length!=N,o,compression:d})),o+=30+g+C+M,r+=76+2*(g+C)+(N||0)+M}for(var G=new pe(r+22),$=o,W=r-o,Q=0;Q65558)return s(ue(13,0,1),null),o;var c=Rn(e,u+8);if(c){var m=c,d=Ke(e,u+16),p=d==4294967295||m==65535;if(p){var g=Ke(e,u-12);p=Ke(e,g)==101075792,p&&(m=c=Ke(e,g+32),d=Ke(e,g+48))}for(var f=t&&t.filter,w=function(C){var y=Zu(e,d,p),M=y[0],z=y[1],G=y[2],$=y[3],W=y[4],Q=y[5],x=Ju(e,Q);d=W;var k=function(A,L){A?(o(),s(A,null)):(L&&(r[$]=L),--c||s(null,r))};if(!f||f({name:$,size:z,originalSize:G,compression:M}))if(!M)k(null,Pr(e,x,x+z));else if(M==8){var H=e.subarray(x,x+z);if(G<524288||z>.8*G)try{k(null,ia(H,{out:new pe(G)}))}catch(A){k(A,null)}else i.push(Vu(H,{size:G},k))}else k(ue(14,"unknown compression type "+M,1),null);else k(null,null)},N=0;N65558)&&ue(13);var o=Rn(e,i+8);if(!o)return{};var r=Ke(e,i+16),s=r==4294967295||o==65535;if(s){var u=Ke(e,i-12);s=Ke(e,u)==101075792,s&&(o=Ke(e,u+32),r=Ke(e,u+48))}for(var c=t&&t.filter,m=0;m, https://github.com/MrRio/jsPDF * 2015-2021 yWorks GmbH, http://www.yworks.com * 2015-2021 Lukas Holländer , https://github.com/HackbrettXXX * 2016-2018 Aras Abbasi * 2010 Aaron Spike, https://github.com/acspike * 2012 Willow Systems Corporation, https://github.com/willowsystems * 2012 Pablo Hess, https://github.com/pablohess * 2012 Florian Jenett, https://github.com/fjenett * 2013 Warren Weckesser, https://github.com/warrenweckesser * 2013 Youssef Beddad, https://github.com/lifof * 2013 Lee Driscoll, https://github.com/lsdriscoll * 2013 Stefan Slonevskiy, https://github.com/stefslon * 2013 Jeremy Morel, https://github.com/jmorel * 2013 Christoph Hartmann, https://github.com/chris-rock * 2014 Juan Pablo Gaviria, https://github.com/juanpgaviria * 2014 James Makes, https://github.com/dollaruw * 2014 Diego Casorran, https://github.com/diegocr * 2014 Steven Spungin, https://github.com/Flamenco * 2014 Kenneth Glassey, https://github.com/Gavvers * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the * "Software"), to deal in the Software without restriction, including * without limitation the rights to use, copy, modify, merge, publish, * distribute, sublicense, and/or sell copies of the Software, and to * permit persons to whom the Software is furnished to do so, subject to * the following conditions: * * The above copyright notice and this permission notice shall be * included in all copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. * * Contributor(s): * siefkenj, ahwolf, rickygu, Midnith, saintclair, eaparango, * kim3er, mfo, alnorth, Flamenco */var Jt=function(){return typeof window<"u"?window:typeof Tn.g<"u"?Tn.g:typeof self<"u"?self:this}();function As(){Jt.console&&typeof Jt.console.log=="function"&&Jt.console.log.apply(Jt.console,arguments)}var xe={log:As,warn:function(e){Jt.console&&(typeof Jt.console.warn=="function"?Jt.console.warn.apply(Jt.console,arguments):As.call(null,arguments))},error:function(e){Jt.console&&(typeof Jt.console.error=="function"?Jt.console.error.apply(Jt.console,arguments):As(e))}};function xs(e,t,n){var i=new XMLHttpRequest;i.open("GET",e),i.responseType="blob",i.onload=function(){Vr(i.response,t,n)},i.onerror=function(){xe.error("could not download file")},i.send()}function Ku(e){var t=new XMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch(n){}return t.status>=200&&t.status<=299}function $a(e){try{e.dispatchEvent(new MouseEvent("click"))}catch(n){var t=document.createEvent("MouseEvents");t.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(t)}}var sa,Ls,Vr=Jt.saveAs||((typeof window>"u"?"undefined":(0,Ae.A)(window))!=="object"||window!==Jt?function(){}:typeof HTMLAnchorElement<"u"&&"download"in HTMLAnchorElement.prototype?function(e,t,n){var i=Jt.URL||Jt.webkitURL,o=document.createElement("a");t=t||e.name||"download",o.download=t,o.rel="noopener",typeof e=="string"?(o.href=e,o.origin!==location.origin?Ku(o.href)?xs(e,t,n):$a(o,o.target="_blank"):$a(o)):(o.href=i.createObjectURL(e),setTimeout(function(){i.revokeObjectURL(o.href)},4e4),setTimeout(function(){$a(o)},0))}:"msSaveOrOpenBlob"in navigator?function(e,t,n){if(t=t||e.name||"download",typeof e=="string")if(Ku(e))xs(e,t,n);else{var i=document.createElement("a");i.href=e,i.target="_blank",setTimeout(function(){$a(i)})}else navigator.msSaveOrOpenBlob(function(o,r){return r===void 0?r={autoBom:!1}:(0,Ae.A)(r)!=="object"&&(xe.warn("Deprecated: Expected third argument to be a object"),r={autoBom:!r}),r.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(o.type)?new Blob(["\uFEFF",o],{type:o.type}):o}(e,n),t)}:function(e,t,n,i){if((i=i||open("","_blank"))&&(i.document.title=i.document.body.innerText="downloading..."),typeof e=="string")return xs(e,t,n);var o=e.type==="application/octet-stream",r=/constructor/i.test(Jt.HTMLElement)||Jt.safari,s=/CriOS\/[\d]+/.test(navigator.userAgent);if((s||o&&r)&&(typeof FileReader>"u"?"undefined":(0,Ae.A)(FileReader))==="object"){var u=new FileReader;u.onloadend=function(){var d=u.result;d=s?d:d.replace(/^data:[^;]*;/,"data:attachment/file;"),i?i.location.href=d:location=d,i=null},u.readAsDataURL(e)}else{var c=Jt.URL||Jt.webkitURL,m=c.createObjectURL(e);i?i.location=m:location.href=m,i=null,setTimeout(function(){c.revokeObjectURL(m)},4e4)}});/** * A class to parse color values * @author Stoyan Stefanov * {@link http://www.phpied.com/rgb-color-parser-in-javascript/} * @license Use it if you like it */function $u(e){var t;e=e||"",this.ok=!1,e.charAt(0)=="#"&&(e=e.substr(1,6)),e={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"}[e=(e=e.replace(/ /g,"")).toLowerCase()]||e;for(var n=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(u){return[parseInt(u[1]),parseInt(u[2]),parseInt(u[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(u){return[parseInt(u[1],16),parseInt(u[2],16),parseInt(u[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(u){return[parseInt(u[1]+u[1],16),parseInt(u[2]+u[2],16),parseInt(u[3]+u[3],16)]}}],i=0;i255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toHex=function(){var u=this.r.toString(16),c=this.g.toString(16),m=this.b.toString(16);return u.length==1&&(u="0"+u),c.length==1&&(c="0"+c),m.length==1&&(m="0"+m),"#"+u+c+m}}/** * @license * Joseph Myers does not specify a particular license for his work. * * Author: Joseph Myers * Accessed from: http://www.myersdaily.org/joseph/javascript/md5.js * * Modified by: Owen Leong */function Ns(e,t){var n=e[0],i=e[1],o=e[2],r=e[3];n=en(n,i,o,r,t[0],7,-680876936),r=en(r,n,i,o,t[1],12,-389564586),o=en(o,r,n,i,t[2],17,606105819),i=en(i,o,r,n,t[3],22,-1044525330),n=en(n,i,o,r,t[4],7,-176418897),r=en(r,n,i,o,t[5],12,1200080426),o=en(o,r,n,i,t[6],17,-1473231341),i=en(i,o,r,n,t[7],22,-45705983),n=en(n,i,o,r,t[8],7,1770035416),r=en(r,n,i,o,t[9],12,-1958414417),o=en(o,r,n,i,t[10],17,-42063),i=en(i,o,r,n,t[11],22,-1990404162),n=en(n,i,o,r,t[12],7,1804603682),r=en(r,n,i,o,t[13],12,-40341101),o=en(o,r,n,i,t[14],17,-1502002290),n=nn(n,i=en(i,o,r,n,t[15],22,1236535329),o,r,t[1],5,-165796510),r=nn(r,n,i,o,t[6],9,-1069501632),o=nn(o,r,n,i,t[11],14,643717713),i=nn(i,o,r,n,t[0],20,-373897302),n=nn(n,i,o,r,t[5],5,-701558691),r=nn(r,n,i,o,t[10],9,38016083),o=nn(o,r,n,i,t[15],14,-660478335),i=nn(i,o,r,n,t[4],20,-405537848),n=nn(n,i,o,r,t[9],5,568446438),r=nn(r,n,i,o,t[14],9,-1019803690),o=nn(o,r,n,i,t[3],14,-187363961),i=nn(i,o,r,n,t[8],20,1163531501),n=nn(n,i,o,r,t[13],5,-1444681467),r=nn(r,n,i,o,t[2],9,-51403784),o=nn(o,r,n,i,t[7],14,1735328473),n=rn(n,i=nn(i,o,r,n,t[12],20,-1926607734),o,r,t[5],4,-378558),r=rn(r,n,i,o,t[8],11,-2022574463),o=rn(o,r,n,i,t[11],16,1839030562),i=rn(i,o,r,n,t[14],23,-35309556),n=rn(n,i,o,r,t[1],4,-1530992060),r=rn(r,n,i,o,t[4],11,1272893353),o=rn(o,r,n,i,t[7],16,-155497632),i=rn(i,o,r,n,t[10],23,-1094730640),n=rn(n,i,o,r,t[13],4,681279174),r=rn(r,n,i,o,t[0],11,-358537222),o=rn(o,r,n,i,t[3],16,-722521979),i=rn(i,o,r,n,t[6],23,76029189),n=rn(n,i,o,r,t[9],4,-640364487),r=rn(r,n,i,o,t[12],11,-421815835),o=rn(o,r,n,i,t[15],16,530742520),n=an(n,i=rn(i,o,r,n,t[2],23,-995338651),o,r,t[0],6,-198630844),r=an(r,n,i,o,t[7],10,1126891415),o=an(o,r,n,i,t[14],15,-1416354905),i=an(i,o,r,n,t[5],21,-57434055),n=an(n,i,o,r,t[12],6,1700485571),r=an(r,n,i,o,t[3],10,-1894986606),o=an(o,r,n,i,t[10],15,-1051523),i=an(i,o,r,n,t[1],21,-2054922799),n=an(n,i,o,r,t[8],6,1873313359),r=an(r,n,i,o,t[15],10,-30611744),o=an(o,r,n,i,t[6],15,-1560198380),i=an(i,o,r,n,t[13],21,1309151649),n=an(n,i,o,r,t[4],6,-145523070),r=an(r,n,i,o,t[11],10,-1120210379),o=an(o,r,n,i,t[2],15,718787259),i=an(i,o,r,n,t[9],21,-343485551),e[0]=Ir(n,e[0]),e[1]=Ir(i,e[1]),e[2]=Ir(o,e[2]),e[3]=Ir(r,e[3])}function to(e,t,n,i,o,r){return t=Ir(Ir(t,e),Ir(i,r)),Ir(t<>>32-o,n)}function en(e,t,n,i,o,r,s){return to(t&n|~t&i,e,t,o,r,s)}function nn(e,t,n,i,o,r,s){return to(t&i|n&~i,e,t,o,r,s)}function rn(e,t,n,i,o,r,s){return to(t^n^i,e,t,o,r,s)}function an(e,t,n,i,o,r,s){return to(n^(t|~i),e,t,o,r,s)}function tl(e){var t,n=e.length,i=[1732584193,-271733879,-1732584194,271733878];for(t=64;t<=e.length;t+=64)Ns(i,Pc(e.substring(t-64,t)));e=e.substring(t-64);var o=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(t=0;t>2]|=e.charCodeAt(t)<<(t%4<<3);if(o[t>>2]|=128<<(t%4<<3),t>55)for(Ns(i,o),t=0;t<16;t++)o[t]=0;return o[14]=8*n,Ns(i,o),i}function Pc(e){var t,n=[];for(t=0;t<64;t+=4)n[t>>2]=e.charCodeAt(t)+(e.charCodeAt(t+1)<<8)+(e.charCodeAt(t+2)<<16)+(e.charCodeAt(t+3)<<24);return n}sa=Jt.atob.bind(Jt),Ls=Jt.btoa.bind(Jt);var el="0123456789abcdef".split("");function kc(e){for(var t="",n=0;n<4;n++)t+=el[e>>8*n+4&15]+el[e>>8*n&15];return t}function Ic(e){return String.fromCharCode((255&e)>>0,(65280&e)>>8,(16711680&e)>>16,(4278190080&e)>>24)}function _s(e){return tl(e).map(Ic).join("")}var Fc=function(e){for(var t=0;t>16)+(t>>16)+(n>>16)<<16|65535&n}return e+t&4294967295}/** * @license * FPDF is released under a permissive license: there is no usage restriction. * You may embed it freely in your application (commercial or not), with or * without modifications. * * Reference: http://www.fpdf.org/en/script/script37.php */function Ss(e,t){var n,i,o,r;if(e!==n){for(var s=(o=e,r=1+(256/e.length>>0),new Array(r+1).join(o)),u=[],c=0;c<256;c++)u[c]=c;var m=0;for(c=0;c<256;c++){var d=u[c];m=(m+d+s.charCodeAt(c))%256,u[c]=u[m],u[m]=d}n=e,i=u}else u=i;var p=t.length,g=0,f=0,w="";for(c=0;c\x80/\f\xA9\xFEdSiz";var r=(t+this.padding).substr(0,32),s=(n+this.padding).substr(0,32);this.O=this.processOwnerPassword(r,s),this.P=-(1+(255^o)),this.encryptionKey=_s(r+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(i)).substr(0,5),this.U=Ss(this.encryptionKey,this.padding)}function gi(e){if(/[^\u0000-\u00ff]/.test(e))throw new Error("Invalid PDF Name Object: "+e+", Only accept ASCII characters.");for(var t="",n=e.length,i=0;i126?t+="#"+("0"+o.toString(16)).slice(-2):t+=e[i]}return t}function rl(e){if((0,Ae.A)(e)!=="object")throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var t={};this.subscribe=function(n,i,o){if(o=o||!1,typeof n!="string"||typeof i!="function"||typeof o!="boolean")throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");t.hasOwnProperty(n)||(t[n]={});var r=Math.random().toString(35);return t[n][r]=[i,!!o],r},this.unsubscribe=function(n){for(var i in t)if(t[i][n])return delete t[i][n],Object.keys(t[i]).length===0&&delete t[i],!0;return!1},this.publish=function(n){if(t.hasOwnProperty(n)){var i=Array.prototype.slice.call(arguments,1),o=[];for(var r in t[n]){var s=t[n][r];try{s[0].apply(e,i)}catch(u){Jt.console&&xe.error("jsPDF PubSub Error",u.message,u)}s[1]&&o.push(r)}o.length&&o.forEach(this.unsubscribe)}},this.getTopics=function(){return t}}function eo(e){if(!(this instanceof eo))return new eo(e);var t="opacity,stroke-opacity".split(",");for(var n in e)e.hasOwnProperty(n)&&t.indexOf(n)>=0&&(this[n]=e[n]);this.id="",this.objectNumber=-1}function il(e,t){this.gState=e,this.matrix=t,this.id="",this.objectNumber=-1}function Yr(e,t,n,i,o){if(!(this instanceof Yr))return new Yr(e,t,n,i,o);this.type=e==="axial"?2:3,this.coords=t,this.colors=n,il.call(this,i,o)}function vi(e,t,n,i,o){if(!(this instanceof vi))return new vi(e,t,n,i,o);this.boundingBox=e,this.xStep=t,this.yStep=n,this.stream="",this.cloneIndex=0,il.call(this,i,o)}function Yt(e){var t,n=typeof arguments[0]=="string"?arguments[0]:"p",i=arguments[1],o=arguments[2],r=arguments[3],s=[],u=1,c=16,m="S",d=null;(0,Ae.A)(e=e||{})==="object"&&(n=e.orientation,i=e.unit||i,o=e.format||o,r=e.compress||e.compressPdf||r,(d=e.encryption||null)!==null&&(d.userPassword=d.userPassword||"",d.ownerPassword=d.ownerPassword||"",d.userPermissions=d.userPermissions||[]),u=typeof e.userUnit=="number"?Math.abs(e.userUnit):1,e.precision!==void 0&&(t=e.precision),e.floatPrecision!==void 0&&(c=e.floatPrecision),m=e.defaultPathOperation||"S"),s=e.filters||(r===!0?["FlateEncode"]:s),i=i||"mm",n=(""+(n||"P")).toLowerCase();var p=e.putOnlyUsedFonts||!1,g={},f={internal:{},__private__:{}};f.__private__.PubSub=rl;var w="1.3",N=f.__private__.getPdfVersion=function(){return w};f.__private__.setPdfVersion=function(h){w=h};var C={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};f.__private__.getPageFormats=function(){return C};var y=f.__private__.getPageFormat=function(h){return C[h]};o=o||"a4";var M={COMPAT:"compat",ADVANCED:"advanced"},z=M.COMPAT;function G(){this.saveGraphicsState(),K(new Qt(Ct,0,0,-Ct,0,Or()*Ct).toString()+" cm"),this.setFontSize(this.getFontSize()/Ct),m="n",z=M.ADVANCED}function $(){this.restoreGraphicsState(),m="S",z=M.COMPAT}var W=f.__private__.combineFontStyleAndFontWeight=function(h,P){if(h=="bold"&&P=="normal"||h=="bold"&&P==400||h=="normal"&&P=="italic"||h=="bold"&&P=="italic")throw new Error("Invalid Combination of fontweight and fontstyle");return P&&(h=P==400||P==="normal"?h==="italic"?"italic":"normal":P!=700&&P!=="bold"||h!=="normal"?(P==700?"bold":P)+""+h:"bold"),h};f.advancedAPI=function(h){var P=z===M.COMPAT;return P&&G.call(this),typeof h!="function"||(h(this),P&&$.call(this)),this},f.compatAPI=function(h){var P=z===M.ADVANCED;return P&&$.call(this),typeof h!="function"||(h(this),P&&G.call(this)),this},f.isAdvancedAPI=function(){return z===M.ADVANCED};var Q,x=function(h){if(z!==M.ADVANCED)throw new Error(h+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},k=f.roundToPrecision=f.__private__.roundToPrecision=function(h,P){var Z=t||P;if(isNaN(h)||isNaN(Z))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return h.toFixed(Z).replace(/0+$/,"")};Q=f.hpf=f.__private__.hpf=typeof c=="number"?function(h){if(isNaN(h))throw new Error("Invalid argument passed to jsPDF.hpf");return k(h,c)}:c==="smart"?function(h){if(isNaN(h))throw new Error("Invalid argument passed to jsPDF.hpf");return k(h,h>-1&&h<1?16:5)}:function(h){if(isNaN(h))throw new Error("Invalid argument passed to jsPDF.hpf");return k(h,16)};var H=f.f2=f.__private__.f2=function(h){if(isNaN(h))throw new Error("Invalid argument passed to jsPDF.f2");return k(h,2)},A=f.__private__.f3=function(h){if(isNaN(h))throw new Error("Invalid argument passed to jsPDF.f3");return k(h,3)},L=f.scale=f.__private__.scale=function(h){if(isNaN(h))throw new Error("Invalid argument passed to jsPDF.scale");return z===M.COMPAT?h*Ct:z===M.ADVANCED?h:void 0},B=function(h){return z===M.COMPAT?Or()-h:z===M.ADVANCED?h:void 0},F=function(h){return L(B(h))};f.__private__.setPrecision=f.setPrecision=function(h){typeof parseInt(h,10)=="number"&&(t=parseInt(h,10))};var Y,E="00000000000000000000000000000000",I=f.__private__.getFileId=function(){return E},X=f.__private__.setFileId=function(h){return E=h!==void 0&&/^[a-fA-F0-9]{32}$/.test(h)?h.toUpperCase():E.split("").map(function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))}).join(""),d!==null&&(sn=new pi(d.userPermissions,d.userPassword,d.ownerPassword,E)),E};f.setFileId=function(h){return X(h),this},f.getFileId=function(){return I()};var J=f.__private__.convertDateToPDFDate=function(h){var P=h.getTimezoneOffset(),Z=P<0?"+":"-",nt=Math.floor(Math.abs(P/60)),ct=Math.abs(P%60),vt=[Z,q(nt),"'",q(ct),"'"].join("");return["D:",h.getFullYear(),q(h.getMonth()+1),q(h.getDate()),q(h.getHours()),q(h.getMinutes()),q(h.getSeconds()),vt].join("")},tt=f.__private__.convertPDFDateToDate=function(h){var P=parseInt(h.substr(2,4),10),Z=parseInt(h.substr(6,2),10)-1,nt=parseInt(h.substr(8,2),10),ct=parseInt(h.substr(10,2),10),vt=parseInt(h.substr(12,2),10),Nt=parseInt(h.substr(14,2),10);return new Date(P,Z,nt,ct,vt,Nt,0)},gt=f.__private__.setCreationDate=function(h){var P;if(h===void 0&&(h=new Date),h instanceof Date)P=J(h);else{if(!/^D:(20[0-2][0-9]|203[0-7]|19[7-9][0-9])(0[0-9]|1[0-2])([0-2][0-9]|3[0-1])(0[0-9]|1[0-9]|2[0-3])(0[0-9]|[1-5][0-9])(0[0-9]|[1-5][0-9])(\+0[0-9]|\+1[0-4]|-0[0-9]|-1[0-1])'(0[0-9]|[1-5][0-9])'?$/.test(h))throw new Error("Invalid argument passed to jsPDF.setCreationDate");P=h}return Y=P},_=f.__private__.getCreationDate=function(h){var P=Y;return h==="jsDate"&&(P=tt(Y)),P};f.setCreationDate=function(h){return gt(h),this},f.getCreationDate=function(h){return _(h)};var R,q=f.__private__.padd2=function(h){return("0"+parseInt(h)).slice(-2)},U=f.__private__.padd2Hex=function(h){return("00"+(h=h.toString())).substr(h.length)},et=0,st=[],lt=[],ut=0,wt=[],bt=[],St=!1,Ft=lt,qt=function(){et=0,ut=0,lt=[],st=[],wt=[],vr=qe(),Gn=qe()};f.__private__.setCustomOutputDestination=function(h){St=!0,Ft=h};var dt=function(h){St||(Ft=h)};f.__private__.resetCustomOutputDestination=function(){St=!1,Ft=lt};var K=f.__private__.out=function(h){return h=h.toString(),ut+=h.length+1,Ft.push(h),Ft},Tt=f.__private__.write=function(h){return K(arguments.length===1?h.toString():Array.prototype.join.call(arguments," "))},It=f.__private__.getArrayBuffer=function(h){for(var P=h.length,Z=new ArrayBuffer(P),nt=new Uint8Array(Z);P--;)nt[P]=h.charCodeAt(P);return Z},xt=[["Helvetica","helvetica","normal","WinAnsiEncoding"],["Helvetica-Bold","helvetica","bold","WinAnsiEncoding"],["Helvetica-Oblique","helvetica","italic","WinAnsiEncoding"],["Helvetica-BoldOblique","helvetica","bolditalic","WinAnsiEncoding"],["Courier","courier","normal","WinAnsiEncoding"],["Courier-Bold","courier","bold","WinAnsiEncoding"],["Courier-Oblique","courier","italic","WinAnsiEncoding"],["Courier-BoldOblique","courier","bolditalic","WinAnsiEncoding"],["Times-Roman","times","normal","WinAnsiEncoding"],["Times-Bold","times","bold","WinAnsiEncoding"],["Times-Italic","times","italic","WinAnsiEncoding"],["Times-BoldItalic","times","bolditalic","WinAnsiEncoding"],["ZapfDingbats","zapfdingbats","normal",null],["Symbol","symbol","normal",null]];f.__private__.getStandardFonts=function(){return xt};var _t=e.fontSize||16;f.__private__.setFontSize=f.setFontSize=function(h){return _t=z===M.ADVANCED?h/Ct:h,this};var Pt,kt=f.__private__.getFontSize=f.getFontSize=function(){return z===M.COMPAT?_t:_t*Ct},jt=e.R2L||!1;f.__private__.setR2L=f.setR2L=function(h){return jt=h,this},f.__private__.getR2L=f.getR2L=function(){return jt};var Bt,Ut=f.__private__.setZoomMode=function(h){var P=[void 0,null,"fullwidth","fullheight","fullpage","original"];if(/^(?:\d+\.\d*|\d*\.\d+|\d+)%$/.test(h))Pt=h;else if(isNaN(h)){if(P.indexOf(h)===-1)throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+h+'" is not recognized.');Pt=h}else Pt=parseInt(h,10)};f.__private__.getZoomMode=function(){return Pt};var Zt,ie=f.__private__.setPageMode=function(h){if([void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(h)==-1)throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+h+'" is not recognized.');Bt=h};f.__private__.getPageMode=function(){return Bt};var Xt=f.__private__.setLayoutMode=function(h){if([void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(h)==-1)throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+h+'" is not recognized.');Zt=h};f.__private__.getLayoutMode=function(){return Zt},f.__private__.setDisplayMode=f.setDisplayMode=function(h,P,Z){return Ut(h),Xt(P),ie(Z),this};var zt={title:"",subject:"",author:"",keywords:"",creator:""};f.__private__.getDocumentProperty=function(h){if(Object.keys(zt).indexOf(h)===-1)throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return zt[h]},f.__private__.getDocumentProperties=function(){return zt},f.__private__.setDocumentProperties=f.setProperties=f.setDocumentProperties=function(h){for(var P in zt)zt.hasOwnProperty(P)&&h[P]&&(zt[P]=h[P]);return this},f.__private__.setDocumentProperty=function(h,P){if(Object.keys(zt).indexOf(h)===-1)throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return zt[h]=P};var Wt,Ct,ge,ne,Ce,se={},be={},In=[],le={},ir={},ye={},An={},Ye=null,he=0,Vt=[],ae=new rl(f),ar=e.hotfixes||[],Pe={},Qe={},or=[],Qt=function h(P,Z,nt,ct,vt,Nt){if(!(this instanceof h))return new h(P,Z,nt,ct,vt,Nt);isNaN(P)&&(P=1),isNaN(Z)&&(Z=0),isNaN(nt)&&(nt=0),isNaN(ct)&&(ct=1),isNaN(vt)&&(vt=0),isNaN(Nt)&&(Nt=0),this._matrix=[P,Z,nt,ct,vt,Nt]};Object.defineProperty(Qt.prototype,"sx",{get:function(){return this._matrix[0]},set:function(h){this._matrix[0]=h}}),Object.defineProperty(Qt.prototype,"shy",{get:function(){return this._matrix[1]},set:function(h){this._matrix[1]=h}}),Object.defineProperty(Qt.prototype,"shx",{get:function(){return this._matrix[2]},set:function(h){this._matrix[2]=h}}),Object.defineProperty(Qt.prototype,"sy",{get:function(){return this._matrix[3]},set:function(h){this._matrix[3]=h}}),Object.defineProperty(Qt.prototype,"tx",{get:function(){return this._matrix[4]},set:function(h){this._matrix[4]=h}}),Object.defineProperty(Qt.prototype,"ty",{get:function(){return this._matrix[5]},set:function(h){this._matrix[5]=h}}),Object.defineProperty(Qt.prototype,"a",{get:function(){return this._matrix[0]},set:function(h){this._matrix[0]=h}}),Object.defineProperty(Qt.prototype,"b",{get:function(){return this._matrix[1]},set:function(h){this._matrix[1]=h}}),Object.defineProperty(Qt.prototype,"c",{get:function(){return this._matrix[2]},set:function(h){this._matrix[2]=h}}),Object.defineProperty(Qt.prototype,"d",{get:function(){return this._matrix[3]},set:function(h){this._matrix[3]=h}}),Object.defineProperty(Qt.prototype,"e",{get:function(){return this._matrix[4]},set:function(h){this._matrix[4]=h}}),Object.defineProperty(Qt.prototype,"f",{get:function(){return this._matrix[5]},set:function(h){this._matrix[5]=h}}),Object.defineProperty(Qt.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(Qt.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(Qt.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(Qt.prototype,"isIdentity",{get:function(){return this.sx===1&&this.shy===0&&this.shx===0&&this.sy===1&&this.tx===0&&this.ty===0}}),Qt.prototype.join=function(h){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(Q).join(h)},Qt.prototype.multiply=function(h){var P=h.sx*this.sx+h.shy*this.shx,Z=h.sx*this.shy+h.shy*this.sy,nt=h.shx*this.sx+h.sy*this.shx,ct=h.shx*this.shy+h.sy*this.sy,vt=h.tx*this.sx+h.ty*this.shx+this.tx,Nt=h.tx*this.shy+h.ty*this.sy+this.ty;return new Qt(P,Z,nt,ct,vt,Nt)},Qt.prototype.decompose=function(){var h=this.sx,P=this.shy,Z=this.shx,nt=this.sy,ct=this.tx,vt=this.ty,Nt=Math.sqrt(h*h+P*P),Mt=(h/=Nt)*Z+(P/=Nt)*nt;Z-=h*Mt,nt-=P*Mt;var Ht=Math.sqrt(Z*Z+nt*nt);return Mt/=Ht,h*(nt/=Ht)>16&255,nt=Ht>>8&255,ct=255&Ht}if(nt===void 0||vt===void 0&&Z===nt&&nt===ct)if(typeof Z=="string")P=Z+" "+Nt[0];else switch(h.precision){case 2:P=H(Z/255)+" "+Nt[0];break;case 3:default:P=A(Z/255)+" "+Nt[0]}else if(vt===void 0||(0,Ae.A)(vt)==="object"){if(vt&&!isNaN(vt.a)&&vt.a===0)return P=["1.","1.","1.",Nt[1]].join(" ");if(typeof Z=="string")P=[Z,nt,ct,Nt[1]].join(" ");else switch(h.precision){case 2:P=[H(Z/255),H(nt/255),H(ct/255),Nt[1]].join(" ");break;default:case 3:P=[A(Z/255),A(nt/255),A(ct/255),Nt[1]].join(" ")}}else if(typeof Z=="string")P=[Z,nt,ct,vt,Nt[2]].join(" ");else switch(h.precision){case 2:P=[H(Z),H(nt),H(ct),H(vt),Nt[2]].join(" ");break;case 3:default:P=[A(Z),A(nt),A(ct),A(vt),Nt[2]].join(" ")}return P},ur=f.__private__.getFilters=function(){return s},Fn=f.__private__.putStream=function(h){var P=(h=h||{}).data||"",Z=h.filters||ur(),nt=h.alreadyAppliedFilters||[],ct=h.addLength1||!1,vt=P.length,Nt=h.objectId,Mt=function(un){return un};if(d!==null&&Nt===void 0)throw new Error("ObjectId must be passed to putStream for file encryption");d!==null&&(Mt=sn.encryptor(Nt,0));var Ht={};Z===!0&&(Z=["FlateEncode"]);var ee=h.additionalKeyValues||[],te=(Ht=Yt.API.processDataByFilters!==void 0?Yt.API.processDataByFilters(P,Z):{data:P,reverseChain:[]}).reverseChain+(Array.isArray(nt)?nt.join(" "):nt.toString());if(Ht.data.length!==0&&(ee.push({key:"Length",value:Ht.data.length}),ct===!0&&ee.push({key:"Length1",value:vt})),te.length!=0)if(te.split("/").length-1==1)ee.push({key:"Filter",value:te});else{ee.push({key:"Filter",value:"["+te+"]"});for(var ce=0;ce>"),Ht.data.length!==0&&(K("stream"),K(Mt(Ht.data)),K("endstream"))},lr=f.__private__.putPage=function(h){var P=h.number,Z=h.data,nt=h.objId,ct=h.contentsObjId;xn(nt,!0),K("<>"),K("endobj");var vt=Z.join("\n");return z===M.ADVANCED&&(vt+="\nQ"),xn(ct,!0),Fn({data:vt,filters:ur(),objectId:ct}),K("endobj"),nt},Xr=f.__private__.putPages=function(){var h,P,Z=[];for(h=1;h<=he;h++)Vt[h].objId=qe(),Vt[h].contentsObjId=qe();for(h=1;h<=he;h++)Z.push(lr({number:h,data:bt[h],objId:Vt[h].objId,contentsObjId:Vt[h].contentsObjId,mediaBox:Vt[h].mediaBox,cropBox:Vt[h].cropBox,bleedBox:Vt[h].bleedBox,trimBox:Vt[h].trimBox,artBox:Vt[h].artBox,userUnit:Vt[h].userUnit,rootDictionaryObjId:vr,resourceDictionaryObjId:Gn}));xn(vr,!0),K("<>"),K("endobj"),ae.publish("postPutPages")},_i=function(h){ae.publish("putFont",{font:h,out:K,newObject:We,putStream:Fn}),h.isAlreadyPutted!==!0&&(h.objectNumber=We(),K("<<"),K("/Type /Font"),K("/BaseFont /"+gi(h.postScriptName)),K("/Subtype /Type1"),typeof h.encoding=="string"&&K("/Encoding /"+h.encoding),K("/FirstChar 32"),K("/LastChar 255"),K(">>"),K("endobj"))},Si=function(){for(var h in se)se.hasOwnProperty(h)&&(p===!1||p===!0&&g.hasOwnProperty(h))&&_i(se[h])},Pi=function(h){h.objectNumber=We();var P=[];P.push({key:"Type",value:"/XObject"}),P.push({key:"Subtype",value:"/Form"}),P.push({key:"BBox",value:"["+[Q(h.x),Q(h.y),Q(h.x+h.width),Q(h.y+h.height)].join(" ")+"]"}),P.push({key:"Matrix",value:"["+h.matrix.toString()+"]"});var Z=h.pages[1].join("\n");Fn({data:Z,additionalKeyValues:P,objectId:h.objectNumber}),K("endobj")},ki=function(){for(var h in Pe)Pe.hasOwnProperty(h)&&Pi(Pe[h])},mo=function(h,P){var Z,nt=[],ct=1/(P-1);for(Z=0;Z<1;Z+=ct)nt.push(Z);if(nt.push(1),h[0].offset!=0){var vt={offset:0,color:h[0].color};h.unshift(vt)}if(h[h.length-1].offset!=1){var Nt={offset:1,color:h[h.length-1].color};h.push(Nt)}for(var Mt="",Ht=0,ee=0;eeh[Ht+1].offset;)Ht++;var te=h[Ht].offset,ce=(Z-te)/(h[Ht+1].offset-te),Ie=h[Ht].color,Ee=h[Ht+1].color;Mt+=U(Math.round((1-ce)*Ie[0]+ce*Ee[0]).toString(16))+U(Math.round((1-ce)*Ie[1]+ce*Ee[1]).toString(16))+U(Math.round((1-ce)*Ie[2]+ce*Ee[2]).toString(16))}return Mt.trim()},Ds=function(h,P){P||(P=21);var Z=We(),nt=mo(h.colors,P),ct=[];ct.push({key:"FunctionType",value:"0"}),ct.push({key:"Domain",value:"[0.0 1.0]"}),ct.push({key:"Size",value:"["+P+"]"}),ct.push({key:"BitsPerSample",value:"8"}),ct.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),ct.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),Fn({data:nt,additionalKeyValues:ct,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:Z}),K("endobj"),h.objectNumber=We(),K("<< /ShadingType "+h.type),K("/ColorSpace /DeviceRGB");var vt="/Coords ["+Q(parseFloat(h.coords[0]))+" "+Q(parseFloat(h.coords[1]))+" ";h.type===2?vt+=Q(parseFloat(h.coords[2]))+" "+Q(parseFloat(h.coords[3])):vt+=Q(parseFloat(h.coords[2]))+" "+Q(parseFloat(h.coords[3]))+" "+Q(parseFloat(h.coords[4]))+" "+Q(parseFloat(h.coords[5])),K(vt+="]"),h.matrix&&K("/Matrix ["+h.matrix.toString()+"]"),K("/Function "+Z+" 0 R"),K("/Extend [true true]"),K(">>"),K("endobj")},Ts=function(h,P){var Z=qe(),nt=We();P.push({resourcesOid:Z,objectOid:nt}),h.objectNumber=nt;var ct=[];ct.push({key:"Type",value:"/Pattern"}),ct.push({key:"PatternType",value:"1"}),ct.push({key:"PaintType",value:"1"}),ct.push({key:"TilingType",value:"1"}),ct.push({key:"BBox",value:"["+h.boundingBox.map(Q).join(" ")+"]"}),ct.push({key:"XStep",value:Q(h.xStep)}),ct.push({key:"YStep",value:Q(h.yStep)}),ct.push({key:"Resources",value:Z+" 0 R"}),h.matrix&&ct.push({key:"Matrix",value:"["+h.matrix.toString()+"]"}),Fn({data:h.stream,additionalKeyValues:ct,objectId:h.objectNumber}),K("endobj")},Ii=function(h){var P;for(P in le)le.hasOwnProperty(P)&&(le[P]instanceof Yr?Ds(le[P]):le[P]instanceof vi&&Ts(le[P],h))},bo=function(h){for(var P in h.objectNumber=We(),K("<<"),h)switch(P){case"opacity":K("/ca "+H(h[P]));break;case"stroke-opacity":K("/CA "+H(h[P]))}K(">>"),K("endobj")},Rs=function(){var h;for(h in ye)ye.hasOwnProperty(h)&&bo(ye[h])},ua=function(){for(var h in K("/XObject <<"),Pe)Pe.hasOwnProperty(h)&&Pe[h].objectNumber>=0&&K("/"+h+" "+Pe[h].objectNumber+" 0 R");ae.publish("putXobjectDict"),K(">>")},qs=function(){sn.oid=We(),K("<<"),K("/Filter /Standard"),K("/V "+sn.v),K("/R "+sn.r),K("/U <"+sn.toHexString(sn.U)+">"),K("/O <"+sn.toHexString(sn.O)+">"),K("/P "+sn.P),K(">>"),K("endobj")},yo=function(){for(var h in K("/Font <<"),se)se.hasOwnProperty(h)&&(p===!1||p===!0&&g.hasOwnProperty(h))&&K("/"+h+" "+se[h].objectNumber+" 0 R");K(">>")},Us=function(){if(Object.keys(le).length>0){for(var h in K("/Shading <<"),le)le.hasOwnProperty(h)&&le[h]instanceof Yr&&le[h].objectNumber>=0&&K("/"+h+" "+le[h].objectNumber+" 0 R");ae.publish("putShadingPatternDict"),K(">>")}},Fi=function(h){if(Object.keys(le).length>0){for(var P in K("/Pattern <<"),le)le.hasOwnProperty(P)&&le[P]instanceof f.TilingPattern&&le[P].objectNumber>=0&&le[P].objectNumber>")}},zs=function(){if(Object.keys(ye).length>0){var h;for(h in K("/ExtGState <<"),ye)ye.hasOwnProperty(h)&&ye[h].objectNumber>=0&&K("/"+h+" "+ye[h].objectNumber+" 0 R");ae.publish("putGStateDict"),K(">>")}},De=function(h){xn(h.resourcesOid,!0),K("<<"),K("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),yo(),Us(),Fi(h.objectOid),zs(),ua(),K(">>"),K("endobj")},wo=function(){var h=[];Si(),Rs(),ki(),Ii(h),ae.publish("putResources"),h.forEach(De),De({resourcesOid:Gn,objectOid:Number.MAX_SAFE_INTEGER}),ae.publish("postPutResources")},Ao=function(){ae.publish("putAdditionalObjects");for(var h=0;h>8&&(Ht=!0);h=Mt.join("")}for(Z=h.length;Ht===void 0&&Z!==0;)h.charCodeAt(Z-1)>>8&&(Ht=!0),Z--;if(!Ht)return h;for(Mt=P.noBOM?[]:[254,255],Z=0,nt=h.length;Z>8)>>8)throw new Error("Character at position "+Z+" of string '"+h+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");Mt.push(te),Mt.push(ee-(te<<8))}return String.fromCharCode.apply(void 0,Mt)},vn=f.__private__.pdfEscape=f.pdfEscape=function(h,P){return Ci(h,P).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},ca=f.__private__.beginPage=function(h){bt[++he]=[],Vt[he]={objId:0,contentsObjId:0,userUnit:Number(u),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(h[0]),topRightY:Number(h[1])}},No(he),dt(bt[R])},Lo=function(h,P){var Z,nt,ct;switch(n=P||n,typeof h=="string"&&(Z=y(h.toLowerCase()),Array.isArray(Z)&&(nt=Z[0],ct=Z[1])),Array.isArray(h)&&(nt=h[0]*Ct,ct=h[1]*Ct),isNaN(nt)&&(nt=o[0],ct=o[1]),(nt>14400||ct>14400)&&(xe.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),nt=Math.min(14400,nt),ct=Math.min(14400,ct)),o=[nt,ct],n.substr(0,1)){case"l":ct>nt&&(o=[ct,nt]);break;case"p":nt>ct&&(o=[ct,nt])}ca(o),Fo(pa),K(Jn),va!==0&&K(va+" J"),ma!==0&&K(ma+" j"),ae.publish("addPage",{pageNumber:he})},Ws=function(h){h>0&&h<=he&&(bt.splice(h,1),Vt.splice(h,1),he--,R>he&&(R=he),this.setPage(R))},No=function(h){h>0&&h<=he&&(R=h)},Gs=f.__private__.getNumberOfPages=f.getNumberOfPages=function(){return bt.length-1},_o=function(h,P,Z){var nt,ct=void 0;return Z=Z||{},h=h!==void 0?h:se[Wt].fontName,P=P!==void 0?P:se[Wt].fontStyle,nt=h.toLowerCase(),be[nt]!==void 0&&be[nt][P]!==void 0?ct=be[nt][P]:be[h]!==void 0&&be[h][P]!==void 0?ct=be[h][P]:Z.disableWarning===!1&&xe.warn("Unable to look up font label for font '"+h+"', '"+P+"'. Refer to getFontList() for available fonts."),ct||Z.noFallback||(ct=be.times[P])==null&&(ct=be.times.normal),ct},Vs=f.__private__.putInfo=function(){var h=We(),P=function(nt){return nt};for(var Z in d!==null&&(P=sn.encryptor(h,0)),K("<<"),K("/Producer ("+vn(P("jsPDF "+Yt.version))+")"),zt)zt.hasOwnProperty(Z)&&zt[Z]&&K("/"+Z.substr(0,1).toUpperCase()+Z.substr(1)+" ("+vn(P(zt[Z]))+")");K("/CreationDate ("+vn(P(Y))+")"),K(">>"),K("endobj")},fa=f.__private__.putCatalog=function(h){var P=(h=h||{}).rootDictionaryObjId||vr;switch(We(),K("<<"),K("/Type /Catalog"),K("/Pages "+P+" 0 R"),Pt||(Pt="fullwidth"),Pt){case"fullwidth":K("/OpenAction [3 0 R /FitH null]");break;case"fullheight":K("/OpenAction [3 0 R /FitV null]");break;case"fullpage":K("/OpenAction [3 0 R /Fit]");break;case"original":K("/OpenAction [3 0 R /XYZ null null 1]");break;default:var Z=""+Pt;Z.substr(Z.length-1)==="%"&&(Pt=parseInt(Pt)/100),typeof Pt=="number"&&K("/OpenAction [3 0 R /XYZ null null "+H(Pt)+"]")}switch(Zt||(Zt="continuous"),Zt){case"continuous":K("/PageLayout /OneColumn");break;case"single":K("/PageLayout /SinglePage");break;case"two":case"twoleft":K("/PageLayout /TwoColumnLeft");break;case"tworight":K("/PageLayout /TwoColumnRight")}Bt&&K("/PageMode /"+Bt),ae.publish("putCatalog"),K(">>"),K("endobj")},Ys=f.__private__.putTrailer=function(){K("trailer"),K("<<"),K("/Size "+(et+1)),K("/Root "+et+" 0 R"),K("/Info "+(et-1)+" 0 R"),d!==null&&K("/Encrypt "+sn.oid+" 0 R"),K("/ID [ <"+E+"> <"+E+"> ]"),K(">>")},Qs=f.__private__.putHeader=function(){K("%PDF-"+w),K("%\xBA\xDF\xAC\xE0")},Js=f.__private__.putXRef=function(){var h="0000000000";K("xref"),K("0 "+(et+1)),K("0000000000 65535 f ");for(var P=1;P<=et;P++)typeof st[P]=="function"?K((h+st[P]()).slice(-10)+" 00000 n "):st[P]!==void 0?K((h+st[P]).slice(-10)+" 00000 n "):K("0000000000 00000 n ")},mr=f.__private__.buildDocument=function(){qt(),dt(lt),ae.publish("buildDocument"),Qs(),Xr(),Ao(),wo(),d!==null&&qs(),Vs(),fa();var h=ut;return Js(),Ys(),K("startxref"),K(""+h),K("%%EOF"),dt(bt[R]),lt.join("\n")},Ei=f.__private__.getBlob=function(h){return new Blob([It(h)],{type:"application/pdf"})},ji=f.output=f.__private__.output=Qn(function(h,P){switch(typeof(P=P||{})=="string"?P={filename:P}:P.filename=P.filename||"generated.pdf",h){case void 0:return mr();case"save":f.save(P.filename);break;case"arraybuffer":return It(mr());case"blob":return Ei(mr());case"bloburi":case"bloburl":if(Jt.URL!==void 0&&typeof Jt.URL.createObjectURL=="function")return Jt.URL&&Jt.URL.createObjectURL(Ei(mr()))||void 0;xe.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var Z="",nt=mr();try{Z=Ls(nt)}catch(Ee){Z=Ls(unescape(encodeURIComponent(nt)))}return"data:application/pdf;filename="+P.filename+";base64,"+Z;case"pdfobjectnewwindow":if(Object.prototype.toString.call(Jt)==="[object Window]"){var ct="https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js",vt=' integrity="sha512-4ze/a9/4jqu+tX9dfOqJYSvyYd5M6qum/3HpCLr+/Jqf0whc37VUbkpNGHR7/8pSnCFw47T1fmIpwBV7UySh3g==" crossorigin="anonymous"';P.pdfObjectUrl&&(ct=P.pdfObjectUrl,vt="");var Nt='