openlearn-next 0.2.2 → 0.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/AdminDirectoryView-Cai0cQqi.js +1 -0
- package/dist/assets/BatchPickerModal-CKQyeY6R.js +1 -0
- package/dist/assets/ClassesView-Cxgfcrx1.js +19 -0
- package/dist/assets/CloudDriveModal-DgDurUBT.js +1 -0
- package/dist/assets/ComputerLabView-CUCO2VIV.js +1 -0
- package/dist/assets/CourseManagement-DSCOjuIC.js +1 -0
- package/dist/assets/CourseWizardModal-B3QnFxvj.js +3 -0
- package/dist/assets/CoursewareHubPanel-CAaf22Qm.js +1 -0
- package/dist/assets/Dashboard-BnF7YAQi.js +8 -0
- package/dist/assets/ExportWeightModal-BlS2auLs.js +1 -0
- package/dist/assets/HelpTour-ZgEkRnin.js +1 -0
- package/dist/assets/HelpView-BP581QYZ.js +204 -0
- package/dist/assets/ImportLessonsModal-BZZRDBRU.js +1 -0
- package/dist/assets/ImportModal-mkWuDoAN.js +1 -0
- package/dist/assets/InteractiveCoursewareViewer-EIRNulEo.js +1 -0
- package/dist/assets/InteractiveWhiteboard-D360IHbP.js +102 -0
- package/dist/assets/LazyCourseware-qE4CY67E.js +1 -0
- package/dist/assets/LazyWhiteboard-B5JmqHZ5.js +2 -0
- package/dist/assets/LessonEditorView-C0czhtmf.js +1 -0
- package/dist/assets/LiveClassroomView-CrTY3jhP.js +1 -0
- package/dist/assets/NotificationDetailModal-dndFrE7p.js +1 -0
- package/dist/assets/PluginView-QS2b6nSF.js +65 -0
- package/dist/assets/ProcessLogsModal-8mVp07ic.js +1 -0
- package/dist/assets/QuizGeneratorModal-DpTFYbVJ.js +1 -0
- package/dist/assets/StudentAssignmentView-YxVJ5wkl.js +1 -0
- package/dist/assets/StudentLessonView-D1gYdLM1.js +1 -0
- package/dist/assets/StudentPreviewModal-CG8bgUeI.js +1 -0
- package/dist/assets/StudentView-CmSL3cDw.js +1 -0
- package/dist/assets/SystemResourceLibraryModal-Dnh7F5Vm.js +1 -0
- package/dist/assets/TeacherView-BqXb0izg.js +2 -0
- package/dist/assets/TimetableView-zce3okQn.js +6 -0
- package/dist/assets/index-BrEBeWAQ.js +14 -0
- package/dist/assets/index-BxA9vp--.js +129 -0
- package/dist/assets/index-CATki2cp.css +1 -0
- package/dist/assets/index-Cq_aKTfc.js +1 -0
- package/dist/assets/{index.es-D071ILbD.js → index.es-DZ6UeYE-.js} +2 -2
- package/dist/assets/vendor-charts-B7ViBL9w.js +71 -0
- package/dist/assets/vendor-icons-BvCtGbt1.js +8221 -0
- package/dist/assets/vendor-konva-CzxOmTv9.js +49 -0
- package/dist/assets/vendor-motion-Dz5URUo4.js +9 -0
- package/dist/assets/vendor-pdf-CVyNPGVr.js +191 -0
- package/dist/assets/{vendor-pptx-CJ3I-KT0.js → vendor-pptx-B0hlo0eh.js} +1 -1
- package/dist/assets/vendor-react-0Lg0vA-4.js +49 -0
- package/dist/assets/vendor-utils-4FcTwKPj.js +1 -0
- package/dist/index.html +2 -3
- package/dist/server.cjs +164 -46
- package/package.json +1 -1
- package/dist/assets/courseware-CL7gjXZj.js +0 -1
- package/dist/assets/index-4xDvXGZ_.js +0 -682
- package/dist/assets/index-CaJDJGky.css +0 -1
- package/dist/assets/vendor-html2canvas-B0tyYwQk.js +0 -22
- package/dist/assets/vendor-konva-GivUq6dt.js +0 -89
- package/dist/assets/whiteboard-Dp8tFXTO.js +0 -8343
- /package/dist/assets/{purify.es-V6uLfjnH.js → vendor-content-V6uLfjnH.js} +0 -0
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
const v1=(function(){const A=typeof document<"u"&&document.createElement("link").relList;return A&&A.supports&&A.supports("modulepreload")?"modulepreload":"preload"})(),m1=function(t){return"/"+t},fc={},Rl=function(A,e,r){let n=Promise.resolve();if(e&&e.length>0){let s=function(u){return Promise.all(u.map(c=>Promise.resolve(c).then(B=>({status:"fulfilled",value:B}),B=>({status:"rejected",reason:B}))))};document.getElementsByTagName("link");const a=document.querySelector("meta[property=csp-nonce]"),l=a?.nonce||a?.getAttribute("nonce");n=s(e.map(u=>{if(u=m1(u),u in fc)return;fc[u]=!0;const c=u.endsWith(".css"),B=c?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${u}"]${B}`))return;const w=document.createElement("link");if(w.rel=c?"stylesheet":v1,c||(w.as="script"),w.crossOrigin="",w.href=u,l&&w.setAttribute("nonce",l),document.head.appendChild(w),c)return new Promise((g,C)=>{w.addEventListener("load",g),w.addEventListener("error",()=>C(new Error(`Unable to preload CSS for ${u}`)))})}))}function i(s){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=s,window.dispatchEvent(a),!a.defaultPrevented)throw s}return n.then(s=>{for(const a of s||[])a.status==="rejected"&&i(a.reason);return A().catch(i)})};function be(t){"@babel/helpers - typeof";return be=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(A){return typeof A}:function(A){return A&&typeof Symbol=="function"&&A.constructor===Symbol&&A!==Symbol.prototype?"symbol":typeof A},be(t)}var Fr=Uint8Array,Ar=Uint16Array,wf=Int32Array,vf=new Fr([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]),mf=new Fr([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]),cc=new Fr([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),I0=function(t,A){for(var e=new Ar(31),r=0;r<31;++r)e[r]=A+=1<<t[r-1];for(var n=new wf(e[30]),r=1;r<30;++r)for(var i=e[r];i<e[r+1];++i)n[i]=i-e[r]<<5|r;return{b:e,r:n}},S0=I0(vf,2),C1=S0.b,_u=S0.r;C1[28]=258,_u[258]=28;var F1=I0(mf,0),hc=F1.r,Du=new Ar(32768);for(var Pe=0;Pe<32768;++Pe){var Ln=(Pe&43690)>>1|(Pe&21845)<<1;Ln=(Ln&52428)>>2|(Ln&13107)<<2,Ln=(Ln&61680)>>4|(Ln&3855)<<4,Du[Pe]=((Ln&65280)>>8|(Ln&255)<<8)>>1}var Wa=(function(t,A,e){for(var r=t.length,n=0,i=new Ar(A);n<r;++n)t[n]&&++i[t[n]-1];var s=new Ar(A);for(n=1;n<A;++n)s[n]=s[n-1]+i[n-1]<<1;var a;if(e){a=new Ar(1<<A);var l=15-A;for(n=0;n<r;++n)if(t[n])for(var u=n<<4|t[n],c=A-t[n],B=s[t[n]-1]++<<c,w=B|(1<<c)-1;B<=w;++B)a[Du[B]>>l]=u}else for(a=new Ar(r),n=0;n<r;++n)t[n]&&(a[n]=Du[s[t[n]-1]++]>>15-t[n]);return a}),gi=new Fr(288);for(var Pe=0;Pe<144;++Pe)gi[Pe]=8;for(var Pe=144;Pe<256;++Pe)gi[Pe]=9;for(var Pe=256;Pe<280;++Pe)gi[Pe]=7;for(var Pe=280;Pe<288;++Pe)gi[Pe]=8;var So=new Fr(32);for(var Pe=0;Pe<32;++Pe)So[Pe]=5;var y1=Wa(gi,9,0),Q1=Wa(So,5,0),H0=function(t){return(t+7)/8|0},b1=function(t,A,e){return(e==null||e>t.length)&&(e=t.length),new Fr(t.subarray(A,e))},rn=function(t,A,e){e<<=A&7;var r=A/8|0;t[r]|=e,t[r+1]|=e>>8},_a=function(t,A,e){e<<=A&7;var r=A/8|0;t[r]|=e,t[r+1]|=e>>8,t[r+2]|=e>>16},Kl=function(t,A){for(var e=[],r=0;r<t.length;++r)t[r]&&e.push({s:r,f:t[r]});var n=e.length,i=e.slice();if(!n)return{t:_0,l:0};if(n==1){var s=new Fr(e[0].s+1);return s[e[0].s]=1,{t:s,l:1}}e.sort(function(z,Z){return z.f-Z.f}),e.push({s:-1,f:25001});var a=e[0],l=e[1],u=0,c=1,B=2;for(e[0]={s:-1,f:a.f+l.f,l:a,r:l};c!=n-1;)a=e[e[u].f<e[B].f?u++:B++],l=e[u!=c&&e[u].f<e[B].f?u++:B++],e[c++]={s:-1,f:a.f+l.f,l:a,r:l};for(var w=i[0].s,r=1;r<n;++r)i[r].s>w&&(w=i[r].s);var g=new Ar(w+1),C=Tu(e[c-1],g,0);if(C>A){var r=0,Q=0,x=C-A,F=1<<x;for(i.sort(function(Z,iA){return g[iA.s]-g[Z.s]||Z.f-iA.f});r<n;++r){var k=i[r].s;if(g[k]>A)Q+=F-(1<<C-g[k]),g[k]=A;else break}for(Q>>=x;Q>0;){var K=i[r].s;g[K]<A?Q-=1<<A-g[K]++-1:++r}for(;r>=0&&Q;--r){var P=i[r].s;g[P]==A&&(--g[P],++Q)}C=A}return{t:new Fr(g),l:C}},Tu=function(t,A,e){return t.s==-1?Math.max(Tu(t.l,A,e+1),Tu(t.r,A,e+1)):A[t.s]=e},gc=function(t){for(var A=t.length;A&&!t[--A];);for(var e=new Ar(++A),r=0,n=t[0],i=1,s=function(l){e[r++]=l},a=1;a<=A;++a)if(t[a]==n&&a!=A)++i;else{if(!n&&i>2){for(;i>138;i-=138)s(32754);i>2&&(s(i>10?i-11<<5|28690:i-3<<5|12305),i=0)}else if(i>3){for(s(n),--i;i>6;i-=6)s(8304);i>2&&(s(i-3<<5|8208),i=0)}for(;i--;)s(n);i=1,n=t[a]}return{c:e.subarray(0,r),n:A}},Da=function(t,A){for(var e=0,r=0;r<A.length;++r)e+=t[r]*A[r];return e},N0=function(t,A,e){var r=e.length,n=H0(A+2);t[n]=r&255,t[n+1]=r>>8,t[n+2]=t[n]^255,t[n+3]=t[n+1]^255;for(var i=0;i<r;++i)t[n+i+4]=e[i];return(n+4+r)*8},dc=function(t,A,e,r,n,i,s,a,l,u,c){rn(A,c++,e),++n[256];for(var B=Kl(n,15),w=B.t,g=B.l,C=Kl(i,15),Q=C.t,x=C.l,F=gc(w),k=F.c,K=F.n,P=gc(Q),z=P.c,Z=P.n,iA=new Ar(19),V=0;V<k.length;++V)++iA[k[V]&31];for(var V=0;V<z.length;++V)++iA[z[V]&31];for(var N=Kl(iA,7),$=N.t,E=N.l,S=19;S>4&&!$[cc[S-1]];--S);var R=u+5<<3,G=Da(n,gi)+Da(i,So)+s,aA=Da(n,w)+Da(i,Q)+s+14+3*S+Da(iA,$)+2*iA[16]+3*iA[17]+7*iA[18];if(l>=0&&R<=G&&R<=aA)return N0(A,c,t.subarray(l,l+u));var sA,oA,tA,lA;if(rn(A,c,1+(aA<G)),c+=2,aA<G){sA=Wa(w,g,0),oA=w,tA=Wa(Q,x,0),lA=Q;var FA=Wa($,E,0);rn(A,c,K-257),rn(A,c+5,Z-1),rn(A,c+10,S-4),c+=14;for(var V=0;V<S;++V)rn(A,c+3*V,$[cc[V]]);c+=3*S;for(var pA=[k,z],b=0;b<2;++b)for(var O=pA[b],V=0;V<O.length;++V){var M=O[V]&31;rn(A,c,FA[M]),c+=$[M],M>15&&(rn(A,c,O[V]>>5&127),c+=O[V]>>12)}}else sA=y1,oA=gi,tA=Q1,lA=So;for(var V=0;V<a;++V){var q=r[V];if(q>255){var M=q>>18&31;_a(A,c,sA[M+257]),c+=oA[M+257],M>7&&(rn(A,c,q>>23&31),c+=vf[M]);var X=q&31;_a(A,c,tA[X]),c+=lA[X],X>3&&(_a(A,c,q>>5&8191),c+=mf[X])}else _a(A,c,sA[q]),c+=oA[q]}return _a(A,c,sA[256]),c+oA[256]},U1=new wf([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),_0=new Fr(0),E1=function(t,A,e,r,n,i){var s=i.z||t.length,a=new Fr(r+s+5*(1+Math.ceil(s/7e3))+n),l=a.subarray(r,a.length-n),u=i.l,c=(i.r||0)&7;if(A){c&&(l[0]=i.r>>3);for(var B=U1[A-1],w=B>>13,g=B&8191,C=(1<<e)-1,Q=i.p||new Ar(32768),x=i.h||new Ar(C+1),F=Math.ceil(e/3),k=2*F,K=function(RA){return(t[RA]^t[RA+1]<<F^t[RA+2]<<k)&C},P=new wf(25e3),z=new Ar(288),Z=new Ar(32),iA=0,V=0,N=i.i||0,$=0,E=i.w||0,S=0;N+2<s;++N){var R=K(N),G=N&32767,aA=x[R];if(Q[G]=aA,x[R]=G,E<=N){var sA=s-N;if((iA>7e3||$>24576)&&(sA>423||!u)){c=dc(t,l,0,P,z,Z,V,$,S,N-S,c),$=iA=V=0,S=N;for(var oA=0;oA<286;++oA)z[oA]=0;for(var oA=0;oA<30;++oA)Z[oA]=0}var tA=2,lA=0,FA=g,pA=G-aA&32767;if(sA>2&&R==K(N-pA))for(var b=Math.min(w,sA)-1,O=Math.min(32767,N),M=Math.min(258,sA);pA<=O&&--FA&&G!=aA;){if(t[N+tA]==t[N+tA-pA]){for(var q=0;q<M&&t[N+q]==t[N+q-pA];++q);if(q>tA){if(tA=q,lA=pA,q>b)break;for(var X=Math.min(pA,q-2),eA=0,oA=0;oA<X;++oA){var uA=N-pA+oA&32767,fA=Q[uA],BA=uA-fA&32767;BA>eA&&(eA=BA,aA=uA)}}}G=aA,aA=Q[G],pA+=G-aA&32767}if(lA){P[$++]=268435456|_u[tA]<<18|hc[lA];var yA=_u[tA]&31,LA=hc[lA]&31;V+=vf[yA]+mf[LA],++z[257+yA],++Z[LA],E=N+tA,++iA}else P[$++]=t[N],++z[t[N]]}}for(N=Math.max(N,E);N<s;++N)P[$++]=t[N],++z[t[N]];c=dc(t,l,u,P,z,Z,V,$,S,N-S,c),u||(i.r=c&7|l[c/8|0]<<3,c-=7,i.h=x,i.p=Q,i.i=N,i.w=E)}else{for(var N=i.w||0;N<s+u;N+=65535){var UA=N+65535;UA>=s&&(l[c/8|0]=u,UA=s),c=N0(l,c+1,t.subarray(N,UA))}i.i=s}return b1(a,0,r+H0(c)+n)},D0=function(){var t=1,A=0;return{p:function(e){for(var r=t,n=A,i=e.length|0,s=0;s!=i;){for(var a=Math.min(s+2655,i);s<a;++s)n+=r+=e[s];r=(r&65535)+15*(r>>16),n=(n&65535)+15*(n>>16)}t=r,A=n},d:function(){return t%=65521,A%=65521,(t&255)<<24|(t&65280)<<8|(A&255)<<8|A>>8}}},L1=function(t,A,e,r,n){if(!n&&(n={l:1},A.dictionary)){var i=A.dictionary.subarray(-32768),s=new Fr(i.length+t.length);s.set(i),s.set(t,i.length),t=s,n.w=i.length}return E1(t,A.level==null?6:A.level,A.mem==null?n.l?Math.ceil(Math.max(8,Math.min(13,Math.log(t.length)))*1.5):20:12+A.mem,e,r,n)},T0=function(t,A,e){for(;e;++A)t[A]=e,e>>>=8},x1=function(t,A){var e=A.level,r=e==0?0:e<6?1:e==9?3:2;if(t[0]=120,t[1]=r<<6|(A.dictionary&&32),t[1]|=31-(t[0]<<8|t[1])%31,A.dictionary){var n=D0();n.p(A.dictionary),T0(t,2,n.d())}};function ku(t,A){A||(A={});var e=D0();e.p(t);var r=L1(t,A,A.dictionary?6:2,4);return x1(r,A),T0(r,r.length-4,e.d()),r}var I1=typeof TextDecoder<"u"&&new TextDecoder,S1=0;try{I1.decode(_0,{stream:!0}),S1=1}catch{}function H1(t){if(Array.isArray(t))return t}function N1(t,A){var e=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(e!=null){var r,n,i,s,a=[],l=!0,u=!1;try{if(i=(e=e.call(t)).next,A!==0)for(;!(l=(r=i.call(e)).done)&&(a.push(r.value),a.length!==A);l=!0);}catch(c){u=!0,n=c}finally{try{if(!l&&e.return!=null&&(s=e.return(),Object(s)!==s))return}finally{if(u)throw n}}return a}}function Bc(t,A){(A==null||A>t.length)&&(A=t.length);for(var e=0,r=Array(A);e<A;e++)r[e]=t[e];return r}function _1(t,A){if(t){if(typeof t=="string")return Bc(t,A);var e={}.toString.call(t).slice(8,-1);return e==="Object"&&t.constructor&&(e=t.constructor.name),e==="Map"||e==="Set"?Array.from(t):e==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?Bc(t,A):void 0}}function D1(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
2
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function pc(t,A){return H1(t)||N1(t,A)||_1(t,A)||D1()}function wc(t,A="utf8"){return new TextDecoder(A).decode(t)}const T1=new TextEncoder;function k1(t){return T1.encode(t)}const P1=1024*8,O1=(()=>{const t=new Uint8Array(4),A=new Uint32Array(t.buffer);return!((A[0]=1)&t[0])})(),Gl={int8:globalThis.Int8Array,uint8:globalThis.Uint8Array,int16:globalThis.Int16Array,uint16:globalThis.Uint16Array,int32:globalThis.Int32Array,uint32:globalThis.Uint32Array,uint64:globalThis.BigUint64Array,int64:globalThis.BigInt64Array,float32:globalThis.Float32Array,float64:globalThis.Float64Array};class Cf{buffer;byteLength;byteOffset;length;offset;lastWrittenByte;littleEndian;_data;_mark;_marks;constructor(A=P1,e={}){let r=!1;typeof A=="number"?A=new ArrayBuffer(A):(r=!0,this.lastWrittenByte=A.byteLength);const n=e.offset?e.offset>>>0:0,i=A.byteLength-n;let s=n;(ArrayBuffer.isView(A)||A instanceof Cf)&&(A.byteLength!==A.buffer.byteLength&&(s=A.byteOffset+n),A=A.buffer),r?this.lastWrittenByte=i:this.lastWrittenByte=0,this.buffer=A,this.length=i,this.byteLength=i,this.byteOffset=s,this.offset=0,this.littleEndian=!0,this._data=new DataView(this.buffer,s,i),this._mark=0,this._marks=[]}available(A=1){return this.offset+A<=this.length}isLittleEndian(){return this.littleEndian}setLittleEndian(){return this.littleEndian=!0,this}isBigEndian(){return!this.littleEndian}setBigEndian(){return this.littleEndian=!1,this}skip(A=1){return this.offset+=A,this}back(A=1){return this.offset-=A,this}seek(A){return this.offset=A,this}mark(){return this._mark=this.offset,this}reset(){return this.offset=this._mark,this}pushMark(){return this._marks.push(this.offset),this}popMark(){const A=this._marks.pop();if(A===void 0)throw new Error("Mark stack empty");return this.seek(A),this}rewind(){return this.offset=0,this}ensureAvailable(A=1){if(!this.available(A)){const r=(this.offset+A)*2,n=new Uint8Array(r);n.set(new Uint8Array(this.buffer)),this.buffer=n.buffer,this.length=r,this.byteLength=r,this._data=new DataView(this.buffer)}return this}readBoolean(){return this.readUint8()!==0}readInt8(){return this._data.getInt8(this.offset++)}readUint8(){return this._data.getUint8(this.offset++)}readByte(){return this.readUint8()}readBytes(A=1){return this.readArray(A,"uint8")}readArray(A,e){const r=Gl[e].BYTES_PER_ELEMENT*A,n=this.byteOffset+this.offset,i=this.buffer.slice(n,n+r);if(this.littleEndian===O1&&e!=="uint8"&&e!=="int8"){const a=new Uint8Array(this.buffer.slice(n,n+r));a.reverse();const l=new Gl[e](a.buffer);return this.offset+=r,l.reverse(),l}const s=new Gl[e](i);return this.offset+=r,s}readInt16(){const A=this._data.getInt16(this.offset,this.littleEndian);return this.offset+=2,A}readUint16(){const A=this._data.getUint16(this.offset,this.littleEndian);return this.offset+=2,A}readInt32(){const A=this._data.getInt32(this.offset,this.littleEndian);return this.offset+=4,A}readUint32(){const A=this._data.getUint32(this.offset,this.littleEndian);return this.offset+=4,A}readFloat32(){const A=this._data.getFloat32(this.offset,this.littleEndian);return this.offset+=4,A}readFloat64(){const A=this._data.getFloat64(this.offset,this.littleEndian);return this.offset+=8,A}readBigInt64(){const A=this._data.getBigInt64(this.offset,this.littleEndian);return this.offset+=8,A}readBigUint64(){const A=this._data.getBigUint64(this.offset,this.littleEndian);return this.offset+=8,A}readChar(){return String.fromCharCode(this.readInt8())}readChars(A=1){let e="";for(let r=0;r<A;r++)e+=this.readChar();return e}readUtf8(A=1){return wc(this.readBytes(A))}decodeText(A=1,e="utf8"){return wc(this.readBytes(A),e)}writeBoolean(A){return this.writeUint8(A?255:0),this}writeInt8(A){return this.ensureAvailable(1),this._data.setInt8(this.offset++,A),this._updateLastWrittenByte(),this}writeUint8(A){return this.ensureAvailable(1),this._data.setUint8(this.offset++,A),this._updateLastWrittenByte(),this}writeByte(A){return this.writeUint8(A)}writeBytes(A){this.ensureAvailable(A.length);for(let e=0;e<A.length;e++)this._data.setUint8(this.offset++,A[e]);return this._updateLastWrittenByte(),this}writeInt16(A){return this.ensureAvailable(2),this._data.setInt16(this.offset,A,this.littleEndian),this.offset+=2,this._updateLastWrittenByte(),this}writeUint16(A){return this.ensureAvailable(2),this._data.setUint16(this.offset,A,this.littleEndian),this.offset+=2,this._updateLastWrittenByte(),this}writeInt32(A){return this.ensureAvailable(4),this._data.setInt32(this.offset,A,this.littleEndian),this.offset+=4,this._updateLastWrittenByte(),this}writeUint32(A){return this.ensureAvailable(4),this._data.setUint32(this.offset,A,this.littleEndian),this.offset+=4,this._updateLastWrittenByte(),this}writeFloat32(A){return this.ensureAvailable(4),this._data.setFloat32(this.offset,A,this.littleEndian),this.offset+=4,this._updateLastWrittenByte(),this}writeFloat64(A){return this.ensureAvailable(8),this._data.setFloat64(this.offset,A,this.littleEndian),this.offset+=8,this._updateLastWrittenByte(),this}writeBigInt64(A){return this.ensureAvailable(8),this._data.setBigInt64(this.offset,A,this.littleEndian),this.offset+=8,this._updateLastWrittenByte(),this}writeBigUint64(A){return this.ensureAvailable(8),this._data.setBigUint64(this.offset,A,this.littleEndian),this.offset+=8,this._updateLastWrittenByte(),this}writeChar(A){return this.writeUint8(A.charCodeAt(0))}writeChars(A){for(let e=0;e<A.length;e++)this.writeUint8(A.charCodeAt(e));return this}writeUtf8(A){return this.writeBytes(k1(A))}toArray(){return new Uint8Array(this.buffer,this.byteOffset,this.lastWrittenByte)}getWrittenByteLength(){return this.lastWrittenByte-this.byteOffset}_updateLastWrittenByte(){this.offset>this.lastWrittenByte&&(this.lastWrittenByte=this.offset)}}function la(t){let A=t.length;for(;--A>=0;)t[A]=0}const M1=3,R1=258,k0=29,K1=256,G1=K1+1+k0,P0=30,j1=512,V1=new Array((G1+2)*2);la(V1);const q1=new Array(P0*2);la(q1);const W1=new Array(j1);la(W1);const X1=new Array(R1-M1+1);la(X1);const J1=new Array(k0);la(J1);const z1=new Array(P0);la(z1);const Y1=(t,A,e,r)=>{let n=t&65535|0,i=t>>>16&65535|0,s=0;for(;e!==0;){s=e>2e3?2e3:e,e-=s;do n=n+A[r++]|0,i=i+n|0;while(--s);n%=65521,i%=65521}return n|i<<16|0};var Pu=Y1;const Z1=()=>{let t,A=[];for(var e=0;e<256;e++){t=e;for(var r=0;r<8;r++)t=t&1?3988292384^t>>>1:t>>>1;A[e]=t}return A},$1=new Uint32Array(Z1()),AB=(t,A,e,r)=>{const n=$1,i=r+e;t^=-1;for(let s=r;s<i;s++)t=t>>>8^n[(t^A[s])&255];return t^-1};var Tr=AB,Ou={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},O0={Z_NO_FLUSH:0,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_DEFLATED:8};const eB=(t,A)=>Object.prototype.hasOwnProperty.call(t,A);var tB=function(t){const A=Array.prototype.slice.call(arguments,1);for(;A.length;){const e=A.shift();if(e){if(typeof e!="object")throw new TypeError(e+"must be non-object");for(const r in e)eB(e,r)&&(t[r]=e[r])}}return t},rB=t=>{let A=0;for(let r=0,n=t.length;r<n;r++)A+=t[r].length;const e=new Uint8Array(A);for(let r=0,n=0,i=t.length;r<i;r++){let s=t[r];e.set(s,n),n+=s.length}return e},M0={assign:tB,flattenChunks:rB};let R0=!0;try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{R0=!1}const es=new Uint8Array(256);for(let t=0;t<256;t++)es[t]=t>=252?6:t>=248?5:t>=240?4:t>=224?3:t>=192?2:1;es[254]=es[254]=1;var nB=t=>{if(typeof TextEncoder=="function"&&TextEncoder.prototype.encode)return new TextEncoder().encode(t);let A,e,r,n,i,s=t.length,a=0;for(n=0;n<s;n++)e=t.charCodeAt(n),(e&64512)===55296&&n+1<s&&(r=t.charCodeAt(n+1),(r&64512)===56320&&(e=65536+(e-55296<<10)+(r-56320),n++)),a+=e<128?1:e<2048?2:e<65536?3:4;for(A=new Uint8Array(a),i=0,n=0;i<a;n++)e=t.charCodeAt(n),(e&64512)===55296&&n+1<s&&(r=t.charCodeAt(n+1),(r&64512)===56320&&(e=65536+(e-55296<<10)+(r-56320),n++)),e<128?A[i++]=e:e<2048?(A[i++]=192|e>>>6,A[i++]=128|e&63):e<65536?(A[i++]=224|e>>>12,A[i++]=128|e>>>6&63,A[i++]=128|e&63):(A[i++]=240|e>>>18,A[i++]=128|e>>>12&63,A[i++]=128|e>>>6&63,A[i++]=128|e&63);return A};const iB=(t,A)=>{if(A<65534&&t.subarray&&R0)return String.fromCharCode.apply(null,t.length===A?t:t.subarray(0,A));let e="";for(let r=0;r<A;r++)e+=String.fromCharCode(t[r]);return e};var aB=(t,A)=>{const e=A||t.length;if(typeof TextDecoder=="function"&&TextDecoder.prototype.decode)return new TextDecoder().decode(t.subarray(0,A));let r,n;const i=new Array(e*2);for(n=0,r=0;r<e;){let s=t[r++];if(s<128){i[n++]=s;continue}let a=es[s];if(a>4){i[n++]=65533,r+=a-1;continue}for(s&=a===2?31:a===3?15:7;a>1&&r<e;)s=s<<6|t[r++]&63,a--;if(a>1){i[n++]=65533;continue}s<65536?i[n++]=s:(s-=65536,i[n++]=55296|s>>10&1023,i[n++]=56320|s&1023)}return iB(i,n)},sB=(t,A)=>{A=A||t.length,A>t.length&&(A=t.length);let e=A-1;for(;e>=0&&(t[e]&192)===128;)e--;return e<0||e===0?A:e+es[t[e]]>A?e:A},Mu={string2buf:nB,buf2string:aB,utf8border:sB};function oB(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}var lB=oB;const Gs=16209,uB=16191;var fB=function(A,e){let r,n,i,s,a,l,u,c,B,w,g,C,Q,x,F,k,K,P,z,Z,iA,V,N,$;const E=A.state;r=A.next_in,N=A.input,n=r+(A.avail_in-5),i=A.next_out,$=A.output,s=i-(e-A.avail_out),a=i+(A.avail_out-257),l=E.dmax,u=E.wsize,c=E.whave,B=E.wnext,w=E.window,g=E.hold,C=E.bits,Q=E.lencode,x=E.distcode,F=(1<<E.lenbits)-1,k=(1<<E.distbits)-1;A:do{C<15&&(g+=N[r++]<<C,C+=8,g+=N[r++]<<C,C+=8),K=Q[g&F];e:for(;;){if(P=K>>>24,g>>>=P,C-=P,P=K>>>16&255,P===0)$[i++]=K&65535;else if(P&16){z=K&65535,P&=15,P&&(C<P&&(g+=N[r++]<<C,C+=8),z+=g&(1<<P)-1,g>>>=P,C-=P),C<15&&(g+=N[r++]<<C,C+=8,g+=N[r++]<<C,C+=8),K=x[g&k];t:for(;;){if(P=K>>>24,g>>>=P,C-=P,P=K>>>16&255,P&16){if(Z=K&65535,P&=15,C<P&&(g+=N[r++]<<C,C+=8,C<P&&(g+=N[r++]<<C,C+=8)),Z+=g&(1<<P)-1,Z>l){A.msg="invalid distance too far back",E.mode=Gs;break A}if(g>>>=P,C-=P,P=i-s,Z>P){if(P=Z-P,P>c&&E.sane){A.msg="invalid distance too far back",E.mode=Gs;break A}if(iA=0,V=w,B===0){if(iA+=u-P,P<z){z-=P;do $[i++]=w[iA++];while(--P);iA=i-Z,V=$}}else if(B<P){if(iA+=u+B-P,P-=B,P<z){z-=P;do $[i++]=w[iA++];while(--P);if(iA=0,B<z){P=B,z-=P;do $[i++]=w[iA++];while(--P);iA=i-Z,V=$}}}else if(iA+=B-P,P<z){z-=P;do $[i++]=w[iA++];while(--P);iA=i-Z,V=$}for(;z>2;)$[i++]=V[iA++],$[i++]=V[iA++],$[i++]=V[iA++],z-=3;z&&($[i++]=V[iA++],z>1&&($[i++]=V[iA++]))}else{iA=i-Z;do $[i++]=$[iA++],$[i++]=$[iA++],$[i++]=$[iA++],z-=3;while(z>2);z&&($[i++]=$[iA++],z>1&&($[i++]=$[iA++]))}}else if((P&64)===0){K=x[(K&65535)+(g&(1<<P)-1)];continue t}else{A.msg="invalid distance code",E.mode=Gs;break A}break}}else if((P&64)===0){K=Q[(K&65535)+(g&(1<<P)-1)];continue e}else if(P&32){E.mode=uB;break A}else{A.msg="invalid literal/length code",E.mode=Gs;break A}break}}while(r<n&&i<a);z=C>>3,r-=z,C-=z<<3,g&=(1<<C)-1,A.next_in=r,A.next_out=i,A.avail_in=r<n?5+(n-r):5-(r-n),A.avail_out=i<a?257+(a-i):257-(i-a),E.hold=g,E.bits=C};const Ri=15,vc=852,mc=592,Cc=0,jl=1,Fc=2,cB=new Uint16Array([3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0]),hB=new Uint8Array([16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78]),gB=new Uint16Array([1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0]),dB=new Uint8Array([16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64]),BB=(t,A,e,r,n,i,s,a)=>{const l=a.bits;let u=0,c=0,B=0,w=0,g=0,C=0,Q=0,x=0,F=0,k=0,K,P,z,Z,iA,V=null,N;const $=new Uint16Array(Ri+1),E=new Uint16Array(Ri+1);let S=null,R,G,aA;for(u=0;u<=Ri;u++)$[u]=0;for(c=0;c<r;c++)$[A[e+c]]++;for(g=l,w=Ri;w>=1&&$[w]===0;w--);if(g>w&&(g=w),w===0)return n[i++]=1<<24|64<<16|0,n[i++]=1<<24|64<<16|0,a.bits=1,0;for(B=1;B<w&&$[B]===0;B++);for(g<B&&(g=B),x=1,u=1;u<=Ri;u++)if(x<<=1,x-=$[u],x<0)return-1;if(x>0&&(t===Cc||w!==1))return-1;for(E[1]=0,u=1;u<Ri;u++)E[u+1]=E[u]+$[u];for(c=0;c<r;c++)A[e+c]!==0&&(s[E[A[e+c]]++]=c);if(t===Cc?(V=S=s,N=20):t===jl?(V=cB,S=hB,N=257):(V=gB,S=dB,N=0),k=0,c=0,u=B,iA=i,C=g,Q=0,z=-1,F=1<<g,Z=F-1,t===jl&&F>vc||t===Fc&&F>mc)return 1;for(;;){R=u-Q,s[c]+1<N?(G=0,aA=s[c]):s[c]>=N?(G=S[s[c]-N],aA=V[s[c]-N]):(G=96,aA=0),K=1<<u-Q,P=1<<C,B=P;do P-=K,n[iA+(k>>Q)+P]=R<<24|G<<16|aA|0;while(P!==0);for(K=1<<u-1;k&K;)K>>=1;if(K!==0?(k&=K-1,k+=K):k=0,c++,--$[u]===0){if(u===w)break;u=A[e+s[c]]}if(u>g&&(k&Z)!==z){for(Q===0&&(Q=g),iA+=B,C=u-Q,x=1<<C;C+Q<w&&(x-=$[C+Q],!(x<=0));)C++,x<<=1;if(F+=1<<C,t===jl&&F>vc||t===Fc&&F>mc)return 1;z=k&Z,n[z]=g<<24|C<<16|iA-i|0}}return k!==0&&(n[iA+k]=u-Q<<24|64<<16|0),a.bits=g,0};var Xa=BB;const pB=0,K0=1,G0=2,{Z_FINISH:yc,Z_BLOCK:wB,Z_TREES:js,Z_OK:di,Z_STREAM_END:vB,Z_NEED_DICT:mB,Z_STREAM_ERROR:cr,Z_DATA_ERROR:j0,Z_MEM_ERROR:V0,Z_BUF_ERROR:CB,Z_DEFLATED:Qc}=O0,Wo=16180,bc=16181,Uc=16182,Ec=16183,Lc=16184,xc=16185,Ic=16186,Sc=16187,Hc=16188,Nc=16189,Ho=16190,nn=16191,Vl=16192,_c=16193,ql=16194,Dc=16195,Tc=16196,kc=16197,Pc=16198,Vs=16199,qs=16200,Oc=16201,Mc=16202,Rc=16203,Kc=16204,Gc=16205,Wl=16206,jc=16207,Vc=16208,Re=16209,q0=16210,W0=16211,FB=852,yB=592,QB=15,bB=QB,qc=t=>(t>>>24&255)+(t>>>8&65280)+((t&65280)<<8)+((t&255)<<24);function UB(){this.strm=null,this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Uint16Array(320),this.work=new Uint16Array(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}const pi=t=>{if(!t)return 1;const A=t.state;return!A||A.strm!==t||A.mode<Wo||A.mode>W0?1:0},X0=t=>{if(pi(t))return cr;const A=t.state;return t.total_in=t.total_out=A.total=0,t.msg="",A.wrap&&(t.adler=A.wrap&1),A.mode=Wo,A.last=0,A.havedict=0,A.flags=-1,A.dmax=32768,A.head=null,A.hold=0,A.bits=0,A.lencode=A.lendyn=new Int32Array(FB),A.distcode=A.distdyn=new Int32Array(yB),A.sane=1,A.back=-1,di},J0=t=>{if(pi(t))return cr;const A=t.state;return A.wsize=0,A.whave=0,A.wnext=0,X0(t)},z0=(t,A)=>{let e;if(pi(t))return cr;const r=t.state;return A<0?(e=0,A=-A):(e=(A>>4)+5,A<48&&(A&=15)),A&&(A<8||A>15)?cr:(r.window!==null&&r.wbits!==A&&(r.window=null),r.wrap=e,r.wbits=A,J0(t))},Y0=(t,A)=>{if(!t)return cr;const e=new UB;t.state=e,e.strm=t,e.window=null,e.mode=Wo;const r=z0(t,A);return r!==di&&(t.state=null),r},EB=t=>Y0(t,bB);let Wc=!0,Xl,Jl;const LB=t=>{if(Wc){Xl=new Int32Array(512),Jl=new Int32Array(32);let A=0;for(;A<144;)t.lens[A++]=8;for(;A<256;)t.lens[A++]=9;for(;A<280;)t.lens[A++]=7;for(;A<288;)t.lens[A++]=8;for(Xa(K0,t.lens,0,288,Xl,0,t.work,{bits:9}),A=0;A<32;)t.lens[A++]=5;Xa(G0,t.lens,0,32,Jl,0,t.work,{bits:5}),Wc=!1}t.lencode=Xl,t.lenbits=9,t.distcode=Jl,t.distbits=5},Z0=(t,A,e,r)=>{let n;const i=t.state;return i.window===null&&(i.wsize=1<<i.wbits,i.wnext=0,i.whave=0,i.window=new Uint8Array(i.wsize)),r>=i.wsize?(i.window.set(A.subarray(e-i.wsize,e),0),i.wnext=0,i.whave=i.wsize):(n=i.wsize-i.wnext,n>r&&(n=r),i.window.set(A.subarray(e-r,e-r+n),i.wnext),r-=n,r?(i.window.set(A.subarray(e-r,e),0),i.wnext=r,i.whave=i.wsize):(i.wnext+=n,i.wnext===i.wsize&&(i.wnext=0),i.whave<i.wsize&&(i.whave+=n))),0},xB=(t,A)=>{let e,r,n,i,s,a,l,u,c,B,w,g,C,Q,x=0,F,k,K,P,z,Z,iA,V;const N=new Uint8Array(4);let $,E;const S=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(pi(t)||!t.output||!t.input&&t.avail_in!==0)return cr;e=t.state,e.mode===nn&&(e.mode=Vl),s=t.next_out,n=t.output,l=t.avail_out,i=t.next_in,r=t.input,a=t.avail_in,u=e.hold,c=e.bits,B=a,w=l,V=di;A:for(;;)switch(e.mode){case Wo:if(e.wrap===0){e.mode=Vl;break}for(;c<16;){if(a===0)break A;a--,u+=r[i++]<<c,c+=8}if(e.wrap&2&&u===35615){e.wbits===0&&(e.wbits=15),e.check=0,N[0]=u&255,N[1]=u>>>8&255,e.check=Tr(e.check,N,2,0),u=0,c=0,e.mode=bc;break}if(e.head&&(e.head.done=!1),!(e.wrap&1)||(((u&255)<<8)+(u>>8))%31){t.msg="incorrect header check",e.mode=Re;break}if((u&15)!==Qc){t.msg="unknown compression method",e.mode=Re;break}if(u>>>=4,c-=4,iA=(u&15)+8,e.wbits===0&&(e.wbits=iA),iA>15||iA>e.wbits){t.msg="invalid window size",e.mode=Re;break}e.dmax=1<<e.wbits,e.flags=0,t.adler=e.check=1,e.mode=u&512?Nc:nn,u=0,c=0;break;case bc:for(;c<16;){if(a===0)break A;a--,u+=r[i++]<<c,c+=8}if(e.flags=u,(e.flags&255)!==Qc){t.msg="unknown compression method",e.mode=Re;break}if(e.flags&57344){t.msg="unknown header flags set",e.mode=Re;break}e.head&&(e.head.text=u>>8&1),e.flags&512&&e.wrap&4&&(N[0]=u&255,N[1]=u>>>8&255,e.check=Tr(e.check,N,2,0)),u=0,c=0,e.mode=Uc;case Uc:for(;c<32;){if(a===0)break A;a--,u+=r[i++]<<c,c+=8}e.head&&(e.head.time=u),e.flags&512&&e.wrap&4&&(N[0]=u&255,N[1]=u>>>8&255,N[2]=u>>>16&255,N[3]=u>>>24&255,e.check=Tr(e.check,N,4,0)),u=0,c=0,e.mode=Ec;case Ec:for(;c<16;){if(a===0)break A;a--,u+=r[i++]<<c,c+=8}e.head&&(e.head.xflags=u&255,e.head.os=u>>8),e.flags&512&&e.wrap&4&&(N[0]=u&255,N[1]=u>>>8&255,e.check=Tr(e.check,N,2,0)),u=0,c=0,e.mode=Lc;case Lc:if(e.flags&1024){for(;c<16;){if(a===0)break A;a--,u+=r[i++]<<c,c+=8}e.length=u,e.head&&(e.head.extra_len=u),e.flags&512&&e.wrap&4&&(N[0]=u&255,N[1]=u>>>8&255,e.check=Tr(e.check,N,2,0)),u=0,c=0}else e.head&&(e.head.extra=null);e.mode=xc;case xc:if(e.flags&1024&&(g=e.length,g>a&&(g=a),g&&(e.head&&(iA=e.head.extra_len-e.length,e.head.extra||(e.head.extra=new Uint8Array(e.head.extra_len)),e.head.extra.set(r.subarray(i,i+g),iA)),e.flags&512&&e.wrap&4&&(e.check=Tr(e.check,r,g,i)),a-=g,i+=g,e.length-=g),e.length))break A;e.length=0,e.mode=Ic;case Ic:if(e.flags&2048){if(a===0)break A;g=0;do iA=r[i+g++],e.head&&iA&&e.length<65536&&(e.head.name+=String.fromCharCode(iA));while(iA&&g<a);if(e.flags&512&&e.wrap&4&&(e.check=Tr(e.check,r,g,i)),a-=g,i+=g,iA)break A}else e.head&&(e.head.name=null);e.length=0,e.mode=Sc;case Sc:if(e.flags&4096){if(a===0)break A;g=0;do iA=r[i+g++],e.head&&iA&&e.length<65536&&(e.head.comment+=String.fromCharCode(iA));while(iA&&g<a);if(e.flags&512&&e.wrap&4&&(e.check=Tr(e.check,r,g,i)),a-=g,i+=g,iA)break A}else e.head&&(e.head.comment=null);e.mode=Hc;case Hc:if(e.flags&512){for(;c<16;){if(a===0)break A;a--,u+=r[i++]<<c,c+=8}if(e.wrap&4&&u!==(e.check&65535)){t.msg="header crc mismatch",e.mode=Re;break}u=0,c=0}e.head&&(e.head.hcrc=e.flags>>9&1,e.head.done=!0),t.adler=e.check=0,e.mode=nn;break;case Nc:for(;c<32;){if(a===0)break A;a--,u+=r[i++]<<c,c+=8}t.adler=e.check=qc(u),u=0,c=0,e.mode=Ho;case Ho:if(e.havedict===0)return t.next_out=s,t.avail_out=l,t.next_in=i,t.avail_in=a,e.hold=u,e.bits=c,mB;t.adler=e.check=1,e.mode=nn;case nn:if(A===wB||A===js)break A;case Vl:if(e.last){u>>>=c&7,c-=c&7,e.mode=Wl;break}for(;c<3;){if(a===0)break A;a--,u+=r[i++]<<c,c+=8}switch(e.last=u&1,u>>>=1,c-=1,u&3){case 0:e.mode=_c;break;case 1:if(LB(e),e.mode=Vs,A===js){u>>>=2,c-=2;break A}break;case 2:e.mode=Tc;break;case 3:t.msg="invalid block type",e.mode=Re}u>>>=2,c-=2;break;case _c:for(u>>>=c&7,c-=c&7;c<32;){if(a===0)break A;a--,u+=r[i++]<<c,c+=8}if((u&65535)!==(u>>>16^65535)){t.msg="invalid stored block lengths",e.mode=Re;break}if(e.length=u&65535,u=0,c=0,e.mode=ql,A===js)break A;case ql:e.mode=Dc;case Dc:if(g=e.length,g){if(g>a&&(g=a),g>l&&(g=l),g===0)break A;n.set(r.subarray(i,i+g),s),a-=g,i+=g,l-=g,s+=g,e.length-=g;break}e.mode=nn;break;case Tc:for(;c<14;){if(a===0)break A;a--,u+=r[i++]<<c,c+=8}if(e.nlen=(u&31)+257,u>>>=5,c-=5,e.ndist=(u&31)+1,u>>>=5,c-=5,e.ncode=(u&15)+4,u>>>=4,c-=4,e.nlen>286||e.ndist>30){t.msg="too many length or distance symbols",e.mode=Re;break}e.have=0,e.mode=kc;case kc:for(;e.have<e.ncode;){for(;c<3;){if(a===0)break A;a--,u+=r[i++]<<c,c+=8}e.lens[S[e.have++]]=u&7,u>>>=3,c-=3}for(;e.have<19;)e.lens[S[e.have++]]=0;if(e.lencode=e.lendyn,e.lenbits=7,$={bits:e.lenbits},V=Xa(pB,e.lens,0,19,e.lencode,0,e.work,$),e.lenbits=$.bits,V){t.msg="invalid code lengths set",e.mode=Re;break}e.have=0,e.mode=Pc;case Pc:for(;e.have<e.nlen+e.ndist;){for(;x=e.lencode[u&(1<<e.lenbits)-1],F=x>>>24,k=x>>>16&255,K=x&65535,!(F<=c);){if(a===0)break A;a--,u+=r[i++]<<c,c+=8}if(K<16)u>>>=F,c-=F,e.lens[e.have++]=K;else{if(K===16){for(E=F+2;c<E;){if(a===0)break A;a--,u+=r[i++]<<c,c+=8}if(u>>>=F,c-=F,e.have===0){t.msg="invalid bit length repeat",e.mode=Re;break}iA=e.lens[e.have-1],g=3+(u&3),u>>>=2,c-=2}else if(K===17){for(E=F+3;c<E;){if(a===0)break A;a--,u+=r[i++]<<c,c+=8}u>>>=F,c-=F,iA=0,g=3+(u&7),u>>>=3,c-=3}else{for(E=F+7;c<E;){if(a===0)break A;a--,u+=r[i++]<<c,c+=8}u>>>=F,c-=F,iA=0,g=11+(u&127),u>>>=7,c-=7}if(e.have+g>e.nlen+e.ndist){t.msg="invalid bit length repeat",e.mode=Re;break}for(;g--;)e.lens[e.have++]=iA}}if(e.mode===Re)break;if(e.lens[256]===0){t.msg="invalid code -- missing end-of-block",e.mode=Re;break}if(e.lenbits=9,$={bits:e.lenbits},V=Xa(K0,e.lens,0,e.nlen,e.lencode,0,e.work,$),e.lenbits=$.bits,V){t.msg="invalid literal/lengths set",e.mode=Re;break}if(e.distbits=6,e.distcode=e.distdyn,$={bits:e.distbits},V=Xa(G0,e.lens,e.nlen,e.ndist,e.distcode,0,e.work,$),e.distbits=$.bits,V){t.msg="invalid distances set",e.mode=Re;break}if(e.mode=Vs,A===js)break A;case Vs:e.mode=qs;case qs:if(a>=6&&l>=258){t.next_out=s,t.avail_out=l,t.next_in=i,t.avail_in=a,e.hold=u,e.bits=c,fB(t,w),s=t.next_out,n=t.output,l=t.avail_out,i=t.next_in,r=t.input,a=t.avail_in,u=e.hold,c=e.bits,e.mode===nn&&(e.back=-1);break}for(e.back=0;x=e.lencode[u&(1<<e.lenbits)-1],F=x>>>24,k=x>>>16&255,K=x&65535,!(F<=c);){if(a===0)break A;a--,u+=r[i++]<<c,c+=8}if(k&&(k&240)===0){for(P=F,z=k,Z=K;x=e.lencode[Z+((u&(1<<P+z)-1)>>P)],F=x>>>24,k=x>>>16&255,K=x&65535,!(P+F<=c);){if(a===0)break A;a--,u+=r[i++]<<c,c+=8}u>>>=P,c-=P,e.back+=P}if(u>>>=F,c-=F,e.back+=F,e.length=K,k===0){e.mode=Gc;break}if(k&32){e.back=-1,e.mode=nn;break}if(k&64){t.msg="invalid literal/length code",e.mode=Re;break}e.extra=k&15,e.mode=Oc;case Oc:if(e.extra){for(E=e.extra;c<E;){if(a===0)break A;a--,u+=r[i++]<<c,c+=8}e.length+=u&(1<<e.extra)-1,u>>>=e.extra,c-=e.extra,e.back+=e.extra}e.was=e.length,e.mode=Mc;case Mc:for(;x=e.distcode[u&(1<<e.distbits)-1],F=x>>>24,k=x>>>16&255,K=x&65535,!(F<=c);){if(a===0)break A;a--,u+=r[i++]<<c,c+=8}if((k&240)===0){for(P=F,z=k,Z=K;x=e.distcode[Z+((u&(1<<P+z)-1)>>P)],F=x>>>24,k=x>>>16&255,K=x&65535,!(P+F<=c);){if(a===0)break A;a--,u+=r[i++]<<c,c+=8}u>>>=P,c-=P,e.back+=P}if(u>>>=F,c-=F,e.back+=F,k&64){t.msg="invalid distance code",e.mode=Re;break}e.offset=K,e.extra=k&15,e.mode=Rc;case Rc:if(e.extra){for(E=e.extra;c<E;){if(a===0)break A;a--,u+=r[i++]<<c,c+=8}e.offset+=u&(1<<e.extra)-1,u>>>=e.extra,c-=e.extra,e.back+=e.extra}if(e.offset>e.dmax){t.msg="invalid distance too far back",e.mode=Re;break}e.mode=Kc;case Kc:if(l===0)break A;if(g=w-l,e.offset>g){if(g=e.offset-g,g>e.whave&&e.sane){t.msg="invalid distance too far back",e.mode=Re;break}g>e.wnext?(g-=e.wnext,C=e.wsize-g):C=e.wnext-g,g>e.length&&(g=e.length),Q=e.window}else Q=n,C=s-e.offset,g=e.length;g>l&&(g=l),l-=g,e.length-=g;do n[s++]=Q[C++];while(--g);e.length===0&&(e.mode=qs);break;case Gc:if(l===0)break A;n[s++]=e.length,l--,e.mode=qs;break;case Wl:if(e.wrap){for(;c<32;){if(a===0)break A;a--,u|=r[i++]<<c,c+=8}if(w-=l,t.total_out+=w,e.total+=w,e.wrap&4&&w&&(t.adler=e.check=e.flags?Tr(e.check,n,w,s-w):Pu(e.check,n,w,s-w)),w=l,e.wrap&4&&(e.flags?u:qc(u))!==e.check){t.msg="incorrect data check",e.mode=Re;break}u=0,c=0}e.mode=jc;case jc:if(e.wrap&&e.flags){for(;c<32;){if(a===0)break A;a--,u+=r[i++]<<c,c+=8}if(e.wrap&4&&u!==(e.total&4294967295)){t.msg="incorrect length check",e.mode=Re;break}u=0,c=0}e.mode=Vc;case Vc:V=vB;break A;case Re:V=j0;break A;case q0:return V0;case W0:default:return cr}return t.next_out=s,t.avail_out=l,t.next_in=i,t.avail_in=a,e.hold=u,e.bits=c,(e.wsize||w!==t.avail_out&&e.mode<Re&&(e.mode<Wl||A!==yc))&&Z0(t,t.output,t.next_out,w-t.avail_out),B-=t.avail_in,w-=t.avail_out,t.total_in+=B,t.total_out+=w,e.total+=w,e.wrap&4&&w&&(t.adler=e.check=e.flags?Tr(e.check,n,w,t.next_out-w):Pu(e.check,n,w,t.next_out-w)),t.data_type=e.bits+(e.last?64:0)+(e.mode===nn?128:0)+(e.mode===Vs||e.mode===ql?256:0),(B===0&&w===0||A===yc)&&V===di&&(V=CB),V},IB=t=>{if(pi(t))return cr;let A=t.state;return A.window&&(A.window=null),t.state=null,di},SB=(t,A)=>{if(pi(t))return cr;const e=t.state;return(e.wrap&2)===0?cr:(e.head=A,A.done=!1,di)},HB=(t,A)=>{const e=A.length;let r,n,i;return pi(t)||(r=t.state,r.wrap!==0&&r.mode!==Ho)?cr:r.mode===Ho&&(n=1,n=Pu(n,A,e,0),n!==r.check)?j0:(i=Z0(t,A,e,e),i?(r.mode=q0,V0):(r.havedict=1,di))};var NB=J0,_B=z0,DB=X0,TB=EB,kB=Y0,PB=xB,OB=IB,MB=SB,RB=HB,KB="pako inflate (from Nodeca project)",on={inflateReset:NB,inflateReset2:_B,inflateResetKeep:DB,inflateInit:TB,inflateInit2:kB,inflate:PB,inflateEnd:OB,inflateGetHeader:MB,inflateSetDictionary:RB,inflateInfo:KB};function GB(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}var jB=GB;const $0=Object.prototype.toString,{Z_NO_FLUSH:VB,Z_FINISH:qB,Z_OK:ts,Z_STREAM_END:zl,Z_NEED_DICT:Yl,Z_STREAM_ERROR:WB,Z_DATA_ERROR:Xc,Z_MEM_ERROR:XB}=O0;function as(t){this.options=M0.assign({chunkSize:1024*64,windowBits:15,to:""},t||{});const A=this.options;A.raw&&A.windowBits>=0&&A.windowBits<16&&(A.windowBits=-A.windowBits,A.windowBits===0&&(A.windowBits=-15)),A.windowBits>=0&&A.windowBits<16&&!(t&&t.windowBits)&&(A.windowBits+=32),A.windowBits>15&&A.windowBits<48&&(A.windowBits&15)===0&&(A.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new lB,this.strm.avail_out=0;let e=on.inflateInit2(this.strm,A.windowBits);if(e!==ts)throw new Error(Ou[e]);if(this.header=new jB,on.inflateGetHeader(this.strm,this.header),A.dictionary&&(typeof A.dictionary=="string"?A.dictionary=Mu.string2buf(A.dictionary):$0.call(A.dictionary)==="[object ArrayBuffer]"&&(A.dictionary=new Uint8Array(A.dictionary)),A.raw&&(e=on.inflateSetDictionary(this.strm,A.dictionary),e!==ts)))throw new Error(Ou[e])}as.prototype.push=function(t,A){const e=this.strm,r=this.options.chunkSize,n=this.options.dictionary;let i,s,a;if(this.ended)return!1;for(A===~~A?s=A:s=A===!0?qB:VB,$0.call(t)==="[object ArrayBuffer]"?e.input=new Uint8Array(t):e.input=t,e.next_in=0,e.avail_in=e.input.length;;){for(e.avail_out===0&&(e.output=new Uint8Array(r),e.next_out=0,e.avail_out=r),i=on.inflate(e,s),i===Yl&&n&&(i=on.inflateSetDictionary(e,n),i===ts?i=on.inflate(e,s):i===Xc&&(i=Yl));e.avail_in>0&&i===zl&&e.state.wrap>0&&t[e.next_in]!==0;)on.inflateReset(e),i=on.inflate(e,s);switch(i){case WB:case Xc:case Yl:case XB:return this.onEnd(i),this.ended=!0,!1}if(a=e.avail_out,e.next_out&&(e.avail_out===0||i===zl))if(this.options.to==="string"){let l=Mu.utf8border(e.output,e.next_out),u=e.next_out-l,c=Mu.buf2string(e.output,l);e.next_out=u,e.avail_out=r-u,u&&e.output.set(e.output.subarray(l,l+u),0),this.onData(c)}else this.onData(e.output.length===e.next_out?e.output:e.output.subarray(0,e.next_out));if(!(i===ts&&a===0)){if(i===zl)return i=on.inflateEnd(this.strm),this.onEnd(i),this.ended=!0,!0;if(e.avail_in===0)break}}return!0};as.prototype.onData=function(t){this.chunks.push(t)};as.prototype.onEnd=function(t){t===ts&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=M0.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg};function JB(t,A){const e=new as(A);if(e.push(t),e.err)throw e.msg||Ou[e.err];return e.result}var zB=as,YB=JB,ZB={Inflate:zB,inflate:YB};const{Inflate:$B,inflate:A2}=ZB;var Jc=$B,e2=A2;const Ag=[];for(let t=0;t<256;t++){let A=t;for(let e=0;e<8;e++)A&1?A=3988292384^A>>>1:A=A>>>1;Ag[t]=A}const zc=4294967295;function t2(t,A,e){let r=t;for(let n=0;n<e;n++)r=Ag[(r^A[n])&255]^r>>>8;return r}function r2(t,A){return(t2(zc,t,A)^zc)>>>0}function Yc(t,A,e){const r=t.readUint32(),n=r2(new Uint8Array(t.buffer,t.byteOffset+t.offset-A-4,A),A);if(n!==r)throw new Error(`CRC mismatch for chunk ${e}. Expected ${r}, found ${n}`)}function eg(t,A,e){for(let r=0;r<e;r++)A[r]=t[r]}function tg(t,A,e,r){let n=0;for(;n<r;n++)A[n]=t[n];for(;n<e;n++)A[n]=t[n]+A[n-r]&255}function rg(t,A,e,r){let n=0;if(e.length===0)for(;n<r;n++)A[n]=t[n];else for(;n<r;n++)A[n]=t[n]+e[n]&255}function ng(t,A,e,r,n){let i=0;if(e.length===0){for(;i<n;i++)A[i]=t[i];for(;i<r;i++)A[i]=t[i]+(A[i-n]>>1)&255}else{for(;i<n;i++)A[i]=t[i]+(e[i]>>1)&255;for(;i<r;i++)A[i]=t[i]+(A[i-n]+e[i]>>1)&255}}function ig(t,A,e,r,n){let i=0;if(e.length===0){for(;i<n;i++)A[i]=t[i];for(;i<r;i++)A[i]=t[i]+A[i-n]&255}else{for(;i<n;i++)A[i]=t[i]+e[i]&255;for(;i<r;i++)A[i]=t[i]+n2(A[i-n],e[i],e[i-n])&255}}function n2(t,A,e){const r=t+A-e,n=Math.abs(r-t),i=Math.abs(r-A),s=Math.abs(r-e);return n<=i&&n<=s?t:i<=s?A:e}function i2(t,A,e,r,n,i){switch(t){case 0:eg(A,e,n);break;case 1:tg(A,e,n,i);break;case 2:rg(A,e,r,n);break;case 3:ng(A,e,r,n,i);break;case 4:ig(A,e,r,n,i);break;default:throw new Error(`Unsupported filter: ${t}`)}}const a2=new Uint16Array([255]),s2=new Uint8Array(a2.buffer),o2=s2[0]===255;function l2(t){const{data:A,width:e,height:r,channels:n,depth:i}=t,s=[{x:0,y:0,xStep:8,yStep:8},{x:4,y:0,xStep:8,yStep:8},{x:0,y:4,xStep:4,yStep:8},{x:2,y:0,xStep:4,yStep:4},{x:0,y:2,xStep:2,yStep:4},{x:1,y:0,xStep:2,yStep:2},{x:0,y:1,xStep:1,yStep:2}],a=Math.ceil(i/8)*n,l=new Uint8Array(r*e*a);let u=0;for(let c=0;c<7;c++){const B=s[c],w=Math.ceil((e-B.x)/B.xStep),g=Math.ceil((r-B.y)/B.yStep);if(w<=0||g<=0)continue;const C=w*a,Q=new Uint8Array(C);for(let x=0;x<g;x++){const F=A[u++],k=A.subarray(u,u+C);u+=C;const K=new Uint8Array(C);i2(F,k,K,Q,C,a),Q.set(K);for(let P=0;P<w;P++){const z=B.x+P*B.xStep,Z=B.y+x*B.yStep;if(!(z>=e||Z>=r))for(let iA=0;iA<a;iA++)l[(Z*e+z)*a+iA]=K[P*a+iA]}}}if(i===16){const c=new Uint16Array(l.buffer);if(o2)for(let B=0;B<c.length;B++)c[B]=u2(c[B]);return c}else return l}function u2(t){return(t&255)<<8|t>>8&255}const f2=new Uint16Array([255]),c2=new Uint8Array(f2.buffer),h2=c2[0]===255,g2=new Uint8Array(0);function Zc(t){const{data:A,width:e,height:r,channels:n,depth:i}=t,s=Math.ceil(i/8)*n,a=Math.ceil(i/8*n*e),l=new Uint8Array(r*a);let u=g2,c=0,B,w;for(let g=0;g<r;g++){switch(B=A.subarray(c+1,c+1+a),w=l.subarray(g*a,(g+1)*a),A[c]){case 0:eg(B,w,a);break;case 1:tg(B,w,a,s);break;case 2:rg(B,w,u,a);break;case 3:ng(B,w,u,a,s);break;case 4:ig(B,w,u,a,s);break;default:throw new Error(`Unsupported filter: ${A[c]}`)}u=w,c+=a+1}if(i===16){const g=new Uint16Array(l.buffer);if(h2)for(let C=0;C<g.length;C++)g[C]=d2(g[C]);return g}else return l}function d2(t){return(t&255)<<8|t>>8&255}const Co=Uint8Array.of(137,80,78,71,13,10,26,10);function $c(t){if(!B2(t.readBytes(Co.length)))throw new Error("wrong PNG signature")}function B2(t){if(t.length<Co.length)return!1;for(let A=0;A<Co.length;A++)if(t[A]!==Co[A])return!1;return!0}const p2="tEXt",w2=0,ag=new TextDecoder("latin1");function v2(t){if(C2(t),t.length===0||t.length>79)throw new Error("keyword length must be between 1 and 79")}const m2=/^[\u0000-\u00FF]*$/;function C2(t){if(!m2.test(t))throw new Error("invalid latin1 text")}function F2(t,A,e){const r=sg(A);t[r]=y2(A,e-r.length-1)}function sg(t){for(t.mark();t.readByte()!==w2;);const A=t.offset;t.reset();const e=ag.decode(t.readBytes(A-t.offset-1));return t.skip(1),v2(e),e}function y2(t,A){return ag.decode(t.readBytes(A))}const Zt={UNKNOWN:-1,GREYSCALE:0,TRUECOLOUR:2,INDEXED_COLOUR:3,GREYSCALE_ALPHA:4,TRUECOLOUR_ALPHA:6},Zl={UNKNOWN:-1,DEFLATE:0},Ah={UNKNOWN:-1,ADAPTIVE:0},$l={UNKNOWN:-1,NO_INTERLACE:0,ADAM7:1},Ws={NONE:0,BACKGROUND:1,PREVIOUS:2},Au={SOURCE:0,OVER:1};class Q2 extends Cf{_checkCrc;_inflator;_png;_apng;_end;_hasPalette;_palette;_hasTransparency;_transparency;_compressionMethod;_filterMethod;_interlaceMethod;_colorType;_isAnimated;_numberOfFrames;_numberOfPlays;_frames;_writingDataChunks;constructor(A,e={}){super(A);const{checkCrc:r=!1}=e;this._checkCrc=r,this._inflator=new Jc,this._png={width:-1,height:-1,channels:-1,data:new Uint8Array(0),depth:1,text:{}},this._apng={width:-1,height:-1,channels:-1,depth:1,numberOfFrames:1,numberOfPlays:0,text:{},frames:[]},this._end=!1,this._hasPalette=!1,this._palette=[],this._hasTransparency=!1,this._transparency=new Uint16Array(0),this._compressionMethod=Zl.UNKNOWN,this._filterMethod=Ah.UNKNOWN,this._interlaceMethod=$l.UNKNOWN,this._colorType=Zt.UNKNOWN,this._isAnimated=!1,this._numberOfFrames=1,this._numberOfPlays=0,this._frames=[],this._writingDataChunks=!1,this.setBigEndian()}decode(){for($c(this);!this._end;){const A=this.readUint32(),e=this.readChars(4);this.decodeChunk(A,e)}return this.decodeImage(),this._png}decodeApng(){for($c(this);!this._end;){const A=this.readUint32(),e=this.readChars(4);this.decodeApngChunk(A,e)}return this.decodeApngImage(),this._apng}decodeChunk(A,e){const r=this.offset;switch(e){case"IHDR":this.decodeIHDR();break;case"PLTE":this.decodePLTE(A);break;case"IDAT":this.decodeIDAT(A);break;case"IEND":this._end=!0;break;case"tRNS":this.decodetRNS(A);break;case"iCCP":this.decodeiCCP(A);break;case p2:F2(this._png.text,this,A);break;case"pHYs":this.decodepHYs();break;default:this.skip(A);break}if(this.offset-r!==A)throw new Error(`Length mismatch while decoding chunk ${e}`);this._checkCrc?Yc(this,A+4,e):this.skip(4)}decodeApngChunk(A,e){const r=this.offset;switch(e!=="fdAT"&&e!=="IDAT"&&this._writingDataChunks&&this.pushDataToFrame(),e){case"acTL":this.decodeACTL();break;case"fcTL":this.decodeFCTL();break;case"fdAT":this.decodeFDAT(A);break;default:this.decodeChunk(A,e),this.offset=r+A;break}if(this.offset-r!==A)throw new Error(`Length mismatch while decoding chunk ${e}`);this._checkCrc?Yc(this,A+4,e):this.skip(4)}decodeIHDR(){const A=this._png;A.width=this.readUint32(),A.height=this.readUint32(),A.depth=b2(this.readUint8());const e=this.readUint8();this._colorType=e;let r;switch(e){case Zt.GREYSCALE:r=1;break;case Zt.TRUECOLOUR:r=3;break;case Zt.INDEXED_COLOUR:r=1;break;case Zt.GREYSCALE_ALPHA:r=2;break;case Zt.TRUECOLOUR_ALPHA:r=4;break;case Zt.UNKNOWN:default:throw new Error(`Unknown color type: ${e}`)}if(this._png.channels=r,this._compressionMethod=this.readUint8(),this._compressionMethod!==Zl.DEFLATE)throw new Error(`Unsupported compression method: ${this._compressionMethod}`);this._filterMethod=this.readUint8(),this._interlaceMethod=this.readUint8()}decodeACTL(){this._numberOfFrames=this.readUint32(),this._numberOfPlays=this.readUint32(),this._isAnimated=!0}decodeFCTL(){const A={sequenceNumber:this.readUint32(),width:this.readUint32(),height:this.readUint32(),xOffset:this.readUint32(),yOffset:this.readUint32(),delayNumber:this.readUint16(),delayDenominator:this.readUint16(),disposeOp:this.readUint8(),blendOp:this.readUint8(),data:new Uint8Array(0)};this._frames.push(A)}decodePLTE(A){if(A%3!==0)throw new RangeError(`PLTE field length must be a multiple of 3. Got ${A}`);const e=A/3;this._hasPalette=!0;const r=[];this._palette=r;for(let n=0;n<e;n++)r.push([this.readUint8(),this.readUint8(),this.readUint8()])}decodeIDAT(A){this._writingDataChunks=!0;const e=A,r=this.offset+this.byteOffset;if(this._inflator.push(new Uint8Array(this.buffer,r,e)),this._inflator.err)throw new Error(`Error while decompressing the data: ${this._inflator.err}`);this.skip(A)}decodeFDAT(A){this._writingDataChunks=!0;let e=A,r=this.offset+this.byteOffset;if(r+=4,e-=4,this._inflator.push(new Uint8Array(this.buffer,r,e)),this._inflator.err)throw new Error(`Error while decompressing the data: ${this._inflator.err}`);this.skip(A)}decodetRNS(A){switch(this._colorType){case Zt.GREYSCALE:case Zt.TRUECOLOUR:{if(A%2!==0)throw new RangeError(`tRNS chunk length must be a multiple of 2. Got ${A}`);if(A/2>this._png.width*this._png.height)throw new Error(`tRNS chunk contains more alpha values than there are pixels (${A/2} vs ${this._png.width*this._png.height})`);this._hasTransparency=!0,this._transparency=new Uint16Array(A/2);for(let e=0;e<A/2;e++)this._transparency[e]=this.readUint16();break}case Zt.INDEXED_COLOUR:{if(A>this._palette.length)throw new Error(`tRNS chunk contains more alpha values than there are palette colors (${A} vs ${this._palette.length})`);let e=0;for(;e<A;e++){const r=this.readByte();this._palette[e].push(r)}for(;e<this._palette.length;e++)this._palette[e].push(255);break}case Zt.UNKNOWN:case Zt.GREYSCALE_ALPHA:case Zt.TRUECOLOUR_ALPHA:default:throw new Error(`tRNS chunk is not supported for color type ${this._colorType}`)}}decodeiCCP(A){const e=sg(this),r=this.readUint8();if(r!==Zl.DEFLATE)throw new Error(`Unsupported iCCP compression method: ${r}`);const n=this.readBytes(A-e.length-2);this._png.iccEmbeddedProfile={name:e,profile:e2(n)}}decodepHYs(){const A=this.readUint32(),e=this.readUint32(),r=this.readByte();this._png.resolution={x:A,y:e,unit:r}}decodeApngImage(){this._apng.width=this._png.width,this._apng.height=this._png.height,this._apng.channels=this._png.channels,this._apng.depth=this._png.depth,this._apng.numberOfFrames=this._numberOfFrames,this._apng.numberOfPlays=this._numberOfPlays,this._apng.text=this._png.text,this._apng.resolution=this._png.resolution;for(let A=0;A<this._numberOfFrames;A++){const e={sequenceNumber:this._frames[A].sequenceNumber,delayNumber:this._frames[A].delayNumber,delayDenominator:this._frames[A].delayDenominator,data:this._apng.depth===8?new Uint8Array(this._apng.width*this._apng.height*this._apng.channels):new Uint16Array(this._apng.width*this._apng.height*this._apng.channels)},r=this._frames.at(A);if(r){if(r.data=Zc({data:r.data,width:r.width,height:r.height,channels:this._apng.channels,depth:this._apng.depth}),this._hasPalette&&(this._apng.palette=this._palette),this._hasTransparency&&(this._apng.transparency=this._transparency),A===0||r.xOffset===0&&r.yOffset===0&&r.width===this._png.width&&r.height===this._png.height)e.data=r.data;else{const n=this._apng.frames.at(A-1);this.disposeFrame(r,n,e),this.addFrameDataToCanvas(e,r)}this._apng.frames.push(e)}}return this._apng}disposeFrame(A,e,r){switch(A.disposeOp){case Ws.NONE:break;case Ws.BACKGROUND:for(let n=0;n<this._png.height;n++)for(let i=0;i<this._png.width;i++){const s=(n*A.width+i)*this._png.channels;for(let a=0;a<this._png.channels;a++)r.data[s+a]=0}break;case Ws.PREVIOUS:r.data.set(e.data);break;default:throw new Error("Unknown disposeOp")}}addFrameDataToCanvas(A,e){const r=1<<this._png.depth,n=(i,s)=>{const a=((i+e.yOffset)*this._png.width+e.xOffset+s)*this._png.channels,l=(i*e.width+s)*this._png.channels;return{index:a,frameIndex:l}};switch(e.blendOp){case Au.SOURCE:for(let i=0;i<e.height;i++)for(let s=0;s<e.width;s++){const{index:a,frameIndex:l}=n(i,s);for(let u=0;u<this._png.channels;u++)A.data[a+u]=e.data[l+u]}break;case Au.OVER:for(let i=0;i<e.height;i++)for(let s=0;s<e.width;s++){const{index:a,frameIndex:l}=n(i,s);for(let u=0;u<this._png.channels;u++){const c=e.data[l+this._png.channels-1]/r,B=u%(this._png.channels-1)===0?1:e.data[l+u],w=Math.floor(c*B+(1-c)*A.data[a+u]);A.data[a+u]+=w}}break;default:throw new Error("Unknown blendOp")}}decodeImage(){if(this._inflator.err)throw new Error(`Error while decompressing the data: ${this._inflator.err}`);const A=this._isAnimated?(this._frames?.at(0)).data:this._inflator.result;if(this._filterMethod!==Ah.ADAPTIVE)throw new Error(`Filter method ${this._filterMethod} not supported`);if(this._interlaceMethod===$l.NO_INTERLACE)this._png.data=Zc({data:A,width:this._png.width,height:this._png.height,channels:this._png.channels,depth:this._png.depth});else if(this._interlaceMethod===$l.ADAM7)this._png.data=l2({data:A,width:this._png.width,height:this._png.height,channels:this._png.channels,depth:this._png.depth});else throw new Error(`Interlace method ${this._interlaceMethod} not supported`);this._hasPalette&&(this._png.palette=this._palette),this._hasTransparency&&(this._png.transparency=this._transparency)}pushDataToFrame(){const A=this._inflator.result,e=this._frames.at(-1);e?e.data=A:this._frames.push({sequenceNumber:0,width:this._png.width,height:this._png.height,xOffset:0,yOffset:0,delayNumber:0,delayDenominator:0,disposeOp:Ws.NONE,blendOp:Au.SOURCE,data:A}),this._inflator=new Jc,this._writingDataChunks=!1}}function b2(t){if(t!==1&&t!==2&&t!==4&&t!==8&&t!==16)throw new Error(`invalid bit depth: ${t}`);return t}var eh;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.METRE=1]="METRE"})(eh||(eh={}));function U2(t,A){return new Q2(t,A).decode()}var YA=(function(){return typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:this})();function eu(){YA.console&&typeof YA.console.log=="function"&&YA.console.log.apply(YA.console,arguments)}var Ie={log:eu,warn:function(t){YA.console&&(typeof YA.console.warn=="function"?YA.console.warn.apply(YA.console,arguments):eu.call(null,arguments))},error:function(t){YA.console&&(typeof YA.console.error=="function"?YA.console.error.apply(YA.console,arguments):eu(t))}};function tu(t,A,e){var r=new XMLHttpRequest;r.open("GET",t),r.responseType="blob",r.onload=function(){si(r.response,A,e)},r.onerror=function(){Ie.error("could not download file")},r.send()}function th(t){var A=new XMLHttpRequest;A.open("HEAD",t,!1);try{A.send()}catch{}return A.status>=200&&A.status<=299}function Xs(t){try{t.dispatchEvent(new MouseEvent("click"))}catch{var A=document.createEvent("MouseEvents");A.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),t.dispatchEvent(A)}}var si=YA.saveAs||((typeof window>"u"?"undefined":be(window))!=="object"||window!==YA?function(){}:typeof HTMLAnchorElement<"u"&&"download"in HTMLAnchorElement.prototype?function(t,A,e){var r=YA.URL||YA.webkitURL,n=document.createElement("a");A=A||t.name||"download",n.download=A,n.rel="noopener",typeof t=="string"?(n.href=t,n.origin!==location.origin?th(n.href)?tu(t,A,e):Xs(n,n.target="_blank"):Xs(n)):(n.href=r.createObjectURL(t),setTimeout(function(){r.revokeObjectURL(n.href)},4e4),setTimeout(function(){Xs(n)},0))}:"msSaveOrOpenBlob"in navigator?function(t,A,e){if(A=A||t.name||"download",typeof t=="string")if(th(t))tu(t,A,e);else{var r=document.createElement("a");r.href=t,r.target="_blank",setTimeout(function(){Xs(r)})}else navigator.msSaveOrOpenBlob((function(n,i){return i===void 0?i={autoBom:!1}:be(i)!=="object"&&(Ie.warn("Deprecated: Expected third argument to be a object"),i={autoBom:!i}),i.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(n.type)?new Blob(["\uFEFF",n],{type:n.type}):n})(t,e),A)}:function(t,A,e,r){if((r=r||open("","_blank"))&&(r.document.title=r.document.body.innerText="downloading..."),typeof t=="string")return tu(t,A,e);var n=t.type==="application/octet-stream",i=/constructor/i.test(YA.HTMLElement)||YA.safari,s=/CriOS\/[\d]+/.test(navigator.userAgent);if((s||n&&i)&&(typeof FileReader>"u"?"undefined":be(FileReader))==="object"){var a=new FileReader;a.onloadend=function(){var c=a.result;c=s?c:c.replace(/^data:[^;]*;/,"data:attachment/file;"),r?r.location.href=c:location=c,r=null},a.readAsDataURL(t)}else{var l=YA.URL||YA.webkitURL,u=l.createObjectURL(t);r?r.location=u:location.href=u,r=null,setTimeout(function(){l.revokeObjectURL(u)},4e4)}});/**
|
|
3
|
+
* A class to parse color values
|
|
4
|
+
* @author Stoyan Stefanov <sstoo@gmail.com>
|
|
5
|
+
* {@link http://www.phpied.com/rgb-color-parser-in-javascript/}
|
|
6
|
+
* @license Use it if you like it
|
|
7
|
+
*/function og(t){var A;t=t||"",this.ok=!1,t.charAt(0)=="#"&&(t=t.substr(1,6)),t={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"}[t=(t=t.replace(/ /g,"")).toLowerCase()]||t;for(var e=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(a){return[parseInt(a[1]),parseInt(a[2]),parseInt(a[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(a){return[parseInt(a[1],16),parseInt(a[2],16),parseInt(a[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(a){return[parseInt(a[1]+a[1],16),parseInt(a[2]+a[2],16),parseInt(a[3]+a[3],16)]}}],r=0;r<e.length;r++){var n=e[r].re,i=e[r].process,s=n.exec(t);s&&(A=i(s),this.r=A[0],this.g=A[1],this.b=A[2],this.ok=!0)}this.r=this.r<0||isNaN(this.r)?0:this.r>255?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 a=this.r.toString(16),l=this.g.toString(16),u=this.b.toString(16);return a.length==1&&(a="0"+a),l.length==1&&(l="0"+l),u.length==1&&(u="0"+u),"#"+a+l+u}}var Fo=YA.atob.bind(YA),rh=YA.btoa.bind(YA);/**
|
|
8
|
+
* @license
|
|
9
|
+
* Joseph Myers does not specify a particular license for his work.
|
|
10
|
+
*
|
|
11
|
+
* Author: Joseph Myers
|
|
12
|
+
* Accessed from: http://www.myersdaily.org/joseph/javascript/md5.js
|
|
13
|
+
*
|
|
14
|
+
* Modified by: Owen Leong
|
|
15
|
+
*/function ru(t,A){var e=t[0],r=t[1],n=t[2],i=t[3];e=Lt(e,r,n,i,A[0],7,-680876936),i=Lt(i,e,r,n,A[1],12,-389564586),n=Lt(n,i,e,r,A[2],17,606105819),r=Lt(r,n,i,e,A[3],22,-1044525330),e=Lt(e,r,n,i,A[4],7,-176418897),i=Lt(i,e,r,n,A[5],12,1200080426),n=Lt(n,i,e,r,A[6],17,-1473231341),r=Lt(r,n,i,e,A[7],22,-45705983),e=Lt(e,r,n,i,A[8],7,1770035416),i=Lt(i,e,r,n,A[9],12,-1958414417),n=Lt(n,i,e,r,A[10],17,-42063),r=Lt(r,n,i,e,A[11],22,-1990404162),e=Lt(e,r,n,i,A[12],7,1804603682),i=Lt(i,e,r,n,A[13],12,-40341101),n=Lt(n,i,e,r,A[14],17,-1502002290),e=xt(e,r=Lt(r,n,i,e,A[15],22,1236535329),n,i,A[1],5,-165796510),i=xt(i,e,r,n,A[6],9,-1069501632),n=xt(n,i,e,r,A[11],14,643717713),r=xt(r,n,i,e,A[0],20,-373897302),e=xt(e,r,n,i,A[5],5,-701558691),i=xt(i,e,r,n,A[10],9,38016083),n=xt(n,i,e,r,A[15],14,-660478335),r=xt(r,n,i,e,A[4],20,-405537848),e=xt(e,r,n,i,A[9],5,568446438),i=xt(i,e,r,n,A[14],9,-1019803690),n=xt(n,i,e,r,A[3],14,-187363961),r=xt(r,n,i,e,A[8],20,1163531501),e=xt(e,r,n,i,A[13],5,-1444681467),i=xt(i,e,r,n,A[2],9,-51403784),n=xt(n,i,e,r,A[7],14,1735328473),e=It(e,r=xt(r,n,i,e,A[12],20,-1926607734),n,i,A[5],4,-378558),i=It(i,e,r,n,A[8],11,-2022574463),n=It(n,i,e,r,A[11],16,1839030562),r=It(r,n,i,e,A[14],23,-35309556),e=It(e,r,n,i,A[1],4,-1530992060),i=It(i,e,r,n,A[4],11,1272893353),n=It(n,i,e,r,A[7],16,-155497632),r=It(r,n,i,e,A[10],23,-1094730640),e=It(e,r,n,i,A[13],4,681279174),i=It(i,e,r,n,A[0],11,-358537222),n=It(n,i,e,r,A[3],16,-722521979),r=It(r,n,i,e,A[6],23,76029189),e=It(e,r,n,i,A[9],4,-640364487),i=It(i,e,r,n,A[12],11,-421815835),n=It(n,i,e,r,A[15],16,530742520),e=St(e,r=It(r,n,i,e,A[2],23,-995338651),n,i,A[0],6,-198630844),i=St(i,e,r,n,A[7],10,1126891415),n=St(n,i,e,r,A[14],15,-1416354905),r=St(r,n,i,e,A[5],21,-57434055),e=St(e,r,n,i,A[12],6,1700485571),i=St(i,e,r,n,A[3],10,-1894986606),n=St(n,i,e,r,A[10],15,-1051523),r=St(r,n,i,e,A[1],21,-2054922799),e=St(e,r,n,i,A[8],6,1873313359),i=St(i,e,r,n,A[15],10,-30611744),n=St(n,i,e,r,A[6],15,-1560198380),r=St(r,n,i,e,A[13],21,1309151649),e=St(e,r,n,i,A[4],6,-145523070),i=St(i,e,r,n,A[11],10,-1120210379),n=St(n,i,e,r,A[2],15,718787259),r=St(r,n,i,e,A[9],21,-343485551),t[0]=Nn(e,t[0]),t[1]=Nn(r,t[1]),t[2]=Nn(n,t[2]),t[3]=Nn(i,t[3])}function Xo(t,A,e,r,n,i){return A=Nn(Nn(A,t),Nn(r,i)),Nn(A<<n|A>>>32-n,e)}function Lt(t,A,e,r,n,i,s){return Xo(A&e|~A&r,t,A,n,i,s)}function xt(t,A,e,r,n,i,s){return Xo(A&r|e&~r,t,A,n,i,s)}function It(t,A,e,r,n,i,s){return Xo(A^e^r,t,A,n,i,s)}function St(t,A,e,r,n,i,s){return Xo(e^(A|~r),t,A,n,i,s)}function lg(t){var A,e=t.length,r=[1732584193,-271733879,-1732584194,271733878];for(A=64;A<=t.length;A+=64)ru(r,E2(t.substring(A-64,A)));t=t.substring(A-64);var n=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(A=0;A<t.length;A++)n[A>>2]|=t.charCodeAt(A)<<(A%4<<3);if(n[A>>2]|=128<<(A%4<<3),A>55)for(ru(r,n),A=0;A<16;A++)n[A]=0;return n[14]=8*e,ru(r,n),r}function E2(t){var A,e=[];for(A=0;A<64;A+=4)e[A>>2]=t.charCodeAt(A)+(t.charCodeAt(A+1)<<8)+(t.charCodeAt(A+2)<<16)+(t.charCodeAt(A+3)<<24);return e}var nh="0123456789abcdef".split("");function L2(t){for(var A="",e=0;e<4;e++)A+=nh[t>>8*e+4&15]+nh[t>>8*e&15];return A}function x2(t){return String.fromCharCode(255&t,(65280&t)>>8,(16711680&t)>>16,(4278190080&t)>>24)}function Ru(t){return lg(t).map(x2).join("")}var I2=(function(t){for(var A=0;A<t.length;A++)t[A]=L2(t[A]);return t.join("")})(lg("hello"))!="5d41402abc4b2a76b9719d911017c592";function Nn(t,A){if(I2){var e=(65535&t)+(65535&A);return(t>>16)+(A>>16)+(e>>16)<<16|65535&e}return t+A&4294967295}/**
|
|
16
|
+
* @license
|
|
17
|
+
* FPDF is released under a permissive license: there is no usage restriction.
|
|
18
|
+
* You may embed it freely in your application (commercial or not), with or
|
|
19
|
+
* without modifications.
|
|
20
|
+
*
|
|
21
|
+
* Reference: http://www.fpdf.org/en/script/script37.php
|
|
22
|
+
*/function Ku(t,A){var e,r,n,i;if(t!==e){for(var s=(n=t,i=1+(256/t.length|0),new Array(i+1).join(n)),a=[],l=0;l<256;l++)a[l]=l;var u=0;for(l=0;l<256;l++){var c=a[l];u=(u+c+s.charCodeAt(l))%256,a[l]=a[u],a[u]=c}e=t,r=a}else a=r;var B=A.length,w=0,g=0,C="";for(l=0;l<B;l++)g=(g+(c=a[w=(w+1)%256]))%256,a[w]=a[g],a[g]=c,s=a[(a[w]+a[g])%256],C+=String.fromCharCode(A.charCodeAt(l)^s);return C}/**
|
|
23
|
+
* @license
|
|
24
|
+
* Licensed under the MIT License.
|
|
25
|
+
* http://opensource.org/licenses/mit-license
|
|
26
|
+
* Author: Owen Leong (@owenl131)
|
|
27
|
+
* Date: 15 Oct 2020
|
|
28
|
+
* References:
|
|
29
|
+
* https://www.cs.cmu.edu/~dst/Adobe/Gallery/anon21jul01-pdf-encryption.txt
|
|
30
|
+
* https://github.com/foliojs/pdfkit/blob/master/lib/security.js
|
|
31
|
+
* http://www.fpdf.org/en/script/script37.php
|
|
32
|
+
*/var ih={print:4,modify:8,copy:16,"annot-forms":32};function zi(t,A,e,r){this.v=1,this.r=2;var n=192;t.forEach(function(a){if(ih.perm!==void 0)throw new Error("Invalid permission: "+a);n+=ih[a]}),this.padding="(¿N^NuAd\0NVÿú\b..\0¶Ðh>/\f©þdSiz";var i=(A+this.padding).substr(0,32),s=(e+this.padding).substr(0,32);this.O=this.processOwnerPassword(i,s),this.P=-(1+(255^n)),this.encryptionKey=Ru(i+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(r)).substr(0,5),this.U=Ku(this.encryptionKey,this.padding)}function Yi(t){if(/[^\u0000-\u00ff]/.test(t))throw new Error("Invalid PDF Name Object: "+t+", Only accept ASCII characters.");for(var A="",e=t.length,r=0;r<e;r++){var n=t.charCodeAt(r);A+=n<33||n===35||n===37||n===40||n===41||n===47||n===60||n===62||n===91||n===93||n===123||n===125||n>126?"#"+("0"+n.toString(16)).slice(-2):t[r]}return A}function ah(t){if(be(t)!=="object")throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var A={};this.subscribe=function(e,r,n){if(n=n||!1,typeof e!="string"||typeof r!="function"||typeof n!="boolean")throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");A.hasOwnProperty(e)||(A[e]={});var i=Math.random().toString(35);return A[e][i]=[r,!!n],i},this.unsubscribe=function(e){for(var r in A)if(A[r][e])return delete A[r][e],Object.keys(A[r]).length===0&&delete A[r],!0;return!1},this.publish=function(e){if(A.hasOwnProperty(e)){var r=Array.prototype.slice.call(arguments,1),n=[];for(var i in A[e]){var s=A[e][i];try{s[0].apply(t,r)}catch(a){YA.console&&Ie.error("jsPDF PubSub Error",a.message,a)}s[1]&&n.push(i)}n.length&&n.forEach(this.unsubscribe)}},this.getTopics=function(){return A}}function No(t){if(!(this instanceof No))return new No(t);var A="opacity,stroke-opacity".split(",");for(var e in t)t.hasOwnProperty(e)&&A.indexOf(e)>=0&&(this[e]=t[e]);this.id="",this.objectNumber=-1}function ug(t,A){this.gState=t,this.matrix=A,this.id="",this.objectNumber=-1}function oi(t,A,e,r,n){if(!(this instanceof oi))return new oi(t,A,e,r,n);this.type=t==="axial"?2:3,this.coords=A,this.colors=e,ug.call(this,r,n)}function Aa(t,A,e,r,n){if(!(this instanceof Aa))return new Aa(t,A,e,r,n);this.boundingBox=t,this.xStep=A,this.yStep=e,this.stream="",this.cloneIndex=0,ug.call(this,r,n)}function MA(t){var A,e=typeof arguments[0]=="string"?arguments[0]:"p",r=arguments[1],n=arguments[2],i=arguments[3],s=[],a=1,l=16,u="S",c=null;be(t=t||{})==="object"&&(e=t.orientation,r=t.unit||r,n=t.format||n,i=t.compress||t.compressPdf||i,(c=t.encryption||null)!==null&&(c.userPassword=c.userPassword||"",c.ownerPassword=c.ownerPassword||"",c.userPermissions=c.userPermissions||[]),a=typeof t.userUnit=="number"?Math.abs(t.userUnit):1,t.precision!==void 0&&(A=t.precision),t.floatPrecision!==void 0&&(l=t.floatPrecision),u=t.defaultPathOperation||"S"),s=t.filters||(i===!0?["FlateEncode"]:s),r=r||"mm",e=(""+(e||"P")).toLowerCase();var B=t.putOnlyUsedFonts||!1,w={},g={internal:{},__private__:{}};g.__private__.PubSub=ah;var C="1.3",Q=g.__private__.getPdfVersion=function(){return C};g.__private__.setPdfVersion=function(h){C=h};var x={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]};g.__private__.getPageFormats=function(){return x};var F=g.__private__.getPageFormat=function(h){return x[h]};n=n||"a4";var k="compat",K="advanced",P=k;function z(){this.saveGraphicsState(),H(new XA(ne,0,0,-ne,0,Wn()*ne).toString()+" cm"),this.setFontSize(this.getFontSize()/ne),u="n",P=K}function Z(){this.restoreGraphicsState(),u="S",P=k}var iA=g.__private__.combineFontStyleAndFontWeight=function(h,v){if(h=="bold"&&v=="normal"||h=="bold"&&v==400||h=="normal"&&v=="italic"||h=="bold"&&v=="italic")throw new Error("Invalid Combination of fontweight and fontstyle");return v&&(h=v==400||v==="normal"?h==="italic"?"italic":"normal":v!=700&&v!=="bold"||h!=="normal"?(v==700?"bold":v)+""+h:"bold"),h};g.advancedAPI=function(h){var v=P===k;return v&&z.call(this),typeof h!="function"||(h(this),v&&Z.call(this)),this},g.compatAPI=function(h){var v=P===K;return v&&Z.call(this),typeof h!="function"||(h(this),v&&z.call(this)),this},g.isAdvancedAPI=function(){return P===K};var V,N=function(h){if(P!==K)throw new Error(h+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},$=g.roundToPrecision=g.__private__.roundToPrecision=function(h,v){var _=A||v;if(isNaN(h)||isNaN(_))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return h.toFixed(_).replace(/0+$/,"")};V=g.hpf=g.__private__.hpf=typeof l=="number"?function(h){if(isNaN(h))throw new Error("Invalid argument passed to jsPDF.hpf");return $(h,l)}:l==="smart"?function(h){if(isNaN(h))throw new Error("Invalid argument passed to jsPDF.hpf");return $(h,h>-1&&h<1?16:5)}:function(h){if(isNaN(h))throw new Error("Invalid argument passed to jsPDF.hpf");return $(h,16)};var E=g.f2=g.__private__.f2=function(h){if(isNaN(h))throw new Error("Invalid argument passed to jsPDF.f2");return $(h,2)},S=g.__private__.f3=function(h){if(isNaN(h))throw new Error("Invalid argument passed to jsPDF.f3");return $(h,3)},R=g.scale=g.__private__.scale=function(h){if(isNaN(h))throw new Error("Invalid argument passed to jsPDF.scale");return P===k?h*ne:P===K?h:void 0},G=function(h){return R((function(v){return P===k?Wn()-v:P===K?v:void 0})(h))};g.__private__.setPrecision=g.setPrecision=function(h){typeof parseInt(h,10)=="number"&&(A=parseInt(h,10))};var aA,sA="00000000000000000000000000000000",oA=g.__private__.getFileId=function(){return sA},tA=g.__private__.setFileId=function(h){return sA=h!==void 0&&/^[a-fA-F0-9]{32}$/.test(h)?h.toUpperCase():sA.split("").map(function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))}).join(""),c!==null&&(pt=new zi(c.userPermissions,c.userPassword,c.ownerPassword,sA)),sA};g.setFileId=function(h){return tA(h),this},g.getFileId=function(){return oA()};var lA=g.__private__.convertDateToPDFDate=function(h){var v=h.getTimezoneOffset(),_=v<0?"+":"-",j=Math.floor(Math.abs(v/60)),Y=Math.abs(v%60),cA=[_,M(j),"'",M(Y),"'"].join("");return["D:",h.getFullYear(),M(h.getMonth()+1),M(h.getDate()),M(h.getHours()),M(h.getMinutes()),M(h.getSeconds()),cA].join("")},FA=g.__private__.convertPDFDateToDate=function(h){var v=parseInt(h.substr(2,4),10),_=parseInt(h.substr(6,2),10)-1,j=parseInt(h.substr(8,2),10),Y=parseInt(h.substr(10,2),10),cA=parseInt(h.substr(12,2),10),wA=parseInt(h.substr(14,2),10);return new Date(v,_,j,Y,cA,wA,0)},pA=g.__private__.setCreationDate=function(h){var v;if(h===void 0&&(h=new Date),h instanceof Date)v=lA(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");v=h}return aA=v},b=g.__private__.getCreationDate=function(h){var v=aA;return h==="jsDate"&&(v=FA(aA)),v};g.setCreationDate=function(h){return pA(h),this},g.getCreationDate=function(h){return b(h)};var O,M=g.__private__.padd2=function(h){return("0"+parseInt(h)).slice(-2)},q=g.__private__.padd2Hex=function(h){return("00"+(h=h.toString())).substr(h.length)},X=0,eA=[],uA=[],fA=0,BA=[],yA=[],LA=!1,UA=uA;g.__private__.setCustomOutputDestination=function(h){LA=!0,UA=h};var RA=function(h){LA||(UA=h)};g.__private__.resetCustomOutputDestination=function(){LA=!1,UA=uA};var H=g.__private__.out=function(h){return h=h.toString(),fA+=h.length+1,UA.push(h),UA},bA=g.__private__.write=function(h){return H(arguments.length===1?h.toString():Array.prototype.join.call(arguments," "))},se=g.__private__.getArrayBuffer=function(h){for(var v=h.length,_=new ArrayBuffer(v),j=new Uint8Array(_);v--;)j[v]=h.charCodeAt(v);return _},VA=[["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]];g.__private__.getStandardFonts=function(){return VA};var mA=t.fontSize||16;g.__private__.setFontSize=g.setFontSize=function(h){return mA=P===K?h/ne:h,this};var qA,SA=g.__private__.getFontSize=g.getFontSize=function(){return P===k?mA:mA*ne},jA=t.R2L||!1;g.__private__.setR2L=g.setR2L=function(h){return jA=h,this},g.__private__.getR2L=g.getR2L=function(){return jA};var KA,me=g.__private__.setZoomMode=function(h){if(/^(?:\d+\.\d*|\d*\.\d+|\d+)%$/.test(h))qA=h;else if(isNaN(h)){if([void 0,null,"fullwidth","fullheight","fullpage","original"].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.');qA=h}else qA=parseInt(h,10)};g.__private__.getZoomMode=function(){return qA};var fe,Ae=g.__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.');KA=h};g.__private__.getPageMode=function(){return KA};var ge=g.__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.');fe=h};g.__private__.getLayoutMode=function(){return fe},g.__private__.setDisplayMode=g.setDisplayMode=function(h,v,_){return me(h),ge(v),Ae(_),this};var ce={title:"",subject:"",author:"",keywords:"",creator:""};g.__private__.getDocumentProperty=function(h){if(Object.keys(ce).indexOf(h)===-1)throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return ce[h]},g.__private__.getDocumentProperties=function(){return ce},g.__private__.setDocumentProperties=g.setProperties=g.setDocumentProperties=function(h){for(var v in ce)ce.hasOwnProperty(v)&&h[v]&&(ce[v]=h[v]);return this},g.__private__.setDocumentProperty=function(h,v){if(Object.keys(ce).indexOf(h)===-1)throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return ce[h]=v};var kA,ne,OA,Je,we,oe={},le={},Oe=[],GA={},Se={},JA={},ee={},Me=null,ue=0,WA=[],Ce=new ah(g),Rn=t.hotfixes||[],yt={},Gr={},Ur=[],XA=function h(v,_,j,Y,cA,wA){if(!(this instanceof h))return new h(v,_,j,Y,cA,wA);isNaN(v)&&(v=1),isNaN(_)&&(_=0),isNaN(j)&&(j=0),isNaN(Y)&&(Y=1),isNaN(cA)&&(cA=0),isNaN(wA)&&(wA=0),this._matrix=[v,_,j,Y,cA,wA]};Object.defineProperty(XA.prototype,"sx",{get:function(){return this._matrix[0]},set:function(h){this._matrix[0]=h}}),Object.defineProperty(XA.prototype,"shy",{get:function(){return this._matrix[1]},set:function(h){this._matrix[1]=h}}),Object.defineProperty(XA.prototype,"shx",{get:function(){return this._matrix[2]},set:function(h){this._matrix[2]=h}}),Object.defineProperty(XA.prototype,"sy",{get:function(){return this._matrix[3]},set:function(h){this._matrix[3]=h}}),Object.defineProperty(XA.prototype,"tx",{get:function(){return this._matrix[4]},set:function(h){this._matrix[4]=h}}),Object.defineProperty(XA.prototype,"ty",{get:function(){return this._matrix[5]},set:function(h){this._matrix[5]=h}}),Object.defineProperty(XA.prototype,"a",{get:function(){return this._matrix[0]},set:function(h){this._matrix[0]=h}}),Object.defineProperty(XA.prototype,"b",{get:function(){return this._matrix[1]},set:function(h){this._matrix[1]=h}}),Object.defineProperty(XA.prototype,"c",{get:function(){return this._matrix[2]},set:function(h){this._matrix[2]=h}}),Object.defineProperty(XA.prototype,"d",{get:function(){return this._matrix[3]},set:function(h){this._matrix[3]=h}}),Object.defineProperty(XA.prototype,"e",{get:function(){return this._matrix[4]},set:function(h){this._matrix[4]=h}}),Object.defineProperty(XA.prototype,"f",{get:function(){return this._matrix[5]},set:function(h){this._matrix[5]=h}}),Object.defineProperty(XA.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(XA.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(XA.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(XA.prototype,"isIdentity",{get:function(){return this.sx===1&&this.shy===0&&this.shx===0&&this.sy===1&&this.tx===0&&this.ty===0}}),XA.prototype.join=function(h){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(V).join(h)},XA.prototype.multiply=function(h){var v=h.sx*this.sx+h.shy*this.shx,_=h.sx*this.shy+h.shy*this.sy,j=h.shx*this.sx+h.sy*this.shx,Y=h.shx*this.shy+h.sy*this.sy,cA=h.tx*this.sx+h.ty*this.shx+this.tx,wA=h.tx*this.shy+h.ty*this.sy+this.ty;return new XA(v,_,j,Y,cA,wA)},XA.prototype.decompose=function(){var h=this.sx,v=this.shy,_=this.shx,j=this.sy,Y=this.tx,cA=this.ty,wA=Math.sqrt(h*h+v*v),_A=(h/=wA)*_+(v/=wA)*j;_-=h*_A,j-=v*_A;var NA=Math.sqrt(_*_+j*j);return _A/=NA,h*(j/=NA)<v*(_/=NA)&&(h=-h,v=-v,_A=-_A,wA=-wA),{scale:new XA(wA,0,0,NA,0,0),translate:new XA(1,0,0,1,Y,cA),rotate:new XA(h,v,-v,h,0,0),skew:new XA(1,0,_A,1,0,0)}},XA.prototype.toString=function(h){return this.join(" ")},XA.prototype.inversed=function(){var h=this.sx,v=this.shy,_=this.shx,j=this.sy,Y=this.tx,cA=this.ty,wA=1/(h*j-v*_),_A=j*wA,NA=-v*wA,ZA=-_*wA,te=h*wA;return new XA(_A,NA,ZA,te,-_A*Y-ZA*cA,-NA*Y-te*cA)},XA.prototype.applyToPoint=function(h){var v=h.x*this.sx+h.y*this.shx+this.tx,_=h.x*this.shy+h.y*this.sy+this.ty;return new qn(v,_)},XA.prototype.applyToRectangle=function(h){var v=this.applyToPoint(h),_=this.applyToPoint(new qn(h.x+h.w,h.y+h.h));return new va(v.x,v.y,_.x-v.x,_.y-v.y)},XA.prototype.clone=function(){var h=this.sx,v=this.shy,_=this.shx,j=this.sy,Y=this.tx,cA=this.ty;return new XA(h,v,_,j,Y,cA)},g.Matrix=XA;var jr=g.matrixMult=function(h,v){return v.multiply(h)},Vr=new XA(1,0,0,1,0,0);g.unitMatrix=g.identityMatrix=Vr;var er=function(h,v){if(!Se[h]){var _=(v instanceof oi?"Sh":"P")+(Object.keys(GA).length+1).toString(10);v.id=_,Se[h]=_,GA[_]=v,Ce.publish("addPattern",v)}};g.ShadingPattern=oi,g.TilingPattern=Aa,g.addShadingPattern=function(h,v){return N("addShadingPattern()"),er(h,v),this},g.beginTilingPattern=function(h){N("beginTilingPattern()"),ma(h.boundingBox[0],h.boundingBox[1],h.boundingBox[2]-h.boundingBox[0],h.boundingBox[3]-h.boundingBox[1],h.matrix)},g.endTilingPattern=function(h,v){N("endTilingPattern()"),v.stream=yA[O].join(`
|
|
33
|
+
`),er(h,v),Ce.publish("endTilingPattern",v),Ur.pop().restore()};var tr,Ve=g.__private__.newObject=function(){var h=ht();return Bt(h,!0),h},ht=g.__private__.newObjectDeferred=function(){return X++,eA[X]=function(){return fA},X},Bt=function(h,v){return v=typeof v=="boolean"&&v,eA[h]=fA,v&&H(h+" 0 obj"),h},Kn=g.__private__.newAdditionalObject=function(){var h={objId:ht(),content:""};return BA.push(h),h},hn=ht(),hr=ht(),Er=g.__private__.decodeColorString=function(h){var v=h.split(" ");if(v.length!==2||v[1]!=="g"&&v[1]!=="G")v.length!==5||v[4]!=="k"&&v[4]!=="K"||(v=[(1-v[0])*(1-v[3]),(1-v[1])*(1-v[3]),(1-v[2])*(1-v[3]),"r"]);else{var _=parseFloat(v[0]);v=[_,_,_,"r"]}for(var j="#",Y=0;Y<3;Y++)j+=("0"+Math.floor(255*parseFloat(v[Y])).toString(16)).slice(-2);return j},gr=g.__private__.encodeColorString=function(h){var v;typeof h=="string"&&(h={ch1:h});var _=h.ch1,j=h.ch2,Y=h.ch3,cA=h.ch4,wA=h.pdfColorType==="draw"?["G","RG","K"]:["g","rg","k"];if(typeof _=="string"&&_.charAt(0)!=="#"){var _A=new og(_);if(_A.ok)_=_A.toHex();else if(!/^\d*\.?\d*$/.test(_))throw new Error('Invalid color "'+_+'" passed to jsPDF.encodeColorString.')}if(typeof _=="string"&&/^#[0-9A-Fa-f]{3}$/.test(_)&&(_="#"+_[1]+_[1]+_[2]+_[2]+_[3]+_[3]),typeof _=="string"&&/^#[0-9A-Fa-f]{6}$/.test(_)){var NA=parseInt(_.substr(1),16);_=NA>>16&255,j=NA>>8&255,Y=255&NA}if(j===void 0||cA===void 0&&_===j&&j===Y)v=typeof _=="string"?_+" "+wA[0]:h.precision===2?E(_/255)+" "+wA[0]:S(_/255)+" "+wA[0];else if(cA===void 0||be(cA)==="object"){if(cA&&!isNaN(cA.a)&&cA.a===0)return["1.","1.","1.",wA[1]].join(" ");v=typeof _=="string"?[_,j,Y,wA[1]].join(" "):h.precision===2?[E(_/255),E(j/255),E(Y/255),wA[1]].join(" "):[S(_/255),S(j/255),S(Y/255),wA[1]].join(" ")}else v=typeof _=="string"?[_,j,Y,cA,wA[2]].join(" "):h.precision===2?[E(_),E(j),E(Y),E(cA),wA[2]].join(" "):[S(_),S(j),S(Y),S(cA),wA[2]].join(" ");return v},dr=g.__private__.getFilters=function(){return s},rr=g.__private__.putStream=function(h){var v=(h=h||{}).data||"",_=h.filters||dr(),j=h.alreadyAppliedFilters||[],Y=h.addLength1||!1,cA=v.length,wA=h.objectId,_A=function(Te){return Te};if(c!==null&&wA===void 0)throw new Error("ObjectId must be passed to putStream for file encryption");c!==null&&(_A=pt.encryptor(wA,0));var NA={};_===!0&&(_=["FlateEncode"]);var ZA=h.additionalKeyValues||[],te=(NA=MA.API.processDataByFilters!==void 0?MA.API.processDataByFilters(v,_):{data:v,reverseChain:[]}).reverseChain+(Array.isArray(j)?j.join(" "):j.toString());if(NA.data.length!==0&&(ZA.push({key:"Length",value:NA.data.length}),Y===!0&&ZA.push({key:"Length1",value:cA})),te.length!=0)if(te.split("/").length-1==1)ZA.push({key:"Filter",value:te});else{ZA.push({key:"Filter",value:"["+te+"]"});for(var Be=0;Be<ZA.length;Be+=1)if(ZA[Be].key==="DecodeParms"){for(var it=[],Le=0;Le<NA.reverseChain.split("/").length-1;Le+=1)it.push("null");it.push(ZA[Be].value),ZA[Be].value="["+it.join(" ")+"]"}}H("<<");for(var Ue=0;Ue<ZA.length;Ue++)H("/"+ZA[Ue].key+" "+ZA[Ue].value);H(">>"),NA.data.length!==0&&(H("stream"),H(_A(NA.data)),H("endstream"))},Gn=g.__private__.putPage=function(h){var v=h.number,_=h.data,j=h.objId,Y=h.contentsObjId;Bt(j,!0),H("<</Type /Page"),H("/Parent "+h.rootDictionaryObjId+" 0 R"),H("/Resources "+h.resourceDictionaryObjId+" 0 R"),H("/MediaBox ["+parseFloat(V(h.mediaBox.bottomLeftX))+" "+parseFloat(V(h.mediaBox.bottomLeftY))+" "+V(h.mediaBox.topRightX)+" "+V(h.mediaBox.topRightY)+"]"),h.cropBox!==null&&H("/CropBox ["+V(h.cropBox.bottomLeftX)+" "+V(h.cropBox.bottomLeftY)+" "+V(h.cropBox.topRightX)+" "+V(h.cropBox.topRightY)+"]"),h.bleedBox!==null&&H("/BleedBox ["+V(h.bleedBox.bottomLeftX)+" "+V(h.bleedBox.bottomLeftY)+" "+V(h.bleedBox.topRightX)+" "+V(h.bleedBox.topRightY)+"]"),h.trimBox!==null&&H("/TrimBox ["+V(h.trimBox.bottomLeftX)+" "+V(h.trimBox.bottomLeftY)+" "+V(h.trimBox.topRightX)+" "+V(h.trimBox.topRightY)+"]"),h.artBox!==null&&H("/ArtBox ["+V(h.artBox.bottomLeftX)+" "+V(h.artBox.bottomLeftY)+" "+V(h.artBox.topRightX)+" "+V(h.artBox.topRightY)+"]"),typeof h.userUnit=="number"&&h.userUnit!==1&&H("/UserUnit "+h.userUnit),Ce.publish("putPage",{objId:j,pageContext:WA[v],pageNumber:v,page:_}),H("/Contents "+Y+" 0 R"),H(">>"),H("endobj");var cA=_.join(`
|
|
34
|
+
`);return P===K&&(cA+=`
|
|
35
|
+
Q`),Bt(Y,!0),rr({data:cA,filters:dr(),objectId:Y}),H("endobj"),j},Lr=g.__private__.putPages=function(){var h,v,_=[];for(h=1;h<=ue;h++)WA[h].objId=ht(),WA[h].contentsObjId=ht();for(h=1;h<=ue;h++)_.push(Gn({number:h,data:yA[h],objId:WA[h].objId,contentsObjId:WA[h].contentsObjId,mediaBox:WA[h].mediaBox,cropBox:WA[h].cropBox,bleedBox:WA[h].bleedBox,trimBox:WA[h].trimBox,artBox:WA[h].artBox,userUnit:WA[h].userUnit,rootDictionaryObjId:hn,resourceDictionaryObjId:hr}));Bt(hn,!0),H("<</Type /Pages");var j="/Kids [";for(v=0;v<ue;v++)j+=_[v]+" 0 R ";H(j+"]"),H("/Count "+ue),H(">>"),H("endobj"),Ce.publish("postPutPages")},jn=function(h){Ce.publish("putFont",{font:h,out:H,newObject:Ve,putStream:rr}),h.isAlreadyPutted!==!0&&(h.objectNumber=Ve(),H("<<"),H("/Type /Font"),H("/BaseFont /"+Yi(h.postScriptName)),H("/Subtype /Type1"),typeof h.encoding=="string"&&H("/Encoding /"+h.encoding),H("/FirstChar 32"),H("/LastChar 255"),H(">>"),H("endobj"))},vi=function(h){h.objectNumber=Ve();var v=[];v.push({key:"Type",value:"/XObject"}),v.push({key:"Subtype",value:"/Form"}),v.push({key:"BBox",value:"["+[V(h.x),V(h.y),V(h.x+h.width),V(h.y+h.height)].join(" ")+"]"}),v.push({key:"Matrix",value:"["+h.matrix.toString()+"]"});var _=h.pages[1].join(`
|
|
36
|
+
`);rr({data:_,additionalKeyValues:v,objectId:h.objectNumber}),H("endobj")},mi=function(h,v){v||(v=21);var _=Ve(),j=(function(wA,_A){var NA,ZA=[],te=1/(_A-1);for(NA=0;NA<1;NA+=te)ZA.push(NA);if(ZA.push(1),wA[0].offset!=0){var Be={offset:0,color:wA[0].color};wA.unshift(Be)}if(wA[wA.length-1].offset!=1){var it={offset:1,color:wA[wA.length-1].color};wA.push(it)}for(var Le="",Ue=0,Te=0;Te<ZA.length;Te++){for(NA=ZA[Te];NA>wA[Ue+1].offset;)Ue++;var Ge=wA[Ue].offset,je=(NA-Ge)/(wA[Ue+1].offset-Ge),Qt=wA[Ue].color,Yr=wA[Ue+1].color;Le+=q(Math.round((1-je)*Qt[0]+je*Yr[0]).toString(16))+q(Math.round((1-je)*Qt[1]+je*Yr[1]).toString(16))+q(Math.round((1-je)*Qt[2]+je*Yr[2]).toString(16))}return Le.trim()})(h.colors,v),Y=[];Y.push({key:"FunctionType",value:"0"}),Y.push({key:"Domain",value:"[0.0 1.0]"}),Y.push({key:"Size",value:"["+v+"]"}),Y.push({key:"BitsPerSample",value:"8"}),Y.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),Y.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),rr({data:j,additionalKeyValues:Y,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:_}),H("endobj"),h.objectNumber=Ve(),H("<< /ShadingType "+h.type),H("/ColorSpace /DeviceRGB");var cA="/Coords ["+V(parseFloat(h.coords[0]))+" "+V(parseFloat(h.coords[1]))+" ";h.type===2?cA+=V(parseFloat(h.coords[2]))+" "+V(parseFloat(h.coords[3])):cA+=V(parseFloat(h.coords[2]))+" "+V(parseFloat(h.coords[3]))+" "+V(parseFloat(h.coords[4]))+" "+V(parseFloat(h.coords[5])),H(cA+="]"),h.matrix&&H("/Matrix ["+h.matrix.toString()+"]"),H("/Function "+_+" 0 R"),H("/Extend [true true]"),H(">>"),H("endobj")},Ci=function(h,v){var _=ht(),j=Ve();v.push({resourcesOid:_,objectOid:j}),h.objectNumber=j;var Y=[];Y.push({key:"Type",value:"/Pattern"}),Y.push({key:"PatternType",value:"1"}),Y.push({key:"PaintType",value:"1"}),Y.push({key:"TilingType",value:"1"}),Y.push({key:"BBox",value:"["+h.boundingBox.map(V).join(" ")+"]"}),Y.push({key:"XStep",value:V(h.xStep)}),Y.push({key:"YStep",value:V(h.yStep)}),Y.push({key:"Resources",value:_+" 0 R"}),h.matrix&&Y.push({key:"Matrix",value:"["+h.matrix.toString()+"]"}),rr({data:h.stream,additionalKeyValues:Y,objectId:h.objectNumber}),H("endobj")},al=function(h){for(var v in h.objectNumber=Ve(),H("<<"),h)switch(v){case"opacity":H("/ca "+E(h[v]));break;case"stroke-opacity":H("/CA "+E(h[v]))}H(">>"),H("endobj")},fa=function(h){Bt(h.resourcesOid,!0),H("<<"),H("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),(function(){for(var v in H("/Font <<"),oe)oe.hasOwnProperty(v)&&(B===!1||B===!0&&w.hasOwnProperty(v))&&H("/"+v+" "+oe[v].objectNumber+" 0 R");H(">>")})(),(function(){if(Object.keys(GA).length>0){for(var v in H("/Shading <<"),GA)GA.hasOwnProperty(v)&&GA[v]instanceof oi&&GA[v].objectNumber>=0&&H("/"+v+" "+GA[v].objectNumber+" 0 R");Ce.publish("putShadingPatternDict"),H(">>")}})(),(function(v){if(Object.keys(GA).length>0){for(var _ in H("/Pattern <<"),GA)GA.hasOwnProperty(_)&&GA[_]instanceof g.TilingPattern&&GA[_].objectNumber>=0&&GA[_].objectNumber<v&&H("/"+_+" "+GA[_].objectNumber+" 0 R");Ce.publish("putTilingPatternDict"),H(">>")}})(h.objectOid),(function(){if(Object.keys(JA).length>0){var v;for(v in H("/ExtGState <<"),JA)JA.hasOwnProperty(v)&&JA[v].objectNumber>=0&&H("/"+v+" "+JA[v].objectNumber+" 0 R");Ce.publish("putGStateDict"),H(">>")}})(),(function(){for(var v in H("/XObject <<"),yt)yt.hasOwnProperty(v)&&yt[v].objectNumber>=0&&H("/"+v+" "+yt[v].objectNumber+" 0 R");Ce.publish("putXobjectDict"),H(">>")})(),H(">>"),H("endobj")},ls=function(h){le[h.fontName]=le[h.fontName]||{},le[h.fontName][h.fontStyle]=h.id},us=function(h,v,_,j,Y){var cA={id:"F"+(Object.keys(oe).length+1).toString(10),postScriptName:h,fontName:v,fontStyle:_,encoding:j,isStandardFont:Y||!1,metadata:{}};return Ce.publish("addFont",{font:cA,instance:this}),oe[cA.id]=cA,ls(cA),cA.id},nr=g.__private__.pdfEscape=g.pdfEscape=function(h,v){return(function(_,j){var Y,cA,wA,_A,NA,ZA,te,Be,it;if(wA=(j=j||{}).sourceEncoding||"Unicode",NA=j.outputEncoding,(j.autoencode||NA)&&oe[kA].metadata&&oe[kA].metadata[wA]&&oe[kA].metadata[wA].encoding&&(_A=oe[kA].metadata[wA].encoding,!NA&&oe[kA].encoding&&(NA=oe[kA].encoding),!NA&&_A.codePages&&(NA=_A.codePages[0]),typeof NA=="string"&&(NA=_A[NA]),NA)){for(te=!1,ZA=[],Y=0,cA=_.length;Y<cA;Y++)(Be=NA[_.charCodeAt(Y)])?ZA.push(String.fromCharCode(Be)):ZA.push(_[Y]),ZA[Y].charCodeAt(0)>>8&&(te=!0);_=ZA.join("")}for(Y=_.length;te===void 0&&Y!==0;)_.charCodeAt(Y-1)>>8&&(te=!0),Y--;if(!te)return _;for(ZA=j.noBOM?[]:[254,255],Y=0,cA=_.length;Y<cA;Y++){if((it=(Be=_.charCodeAt(Y))>>8)>>8)throw new Error("Character at position "+Y+" of string '"+_+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");ZA.push(it),ZA.push(Be-(it<<8))}return String.fromCharCode.apply(void 0,ZA)})(h,v).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},ca=g.__private__.beginPage=function(h){yA[++ue]=[],WA[ue]={objId:0,contentsObjId:0,userUnit:Number(a),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(h[0]),topRightY:Number(h[1])}},cs(ue),RA(yA[O])},fs=function(h,v){var _,j,Y;switch(e=v||e,typeof h=="string"&&(_=F(h.toLowerCase()),Array.isArray(_)&&(j=_[0],Y=_[1])),Array.isArray(h)&&(j=h[0]*ne,Y=h[1]*ne),isNaN(j)&&(j=n[0],Y=n[1]),(j>14400||Y>14400)&&(Ie.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),j=Math.min(14400,j),Y=Math.min(14400,Y)),n=[j,Y],e.substr(0,1)){case"l":Y>j&&(n=[Y,j]);break;case"p":j>Y&&(n=[Y,j])}ca(n),Bl(zA),H(Ei),pa!==0&&H(pa+" J"),Bn!==0&&H(Bn+" j"),Ce.publish("addPage",{pageNumber:ue})},ha=function(h){h>0&&h<=ue&&(yA.splice(h,1),WA.splice(h,1),ue--,O>ue&&(O=ue),this.setPage(O))},cs=function(h){h>0&&h<=ue&&(O=h)},hs=g.__private__.getNumberOfPages=g.getNumberOfPages=function(){return yA.length-1},gs=function(h,v,_){var j,Y=void 0;return _=_||{},h=h!==void 0?h:oe[kA].fontName,v=v!==void 0?v:oe[kA].fontStyle,j=h.toLowerCase(),le[j]!==void 0&&le[j][v]!==void 0?Y=le[j][v]:le[h]!==void 0&&le[h][v]!==void 0?Y=le[h][v]:_.disableWarning===!1&&Ie.warn("Unable to look up font label for font '"+h+"', '"+v+"'. Refer to getFontList() for available fonts."),Y||_.noFallback||(Y=le.times[v])==null&&(Y=le.times.normal),Y},xr=g.__private__.putInfo=function(){var h=Ve(),v=function(j){return j};for(var _ in c!==null&&(v=pt.encryptor(h,0)),H("<<"),H("/Producer ("+nr(v("jsPDF "+MA.version))+")"),ce)ce.hasOwnProperty(_)&&ce[_]&&H("/"+_.substr(0,1).toUpperCase()+_.substr(1)+" ("+nr(v(ce[_]))+")");H("/CreationDate ("+nr(v(aA))+")"),H(">>"),H("endobj")},Fi=g.__private__.putCatalog=function(h){var v=(h=h||{}).rootDictionaryObjId||hn;switch(Ve(),H("<<"),H("/Type /Catalog"),H("/Pages "+v+" 0 R"),qA||(qA="fullwidth"),qA){case"fullwidth":H("/OpenAction [3 0 R /FitH null]");break;case"fullheight":H("/OpenAction [3 0 R /FitV null]");break;case"fullpage":H("/OpenAction [3 0 R /Fit]");break;case"original":H("/OpenAction [3 0 R /XYZ null null 1]");break;default:var _=""+qA;_.substr(_.length-1)==="%"&&(qA=parseInt(qA)/100),typeof qA=="number"&&H("/OpenAction [3 0 R /XYZ null null "+E(qA)+"]")}switch(fe||(fe="continuous"),fe){case"continuous":H("/PageLayout /OneColumn");break;case"single":H("/PageLayout /SinglePage");break;case"two":case"twoleft":H("/PageLayout /TwoColumnLeft");break;case"tworight":H("/PageLayout /TwoColumnRight")}KA&&H("/PageMode /"+KA),Ce.publish("putCatalog"),H(">>"),H("endobj")},sl=g.__private__.putTrailer=function(){H("trailer"),H("<<"),H("/Size "+(X+1)),H("/Root "+X+" 0 R"),H("/Info "+(X-1)+" 0 R"),c!==null&&H("/Encrypt "+pt.oid+" 0 R"),H("/ID [ <"+sA+"> <"+sA+"> ]"),H(">>")},nt=g.__private__.putHeader=function(){H("%PDF-"+C),H("%ºß¬à")},ds=g.__private__.putXRef=function(){var h="0000000000";H("xref"),H("0 "+(X+1)),H("0000000000 65535 f ");for(var v=1;v<=X;v++)typeof eA[v]=="function"?H((h+eA[v]()).slice(-10)+" 00000 n "):eA[v]!==void 0?H((h+eA[v]).slice(-10)+" 00000 n "):H("0000000000 00000 n ")},Ir=g.__private__.buildDocument=function(){var h;X=0,fA=0,uA=[],eA=[],BA=[],hn=ht(),hr=ht(),RA(uA),Ce.publish("buildDocument"),nt(),Lr(),(function(){Ce.publish("putAdditionalObjects");for(var _=0;_<BA.length;_++){var j=BA[_];Bt(j.objId,!0),H(j.content),H("endobj")}Ce.publish("postPutAdditionalObjects")})(),h=[],(function(){for(var _ in oe)oe.hasOwnProperty(_)&&(B===!1||B===!0&&w.hasOwnProperty(_))&&jn(oe[_])})(),(function(){var _;for(_ in JA)JA.hasOwnProperty(_)&&al(JA[_])})(),(function(){for(var _ in yt)yt.hasOwnProperty(_)&&vi(yt[_])})(),(function(_){var j;for(j in GA)GA.hasOwnProperty(j)&&(GA[j]instanceof oi?mi(GA[j]):GA[j]instanceof Aa&&Ci(GA[j],_))})(h),Ce.publish("putResources"),h.forEach(fa),fa({resourcesOid:hr,objectOid:Number.MAX_SAFE_INTEGER}),Ce.publish("postPutResources"),c!==null&&(pt.oid=Ve(),H("<<"),H("/Filter /Standard"),H("/V "+pt.v),H("/R "+pt.r),H("/U <"+pt.toHexString(pt.U)+">"),H("/O <"+pt.toHexString(pt.O)+">"),H("/P "+pt.P),H(">>"),H("endobj")),xr(),Fi();var v=fA;return ds(),sl(),H("startxref"),H(""+v),H("%%EOF"),RA(yA[O]),uA.join(`
|
|
37
|
+
`)},yi=g.__private__.getBlob=function(h){return new Blob([se(h)],{type:"application/pdf"})},ga=function(h){for(;h.firstChild;)h.removeChild(h.firstChild)},Vt=function(h){var v,_=h.document,j=_.documentElement,Y=_.head,cA=_.body;return Y||(Y=_.createElement("head"),j.appendChild(Y)),cA||(cA=_.createElement("body"),j.appendChild(cA)),ga(Y),ga(cA),(v=_.createElement("style")).appendChild(_.createTextNode("html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;}")),Y.appendChild(v),{document:_,body:cA}},Qi=g.output=g.__private__.output=(tr=function(h,v){switch(typeof(v=v||{})=="string"?v={filename:v}:v.filename=v.filename||"generated.pdf",h){case void 0:return Ir();case"save":g.save(v.filename);break;case"arraybuffer":return se(Ir());case"blob":return yi(Ir());case"bloburi":case"bloburl":if(YA.URL!==void 0&&typeof YA.URL.createObjectURL=="function")return YA.URL&&YA.URL.createObjectURL(yi(Ir()))||void 0;Ie.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var _="",j=Ir();try{_=rh(j)}catch{_=rh(unescape(encodeURIComponent(j)))}return"data:application/pdf;filename="+encodeURIComponent(v.filename)+";base64,"+_;case"pdfobjectnewwindow":if(Object.prototype.toString.call(YA)==="[object Window]"){var Y="https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js",cA=!v.pdfObjectUrl;cA||(Y=v.pdfObjectUrl);var wA=YA.open();if(wA!==null){var _A=Vt(wA),NA=_A.document.createElement("script"),ZA=this;NA.src=Y,cA&&(NA.integrity="sha512-4ze/a9/4jqu+tX9dfOqJYSvyYd5M6qum/3HpCLr+/Jqf0whc37VUbkpNGHR7/8pSnCFw47T1fmIpwBV7UySh3g==",NA.crossOrigin="anonymous"),NA.onload=function(){wA.PDFObject.embed(ZA.output("dataurlstring"),v)},_A.body.appendChild(NA)}return wA}throw new Error("The option pdfobjectnewwindow just works in a browser-environment.");case"pdfjsnewwindow":if(Object.prototype.toString.call(YA)==="[object Window]"){var te=v.pdfJsUrl||"examples/PDF.js/web/viewer.html",Be=YA.open();if(Be!==null){var it=Vt(Be),Le=it.document.createElement("iframe"),Ue=te.indexOf("?")===-1?"?":"&";ZA=this,Le.id="pdfViewer",Le.width="500px",Le.height="400px",Le.src=te+Ue+"file=&downloadName="+encodeURIComponent(v.filename),Le.onload=function(){Be.document.title=v.filename,Le.contentWindow.PDFViewerApplication.open(ZA.output("bloburl"))},it.body.appendChild(Le)}return Be}throw new Error("The option pdfjsnewwindow just works in a browser-environment.");case"dataurlnewwindow":if(Object.prototype.toString.call(YA)!=="[object Window]")throw new Error("The option dataurlnewwindow just works in a browser-environment.");var Te=YA.open();if(Te!==null){var Ge=Vt(Te),je=Ge.document.createElement("iframe");je.src=this.output("datauristring",v),Ge.body.appendChild(je),Te.document.title=v.filename}if(Te||typeof safari>"u")return Te;break;case"datauri":case"dataurl":return YA.document.location.href=this.output("datauristring",v);default:return null}},tr.foo=function(){try{return tr.apply(this,arguments)}catch(_){var h=_.stack||"";~h.indexOf(" at ")&&(h=h.split(" at ")[1]);var v="Error in function "+h.split(`
|
|
38
|
+
`)[0].split("<")[0]+": "+_.message;if(!YA.console)throw new Error(v);YA.console.error(v,_),YA.alert&&alert(v)}},tr.foo.bar=tr,tr.foo),qr=function(h){return Array.isArray(Rn)===!0&&Rn.indexOf(h)>-1};switch(r){case"pt":ne=1;break;case"mm":ne=72/25.4;break;case"cm":ne=72/2.54;break;case"in":ne=72;break;case"px":ne=qr("px_scaling")==1?.75:96/72;break;case"pc":case"em":ne=12;break;case"ex":ne=6;break;default:if(typeof r!="number")throw new Error("Invalid unit: "+r);ne=r}var pt=null;pA(),tA();var Bs=g.__private__.getPageInfo=g.getPageInfo=function(h){if(isNaN(h)||h%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfo");return{objId:WA[h].objId,pageNumber:h,pageContext:WA[h]}},ol=g.__private__.getPageInfoByObjId=function(h){if(isNaN(h)||h%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfoByObjId");for(var v in WA)if(WA[v].objId===h)break;return Bs(v)},ll=g.__private__.getCurrentPageInfo=g.getCurrentPageInfo=function(){return{objId:WA[O].objId,pageNumber:O,pageContext:WA[O]}};g.addPage=function(){return fs.apply(this,arguments),this},g.setPage=function(){return cs.apply(this,arguments),RA.call(this,yA[O]),this},g.insertPage=function(h){return this.addPage(),this.movePage(O,h),this},g.movePage=function(h,v){var _,j;if(h>v){_=yA[h],j=WA[h];for(var Y=h;Y>v;Y--)yA[Y]=yA[Y-1],WA[Y]=WA[Y-1];yA[v]=_,WA[v]=j,this.setPage(v)}else if(h<v){_=yA[h],j=WA[h];for(var cA=h;cA<v;cA++)yA[cA]=yA[cA+1],WA[cA]=WA[cA+1];yA[v]=_,WA[v]=j,this.setPage(v)}return this},g.deletePage=function(){return ha.apply(this,arguments),this},g.__private__.text=g.text=function(h,v,_,j,Y){var cA,wA,_A,NA,ZA,te,Be,it,Le,Ue=(j=j||{}).scope||this;if(typeof h=="number"&&typeof v=="number"&&(typeof _=="string"||Array.isArray(_))){var Te=_;_=v,v=h,h=Te}if(arguments[3]instanceof XA==0?(_A=arguments[4],NA=arguments[5],be(Be=arguments[3])==="object"&&Be!==null||(typeof _A=="string"&&(NA=_A,_A=null),typeof Be=="string"&&(NA=Be,Be=null),typeof Be=="number"&&(_A=Be,Be=null),j={flags:Be,angle:_A,align:NA})):(N("The transform parameter of text() with a Matrix value"),Le=Y),isNaN(v)||isNaN(_)||h==null)throw new Error("Invalid arguments passed to jsPDF.text");if(h.length===0)return Ue;var Ge,je="",Qt=typeof j.lineHeightFactor=="number"?j.lineHeightFactor:Vn,Yr=Ue.internal.scaleFactor;function Ca(He){return He=He.split(" ").join(Array(j.TabLen||9).join(" ")),nr(He,Be)}function Xn(He){for(var Ne,ze=He.concat(),ot=[],$r=ze.length;$r--;)typeof(Ne=ze.shift())=="string"?ot.push(Ne):Array.isArray(He)&&(Ne.length===1||Ne[1]===void 0&&Ne[2]===void 0)?ot.push(Ne[0]):ot.push([Ne[0],Ne[1],Ne[2]]);return ot}function Jn(He,Ne){var ze;if(typeof He=="string")ze=Ne(He)[0];else if(Array.isArray(He)){for(var ot,$r,Ea=He.concat(),Oi=[],Us=Ea.length;Us--;)typeof(ot=Ea.shift())=="string"?Oi.push(Ne(ot)[0]):Array.isArray(ot)&&typeof ot[0]=="string"&&($r=Ne(ot[0],ot[1],ot[2]),Oi.push([$r[0],$r[1],$r[2]]));ze=Oi}return ze}var pn=!1,zn=!0;if(typeof h=="string")pn=!0;else if(Array.isArray(h)){var Si=h.concat();wA=[];for(var Hi,bt=Si.length;bt--;)(typeof(Hi=Si.shift())!="string"||Array.isArray(Hi)&&typeof Hi[0]!="string")&&(zn=!1);pn=zn}if(pn===!1)throw new Error('Type of text must be string or Array. "'+h+'" is not recognized.');typeof h=="string"&&(h=h.match(/[\r?\n]/)?h.split(/\r\n|\r|\n/g):[h]);var Yn=mA/Ue.internal.scaleFactor,Zn=Yn*(Qt-1);switch(j.baseline){case"bottom":_-=Zn;break;case"top":_+=Yn-Zn;break;case"hanging":_+=Yn-2*Zn;break;case"middle":_+=Yn/2-Zn}if((te=j.maxWidth||0)>0&&(typeof h=="string"?h=Ue.splitTextToSize(h,te):Object.prototype.toString.call(h)==="[object Array]"&&(h=h.reduce(function(He,Ne){return He.concat(Ue.splitTextToSize(Ne,te))},[]))),cA={text:h,x:v,y:_,options:j,mutex:{pdfEscape:nr,activeFontKey:kA,fonts:oe,activeFontSize:mA}},Ce.publish("preProcessText",cA),h=cA.text,_A=(j=cA.options).angle,Le instanceof XA==0&&_A&&typeof _A=="number"){_A*=Math.PI/180,j.rotationDirection===0&&(_A=-_A),P===K&&(_A=-_A);var Fa=Math.cos(_A),Nr=Math.sin(_A);Le=new XA(Fa,Nr,-Nr,Fa,0,0)}else _A&&_A instanceof XA&&(Le=_A);P!==K||Le||(Le=Vr),(ZA=j.charSpace||Li)!==void 0&&(je+=V(R(ZA))+` Tc
|
|
39
|
+
`,this.setCharSpace(this.getCharSpace()||0)),(it=j.horizontalScale)!==void 0&&(je+=V(100*it)+` Tz
|
|
40
|
+
`),j.lang;var _t=-1,Qs=j.renderingMode!==void 0?j.renderingMode:j.stroke,Ni=Ue.internal.getCurrentPageInfo().pageContext;switch(Qs){case 0:case!1:case"fill":_t=0;break;case 1:case!0:case"stroke":_t=1;break;case 2:case"fillThenStroke":_t=2;break;case 3:case"invisible":_t=3;break;case 4:case"fillAndAddForClipping":_t=4;break;case 5:case"strokeAndAddPathForClipping":_t=5;break;case 6:case"fillThenStrokeAndAddToPathForClipping":_t=6;break;case 7:case"addToPathForClipping":_t=7}var bs=Ni.usedRenderingMode!==void 0?Ni.usedRenderingMode:-1;_t!==-1?je+=_t+` Tr
|
|
41
|
+
`:bs!==-1&&(je+=`0 Tr
|
|
42
|
+
`),_t!==-1&&(Ni.usedRenderingMode=_t),NA=j.align||"left";var ir,$n=mA*Qt,ya=Ue.internal.pageSize.getWidth(),_i=oe[kA];ZA=j.charSpace||Li,te=j.maxWidth||0,Be=Object.assign({autoencode:!0,noBOM:!0},j.flags);var Ai=[],Qa=function(He){return Ue.getStringUnitWidth(He,{font:_i,charSpace:ZA,fontSize:mA,doKerning:!1})*mA/Yr};if(Object.prototype.toString.call(h)==="[object Array]"){var Dt;wA=Xn(h),NA!=="left"&&(ir=wA.map(Qa));var Mt,Di=0;if(NA==="right"){v-=ir[0],h=[],bt=wA.length;for(var wn=0;wn<bt;wn++)wn===0?(Mt=Wr(v),Dt=Xr(_)):(Mt=R(Di-ir[wn]),Dt=-$n),h.push([wA[wn],Mt,Dt]),Di=ir[wn]}else if(NA==="center"){v-=ir[0]/2,h=[],bt=wA.length;for(var vn=0;vn<bt;vn++)vn===0?(Mt=Wr(v),Dt=Xr(_)):(Mt=R((Di-ir[vn])/2),Dt=-$n),h.push([wA[vn],Mt,Dt]),Di=ir[vn]}else if(NA==="left"){h=[],bt=wA.length;for(var Ti=0;Ti<bt;Ti++)h.push(wA[Ti])}else if(NA==="justify"&&_i.encoding==="Identity-H"){h=[],bt=wA.length,te=te!==0?te:ya;for(var ei=0,at=0;at<bt;at++)if(Dt=at===0?Xr(_):-$n,Mt=at===0?Wr(v):ei,at<bt-1){var Ql=R((te-ir[at])/(wA[at].split(" ").length-1)),_r=wA[at].split(" ");h.push([_r[0]+" ",Mt,Dt]),ei=0;for(var Br=1;Br<_r.length;Br++){var ti=(Qa(_r[Br-1]+" "+_r[Br])-Qa(_r[Br]))*Yr+Ql;Br==_r.length-1?h.push([_r[Br],ti,0]):h.push([_r[Br]+" ",ti,0]),ei-=ti}}else h.push([wA[at],Mt,Dt]);h.push(["",ei,0])}else{if(NA!=="justify")throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');for(h=[],bt=wA.length,te=te!==0?te:ya,at=0;at<bt;at++){Dt=at===0?Xr(_):-$n,Mt=at===0?Wr(v):0;var ba=wA[at].split(" ").length-1,Ua=ba>0?(te-ir[at])/ba:0;at<bt-1?Ai.push(V(R(Ua))):Ai.push(0),h.push([wA[at],Mt,Dt])}}}(typeof j.R2L=="boolean"?j.R2L:jA)===!0&&(h=Jn(h,function(He,Ne,ze){return[He.split("").reverse().join(""),Ne,ze]})),cA={text:h,x:v,y:_,options:j,mutex:{pdfEscape:nr,activeFontKey:kA,fonts:oe,activeFontSize:mA}},Ce.publish("postProcessText",cA),h=cA.text,Ge=cA.mutex.isHex||!1;var ki=oe[kA].encoding;ki!=="WinAnsiEncoding"&&ki!=="StandardEncoding"||(h=Jn(h,function(He,Ne,ze){return[Ca(He),Ne,ze]})),wA=Xn(h),h=[];for(var ri,ni,mn,Zr=Array.isArray(wA[0])?1:0,Cn="",Pi=function(He,Ne,ze){var ot="";return ze instanceof XA?(ze=typeof j.angle=="number"?jr(ze,new XA(1,0,0,1,He,Ne)):jr(new XA(1,0,0,1,He,Ne),ze),P===K&&(ze=jr(new XA(1,0,0,-1,0,0),ze)),ot=ze.join(" ")+` Tm
|
|
43
|
+
`):ot=V(He)+" "+V(Ne)+` Td
|
|
44
|
+
`,ot},Ut=0;Ut<wA.length;Ut++){switch(Cn="",Zr){case 1:mn=(Ge?"<":"(")+wA[Ut][0]+(Ge?">":")"),ri=parseFloat(wA[Ut][1]),ni=parseFloat(wA[Ut][2]);break;case 0:mn=(Ge?"<":"(")+wA[Ut]+(Ge?">":")"),ri=Wr(v),ni=Xr(_)}Ai!==void 0&&Ai[Ut]!==void 0&&(Cn=Ai[Ut]+` Tw
|
|
45
|
+
`),Ut===0?h.push(Cn+Pi(ri,ni,Le)+mn):Zr===0?h.push(Cn+mn):Zr===1&&h.push(Cn+Pi(ri,ni,Le)+mn)}h=Zr===0?h.join(` Tj
|
|
46
|
+
T* `):h.join(` Tj
|
|
47
|
+
`),h+=` Tj
|
|
48
|
+
`;var Dr=`BT
|
|
49
|
+
/`;return Dr+=kA+" "+mA+` Tf
|
|
50
|
+
`,Dr+=V(mA*Qt)+` TL
|
|
51
|
+
`,Dr+=Hr+`
|
|
52
|
+
`,Dr+=je,Dr+=h,H(Dr+="ET"),w[kA]=!0,Ue};var ul=g.__private__.clip=g.clip=function(h){return H(h==="evenodd"?"W*":"W"),this};g.clipEvenOdd=function(){return ul("evenodd")},g.__private__.discardPath=g.discardPath=function(){return H("n"),this};var Sr=g.__private__.isValidStyle=function(h){var v=!1;return[void 0,null,"S","D","F","DF","FD","f","f*","B","B*","n"].indexOf(h)!==-1&&(v=!0),v};g.__private__.setDefaultPathOperation=g.setDefaultPathOperation=function(h){return Sr(h)&&(u=h),this};var ps=g.__private__.getStyle=g.getStyle=function(h){var v=u;switch(h){case"D":case"S":v="S";break;case"F":v="f";break;case"FD":case"DF":v="B";break;case"f":case"f*":case"B":case"B*":v=h}return v},bi=g.close=function(){return H("h"),this};g.stroke=function(){return H("S"),this},g.fill=function(h){return Ui("f",h),this},g.fillEvenOdd=function(h){return Ui("f*",h),this},g.fillStroke=function(h){return Ui("B",h),this},g.fillStrokeEvenOdd=function(h){return Ui("B*",h),this};var Ui=function(h,v){be(v)==="object"?cl(v,h):H(h)},da=function(h){h===null||P===K&&h===void 0||(h=ps(h),H(h))};function fl(h,v,_,j,Y){var cA=new Aa(v||this.boundingBox,_||this.xStep,j||this.yStep,this.gState,Y||this.matrix);cA.stream=this.stream;var wA=h+"$$"+this.cloneIndex+++"$$";return er(wA,cA),cA}var cl=function(h,v){var _=Se[h.key],j=GA[_];if(j instanceof oi)H("q"),H(hl(v)),j.gState&&g.setGState(j.gState),H(h.matrix.toString()+" cm"),H("/"+_+" sh"),H("Q");else if(j instanceof Aa){var Y=new XA(1,0,0,-1,0,Wn());h.matrix&&(Y=Y.multiply(h.matrix||Vr),_=fl.call(j,h.key,h.boundingBox,h.xStep,h.yStep,Y).id),H("q"),H("/Pattern cs"),H("/"+_+" scn"),j.gState&&g.setGState(j.gState),H(v),H("Q")}},hl=function(h){switch(h){case"f":case"F":case"n":return"W n";case"f*":return"W* n";case"B":case"S":return"W S";case"B*":return"W* S"}},gn=g.moveTo=function(h,v){return H(V(R(h))+" "+V(G(v))+" m"),this},ws=g.lineTo=function(h,v){return H(V(R(h))+" "+V(G(v))+" l"),this},dn=g.curveTo=function(h,v,_,j,Y,cA){return H([V(R(h)),V(G(v)),V(R(_)),V(G(j)),V(R(Y)),V(G(cA)),"c"].join(" ")),this};g.__private__.line=g.line=function(h,v,_,j,Y){if(isNaN(h)||isNaN(v)||isNaN(_)||isNaN(j)||!Sr(Y))throw new Error("Invalid arguments passed to jsPDF.line");return P===k?this.lines([[_-h,j-v]],h,v,[1,1],Y||"S"):this.lines([[_-h,j-v]],h,v,[1,1]).stroke()},g.__private__.lines=g.lines=function(h,v,_,j,Y,cA){var wA,_A,NA,ZA,te,Be,it,Le,Ue,Te,Ge,je;if(typeof h=="number"&&(je=_,_=v,v=h,h=je),j=j||[1,1],cA=cA||!1,isNaN(v)||isNaN(_)||!Array.isArray(h)||!Array.isArray(j)||!Sr(Y)||typeof cA!="boolean")throw new Error("Invalid arguments passed to jsPDF.lines");for(gn(v,_),wA=j[0],_A=j[1],ZA=h.length,Te=v,Ge=_,NA=0;NA<ZA;NA++)(te=h[NA]).length===2?(Te=te[0]*wA+Te,Ge=te[1]*_A+Ge,ws(Te,Ge)):(Be=te[0]*wA+Te,it=te[1]*_A+Ge,Le=te[2]*wA+Te,Ue=te[3]*_A+Ge,Te=te[4]*wA+Te,Ge=te[5]*_A+Ge,dn(Be,it,Le,Ue,Te,Ge));return cA&&bi(),da(Y),this},g.path=function(h){for(var v=0;v<h.length;v++){var _=h[v],j=_.c;switch(_.op){case"m":gn(j[0],j[1]);break;case"l":ws(j[0],j[1]);break;case"c":dn.apply(this,j);break;case"h":bi()}}return this},g.__private__.rect=g.rect=function(h,v,_,j,Y){if(isNaN(h)||isNaN(v)||isNaN(_)||isNaN(j)||!Sr(Y))throw new Error("Invalid arguments passed to jsPDF.rect");return P===k&&(j=-j),H([V(R(h)),V(G(v)),V(R(_)),V(R(j)),"re"].join(" ")),da(Y),this},g.__private__.triangle=g.triangle=function(h,v,_,j,Y,cA,wA){if(isNaN(h)||isNaN(v)||isNaN(_)||isNaN(j)||isNaN(Y)||isNaN(cA)||!Sr(wA))throw new Error("Invalid arguments passed to jsPDF.triangle");return this.lines([[_-h,j-v],[Y-_,cA-j],[h-Y,v-cA]],h,v,[1,1],wA,!0),this},g.__private__.roundedRect=g.roundedRect=function(h,v,_,j,Y,cA,wA){if(isNaN(h)||isNaN(v)||isNaN(_)||isNaN(j)||isNaN(Y)||isNaN(cA)||!Sr(wA))throw new Error("Invalid arguments passed to jsPDF.roundedRect");var _A=4/3*(Math.SQRT2-1);return Y=Math.min(Y,.5*_),cA=Math.min(cA,.5*j),this.lines([[_-2*Y,0],[Y*_A,0,Y,cA-cA*_A,Y,cA],[0,j-2*cA],[0,cA*_A,-Y*_A,cA,-Y,cA],[2*Y-_,0],[-Y*_A,0,-Y,-cA*_A,-Y,-cA],[0,2*cA-j],[0,-cA*_A,Y*_A,-cA,Y,-cA]],h+Y,v,[1,1],wA,!0),this},g.__private__.ellipse=g.ellipse=function(h,v,_,j,Y){if(isNaN(h)||isNaN(v)||isNaN(_)||isNaN(j)||!Sr(Y))throw new Error("Invalid arguments passed to jsPDF.ellipse");var cA=4/3*(Math.SQRT2-1)*_,wA=4/3*(Math.SQRT2-1)*j;return gn(h+_,v),dn(h+_,v-wA,h+cA,v-j,h,v-j),dn(h-cA,v-j,h-_,v-wA,h-_,v),dn(h-_,v+wA,h-cA,v+j,h,v+j),dn(h+cA,v+j,h+_,v+wA,h+_,v),da(Y),this},g.__private__.circle=g.circle=function(h,v,_,j){if(isNaN(h)||isNaN(v)||isNaN(_)||!Sr(j))throw new Error("Invalid arguments passed to jsPDF.circle");return this.ellipse(h,v,_,_,j)},g.setFont=function(h,v,_){return _&&(v=iA(v,_)),kA=gs(h,v,{disableWarning:!1}),this};var gl=g.__private__.getFont=g.getFont=function(){return oe[gs.apply(g,arguments)]};g.__private__.getFontList=g.getFontList=function(){var h,v,_={};for(h in le)if(le.hasOwnProperty(h))for(v in _[h]=[],le[h])le[h].hasOwnProperty(v)&&_[h].push(v);return _},g.addFont=function(h,v,_,j,Y){var cA=["StandardEncoding","MacRomanEncoding","Identity-H","WinAnsiEncoding"];return arguments[3]&&cA.indexOf(arguments[3])!==-1?Y=arguments[3]:arguments[3]&&cA.indexOf(arguments[3])==-1&&(_=iA(_,j)),us.call(this,h,v,_,Y=Y||"Identity-H")};var Vn,zA=t.lineWidth||.200025,dl=g.__private__.getLineWidth=g.getLineWidth=function(){return zA},Bl=g.__private__.setLineWidth=g.setLineWidth=function(h){return zA=h,H(V(R(h))+" w"),this};g.__private__.setLineDash=MA.API.setLineDash=MA.API.setLineDashPattern=function(h,v){if(h=h||[],v=v||0,isNaN(v)||!Array.isArray(h))throw new Error("Invalid arguments passed to jsPDF.setLineDash");return h=h.map(function(_){return V(R(_))}).join(" "),v=V(R(v)),H("["+h+"] "+v+" d"),this};var pl=g.__private__.getLineHeight=g.getLineHeight=function(){return mA*Vn};g.__private__.getLineHeight=g.getLineHeight=function(){return mA*Vn};var wl=g.__private__.setLineHeightFactor=g.setLineHeightFactor=function(h){return typeof(h=h||1.15)=="number"&&(Vn=h),this},vl=g.__private__.getLineHeightFactor=g.getLineHeightFactor=function(){return Vn};wl(t.lineHeight);var Wr=g.__private__.getHorizontalCoordinate=function(h){return R(h)},Xr=g.__private__.getVerticalCoordinate=function(h){return P===K?h:WA[O].mediaBox.topRightY-WA[O].mediaBox.bottomLeftY-R(h)},ml=g.__private__.getHorizontalCoordinateString=g.getHorizontalCoordinateString=function(h){return V(Wr(h))},Cl=g.__private__.getVerticalCoordinateString=g.getVerticalCoordinateString=function(h){return V(Xr(h))},Ei=t.strokeColor||"0 G";g.__private__.getStrokeColor=g.getDrawColor=function(){return Er(Ei)},g.__private__.setStrokeColor=g.setDrawColor=function(h,v,_,j){return Ei=gr({ch1:h,ch2:v,ch3:_,ch4:j,pdfColorType:"draw",precision:2}),H(Ei),this};var Ba=t.fillColor||"0 g";g.__private__.getFillColor=g.getFillColor=function(){return Er(Ba)},g.__private__.setFillColor=g.setFillColor=function(h,v,_,j){return Ba=gr({ch1:h,ch2:v,ch3:_,ch4:j,pdfColorType:"fill",precision:2}),H(Ba),this};var Hr=t.textColor||"0 g",Fl=g.__private__.getTextColor=g.getTextColor=function(){return Er(Hr)};g.__private__.setTextColor=g.setTextColor=function(h,v,_,j){return Hr=gr({ch1:h,ch2:v,ch3:_,ch4:j,pdfColorType:"text",precision:3}),this};var Li=t.charSpace,yl=g.__private__.getCharSpace=g.getCharSpace=function(){return parseFloat(Li||0)};g.__private__.setCharSpace=g.setCharSpace=function(h){if(isNaN(h))throw new Error("Invalid argument passed to jsPDF.setCharSpace");return Li=h,this};var pa=0;g.CapJoinStyles={0:0,butt:0,but:0,miter:0,1:1,round:1,rounded:1,circle:1,2:2,projecting:2,project:2,square:2,bevel:2},g.__private__.setLineCap=g.setLineCap=function(h){var v=g.CapJoinStyles[h];if(v===void 0)throw new Error("Line cap style of '"+h+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return pa=v,H(v+" J"),this};var Bn=0;g.__private__.setLineJoin=g.setLineJoin=function(h){var v=g.CapJoinStyles[h];if(v===void 0)throw new Error("Line join style of '"+h+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return Bn=v,H(v+" j"),this},g.__private__.setLineMiterLimit=g.__private__.setMiterLimit=g.setLineMiterLimit=g.setMiterLimit=function(h){if(h=h||0,isNaN(h))throw new Error("Invalid argument passed to jsPDF.setLineMiterLimit");return H(V(R(h))+" M"),this},g.GState=No,g.setGState=function(h){(h=typeof h=="string"?JA[ee[h]]:wa(null,h)).equals(Me)||(H("/"+h.id+" gs"),Me=h)};var wa=function(h,v){if(!h||!ee[h]){var _=!1;for(var j in JA)if(JA.hasOwnProperty(j)&&JA[j].equals(v)){_=!0;break}if(_)v=JA[j];else{var Y="GS"+(Object.keys(JA).length+1).toString(10);JA[Y]=v,v.id=Y}return h&&(ee[h]=v.id),Ce.publish("addGState",v),v}};g.addGState=function(h,v){return wa(h,v),this},g.saveGraphicsState=function(){return H("q"),Oe.push({key:kA,size:mA,color:Hr}),this},g.restoreGraphicsState=function(){H("Q");var h=Oe.pop();return kA=h.key,mA=h.size,Hr=h.color,Me=null,this},g.setCurrentTransformationMatrix=function(h){return H(h.toString()+" cm"),this},g.comment=function(h){return H("#"+h),this};var qn=function(h,v){var _=h||0;Object.defineProperty(this,"x",{enumerable:!0,get:function(){return _},set:function(cA){isNaN(cA)||(_=parseFloat(cA))}});var j=v||0;Object.defineProperty(this,"y",{enumerable:!0,get:function(){return j},set:function(cA){isNaN(cA)||(j=parseFloat(cA))}});var Y="pt";return Object.defineProperty(this,"type",{enumerable:!0,get:function(){return Y},set:function(cA){Y=cA.toString()}}),this},va=function(h,v,_,j){qn.call(this,h,v),this.type="rect";var Y=_||0;Object.defineProperty(this,"w",{enumerable:!0,get:function(){return Y},set:function(wA){isNaN(wA)||(Y=parseFloat(wA))}});var cA=j||0;return Object.defineProperty(this,"h",{enumerable:!0,get:function(){return cA},set:function(wA){isNaN(wA)||(cA=parseFloat(wA))}}),this},xi=function(){this.page=ue,this.currentPage=O,this.pages=yA.slice(0),this.pagesContext=WA.slice(0),this.x=OA,this.y=Je,this.matrix=we,this.width=vs(O),this.height=zr(O),this.outputDestination=UA,this.id="",this.objectNumber=-1};xi.prototype.restore=function(){ue=this.page,O=this.currentPage,WA=this.pagesContext,yA=this.pages,OA=this.x,Je=this.y,we=this.matrix,Jr(O,this.width),ms(O,this.height),UA=this.outputDestination};var ma=function(h,v,_,j,Y){Ur.push(new xi),ue=O=0,yA=[],OA=h,Je=v,we=Y,ca([_,j])};for(var Ii in g.beginFormObject=function(h,v,_,j,Y){return ma(h,v,_,j,Y),this},g.endFormObject=function(h){return(function(v){if(Gr[v])Ur.pop().restore();else{var _=new xi,j="Xo"+(Object.keys(yt).length+1).toString(10);_.id=j,Gr[v]=j,yt[j]=_,Ce.publish("addFormObject",_),Ur.pop().restore()}})(h),this},g.doFormObject=function(h,v){var _=yt[Gr[h]];return H("q"),H(v.toString()+" cm"),H("/"+_.id+" Do"),H("Q"),this},g.getFormObject=function(h){var v=yt[Gr[h]];return{x:v.x,y:v.y,width:v.width,height:v.height,matrix:v.matrix}},g.save=function(h,v){return h=h||"generated.pdf",(v=v||{}).returnPromise=v.returnPromise||!1,v.returnPromise===!1?(si(yi(Ir()),h),typeof si.unload=="function"&&YA.setTimeout&&setTimeout(si.unload,911),this):new Promise(function(_,j){try{var Y=si(yi(Ir()),h);typeof si.unload=="function"&&YA.setTimeout&&setTimeout(si.unload,911),_(Y)}catch(cA){j(cA.message)}})},MA.API)MA.API.hasOwnProperty(Ii)&&(Ii==="events"&&MA.API.events.length?(function(h,v){var _,j,Y;for(Y=v.length-1;Y!==-1;Y--)_=v[Y][0],j=v[Y][1],h.subscribe.apply(h,[_].concat(typeof j=="function"?[j]:j))})(Ce,MA.API.events):g[Ii]=MA.API[Ii]);function vs(h){return WA[h].mediaBox.topRightX-WA[h].mediaBox.bottomLeftX}function Jr(h,v){WA[h].mediaBox.topRightX=v+WA[h].mediaBox.bottomLeftX}function zr(h){return WA[h].mediaBox.topRightY-WA[h].mediaBox.bottomLeftY}function ms(h,v){WA[h].mediaBox.topRightY=v+WA[h].mediaBox.bottomLeftY}var Cs=g.getPageWidth=function(h){return vs(h=h||O)/ne},Fs=g.setPageWidth=function(h,v){Jr(h,v*ne)},Wn=g.getPageHeight=function(h){return zr(h=h||O)/ne},ys=g.setPageHeight=function(h,v){ms(h,v*ne)};return g.internal={pdfEscape:nr,getStyle:ps,getFont:gl,getFontSize:SA,getCharSpace:yl,getTextColor:Fl,getLineHeight:pl,getLineHeightFactor:vl,getLineWidth:dl,write:bA,getHorizontalCoordinate:Wr,getVerticalCoordinate:Xr,getCoordinateString:ml,getVerticalCoordinateString:Cl,collections:{},newObject:Ve,newAdditionalObject:Kn,newObjectDeferred:ht,newObjectDeferredBegin:Bt,getFilters:dr,putStream:rr,events:Ce,scaleFactor:ne,pageSize:{getWidth:function(){return Cs(O)},setWidth:function(h){Fs(O,h)},getHeight:function(){return Wn(O)},setHeight:function(h){ys(O,h)}},encryptionOptions:c,encryption:pt,getEncryptor:function(h){return c!==null?pt.encryptor(h,0):function(v){return v}},output:Qi,getNumberOfPages:hs,get pages(){return yA},out:H,f2:E,f3:S,getPageInfo:Bs,getPageInfoByObjId:ol,getCurrentPageInfo:ll,getPDFVersion:Q,Point:qn,Rectangle:va,Matrix:XA,hasHotfix:qr},Object.defineProperty(g.internal.pageSize,"width",{get:function(){return Cs(O)},set:function(h){Fs(O,h)},enumerable:!0,configurable:!0}),Object.defineProperty(g.internal.pageSize,"height",{get:function(){return Wn(O)},set:function(h){ys(O,h)},enumerable:!0,configurable:!0}),function(h){for(var v=0,_=VA.length;v<_;v++){var j=us.call(this,h[v][0],h[v][1],h[v][2],VA[v][3],!0);B===!1&&(w[j]=!0);var Y=h[v][0].split("-");ls({id:j,fontName:Y[0],fontStyle:Y[1]||""})}Ce.publish("addFonts",{fonts:oe,dictionary:le})}.call(g,VA),kA="F1",fs(n,e),Ce.publish("initialized"),g}zi.prototype.lsbFirstWord=function(t){return String.fromCharCode(255&t,t>>8&255,t>>16&255,t>>24&255)},zi.prototype.toHexString=function(t){return t.split("").map(function(A){return("0"+(255&A.charCodeAt(0)).toString(16)).slice(-2)}).join("")},zi.prototype.hexToBytes=function(t){for(var A=[],e=0;e<t.length;e+=2)A.push(String.fromCharCode(parseInt(t.substr(e,2),16)));return A.join("")},zi.prototype.processOwnerPassword=function(t,A){return Ku(Ru(A).substr(0,5),t)},zi.prototype.encryptor=function(t,A){var e=Ru(this.encryptionKey+String.fromCharCode(255&t,t>>8&255,t>>16&255,255&A,A>>8&255)).substr(0,10);return function(r){return Ku(e,r)}},No.prototype.equals=function(t){var A,e="id,objectNumber,equals";if(!t||be(t)!==be(this))return!1;var r=0;for(A in this)if(!(e.indexOf(A)>=0)){if(this.hasOwnProperty(A)&&!t.hasOwnProperty(A)||this[A]!==t[A])return!1;r++}for(A in t)t.hasOwnProperty(A)&&e.indexOf(A)<0&&r--;return r===0},MA.API={events:[]},MA.version="4.2.1";var Xe=MA.API,Ff=1,wi=function(t){return t.replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},Ki=function(t){return t.replace(/\\\\/g,"\\").replace(/\\\(/g,"(").replace(/\\\)/g,")")},Bi=function(t){return t.toString().replace(/#/g,"#23").replace(/[\s\n\r()<>[\]{}\/%]/g,function(A){var e=A.charCodeAt(0).toString(16).toUpperCase();return"#"+(e.length===1?"0"+e:e)})},$A=function(t){return t.toFixed(2)},xn=function(t){return t.toFixed(5)};Xe.__acroform__={};var jt=function(t,A){t.prototype=Object.create(A.prototype),t.prototype.constructor=t},sh=function(t){return t*Ff},Pr=function(t){var A=new cg,e=HA.internal.getHeight(t)||0,r=HA.internal.getWidth(t)||0;return A.BBox=[0,0,Number($A(r)),Number($A(e))],A},S2=Xe.__acroform__.setBit=function(t,A){if(t=t||0,A=A||0,isNaN(t)||isNaN(A))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBit");return t|1<<A},H2=Xe.__acroform__.clearBit=function(t,A){if(t=t||0,A=A||0,isNaN(t)||isNaN(A))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBit");return t&~(1<<A)},N2=Xe.__acroform__.getBit=function(t,A){if(isNaN(t)||isNaN(A))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBit");return t&1<<A?1:0},et=Xe.__acroform__.getBitForPdf=function(t,A){if(isNaN(t)||isNaN(A))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBitForPdf");return N2(t,A-1)},tt=Xe.__acroform__.setBitForPdf=function(t,A){if(isNaN(t)||isNaN(A))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBitForPdf");return S2(t,A-1)},rt=Xe.__acroform__.clearBitForPdf=function(t,A){if(isNaN(t)||isNaN(A))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBitForPdf");return H2(t,A-1)},_2=Xe.__acroform__.calculateCoordinates=function(t,A){var e=A.internal.getHorizontalCoordinate,r=A.internal.getVerticalCoordinate,n=t[0],i=t[1],s=t[2],a=t[3],l={};return l.lowerLeft_X=e(n)||0,l.lowerLeft_Y=r(i+a)||0,l.upperRight_X=e(n+s)||0,l.upperRight_Y=r(i)||0,[Number($A(l.lowerLeft_X)),Number($A(l.lowerLeft_Y)),Number($A(l.upperRight_X)),Number($A(l.upperRight_Y))]},D2=function(t){if(t.appearanceStreamContent)return t.appearanceStreamContent;if(t.V||t.DV){var A=[],e=t._V||t.DV,r=Gu(t,e),n=t.scope.internal.getFont(t.fontName,t.fontStyle).id;A.push("/Tx BMC"),A.push("q"),A.push("BT"),A.push(t.scope.__private__.encodeColorString(t.color)),A.push("/"+n+" "+$A(r.fontSize)+" Tf"),A.push("1 0 0 1 0 0 Tm"),A.push(r.text),A.push("ET"),A.push("Q"),A.push("EMC");var i=Pr(t);return i.scope=t.scope,i.stream=A.join(`
|
|
53
|
+
`),i}},Gu=function(t,A){var e=t.fontSize===0?t.maxFontSize:t.fontSize,r={text:"",fontSize:""},n=(A=(A=A.substr(0,1)=="("?A.substr(1):A).substr(A.length-1)==")"?A.substr(0,A.length-1):A).split(" ");n=t.multiline?n.map(function(E){return E.split(`
|
|
54
|
+
`)}):n.map(function(E){return[E]});var i=e,s=HA.internal.getHeight(t)||0;s=s<0?-s:s;var a=HA.internal.getWidth(t)||0;a=a<0?-a:a;var l=function(E,S,R){if(E+1<n.length){var G=S+" "+n[E+1][0];return Js(G,t,R).width<=a-4}return!1};i++;A:for(;i>0;){A="",i--;var u,c,B=Js("3",t,i).height,w=t.multiline?s-i:(s-B)/2,g=w+=2,C=0,Q=0,x=0;if(i<=0){A=`(...) Tj
|
|
55
|
+
`,A+="% Width of Text: "+Js(A,t,i=12).width+", FieldWidth:"+a+`
|
|
56
|
+
`;break}for(var F="",k=0,K=0;K<n.length;K++)if(n.hasOwnProperty(K)){var P=!1;if(n[K].length!==1&&x!==n[K].length-1){if((B+2)*(k+2)+2>s)continue A;F+=n[K][x],P=!0,Q=K,K--}else{F=(F+=n[K][x]+" ").substr(F.length-1)==" "?F.substr(0,F.length-1):F;var z=parseInt(K),Z=l(z,F,i),iA=K>=n.length-1;if(Z&&!iA){F+=" ",x=0;continue}if(Z||iA){if(iA)Q=z;else if(t.multiline&&(B+2)*(k+2)+2>s)continue A}else{if(!t.multiline||(B+2)*(k+2)+2>s)continue A;Q=z}}for(var V="",N=C;N<=Q;N++){var $=n[N];if(t.multiline){if(N===Q){V+=$[x]+" ",x=(x+1)%$.length;continue}if(N===C){V+=$[$.length-1]+" ";continue}}V+=$[0]+" "}switch(V=V.substr(V.length-1)==" "?V.substr(0,V.length-1):V,c=Js(V,t,i).width,t.textAlign){case"right":u=a-c-2;break;case"center":u=(a-c)/2;break;default:u=2}A+=$A(u)+" "+$A(g)+` Td
|
|
57
|
+
`,A+="("+wi(V)+`) Tj
|
|
58
|
+
`,A+=-$A(u)+` 0 Td
|
|
59
|
+
`,g=-(i+2),c=0,C=P?Q:Q+1,k++,F=""}break}return r.text=A,r.fontSize=i,r},Js=function(t,A,e){var r=A.scope.internal.getFont(A.fontName,A.fontStyle),n=A.scope.getStringUnitWidth(t,{font:r,fontSize:parseFloat(e),charSpace:0})*parseFloat(e);return{height:A.scope.getStringUnitWidth("3",{font:r,fontSize:parseFloat(e),charSpace:0})*parseFloat(e)*1.5,width:n}},T2={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},k2=function(t,A){var e={type:"reference",object:t};A.internal.getPageInfo(t.page).pageContext.annotations.find(function(r){return r.type===e.type&&r.object===e.object})===void 0&&A.internal.getPageInfo(t.page).pageContext.annotations.push(e)},P2=function(t,A){if(A.scope=t,t.internal!==void 0&&(t.internal.acroformPlugin===void 0||t.internal.acroformPlugin.isInitialized===!1)){if(yr.FieldNum=0,t.internal.acroformPlugin=JSON.parse(JSON.stringify(T2)),t.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");Ff=t.internal.scaleFactor,t.internal.acroformPlugin.acroFormDictionaryRoot=new hg,t.internal.acroformPlugin.acroFormDictionaryRoot.scope=t,t.internal.acroformPlugin.acroFormDictionaryRoot._eventID=t.internal.events.subscribe("postPutResources",function(){(function(e){e.internal.events.unsubscribe(e.internal.acroformPlugin.acroFormDictionaryRoot._eventID),delete e.internal.acroformPlugin.acroFormDictionaryRoot._eventID,e.internal.acroformPlugin.printedOut=!0})(t)}),t.internal.events.subscribe("buildDocument",function(){(function(e){e.internal.acroformPlugin.acroFormDictionaryRoot.objId=void 0;var r=e.internal.acroformPlugin.acroFormDictionaryRoot.Fields;for(var n in r)if(r.hasOwnProperty(n)){var i=r[n];i.objId=void 0,i.hasAnnotation&&k2(i,e)}})(t)}),t.internal.events.subscribe("putCatalog",function(){(function(e){if(e.internal.acroformPlugin.acroFormDictionaryRoot===void 0)throw new Error("putCatalogCallback: Root missing.");e.internal.write("/AcroForm "+e.internal.acroformPlugin.acroFormDictionaryRoot.objId+" 0 R")})(t)}),t.internal.events.subscribe("postPutPages",function(e){(function(r,n){var i=!r;for(var s in r||(n.internal.newObjectDeferredBegin(n.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),n.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),r=r||n.internal.acroformPlugin.acroFormDictionaryRoot.Kids)if(r.hasOwnProperty(s)){var a=r[s],l=[],u=a.Rect;if(a.Rect&&(a.Rect=_2(a.Rect,n)),n.internal.newObjectDeferredBegin(a.objId,!0),a.DA=HA.createDefaultAppearanceStream(a),be(a)==="object"&&typeof a.getKeyValueListForStream=="function"&&(l=a.getKeyValueListForStream()),a.Rect=u,a.hasAppearanceStream&&!a.appearanceStreamContent){var c=D2(a);l.push({key:"AP",value:"<</N "+c+">>"}),n.internal.acroformPlugin.xForms.push(c)}if(a.appearanceStreamContent){var B="";for(var w in a.appearanceStreamContent)if(a.appearanceStreamContent.hasOwnProperty(w)){var g=a.appearanceStreamContent[w];if(B+="/"+w+" ",B+="<<",Object.keys(g).length>=1||Array.isArray(g)){for(var s in g)if(g.hasOwnProperty(s)){var C=g[s];typeof C=="function"&&(C=C.call(n,a)),B+="/"+s+" "+C+" ",n.internal.acroformPlugin.xForms.indexOf(C)>=0||n.internal.acroformPlugin.xForms.push(C)}}else typeof(C=g)=="function"&&(C=C.call(n,a)),B+="/"+s+" "+C,n.internal.acroformPlugin.xForms.indexOf(C)>=0||n.internal.acroformPlugin.xForms.push(C);B+=">>"}l.push({key:"AP",value:`<<
|
|
60
|
+
`+B+">>"})}n.internal.putStream({additionalKeyValues:l,objectId:a.objId}),n.internal.out("endobj")}i&&(function(Q,x){for(var F in Q)if(Q.hasOwnProperty(F)){var k=F,K=Q[F];x.internal.newObjectDeferredBegin(K.objId,!0),be(K)==="object"&&typeof K.putStream=="function"&&K.putStream(),delete Q[k]}})(n.internal.acroformPlugin.xForms,n)})(e,t)}),t.internal.acroformPlugin.isInitialized=!0}},fg=Xe.__acroform__.arrayToPdfArray=function(t,A,e){var r=function(s){return s};if(Array.isArray(t)){for(var n="[",i=0;i<t.length;i++)switch(i!==0&&(n+=" "),be(t[i])){case"boolean":case"number":case"object":n+=t[i].toString();break;case"string":t[i].substr(0,1)==="/"?n+="/"+Bi(t[i].substr(1)):(A!==void 0&&e&&(r=e.internal.getEncryptor(A)),n+="("+wi(r(t[i].toString()))+")")}return n+"]"}throw new Error("Invalid argument passed to jsPDF.__acroform__.arrayToPdfArray")},nu=function(t,A,e){var r=function(n){return n};return A!==void 0&&e&&(r=e.internal.getEncryptor(A)),(t=t||"").toString(),"("+wi(r(t))+")"},Or=function(){this._objId=void 0,this._scope=void 0,Object.defineProperty(this,"objId",{get:function(){if(this._objId===void 0){if(this.scope===void 0)return;this._objId=this.scope.internal.newObjectDeferred()}return this._objId},set:function(t){this._objId=t}}),Object.defineProperty(this,"scope",{value:this._scope,writable:!0})};Or.prototype.toString=function(){return this.objId+" 0 R"},Or.prototype.putStream=function(){var t=this.getKeyValueListForStream();this.scope.internal.putStream({data:this.stream,additionalKeyValues:t,objectId:this.objId}),this.scope.internal.out("endobj")},Or.prototype.getKeyValueListForStream=function(){var t=[],A=Object.getOwnPropertyNames(this).filter(function(i){return i!="content"&&i!="appearanceStreamContent"&&i!="scope"&&i!="objId"&&i.substring(0,1)!="_"});for(var e in A)if(Object.getOwnPropertyDescriptor(this,A[e]).configurable===!1){var r=A[e],n=this[r];n&&(Array.isArray(n)?t.push({key:r,value:fg(n,this.objId,this.scope)}):n instanceof Or?(n.scope=this.scope,t.push({key:r,value:n.objId+" 0 R"})):typeof n!="function"&&t.push({key:r,value:n}))}return t};var cg=function(){Or.call(this),Object.defineProperty(this,"Type",{value:"/XObject",configurable:!1,writable:!0}),Object.defineProperty(this,"Subtype",{value:"/Form",configurable:!1,writable:!0}),Object.defineProperty(this,"FormType",{value:1,configurable:!1,writable:!0});var t,A=[];Object.defineProperty(this,"BBox",{configurable:!1,get:function(){return A},set:function(e){A=e}}),Object.defineProperty(this,"Resources",{value:"2 0 R",configurable:!1,writable:!0}),Object.defineProperty(this,"stream",{enumerable:!1,configurable:!0,set:function(e){t=e.trim()},get:function(){return t||null}})};jt(cg,Or);var hg=function(){Or.call(this);var t,A=[];Object.defineProperty(this,"Kids",{enumerable:!1,configurable:!0,get:function(){return A.length>0?A:void 0}}),Object.defineProperty(this,"Fields",{enumerable:!1,configurable:!1,get:function(){return A}}),Object.defineProperty(this,"DA",{enumerable:!1,configurable:!1,get:function(){if(t){var e=function(r){return r};return this.scope&&(e=this.scope.internal.getEncryptor(this.objId)),"("+wi(e(t))+")"}},set:function(e){t=e}})};jt(hg,Or);var yr=function t(){Or.call(this);var A=4;Object.defineProperty(this,"F",{enumerable:!1,configurable:!1,get:function(){return A},set:function(F){if(isNaN(F))throw new Error('Invalid value "'+F+'" for attribute F supplied.');A=F}}),Object.defineProperty(this,"showWhenPrinted",{enumerable:!0,configurable:!0,get:function(){return!!et(A,3)},set:function(F){F?this.F=tt(A,3):this.F=rt(A,3)}});var e=0;Object.defineProperty(this,"Ff",{enumerable:!1,configurable:!1,get:function(){return e},set:function(F){if(isNaN(F))throw new Error('Invalid value "'+F+'" for attribute Ff supplied.');e=F}});var r=[];Object.defineProperty(this,"Rect",{enumerable:!1,configurable:!1,get:function(){if(r.length!==0)return r},set:function(F){r=F!==void 0?F:[]}}),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[0])?0:r[0]},set:function(F){r[0]=F}}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[1])?0:r[1]},set:function(F){r[1]=F}}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[2])?0:r[2]},set:function(F){r[2]=F}}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[3])?0:r[3]},set:function(F){r[3]=F}});var n="";Object.defineProperty(this,"FT",{enumerable:!0,configurable:!1,get:function(){return n},set:function(F){switch(F){case"/Btn":case"/Tx":case"/Ch":case"/Sig":n=F;break;default:throw new Error('Invalid value "'+F+'" for attribute FT supplied.')}}});var i=null;Object.defineProperty(this,"T",{enumerable:!0,configurable:!1,get:function(){if(!i||i.length<1){if(this instanceof _o)return;i="FieldObject"+t.FieldNum++}var F=function(k){return k};return this.scope&&(F=this.scope.internal.getEncryptor(this.objId)),"("+wi(F(i))+")"},set:function(F){i=F.toString()}}),Object.defineProperty(this,"fieldName",{configurable:!0,enumerable:!0,get:function(){return i},set:function(F){i=F}});var s="helvetica";Object.defineProperty(this,"fontName",{enumerable:!0,configurable:!0,get:function(){return s},set:function(F){s=F}});var a="normal";Object.defineProperty(this,"fontStyle",{enumerable:!0,configurable:!0,get:function(){return a},set:function(F){a=F}});var l=0;Object.defineProperty(this,"fontSize",{enumerable:!0,configurable:!0,get:function(){return l},set:function(F){l=F}});var u=void 0;Object.defineProperty(this,"maxFontSize",{enumerable:!0,configurable:!0,get:function(){return u===void 0?50/Ff:u},set:function(F){u=F}});var c="black";Object.defineProperty(this,"color",{enumerable:!0,configurable:!0,get:function(){return c},set:function(F){c=F}});var B="/F1 0 Tf 0 g";Object.defineProperty(this,"DA",{enumerable:!0,configurable:!1,get:function(){if(!(!B||this instanceof _o||this instanceof fi))return nu(B,this.objId,this.scope)},set:function(F){F=F.toString(),B=F}});var w=null;Object.defineProperty(this,"DV",{enumerable:!1,configurable:!1,get:function(){if(w)return this instanceof dt==0?nu(w,this.objId,this.scope):w},set:function(F){F=F.toString(),w=this instanceof dt==0?F.substr(0,1)==="("?Ki(F.substr(1,F.length-2)):Ki(F):F}}),Object.defineProperty(this,"defaultValue",{enumerable:!0,configurable:!0,get:function(){return this instanceof dt==1?Ki(w.substr(1,w.length-1)):w},set:function(F){F=F.toString(),w=this instanceof dt==1?"/"+Bi(F):F}});var g=null;Object.defineProperty(this,"_V",{enumerable:!1,configurable:!1,get:function(){if(g)return g},set:function(F){this.V=F}}),Object.defineProperty(this,"V",{enumerable:!1,configurable:!1,get:function(){if(g)return this instanceof dt==0?nu(g,this.objId,this.scope):g},set:function(F){F=F.toString(),g=this instanceof dt==0?F.substr(0,1)==="("?Ki(F.substr(1,F.length-2)):Ki(F):F}}),Object.defineProperty(this,"value",{enumerable:!0,configurable:!0,get:function(){return this instanceof dt==1?Ki(g.substr(1,g.length-1)):g},set:function(F){F=F.toString(),g=this instanceof dt==1?"/"+Bi(F):F}}),Object.defineProperty(this,"hasAnnotation",{enumerable:!0,configurable:!0,get:function(){return this.Rect}}),Object.defineProperty(this,"Type",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Annot":null}}),Object.defineProperty(this,"Subtype",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Widget":null}});var C,Q=!1;Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return Q},set:function(F){F=!!F,Q=F}}),Object.defineProperty(this,"page",{enumerable:!0,configurable:!0,get:function(){if(C)return C},set:function(F){C=F}}),Object.defineProperty(this,"readOnly",{enumerable:!0,configurable:!0,get:function(){return!!et(this.Ff,1)},set:function(F){F?this.Ff=tt(this.Ff,1):this.Ff=rt(this.Ff,1)}}),Object.defineProperty(this,"required",{enumerable:!0,configurable:!0,get:function(){return!!et(this.Ff,2)},set:function(F){F?this.Ff=tt(this.Ff,2):this.Ff=rt(this.Ff,2)}}),Object.defineProperty(this,"noExport",{enumerable:!0,configurable:!0,get:function(){return!!et(this.Ff,3)},set:function(F){F?this.Ff=tt(this.Ff,3):this.Ff=rt(this.Ff,3)}});var x=null;Object.defineProperty(this,"Q",{enumerable:!0,configurable:!1,get:function(){if(x!==null)return x},set:function(F){if([0,1,2].indexOf(F)===-1)throw new Error('Invalid value "'+F+'" for attribute Q supplied.');x=F}}),Object.defineProperty(this,"textAlign",{get:function(){var F;switch(x){case 0:default:F="left";break;case 1:F="center";break;case 2:F="right"}return F},configurable:!0,enumerable:!0,set:function(F){switch(F){case"right":case 2:x=2;break;case"center":case 1:x=1;break;default:x=0}}})};jt(yr,Or);var ta=function(){yr.call(this),this.FT="/Ch",this.V="()",this.fontName="zapfdingbats";var t=0;Object.defineProperty(this,"TI",{enumerable:!0,configurable:!1,get:function(){return t},set:function(e){t=e}}),Object.defineProperty(this,"topIndex",{enumerable:!0,configurable:!0,get:function(){return t},set:function(e){t=e}});var A=[];Object.defineProperty(this,"Opt",{enumerable:!0,configurable:!1,get:function(){return fg(A,this.objId,this.scope)},set:function(e){var r,n;n=[],typeof(r=e)=="string"&&(n=(function(i,s,a){a||(a=1);for(var l,u=[];l=s.exec(i);)u.push(l[a]);return u})(r,/\((.*?)\)/g)),A=n}}),this.getOptions=function(){return A},this.setOptions=function(e){A=e,this.sort&&A.sort()},this.addOption=function(e){e=(e=e||"").toString(),A.push(e),this.sort&&A.sort()},this.removeOption=function(e,r){for(r=r||!1,e=(e=e||"").toString();A.indexOf(e)!==-1&&(A.splice(A.indexOf(e),1),r!==!1););},Object.defineProperty(this,"combo",{enumerable:!0,configurable:!0,get:function(){return!!et(this.Ff,18)},set:function(e){e?this.Ff=tt(this.Ff,18):this.Ff=rt(this.Ff,18)}}),Object.defineProperty(this,"edit",{enumerable:!0,configurable:!0,get:function(){return!!et(this.Ff,19)},set:function(e){this.combo===!0&&(e?this.Ff=tt(this.Ff,19):this.Ff=rt(this.Ff,19))}}),Object.defineProperty(this,"sort",{enumerable:!0,configurable:!0,get:function(){return!!et(this.Ff,20)},set:function(e){e?(this.Ff=tt(this.Ff,20),A.sort()):this.Ff=rt(this.Ff,20)}}),Object.defineProperty(this,"multiSelect",{enumerable:!0,configurable:!0,get:function(){return!!et(this.Ff,22)},set:function(e){e?this.Ff=tt(this.Ff,22):this.Ff=rt(this.Ff,22)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return!!et(this.Ff,23)},set:function(e){e?this.Ff=tt(this.Ff,23):this.Ff=rt(this.Ff,23)}}),Object.defineProperty(this,"commitOnSelChange",{enumerable:!0,configurable:!0,get:function(){return!!et(this.Ff,27)},set:function(e){e?this.Ff=tt(this.Ff,27):this.Ff=rt(this.Ff,27)}}),this.hasAppearanceStream=!1};jt(ta,yr);var ra=function(){ta.call(this),this.fontName="helvetica",this.combo=!1};jt(ra,ta);var na=function(){ra.call(this),this.combo=!0};jt(na,ra);var yo=function(){na.call(this),this.edit=!0};jt(yo,na);var dt=function(){yr.call(this),this.FT="/Btn",Object.defineProperty(this,"noToggleToOff",{enumerable:!0,configurable:!0,get:function(){return!!et(this.Ff,15)},set:function(e){e?this.Ff=tt(this.Ff,15):this.Ff=rt(this.Ff,15)}}),Object.defineProperty(this,"radio",{enumerable:!0,configurable:!0,get:function(){return!!et(this.Ff,16)},set:function(e){e?this.Ff=tt(this.Ff,16):this.Ff=rt(this.Ff,16)}}),Object.defineProperty(this,"pushButton",{enumerable:!0,configurable:!0,get:function(){return!!et(this.Ff,17)},set:function(e){e?this.Ff=tt(this.Ff,17):this.Ff=rt(this.Ff,17)}}),Object.defineProperty(this,"radioIsUnison",{enumerable:!0,configurable:!0,get:function(){return!!et(this.Ff,26)},set:function(e){e?this.Ff=tt(this.Ff,26):this.Ff=rt(this.Ff,26)}});var t,A={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var e=function(i){return i};if(this.scope&&(e=this.scope.internal.getEncryptor(this.objId)),Object.keys(A).length!==0){var r,n=[];for(r in n.push("<<"),A)n.push("/"+r+" ("+wi(e(A[r]))+")");return n.push(">>"),n.join(`
|
|
61
|
+
`)}},set:function(e){be(e)==="object"&&(A=e)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return A.CA||""},set:function(e){typeof e=="string"&&(A.CA=e)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return t},set:function(e){var r=e==null?"":e.toString();r.substr(0,1)==="/"&&(r=r.substr(1)),t="/"+Bi(r)}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return t.substr(1,t.length-1)},set:function(e){t="/"+Bi(e)}})};jt(dt,yr);var Qo=function(){dt.call(this),this.pushButton=!0};jt(Qo,dt);var ia=function(){dt.call(this),this.radio=!0,this.pushButton=!1;var t=[];Object.defineProperty(this,"Kids",{enumerable:!0,configurable:!1,get:function(){return t},set:function(A){t=A!==void 0?A:[]}})};jt(ia,dt);var _o=function(){var t,A;yr.call(this),Object.defineProperty(this,"Parent",{enumerable:!1,configurable:!1,get:function(){return t},set:function(n){t=n}}),Object.defineProperty(this,"optionName",{enumerable:!1,configurable:!0,get:function(){return A},set:function(n){A=n}});var e,r={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var n=function(a){return a};this.scope&&(n=this.scope.internal.getEncryptor(this.objId));var i,s=[];for(i in s.push("<<"),r)s.push("/"+i+" ("+wi(n(r[i]))+")");return s.push(">>"),s.join(`
|
|
62
|
+
`)},set:function(n){be(n)==="object"&&(r=n)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return r.CA||""},set:function(n){typeof n=="string"&&(r.CA=n)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return e},set:function(n){var i=n==null?"":n.toString();i.substr(0,1)==="/"&&(i=i.substr(1)),e="/"+Bi(i)}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return e.substr(1,e.length-1)},set:function(n){var i=n==null?"":n.toString();i.substr(0,1)==="/"&&(i=i.substr(1)),e="/"+Bi(i)}}),this.caption="l",this.appearanceState="Off",this._AppearanceType=HA.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(this.optionName)};jt(_o,yr),ia.prototype.setAppearance=function(t){if(!("createAppearanceStream"in t)||!("getCA"in t))throw new Error("Couldn't assign Appearance to RadioButton. Appearance was Invalid!");for(var A in this.Kids)if(this.Kids.hasOwnProperty(A)){var e=this.Kids[A];e.appearanceStreamContent=t.createAppearanceStream(e.optionName),e.caption=t.getCA()}},ia.prototype.createOption=function(t){var A=new _o;return A.Parent=this,A.optionName=t,this.Kids.push(A),O2.call(this.scope,A),A};var bo=function(){dt.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=HA.CheckBox.createAppearanceStream()};jt(bo,dt);var fi=function(){yr.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return!!et(this.Ff,13)},set:function(A){A?this.Ff=tt(this.Ff,13):this.Ff=rt(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return!!et(this.Ff,21)},set:function(A){A?this.Ff=tt(this.Ff,21):this.Ff=rt(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return!!et(this.Ff,23)},set:function(A){A?this.Ff=tt(this.Ff,23):this.Ff=rt(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return!!et(this.Ff,24)},set:function(A){A?this.Ff=tt(this.Ff,24):this.Ff=rt(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return!!et(this.Ff,25)},set:function(A){A?this.Ff=tt(this.Ff,25):this.Ff=rt(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return!!et(this.Ff,26)},set:function(A){A?this.Ff=tt(this.Ff,26):this.Ff=rt(this.Ff,26)}});var t=null;Object.defineProperty(this,"MaxLen",{enumerable:!0,configurable:!1,get:function(){return t},set:function(A){t=A}}),Object.defineProperty(this,"maxLength",{enumerable:!0,configurable:!0,get:function(){return t},set:function(A){Number.isInteger(A)&&(t=A)}}),Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return this.V||this.DV}})};jt(fi,yr);var Uo=function(){fi.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return!!et(this.Ff,14)},set:function(t){t?this.Ff=tt(this.Ff,14):this.Ff=rt(this.Ff,14)}}),this.password=!0};jt(Uo,fi);var HA={CheckBox:{createAppearanceStream:function(){return{N:{On:HA.CheckBox.YesNormal},D:{On:HA.CheckBox.YesPushDown,Off:HA.CheckBox.OffPushDown}}},YesPushDown:function(t){var A=Pr(t);A.scope=t.scope;var e=[],r=t.scope.internal.getFont(t.fontName,t.fontStyle).id,n=t.scope.__private__.encodeColorString(t.color),i=Gu(t,t.caption);return e.push("0.749023 g"),e.push("0 0 "+$A(HA.internal.getWidth(t))+" "+$A(HA.internal.getHeight(t))+" re"),e.push("f"),e.push("BMC"),e.push("q"),e.push("0 0 1 rg"),e.push("/"+r+" "+$A(i.fontSize)+" Tf "+n),e.push("BT"),e.push(i.text),e.push("ET"),e.push("Q"),e.push("EMC"),A.stream=e.join(`
|
|
63
|
+
`),A},YesNormal:function(t){var A=Pr(t);A.scope=t.scope;var e=t.scope.internal.getFont(t.fontName,t.fontStyle).id,r=t.scope.__private__.encodeColorString(t.color),n=[],i=HA.internal.getHeight(t),s=HA.internal.getWidth(t),a=Gu(t,t.caption);return n.push("1 g"),n.push("0 0 "+$A(s)+" "+$A(i)+" re"),n.push("f"),n.push("q"),n.push("0 0 1 rg"),n.push("0 0 "+$A(s-1)+" "+$A(i-1)+" re"),n.push("W"),n.push("n"),n.push("0 g"),n.push("BT"),n.push("/"+e+" "+$A(a.fontSize)+" Tf "+r),n.push(a.text),n.push("ET"),n.push("Q"),A.stream=n.join(`
|
|
64
|
+
`),A},OffPushDown:function(t){var A=Pr(t);A.scope=t.scope;var e=[];return e.push("0.749023 g"),e.push("0 0 "+$A(HA.internal.getWidth(t))+" "+$A(HA.internal.getHeight(t))+" re"),e.push("f"),A.stream=e.join(`
|
|
65
|
+
`),A}},RadioButton:{Circle:{createAppearanceStream:function(t){var A={D:{Off:HA.RadioButton.Circle.OffPushDown},N:{}};return A.N[t]=HA.RadioButton.Circle.YesNormal,A.D[t]=HA.RadioButton.Circle.YesPushDown,A},getCA:function(){return"l"},YesNormal:function(t){var A=Pr(t);A.scope=t.scope;var e=[],r=HA.internal.getWidth(t)<=HA.internal.getHeight(t)?HA.internal.getWidth(t)/4:HA.internal.getHeight(t)/4;r=Number((.9*r).toFixed(5));var n=HA.internal.Bezier_C,i=Number((r*n).toFixed(5));return e.push("q"),e.push("1 0 0 1 "+xn(HA.internal.getWidth(t)/2)+" "+xn(HA.internal.getHeight(t)/2)+" cm"),e.push(r+" 0 m"),e.push(r+" "+i+" "+i+" "+r+" 0 "+r+" c"),e.push("-"+i+" "+r+" -"+r+" "+i+" -"+r+" 0 c"),e.push("-"+r+" -"+i+" -"+i+" -"+r+" 0 -"+r+" c"),e.push(i+" -"+r+" "+r+" -"+i+" "+r+" 0 c"),e.push("f"),e.push("Q"),A.stream=e.join(`
|
|
66
|
+
`),A},YesPushDown:function(t){var A=Pr(t);A.scope=t.scope;var e=[],r=HA.internal.getWidth(t)<=HA.internal.getHeight(t)?HA.internal.getWidth(t)/4:HA.internal.getHeight(t)/4;r=Number((.9*r).toFixed(5));var n=Number((2*r).toFixed(5)),i=Number((n*HA.internal.Bezier_C).toFixed(5)),s=Number((r*HA.internal.Bezier_C).toFixed(5));return e.push("0.749023 g"),e.push("q"),e.push("1 0 0 1 "+xn(HA.internal.getWidth(t)/2)+" "+xn(HA.internal.getHeight(t)/2)+" cm"),e.push(n+" 0 m"),e.push(n+" "+i+" "+i+" "+n+" 0 "+n+" c"),e.push("-"+i+" "+n+" -"+n+" "+i+" -"+n+" 0 c"),e.push("-"+n+" -"+i+" -"+i+" -"+n+" 0 -"+n+" c"),e.push(i+" -"+n+" "+n+" -"+i+" "+n+" 0 c"),e.push("f"),e.push("Q"),e.push("0 g"),e.push("q"),e.push("1 0 0 1 "+xn(HA.internal.getWidth(t)/2)+" "+xn(HA.internal.getHeight(t)/2)+" cm"),e.push(r+" 0 m"),e.push(r+" "+s+" "+s+" "+r+" 0 "+r+" c"),e.push("-"+s+" "+r+" -"+r+" "+s+" -"+r+" 0 c"),e.push("-"+r+" -"+s+" -"+s+" -"+r+" 0 -"+r+" c"),e.push(s+" -"+r+" "+r+" -"+s+" "+r+" 0 c"),e.push("f"),e.push("Q"),A.stream=e.join(`
|
|
67
|
+
`),A},OffPushDown:function(t){var A=Pr(t);A.scope=t.scope;var e=[],r=HA.internal.getWidth(t)<=HA.internal.getHeight(t)?HA.internal.getWidth(t)/4:HA.internal.getHeight(t)/4;r=Number((.9*r).toFixed(5));var n=Number((2*r).toFixed(5)),i=Number((n*HA.internal.Bezier_C).toFixed(5));return e.push("0.749023 g"),e.push("q"),e.push("1 0 0 1 "+xn(HA.internal.getWidth(t)/2)+" "+xn(HA.internal.getHeight(t)/2)+" cm"),e.push(n+" 0 m"),e.push(n+" "+i+" "+i+" "+n+" 0 "+n+" c"),e.push("-"+i+" "+n+" -"+n+" "+i+" -"+n+" 0 c"),e.push("-"+n+" -"+i+" -"+i+" -"+n+" 0 -"+n+" c"),e.push(i+" -"+n+" "+n+" -"+i+" "+n+" 0 c"),e.push("f"),e.push("Q"),A.stream=e.join(`
|
|
68
|
+
`),A}},Cross:{createAppearanceStream:function(t){var A={D:{Off:HA.RadioButton.Cross.OffPushDown},N:{}};return A.N[t]=HA.RadioButton.Cross.YesNormal,A.D[t]=HA.RadioButton.Cross.YesPushDown,A},getCA:function(){return"8"},YesNormal:function(t){var A=Pr(t);A.scope=t.scope;var e=[],r=HA.internal.calculateCross(t);return e.push("q"),e.push("1 1 "+$A(HA.internal.getWidth(t)-2)+" "+$A(HA.internal.getHeight(t)-2)+" re"),e.push("W"),e.push("n"),e.push($A(r.x1.x)+" "+$A(r.x1.y)+" m"),e.push($A(r.x2.x)+" "+$A(r.x2.y)+" l"),e.push($A(r.x4.x)+" "+$A(r.x4.y)+" m"),e.push($A(r.x3.x)+" "+$A(r.x3.y)+" l"),e.push("s"),e.push("Q"),A.stream=e.join(`
|
|
69
|
+
`),A},YesPushDown:function(t){var A=Pr(t);A.scope=t.scope;var e=HA.internal.calculateCross(t),r=[];return r.push("0.749023 g"),r.push("0 0 "+$A(HA.internal.getWidth(t))+" "+$A(HA.internal.getHeight(t))+" re"),r.push("f"),r.push("q"),r.push("1 1 "+$A(HA.internal.getWidth(t)-2)+" "+$A(HA.internal.getHeight(t)-2)+" re"),r.push("W"),r.push("n"),r.push($A(e.x1.x)+" "+$A(e.x1.y)+" m"),r.push($A(e.x2.x)+" "+$A(e.x2.y)+" l"),r.push($A(e.x4.x)+" "+$A(e.x4.y)+" m"),r.push($A(e.x3.x)+" "+$A(e.x3.y)+" l"),r.push("s"),r.push("Q"),A.stream=r.join(`
|
|
70
|
+
`),A},OffPushDown:function(t){var A=Pr(t);A.scope=t.scope;var e=[];return e.push("0.749023 g"),e.push("0 0 "+$A(HA.internal.getWidth(t))+" "+$A(HA.internal.getHeight(t))+" re"),e.push("f"),A.stream=e.join(`
|
|
71
|
+
`),A}}},createDefaultAppearanceStream:function(t){var A=t.scope.internal.getFont(t.fontName,t.fontStyle).id,e=t.scope.__private__.encodeColorString(t.color);return"/"+A+" "+t.fontSize+" Tf "+e}};HA.internal={Bezier_C:.551915024494,calculateCross:function(t){var A=HA.internal.getWidth(t),e=HA.internal.getHeight(t),r=Math.min(A,e);return{x1:{x:(A-r)/2,y:(e-r)/2+r},x2:{x:(A-r)/2+r,y:(e-r)/2},x3:{x:(A-r)/2,y:(e-r)/2},x4:{x:(A-r)/2+r,y:(e-r)/2+r}}}},HA.internal.getWidth=function(t){var A=0;return be(t)==="object"&&(A=sh(t.Rect[2])),A},HA.internal.getHeight=function(t){var A=0;return be(t)==="object"&&(A=sh(t.Rect[3])),A};var O2=Xe.addField=function(t){if(P2(this,t),!(t instanceof yr))throw new Error("Invalid argument passed to jsPDF.addField.");var A;return(A=t).scope.internal.acroformPlugin.printedOut&&(A.scope.internal.acroformPlugin.printedOut=!1,A.scope.internal.acroformPlugin.acroFormDictionaryRoot=null),A.scope.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(A),t.page=t.scope.internal.getCurrentPageInfo().pageNumber,this};Xe.AcroFormChoiceField=ta,Xe.AcroFormListBox=ra,Xe.AcroFormComboBox=na,Xe.AcroFormEditBox=yo,Xe.AcroFormButton=dt,Xe.AcroFormPushButton=Qo,Xe.AcroFormRadioButton=ia,Xe.AcroFormCheckBox=bo,Xe.AcroFormTextField=fi,Xe.AcroFormPasswordField=Uo,Xe.AcroFormAppearance=HA,Xe.AcroForm={ChoiceField:ta,ListBox:ra,ComboBox:na,EditBox:yo,Button:dt,PushButton:Qo,RadioButton:ia,CheckBox:bo,TextField:fi,PasswordField:Uo,Appearance:HA},MA.AcroForm={ChoiceField:ta,ListBox:ra,ComboBox:na,EditBox:yo,Button:dt,PushButton:Qo,RadioButton:ia,CheckBox:bo,TextField:fi,PasswordField:Uo,Appearance:HA};MA.AcroForm;function gg(t){return t.reduce(function(A,e,r){return A[e]=r,A},{})}(function(t){var A="addImage_";t.__addimage__={};var e="UNKNOWN",r={PNG:[[137,80,78,71]],TIFF:[[77,77,0,42],[73,73,42,0]],JPEG:[[255,216,255,224,void 0,void 0,74,70,73,70,0],[255,216,255,225,void 0,void 0,69,120,105,102,0,0],[255,216,255,219],[255,216,255,238]],JPEG2000:[[0,0,0,12,106,80,32,32]],GIF87a:[[71,73,70,56,55,97]],GIF89a:[[71,73,70,56,57,97]],WEBP:[[82,73,70,70,void 0,void 0,void 0,void 0,87,69,66,80]],BMP:[[66,77],[66,65],[67,73],[67,80],[73,67],[80,84]]},n=t.__addimage__.getImageFileTypeByImageData=function(E,S){var R,G,aA,sA,oA,tA=e;if((S=S||e)==="RGBA"||E.data!==void 0&&E.data instanceof Uint8ClampedArray&&"height"in E&&"width"in E)return"RGBA";if(Z(E))for(oA in r)for(aA=r[oA],R=0;R<aA.length;R+=1){for(sA=!0,G=0;G<aA[R].length;G+=1)if(aA[R][G]!==void 0&&aA[R][G]!==E[G]){sA=!1;break}if(sA===!0){tA=oA;break}}else for(oA in r)for(aA=r[oA],R=0;R<aA.length;R+=1){for(sA=!0,G=0;G<aA[R].length;G+=1)if(aA[R][G]!==void 0&&aA[R][G]!==E.charCodeAt(G)){sA=!1;break}if(sA===!0){tA=oA;break}}return tA===e&&S!==e&&(tA=S),tA},i=function E(S){for(var R=this.internal.write,G=this.internal.putStream,aA=(0,this.internal.getFilters)();aA.indexOf("FlateEncode")!==-1;)aA.splice(aA.indexOf("FlateEncode"),1);S.objectId=this.internal.newObject();var sA=[];if(sA.push({key:"Type",value:"/XObject"}),sA.push({key:"Subtype",value:"/Image"}),sA.push({key:"Width",value:S.width}),sA.push({key:"Height",value:S.height}),S.colorSpace===F.INDEXED?sA.push({key:"ColorSpace",value:"[/Indexed /DeviceRGB "+(S.palette.length/3-1)+" "+("sMask"in S&&S.sMask!==void 0?S.objectId+2:S.objectId+1)+" 0 R]"}):(sA.push({key:"ColorSpace",value:"/"+S.colorSpace}),S.colorSpace===F.DEVICE_CMYK&&sA.push({key:"Decode",value:"[1 0 1 0 1 0 1 0]"})),sA.push({key:"BitsPerComponent",value:S.bitsPerComponent}),"decodeParameters"in S&&S.decodeParameters!==void 0&&sA.push({key:"DecodeParms",value:"<<"+S.decodeParameters+">>"}),"transparency"in S&&Array.isArray(S.transparency)&&S.transparency.length>0){for(var oA="",tA=0,lA=S.transparency.length;tA<lA;tA++)oA+=S.transparency[tA]+" "+S.transparency[tA]+" ";sA.push({key:"Mask",value:"["+oA+"]"})}S.sMask!==void 0&&sA.push({key:"SMask",value:S.objectId+1+" 0 R"});var FA=S.filter!==void 0?["/"+S.filter]:void 0;if(G({data:S.data,additionalKeyValues:sA,alreadyAppliedFilters:FA,objectId:S.objectId}),R("endobj"),"sMask"in S&&S.sMask!==void 0){var pA,b=(pA=S.sMaskBitsPerComponent)!==null&&pA!==void 0?pA:S.bitsPerComponent,O={width:S.width,height:S.height,colorSpace:"DeviceGray",bitsPerComponent:b,data:S.sMask};"filter"in S&&(O.decodeParameters="/Predictor ".concat(S.predictor," /Colors 1 /BitsPerComponent ").concat(b," /Columns ").concat(S.width),O.filter=S.filter),E.call(this,O)}if(S.colorSpace===F.INDEXED){var M=this.internal.newObject();G({data:V(new Uint8Array(S.palette)),objectId:M}),R("endobj")}},s=function(){var E=this.internal.collections[A+"images"];for(var S in E)i.call(this,E[S])},a=function(){var E,S=this.internal.collections[A+"images"],R=this.internal.write;for(var G in S)R("/I"+(E=S[G]).index,E.objectId,"0","R")},l=function(){this.internal.collections[A+"images"]||(this.internal.collections[A+"images"]={},this.internal.events.subscribe("putResources",s),this.internal.events.subscribe("putXobjectDict",a))},u=function(){var E=this.internal.collections[A+"images"];return l.call(this),E},c=function(){return Object.keys(this.internal.collections[A+"images"]).length},B=function(E){return typeof t["process"+E.toUpperCase()]=="function"},w=function(E){return be(E)==="object"&&E.nodeType===1},g=function(E,S){if(E.nodeName==="IMG"&&E.hasAttribute("src")){var R=""+E.getAttribute("src");if(R.indexOf("data:image/")===0)return Fo(unescape(R).split("base64,").pop());var G=t.loadFile(R,!0);if(G!==void 0)return G}if(E.nodeName==="CANVAS"){if(E.width===0||E.height===0)throw new Error("Given canvas must have data. Canvas width: "+E.width+", height: "+E.height);var aA;switch(S){case"PNG":aA="image/png";break;case"WEBP":aA="image/webp";break;default:aA="image/jpeg"}return Fo(E.toDataURL(aA,1).split("base64,").pop())}},C=function(E){var S=this.internal.collections[A+"images"];if(S){for(var R in S)if(E===S[R].alias)return S[R]}},Q=function(E,S,R){return E||S||(E=-96,S=-96),E<0&&(E=-1*R.width*72/E/this.internal.scaleFactor),S<0&&(S=-1*R.height*72/S/this.internal.scaleFactor),E===0&&(E=S*R.width/R.height),S===0&&(S=E*R.height/R.width),[E,S]},x=function(E,S,R,G,aA,sA){var oA=Q.call(this,R,G,aA),tA=this.internal.getCoordinateString,lA=this.internal.getVerticalCoordinateString,FA=u.call(this);if(R=oA[0],G=oA[1],FA[aA.index]=aA,sA){sA*=Math.PI/180;var pA=Math.cos(sA),b=Math.sin(sA),O=function(q){return q.toFixed(4)},M=[O(pA),O(b),O(-1*b),O(pA),0,0,"cm"]}this.internal.write("q"),sA?(this.internal.write([1,"0","0",1,tA(E),lA(S+G),"cm"].join(" ")),this.internal.write(M.join(" ")),this.internal.write([tA(R),"0","0",tA(G),"0","0","cm"].join(" "))):this.internal.write([tA(R),"0","0",tA(G),tA(E),lA(S+G),"cm"].join(" ")),this.isAdvancedAPI()&&this.internal.write([1,0,0,-1,0,0,"cm"].join(" ")),this.internal.write("/I"+aA.index+" Do"),this.internal.write("Q")},F=t.color_spaces={DEVICE_RGB:"DeviceRGB",DEVICE_GRAY:"DeviceGray",DEVICE_CMYK:"DeviceCMYK",CAL_GREY:"CalGray",CAL_RGB:"CalRGB",LAB:"Lab",ICC_BASED:"ICCBased",INDEXED:"Indexed",PATTERN:"Pattern",SEPARATION:"Separation",DEVICE_N:"DeviceN"};t.decode={DCT_DECODE:"DCTDecode",FLATE_DECODE:"FlateDecode",LZW_DECODE:"LZWDecode",JPX_DECODE:"JPXDecode",JBIG2_DECODE:"JBIG2Decode",ASCII85_DECODE:"ASCII85Decode",ASCII_HEX_DECODE:"ASCIIHexDecode",RUN_LENGTH_DECODE:"RunLengthDecode",CCITT_FAX_DECODE:"CCITTFaxDecode"};var k=t.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},K=t.__addimage__.sHashCode=function(E){var S,R,G=0;if(typeof E=="string")for(R=E.length,S=0;S<R;S++)G=(G<<5)-G+E.charCodeAt(S),G|=0;else if(Z(E))for(R=E.byteLength/2,S=0;S<R;S++)G=(G<<5)-G+E[S],G|=0;return G},P=t.__addimage__.validateStringAsBase64=function(E){(E=E||"").toString().trim();var S=!0;return E.length===0&&(S=!1),E.length%4!=0&&(S=!1),/^[A-Za-z0-9+/]+$/.test(E.substr(0,E.length-2))===!1&&(S=!1),/^[A-Za-z0-9/][A-Za-z0-9+/]|[A-Za-z0-9+/]=|==$/.test(E.substr(-2))===!1&&(S=!1),S},z=t.__addimage__.extractImageFromDataUrl=function(E){if(E==null||!(E=E.trim()).startsWith("data:"))return null;var S=E.indexOf(",");return S<0?null:E.substring(0,S).trim().endsWith("base64")?E.substring(S+1):null};t.__addimage__.isArrayBuffer=function(E){return E instanceof ArrayBuffer};var Z=t.__addimage__.isArrayBufferView=function(E){return E instanceof Int8Array||E instanceof Uint8Array||E instanceof Uint8ClampedArray||E instanceof Int16Array||E instanceof Uint16Array||E instanceof Int32Array||E instanceof Uint32Array||E instanceof Float32Array||E instanceof Float64Array},iA=t.__addimage__.binaryStringToUint8Array=function(E){for(var S=E.length,R=new Uint8Array(S),G=0;G<S;G++)R[G]=E.charCodeAt(G);return R},V=t.__addimage__.arrayBufferToBinaryString=function(E){for(var S="",R=Z(E)?E:new Uint8Array(E),G=0;G<R.length;G+=8192)S+=String.fromCharCode.apply(null,R.subarray(G,G+8192));return S};t.addImage=function(){var E,S,R,G,aA,sA,oA,tA,lA;if(typeof arguments[1]=="number"?(S=e,R=arguments[1],G=arguments[2],aA=arguments[3],sA=arguments[4],oA=arguments[5],tA=arguments[6],lA=arguments[7]):(S=arguments[1],R=arguments[2],G=arguments[3],aA=arguments[4],sA=arguments[5],oA=arguments[6],tA=arguments[7],lA=arguments[8]),be(E=arguments[0])==="object"&&!w(E)&&"imageData"in E){var FA=E;E=FA.imageData,S=FA.format||S||e,R=FA.x||R||0,G=FA.y||G||0,aA=FA.w||FA.width||aA,sA=FA.h||FA.height||sA,oA=FA.alias||oA,tA=FA.compression||tA,lA=FA.rotation||FA.angle||lA}var pA=this.internal.getFilters();if(tA===void 0&&pA.indexOf("FlateEncode")!==-1&&(tA="SLOW"),isNaN(R)||isNaN(G))throw new Error("Invalid coordinates passed to jsPDF.addImage");l.call(this);var b=N.call(this,E,S,oA,tA);return x.call(this,R,G,aA,sA,b,lA),this};var N=function(E,S,R,G){var aA,sA,oA;if(typeof E=="string"&&n(E)===e){E=unescape(E);var tA=$(E,!1);(tA!==""||(tA=t.loadFile(E,!0))!==void 0)&&(E=tA)}if(w(E)&&(E=g(E,S)),S=n(E,S),!B(S))throw new Error("addImage does not support files of type '"+S+"', please ensure that a plugin for '"+S+"' support is added.");if(((oA=R)==null||oA.length===0)&&(R=(function(lA){return typeof lA=="string"||Z(lA)?K(lA):Z(lA.data)?K(lA.data):null})(E)),(aA=C.call(this,R))||(E instanceof Uint8Array||S==="RGBA"||(sA=E,E=iA(E)),aA=this["process"+S.toUpperCase()](E,c.call(this),R,(function(lA){return lA&&typeof lA=="string"&&(lA=lA.toUpperCase()),lA in t.image_compression?lA:k.NONE})(G),sA)),!aA)throw new Error("An unknown error occurred whilst processing the image.");return aA},$=t.__addimage__.convertBase64ToBinaryString=function(E,S){S=typeof S!="boolean"||S;var R,G="";if(typeof E=="string"){var aA;R=(aA=z(E))!==null&&aA!==void 0?aA:E;try{G=Fo(R)}catch(sA){if(S)throw P(R)?new Error("atob-Error in jsPDF.convertBase64ToBinaryString "+sA.message):new Error("Supplied Data is not a valid base64-String jsPDF.convertBase64ToBinaryString ")}}return G};t.getImageProperties=function(E){var S,R,G="";if(w(E)&&(E=g(E)),typeof E=="string"&&n(E)===e&&((G=$(E,!1))===""&&(G=t.loadFile(E)||""),E=G),R=n(E),!B(R))throw new Error("addImage does not support files of type '"+R+"', please ensure that a plugin for '"+R+"' support is added.");if(E instanceof Uint8Array||(E=iA(E)),!(S=this["process"+R.toUpperCase()](E)))throw new Error("An unknown error occurred whilst processing the image");return S.fileType=R,S}})(MA.API),(function(t){var A=function(e){if(e!==void 0&&e!="")return!0};MA.API.events.push(["addPage",function(e){this.internal.getPageInfo(e.pageNumber).pageContext.annotations=[]}]),t.events.push(["putPage",function(e){for(var r,n,i,s=this.internal.getCoordinateString,a=this.internal.getVerticalCoordinateString,l=this.internal.getPageInfoByObjId(e.objId),u=e.pageContext.annotations,c=!1,B=0;B<u.length&&!c;B++)switch((r=u[B]).type){case"link":(A(r.options.url)||A(r.options.pageNumber))&&(c=!0);break;case"reference":case"text":case"freetext":c=!0}if(c!=0){this.internal.write("/Annots [");for(var w=0;w<u.length;w++){r=u[w];var g=this.internal.pdfEscape,C=this.internal.getEncryptor(e.objId);switch(r.type){case"reference":this.internal.write(" "+r.object.objId+" 0 R ");break;case"text":var Q=this.internal.newAdditionalObject(),x=this.internal.newAdditionalObject(),F=this.internal.getEncryptor(Q.objId),k=r.title||"Note";i="<</Type /Annot /Subtype /Text "+(n="/Rect ["+s(r.bounds.x)+" "+a(r.bounds.y+r.bounds.h)+" "+s(r.bounds.x+r.bounds.w)+" "+a(r.bounds.y)+"] ")+"/Contents ("+g(F(r.contents))+")",i+=" /Popup "+x.objId+" 0 R",i+=" /P "+l.objId+" 0 R",i+=" /T ("+g(F(k))+") >>",Q.content=i;var K=Q.objId+" 0 R";i="<</Type /Annot /Subtype /Popup "+(n="/Rect ["+s(r.bounds.x+30)+" "+a(r.bounds.y+r.bounds.h)+" "+s(r.bounds.x+r.bounds.w+30)+" "+a(r.bounds.y)+"] ")+" /Parent "+K,r.open&&(i+=" /Open true"),i+=" >>",x.content=i,this.internal.write(Q.objId,"0 R",x.objId,"0 R");break;case"freetext":n="/Rect ["+s(r.bounds.x)+" "+a(r.bounds.y)+" "+s(r.bounds.x+r.bounds.w)+" "+a(r.bounds.y+r.bounds.h)+"] ";var P="font: Helvetica,sans-serif 12.0pt; text-align:left; color:#"+(r.color||"#000000");i="<</Type /Annot /Subtype /FreeText "+n+"/Contents ("+g(C(r.contents))+")",i+=" /DS("+g(C(P))+")",i+=" /Border [0 0 0]",i+=" >>",this.internal.write(i);break;case"link":if(r.options.name){var z=this.annotations._nameMap[r.options.name];r.options.pageNumber=z.page,r.options.top=z.y}else r.options.top||(r.options.top=0);if(n="/Rect ["+r.finalBounds.x+" "+r.finalBounds.y+" "+r.finalBounds.w+" "+r.finalBounds.h+"] ",i="",r.options.url)i="<</Type /Annot /Subtype /Link "+n+"/Border [0 0 0] /A <</S /URI /URI ("+g(C(r.options.url))+") >>";else if(r.options.pageNumber)switch(i="<</Type /Annot /Subtype /Link "+n+"/Border [0 0 0] /Dest ["+this.internal.getPageInfo(r.options.pageNumber).objId+" 0 R",r.options.magFactor=r.options.magFactor||"XYZ",r.options.magFactor){case"Fit":i+=" /Fit]";break;case"FitH":i+=" /FitH "+r.options.top+"]";break;case"FitV":r.options.left=r.options.left||0,i+=" /FitV "+r.options.left+"]";break;default:var Z=a(r.options.top);r.options.left=r.options.left||0,r.options.zoom===void 0&&(r.options.zoom=0),i+=" /XYZ "+r.options.left+" "+Z+" "+r.options.zoom+"]"}i!=""&&(i+=" >>",this.internal.write(i))}}this.internal.write("]")}}]),t.createAnnotation=function(e){var r=this.internal.getCurrentPageInfo();switch(e.type){case"link":this.link(e.bounds.x,e.bounds.y,e.bounds.w,e.bounds.h,e);break;case"text":case"freetext":r.pageContext.annotations.push(e)}},t.link=function(e,r,n,i,s){var a=this.internal.getCurrentPageInfo(),l=this.internal.getCoordinateString,u=this.internal.getVerticalCoordinateString;a.pageContext.annotations.push({finalBounds:{x:l(e),y:u(r),w:l(e+n),h:u(r+i)},options:s,type:"link"})},t.textWithLink=function(e,r,n,i){var s,a,l=this.getTextWidth(e),u=this.internal.getLineHeight()/this.internal.scaleFactor;if(i.maxWidth!==void 0){a=i.maxWidth;var c=this.splitTextToSize(e,a).length;s=Math.ceil(u*c)}else a=l,s=u;return this.text(e,r,n,i),n+=.2*u,i.align==="center"&&(r-=l/2),i.align==="right"&&(r-=l),this.link(r,n-u,a,s,i),l},t.getTextWidth=function(e){var r=this.internal.getFontSize();return this.getStringUnitWidth(e)*r/this.internal.scaleFactor}})(MA.API),(function(t){var A={1569:[65152],1570:[65153,65154],1571:[65155,65156],1572:[65157,65158],1573:[65159,65160],1574:[65161,65162,65163,65164],1575:[65165,65166],1576:[65167,65168,65169,65170],1577:[65171,65172],1578:[65173,65174,65175,65176],1579:[65177,65178,65179,65180],1580:[65181,65182,65183,65184],1581:[65185,65186,65187,65188],1582:[65189,65190,65191,65192],1583:[65193,65194],1584:[65195,65196],1585:[65197,65198],1586:[65199,65200],1587:[65201,65202,65203,65204],1588:[65205,65206,65207,65208],1589:[65209,65210,65211,65212],1590:[65213,65214,65215,65216],1591:[65217,65218,65219,65220],1592:[65221,65222,65223,65224],1593:[65225,65226,65227,65228],1594:[65229,65230,65231,65232],1601:[65233,65234,65235,65236],1602:[65237,65238,65239,65240],1603:[65241,65242,65243,65244],1604:[65245,65246,65247,65248],1605:[65249,65250,65251,65252],1606:[65253,65254,65255,65256],1607:[65257,65258,65259,65260],1608:[65261,65262],1609:[65263,65264,64488,64489],1610:[65265,65266,65267,65268],1649:[64336,64337],1655:[64477],1657:[64358,64359,64360,64361],1658:[64350,64351,64352,64353],1659:[64338,64339,64340,64341],1662:[64342,64343,64344,64345],1663:[64354,64355,64356,64357],1664:[64346,64347,64348,64349],1667:[64374,64375,64376,64377],1668:[64370,64371,64372,64373],1670:[64378,64379,64380,64381],1671:[64382,64383,64384,64385],1672:[64392,64393],1676:[64388,64389],1677:[64386,64387],1678:[64390,64391],1681:[64396,64397],1688:[64394,64395],1700:[64362,64363,64364,64365],1702:[64366,64367,64368,64369],1705:[64398,64399,64400,64401],1709:[64467,64468,64469,64470],1711:[64402,64403,64404,64405],1713:[64410,64411,64412,64413],1715:[64406,64407,64408,64409],1722:[64414,64415],1723:[64416,64417,64418,64419],1726:[64426,64427,64428,64429],1728:[64420,64421],1729:[64422,64423,64424,64425],1733:[64480,64481],1734:[64473,64474],1735:[64471,64472],1736:[64475,64476],1737:[64482,64483],1739:[64478,64479],1740:[64508,64509,64510,64511],1744:[64484,64485,64486,64487],1746:[64430,64431],1747:[64432,64433]},e={65247:{65154:65269,65156:65271,65160:65273,65166:65275},65248:{65154:65270,65156:65272,65160:65274,65166:65276},65165:{65247:{65248:{65258:65010}}},1617:{1612:64606,1613:64607,1614:64608,1615:64609,1616:64610}},r={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},n=[1570,1571,1573,1575];t.__arabicParser__={};var i=t.__arabicParser__.isInArabicSubstitutionA=function(Q){return A[Q.charCodeAt(0)]!==void 0},s=t.__arabicParser__.isArabicLetter=function(Q){return typeof Q=="string"&&/^[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]+$/.test(Q)},a=t.__arabicParser__.isArabicEndLetter=function(Q){return s(Q)&&i(Q)&&A[Q.charCodeAt(0)].length<=2},l=t.__arabicParser__.isArabicAlfLetter=function(Q){return s(Q)&&n.indexOf(Q.charCodeAt(0))>=0};t.__arabicParser__.arabicLetterHasIsolatedForm=function(Q){return s(Q)&&i(Q)&&A[Q.charCodeAt(0)].length>=1};var u=t.__arabicParser__.arabicLetterHasFinalForm=function(Q){return s(Q)&&i(Q)&&A[Q.charCodeAt(0)].length>=2};t.__arabicParser__.arabicLetterHasInitialForm=function(Q){return s(Q)&&i(Q)&&A[Q.charCodeAt(0)].length>=3};var c=t.__arabicParser__.arabicLetterHasMedialForm=function(Q){return s(Q)&&i(Q)&&A[Q.charCodeAt(0)].length==4},B=t.__arabicParser__.resolveLigatures=function(Q){var x=0,F=e,k="",K=0;for(x=0;x<Q.length;x+=1)F[Q.charCodeAt(x)]!==void 0?(K++,typeof(F=F[Q.charCodeAt(x)])=="number"&&(k+=String.fromCharCode(F),F=e,K=0),x===Q.length-1&&(F=e,k+=Q.charAt(x-(K-1)),x-=K-1,K=0)):(F=e,k+=Q.charAt(x-K),x-=K,K=0);return k};t.__arabicParser__.isArabicDiacritic=function(Q){return Q!==void 0&&r[Q.charCodeAt(0)]!==void 0};var w=t.__arabicParser__.getCorrectForm=function(Q,x,F){return s(Q)?i(Q)===!1?-1:!u(Q)||!s(x)&&!s(F)||!s(F)&&a(x)||a(Q)&&!s(x)||a(Q)&&l(x)||a(Q)&&a(x)?0:c(Q)&&s(x)&&!a(x)&&s(F)&&u(F)?3:a(Q)||!s(F)?1:2:-1},g=function(Q){var x=0,F=0,k=0,K="",P="",z="",Z=(Q=Q||"").split("\\s+"),iA=[];for(x=0;x<Z.length;x+=1){for(iA.push(""),F=0;F<Z[x].length;F+=1)K=Z[x][F],P=Z[x][F-1],z=Z[x][F+1],s(K)?(k=w(K,P,z),iA[x]+=k!==-1?String.fromCharCode(A[K.charCodeAt(0)][k]):K):iA[x]+=K;iA[x]=B(iA[x])}return iA.join(" ")},C=t.__arabicParser__.processArabic=t.processArabic=function(){var Q,x=typeof arguments[0]=="string"?arguments[0]:arguments[0].text,F=[];if(Array.isArray(x)){var k=0;for(F=[],k=0;k<x.length;k+=1)Array.isArray(x[k])?F.push([g(x[k][0]),x[k][1],x[k][2]]):F.push([g(x[k])]);Q=F}else Q=g(x);return typeof arguments[0]=="string"?Q:(arguments[0].text=Q,arguments[0])};t.events.push(["preProcessText",C])})(MA.API),MA.API.autoPrint=function(t){var A;return(t=t||{}).variant=t.variant||"non-conform",t.variant==="javascript"?this.addJS("print({});"):(this.internal.events.subscribe("postPutResources",function(){A=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /Named"),this.internal.out("/Type /Action"),this.internal.out("/N /Print"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+A+" 0 R")})),this},(function(t){var A=function(){var e=void 0;Object.defineProperty(this,"pdf",{get:function(){return e},set:function(a){e=a}});var r=150;Object.defineProperty(this,"width",{get:function(){return r},set:function(a){r=isNaN(a)||Number.isInteger(a)===!1||a<0?150:a,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=r+1)}});var n=300;Object.defineProperty(this,"height",{get:function(){return n},set:function(a){n=isNaN(a)||Number.isInteger(a)===!1||a<0?300:a,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=n+1)}});var i=[];Object.defineProperty(this,"childNodes",{get:function(){return i},set:function(a){i=a}});var s={};Object.defineProperty(this,"style",{get:function(){return s},set:function(a){s=a}}),Object.defineProperty(this,"parentNode",{})};A.prototype.getContext=function(e,r){var n;if((e=e||"2d")!=="2d")return null;for(n in r)this.pdf.context2d.hasOwnProperty(n)&&(this.pdf.context2d[n]=r[n]);return this.pdf.context2d._canvas=this,this.pdf.context2d},A.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},t.events.push(["initialized",function(){this.canvas=new A,this.canvas.pdf=this}])})(MA.API),(function(t){var A={left:0,top:0,bottom:0,right:0},e=!1,r=function(){this.internal.__cell__===void 0&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},A),this.internal.__cell__.margins.width=this.getPageWidth(),n.call(this))},n=function(){this.internal.__cell__.lastCell=new i,this.internal.__cell__.pages=1},i=function(){var l=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return l},set:function(Q){l=Q}});var u=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return u},set:function(Q){u=Q}});var c=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return c},set:function(Q){c=Q}});var B=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return B},set:function(Q){B=Q}});var w=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return w},set:function(Q){w=Q}});var g=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return g},set:function(Q){g=Q}});var C=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return C},set:function(Q){C=Q}}),this};i.prototype.clone=function(){return new i(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},i.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},t.setHeaderFunction=function(l){return r.call(this),this.internal.__cell__.headerFunction=typeof l=="function"?l:void 0,this},t.getTextDimensions=function(l,u){r.call(this);var c=(u=u||{}).fontSize||this.getFontSize(),B=u.font||this.getFont(),w=u.scaleFactor||this.internal.scaleFactor,g=0,C=0,Q=0,x=this;if(!Array.isArray(l)&&typeof l!="string"){if(typeof l!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");l=String(l)}var F=u.maxWidth;F>0?typeof l=="string"?l=this.splitTextToSize(l,F):Object.prototype.toString.call(l)==="[object Array]"&&(l=l.reduce(function(K,P){return K.concat(x.splitTextToSize(P,F))},[])):l=Array.isArray(l)?l:[l];for(var k=0;k<l.length;k++)g<(Q=this.getStringUnitWidth(l[k],{font:B})*c)&&(g=Q);return g!==0&&(C=l.length),{w:g/=w,h:Math.max((C*c*this.getLineHeightFactor()-c*(this.getLineHeightFactor()-1))/w,0)}},t.cellAddPage=function(){r.call(this),this.addPage();var l=this.internal.__cell__.margins||A;return this.internal.__cell__.lastCell=new i(l.left,l.top,void 0,void 0),this.internal.__cell__.pages+=1,this};var s=t.cell=function(){var l;l=arguments[0]instanceof i?arguments[0]:new i(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6]),r.call(this);var u=this.internal.__cell__.lastCell,c=this.internal.__cell__.padding,B=this.internal.__cell__.margins||A,w=this.internal.__cell__.tableHeaderRow,g=this.internal.__cell__.printHeaders;return u.lineNumber!==void 0&&(u.lineNumber===l.lineNumber?(l.x=(u.x||0)+(u.width||0),l.y=u.y||0):u.y+u.height+l.height+B.bottom>this.getPageHeight()?(this.cellAddPage(),l.y=B.top,g&&w&&(this.printHeaderRow(l.lineNumber,!0),l.y+=w[0].height)):l.y=u.y+u.height||l.y),l.text[0]!==void 0&&(this.rect(l.x,l.y,l.width,l.height,e===!0?"FD":void 0),l.align==="right"?this.text(l.text,l.x+l.width-c,l.y+c,{align:"right",baseline:"top"}):l.align==="center"?this.text(l.text,l.x+l.width/2,l.y+c,{align:"center",baseline:"top",maxWidth:l.width-c-c}):this.text(l.text,l.x+c,l.y+c,{align:"left",baseline:"top",maxWidth:l.width-c-c})),this.internal.__cell__.lastCell=l,this};t.table=function(l,u,c,B,w){if(r.call(this),!c)throw new Error("No data for PDF table.");var g,C,Q,x,F=[],k=[],K=[],P={},z={},Z=[],iA=[],V=(w=w||{}).autoSize||!1,N=w.printHeaders!==!1,$=w.css&&w.css["font-size"]!==void 0?16*w.css["font-size"]:w.fontSize||12,E=w.margins||Object.assign({width:this.getPageWidth()},A),S=typeof w.padding=="number"?w.padding:3,R=w.headerBackgroundColor||"#c8c8c8",G=w.headerTextColor||"#000";if(n.call(this),this.internal.__cell__.printHeaders=N,this.internal.__cell__.margins=E,this.internal.__cell__.table_font_size=$,this.internal.__cell__.padding=S,this.internal.__cell__.headerBackgroundColor=R,this.internal.__cell__.headerTextColor=G,this.setFontSize($),B==null)k=F=Object.keys(c[0]),K=F.map(function(){return"left"});else if(Array.isArray(B)&&be(B[0])==="object")for(F=B.map(function(FA){return FA.name}),k=B.map(function(FA){return FA.prompt||FA.name||""}),K=B.map(function(FA){return FA.align||"left"}),g=0;g<B.length;g+=1)z[B[g].name]=.7499990551181103*B[g].width;else Array.isArray(B)&&typeof B[0]=="string"&&(k=F=B,K=F.map(function(){return"left"}));if(V||Array.isArray(B)&&typeof B[0]=="string")for(g=0;g<F.length;g+=1){for(P[x=F[g]]=c.map(function(FA){return FA[x]}),this.setFont(void 0,"bold"),Z.push(this.getTextDimensions(k[g],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w),C=P[x],this.setFont(void 0,"normal"),Q=0;Q<C.length;Q+=1)Z.push(this.getTextDimensions(C[Q],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w);z[x]=Math.max.apply(null,Z)+S+S,Z=[]}if(N){var aA={};for(g=0;g<F.length;g+=1)aA[F[g]]={},aA[F[g]].text=k[g],aA[F[g]].align=K[g];var sA=a.call(this,aA,z);iA=F.map(function(FA){return new i(l,u,z[FA],sA,aA[FA].text,void 0,aA[FA].align)}),this.setTableHeaderRow(iA),this.printHeaderRow(1,!1)}var oA=B.reduce(function(FA,pA){return FA[pA.name]=pA.align,FA},{});for(g=0;g<c.length;g+=1){"rowStart"in w&&w.rowStart instanceof Function&&w.rowStart({row:g,data:c[g]},this);var tA=a.call(this,c[g],z);for(Q=0;Q<F.length;Q+=1){var lA=c[g][F[Q]];"cellStart"in w&&w.cellStart instanceof Function&&w.cellStart({row:g,col:Q,data:lA},this),s.call(this,new i(l,u,z[F[Q]],tA,lA,g+2,oA[F[Q]]))}}return this.internal.__cell__.table_x=l,this.internal.__cell__.table_y=u,this};var a=function(l,u){var c=this.internal.__cell__.padding,B=this.internal.__cell__.table_font_size,w=this.internal.scaleFactor;return Object.keys(l).map(function(g){var C=l[g];return this.splitTextToSize(C.hasOwnProperty("text")?C.text:C,u[g]-c-c)},this).map(function(g){return this.getLineHeightFactor()*g.length*B/w+c+c},this).reduce(function(g,C){return Math.max(g,C)},0)};t.setTableHeaderRow=function(l){r.call(this),this.internal.__cell__.tableHeaderRow=l},t.printHeaderRow=function(l,u){if(r.call(this),!this.internal.__cell__.tableHeaderRow)throw new Error("Property tableHeaderRow does not exist.");var c;if(e=!0,typeof this.internal.__cell__.headerFunction=="function"){var B=this.internal.__cell__.headerFunction(this,this.internal.__cell__.pages);this.internal.__cell__.lastCell=new i(B[0],B[1],B[2],B[3],void 0,-1)}this.setFont(void 0,"bold");for(var w=[],g=0;g<this.internal.__cell__.tableHeaderRow.length;g+=1){c=this.internal.__cell__.tableHeaderRow[g].clone(),u&&(c.y=this.internal.__cell__.margins.top||0,w.push(c)),c.lineNumber=l;var C=this.getTextColor();this.setTextColor(this.internal.__cell__.headerTextColor),this.setFillColor(this.internal.__cell__.headerBackgroundColor),s.call(this,c),this.setTextColor(C)}w.length>0&&this.setTableHeaderRow(w),this.setFont(void 0,"normal"),e=!1}})(MA.API);var dg={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},Bg=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],ju=gg(Bg),pg=[100,200,300,400,500,600,700,800,900],M2=gg(pg);function iu(t){var A=t.family.replace(/"|'/g,"").toLowerCase(),e=(function(i){return dg[i=i||"normal"]?i:"normal"})(t.style),r=(function(i){return i?typeof i=="number"?i>=100&&i<=900&&i%100==0?i:400:/^\d00$/.test(i)?parseInt(i):i==="bold"?700:400:400})(t.weight),n=(function(i){return typeof ju[i=i||"normal"]=="number"?i:"normal"})(t.stretch);return{family:A,style:e,weight:r,stretch:n,src:t.src||[],ref:t.ref||{name:A,style:[n,e,r].join(" ")}}}function oh(t,A,e,r){var n;for(n=e;n>=0&&n<A.length;n+=r)if(t[A[n]])return t[A[n]];for(n=e;n>=0&&n<A.length;n-=r)if(t[A[n]])return t[A[n]]}var R2={"sans-serif":"helvetica",fixed:"courier",monospace:"courier",terminal:"courier",cursive:"times",fantasy:"times",serif:"times"},lh={caption:"times",icon:"times",menu:"times","message-box":"times","small-caption":"times","status-bar":"times"};function uh(t){return[t.stretch,t.style,t.weight,t.family].join(" ")}function fh(t){return t.trimLeft()}function K2(t,A){for(var e=0;e<t.length;){if(t.charAt(e)===A)return[t.substring(0,e),t.substring(e+1)];e+=1}return null}function G2(t){var A=t.match(/^(-[a-z_]|[a-z_])[a-z0-9_-]*/i);return A===null?null:[A[0],t.substring(A[0].length)]}var Gi,zs,ch,hh,gh,au=["times"];function dh(t,A,e,r,n){var i=4,s=ph;switch(n){case MA.API.image_compression.FAST:i=1,s=Bh;break;case MA.API.image_compression.MEDIUM:i=6,s=wh;break;case MA.API.image_compression.SLOW:i=9,s=vh}t=(function(l,u,c,B){for(var w,g=l.length/u,C=new Uint8Array(l.length+g),Q=[j2,Bh,ph,wh,vh],x=0;x<g;x+=1){var F=x*u,k=l.subarray(F,F+u);if(B)C.set(B(k,c,w),F+x);else{for(var K=Q.length,P=[],z=0;z<K;z+=1)P[z]=Q[z](k,c,w);var Z=q2(P.concat());C.set(P[Z],F+x)}w=k}return C})(t,A,Math.ceil(e*r/8),s);var a=ku(t,{level:i});return MA.API.__addimage__.arrayBufferToBinaryString(a)}function j2(t){var A=Array.apply([],t);return A.unshift(0),A}function Bh(t,A){var e=t.length,r=[];r[0]=1;for(var n=0;n<e;n+=1){var i=t[n-A]||0;r[n+1]=t[n]-i+256&255}return r}function ph(t,A,e){var r=t.length,n=[];n[0]=2;for(var i=0;i<r;i+=1){var s=e&&e[i]||0;n[i+1]=t[i]-s+256&255}return n}function wh(t,A,e){var r=t.length,n=[];n[0]=3;for(var i=0;i<r;i+=1){var s=t[i-A]||0,a=e&&e[i]||0;n[i+1]=t[i]+256-(s+a>>>1)&255}return n}function vh(t,A,e){var r=t.length,n=[];n[0]=4;for(var i=0;i<r;i+=1){var s=V2(t[i-A]||0,e&&e[i]||0,e&&e[i-A]||0);n[i+1]=t[i]-s+256&255}return n}function V2(t,A,e){if(t===A&&A===e)return t;var r=Math.abs(A-e),n=Math.abs(t-e),i=Math.abs(t+A-e-e);return r<=n&&r<=i?t:n<=i?A:e}function q2(t){var A=t.map(function(e){return e.reduce(function(r,n){return r+Math.abs(n)},0)});return A.indexOf(Math.min.apply(null,A))}function su(t,A,e){var r=A*e,n=Math.floor(r/8),i=16-(r-8*n+e),s=(1<<e)-1;return wg(t,n)>>i&s}function mh(t,A,e,r){var n=e*r,i=Math.floor(n/8),s=16-(n-8*i+r),a=(1<<r)-1,l=(A&a)<<s;(function(u,c,B){if(c+1<u.byteLength)u.setUint16(c,B,!1);else{var w=B>>8&255;u.setUint8(c,w)}})(t,i,wg(t,i)&~(a<<s)&65535|l)}function wg(t,A){return A+1<t.byteLength?t.getUint16(A,!1):t.getUint8(A)<<8}function W2(t){var A=0;if(t[A++]!==71||t[A++]!==73||t[A++]!==70||t[A++]!==56||(t[A++]+1&253)!=56||t[A++]!==97)throw new Error("Invalid GIF 87a/89a header.");var e=t[A++]|t[A++]<<8,r=t[A++]|t[A++]<<8,n=t[A++],i=n>>7,s=1<<1+(7&n);t[A++],t[A++];var a=null,l=null;i&&(a=A,l=s,A+=3*s);var u=!0,c=[],B=0,w=null,g=0,C=null;for(this.width=e,this.height=r;u&&A<t.length;)switch(t[A++]){case 33:switch(t[A++]){case 255:if(t[A]!==11||t[A+1]==78&&t[A+2]==69&&t[A+3]==84&&t[A+4]==83&&t[A+5]==67&&t[A+6]==65&&t[A+7]==80&&t[A+8]==69&&t[A+9]==50&&t[A+10]==46&&t[A+11]==48&&t[A+12]==3&&t[A+13]==1&&t[A+16]==0)A+=14,C=t[A++]|t[A++]<<8,A++;else for(A+=12;;){if(!((E=t[A++])>=0))throw Error("Invalid block size");if(E===0)break;A+=E}break;case 249:if(t[A++]!==4||t[A+4]!==0)throw new Error("Invalid graphics extension block.");var Q=t[A++];B=t[A++]|t[A++]<<8,w=t[A++],1&Q||(w=null),g=Q>>2&7,A++;break;case 254:for(;;){if(!((E=t[A++])>=0))throw Error("Invalid block size");if(E===0)break;A+=E}break;default:throw new Error("Unknown graphic control label: 0x"+t[A-1].toString(16))}break;case 44:var x=t[A++]|t[A++]<<8,F=t[A++]|t[A++]<<8,k=t[A++]|t[A++]<<8,K=t[A++]|t[A++]<<8,P=t[A++],z=P>>6&1,Z=1<<1+(7&P),iA=a,V=l,N=!1;P>>7&&(N=!0,iA=A,V=Z,A+=3*Z);var $=A;for(A++;;){var E;if(!((E=t[A++])>=0))throw Error("Invalid block size");if(E===0)break;A+=E}c.push({x,y:F,width:k,height:K,has_local_palette:N,palette_offset:iA,palette_size:V,data_offset:$,data_length:A-$,transparent_index:w,interlaced:!!z,delay:B,disposal:g});break;case 59:u=!1;break;default:throw new Error("Unknown gif block: 0x"+t[A-1].toString(16))}this.numFrames=function(){return c.length},this.loopCount=function(){return C},this.frameInfo=function(S){if(S<0||S>=c.length)throw new Error("Frame index out of range.");return c[S]},this.decodeAndBlitFrameBGRA=function(S,R){var G=this.frameInfo(S),aA=G.width*G.height;if(aA>536870912)throw new Error("Image dimensions exceed 512MB, which is too large.");var sA=new Uint8Array(aA);Ch(t,G.data_offset,sA,aA);var oA=G.palette_offset,tA=G.transparent_index;tA===null&&(tA=256);var lA=G.width,FA=e-lA,pA=lA,b=4*(G.y*e+G.x),O=4*((G.y+G.height)*e+G.x),M=b,q=4*FA;G.interlaced===!0&&(q+=4*e*7);for(var X=8,eA=0,uA=sA.length;eA<uA;++eA){var fA=sA[eA];if(pA===0&&(pA=lA,(M+=q)>=O&&(q=4*FA+4*e*(X-1),M=b+(lA+FA)*(X<<1),X>>=1)),fA===tA)M+=4;else{var BA=t[oA+3*fA],yA=t[oA+3*fA+1],LA=t[oA+3*fA+2];R[M++]=LA,R[M++]=yA,R[M++]=BA,R[M++]=255}--pA}},this.decodeAndBlitFrameRGBA=function(S,R){var G=this.frameInfo(S),aA=G.width*G.height;if(aA>536870912)throw new Error("Image dimensions exceed 512MB, which is too large.");var sA=new Uint8Array(aA);Ch(t,G.data_offset,sA,aA);var oA=G.palette_offset,tA=G.transparent_index;tA===null&&(tA=256);var lA=G.width,FA=e-lA,pA=lA,b=4*(G.y*e+G.x),O=4*((G.y+G.height)*e+G.x),M=b,q=4*FA;G.interlaced===!0&&(q+=4*e*7);for(var X=8,eA=0,uA=sA.length;eA<uA;++eA){var fA=sA[eA];if(pA===0&&(pA=lA,(M+=q)>=O&&(q=4*FA+4*e*(X-1),M=b+(lA+FA)*(X<<1),X>>=1)),fA===tA)M+=4;else{var BA=t[oA+3*fA],yA=t[oA+3*fA+1],LA=t[oA+3*fA+2];R[M++]=BA,R[M++]=yA,R[M++]=LA,R[M++]=255}--pA}}}function Ch(t,A,e,r){for(var n=t[A++],i=1<<n,s=i+1,a=s+1,l=n+1,u=(1<<l)-1,c=0,B=0,w=0,g=t[A++],C=new Int32Array(4096),Q=null;;){for(;c<16&&g!==0;)B|=t[A++]<<c,c+=8,g===1?g=t[A++]:--g;if(c<l)break;var x=B&u;if(B>>=l,c-=l,x!==i){if(x===s)break;for(var F=x<a?x:Q,k=0,K=F;K>i;)K=C[K]>>8,++k;var P=K;if(w+k+(F!==x?1:0)>r)return void Ie.log("Warning, gif stream longer than expected.");e[w++]=P;var z=w+=k;for(F!==x&&(e[w++]=P),K=F;k--;)K=C[K],e[--z]=255&K,K>>=8;Q!==null&&a<4096&&(C[a++]=Q<<8|P,a>=u+1&&l<12&&(++l,u=u<<1|1)),Q=x}else a=s+1,u=(1<<(l=n+1))-1,Q=null}return w!==r&&Ie.log("Warning, gif stream shorter than expected."),e}/**
|
|
72
|
+
* @license
|
|
73
|
+
Copyright (c) 2008, Adobe Systems Incorporated
|
|
74
|
+
All rights reserved.
|
|
75
|
+
|
|
76
|
+
Redistribution and use in source and binary forms, with or without
|
|
77
|
+
modification, are permitted provided that the following conditions are
|
|
78
|
+
met:
|
|
79
|
+
|
|
80
|
+
* Redistributions of source code must retain the above copyright notice,
|
|
81
|
+
this list of conditions and the following disclaimer.
|
|
82
|
+
|
|
83
|
+
* Redistributions in binary form must reproduce the above copyright
|
|
84
|
+
notice, this list of conditions and the following disclaimer in the
|
|
85
|
+
documentation and/or other materials provided with the distribution.
|
|
86
|
+
|
|
87
|
+
* Neither the name of Adobe Systems Incorporated nor the names of its
|
|
88
|
+
contributors may be used to endorse or promote products derived from
|
|
89
|
+
this software without specific prior written permission.
|
|
90
|
+
|
|
91
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
|
|
92
|
+
IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
|
|
93
|
+
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
|
94
|
+
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
|
|
95
|
+
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
|
96
|
+
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
|
97
|
+
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
|
98
|
+
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
|
99
|
+
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
|
100
|
+
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
|
101
|
+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
102
|
+
*/function ou(t){var A,e,r,n,i,s=Math.floor,a=new Array(64),l=new Array(64),u=new Array(64),c=new Array(64),B=new Array(65535),w=new Array(65535),g=new Array(64),C=new Array(64),Q=[],x=0,F=7,k=new Array(64),K=new Array(64),P=new Array(64),z=new Array(256),Z=new Array(2048),iA=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],V=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],N=[0,1,2,3,4,5,6,7,8,9,10,11],$=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],E=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],S=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],R=[0,1,2,3,4,5,6,7,8,9,10,11],G=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],aA=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function sA(b,O){for(var M=0,q=0,X=new Array,eA=1;eA<=16;eA++){for(var uA=1;uA<=b[eA];uA++)X[O[q]]=[],X[O[q]][0]=M,X[O[q]][1]=eA,q++,M++;M*=2}return X}function oA(b){for(var O=b[0],M=b[1]-1;M>=0;)O&1<<M&&(x|=1<<F),M--,--F<0&&(x==255?(tA(255),tA(0)):tA(x),F=7,x=0)}function tA(b){Q.push(b)}function lA(b){tA(b>>8&255),tA(255&b)}function FA(b,O,M,q,X){for(var eA,uA=X[0],fA=X[240],BA=(function(mA,qA){var SA,jA,KA,me,fe,Ae,ge,ce,kA,ne,OA=0;for(kA=0;kA<8;++kA){SA=mA[OA],jA=mA[OA+1],KA=mA[OA+2],me=mA[OA+3],fe=mA[OA+4],Ae=mA[OA+5],ge=mA[OA+6];var Je=SA+(ce=mA[OA+7]),we=SA-ce,oe=jA+ge,le=jA-ge,Oe=KA+Ae,GA=KA-Ae,Se=me+fe,JA=me-fe,ee=Je+Se,Me=Je-Se,ue=oe+Oe,WA=oe-Oe;mA[OA]=ee+ue,mA[OA+4]=ee-ue;var Ce=.707106781*(WA+Me);mA[OA+2]=Me+Ce,mA[OA+6]=Me-Ce;var Rn=.382683433*((ee=JA+GA)-(WA=le+we)),yt=.5411961*ee+Rn,Gr=1.306562965*WA+Rn,Ur=.707106781*(ue=GA+le),XA=we+Ur,jr=we-Ur;mA[OA+5]=jr+yt,mA[OA+3]=jr-yt,mA[OA+1]=XA+Gr,mA[OA+7]=XA-Gr,OA+=8}for(OA=0,kA=0;kA<8;++kA){SA=mA[OA],jA=mA[OA+8],KA=mA[OA+16],me=mA[OA+24],fe=mA[OA+32],Ae=mA[OA+40],ge=mA[OA+48];var Vr=SA+(ce=mA[OA+56]),er=SA-ce,tr=jA+ge,Ve=jA-ge,ht=KA+Ae,Bt=KA-Ae,Kn=me+fe,hn=me-fe,hr=Vr+Kn,Er=Vr-Kn,gr=tr+ht,dr=tr-ht;mA[OA]=hr+gr,mA[OA+32]=hr-gr;var rr=.707106781*(dr+Er);mA[OA+16]=Er+rr,mA[OA+48]=Er-rr;var Gn=.382683433*((hr=hn+Bt)-(dr=Ve+er)),Lr=.5411961*hr+Gn,jn=1.306562965*dr+Gn,vi=.707106781*(gr=Bt+Ve),mi=er+vi,Ci=er-vi;mA[OA+40]=Ci+Lr,mA[OA+24]=Ci-Lr,mA[OA+8]=mi+jn,mA[OA+56]=mi-jn,OA++}for(kA=0;kA<64;++kA)ne=mA[kA]*qA[kA],g[kA]=ne>0?ne+.5|0:ne-.5|0;return g})(b,O),yA=0;yA<64;++yA)C[iA[yA]]=BA[yA];var LA=C[0]-M;M=C[0],LA==0?oA(q[0]):(oA(q[w[eA=32767+LA]]),oA(B[eA]));for(var UA=63;UA>0&&C[UA]==0;)UA--;if(UA==0)return oA(uA),M;for(var RA,H=1;H<=UA;){for(var bA=H;C[H]==0&&H<=UA;)++H;var se=H-bA;if(se>=16){RA=se>>4;for(var VA=1;VA<=RA;++VA)oA(fA);se&=15}eA=32767+C[H],oA(X[(se<<4)+w[eA]]),oA(B[eA]),H++}return UA!=63&&oA(uA),M}function pA(b){b=Math.min(Math.max(b,1),100),i!=b&&((function(O){for(var M=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],q=0;q<64;q++){var X=s((M[q]*O+50)/100);X=Math.min(Math.max(X,1),255),a[iA[q]]=X}for(var eA=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],uA=0;uA<64;uA++){var fA=s((eA[uA]*O+50)/100);fA=Math.min(Math.max(fA,1),255),l[iA[uA]]=fA}for(var BA=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],yA=0,LA=0;LA<8;LA++)for(var UA=0;UA<8;UA++)u[yA]=1/(a[iA[yA]]*BA[LA]*BA[UA]*8),c[yA]=1/(l[iA[yA]]*BA[LA]*BA[UA]*8),yA++})(b<50?Math.floor(5e3/b):Math.floor(200-2*b)),i=b)}this.encode=function(b,O){O&&pA(O),Q=new Array,x=0,F=7,lA(65496),lA(65504),lA(16),tA(74),tA(70),tA(73),tA(70),tA(0),tA(1),tA(1),tA(0),lA(1),lA(1),tA(0),tA(0),(function(){lA(65499),lA(132),tA(0);for(var jA=0;jA<64;jA++)tA(a[jA]);tA(1);for(var KA=0;KA<64;KA++)tA(l[KA])})(),(function(jA,KA){lA(65472),lA(17),tA(8),lA(KA),lA(jA),tA(3),tA(1),tA(17),tA(0),tA(2),tA(17),tA(1),tA(3),tA(17),tA(1)})(b.width,b.height),(function(){lA(65476),lA(418),tA(0);for(var jA=0;jA<16;jA++)tA(V[jA+1]);for(var KA=0;KA<=11;KA++)tA(N[KA]);tA(16);for(var me=0;me<16;me++)tA($[me+1]);for(var fe=0;fe<=161;fe++)tA(E[fe]);tA(1);for(var Ae=0;Ae<16;Ae++)tA(S[Ae+1]);for(var ge=0;ge<=11;ge++)tA(R[ge]);tA(17);for(var ce=0;ce<16;ce++)tA(G[ce+1]);for(var kA=0;kA<=161;kA++)tA(aA[kA])})(),lA(65498),lA(12),tA(3),tA(1),tA(0),tA(2),tA(17),tA(3),tA(17),tA(0),tA(63),tA(0);var M=0,q=0,X=0;x=0,F=7,this.encode.displayName="_encode_";for(var eA,uA,fA,BA,yA,LA,UA,RA,H,bA=b.data,se=b.width,VA=b.height,mA=4*se,qA=0;qA<VA;){for(eA=0;eA<mA;){for(yA=mA*qA+eA,UA=-1,RA=0,H=0;H<64;H++)LA=yA+(RA=H>>3)*mA+(UA=4*(7&H)),qA+RA>=VA&&(LA-=mA*(qA+1+RA-VA)),eA+UA>=mA&&(LA-=eA+UA-mA+4),uA=bA[LA++],fA=bA[LA++],BA=bA[LA++],k[H]=(Z[uA]+Z[fA+256|0]+Z[BA+512|0]>>16)-128,K[H]=(Z[uA+768|0]+Z[fA+1024|0]+Z[BA+1280|0]>>16)-128,P[H]=(Z[uA+1280|0]+Z[fA+1536|0]+Z[BA+1792|0]>>16)-128;M=FA(k,u,M,A,r),q=FA(K,c,q,e,n),X=FA(P,c,X,e,n),eA+=32}qA+=8}if(F>=0){var SA=[];SA[1]=F+1,SA[0]=(1<<F+1)-1,oA(SA)}return lA(65497),new Uint8Array(Q)},t=t||50,(function(){for(var b=String.fromCharCode,O=0;O<256;O++)z[O]=b(O)})(),A=sA(V,N),e=sA(S,R),r=sA($,E),n=sA(G,aA),(function(){for(var b=1,O=2,M=1;M<=15;M++){for(var q=b;q<O;q++)w[32767+q]=M,B[32767+q]=[],B[32767+q][1]=M,B[32767+q][0]=q;for(var X=-(O-1);X<=-b;X++)w[32767+X]=M,B[32767+X]=[],B[32767+X][1]=M,B[32767+X][0]=O-1+X;b<<=1,O<<=1}})(),(function(){for(var b=0;b<256;b++)Z[b]=19595*b,Z[b+256|0]=38470*b,Z[b+512|0]=7471*b+32768,Z[b+768|0]=-11059*b,Z[b+1024|0]=-21709*b,Z[b+1280|0]=32768*b+8421375,Z[b+1536|0]=-27439*b,Z[b+1792|0]=-5329*b})(),pA(t)}/**
|
|
103
|
+
* @license
|
|
104
|
+
* Copyright (c) 2017 Aras Abbasi
|
|
105
|
+
*
|
|
106
|
+
* Licensed under the MIT License.
|
|
107
|
+
* http://opensource.org/licenses/mit-license
|
|
108
|
+
*/function mr(t,A){if(this.pos=0,this.buffer=t,this.datav=new DataView(t.buffer),this.is_with_alpha=!!A,this.bottom_up=!0,this.flag=String.fromCharCode(this.buffer[0])+String.fromCharCode(this.buffer[1]),this.pos+=2,["BM","BA","CI","CP","IC","PT"].indexOf(this.flag)===-1)throw new Error("Invalid BMP File");this.parseHeader(),this.parseBGR()}function Fh(t){function A(N){if(!N)throw Error("assert :P")}function e(N,$,E){for(var S=0;4>S;S++)if(N[$+S]!=E.charCodeAt(S))return!0;return!1}function r(N,$,E,S,R){for(var G=0;G<R;G++)N[$+G]=E[S+G]}function n(N,$,E,S){for(var R=0;R<S;R++)N[$+R]=E}function i(N){return new Int32Array(N)}function s(N,$){for(var E=[],S=0;S<N;S++)E.push(new $);return E}function a(N,$){var E=[];return(function S(R,G,aA){for(var sA=aA[G],oA=0;oA<sA&&(R.push(aA.length>G+1?[]:new $),!(aA.length<G+1));oA++)S(R[oA],G+1,aA)})(E,0,N),E}var l=function(){var N=this;function $(o,f){for(var d=1<<f-1>>>0;o&d;)d>>>=1;return d?(o&d-1)+d:o}function E(o,f,d,p,m){A(!(p%d));do o[f+(p-=d)]=m;while(0<p)}function S(o,f,d,p,m){if(A(2328>=m),512>=m)var y=i(512);else if((y=i(m))==null)return 0;return(function(U,L,I,D,W,nA){var T,J,AA=L,hA=1<<I,rA=i(16),gA=i(16);for(A(W!=0),A(D!=null),A(U!=null),A(0<I),J=0;J<W;++J){if(15<D[J])return 0;++rA[D[J]]}if(rA[0]==W)return 0;for(gA[1]=0,T=1;15>T;++T){if(rA[T]>1<<T)return 0;gA[T+1]=gA[T]+rA[T]}for(J=0;J<W;++J)T=D[J],0<D[J]&&(nA[gA[T]++]=J);if(gA[15]==1)return(D=new R).g=0,D.value=nA[0],E(U,AA,1,hA,D),hA;var dA,CA=-1,vA=hA-1,PA=0,IA=1,ie=1,DA=1<<I;for(J=0,T=1,W=2;T<=I;++T,W<<=1){if(IA+=ie<<=1,0>(ie-=rA[T]))return 0;for(;0<rA[T];--rA[T])(D=new R).g=T,D.value=nA[J++],E(U,AA+PA,W,DA,D),PA=$(PA,T)}for(T=I+1,W=2;15>=T;++T,W<<=1){if(IA+=ie<<=1,0>(ie-=rA[T]))return 0;for(;0<rA[T];--rA[T]){if(D=new R,(PA&vA)!=CA){for(AA+=DA,dA=1<<(CA=T)-I;15>CA&&!(0>=(dA-=rA[CA]));)++CA,dA<<=1;hA+=DA=1<<(dA=CA-I),U[L+(CA=PA&vA)].g=dA+I,U[L+CA].value=AA-L-CA}D.g=T-I,D.value=nA[J++],E(U,AA+(PA>>I),W,DA,D),PA=$(PA,T)}}return IA!=2*gA[15]-1?0:hA})(o,f,d,p,m,y)}function R(){this.value=this.g=0}function G(){this.value=this.g=0}function aA(){this.G=s(5,R),this.H=i(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=s(_i,G)}function sA(o,f,d,p){A(o!=null),A(f!=null),A(2147483648>p),o.Ca=254,o.I=0,o.b=-8,o.Ka=0,o.oa=f,o.pa=d,o.Jd=f,o.Yc=d+p,o.Zc=4<=p?d+p-4+1:d,uA(o)}function oA(o,f){for(var d=0;0<f--;)d|=BA(o,128)<<f;return d}function tA(o,f){var d=oA(o,f);return fA(o)?-d:d}function lA(o,f,d,p){var m,y=0;for(A(o!=null),A(f!=null),A(4294967288>p),o.Sb=p,o.Ra=0,o.u=0,o.h=0,4<p&&(p=4),m=0;m<p;++m)y+=f[d+m]<<8*m;o.Ra=y,o.bb=p,o.oa=f,o.pa=d}function FA(o){for(;8<=o.u&&o.bb<o.Sb;)o.Ra>>>=8,o.Ra+=o.oa[o.pa+o.bb]<<Dt-8>>>0,++o.bb,o.u-=8;q(o)&&(o.h=1,o.u=0)}function pA(o,f){if(A(0<=f),!o.h&&f<=Qa){var d=M(o)&Ai[f];return o.u+=f,FA(o),d}return o.h=1,o.u=0}function b(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function O(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function M(o){return o.Ra>>>(o.u&Dt-1)>>>0}function q(o){return A(o.bb<=o.Sb),o.h||o.bb==o.Sb&&o.u>Dt}function X(o,f){o.u=f,o.h=q(o)}function eA(o){o.u>=Mt&&(A(o.u>=Mt),FA(o))}function uA(o){A(o!=null&&o.oa!=null),o.pa<o.Zc?(o.I=(o.oa[o.pa++]|o.I<<8)>>>0,o.b+=8):(A(o!=null&&o.oa!=null),o.pa<o.Yc?(o.b+=8,o.I=o.oa[o.pa++]|o.I<<8):o.Ka?o.b=0:(o.I<<=8,o.b+=8,o.Ka=1))}function fA(o){return oA(o,1)}function BA(o,f){var d=o.Ca;0>o.b&&uA(o);var p=o.b,m=d*f>>>8,y=(o.I>>>p>m)+0;for(y?(d-=m,o.I-=m+1<<p>>>0):d=m+1,p=d,m=0;256<=p;)m+=8,p>>=8;return p=7^m+Di[p],o.b-=p,o.Ca=(d<<p)-1,y}function yA(o,f,d){o[f+0]=d>>24&255,o[f+1]=d>>16&255,o[f+2]=d>>8&255,o[f+3]=255&d}function LA(o,f){return o[f+0]|o[f+1]<<8}function UA(o,f){return LA(o,f)|o[f+2]<<16}function RA(o,f){return LA(o,f)|LA(o,f+2)<<16}function H(o,f){var d=1<<f;return A(o!=null),A(0<f),o.X=i(d),o.X==null?0:(o.Mb=32-f,o.Xa=f,1)}function bA(o,f){A(o!=null),A(f!=null),A(o.Xa==f.Xa),r(f.X,0,o.X,0,1<<f.Xa)}function se(){this.X=[],this.Xa=this.Mb=0}function VA(o,f,d,p){A(d!=null),A(p!=null);var m=d[0],y=p[0];return m==0&&(m=(o*y+f/2)/f),y==0&&(y=(f*m+o/2)/o),0>=m||0>=y?0:(d[0]=m,p[0]=y,1)}function mA(o,f){return o+(1<<f)-1>>>f}function qA(o,f){return((4278255360&o)+(4278255360&f)>>>0&4278255360)+((16711935&o)+(16711935&f)>>>0&16711935)>>>0}function SA(o,f){N[f]=function(d,p,m,y,U,L,I){var D;for(D=0;D<U;++D){var W=N[o](L[I+D-1],m,y+D);L[I+D]=qA(d[p+D],W)}}}function jA(){this.ud=this.hd=this.jd=0}function KA(o,f){return((4278124286&(o^f))>>>1)+(o&f)>>>0}function me(o){return 0<=o&&256>o?o:0>o?0:255<o?255:void 0}function fe(o,f){return me(o+(o-f+.5>>1))}function Ae(o,f,d){return Math.abs(f-d)-Math.abs(o-d)}function ge(o,f,d,p,m,y,U){for(p=y[U-1],d=0;d<m;++d)y[U+d]=p=qA(o[f+d],p)}function ce(o,f,d,p,m){var y;for(y=0;y<d;++y){var U=o[f+y],L=U>>8&255,I=16711935&(I=(I=16711935&U)+((L<<16)+L));p[m+y]=(4278255360&U)+I>>>0}}function kA(o,f){f.jd=255&o,f.hd=o>>8&255,f.ud=o>>16&255}function ne(o,f,d,p,m,y){var U;for(U=0;U<p;++U){var L=f[d+U],I=L>>>8,D=L,W=255&(W=(W=L>>>16)+((o.jd<<24>>24)*(I<<24>>24)>>>5));D=255&(D=(D+=(o.hd<<24>>24)*(I<<24>>24)>>>5)+((o.ud<<24>>24)*(W<<24>>24)>>>5)),m[y+U]=(4278255360&L)+(W<<16)+D}}function OA(o,f,d,p,m){N[f]=function(y,U,L,I,D,W,nA,T,J){for(I=nA;I<T;++I)for(nA=0;nA<J;++nA)D[W++]=m(L[p(y[U++])])},N[o]=function(y,U,L,I,D,W,nA){var T=8>>y.b,J=y.Ea,AA=y.K[0],hA=y.w;if(8>T)for(y=(1<<y.b)-1,hA=(1<<T)-1;U<L;++U){var rA,gA=0;for(rA=0;rA<J;++rA)rA&y||(gA=p(I[D++])),W[nA++]=m(AA[gA&hA]),gA>>=T}else N["VP8LMapColor"+d](I,D,AA,hA,W,nA,U,L,J)}}function Je(o,f,d,p,m){for(d=f+d;f<d;){var y=o[f++];p[m++]=y>>16&255,p[m++]=y>>8&255,p[m++]=255&y}}function we(o,f,d,p,m){for(d=f+d;f<d;){var y=o[f++];p[m++]=y>>16&255,p[m++]=y>>8&255,p[m++]=255&y,p[m++]=y>>24&255}}function oe(o,f,d,p,m){for(d=f+d;f<d;){var y=(U=o[f++])>>16&240|U>>12&15,U=240&U|U>>28&15;p[m++]=y,p[m++]=U}}function le(o,f,d,p,m){for(d=f+d;f<d;){var y=(U=o[f++])>>16&248|U>>13&7,U=U>>5&224|U>>3&31;p[m++]=y,p[m++]=U}}function Oe(o,f,d,p,m){for(d=f+d;f<d;){var y=o[f++];p[m++]=255&y,p[m++]=y>>8&255,p[m++]=y>>16&255}}function GA(o,f,d,p,m,y){if(y==0)for(d=f+d;f<d;)yA(p,((y=o[f++])[0]>>24|y[1]>>8&65280|y[2]<<8&16711680|y[3]<<24)>>>0),m+=32;else r(p,m,o,f,d)}function Se(o,f){N[f][0]=N[o+"0"],N[f][1]=N[o+"1"],N[f][2]=N[o+"2"],N[f][3]=N[o+"3"],N[f][4]=N[o+"4"],N[f][5]=N[o+"5"],N[f][6]=N[o+"6"],N[f][7]=N[o+"7"],N[f][8]=N[o+"8"],N[f][9]=N[o+"9"],N[f][10]=N[o+"10"],N[f][11]=N[o+"11"],N[f][12]=N[o+"12"],N[f][13]=N[o+"13"],N[f][14]=N[o+"0"],N[f][15]=N[o+"0"]}function JA(o){return o==El||o==Ll||o==Hs||o==xl}function ee(){this.eb=[],this.size=this.A=this.fb=0}function Me(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function ue(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new ee,this.f.kb=new Me,this.sd=null}function WA(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function Ce(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function Rn(o){return alert("todo:WebPSamplerProcessPlane"),o.T}function yt(o,f){var d=o.T,p=f.ba.f.RGBA,m=p.eb,y=p.fb+o.ka*p.A,U=sr[f.ba.S],L=o.y,I=o.O,D=o.f,W=o.N,nA=o.ea,T=o.W,J=f.cc,AA=f.dc,hA=f.Mc,rA=f.Nc,gA=o.ka,dA=o.ka+o.T,CA=o.U,vA=CA+1>>1;for(gA==0?U(L,I,null,null,D,W,nA,T,D,W,nA,T,m,y,null,null,CA):(U(f.ec,f.fc,L,I,J,AA,hA,rA,D,W,nA,T,m,y-p.A,m,y,CA),++d);gA+2<dA;gA+=2)J=D,AA=W,hA=nA,rA=T,W+=o.Rc,T+=o.Rc,y+=2*p.A,U(L,(I+=2*o.fa)-o.fa,L,I,J,AA,hA,rA,D,W,nA,T,m,y-p.A,m,y,CA);return I+=o.fa,o.j+dA<o.o?(r(f.ec,f.fc,L,I,CA),r(f.cc,f.dc,D,W,vA),r(f.Mc,f.Nc,nA,T,vA),d--):1&dA||U(L,I,null,null,D,W,nA,T,D,W,nA,T,m,y+p.A,null,null,CA),d}function Gr(o,f,d){var p=o.F,m=[o.J];if(p!=null){var y=o.U,U=f.ba.S,L=U==Ss||U==Hs;f=f.ba.f.RGBA;var I=[0],D=o.ka;I[0]=o.T,o.Kb&&(D==0?--I[0]:(--D,m[0]-=o.width),o.j+o.ka+o.T==o.o&&(I[0]=o.o-o.j-D));var W=f.eb;D=f.fb+D*f.A,o=Df(p,m[0],o.width,y,I,W,D+(L?0:3),f.A),A(d==I),o&&JA(U)&&La(W,D,L,y,I,f.A)}return 0}function Ur(o){var f=o.ma,d=f.ba.S,p=11>d,m=d==xs||d==Is||d==Ss||d==Ul||d==12||JA(d);if(f.memory=null,f.Ib=null,f.Jb=null,f.Nd=null,!ir(f.Oa,o,m?11:12))return 0;if(m&&JA(d)&&Yr(),o.da)alert("todo:use_scaling");else{if(p){if(f.Ib=Rn,o.Kb){if(d=o.U+1>>1,f.memory=i(o.U+2*d),f.memory==null)return 0;f.ec=f.memory,f.fc=0,f.cc=f.ec,f.dc=f.fc+o.U,f.Mc=f.cc,f.Nc=f.dc+d,f.Ib=yt,Yr()}}else alert("todo:EmitYUV");m&&(f.Jb=Gr,p&&je())}if(p&&!Yf){for(o=0;256>o;++o)A1[o]=89858*(o-128)+_s>>Ns,r1[o]=-22014*(o-128)+_s,t1[o]=-45773*(o-128),e1[o]=113618*(o-128)+_s>>Ns;for(o=Ia;o<Hl;++o)f=76283*(o-16)+_s>>Ns,n1[o-Ia]=xr(f,255),i1[o-Ia]=xr(f+8>>4,15);Yf=1}return 1}function XA(o){var f=o.ma,d=o.U,p=o.T;return A(!(1&o.ka)),0>=d||0>=p?0:(d=f.Ib(o,f),f.Jb!=null&&f.Jb(o,f,d),f.Dc+=d,1)}function jr(o){o.ma.memory=null}function Vr(o,f,d,p){return pA(o,8)!=47?0:(f[0]=pA(o,14)+1,d[0]=pA(o,14)+1,p[0]=pA(o,1),pA(o,3)!=0?0:!o.h)}function er(o,f){if(4>o)return o+1;var d=o-2>>1;return(2+(1&o)<<d)+pA(f,d)+1}function tr(o,f){return 120<f?f-120:1<=(d=((d=Md[f-1])>>4)*o+(8-(15&d)))?d:1;var d}function Ve(o,f,d){var p=M(d),m=o[f+=255&p].g-8;return 0<m&&(X(d,d.u+8),p=M(d),f+=o[f].value,f+=p&(1<<m)-1),X(d,d.u+o[f].g),o[f].value}function ht(o,f,d){return d.g+=o.g,d.value+=o.value<<f>>>0,A(8>=d.g),o.g}function Bt(o,f,d){var p=o.xc;return A((f=p==0?0:o.vc[o.md*(d>>p)+(f>>p)])<o.Wb),o.Ya[f]}function Kn(o,f,d,p){var m=o.ab,y=o.c*f,U=o.C;f=U+f;var L=d,I=p;for(p=o.Ta,d=o.Ua;0<m--;){var D=o.gc[m],W=U,nA=f,T=L,J=I,AA=(I=p,L=d,D.Ea);switch(A(W<nA),A(nA<=D.nc),D.hc){case 2:Ti(T,J,(nA-W)*AA,I,L);break;case 0:var hA=W,rA=nA,gA=I,dA=L,CA=(DA=D).Ea;hA==0&&(wn(T,J,null,null,1,gA,dA),ge(T,J+1,0,0,CA-1,gA,dA+1),J+=CA,dA+=CA,++hA);for(var vA=1<<DA.b,PA=vA-1,IA=mA(CA,DA.b),ie=DA.K,DA=DA.w+(hA>>DA.b)*IA;hA<rA;){var de=ie,lt=DA,ae=1;for(vn(T,J,gA,dA-CA,1,gA,dA);ae<CA;){var TA=(ae&~PA)+vA;TA>CA&&(TA=CA),(0,Br[de[lt++]>>8&15])(T,J+ +ae,gA,dA+ae-CA,TA-ae,gA,dA+ae),ae=TA}J+=CA,dA+=CA,++hA&PA||(DA+=IA)}nA!=D.nc&&r(I,L-AA,I,L+(nA-W-1)*AA,AA);break;case 1:for(AA=T,rA=J,CA=(T=D.Ea)-(dA=T&~(gA=(J=1<<D.b)-1)),hA=mA(T,D.b),vA=D.K,D=D.w+(W>>D.b)*hA;W<nA;){for(PA=vA,IA=D,ie=new jA,DA=rA+dA,de=rA+T;rA<DA;)kA(PA[IA++],ie),ti(ie,AA,rA,J,I,L),rA+=J,L+=J;rA<de&&(kA(PA[IA++],ie),ti(ie,AA,rA,CA,I,L),rA+=CA,L+=CA),++W&gA||(D+=hA)}break;case 3:if(T==I&&J==L&&0<D.b){for(rA=I,T=AA=L+(nA-W)*AA-(dA=(nA-W)*mA(D.Ea,D.b)),J=I,gA=L,hA=[],dA=(CA=dA)-1;0<=dA;--dA)hA[dA]=J[gA+dA];for(dA=CA-1;0<=dA;--dA)rA[T+dA]=hA[dA];ei(D,W,nA,I,AA,I,L)}else ei(D,W,nA,T,J,I,L)}L=p,I=d}I!=d&&r(p,d,L,I,y)}function hn(o,f){var d=o.V,p=o.Ba+o.c*o.C,m=f-o.C;if(A(f<=o.l.o),A(16>=m),0<m){var y=o.l,U=o.Ta,L=o.Ua,I=y.width;if(Kn(o,m,d,p),m=L=[L],A((d=o.C)<(p=f)),A(y.v<y.va),p>y.o&&(p=y.o),d<y.j){var D=y.j-d;d=y.j,m[0]+=D*I}if(d>=p?d=0:(m[0]+=4*y.v,y.ka=d-y.j,y.U=y.va-y.v,y.T=p-d,d=1),d){if(L=L[0],11>(d=o.ca).S){var W=d.f.RGBA,nA=(p=d.S,m=y.U,y=y.T,D=W.eb,W.A),T=y;for(W=W.fb+o.Ma*W.A;0<T--;){var J=U,AA=L,hA=m,rA=D,gA=W;switch(p){case Ls:ba(J,AA,hA,rA,gA);break;case xs:Ua(J,AA,hA,rA,gA);break;case El:Ua(J,AA,hA,rA,gA),La(rA,gA,0,hA,1,0);break;case Kf:ni(J,AA,hA,rA,gA);break;case Is:GA(J,AA,hA,rA,gA,1);break;case Ll:GA(J,AA,hA,rA,gA,1),La(rA,gA,0,hA,1,0);break;case Ss:GA(J,AA,hA,rA,gA,0);break;case Hs:GA(J,AA,hA,rA,gA,0),La(rA,gA,1,hA,1,0);break;case Ul:ki(J,AA,hA,rA,gA);break;case xl:ki(J,AA,hA,rA,gA),_f(rA,gA,hA,1,0);break;case Gf:ri(J,AA,hA,rA,gA);break;default:A(0)}L+=I,W+=nA}o.Ma+=y}else alert("todo:EmitRescaledRowsYUVA");A(o.Ma<=d.height)}}o.C=f,A(o.C<=o.i)}function hr(o){var f;if(0<o.ua)return 0;for(f=0;f<o.Wb;++f){var d=o.Ya[f].G,p=o.Ya[f].H;if(0<d[1][p[1]+0].g||0<d[2][p[2]+0].g||0<d[3][p[3]+0].g)return 0}return 1}function Er(o,f,d,p,m,y){if(o.Z!=0){var U=o.qd,L=o.rd;for(A(yn[o.Z]!=null);f<d;++f)yn[o.Z](U,L,p,m,p,m,y),U=p,L=m,m+=y;o.qd=U,o.rd=L}}function gr(o,f){var d=o.l.ma,p=d.Z==0||d.Z==1?o.l.j:o.C;if(p=o.C<p?p:o.C,A(f<=o.l.o),f>p){var m=o.l.width,y=d.ca,U=d.tb+m*p,L=o.V,I=o.Ba+o.c*p,D=o.gc;A(o.ab==1),A(D[0].hc==3),Ql(D[0],p,f,L,I,y,U),Er(d,p,f,y,U,m)}o.C=o.Ma=f}function dr(o,f,d,p,m,y,U){var L=o.$/p,I=o.$%p,D=o.m,W=o.s,nA=d+o.$,T=nA;m=d+p*m;var J=d+p*y,AA=280+W.ua,hA=o.Pb?L:16777216,rA=0<W.ua?W.Wa:null,gA=W.wc,dA=nA<J?Bt(W,I,L):null;A(o.C<y),A(J<=m);var CA=!1;A:for(;;){for(;CA||nA<J;){var vA=0;if(L>=hA){var PA=nA-d;A((hA=o).Pb),hA.wd=hA.m,hA.xd=PA,0<hA.s.ua&&bA(hA.s.Wa,hA.s.vb),hA=L+Kd}if(I&gA||(dA=Bt(W,I,L)),A(dA!=null),dA.Qb&&(f[nA]=dA.qb,CA=!0),!CA)if(eA(D),dA.jc){vA=D,PA=f;var IA=nA,ie=dA.pd[M(vA)&_i-1];A(dA.jc),256>ie.g?(X(vA,vA.u+ie.g),PA[IA]=ie.value,vA=0):(X(vA,vA.u+ie.g-256),A(256<=ie.value),vA=ie.value),vA==0&&(CA=!0)}else vA=Ve(dA.G[0],dA.H[0],D);if(D.h)break;if(CA||256>vA){if(!CA)if(dA.nd)f[nA]=(dA.qb|vA<<8)>>>0;else{if(eA(D),CA=Ve(dA.G[1],dA.H[1],D),eA(D),PA=Ve(dA.G[2],dA.H[2],D),IA=Ve(dA.G[3],dA.H[3],D),D.h)break;f[nA]=(IA<<24|CA<<16|vA<<8|PA)>>>0}if(CA=!1,++nA,++I>=p&&(I=0,++L,U!=null&&L<=y&&!(L%16)&&U(o,L),rA!=null))for(;T<nA;)vA=f[T++],rA.X[(506832829*vA&4294967295)>>>rA.Mb]=vA}else if(280>vA){if(vA=er(vA-256,D),PA=Ve(dA.G[4],dA.H[4],D),eA(D),PA=tr(p,PA=er(PA,D)),D.h)break;if(nA-d<PA||m-nA<vA)break A;for(IA=0;IA<vA;++IA)f[nA+IA]=f[nA+IA-PA];for(nA+=vA,I+=vA;I>=p;)I-=p,++L,U!=null&&L<=y&&!(L%16)&&U(o,L);if(A(nA<=m),I&gA&&(dA=Bt(W,I,L)),rA!=null)for(;T<nA;)vA=f[T++],rA.X[(506832829*vA&4294967295)>>>rA.Mb]=vA}else{if(!(vA<AA))break A;for(CA=vA-280,A(rA!=null);T<nA;)vA=f[T++],rA.X[(506832829*vA&4294967295)>>>rA.Mb]=vA;vA=nA,A(!(CA>>>(PA=rA).Xa)),f[vA]=PA.X[CA],CA=!0}CA||A(D.h==q(D))}if(o.Pb&&D.h&&nA<m)A(o.m.h),o.a=5,o.m=o.wd,o.$=o.xd,0<o.s.ua&&bA(o.s.vb,o.s.Wa);else{if(D.h)break A;U?.(o,L>y?y:L),o.a=0,o.$=nA-d}return 1}return o.a=3,0}function rr(o){A(o!=null),o.vc=null,o.yc=null,o.Ya=null;var f=o.Wa;f!=null&&(f.X=null),o.vb=null,A(o!=null)}function Gn(){var o=new _A;return o==null?null:(o.a=0,o.xb=qf,Se("Predictor","VP8LPredictors"),Se("Predictor","VP8LPredictors_C"),Se("PredictorAdd","VP8LPredictorsAdd"),Se("PredictorAdd","VP8LPredictorsAdd_C"),Ti=ce,ti=ne,ba=Je,Ua=we,ki=oe,ri=le,ni=Oe,N.VP8LMapColor32b=at,N.VP8LMapColor8b=_r,o)}function Lr(o,f,d,p,m){var y=1,U=[o],L=[f],I=p.m,D=p.s,W=null,nA=0;A:for(;;){if(d)for(;y&&pA(I,1);){var T=U,J=L,AA=p,hA=1,rA=AA.m,gA=AA.gc[AA.ab],dA=pA(rA,2);if(AA.Oc&1<<dA)y=0;else{switch(AA.Oc|=1<<dA,gA.hc=dA,gA.Ea=T[0],gA.nc=J[0],gA.K=[null],++AA.ab,A(4>=AA.ab),dA){case 0:case 1:gA.b=pA(rA,3)+2,hA=Lr(mA(gA.Ea,gA.b),mA(gA.nc,gA.b),0,AA,gA.K),gA.K=gA.K[0];break;case 3:var CA,vA=pA(rA,8)+1,PA=16<vA?0:4<vA?1:2<vA?2:3;if(T[0]=mA(gA.Ea,PA),gA.b=PA,CA=hA=Lr(vA,1,0,AA,gA.K)){var IA,ie=vA,DA=gA,de=1<<(8>>DA.b),lt=i(de);if(lt==null)CA=0;else{var ae=DA.K[0],TA=DA.w;for(lt[0]=DA.K[0][0],IA=1;IA<1*ie;++IA)lt[IA]=qA(ae[TA+IA],lt[IA-1]);for(;IA<4*de;++IA)lt[IA]=0;DA.K[0]=null,DA.K[0]=lt,CA=1}}hA=CA;break;case 2:break;default:A(0)}y=hA}}if(U=U[0],L=L[0],y&&pA(I,1)&&!(y=1<=(nA=pA(I,4))&&11>=nA)){p.a=3;break A}var QA;if(QA=y)e:{var Ye,re,pe,ke=p,wt=U,Tt=L,qe=nA,Et=d,kt=ke.m,ut=ke.s,ve=[null],ye=1,We=0,Qe=Rd[qe];t:for(;;){if(Et&&pA(kt,1)){var vt=pA(kt,3)+2,wr=mA(wt,vt),Ze=mA(Tt,vt),Rt=wr*Ze;if(!Lr(wr,Ze,0,ke,ve))break t;for(ve=ve[0],ut.xc=vt,Ye=0;Ye<Rt;++Ye){var xe=ve[Ye]>>8&65535;ve[Ye]=xe,xe>=ye&&(ye=xe+1)}}if(kt.h)break t;for(re=0;5>re;++re){var ft=jf[re];!re&&0<qe&&(ft+=1<<qe),We<ft&&(We=ft)}var Wt=s(ye*Qe,R),Pt=ye,Xt=s(Pt,aA);if(Xt==null)var Jt=null;else A(65536>=Pt),Jt=Xt;var Kt=i(We);if(Jt==null||Kt==null||Wt==null){ke.a=1;break t}var zt=Wt;for(Ye=pe=0;Ye<ye;++Ye){var _e=Jt[Ye],Yt=_e.G,vr=_e.H,ii=0,en=1,mt=0;for(re=0;5>re;++re){ft=jf[re],Yt[re]=zt,vr[re]=pe,!re&&0<qe&&(ft+=1<<qe);n:{var Ts,Nl=ft,ks=ke,Sa=Kt,o1=zt,l1=pe,_l=0,Qn=ks.m,u1=pA(Qn,1);if(n(Sa,0,0,Nl),u1){var f1=pA(Qn,1)+1,c1=pA(Qn,1),Ac=pA(Qn,c1==0?1:8);Sa[Ac]=1,f1==2&&(Sa[Ac=pA(Qn,8)]=1);var Ps=1}else{var ec=i(19),tc=pA(Qn,4)+4;if(19<tc){ks.a=3;var Os=0;break n}for(Ts=0;Ts<tc;++Ts)ec[Od[Ts]]=pA(Qn,3);var Dl=void 0,Ha=void 0,rc=ks,h1=ec,Ms=Nl,nc=Sa,Tl=0,bn=rc.m,ic=8,ac=s(128,R);r:for(;S(ac,0,7,h1,19);){if(pA(bn,1)){var g1=2+2*pA(bn,3);if((Dl=2+pA(bn,g1))>Ms)break r}else Dl=Ms;for(Ha=0;Ha<Ms&&Dl--;){eA(bn);var sc=ac[0+(127&M(bn))];X(bn,bn.u+sc.g);var Mi=sc.value;if(16>Mi)nc[Ha++]=Mi,Mi!=0&&(ic=Mi);else{var d1=Mi==16,oc=Mi-16,B1=kd[oc],lc=pA(bn,Td[oc])+B1;if(Ha+lc>Ms)break r;for(var p1=d1?ic:0;0<lc--;)nc[Ha++]=p1}}Tl=1;break r}Tl||(rc.a=3),Ps=Tl}(Ps=Ps&&!Qn.h)&&(_l=S(o1,l1,8,Sa,Nl)),Ps&&_l!=0?Os=_l:(ks.a=3,Os=0)}if(Os==0)break t;if(en&&Pd[re]==1&&(en=zt[pe].g==0),ii+=zt[pe].g,pe+=Os,3>=re){var Na,kl=Kt[0];for(Na=1;Na<ft;++Na)Kt[Na]>kl&&(kl=Kt[Na]);mt+=kl}}if(_e.nd=en,_e.Qb=0,en&&(_e.qb=(Yt[3][vr[3]+0].value<<24|Yt[1][vr[1]+0].value<<16|Yt[2][vr[2]+0].value)>>>0,ii==0&&256>Yt[0][vr[0]+0].value&&(_e.Qb=1,_e.qb+=Yt[0][vr[0]+0].value<<8)),_e.jc=!_e.Qb&&6>mt,_e.jc){var Rs,tn=_e;for(Rs=0;Rs<_i;++Rs){var Un=Rs,En=tn.pd[Un],Ks=tn.G[0][tn.H[0]+Un];256<=Ks.value?(En.g=Ks.g+256,En.value=Ks.value):(En.g=0,En.value=0,Un>>=ht(Ks,8,En),Un>>=ht(tn.G[1][tn.H[1]+Un],16,En),Un>>=ht(tn.G[2][tn.H[2]+Un],0,En),ht(tn.G[3][tn.H[3]+Un],24,En))}}}ut.vc=ve,ut.Wb=ye,ut.Ya=Jt,ut.yc=Wt,QA=1;break e}QA=0}if(!(y=QA)){p.a=3;break A}if(0<nA){if(D.ua=1<<nA,!H(D.Wa,nA)){p.a=1,y=0;break A}}else D.ua=0;var Pl=p,uc=U,w1=L,Ol=Pl.s,Ml=Ol.xc;if(Pl.c=uc,Pl.i=w1,Ol.md=mA(uc,Ml),Ol.wc=Ml==0?-1:(1<<Ml)-1,d){p.xb=Jd;break A}if((W=i(U*L))==null){p.a=1,y=0;break A}y=(y=dr(p,W,0,U,L,L,null))&&!I.h;break A}return y?(m!=null?m[0]=W:(A(W==null),A(d)),p.$=0,d||rr(D)):rr(D),y}function jn(o,f){var d=o.c*o.i,p=d+f+16*f;return A(o.c<=f),o.V=i(p),o.V==null?(o.Ta=null,o.Ua=0,o.a=1,0):(o.Ta=o.V,o.Ua=o.Ba+d+f,1)}function vi(o,f){var d=o.C,p=f-d,m=o.V,y=o.Ba+o.c*d;for(A(f<=o.l.o);0<p;){var U=16<p?16:p,L=o.l.ma,I=o.l.width,D=I*U,W=L.ca,nA=L.tb+I*d,T=o.Ta,J=o.Ua;Kn(o,U,m,y),Tf(T,J,W,nA,D),Er(L,d,d+U,W,nA,I),p-=U,m+=U*o.c,d+=U}A(d==f),o.C=o.Ma=f}function mi(){this.ub=this.yd=this.td=this.Rb=0}function Ci(){this.Kd=this.Ld=this.Ud=this.Td=this.i=this.c=0}function al(){this.Fb=this.Bb=this.Cb=0,this.Zb=i(4),this.Lb=i(4)}function fa(){this.Yb=(function(){var o=[];return(function f(d,p,m){for(var y=m[p],U=0;U<y&&(d.push(m.length>p+1?[]:0),!(m.length<p+1));U++)f(d[U],p+1,m)})(o,0,[3,11]),o})()}function ls(){this.jb=i(3),this.Wc=a([4,8],fa),this.Xc=a([4,17],fa)}function us(){this.Pc=this.wb=this.Tb=this.zd=0,this.vd=new i(4),this.od=new i(4)}function nr(){this.ld=this.La=this.dd=this.tc=0}function ca(){this.Na=this.la=0}function fs(){this.Sc=[0,0],this.Eb=[0,0],this.Qc=[0,0],this.ia=this.lc=0}function ha(){this.ad=i(384),this.Za=0,this.Ob=i(16),this.$b=this.Ad=this.ia=this.Gc=this.Hc=this.Dd=0}function cs(){this.uc=this.M=this.Nb=0,this.wa=Array(new nr),this.Y=0,this.ya=Array(new ha),this.aa=0,this.l=new Fi}function hs(){this.y=i(16),this.f=i(8),this.ea=i(8)}function gs(){this.cb=this.a=0,this.sc="",this.m=new b,this.Od=new mi,this.Kc=new Ci,this.ed=new us,this.Qa=new al,this.Ic=this.$c=this.Aa=0,this.D=new cs,this.Xb=this.Va=this.Hb=this.zb=this.yb=this.Ub=this.za=0,this.Jc=s(8,b),this.ia=0,this.pb=s(4,fs),this.Pa=new ls,this.Bd=this.kc=0,this.Ac=[],this.Bc=0,this.zc=[0,0,0,0],this.Gd=Array(new hs),this.Hd=0,this.rb=Array(new ca),this.sb=0,this.wa=Array(new nr),this.Y=0,this.oc=[],this.pc=0,this.sa=[],this.ta=0,this.qa=[],this.ra=0,this.Ha=[],this.B=this.R=this.Ia=0,this.Ec=[],this.M=this.ja=this.Vb=this.Fc=0,this.ya=Array(new ha),this.L=this.aa=0,this.gd=a([4,2],nr),this.ga=null,this.Fa=[],this.Cc=this.qc=this.P=0,this.Gb=[],this.Uc=0,this.mb=[],this.nb=0,this.rc=[],this.Ga=this.Vc=0}function xr(o,f){return 0>o?0:o>f?f:o}function Fi(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function sl(){var o=new gs;return o!=null&&(o.a=0,o.sc="OK",o.cb=0,o.Xb=0,xa||(xa=yi)),o}function nt(o,f,d){return o.a==0&&(o.a=f,o.sc=d,o.cb=0),0}function ds(o,f,d){return 3<=d&&o[f+0]==157&&o[f+1]==1&&o[f+2]==42}function Ir(o,f){if(o==null)return 0;if(o.a=0,o.sc="OK",f==null)return nt(o,2,"null VP8Io passed to VP8GetHeaders()");var d=f.data,p=f.w,m=f.ha;if(4>m)return nt(o,7,"Truncated header.");var y=d[p+0]|d[p+1]<<8|d[p+2]<<16,U=o.Od;if(U.Rb=!(1&y),U.td=y>>1&7,U.yd=y>>4&1,U.ub=y>>5,3<U.td)return nt(o,3,"Incorrect keyframe parameters.");if(!U.yd)return nt(o,4,"Frame not displayable.");p+=3,m-=3;var L=o.Kc;if(U.Rb){if(7>m)return nt(o,7,"cannot parse picture header");if(!ds(d,p,m))return nt(o,3,"Bad code word");L.c=16383&(d[p+4]<<8|d[p+3]),L.Td=d[p+4]>>6,L.i=16383&(d[p+6]<<8|d[p+5]),L.Ud=d[p+6]>>6,p+=7,m-=7,o.za=L.c+15>>4,o.Ub=L.i+15>>4,f.width=L.c,f.height=L.i,f.Da=0,f.j=0,f.v=0,f.va=f.width,f.o=f.height,f.da=0,f.ib=f.width,f.hb=f.height,f.U=f.width,f.T=f.height,n((y=o.Pa).jb,0,255,y.jb.length),A((y=o.Qa)!=null),y.Cb=0,y.Bb=0,y.Fb=1,n(y.Zb,0,0,y.Zb.length),n(y.Lb,0,0,y.Lb)}if(U.ub>m)return nt(o,7,"bad partition length");sA(y=o.m,d,p,U.ub),p+=U.ub,m-=U.ub,U.Rb&&(L.Ld=fA(y),L.Kd=fA(y)),L=o.Qa;var I,D=o.Pa;if(A(y!=null),A(L!=null),L.Cb=fA(y),L.Cb){if(L.Bb=fA(y),fA(y)){for(L.Fb=fA(y),I=0;4>I;++I)L.Zb[I]=fA(y)?tA(y,7):0;for(I=0;4>I;++I)L.Lb[I]=fA(y)?tA(y,6):0}if(L.Bb)for(I=0;3>I;++I)D.jb[I]=fA(y)?oA(y,8):255}else L.Bb=0;if(y.Ka)return nt(o,3,"cannot parse segment header");if((L=o.ed).zd=fA(y),L.Tb=oA(y,6),L.wb=oA(y,3),L.Pc=fA(y),L.Pc&&fA(y)){for(D=0;4>D;++D)fA(y)&&(L.vd[D]=tA(y,6));for(D=0;4>D;++D)fA(y)&&(L.od[D]=tA(y,6))}if(o.L=L.Tb==0?0:L.zd?1:2,y.Ka)return nt(o,3,"cannot parse filter header");var W=m;if(m=I=p,p=I+W,L=W,o.Xb=(1<<oA(o.m,2))-1,W<3*(D=o.Xb))d=7;else{for(I+=3*D,L-=3*D,W=0;W<D;++W){var nA=d[m+0]|d[m+1]<<8|d[m+2]<<16;nA>L&&(nA=L),sA(o.Jc[+W],d,I,nA),I+=nA,L-=nA,m+=3}sA(o.Jc[+D],d,I,L),d=I<p?0:5}if(d!=0)return nt(o,d,"cannot parse partitions");for(d=oA(I=o.m,7),m=fA(I)?tA(I,4):0,p=fA(I)?tA(I,4):0,L=fA(I)?tA(I,4):0,D=fA(I)?tA(I,4):0,I=fA(I)?tA(I,4):0,W=o.Qa,nA=0;4>nA;++nA){if(W.Cb){var T=W.Zb[nA];W.Fb||(T+=d)}else{if(0<nA){o.pb[nA]=o.pb[0];continue}T=d}var J=o.pb[nA];J.Sc[0]=Il[xr(T+m,127)],J.Sc[1]=Sl[xr(T+0,127)],J.Eb[0]=2*Il[xr(T+p,127)],J.Eb[1]=101581*Sl[xr(T+L,127)]>>16,8>J.Eb[1]&&(J.Eb[1]=8),J.Qc[0]=Il[xr(T+D,117)],J.Qc[1]=Sl[xr(T+I,127)],J.lc=T+I}if(!U.Rb)return nt(o,4,"Not a key frame.");for(fA(y),U=o.Pa,d=0;4>d;++d){for(m=0;8>m;++m)for(p=0;3>p;++p)for(L=0;11>L;++L)D=BA(y,Wd[d][m][p][L])?oA(y,8):Vd[d][m][p][L],U.Wc[d][m].Yb[p][L]=D;for(m=0;17>m;++m)U.Xc[d][m]=U.Wc[d][Xd[m]]}return o.kc=fA(y),o.kc&&(o.Bd=oA(y,8)),o.cb=1}function yi(o,f,d,p,m,y,U){var L=f[m].Yb[d];for(d=0;16>m;++m){if(!BA(o,L[d+0]))return m;for(;!BA(o,L[d+1]);)if(L=f[++m].Yb[0],d=0,m==16)return 16;var I=f[m+1].Yb;if(BA(o,L[d+2])){var D=o,W=0;if(BA(D,(T=L)[(nA=d)+3]))if(BA(D,T[nA+6])){for(L=0,nA=2*(W=BA(D,T[nA+8]))+(T=BA(D,T[nA+9+W])),W=0,T=Gd[nA];T[L];++L)W+=W+BA(D,T[L]);W+=3+(8<<nA)}else BA(D,T[nA+7])?(W=7+2*BA(D,165),W+=BA(D,145)):W=5+BA(D,159);else W=BA(D,T[nA+4])?3+BA(D,T[nA+5]):2;L=I[2]}else W=1,L=I[1];I=U+jd[m],0>(D=o).b&&uA(D);var nA,T=D.b,J=(nA=D.Ca>>1)-(D.I>>T)>>31;--D.b,D.Ca+=J,D.Ca|=1,D.I-=(nA+1&J)<<T,y[I]=((W^J)-J)*p[(0<m)+0]}return 16}function ga(o){var f=o.rb[o.sb-1];f.la=0,f.Na=0,n(o.zc,0,0,o.zc.length),o.ja=0}function Vt(o,f,d,p,m){m=o[f+d+32*p]+(m>>3),o[f+d+32*p]=-256&m?0>m?0:255:m}function Qi(o,f,d,p,m,y){Vt(o,f,0,d,p+m),Vt(o,f,1,d,p+y),Vt(o,f,2,d,p-y),Vt(o,f,3,d,p-m)}function qr(o){return(20091*o>>16)+o}function pt(o,f,d,p){var m,y=0,U=i(16);for(m=0;4>m;++m){var L=o[f+0]+o[f+8],I=o[f+0]-o[f+8],D=(35468*o[f+4]>>16)-qr(o[f+12]),W=qr(o[f+4])+(35468*o[f+12]>>16);U[y+0]=L+W,U[y+1]=I+D,U[y+2]=I-D,U[y+3]=L-W,y+=4,f++}for(m=y=0;4>m;++m)L=(o=U[y+0]+4)+U[y+8],I=o-U[y+8],D=(35468*U[y+4]>>16)-qr(U[y+12]),Vt(d,p,0,0,L+(W=qr(U[y+4])+(35468*U[y+12]>>16))),Vt(d,p,1,0,I+D),Vt(d,p,2,0,I-D),Vt(d,p,3,0,L-W),y++,p+=32}function Bs(o,f,d,p){var m=o[f+0]+4,y=35468*o[f+4]>>16,U=qr(o[f+4]),L=35468*o[f+1]>>16;Qi(d,p,0,m+U,o=qr(o[f+1]),L),Qi(d,p,1,m+y,o,L),Qi(d,p,2,m-y,o,L),Qi(d,p,3,m-U,o,L)}function ol(o,f,d,p,m){pt(o,f,d,p),m&&pt(o,f+16,d,p+4)}function ll(o,f,d,p){Zr(o,f+0,d,p,1),Zr(o,f+32,d,p+128,1)}function ul(o,f,d,p){var m;for(o=o[f+0]+4,m=0;4>m;++m)for(f=0;4>f;++f)Vt(d,p,f,m,o)}function Sr(o,f,d,p){o[f+0]&&Ut(o,f+0,d,p),o[f+16]&&Ut(o,f+16,d,p+4),o[f+32]&&Ut(o,f+32,d,p+128),o[f+48]&&Ut(o,f+48,d,p+128+4)}function ps(o,f,d,p){var m,y=i(16);for(m=0;4>m;++m){var U=o[f+0+m]+o[f+12+m],L=o[f+4+m]+o[f+8+m],I=o[f+4+m]-o[f+8+m],D=o[f+0+m]-o[f+12+m];y[0+m]=U+L,y[8+m]=U-L,y[4+m]=D+I,y[12+m]=D-I}for(m=0;4>m;++m)U=(o=y[0+4*m]+3)+y[3+4*m],L=y[1+4*m]+y[2+4*m],I=y[1+4*m]-y[2+4*m],D=o-y[3+4*m],d[p+0]=U+L>>3,d[p+16]=D+I>>3,d[p+32]=U-L>>3,d[p+48]=D-I>>3,p+=64}function bi(o,f,d){var p,m=f-32,y=qt,U=255-o[m-1];for(p=0;p<d;++p){var L,I=y,D=U+o[f-1];for(L=0;L<d;++L)o[f+L]=I[D+o[m+L]];f+=32}}function Ui(o,f){bi(o,f,4)}function da(o,f){bi(o,f,8)}function fl(o,f){bi(o,f,16)}function cl(o,f){var d;for(d=0;16>d;++d)r(o,f+32*d,o,f-32,16)}function hl(o,f){var d;for(d=16;0<d;--d)n(o,f,o[f-1],16),f+=32}function gn(o,f,d){var p;for(p=0;16>p;++p)n(f,d+32*p,o,16)}function ws(o,f){var d,p=16;for(d=0;16>d;++d)p+=o[f-1+32*d]+o[f+d-32];gn(p>>5,o,f)}function dn(o,f){var d,p=8;for(d=0;16>d;++d)p+=o[f-1+32*d];gn(p>>4,o,f)}function gl(o,f){var d,p=8;for(d=0;16>d;++d)p+=o[f+d-32];gn(p>>4,o,f)}function Vn(o,f){gn(128,o,f)}function zA(o,f,d){return o+2*f+d+2>>2}function dl(o,f){var d,p=f-32;for(p=new Uint8Array([zA(o[p-1],o[p+0],o[p+1]),zA(o[p+0],o[p+1],o[p+2]),zA(o[p+1],o[p+2],o[p+3]),zA(o[p+2],o[p+3],o[p+4])]),d=0;4>d;++d)r(o,f+32*d,p,0,p.length)}function Bl(o,f){var d=o[f-1],p=o[f-1+32],m=o[f-1+64],y=o[f-1+96];yA(o,f+0,16843009*zA(o[f-1-32],d,p)),yA(o,f+32,16843009*zA(d,p,m)),yA(o,f+64,16843009*zA(p,m,y)),yA(o,f+96,16843009*zA(m,y,y))}function pl(o,f){var d,p=4;for(d=0;4>d;++d)p+=o[f+d-32]+o[f-1+32*d];for(p>>=3,d=0;4>d;++d)n(o,f+32*d,p,4)}function wl(o,f){var d=o[f-1+0],p=o[f-1+32],m=o[f-1+64],y=o[f-1-32],U=o[f+0-32],L=o[f+1-32],I=o[f+2-32],D=o[f+3-32];o[f+0+96]=zA(p,m,o[f-1+96]),o[f+1+96]=o[f+0+64]=zA(d,p,m),o[f+2+96]=o[f+1+64]=o[f+0+32]=zA(y,d,p),o[f+3+96]=o[f+2+64]=o[f+1+32]=o[f+0+0]=zA(U,y,d),o[f+3+64]=o[f+2+32]=o[f+1+0]=zA(L,U,y),o[f+3+32]=o[f+2+0]=zA(I,L,U),o[f+3+0]=zA(D,I,L)}function vl(o,f){var d=o[f+1-32],p=o[f+2-32],m=o[f+3-32],y=o[f+4-32],U=o[f+5-32],L=o[f+6-32],I=o[f+7-32];o[f+0+0]=zA(o[f+0-32],d,p),o[f+1+0]=o[f+0+32]=zA(d,p,m),o[f+2+0]=o[f+1+32]=o[f+0+64]=zA(p,m,y),o[f+3+0]=o[f+2+32]=o[f+1+64]=o[f+0+96]=zA(m,y,U),o[f+3+32]=o[f+2+64]=o[f+1+96]=zA(y,U,L),o[f+3+64]=o[f+2+96]=zA(U,L,I),o[f+3+96]=zA(L,I,I)}function Wr(o,f){var d=o[f-1+0],p=o[f-1+32],m=o[f-1+64],y=o[f-1-32],U=o[f+0-32],L=o[f+1-32],I=o[f+2-32],D=o[f+3-32];o[f+0+0]=o[f+1+64]=y+U+1>>1,o[f+1+0]=o[f+2+64]=U+L+1>>1,o[f+2+0]=o[f+3+64]=L+I+1>>1,o[f+3+0]=I+D+1>>1,o[f+0+96]=zA(m,p,d),o[f+0+64]=zA(p,d,y),o[f+0+32]=o[f+1+96]=zA(d,y,U),o[f+1+32]=o[f+2+96]=zA(y,U,L),o[f+2+32]=o[f+3+96]=zA(U,L,I),o[f+3+32]=zA(L,I,D)}function Xr(o,f){var d=o[f+0-32],p=o[f+1-32],m=o[f+2-32],y=o[f+3-32],U=o[f+4-32],L=o[f+5-32],I=o[f+6-32],D=o[f+7-32];o[f+0+0]=d+p+1>>1,o[f+1+0]=o[f+0+64]=p+m+1>>1,o[f+2+0]=o[f+1+64]=m+y+1>>1,o[f+3+0]=o[f+2+64]=y+U+1>>1,o[f+0+32]=zA(d,p,m),o[f+1+32]=o[f+0+96]=zA(p,m,y),o[f+2+32]=o[f+1+96]=zA(m,y,U),o[f+3+32]=o[f+2+96]=zA(y,U,L),o[f+3+64]=zA(U,L,I),o[f+3+96]=zA(L,I,D)}function ml(o,f){var d=o[f-1+0],p=o[f-1+32],m=o[f-1+64],y=o[f-1+96];o[f+0+0]=d+p+1>>1,o[f+2+0]=o[f+0+32]=p+m+1>>1,o[f+2+32]=o[f+0+64]=m+y+1>>1,o[f+1+0]=zA(d,p,m),o[f+3+0]=o[f+1+32]=zA(p,m,y),o[f+3+32]=o[f+1+64]=zA(m,y,y),o[f+3+64]=o[f+2+64]=o[f+0+96]=o[f+1+96]=o[f+2+96]=o[f+3+96]=y}function Cl(o,f){var d=o[f-1+0],p=o[f-1+32],m=o[f-1+64],y=o[f-1+96],U=o[f-1-32],L=o[f+0-32],I=o[f+1-32],D=o[f+2-32];o[f+0+0]=o[f+2+32]=d+U+1>>1,o[f+0+32]=o[f+2+64]=p+d+1>>1,o[f+0+64]=o[f+2+96]=m+p+1>>1,o[f+0+96]=y+m+1>>1,o[f+3+0]=zA(L,I,D),o[f+2+0]=zA(U,L,I),o[f+1+0]=o[f+3+32]=zA(d,U,L),o[f+1+32]=o[f+3+64]=zA(p,d,U),o[f+1+64]=o[f+3+96]=zA(m,p,d),o[f+1+96]=zA(y,m,p)}function Ei(o,f){var d;for(d=0;8>d;++d)r(o,f+32*d,o,f-32,8)}function Ba(o,f){var d;for(d=0;8>d;++d)n(o,f,o[f-1],8),f+=32}function Hr(o,f,d){var p;for(p=0;8>p;++p)n(f,d+32*p,o,8)}function Fl(o,f){var d,p=8;for(d=0;8>d;++d)p+=o[f+d-32]+o[f-1+32*d];Hr(p>>4,o,f)}function Li(o,f){var d,p=4;for(d=0;8>d;++d)p+=o[f+d-32];Hr(p>>3,o,f)}function yl(o,f){var d,p=4;for(d=0;8>d;++d)p+=o[f-1+32*d];Hr(p>>3,o,f)}function pa(o,f){Hr(128,o,f)}function Bn(o,f,d){var p=o[f-d],m=o[f+0],y=3*(m-p)+bl[1020+o[f-2*d]-o[f+d]],U=Es[112+(y+4>>3)];o[f-d]=qt[255+p+Es[112+(y+3>>3)]],o[f+0]=qt[255+m-U]}function wa(o,f,d,p){var m=o[f+0],y=o[f+d];return ar[255+o[f-2*d]-o[f-d]]>p||ar[255+y-m]>p}function qn(o,f,d,p){return 4*ar[255+o[f-d]-o[f+0]]+ar[255+o[f-2*d]-o[f+d]]<=p}function va(o,f,d,p,m){var y=o[f-3*d],U=o[f-2*d],L=o[f-d],I=o[f+0],D=o[f+d],W=o[f+2*d],nA=o[f+3*d];return 4*ar[255+L-I]+ar[255+U-D]>p?0:ar[255+o[f-4*d]-y]<=m&&ar[255+y-U]<=m&&ar[255+U-L]<=m&&ar[255+nA-W]<=m&&ar[255+W-D]<=m&&ar[255+D-I]<=m}function xi(o,f,d,p){var m=2*p+1;for(p=0;16>p;++p)qn(o,f+p,d,m)&&Bn(o,f+p,d)}function ma(o,f,d,p){var m=2*p+1;for(p=0;16>p;++p)qn(o,f+p*d,1,m)&&Bn(o,f+p*d,1)}function Ii(o,f,d,p){var m;for(m=3;0<m;--m)xi(o,f+=4*d,d,p)}function vs(o,f,d,p){var m;for(m=3;0<m;--m)ma(o,f+=4,d,p)}function Jr(o,f,d,p,m,y,U,L){for(y=2*y+1;0<m--;){if(va(o,f,d,y,U))if(wa(o,f,d,L))Bn(o,f,d);else{var I=o,D=f,W=d,nA=I[D-2*W],T=I[D-W],J=I[D+0],AA=I[D+W],hA=I[D+2*W],rA=27*(dA=bl[1020+3*(J-T)+bl[1020+nA-AA]])+63>>7,gA=18*dA+63>>7,dA=9*dA+63>>7;I[D-3*W]=qt[255+I[D-3*W]+dA],I[D-2*W]=qt[255+nA+gA],I[D-W]=qt[255+T+rA],I[D+0]=qt[255+J-rA],I[D+W]=qt[255+AA-gA],I[D+2*W]=qt[255+hA-dA]}f+=p}}function zr(o,f,d,p,m,y,U,L){for(y=2*y+1;0<m--;){if(va(o,f,d,y,U))if(wa(o,f,d,L))Bn(o,f,d);else{var I=o,D=f,W=d,nA=I[D-W],T=I[D+0],J=I[D+W],AA=Es[112+(4+(hA=3*(T-nA))>>3)],hA=Es[112+(hA+3>>3)],rA=AA+1>>1;I[D-2*W]=qt[255+I[D-2*W]+rA],I[D-W]=qt[255+nA+hA],I[D+0]=qt[255+T-AA],I[D+W]=qt[255+J-rA]}f+=p}}function ms(o,f,d,p,m,y){Jr(o,f,d,1,16,p,m,y)}function Cs(o,f,d,p,m,y){Jr(o,f,1,d,16,p,m,y)}function Fs(o,f,d,p,m,y){var U;for(U=3;0<U;--U)zr(o,f+=4*d,d,1,16,p,m,y)}function Wn(o,f,d,p,m,y){var U;for(U=3;0<U;--U)zr(o,f+=4,1,d,16,p,m,y)}function ys(o,f,d,p,m,y,U,L){Jr(o,f,m,1,8,y,U,L),Jr(d,p,m,1,8,y,U,L)}function h(o,f,d,p,m,y,U,L){Jr(o,f,1,m,8,y,U,L),Jr(d,p,1,m,8,y,U,L)}function v(o,f,d,p,m,y,U,L){zr(o,f+4*m,m,1,8,y,U,L),zr(d,p+4*m,m,1,8,y,U,L)}function _(o,f,d,p,m,y,U,L){zr(o,f+4,1,m,8,y,U,L),zr(d,p+4,1,m,8,y,U,L)}function j(){this.ba=new ue,this.ec=[],this.cc=[],this.Mc=[],this.Dc=this.Nc=this.dc=this.fc=0,this.Oa=new Ce,this.memory=0,this.Ib="OutputFunc",this.Jb="OutputAlphaFunc",this.Nd="OutputRowFunc"}function Y(){this.data=[],this.offset=this.kd=this.ha=this.w=0,this.na=[],this.xa=this.gb=this.Ja=this.Sa=this.P=0}function cA(){this.nc=this.Ea=this.b=this.hc=0,this.K=[],this.w=0}function wA(){this.ua=0,this.Wa=new se,this.vb=new se,this.md=this.xc=this.wc=0,this.vc=[],this.Wb=0,this.Ya=new aA,this.yc=new R}function _A(){this.xb=this.a=0,this.l=new Fi,this.ca=new ue,this.V=[],this.Ba=0,this.Ta=[],this.Ua=0,this.m=new O,this.Pb=0,this.wd=new O,this.Ma=this.$=this.C=this.i=this.c=this.xd=0,this.s=new wA,this.ab=0,this.gc=s(4,cA),this.Oc=0}function NA(){this.Lc=this.Z=this.$a=this.i=this.c=0,this.l=new Fi,this.ic=0,this.ca=[],this.tb=0,this.qd=null,this.rd=0}function ZA(o,f,d,p,m,y,U){for(o=o==null?0:o[f+0],f=0;f<U;++f)m[y+f]=o+d[p+f]&255,o=m[y+f]}function te(o,f,d,p,m,y,U){var L;if(o==null)ZA(null,null,d,p,m,y,U);else for(L=0;L<U;++L)m[y+L]=o[f+L]+d[p+L]&255}function Be(o,f,d,p,m,y,U){if(o==null)ZA(null,null,d,p,m,y,U);else{var L,I=o[f+0],D=I,W=I;for(L=0;L<U;++L)D=W+(I=o[f+L])-D,W=d[p+L]+(-256&D?0>D?0:255:D)&255,D=I,m[y+L]=W}}function it(o,f,d,p){var m=f.width,y=f.o;if(A(o!=null&&f!=null),0>d||0>=p||d+p>y)return null;if(!o.Cc){if(o.ga==null){var U;if(o.ga=new NA,(U=o.ga==null)||(U=f.width*f.o,A(o.Gb.length==0),o.Gb=i(U),o.Uc=0,o.Gb==null?U=0:(o.mb=o.Gb,o.nb=o.Uc,o.rc=null,U=1),U=!U),!U){U=o.ga;var L=o.Fa,I=o.P,D=o.qc,W=o.mb,nA=o.nb,T=I+1,J=D-1,AA=U.l;if(A(L!=null&&W!=null&&f!=null),yn[0]=null,yn[1]=ZA,yn[2]=te,yn[3]=Be,U.ca=W,U.tb=nA,U.c=f.width,U.i=f.height,A(0<U.c&&0<U.i),1>=D)f=0;else if(U.$a=3&L[I+0],U.Z=L[I+0]>>2&3,U.Lc=L[I+0]>>4&3,I=L[I+0]>>6&3,0>U.$a||1<U.$a||4<=U.Z||1<U.Lc||I)f=0;else if(AA.put=XA,AA.ac=Ur,AA.bc=jr,AA.ma=U,AA.width=f.width,AA.height=f.height,AA.Da=f.Da,AA.v=f.v,AA.va=f.va,AA.j=f.j,AA.o=f.o,U.$a)A:{A(U.$a==1),f=Gn();e:for(;;){if(f==null){f=0;break A}if(A(U!=null),U.mc=f,f.c=U.c,f.i=U.i,f.l=U.l,f.l.ma=U,f.l.width=U.c,f.l.height=U.i,f.a=0,lA(f.m,L,T,J),!Lr(U.c,U.i,1,f,null)||(f.ab==1&&f.gc[0].hc==3&&hr(f.s)?(U.ic=1,L=f.c*f.i,f.Ta=null,f.Ua=0,f.V=i(L),f.Ba=0,f.V==null?(f.a=1,f=0):f=1):(U.ic=0,f=jn(f,U.c)),!f))break e;f=1;break A}U.mc=null,f=0}else f=J>=U.c*U.i;U=!f}if(U)return null;o.ga.Lc!=1?o.Ga=0:p=y-d}A(o.ga!=null),A(d+p<=y);A:{if(f=(L=o.ga).c,y=L.l.o,L.$a==0){if(T=o.rc,J=o.Vc,AA=o.Fa,I=o.P+1+d*f,D=o.mb,W=o.nb+d*f,A(I<=o.P+o.qc),L.Z!=0)for(A(yn[L.Z]!=null),U=0;U<p;++U)yn[L.Z](T,J,AA,I,D,W,f),T=D,J=W,W+=f,I+=f;else for(U=0;U<p;++U)r(D,W,AA,I,f),T=D,J=W,W+=f,I+=f;o.rc=T,o.Vc=J}else{if(A(L.mc!=null),f=d+p,A((U=L.mc)!=null),A(f<=U.i),U.C>=f)f=1;else if(L.ic||je(),L.ic){L=U.V,T=U.Ba,J=U.c;var hA=U.i,rA=(AA=1,I=U.$/J,D=U.$%J,W=U.m,nA=U.s,U.$),gA=J*hA,dA=J*f,CA=nA.wc,vA=rA<dA?Bt(nA,D,I):null;A(rA<=gA),A(f<=hA),A(hr(nA));e:for(;;){for(;!W.h&&rA<dA;){if(D&CA||(vA=Bt(nA,D,I)),A(vA!=null),eA(W),256>(hA=Ve(vA.G[0],vA.H[0],W)))L[T+rA]=hA,++rA,++D>=J&&(D=0,++I<=f&&!(I%16)&&gr(U,I));else{if(!(280>hA)){AA=0;break e}hA=er(hA-256,W);var PA,IA=Ve(vA.G[4],vA.H[4],W);if(eA(W),!(rA>=(IA=tr(J,IA=er(IA,W)))&&gA-rA>=hA)){AA=0;break e}for(PA=0;PA<hA;++PA)L[T+rA+PA]=L[T+rA+PA-IA];for(rA+=hA,D+=hA;D>=J;)D-=J,++I<=f&&!(I%16)&&gr(U,I);rA<dA&&D&CA&&(vA=Bt(nA,D,I))}A(W.h==q(W))}gr(U,I>f?f:I);break e}!AA||W.h&&rA<gA?(AA=0,U.a=W.h?5:3):U.$=rA,f=AA}else f=dr(U,U.V,U.Ba,U.c,U.i,f,vi);if(!f){p=0;break A}}d+p>=y&&(o.Cc=1),p=1}if(!p)return null;if(o.Cc&&((p=o.ga)!=null&&(p.mc=null),o.ga=null,0<o.Ga))return alert("todo:WebPDequantizeLevels"),null}return o.nb+d*m}function Le(o,f,d,p,m,y){for(;0<m--;){var U,L=o,I=f+(d?1:0),D=o,W=f+(d?0:3);for(U=0;U<p;++U){var nA=D[W+4*U];nA!=255&&(nA*=32897,L[I+4*U+0]=L[I+4*U+0]*nA>>23,L[I+4*U+1]=L[I+4*U+1]*nA>>23,L[I+4*U+2]=L[I+4*U+2]*nA>>23)}f+=y}}function Ue(o,f,d,p,m){for(;0<p--;){var y;for(y=0;y<d;++y){var U=o[f+2*y+0],L=15&(D=o[f+2*y+1]),I=4369*L,D=(240&D|D>>4)*I>>16;o[f+2*y+0]=(240&U|U>>4)*I>>16&240|(15&U|U<<4)*I>>16>>4&15,o[f+2*y+1]=240&D|L}f+=m}}function Te(o,f,d,p,m,y,U,L){var I,D,W=255;for(D=0;D<m;++D){for(I=0;I<p;++I){var nA=o[f+I];y[U+4*I]=nA,W&=nA}f+=d,U+=L}return W!=255}function Ge(o,f,d,p,m){var y;for(y=0;y<m;++y)d[p+y]=o[f+y]>>8}function je(){La=Le,_f=Ue,Df=Te,Tf=Ge}function Qt(o,f,d){N[o]=function(p,m,y,U,L,I,D,W,nA,T,J,AA,hA,rA,gA,dA,CA){var vA,PA=CA-1>>1,IA=L[I+0]|D[W+0]<<16,ie=nA[T+0]|J[AA+0]<<16;A(p!=null);var DA=3*IA+ie+131074>>2;for(f(p[m+0],255&DA,DA>>16,hA,rA),y!=null&&(DA=3*ie+IA+131074>>2,f(y[U+0],255&DA,DA>>16,gA,dA)),vA=1;vA<=PA;++vA){var de=L[I+vA]|D[W+vA]<<16,lt=nA[T+vA]|J[AA+vA]<<16,ae=IA+de+ie+lt+524296,TA=ae+2*(de+ie)>>3;DA=TA+IA>>1,IA=(ae=ae+2*(IA+lt)>>3)+de>>1,f(p[m+2*vA-1],255&DA,DA>>16,hA,rA+(2*vA-1)*d),f(p[m+2*vA-0],255&IA,IA>>16,hA,rA+(2*vA-0)*d),y!=null&&(DA=ae+ie>>1,IA=TA+lt>>1,f(y[U+2*vA-1],255&DA,DA>>16,gA,dA+(2*vA-1)*d),f(y[U+2*vA+0],255&IA,IA>>16,gA,dA+(2*vA+0)*d)),IA=de,ie=lt}1&CA||(DA=3*IA+ie+131074>>2,f(p[m+CA-1],255&DA,DA>>16,hA,rA+(CA-1)*d),y!=null&&(DA=3*ie+IA+131074>>2,f(y[U+CA-1],255&DA,DA>>16,gA,dA+(CA-1)*d)))}}function Yr(){sr[Ls]=zd,sr[xs]=Wf,sr[Kf]=Yd,sr[Is]=Xf,sr[Ss]=Jf,sr[Ul]=zf,sr[Gf]=Zd,sr[El]=Wf,sr[Ll]=Xf,sr[Hs]=Jf,sr[xl]=zf}function Ca(o){return o&-16384?0>o?0:255:o>>$d}function Xn(o,f){return Ca((19077*o>>8)+(26149*f>>8)-14234)}function Jn(o,f,d){return Ca((19077*o>>8)-(6419*f>>8)-(13320*d>>8)+8708)}function pn(o,f){return Ca((19077*o>>8)+(33050*f>>8)-17685)}function zn(o,f,d,p,m){p[m+0]=Xn(o,d),p[m+1]=Jn(o,f,d),p[m+2]=pn(o,f)}function Si(o,f,d,p,m){p[m+0]=pn(o,f),p[m+1]=Jn(o,f,d),p[m+2]=Xn(o,d)}function Hi(o,f,d,p,m){var y=Jn(o,f,d);f=y<<3&224|pn(o,f)>>3,p[m+0]=248&Xn(o,d)|y>>5,p[m+1]=f}function bt(o,f,d,p,m){var y=240&pn(o,f)|15;p[m+0]=240&Xn(o,d)|Jn(o,f,d)>>4,p[m+1]=y}function Yn(o,f,d,p,m){p[m+0]=255,zn(o,f,d,p,m+1)}function Zn(o,f,d,p,m){Si(o,f,d,p,m),p[m+3]=255}function Fa(o,f,d,p,m){zn(o,f,d,p,m),p[m+3]=255}function Nr(o,f,d){N[o]=function(p,m,y,U,L,I,D,W,nA){for(var T=W+(-2&nA)*d;W!=T;)f(p[m+0],y[U+0],L[I+0],D,W),f(p[m+1],y[U+0],L[I+0],D,W+d),m+=2,++U,++I,W+=2*d;1&nA&&f(p[m+0],y[U+0],L[I+0],D,W)}}function _t(o,f,d){return d==0?o==0?f==0?6:5:f==0?4:0:d}function Qs(o,f,d,p,m){switch(o>>>30){case 3:Zr(f,d,p,m,0);break;case 2:Cn(f,d,p,m);break;case 1:Ut(f,d,p,m)}}function Ni(o,f){var d,p,m=f.M,y=f.Nb,U=o.oc,L=o.pc+40,I=o.oc,D=o.pc+584,W=o.oc,nA=o.pc+600;for(d=0;16>d;++d)U[L+32*d-1]=129;for(d=0;8>d;++d)I[D+32*d-1]=129,W[nA+32*d-1]=129;for(0<m?U[L-1-32]=I[D-1-32]=W[nA-1-32]=129:(n(U,L-32-1,127,21),n(I,D-32-1,127,9),n(W,nA-32-1,127,9)),p=0;p<o.za;++p){var T=f.ya[f.aa+p];if(0<p){for(d=-1;16>d;++d)r(U,L+32*d-4,U,L+32*d+12,4);for(d=-1;8>d;++d)r(I,D+32*d-4,I,D+32*d+4,4),r(W,nA+32*d-4,W,nA+32*d+4,4)}var J=o.Gd,AA=o.Hd+p,hA=T.ad,rA=T.Hc;if(0<m&&(r(U,L-32,J[AA].y,0,16),r(I,D-32,J[AA].f,0,8),r(W,nA-32,J[AA].ea,0,8)),T.Za){var gA=U,dA=L-32+16;for(0<m&&(p>=o.za-1?n(gA,dA,J[AA].y[15],4):r(gA,dA,J[AA+1].y,0,4)),d=0;4>d;d++)gA[dA+128+d]=gA[dA+256+d]=gA[dA+384+d]=gA[dA+0+d];for(d=0;16>d;++d,rA<<=2)gA=U,dA=L+Zf[d],pr[T.Ob[d]](gA,dA),Qs(rA,hA,16*+d,gA,dA)}else if(gA=_t(p,m,T.Ob[0]),Fn[gA](U,L),rA!=0)for(d=0;16>d;++d,rA<<=2)Qs(rA,hA,16*+d,U,L+Zf[d]);for(d=T.Gc,gA=_t(p,m,T.Dd),An[gA](I,D),An[gA](W,nA),rA=hA,gA=I,dA=D,255&(T=0|d)&&(170&T?Pi(rA,256,gA,dA):Dr(rA,256,gA,dA)),T=W,rA=nA,255&(d>>=8)&&(170&d?Pi(hA,320,T,rA):Dr(hA,320,T,rA)),m<o.Ub-1&&(r(J[AA].y,0,U,L+480,16),r(J[AA].f,0,I,D+224,8),r(J[AA].ea,0,W,nA+224,8)),d=8*y*o.B,J=o.sa,AA=o.ta+16*p+16*y*o.R,hA=o.qa,T=o.ra+8*p+d,rA=o.Ha,gA=o.Ia+8*p+d,d=0;16>d;++d)r(J,AA+d*o.R,U,L+32*d,16);for(d=0;8>d;++d)r(hA,T+d*o.B,I,D+32*d,8),r(rA,gA+d*o.B,W,nA+32*d,8)}}function bs(o,f,d,p,m,y,U,L,I){var D=[0],W=[0],nA=0,T=I!=null?I.kd:0,J=I??new Y;if(o==null||12>d)return 7;J.data=o,J.w=f,J.ha=d,f=[f],d=[d],J.gb=[J.gb];A:{var AA=f,hA=d,rA=J.gb;if(A(o!=null),A(hA!=null),A(rA!=null),rA[0]=0,12<=hA[0]&&!e(o,AA[0],"RIFF")){if(e(o,AA[0]+8,"WEBP")){rA=3;break A}var gA=RA(o,AA[0]+4);if(12>gA||4294967286<gA){rA=3;break A}if(T&&gA>hA[0]-8){rA=7;break A}rA[0]=gA,AA[0]+=12,hA[0]-=12}rA=0}if(rA!=0)return rA;for(gA=0<J.gb[0],d=d[0];;){A:{var dA=o;hA=f,rA=d;var CA=D,vA=W,PA=AA=[0];if((DA=nA=[nA])[0]=0,8>rA[0])rA=7;else{if(!e(dA,hA[0],"VP8X")){if(RA(dA,hA[0]+4)!=10){rA=3;break A}if(18>rA[0]){rA=7;break A}var IA=RA(dA,hA[0]+8),ie=1+UA(dA,hA[0]+12);if(2147483648<=ie*(dA=1+UA(dA,hA[0]+15))){rA=3;break A}PA!=null&&(PA[0]=IA),CA!=null&&(CA[0]=ie),vA!=null&&(vA[0]=dA),hA[0]+=18,rA[0]-=18,DA[0]=1}rA=0}}if(nA=nA[0],AA=AA[0],rA!=0)return rA;if(hA=!!(2&AA),!gA&&nA)return 3;if(y!=null&&(y[0]=!!(16&AA)),U!=null&&(U[0]=hA),L!=null&&(L[0]=0),U=D[0],AA=W[0],nA&&hA&&I==null){rA=0;break}if(4>d){rA=7;break}if(gA&&nA||!gA&&!nA&&!e(o,f[0],"ALPH")){d=[d],J.na=[J.na],J.P=[J.P],J.Sa=[J.Sa];A:{IA=o,rA=f,gA=d;var DA=J.gb;CA=J.na,vA=J.P,PA=J.Sa,ie=22,A(IA!=null),A(gA!=null),dA=rA[0];var de=gA[0];for(A(CA!=null),A(PA!=null),CA[0]=null,vA[0]=null,PA[0]=0;;){if(rA[0]=dA,gA[0]=de,8>de){rA=7;break A}var lt=RA(IA,dA+4);if(4294967286<lt){rA=3;break A}var ae=8+lt+1&-2;if(ie+=ae,0<DA&&ie>DA){rA=3;break A}if(!e(IA,dA,"VP8 ")||!e(IA,dA,"VP8L")){rA=0;break A}if(de[0]<ae){rA=7;break A}e(IA,dA,"ALPH")||(CA[0]=IA,vA[0]=dA+8,PA[0]=lt),dA+=ae,de-=ae}}if(d=d[0],J.na=J.na[0],J.P=J.P[0],J.Sa=J.Sa[0],rA!=0)break}d=[d],J.Ja=[J.Ja],J.xa=[J.xa];A:if(DA=o,rA=f,gA=d,CA=J.gb[0],vA=J.Ja,PA=J.xa,IA=rA[0],dA=!e(DA,IA,"VP8 "),ie=!e(DA,IA,"VP8L"),A(DA!=null),A(gA!=null),A(vA!=null),A(PA!=null),8>gA[0])rA=7;else{if(dA||ie){if(DA=RA(DA,IA+4),12<=CA&&DA>CA-12){rA=3;break A}if(T&&DA>gA[0]-8){rA=7;break A}vA[0]=DA,rA[0]+=8,gA[0]-=8,PA[0]=ie}else PA[0]=5<=gA[0]&&DA[IA+0]==47&&!(DA[IA+4]>>5),vA[0]=gA[0];rA=0}if(d=d[0],J.Ja=J.Ja[0],J.xa=J.xa[0],f=f[0],rA!=0)break;if(4294967286<J.Ja)return 3;if(L==null||hA||(L[0]=J.xa?2:1),U=[U],AA=[AA],J.xa){if(5>d){rA=7;break}L=U,T=AA,hA=y,o==null||5>d?o=0:5<=d&&o[f+0]==47&&!(o[f+4]>>5)?(gA=[0],DA=[0],CA=[0],lA(vA=new O,o,f,d),Vr(vA,gA,DA,CA)?(L!=null&&(L[0]=gA[0]),T!=null&&(T[0]=DA[0]),hA!=null&&(hA[0]=CA[0]),o=1):o=0):o=0}else{if(10>d){rA=7;break}L=AA,o==null||10>d||!ds(o,f+3,d-3)?o=0:(T=o[f+0]|o[f+1]<<8|o[f+2]<<16,hA=16383&(o[f+7]<<8|o[f+6]),o=16383&(o[f+9]<<8|o[f+8]),1&T||3<(T>>1&7)||!(T>>4&1)||T>>5>=J.Ja||!hA||!o?o=0:(U&&(U[0]=hA),L&&(L[0]=o),o=1))}if(!o||(U=U[0],AA=AA[0],nA&&(D[0]!=U||W[0]!=AA)))return 3;I!=null&&(I[0]=J,I.offset=f-I.w,A(4294967286>f-I.w),A(I.offset==I.ha-d));break}return rA==0||rA==7&&nA&&I==null?(y!=null&&(y[0]|=J.na!=null&&0<J.na.length),p!=null&&(p[0]=U),m!=null&&(m[0]=AA),0):rA}function ir(o,f,d){var p=f.width,m=f.height,y=0,U=0,L=p,I=m;if(f.Da=o!=null&&0<o.Da,f.Da&&(L=o.cd,I=o.bd,y=o.v,U=o.j,11>d||(y&=-2,U&=-2),0>y||0>U||0>=L||0>=I||y+L>p||U+I>m))return 0;if(f.v=y,f.j=U,f.va=y+L,f.o=U+I,f.U=L,f.T=I,f.da=o!=null&&0<o.da,f.da){if(!VA(L,I,d=[o.ib],y=[o.hb]))return 0;f.ib=d[0],f.hb=y[0]}return f.ob=o!=null&&o.ob,f.Kb=o==null||!o.Sd,f.da&&(f.ob=f.ib<3*p/4&&f.hb<3*m/4,f.Kb=0),1}function $n(o){if(o==null)return 2;if(11>o.S){var f=o.f.RGBA;f.fb+=(o.height-1)*f.A,f.A=-f.A}else f=o.f.kb,o=o.height,f.O+=(o-1)*f.fa,f.fa=-f.fa,f.N+=(o-1>>1)*f.Ab,f.Ab=-f.Ab,f.W+=(o-1>>1)*f.Db,f.Db=-f.Db,f.F!=null&&(f.J+=(o-1)*f.lb,f.lb=-f.lb);return 0}function ya(o,f,d,p){if(p==null||0>=o||0>=f)return 2;if(d!=null){if(d.Da){var m=d.cd,y=d.bd,U=-2&d.v,L=-2&d.j;if(0>U||0>L||0>=m||0>=y||U+m>o||L+y>f)return 2;o=m,f=y}if(d.da){if(!VA(o,f,m=[d.ib],y=[d.hb]))return 2;o=m[0],f=y[0]}}p.width=o,p.height=f;A:{var I=p.width,D=p.height;if(o=p.S,0>=I||0>=D||!(o>=Ls&&13>o))o=2;else{if(0>=p.Rd&&p.sd==null){U=y=m=f=0;var W=(L=I*$f[o])*D;if(11>o||(y=(D+1)/2*(f=(I+1)/2),o==12&&(U=(m=I)*D)),(D=i(W+2*y+U))==null){o=1;break A}p.sd=D,11>o?((I=p.f.RGBA).eb=D,I.fb=0,I.A=L,I.size=W):((I=p.f.kb).y=D,I.O=0,I.fa=L,I.Fd=W,I.f=D,I.N=0+W,I.Ab=f,I.Cd=y,I.ea=D,I.W=0+W+y,I.Db=f,I.Ed=y,o==12&&(I.F=D,I.J=0+W+2*y),I.Tc=U,I.lb=m)}if(f=1,m=p.S,y=p.width,U=p.height,m>=Ls&&13>m)if(11>m)o=p.f.RGBA,f&=(L=Math.abs(o.A))*(U-1)+y<=o.size,f&=L>=y*$f[m],f&=o.eb!=null;else{o=p.f.kb,L=(y+1)/2,W=(U+1)/2,I=Math.abs(o.fa),D=Math.abs(o.Ab);var nA=Math.abs(o.Db),T=Math.abs(o.lb),J=T*(U-1)+y;f&=I*(U-1)+y<=o.Fd,f&=D*(W-1)+L<=o.Cd,f=(f&=nA*(W-1)+L<=o.Ed)&I>=y&D>=L&nA>=L,f&=o.y!=null,f&=o.f!=null,f&=o.ea!=null,m==12&&(f&=T>=y,f&=J<=o.Tc,f&=o.F!=null)}else f=0;o=f?0:2}}return o!=0||d!=null&&d.fd&&(o=$n(p)),o}var _i=64,Ai=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],Qa=24,Dt=32,Mt=8,Di=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];SA("Predictor0","PredictorAdd0"),N.Predictor0=function(){return 4278190080},N.Predictor1=function(o){return o},N.Predictor2=function(o,f,d){return f[d+0]},N.Predictor3=function(o,f,d){return f[d+1]},N.Predictor4=function(o,f,d){return f[d-1]},N.Predictor5=function(o,f,d){return KA(KA(o,f[d+1]),f[d+0])},N.Predictor6=function(o,f,d){return KA(o,f[d-1])},N.Predictor7=function(o,f,d){return KA(o,f[d+0])},N.Predictor8=function(o,f,d){return KA(f[d-1],f[d+0])},N.Predictor9=function(o,f,d){return KA(f[d+0],f[d+1])},N.Predictor10=function(o,f,d){return KA(KA(o,f[d-1]),KA(f[d+0],f[d+1]))},N.Predictor11=function(o,f,d){var p=f[d+0];return 0>=Ae(p>>24&255,o>>24&255,(f=f[d-1])>>24&255)+Ae(p>>16&255,o>>16&255,f>>16&255)+Ae(p>>8&255,o>>8&255,f>>8&255)+Ae(255&p,255&o,255&f)?p:o},N.Predictor12=function(o,f,d){var p=f[d+0];return(me((o>>24&255)+(p>>24&255)-((f=f[d-1])>>24&255))<<24|me((o>>16&255)+(p>>16&255)-(f>>16&255))<<16|me((o>>8&255)+(p>>8&255)-(f>>8&255))<<8|me((255&o)+(255&p)-(255&f)))>>>0},N.Predictor13=function(o,f,d){var p=f[d-1];return(fe((o=KA(o,f[d+0]))>>24&255,p>>24&255)<<24|fe(o>>16&255,p>>16&255)<<16|fe(o>>8&255,p>>8&255)<<8|fe(255&o,255&p))>>>0};var wn=N.PredictorAdd0;N.PredictorAdd1=ge,SA("Predictor2","PredictorAdd2"),SA("Predictor3","PredictorAdd3"),SA("Predictor4","PredictorAdd4"),SA("Predictor5","PredictorAdd5"),SA("Predictor6","PredictorAdd6"),SA("Predictor7","PredictorAdd7"),SA("Predictor8","PredictorAdd8"),SA("Predictor9","PredictorAdd9"),SA("Predictor10","PredictorAdd10"),SA("Predictor11","PredictorAdd11"),SA("Predictor12","PredictorAdd12"),SA("Predictor13","PredictorAdd13");var vn=N.PredictorAdd2;OA("ColorIndexInverseTransform","MapARGB","32b",function(o){return o>>8&255},function(o){return o}),OA("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(o){return o},function(o){return o>>8&255});var Ti,ei=N.ColorIndexInverseTransform,at=N.MapARGB,Ql=N.VP8LColorIndexInverseTransformAlpha,_r=N.MapAlpha,Br=N.VP8LPredictorsAdd=[];Br.length=16,(N.VP8LPredictors=[]).length=16,(N.VP8LPredictorsAdd_C=[]).length=16,(N.VP8LPredictors_C=[]).length=16;var ti,ba,Ua,ki,ri,ni,mn,Zr,Cn,Pi,Ut,Dr,He,Ne,ze,ot,$r,Ea,Oi,Us,If,Sf,Hf,Nf,La,_f,Df,Tf,kf=i(511),Pf=i(2041),Of=i(225),Mf=i(767),Rf=0,bl=Pf,Es=Of,qt=Mf,ar=kf,Ls=0,xs=1,Kf=2,Is=3,Ss=4,Ul=5,Gf=6,El=7,Ll=8,Hs=9,xl=10,Td=[2,3,7],kd=[3,3,11],jf=[280,256,256,256,40],Pd=[0,1,1,1,0],Od=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],Md=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],Rd=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],Kd=8,Il=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],Sl=[4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],xa=null,Gd=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],jd=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],Vf=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],Vd=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],qd=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],Wd=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],Xd=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],Fn=[],pr=[],An=[],Jd=1,qf=2,yn=[],sr=[];Qt("UpsampleRgbLinePair",zn,3),Qt("UpsampleBgrLinePair",Si,3),Qt("UpsampleRgbaLinePair",Fa,4),Qt("UpsampleBgraLinePair",Zn,4),Qt("UpsampleArgbLinePair",Yn,4),Qt("UpsampleRgba4444LinePair",bt,2),Qt("UpsampleRgb565LinePair",Hi,2);var zd=N.UpsampleRgbLinePair,Yd=N.UpsampleBgrLinePair,Wf=N.UpsampleRgbaLinePair,Xf=N.UpsampleBgraLinePair,Jf=N.UpsampleArgbLinePair,zf=N.UpsampleRgba4444LinePair,Zd=N.UpsampleRgb565LinePair,Ns=16,_s=1<<Ns-1,Ia=-227,Hl=482,$d=6,Yf=0,A1=i(256),e1=i(256),t1=i(256),r1=i(256),n1=i(Hl-Ia),i1=i(Hl-Ia);Nr("YuvToRgbRow",zn,3),Nr("YuvToBgrRow",Si,3),Nr("YuvToRgbaRow",Fa,4),Nr("YuvToBgraRow",Zn,4),Nr("YuvToArgbRow",Yn,4),Nr("YuvToRgba4444Row",bt,2),Nr("YuvToRgb565Row",Hi,2);var Zf=[0,4,8,12,128,132,136,140,256,260,264,268,384,388,392,396],Ds=[0,2,8],a1=[8,7,6,4,4,2,2,2,1,1,1,1],s1=1;this.WebPDecodeRGBA=function(o,f,d,p,m){var y=xs,U=new j,L=new ue;U.ba=L,L.S=y,L.width=[L.width],L.height=[L.height];var I=L.width,D=L.height,W=new WA;if(W==null||o==null)var nA=2;else A(W!=null),nA=bs(o,f,d,W.width,W.height,W.Pd,W.Qd,W.format,null);if(nA!=0?I=0:(I!=null&&(I[0]=W.width[0]),D!=null&&(D[0]=W.height[0]),I=1),I){L.width=L.width[0],L.height=L.height[0],p!=null&&(p[0]=L.width),m!=null&&(m[0]=L.height);A:{if(p=new Fi,(m=new Y).data=o,m.w=f,m.ha=d,m.kd=1,f=[0],A(m!=null),((o=bs(m.data,m.w,m.ha,null,null,null,f,null,m))==0||o==7)&&f[0]&&(o=4),(f=o)==0){if(A(U!=null),p.data=m.data,p.w=m.w+m.offset,p.ha=m.ha-m.offset,p.put=XA,p.ac=Ur,p.bc=jr,p.ma=U,m.xa){if((o=Gn())==null){U=1;break A}if((function(T,J){var AA=[0],hA=[0],rA=[0];e:for(;;){if(T==null)return 0;if(J==null)return T.a=2,0;if(T.l=J,T.a=0,lA(T.m,J.data,J.w,J.ha),!Vr(T.m,AA,hA,rA)){T.a=3;break e}if(T.xb=qf,J.width=AA[0],J.height=hA[0],!Lr(AA[0],hA[0],1,T,null))break e;return 1}return A(T.a!=0),0})(o,p)){if(p=(f=ya(p.width,p.height,U.Oa,U.ba))==0){e:{p=o;t:for(;;){if(p==null){p=0;break e}if(A(p.s.yc!=null),A(p.s.Ya!=null),A(0<p.s.Wb),A((d=p.l)!=null),A((m=d.ma)!=null),p.xb!=0){if(p.ca=m.ba,p.tb=m.tb,A(p.ca!=null),!ir(m.Oa,d,Is)){p.a=2;break t}if(!jn(p,d.width)||d.da)break t;if((d.da||JA(p.ca.S))&&je(),11>p.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),p.ca.f.kb.F!=null&&je()),p.Pb&&0<p.s.ua&&p.s.vb.X==null&&!H(p.s.vb,p.s.Wa.Xa)){p.a=1;break t}p.xb=0}if(!dr(p,p.V,p.Ba,p.c,p.i,d.o,hn))break t;m.Dc=p.Ma,p=1;break e}A(p.a!=0),p=0}p=!p}p&&(f=o.a)}else f=o.a}else{if((o=new sl)==null){U=1;break A}if(o.Fa=m.na,o.P=m.P,o.qc=m.Sa,Ir(o,p)){if((f=ya(p.width,p.height,U.Oa,U.ba))==0){if(o.Aa=0,d=U.Oa,A((m=o)!=null),d!=null){if(0<(I=0>(I=d.Md)?0:100<I?255:255*I/100)){for(D=W=0;4>D;++D)12>(nA=m.pb[D]).lc&&(nA.ia=I*a1[0>nA.lc?0:nA.lc]>>3),W|=nA.ia;W&&(alert("todo:VP8InitRandom"),m.ia=1)}m.Ga=d.Id,100<m.Ga?m.Ga=100:0>m.Ga&&(m.Ga=0)}(function(T,J){if(T==null)return 0;if(J==null)return nt(T,2,"NULL VP8Io parameter in VP8Decode().");if(!T.cb&&!Ir(T,J))return 0;if(A(T.cb),J.ac==null||J.ac(J)){J.ob&&(T.L=0);var AA=Ds[T.L];if(T.L==2?(T.yb=0,T.zb=0):(T.yb=J.v-AA>>4,T.zb=J.j-AA>>4,0>T.yb&&(T.yb=0),0>T.zb&&(T.zb=0)),T.Va=J.o+15+AA>>4,T.Hb=J.va+15+AA>>4,T.Hb>T.za&&(T.Hb=T.za),T.Va>T.Ub&&(T.Va=T.Ub),0<T.L){var hA=T.ed;for(AA=0;4>AA;++AA){var rA;if(T.Qa.Cb){var gA=T.Qa.Lb[AA];T.Qa.Fb||(gA+=hA.Tb)}else gA=hA.Tb;for(rA=0;1>=rA;++rA){var dA=T.gd[AA][rA],CA=gA;if(hA.Pc&&(CA+=hA.vd[0],rA&&(CA+=hA.od[0])),0<(CA=0>CA?0:63<CA?63:CA)){var vA=CA;0<hA.wb&&(vA=4<hA.wb?vA>>2:vA>>1)>9-hA.wb&&(vA=9-hA.wb),1>vA&&(vA=1),dA.dd=vA,dA.tc=2*CA+vA,dA.ld=40<=CA?2:15<=CA?1:0}else dA.tc=0;dA.La=rA}}}AA=0}else nt(T,6,"Frame setup failed"),AA=T.a;if(AA=AA==0){if(AA){T.$c=0,0<T.Aa||(T.Ic=s1);e:{AA=T.Ic,hA=4*(vA=T.za);var PA=32*vA,IA=vA+1,ie=0<T.L?vA*(0<T.Aa?2:1):0,DA=(T.Aa==2?2:1)*vA;if((dA=hA+832+(rA=3*(16*AA+Ds[T.L])/2*PA)+(gA=T.Fa!=null&&0<T.Fa.length?T.Kc.c*T.Kc.i:0))!=dA)AA=0;else{if(dA>T.Vb){if(T.Vb=0,T.Ec=i(dA),T.Fc=0,T.Ec==null){AA=nt(T,1,"no memory during frame initialization.");break e}T.Vb=dA}dA=T.Ec,CA=T.Fc,T.Ac=dA,T.Bc=CA,CA+=hA,T.Gd=s(PA,hs),T.Hd=0,T.rb=s(IA+1,ca),T.sb=1,T.wa=ie?s(ie,nr):null,T.Y=0,T.D.Nb=0,T.D.wa=T.wa,T.D.Y=T.Y,0<T.Aa&&(T.D.Y+=vA),A(!0),T.oc=dA,T.pc=CA,CA+=832,T.ya=s(DA,ha),T.aa=0,T.D.ya=T.ya,T.D.aa=T.aa,T.Aa==2&&(T.D.aa+=vA),T.R=16*vA,T.B=8*vA,vA=(PA=Ds[T.L])*T.R,PA=PA/2*T.B,T.sa=dA,T.ta=CA+vA,T.qa=T.sa,T.ra=T.ta+16*AA*T.R+PA,T.Ha=T.qa,T.Ia=T.ra+8*AA*T.B+PA,T.$c=0,CA+=rA,T.mb=gA?dA:null,T.nb=gA?CA:null,A(CA+gA<=T.Fc+T.Vb),ga(T),n(T.Ac,T.Bc,0,hA),AA=1}}if(AA){if(J.ka=0,J.y=T.sa,J.O=T.ta,J.f=T.qa,J.N=T.ra,J.ea=T.Ha,J.Vd=T.Ia,J.fa=T.R,J.Rc=T.B,J.F=null,J.J=0,!Rf){for(AA=-255;255>=AA;++AA)kf[255+AA]=0>AA?-AA:AA;for(AA=-1020;1020>=AA;++AA)Pf[1020+AA]=-128>AA?-128:127<AA?127:AA;for(AA=-112;112>=AA;++AA)Of[112+AA]=-16>AA?-16:15<AA?15:AA;for(AA=-255;510>=AA;++AA)Mf[255+AA]=0>AA?0:255<AA?255:AA;Rf=1}mn=ps,Zr=ol,Pi=ll,Ut=ul,Dr=Sr,Cn=Bs,He=ms,Ne=Cs,ze=ys,ot=h,$r=Fs,Ea=Wn,Oi=v,Us=_,If=xi,Sf=ma,Hf=Ii,Nf=vs,pr[0]=pl,pr[1]=Ui,pr[2]=dl,pr[3]=Bl,pr[4]=wl,pr[5]=Wr,pr[6]=vl,pr[7]=Xr,pr[8]=Cl,pr[9]=ml,Fn[0]=ws,Fn[1]=fl,Fn[2]=cl,Fn[3]=hl,Fn[4]=dn,Fn[5]=gl,Fn[6]=Vn,An[0]=Fl,An[1]=da,An[2]=Ei,An[3]=Ba,An[4]=yl,An[5]=Li,An[6]=pa,AA=1}else AA=0}AA&&(AA=(function(de,lt){for(de.M=0;de.M<de.Va;++de.M){var ae,TA=de.Jc[de.M&de.Xb],QA=de.m,Ye=de;for(ae=0;ae<Ye.za;++ae){var re=QA,pe=Ye,ke=pe.Ac,wt=pe.Bc+4*ae,Tt=pe.zc,qe=pe.ya[pe.aa+ae];if(pe.Qa.Bb?qe.$b=BA(re,pe.Pa.jb[0])?2+BA(re,pe.Pa.jb[2]):BA(re,pe.Pa.jb[1]):qe.$b=0,pe.kc&&(qe.Ad=BA(re,pe.Bd)),qe.Za=!BA(re,145)+0,qe.Za){var Et=qe.Ob,kt=0;for(pe=0;4>pe;++pe){var ut,ve=Tt[0+pe];for(ut=0;4>ut;++ut){ve=qd[ke[wt+ut]][ve];for(var ye=Vf[BA(re,ve[0])];0<ye;)ye=Vf[2*ye+BA(re,ve[ye])];ve=-ye,ke[wt+ut]=ve}r(Et,kt,ke,wt,4),kt+=4,Tt[0+pe]=ve}}else ve=BA(re,156)?BA(re,128)?1:3:BA(re,163)?2:0,qe.Ob[0]=ve,n(ke,wt,ve,4),n(Tt,0,ve,4);qe.Dd=BA(re,142)?BA(re,114)?BA(re,183)?1:3:2:0}if(Ye.m.Ka)return nt(de,7,"Premature end-of-partition0 encountered.");for(;de.ja<de.za;++de.ja){if(Ye=TA,re=(QA=de).rb[QA.sb-1],ke=QA.rb[QA.sb+QA.ja],ae=QA.ya[QA.aa+QA.ja],wt=QA.kc?ae.Ad:0)re.la=ke.la=0,ae.Za||(re.Na=ke.Na=0),ae.Hc=0,ae.Gc=0,ae.ia=0;else{var We,Qe;if(re=ke,ke=Ye,wt=QA.Pa.Xc,Tt=QA.ya[QA.aa+QA.ja],qe=QA.pb[Tt.$b],pe=Tt.ad,Et=0,kt=QA.rb[QA.sb-1],ve=ut=0,n(pe,Et,0,384),Tt.Za)var vt=0,wr=wt[3];else{ye=i(16);var Ze=re.Na+kt.Na;if(Ze=xa(ke,wt[1],Ze,qe.Eb,0,ye,0),re.Na=kt.Na=(0<Ze)+0,1<Ze)mn(ye,0,pe,Et);else{var Rt=ye[0]+3>>3;for(ye=0;256>ye;ye+=16)pe[Et+ye]=Rt}vt=1,wr=wt[0]}var xe=15&re.la,ft=15&kt.la;for(ye=0;4>ye;++ye){var Wt=1&ft;for(Rt=Qe=0;4>Rt;++Rt)xe=xe>>1|(Wt=(Ze=xa(ke,wr,Ze=Wt+(1&xe),qe.Sc,vt,pe,Et))>vt)<<7,Qe=Qe<<2|(3<Ze?3:1<Ze?2:pe[Et+0]!=0),Et+=16;xe>>=4,ft=ft>>1|Wt<<7,ut=(ut<<8|Qe)>>>0}for(wr=xe,vt=ft>>4,We=0;4>We;We+=2){for(Qe=0,xe=re.la>>4+We,ft=kt.la>>4+We,ye=0;2>ye;++ye){for(Wt=1&ft,Rt=0;2>Rt;++Rt)Ze=Wt+(1&xe),xe=xe>>1|(Wt=0<(Ze=xa(ke,wt[2],Ze,qe.Qc,0,pe,Et)))<<3,Qe=Qe<<2|(3<Ze?3:1<Ze?2:pe[Et+0]!=0),Et+=16;xe>>=2,ft=ft>>1|Wt<<5}ve|=Qe<<4*We,wr|=xe<<4<<We,vt|=(240&ft)<<We}re.la=wr,kt.la=vt,Tt.Hc=ut,Tt.Gc=ve,Tt.ia=43690&ve?0:qe.ia,wt=!(ut|ve)}if(0<QA.L&&(QA.wa[QA.Y+QA.ja]=QA.gd[ae.$b][ae.Za],QA.wa[QA.Y+QA.ja].La|=!wt),Ye.Ka)return nt(de,7,"Premature end-of-file encountered.")}if(ga(de),QA=lt,Ye=1,ae=(TA=de).D,re=0<TA.L&&TA.M>=TA.zb&&TA.M<=TA.Va,TA.Aa==0)e:{if(ae.M=TA.M,ae.uc=re,Ni(TA,ae),Ye=1,ae=(Qe=TA.D).Nb,re=(ve=Ds[TA.L])*TA.R,ke=ve/2*TA.B,ye=16*ae*TA.R,Rt=8*ae*TA.B,wt=TA.sa,Tt=TA.ta-re+ye,qe=TA.qa,pe=TA.ra-ke+Rt,Et=TA.Ha,kt=TA.Ia-ke+Rt,ft=(xe=Qe.M)==0,ut=xe>=TA.Va-1,TA.Aa==2&&Ni(TA,Qe),Qe.uc)for(Wt=(Ze=TA).D.M,A(Ze.D.uc),Qe=Ze.yb;Qe<Ze.Hb;++Qe){vt=Qe,wr=Wt;var Pt=(Xt=(mt=Ze).D).Nb;We=mt.R;var Xt=Xt.wa[Xt.Y+vt],Jt=mt.sa,Kt=mt.ta+16*Pt*We+16*vt,zt=Xt.dd,_e=Xt.tc;if(_e!=0)if(A(3<=_e),mt.L==1)0<vt&&Sf(Jt,Kt,We,_e+4),Xt.La&&Nf(Jt,Kt,We,_e),0<wr&&If(Jt,Kt,We,_e+4),Xt.La&&Hf(Jt,Kt,We,_e);else{var Yt=mt.B,vr=mt.qa,ii=mt.ra+8*Pt*Yt+8*vt,en=mt.Ha,mt=mt.Ia+8*Pt*Yt+8*vt;Pt=Xt.ld,0<vt&&(Ne(Jt,Kt,We,_e+4,zt,Pt),ot(vr,ii,en,mt,Yt,_e+4,zt,Pt)),Xt.La&&(Ea(Jt,Kt,We,_e,zt,Pt),Us(vr,ii,en,mt,Yt,_e,zt,Pt)),0<wr&&(He(Jt,Kt,We,_e+4,zt,Pt),ze(vr,ii,en,mt,Yt,_e+4,zt,Pt)),Xt.La&&($r(Jt,Kt,We,_e,zt,Pt),Oi(vr,ii,en,mt,Yt,_e,zt,Pt))}}if(TA.ia&&alert("todo:DitherRow"),QA.put!=null){if(Qe=16*xe,xe=16*(xe+1),ft?(QA.y=TA.sa,QA.O=TA.ta+ye,QA.f=TA.qa,QA.N=TA.ra+Rt,QA.ea=TA.Ha,QA.W=TA.Ia+Rt):(Qe-=ve,QA.y=wt,QA.O=Tt,QA.f=qe,QA.N=pe,QA.ea=Et,QA.W=kt),ut||(xe-=ve),xe>QA.o&&(xe=QA.o),QA.F=null,QA.J=null,TA.Fa!=null&&0<TA.Fa.length&&Qe<xe&&(QA.J=it(TA,QA,Qe,xe-Qe),QA.F=TA.mb,QA.F==null&&QA.F.length==0)){Ye=nt(TA,3,"Could not decode alpha data.");break e}Qe<QA.j&&(ve=QA.j-Qe,Qe=QA.j,A(!(1&ve)),QA.O+=TA.R*ve,QA.N+=TA.B*(ve>>1),QA.W+=TA.B*(ve>>1),QA.F!=null&&(QA.J+=QA.width*ve)),Qe<xe&&(QA.O+=QA.v,QA.N+=QA.v>>1,QA.W+=QA.v>>1,QA.F!=null&&(QA.J+=QA.v),QA.ka=Qe-QA.j,QA.U=QA.va-QA.v,QA.T=xe-Qe,Ye=QA.put(QA))}ae+1!=TA.Ic||ut||(r(TA.sa,TA.ta-re,wt,Tt+16*TA.R,re),r(TA.qa,TA.ra-ke,qe,pe+8*TA.B,ke),r(TA.Ha,TA.Ia-ke,Et,kt+8*TA.B,ke))}if(!Ye)return nt(de,6,"Output aborted.")}return 1})(T,J)),J.bc!=null&&J.bc(J),AA&=1}return AA?(T.cb=0,AA):0})(o,p)||(f=o.a)}}else f=o.a}f==0&&U.Oa!=null&&U.Oa.fd&&(f=$n(U.ba))}U=f}y=U!=0?null:11>y?L.f.RGBA.eb:L.f.kb.y}else y=null;return y};var $f=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function u(N,$){for(var E="",S=0;S<4;S++)E+=String.fromCharCode(N[$++]);return E}function c(N,$){return N[$+0]|N[$+1]<<8}function B(N,$){return(N[$+0]|N[$+1]<<8|N[$+2]<<16)>>>0}function w(N,$){return(N[$+0]|N[$+1]<<8|N[$+2]<<16|N[$+3]<<24)>>>0}new l;var g=[0],C=[0],Q=[],x=new l,F=t,k=(function(N,$){var E={},S=0,R=!1,G=0,aA=0;if(E.frames=[],!(function(b,O){for(var M=0;M<4;M++)if(b[O+M]!="RIFF".charCodeAt(M))return!0;return!1})(N,$)){for(w(N,$+=4),$+=8;$<N.length;){var sA=u(N,$),oA=w(N,$+=4);$+=4;var tA=oA+(1&oA);switch(sA){case"VP8 ":case"VP8L":E.frames[S]===void 0&&(E.frames[S]={}),(pA=E.frames[S]).src_off=R?aA:$-8,pA.src_size=G+oA+8,S++,R&&(R=!1,G=0,aA=0);break;case"VP8X":(pA=E.header={}).feature_flags=N[$];var lA=$+4;pA.canvas_width=1+B(N,lA),lA+=3,pA.canvas_height=1+B(N,lA),lA+=3;break;case"ALPH":R=!0,G=tA+8,aA=$-8;break;case"ANIM":(pA=E.header).bgcolor=w(N,$),lA=$+4,pA.loop_count=c(N,lA),lA+=2;break;case"ANMF":var FA,pA;(pA=E.frames[S]={}).offset_x=2*B(N,$),$+=3,pA.offset_y=2*B(N,$),$+=3,pA.width=1+B(N,$),$+=3,pA.height=1+B(N,$),$+=3,pA.duration=B(N,$),$+=3,FA=N[$++],pA.dispose=1&FA,pA.blend=FA>>1&1}sA!="ANMF"&&($+=tA)}return E}})(F,0);k.response=F,k.rgbaoutput=!0,k.dataurl=!1;var K=k.header?k.header:null,P=k.frames?k.frames:null;if(K){K.loop_counter=K.loop_count,g=[K.canvas_height],C=[K.canvas_width];for(var z=0;z<P.length&&P[z].blend!=0;z++);}var Z=P[0],iA=x.WebPDecodeRGBA(F,Z.src_off,Z.src_size,C,g);Z.rgba=iA,Z.imgwidth=C[0],Z.imgheight=g[0];for(var V=0;V<C[0]*g[0]*4;V++)Q[V]=iA[V];return this.width=C,this.height=g,this.data=Q,this}/** ====================================================================
|
|
109
|
+
* @license
|
|
110
|
+
* jsPDF XMP metadata plugin
|
|
111
|
+
* Copyright (c) 2016 Jussi Utunen, u-jussi@suomi24.fi
|
|
112
|
+
*
|
|
113
|
+
* Permission is hereby granted, free of charge, to any person obtaining
|
|
114
|
+
* a copy of this software and associated documentation files (the
|
|
115
|
+
* "Software"), to deal in the Software without restriction, including
|
|
116
|
+
* without limitation the rights to use, copy, modify, merge, publish,
|
|
117
|
+
* distribute, sublicense, and/or sell copies of the Software, and to
|
|
118
|
+
* permit persons to whom the Software is furnished to do so, subject to
|
|
119
|
+
* the following conditions:
|
|
120
|
+
*
|
|
121
|
+
* The above copyright notice and this permission notice shall be
|
|
122
|
+
* included in all copies or substantial portions of the Software.
|
|
123
|
+
*
|
|
124
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
125
|
+
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
126
|
+
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
127
|
+
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
128
|
+
* LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
129
|
+
* OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
130
|
+
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
131
|
+
* ====================================================================
|
|
132
|
+
*/function X2(){var t,A=this.internal.__metadata__.metadata,e=unescape(encodeURIComponent(A));t=this.internal.__metadata__.rawXml?e:'<x:xmpmeta xmlns:x="adobe:ns:meta/"><rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><rdf:Description rdf:about="" xmlns:jspdf="'+this.internal.__metadata__.namespaceUri+'"><jspdf:metadata>'+e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")+"</jspdf:metadata></rdf:Description></rdf:RDF></x:xmpmeta>",this.internal.__metadata__.metadataObjectNumber=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+t.length+" >>"),this.internal.write("stream"),this.internal.write(t),this.internal.write("endstream"),this.internal.write("endobj")}function J2(){this.internal.__metadata__.metadataObjectNumber&&this.internal.write("/Metadata "+this.internal.__metadata__.metadataObjectNumber+" 0 R")}(function(t){var A,e,r,n,i,s,a,l,u,c=function(b){return b=b||{},this.isStrokeTransparent=b.isStrokeTransparent||!1,this.strokeOpacity=b.strokeOpacity||1,this.strokeStyle=b.strokeStyle||"#000000",this.fillStyle=b.fillStyle||"#000000",this.isFillTransparent=b.isFillTransparent||!1,this.fillOpacity=b.fillOpacity||1,this.font=b.font||"10px sans-serif",this.textBaseline=b.textBaseline||"alphabetic",this.textAlign=b.textAlign||"left",this.lineWidth=b.lineWidth||1,this.lineJoin=b.lineJoin||"miter",this.lineCap=b.lineCap||"butt",this.path=b.path||[],this.transform=b.transform!==void 0?b.transform.clone():new l,this.globalCompositeOperation=b.globalCompositeOperation||"normal",this.globalAlpha=b.globalAlpha||1,this.clip_path=b.clip_path||[],this.currentPoint=b.currentPoint||new s,this.miterLimit=b.miterLimit||10,this.lastPoint=b.lastPoint||new s,this.lineDashOffset=b.lineDashOffset||0,this.lineDash=b.lineDash||[],this.margin=b.margin||[0,0,0,0],this.prevPageLastElemOffset=b.prevPageLastElemOffset||0,this.ignoreClearRect=typeof b.ignoreClearRect!="boolean"||b.ignoreClearRect,this};t.events.push(["initialized",function(){this.context2d=new B(this),A=this.internal.f2,e=this.internal.getCoordinateString,r=this.internal.getVerticalCoordinateString,n=this.internal.getHorizontalCoordinate,i=this.internal.getVerticalCoordinate,s=this.internal.Point,a=this.internal.Rectangle,l=this.internal.Matrix,u=new c}]);var B=function(b){Object.defineProperty(this,"canvas",{get:function(){return{parentNode:!1,style:!1}}});var O=b;Object.defineProperty(this,"pdf",{get:function(){return O}});var M=!1;Object.defineProperty(this,"pageWrapXEnabled",{get:function(){return M},set:function(H){M=!!H}});var q=!1;Object.defineProperty(this,"pageWrapYEnabled",{get:function(){return q},set:function(H){q=!!H}});var X=0;Object.defineProperty(this,"posX",{get:function(){return X},set:function(H){isNaN(H)||(X=H)}});var eA=0;Object.defineProperty(this,"posY",{get:function(){return eA},set:function(H){isNaN(H)||(eA=H)}}),Object.defineProperty(this,"margin",{get:function(){return u.margin},set:function(H){var bA;typeof H=="number"?bA=[H,H,H,H]:((bA=new Array(4))[0]=H[0],bA[1]=H.length>=2?H[1]:bA[0],bA[2]=H.length>=3?H[2]:bA[0],bA[3]=H.length>=4?H[3]:bA[1]),u.margin=bA}});var uA=!1;Object.defineProperty(this,"autoPaging",{get:function(){return uA},set:function(H){uA=H}});var fA=0;Object.defineProperty(this,"lastBreak",{get:function(){return fA},set:function(H){fA=H}});var BA=[];Object.defineProperty(this,"pageBreaks",{get:function(){return BA},set:function(H){BA=H}}),Object.defineProperty(this,"ctx",{get:function(){return u},set:function(H){H instanceof c&&(u=H)}}),Object.defineProperty(this,"path",{get:function(){return u.path},set:function(H){u.path=H}});var yA=[];Object.defineProperty(this,"ctxStack",{get:function(){return yA},set:function(H){yA=H}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(H){var bA;bA=w(H),this.ctx.fillStyle=bA.style,this.ctx.isFillTransparent=bA.a===0,this.ctx.fillOpacity=bA.a,this.pdf.setFillColor(bA.r,bA.g,bA.b,{a:bA.a}),this.pdf.setTextColor(bA.r,bA.g,bA.b,{a:bA.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(H){var bA=w(H);this.ctx.strokeStyle=bA.style,this.ctx.isStrokeTransparent=bA.a===0,this.ctx.strokeOpacity=bA.a,bA.a===0?this.pdf.setDrawColor(255,255,255):(bA.a,this.pdf.setDrawColor(bA.r,bA.g,bA.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(H){["butt","round","square"].indexOf(H)!==-1&&(this.ctx.lineCap=H,this.pdf.setLineCap(H))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(H){isNaN(H)||(this.ctx.lineWidth=H,this.pdf.setLineWidth(H))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(H){["bevel","round","miter"].indexOf(H)!==-1&&(this.ctx.lineJoin=H,this.pdf.setLineJoin(H))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(H){isNaN(H)||(this.ctx.miterLimit=H,this.pdf.setMiterLimit(H))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(H){this.ctx.textBaseline=H}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(H){["right","end","center","left","start"].indexOf(H)!==-1&&(this.ctx.textAlign=H)}});var LA=null,UA=null,RA=null;Object.defineProperty(this,"fontFaces",{get:function(){return RA},set:function(H){LA=null,UA=null,RA=H}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(H){var bA;if(this.ctx.font=H,(bA=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z0-9]+?)\s*$/i.exec(H))!==null){var se=bA[1];bA[2];var VA=bA[3],mA=bA[4];bA[5];var qA=bA[6],SA=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(mA)[2];mA=Math.floor(SA==="px"?parseFloat(mA)*this.pdf.internal.scaleFactor:SA==="em"?parseFloat(mA)*this.pdf.getFontSize():parseFloat(mA)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(mA);var jA=(function(OA){var Je,we,oe=[],le=OA.trim();if(le==="")return au;if(le in lh)return[lh[le]];for(;le!=="";){switch(we=null,Je=(le=fh(le)).charAt(0)){case'"':case"'":we=K2(le.substring(1),Je);break;default:we=G2(le)}if(we===null||(oe.push(we[0]),(le=fh(we[1]))!==""&&le.charAt(0)!==","))return au;le=le.replace(/^,/,"")}return oe})(qA);if(this.fontFaces){var KA=(function(OA,Je){var we=OA.getFontList(),oe=JSON.stringify(we);if(LA===null||UA!==oe){var le=(function(Oe){var GA=[];return Object.keys(Oe).forEach(function(Se){Oe[Se].forEach(function(JA){var ee=null;switch(JA){case"bold":ee={family:Se,weight:"bold"};break;case"italic":ee={family:Se,style:"italic"};break;case"bolditalic":ee={family:Se,weight:"bold",style:"italic"};break;case"":case"normal":ee={family:Se}}ee!==null&&(ee.ref={name:Se,style:JA},GA.push(ee))})}),GA})(we);LA=(function(Oe){for(var GA={},Se=0;Se<Oe.length;++Se){var JA=iu(Oe[Se]),ee=JA.family,Me=JA.stretch,ue=JA.style,WA=JA.weight;GA[ee]=GA[ee]||{},GA[ee][Me]=GA[ee][Me]||{},GA[ee][Me][ue]=GA[ee][Me][ue]||{},GA[ee][Me][ue][WA]=JA}return GA})(le.concat(Je)),UA=oe}return LA})(this.pdf,this.fontFaces),me=jA.map(function(OA){return{family:OA,stretch:"normal",weight:VA,style:se}}),fe=(function(OA,Je,we){for(var oe=(we=we||{}).defaultFontFamily||"times",le=Object.assign({},R2,we.genericFontFamilies||{}),Oe=null,GA=null,Se=0;Se<Je.length;++Se)if(le[(Oe=iu(Je[Se])).family]&&(Oe.family=le[Oe.family]),OA.hasOwnProperty(Oe.family)){GA=OA[Oe.family];break}if(!(GA=GA||OA[oe]))throw new Error("Could not find a font-family for the rule '"+uh(Oe)+"' and default family '"+oe+"'.");if(GA=(function(JA,ee){if(ee[JA])return ee[JA];var Me=ju[JA],ue=Me<=ju.normal?-1:1,WA=oh(ee,Bg,Me,ue);if(!WA)throw new Error("Could not find a matching font-stretch value for "+JA);return WA})(Oe.stretch,GA),GA=(function(JA,ee){if(ee[JA])return ee[JA];for(var Me=dg[JA],ue=0;ue<Me.length;++ue)if(ee[Me[ue]])return ee[Me[ue]];throw new Error("Could not find a matching font-style for "+JA)})(Oe.style,GA),!(GA=(function(JA,ee){if(ee[JA])return ee[JA];if(JA===400&&ee[500])return ee[500];if(JA===500&&ee[400])return ee[400];var Me=M2[JA],ue=oh(ee,pg,Me,JA<400?-1:1);if(!ue)throw new Error("Could not find a matching font-weight for value "+JA);return ue})(Oe.weight,GA)))throw new Error("Failed to resolve a font for the rule '"+uh(Oe)+"'.");return GA})(KA,me);this.pdf.setFont(fe.ref.name,fe.ref.style)}else{var Ae="";(VA==="bold"||parseInt(VA,10)>=700||se==="bold")&&(Ae="bold"),se==="italic"&&(Ae+="italic"),Ae.length===0&&(Ae="normal");for(var ge="",ce={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},kA=0;kA<jA.length;kA++){if(this.pdf.internal.getFont(jA[kA],Ae,{noFallback:!0,disableWarning:!0})!==void 0){ge=jA[kA];break}if(Ae==="bolditalic"&&this.pdf.internal.getFont(jA[kA],"bold",{noFallback:!0,disableWarning:!0})!==void 0)ge=jA[kA],Ae="bold";else if(this.pdf.internal.getFont(jA[kA],"normal",{noFallback:!0,disableWarning:!0})!==void 0){ge=jA[kA],Ae="normal";break}}if(ge===""){for(var ne=0;ne<jA.length;ne++)if(ce[jA[ne]]){ge=ce[jA[ne]];break}}ge=ge===""?"Times":ge,this.pdf.setFont(ge,Ae)}}}}),Object.defineProperty(this,"globalCompositeOperation",{get:function(){return this.ctx.globalCompositeOperation},set:function(H){this.ctx.globalCompositeOperation=H}}),Object.defineProperty(this,"globalAlpha",{get:function(){return this.ctx.globalAlpha},set:function(H){this.ctx.globalAlpha=H}}),Object.defineProperty(this,"lineDashOffset",{get:function(){return this.ctx.lineDashOffset},set:function(H){this.ctx.lineDashOffset=H,pA.call(this)}}),Object.defineProperty(this,"lineDash",{get:function(){return this.ctx.lineDash},set:function(H){this.ctx.lineDash=H,pA.call(this)}}),Object.defineProperty(this,"ignoreClearRect",{get:function(){return this.ctx.ignoreClearRect},set:function(H){this.ctx.ignoreClearRect=!!H}})};B.prototype.setLineDash=function(b){this.lineDash=b},B.prototype.getLineDash=function(){return this.lineDash.length%2?this.lineDash.concat(this.lineDash):this.lineDash.slice()},B.prototype.fill=function(){P.call(this,"fill",!1)},B.prototype.stroke=function(){P.call(this,"stroke",!1)},B.prototype.beginPath=function(){this.path=[{type:"begin"}]},B.prototype.moveTo=function(b,O){if(isNaN(b)||isNaN(O))throw Ie.error("jsPDF.context2d.moveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.moveTo");var M=this.ctx.transform.applyToPoint(new s(b,O));this.path.push({type:"mt",x:M.x,y:M.y}),this.ctx.lastPoint=new s(b,O)},B.prototype.closePath=function(){var b=new s(0,0),O=0;for(O=this.path.length-1;O!==-1;O--)if(this.path[O].type==="begin"&&be(this.path[O+1])==="object"&&typeof this.path[O+1].x=="number"){b=new s(this.path[O+1].x,this.path[O+1].y);break}this.path.push({type:"close"}),this.ctx.lastPoint=new s(b.x,b.y)},B.prototype.lineTo=function(b,O){if(isNaN(b)||isNaN(O))throw Ie.error("jsPDF.context2d.lineTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.lineTo");var M=this.ctx.transform.applyToPoint(new s(b,O));this.path.push({type:"lt",x:M.x,y:M.y}),this.ctx.lastPoint=new s(M.x,M.y)},B.prototype.clip=function(){this.ctx.clip_path=JSON.parse(JSON.stringify(this.path)),P.call(this,null,!0)},B.prototype.quadraticCurveTo=function(b,O,M,q){if(isNaN(M)||isNaN(q)||isNaN(b)||isNaN(O))throw Ie.error("jsPDF.context2d.quadraticCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.quadraticCurveTo");var X=this.ctx.transform.applyToPoint(new s(M,q)),eA=this.ctx.transform.applyToPoint(new s(b,O));this.path.push({type:"qct",x1:eA.x,y1:eA.y,x:X.x,y:X.y}),this.ctx.lastPoint=new s(X.x,X.y)},B.prototype.bezierCurveTo=function(b,O,M,q,X,eA){if(isNaN(X)||isNaN(eA)||isNaN(b)||isNaN(O)||isNaN(M)||isNaN(q))throw Ie.error("jsPDF.context2d.bezierCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.bezierCurveTo");var uA=this.ctx.transform.applyToPoint(new s(X,eA)),fA=this.ctx.transform.applyToPoint(new s(b,O)),BA=this.ctx.transform.applyToPoint(new s(M,q));this.path.push({type:"bct",x1:fA.x,y1:fA.y,x2:BA.x,y2:BA.y,x:uA.x,y:uA.y}),this.ctx.lastPoint=new s(uA.x,uA.y)},B.prototype.arc=function(b,O,M,q,X,eA){if(isNaN(b)||isNaN(O)||isNaN(M)||isNaN(q)||isNaN(X))throw Ie.error("jsPDF.context2d.arc: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.arc");if(eA=!!eA,!this.ctx.transform.isIdentity){var uA=this.ctx.transform.applyToPoint(new s(b,O));b=uA.x,O=uA.y;var fA=this.ctx.transform.applyToPoint(new s(0,M)),BA=this.ctx.transform.applyToPoint(new s(0,0));M=Math.sqrt(Math.pow(fA.x-BA.x,2)+Math.pow(fA.y-BA.y,2))}Math.abs(X-q)>=2*Math.PI&&(q=0,X=2*Math.PI),this.path.push({type:"arc",x:b,y:O,radius:M,startAngle:q,endAngle:X,counterclockwise:eA})},B.prototype.arcTo=function(b,O,M,q,X){throw new Error("arcTo not implemented.")},B.prototype.rect=function(b,O,M,q){if(isNaN(b)||isNaN(O)||isNaN(M)||isNaN(q))throw Ie.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(b,O),this.lineTo(b+M,O),this.lineTo(b+M,O+q),this.lineTo(b,O+q),this.lineTo(b,O),this.lineTo(b+M,O),this.lineTo(b,O)},B.prototype.fillRect=function(b,O,M,q){if(isNaN(b)||isNaN(O)||isNaN(M)||isNaN(q))throw Ie.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!g.call(this)){var X={};this.lineCap!=="butt"&&(X.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(X.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(b,O,M,q),this.fill(),X.hasOwnProperty("lineCap")&&(this.lineCap=X.lineCap),X.hasOwnProperty("lineJoin")&&(this.lineJoin=X.lineJoin)}},B.prototype.strokeRect=function(b,O,M,q){if(isNaN(b)||isNaN(O)||isNaN(M)||isNaN(q))throw Ie.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");C.call(this)||(this.beginPath(),this.rect(b,O,M,q),this.stroke())},B.prototype.clearRect=function(b,O,M,q){if(isNaN(b)||isNaN(O)||isNaN(M)||isNaN(q))throw Ie.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(b,O,M,q))},B.prototype.save=function(b){b=typeof b!="boolean"||b;for(var O=this.pdf.internal.getCurrentPageInfo().pageNumber,M=0;M<this.pdf.internal.getNumberOfPages();M++)this.pdf.setPage(M+1),this.pdf.internal.out("q");if(this.pdf.setPage(O),b){this.ctx.fontSize=this.pdf.internal.getFontSize();var q=new c(this.ctx);this.ctxStack.push(this.ctx),this.ctx=q}},B.prototype.restore=function(b){b=typeof b!="boolean"||b;for(var O=this.pdf.internal.getCurrentPageInfo().pageNumber,M=0;M<this.pdf.internal.getNumberOfPages();M++)this.pdf.setPage(M+1),this.pdf.internal.out("Q");this.pdf.setPage(O),b&&this.ctxStack.length!==0&&(this.ctx=this.ctxStack.pop(),this.fillStyle=this.ctx.fillStyle,this.strokeStyle=this.ctx.strokeStyle,this.font=this.ctx.font,this.lineCap=this.ctx.lineCap,this.lineWidth=this.ctx.lineWidth,this.lineJoin=this.ctx.lineJoin,this.lineDash=this.ctx.lineDash,this.lineDashOffset=this.ctx.lineDashOffset)},B.prototype.toDataURL=function(){throw new Error("toDataUrl not implemented.")};var w=function(b){var O,M,q,X;if(b.isCanvasGradient===!0&&(b=b.getColor()),!b)return{r:0,g:0,b:0,a:0,style:b};if(/transparent|rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*0+\s*\)/.test(b))O=0,M=0,q=0,X=0;else{var eA=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/.exec(b);if(eA!==null)O=parseInt(eA[1]),M=parseInt(eA[2]),q=parseInt(eA[3]),X=1;else if((eA=/rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d.]+)\s*\)/.exec(b))!==null)O=parseInt(eA[1]),M=parseInt(eA[2]),q=parseInt(eA[3]),X=parseFloat(eA[4]);else{if(X=1,typeof b=="string"&&b.charAt(0)!=="#"){var uA=new og(b);b=uA.ok?uA.toHex():"#000000"}b.length===4?(O=b.substring(1,2),O+=O,M=b.substring(2,3),M+=M,q=b.substring(3,4),q+=q):(O=b.substring(1,3),M=b.substring(3,5),q=b.substring(5,7)),O=parseInt(O,16),M=parseInt(M,16),q=parseInt(q,16)}}return{r:O,g:M,b:q,a:X,style:b}},g=function(){return this.ctx.isFillTransparent||this.globalAlpha==0},C=function(){return!!(this.ctx.isStrokeTransparent||this.globalAlpha==0)};B.prototype.fillText=function(b,O,M,q){if(isNaN(O)||isNaN(M)||typeof b!="string")throw Ie.error("jsPDF.context2d.fillText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillText");if(q=isNaN(q)?void 0:q,!g.call(this)){var X=tA(this.ctx.transform.rotation),eA=this.ctx.transform.scaleX;S.call(this,{text:b,x:O,y:M,scale:eA,angle:X,align:this.textAlign,maxWidth:q})}},B.prototype.strokeText=function(b,O,M,q){if(isNaN(O)||isNaN(M)||typeof b!="string")throw Ie.error("jsPDF.context2d.strokeText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeText");if(!C.call(this)){q=isNaN(q)?void 0:q;var X=tA(this.ctx.transform.rotation),eA=this.ctx.transform.scaleX;S.call(this,{text:b,x:O,y:M,scale:eA,renderingMode:"stroke",angle:X,align:this.textAlign,maxWidth:q})}},B.prototype.measureText=function(b){if(typeof b!="string")throw Ie.error("jsPDF.context2d.measureText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.measureText");var O=this.pdf,M=this.pdf.internal.scaleFactor,q=O.internal.getFontSize(),X=O.getStringUnitWidth(b)*q/O.internal.scaleFactor;return new function(eA){var uA=(eA=eA||{}).width||0;return Object.defineProperty(this,"width",{get:function(){return uA}}),this}({width:X*=Math.round(96*M/72*1e4)/1e4})},B.prototype.scale=function(b,O){if(isNaN(b)||isNaN(O))throw Ie.error("jsPDF.context2d.scale: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.scale");var M=new l(b,0,0,O,0,0);this.ctx.transform=this.ctx.transform.multiply(M)},B.prototype.rotate=function(b){if(isNaN(b))throw Ie.error("jsPDF.context2d.rotate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rotate");var O=new l(Math.cos(b),Math.sin(b),-Math.sin(b),Math.cos(b),0,0);this.ctx.transform=this.ctx.transform.multiply(O)},B.prototype.translate=function(b,O){if(isNaN(b)||isNaN(O))throw Ie.error("jsPDF.context2d.translate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.translate");var M=new l(1,0,0,1,b,O);this.ctx.transform=this.ctx.transform.multiply(M)},B.prototype.transform=function(b,O,M,q,X,eA){if(isNaN(b)||isNaN(O)||isNaN(M)||isNaN(q)||isNaN(X)||isNaN(eA))throw Ie.error("jsPDF.context2d.transform: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.transform");var uA=new l(b,O,M,q,X,eA);this.ctx.transform=this.ctx.transform.multiply(uA)},B.prototype.setTransform=function(b,O,M,q,X,eA){b=isNaN(b)?1:b,O=isNaN(O)?0:O,M=isNaN(M)?0:M,q=isNaN(q)?1:q,X=isNaN(X)?0:X,eA=isNaN(eA)?0:eA,this.ctx.transform=new l(b,O,M,q,X,eA)};var Q=function(){return this.margin[0]>0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};B.prototype.drawImage=function(b,O,M,q,X,eA,uA,fA,BA){var yA=this.pdf.getImageProperties(b),LA=1,UA=1,RA=1,H=1;q!==void 0&&fA!==void 0&&(RA=fA/q,H=BA/X,LA=yA.width/q*fA/q,UA=yA.height/X*BA/X),eA===void 0&&(eA=O,uA=M,O=0,M=0),q!==void 0&&fA===void 0&&(fA=q,BA=X),q===void 0&&fA===void 0&&(fA=yA.width,BA=yA.height);var bA=this.ctx.transform.decompose(),se=tA(bA.rotate.shx),VA=new l,mA=(VA=(VA=(VA=VA.multiply(bA.translate)).multiply(bA.skew)).multiply(bA.scale)).applyToRectangle(new a(eA-O*RA,uA-M*H,q*LA,X*UA));if(this.autoPaging){for(var qA,SA=x.call(this,mA),jA=[],KA=0;KA<SA.length;KA+=1)jA.indexOf(SA[KA])===-1&&jA.push(SA[KA]);K(jA);for(var me=jA[0],fe=jA[jA.length-1],Ae=me;Ae<fe+1;Ae++){this.pdf.setPage(Ae);var ge=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],ce=Ae===1?this.posY+this.margin[0]:this.margin[0],kA=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],ne=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],OA=Ae===1?0:kA+(Ae-2)*ne;if(this.ctx.clip_path.length!==0){var Je=this.path;qA=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=k(qA,this.posX+this.margin[3],-OA+ce+this.ctx.prevPageLastElemOffset),z.call(this,"fill",!0),this.path=Je}var we=JSON.parse(JSON.stringify(mA));we=k([we],this.posX+this.margin[3],-OA+ce+this.ctx.prevPageLastElemOffset)[0];var oe=(Ae>me||Ae<fe)&&Q.call(this);oe&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],ge,ne,null).clip().discardPath()),this.pdf.addImage(b,"JPEG",we.x,we.y,we.w,we.h,null,null,se),oe&&this.pdf.restoreGraphicsState()}}else this.pdf.addImage(b,"JPEG",mA.x,mA.y,mA.w,mA.h,null,null,se)};var x=function(b,O,M){var q=[];O=O||this.pdf.internal.pageSize.width,M=M||this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2];var X=this.posY+this.ctx.prevPageLastElemOffset;switch(b.type){default:case"mt":case"lt":q.push(Math.floor((b.y+X)/M)+1);break;case"arc":q.push(Math.floor((b.y+X-b.radius)/M)+1),q.push(Math.floor((b.y+X+b.radius)/M)+1);break;case"qct":var eA=lA(this.ctx.lastPoint.x,this.ctx.lastPoint.y,b.x1,b.y1,b.x,b.y);q.push(Math.floor((eA.y+X)/M)+1),q.push(Math.floor((eA.y+eA.h+X)/M)+1);break;case"bct":var uA=FA(this.ctx.lastPoint.x,this.ctx.lastPoint.y,b.x1,b.y1,b.x2,b.y2,b.x,b.y);q.push(Math.floor((uA.y+X)/M)+1),q.push(Math.floor((uA.y+uA.h+X)/M)+1);break;case"rect":q.push(Math.floor((b.y+X)/M)+1),q.push(Math.floor((b.y+b.h+X)/M)+1)}for(var fA=0;fA<q.length;fA+=1)for(;this.pdf.internal.getNumberOfPages()<q[fA];)F.call(this);return q},F=function(){var b=this.fillStyle,O=this.strokeStyle,M=this.font,q=this.lineCap,X=this.lineWidth,eA=this.lineJoin;this.pdf.addPage(),this.fillStyle=b,this.strokeStyle=O,this.font=M,this.lineCap=q,this.lineWidth=X,this.lineJoin=eA},k=function(b,O,M){for(var q=0;q<b.length;q++)switch(b[q].type){case"bct":b[q].x2+=O,b[q].y2+=M;case"qct":b[q].x1+=O,b[q].y1+=M;default:b[q].x+=O,b[q].y+=M}return b},K=function(b){return b.sort(function(O,M){return O-M})},P=function(b,O){var M=this.fillStyle,q=this.strokeStyle,X=this.lineCap,eA=this.lineWidth,uA=Math.abs(eA*this.ctx.transform.scaleX),fA=this.lineJoin;if(this.autoPaging){for(var BA,yA,LA=JSON.parse(JSON.stringify(this.path)),UA=JSON.parse(JSON.stringify(this.path)),RA=[],H=0;H<UA.length;H++)if(UA[H].x!==void 0)for(var bA=x.call(this,UA[H]),se=0;se<bA.length;se+=1)RA.indexOf(bA[se])===-1&&RA.push(bA[se]);for(var VA=0;VA<RA.length;VA++)for(;this.pdf.internal.getNumberOfPages()<RA[VA];)F.call(this);K(RA);for(var mA=RA[0],qA=RA[RA.length-1],SA=mA;SA<qA+1;SA++){this.pdf.setPage(SA),this.fillStyle=M,this.strokeStyle=q,this.lineCap=X,this.lineWidth=uA,this.lineJoin=fA;var jA=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],KA=SA===1?this.posY+this.margin[0]:this.margin[0],me=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],fe=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],Ae=SA===1?0:me+(SA-2)*fe;if(this.ctx.clip_path.length!==0){var ge=this.path;BA=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=k(BA,this.posX+this.margin[3],-Ae+KA+this.ctx.prevPageLastElemOffset),z.call(this,b,!0),this.path=ge}if(yA=JSON.parse(JSON.stringify(LA)),this.path=k(yA,this.posX+this.margin[3],-Ae+KA+this.ctx.prevPageLastElemOffset),O===!1||SA===0){var ce=(SA>mA||SA<qA)&&Q.call(this);ce&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],jA,fe,null).clip().discardPath()),z.call(this,b,O),ce&&this.pdf.restoreGraphicsState()}this.lineWidth=eA}this.path=LA}else this.lineWidth=uA,z.call(this,b,O),this.lineWidth=eA},z=function(b,O){if((b!=="stroke"||O||!C.call(this))&&(b==="stroke"||O||!g.call(this))){for(var M,q,X=[],eA=this.path,uA=0;uA<eA.length;uA++){var fA=eA[uA];switch(fA.type){case"begin":X.push({begin:!0});break;case"close":X.push({close:!0});break;case"mt":X.push({start:fA,deltas:[],abs:[]});break;case"lt":var BA=X.length;if(eA[uA-1]&&!isNaN(eA[uA-1].x)&&(M=[fA.x-eA[uA-1].x,fA.y-eA[uA-1].y],BA>0)){for(;BA>=0;BA--)if(X[BA-1].close!==!0&&X[BA-1].begin!==!0){X[BA-1].deltas.push(M),X[BA-1].abs.push(fA);break}}break;case"bct":M=[fA.x1-eA[uA-1].x,fA.y1-eA[uA-1].y,fA.x2-eA[uA-1].x,fA.y2-eA[uA-1].y,fA.x-eA[uA-1].x,fA.y-eA[uA-1].y],X[X.length-1].deltas.push(M);break;case"qct":var yA=eA[uA-1].x+2/3*(fA.x1-eA[uA-1].x),LA=eA[uA-1].y+2/3*(fA.y1-eA[uA-1].y),UA=fA.x+2/3*(fA.x1-fA.x),RA=fA.y+2/3*(fA.y1-fA.y),H=fA.x,bA=fA.y;M=[yA-eA[uA-1].x,LA-eA[uA-1].y,UA-eA[uA-1].x,RA-eA[uA-1].y,H-eA[uA-1].x,bA-eA[uA-1].y],X[X.length-1].deltas.push(M);break;case"arc":X.push({deltas:[],abs:[],arc:!0}),Array.isArray(X[X.length-1].abs)&&X[X.length-1].abs.push(fA)}}q=O?null:b==="stroke"?"stroke":"fill";for(var se=!1,VA=0;VA<X.length;VA++)if(X[VA].arc)for(var mA=X[VA].abs,qA=0;qA<mA.length;qA++){var SA=mA[qA];SA.type==="arc"?V.call(this,SA.x,SA.y,SA.radius,SA.startAngle,SA.endAngle,SA.counterclockwise,void 0,O,!se):R.call(this,SA.x,SA.y),se=!0}else if(X[VA].close===!0)this.pdf.internal.out("h"),se=!1;else if(X[VA].begin!==!0){var jA=X[VA].start.x,KA=X[VA].start.y;G.call(this,X[VA].deltas,jA,KA),se=!0}q&&N.call(this,q),O&&$.call(this)}},Z=function(b){var O=this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor,M=O*(this.pdf.internal.getLineHeightFactor()-1);switch(this.ctx.textBaseline){case"bottom":return b-M;case"top":return b+O-M;case"hanging":return b+O-2*M;case"middle":return b+O/2-M;default:return b}},iA=function(b){return b+this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor*(this.pdf.internal.getLineHeightFactor()-1)};B.prototype.createLinearGradient=function(){var b=function(){};return b.colorStops=[],b.addColorStop=function(O,M){this.colorStops.push([O,M])},b.getColor=function(){return this.colorStops.length===0?"#000000":this.colorStops[0][1]},b.isCanvasGradient=!0,b},B.prototype.createPattern=function(){return this.createLinearGradient()},B.prototype.createRadialGradient=function(){return this.createLinearGradient()};var V=function(b,O,M,q,X,eA,uA,fA,BA){for(var yA=sA.call(this,M,q,X,eA),LA=0;LA<yA.length;LA++){var UA=yA[LA];LA===0&&(BA?E.call(this,UA.x1+b,UA.y1+O):R.call(this,UA.x1+b,UA.y1+O)),aA.call(this,b,O,UA.x2,UA.y2,UA.x3,UA.y3,UA.x4,UA.y4)}fA?$.call(this):N.call(this,uA)},N=function(b){switch(b){case"stroke":this.pdf.internal.out("S");break;case"fill":this.pdf.internal.out("f")}},$=function(){this.pdf.clip(),this.pdf.discardPath()},E=function(b,O){this.pdf.internal.out(e(b)+" "+r(O)+" m")},S=function(b){var O;switch(b.align){case"right":case"end":O="right";break;case"center":O="center";break;default:O="left"}var M,q,X,eA=this.pdf.getTextDimensions(b.text),uA=Z.call(this,b.y),fA=iA.call(this,uA)-eA.h,BA=this.ctx.transform.applyToPoint(new s(b.x,uA));if(this.autoPaging){var yA=this.ctx.transform.decompose(),LA=new l;LA=(LA=(LA=LA.multiply(yA.translate)).multiply(yA.skew)).multiply(yA.scale);for(var UA=this.ctx.transform.applyToRectangle(new a(b.x,uA,eA.w,eA.h)),RA=LA.applyToRectangle(new a(b.x,fA,eA.w,eA.h)),H=x.call(this,RA),bA=[],se=0;se<H.length;se+=1)bA.indexOf(H[se])===-1&&bA.push(H[se]);K(bA);for(var VA=bA[0],mA=bA[bA.length-1],qA=VA;qA<mA+1;qA++){this.pdf.setPage(qA);var SA=qA===1?this.posY+this.margin[0]:this.margin[0],jA=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],KA=this.pdf.internal.pageSize.height-this.margin[2],me=KA-this.margin[0],fe=this.pdf.internal.pageSize.width-this.margin[1],Ae=fe-this.margin[3],ge=qA===1?0:jA+(qA-2)*me;if(this.ctx.clip_path.length!==0){var ce=this.path;M=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=k(M,this.posX+this.margin[3],-1*ge+SA),z.call(this,"fill",!0),this.path=ce}var kA=k([JSON.parse(JSON.stringify(RA))],this.posX+this.margin[3],-ge+SA+this.ctx.prevPageLastElemOffset)[0];b.scale>=.01&&(q=this.pdf.internal.getFontSize(),this.pdf.setFontSize(q*b.scale),X=this.lineWidth,this.lineWidth=X*b.scale);var ne=this.autoPaging!=="text";if(ne||kA.y+kA.h<=KA){if(ne||kA.y>=SA&&kA.x<=fe){var OA=ne?b.text:this.pdf.splitTextToSize(b.text,b.maxWidth||fe-kA.x)[0],Je=k([JSON.parse(JSON.stringify(UA))],this.posX+this.margin[3],-ge+SA+this.ctx.prevPageLastElemOffset)[0],we=ne&&(qA>VA||qA<mA)&&Q.call(this);we&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],Ae,me,null).clip().discardPath()),this.pdf.text(OA,Je.x,Je.y,{angle:b.angle,align:O,renderingMode:b.renderingMode}),we&&this.pdf.restoreGraphicsState()}}else kA.y<KA&&(this.ctx.prevPageLastElemOffset+=KA-kA.y);b.scale>=.01&&(this.pdf.setFontSize(q),this.lineWidth=X)}}else b.scale>=.01&&(q=this.pdf.internal.getFontSize(),this.pdf.setFontSize(q*b.scale),X=this.lineWidth,this.lineWidth=X*b.scale),this.pdf.text(b.text,BA.x+this.posX,BA.y+this.posY,{angle:b.angle,align:O,renderingMode:b.renderingMode,maxWidth:b.maxWidth}),b.scale>=.01&&(this.pdf.setFontSize(q),this.lineWidth=X)},R=function(b,O,M,q){M=M||0,q=q||0,this.pdf.internal.out(e(b+M)+" "+r(O+q)+" l")},G=function(b,O,M){return this.pdf.lines(b,O,M,null,null)},aA=function(b,O,M,q,X,eA,uA,fA){this.pdf.internal.out([A(n(M+b)),A(i(q+O)),A(n(X+b)),A(i(eA+O)),A(n(uA+b)),A(i(fA+O)),"c"].join(" "))},sA=function(b,O,M,q){for(var X=2*Math.PI,eA=Math.PI/2;O>M;)O-=X;var uA=Math.abs(M-O);uA<X&&q&&(uA=X-uA);for(var fA=[],BA=q?-1:1,yA=O;uA>1e-5;){var LA=yA+BA*Math.min(uA,eA);fA.push(oA.call(this,b,yA,LA)),uA-=Math.abs(LA-yA),yA=LA}return fA},oA=function(b,O,M){var q=(M-O)/2,X=b*Math.cos(q),eA=b*Math.sin(q),uA=X,fA=-eA,BA=uA*uA+fA*fA,yA=BA+uA*X+fA*eA,LA=4/3*(Math.sqrt(2*BA*yA)-yA)/(uA*eA-fA*X),UA=uA-LA*fA,RA=fA+LA*uA,H=UA,bA=-RA,se=q+O,VA=Math.cos(se),mA=Math.sin(se);return{x1:b*Math.cos(O),y1:b*Math.sin(O),x2:UA*VA-RA*mA,y2:UA*mA+RA*VA,x3:H*VA-bA*mA,y3:H*mA+bA*VA,x4:b*Math.cos(M),y4:b*Math.sin(M)}},tA=function(b){return 180*b/Math.PI},lA=function(b,O,M,q,X,eA){var uA=b+.5*(M-b),fA=O+.5*(q-O),BA=X+.5*(M-X),yA=eA+.5*(q-eA),LA=Math.min(b,X,uA,BA),UA=Math.max(b,X,uA,BA),RA=Math.min(O,eA,fA,yA),H=Math.max(O,eA,fA,yA);return new a(LA,RA,UA-LA,H-RA)},FA=function(b,O,M,q,X,eA,uA,fA){var BA,yA,LA,UA,RA,H,bA,se,VA,mA,qA,SA,jA,KA,me=M-b,fe=q-O,Ae=X-M,ge=eA-q,ce=uA-X,kA=fA-eA;for(yA=0;yA<41;yA++)VA=(bA=(LA=b+(BA=yA/40)*me)+BA*((RA=M+BA*Ae)-LA))+BA*(RA+BA*(X+BA*ce-RA)-bA),mA=(se=(UA=O+BA*fe)+BA*((H=q+BA*ge)-UA))+BA*(H+BA*(eA+BA*kA-H)-se),yA==0?(qA=VA,SA=mA,jA=VA,KA=mA):(qA=Math.min(qA,VA),SA=Math.min(SA,mA),jA=Math.max(jA,VA),KA=Math.max(KA,mA));return new a(Math.round(qA),Math.round(SA),Math.round(jA-qA),Math.round(KA-SA))},pA=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var b,O,M=(b=this.ctx.lineDash,O=this.ctx.lineDashOffset,JSON.stringify({lineDash:b,lineDashOffset:O}));this.prevLineDash!==M&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=M)}}})(MA.API),(function(t){var A=function(s){var a,l,u,c,B,w,g,C,Q,x;for(l=[],u=0,c=(s+=a="\0\0\0\0".slice(s.length%4||4)).length;c>u;u+=4)(B=(s.charCodeAt(u)<<24)+(s.charCodeAt(u+1)<<16)+(s.charCodeAt(u+2)<<8)+s.charCodeAt(u+3))!==0?(w=(B=((B=((B=((B=(B-(x=B%85))/85)-(Q=B%85))/85)-(C=B%85))/85)-(g=B%85))/85)%85,l.push(w+33,g+33,C+33,Q+33,x+33)):l.push(122);return(function(F,k){for(var K=k;K>0;K--)F.pop()})(l,a.length),String.fromCharCode.apply(String,l)+"~>"},e=function(s){var a,l,u,c,B,w=String,g="length",C=255,Q="charCodeAt",x="slice",F="replace";for(s[x](-2),s=s[x](0,-2)[F](/\s/g,"")[F]("z","!!!!!"),u=[],c=0,B=(s+=a="uuuuu"[x](s[g]%5||5))[g];B>c;c+=5)l=52200625*(s[Q](c)-33)+614125*(s[Q](c+1)-33)+7225*(s[Q](c+2)-33)+85*(s[Q](c+3)-33)+(s[Q](c+4)-33),u.push(C&l>>24,C&l>>16,C&l>>8,C&l);return(function(k,K){for(var P=K;P>0;P--)k.pop()})(u,a[g]),w.fromCharCode.apply(w,u)},r=function(s){return s.split("").map(function(a){return("0"+a.charCodeAt().toString(16)).slice(-2)}).join("")+">"},n=function(s){var a=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((s=s.replace(/\s/g,"")).indexOf(">")!==-1&&(s=s.substr(0,s.indexOf(">"))),s.length%2&&(s+="0"),a.test(s)===!1)return"";for(var l="",u=0;u<s.length;u+=2)l+=String.fromCharCode("0x"+(s[u]+s[u+1]));return l},i=function(s){for(var a=new Uint8Array(s.length),l=s.length;l--;)a[l]=s.charCodeAt(l);return(a=ku(a)).reduce(function(u,c){return u+String.fromCharCode(c)},"")};t.processDataByFilters=function(s,a){var l=0,u=s||"",c=[];for(typeof(a=a||[])=="string"&&(a=[a]),l=0;l<a.length;l+=1)switch(a[l]){case"ASCII85Decode":case"/ASCII85Decode":u=e(u),c.push("/ASCII85Encode");break;case"ASCII85Encode":case"/ASCII85Encode":u=A(u),c.push("/ASCII85Decode");break;case"ASCIIHexDecode":case"/ASCIIHexDecode":u=n(u),c.push("/ASCIIHexEncode");break;case"ASCIIHexEncode":case"/ASCIIHexEncode":u=r(u),c.push("/ASCIIHexDecode");break;case"FlateEncode":case"/FlateEncode":u=i(u),c.push("/FlateDecode");break;default:throw new Error('The filter: "'+a[l]+'" is not implemented')}return{data:u,reverseChain:c.reverse().join(" ")}}})(MA.API),(function(t){t.loadFile=function(A,e,r){return(function(n,i,s){i=i!==!1,s=typeof s=="function"?s:function(){};var a=void 0;try{a=(function(l,u,c){var B=new XMLHttpRequest,w=0,g=function(C){var Q=C.length,x=[],F=String.fromCharCode;for(w=0;w<Q;w+=1)x.push(F(255&C.charCodeAt(w)));return x.join("")};if(B.open("GET",l,!u),B.overrideMimeType("text/plain; charset=x-user-defined"),u===!1&&(B.onload=function(){B.status===200?c(g(this.responseText)):c(void 0)}),B.send(null),u&&B.status===200)return g(B.responseText)})(n,i,s)}catch{}return a})(A,e,r)},t.allowFsRead=void 0,t.loadImageFile=t.loadFile})(MA.API),(function(t){function A(){return(YA.html2canvas?Promise.resolve(YA.html2canvas):Rl(()=>Promise.resolve().then(()=>F4),void 0)).catch(function(a){return Promise.reject(new Error("Could not load html2canvas: "+a))}).then(function(a){return a.default?a.default:a})}function e(){return(YA.DOMPurify?Promise.resolve(YA.DOMPurify):Rl(()=>import("./vendor-content-V6uLfjnH.js"),[])).catch(function(a){return Promise.reject(new Error("Could not load dompurify: "+a))}).then(function(a){return a.default?a.default:a})}var r=function(a){var l=be(a);return l==="undefined"?"undefined":l==="string"||a instanceof String?"string":l==="number"||a instanceof Number?"number":l==="function"||a instanceof Function?"function":a&&a.constructor===Array?"array":a&&a.nodeType===1?"element":l==="object"?"object":"unknown"},n=function(a,l){var u=document.createElement(a);for(var c in l.className&&(u.className=l.className),l.innerHTML&&l.dompurify&&(u.innerHTML=l.dompurify.sanitize(l.innerHTML)),l.style)u.style[c]=l.style[c];return u},i=function a(l,u){for(var c=l.nodeType===3?document.createTextNode(l.nodeValue):l.cloneNode(!1),B=l.firstChild;B;B=B.nextSibling)u!==!0&&B.nodeType===1&&B.nodeName==="SCRIPT"||c.appendChild(a(B,u));return l.nodeType===1&&(l.nodeName==="CANVAS"?(c.width=l.width,c.height=l.height,c.getContext("2d").drawImage(l,0,0)):l.nodeName!=="TEXTAREA"&&l.nodeName!=="SELECT"||(c.value=l.value),c.addEventListener("load",function(){c.scrollTop=l.scrollTop,c.scrollLeft=l.scrollLeft},!0)),c},s=function a(l){var u=Object.assign(a.convert(Promise.resolve()),JSON.parse(JSON.stringify(a.template))),c=a.convert(Promise.resolve(),u);return(c=c.setProgress(1,a,1,[a])).set(l)};(s.prototype=Object.create(Promise.prototype)).constructor=s,s.convert=function(a,l){return a.__proto__=l||s.prototype,a},s.template={prop:{src:null,container:null,overlay:null,canvas:null,img:null,pdf:null,pageSize:null,callback:function(){}},progress:{val:0,state:null,n:0,stack:[]},opt:{filename:"file.pdf",margin:[0,0,0,0],enableLinks:!0,x:0,y:0,html2canvas:{},jsPDF:{},backgroundColor:"transparent"}},s.prototype.from=function(a,l){return this.then(function(){switch(l=l||(function(u){switch(r(u)){case"string":return"string";case"element":return u.nodeName.toLowerCase()==="canvas"?"canvas":"element";default:return"unknown"}})(a),l){case"string":return this.then(e).then(function(u){return this.set({src:n("div",{innerHTML:a,dompurify:u})})});case"element":return this.set({src:a});case"canvas":return this.set({canvas:a});case"img":return this.set({img:a});default:return this.error("Unknown source type.")}})},s.prototype.to=function(a){switch(a){case"container":return this.toContainer();case"canvas":return this.toCanvas();case"img":return this.toImg();case"pdf":return this.toPdf();default:return this.error("Invalid target.")}},s.prototype.toContainer=function(){return this.thenList([function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}]).then(function(){var a={position:"relative",display:"inline-block",width:(typeof this.opt.width!="number"||isNaN(this.opt.width)||typeof this.opt.windowWidth!="number"||isNaN(this.opt.windowWidth)?Math.max(this.prop.src.clientWidth,this.prop.src.scrollWidth,this.prop.src.offsetWidth):this.opt.windowWidth)+"px",left:0,right:0,top:0,margin:"auto",backgroundColor:this.opt.backgroundColor},l=i(this.prop.src,this.opt.html2canvas.javascriptEnabled);l.tagName==="BODY"&&(a.height=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight)+"px"),this.prop.overlay=n("div",{className:"html2pdf__overlay",style:{position:"fixed",overflow:"hidden",zIndex:1e3,left:"-100000px",right:0,bottom:0,top:0}}),this.prop.container=n("div",{className:"html2pdf__container",style:a}),this.prop.container.appendChild(l),this.prop.container.firstChild.appendChild(n("div",{style:{clear:"both",border:"0 none transparent",margin:0,padding:0,height:0}})),this.prop.container.style.float="none",this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay),this.prop.container.firstChild.style.position="relative",this.prop.container.height=Math.max(this.prop.container.firstChild.clientHeight,this.prop.container.firstChild.scrollHeight,this.prop.container.firstChild.offsetHeight)+"px"})},s.prototype.toCanvas=function(){var a=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(a).then(A).then(function(l){var u=Object.assign({},this.opt.html2canvas);return delete u.onrendered,l(this.prop.container,u)}).then(function(l){(this.opt.html2canvas.onrendered||function(){})(l),this.prop.canvas=l,document.body.removeChild(this.prop.overlay)})},s.prototype.toContext2d=function(){var a=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(a).then(A).then(function(l){var u=this.opt.jsPDF,c=this.opt.fontFaces,B=typeof this.opt.width!="number"||isNaN(this.opt.width)||typeof this.opt.windowWidth!="number"||isNaN(this.opt.windowWidth)?1:this.opt.width/this.opt.windowWidth,w=Object.assign({async:!0,allowTaint:!0,scale:B,scrollX:this.opt.scrollX||0,scrollY:this.opt.scrollY||0,backgroundColor:"#ffffff",imageTimeout:15e3,logging:!0,proxy:null,removeContainer:!0,foreignObjectRendering:!1,useCORS:!1},this.opt.html2canvas);if(delete w.onrendered,u.context2d.autoPaging=this.opt.autoPaging===void 0||this.opt.autoPaging,u.context2d.posX=this.opt.x,u.context2d.posY=this.opt.y,u.context2d.margin=this.opt.margin,u.context2d.fontFaces=c,c)for(var g=0;g<c.length;++g){var C=c[g],Q=C.src.find(function(x){return x.format==="truetype"});Q&&u.addFont(Q.url,C.ref.name,C.ref.style)}return w.windowHeight=w.windowHeight||0,w.windowHeight=w.windowHeight==0?Math.max(this.prop.container.clientHeight,this.prop.container.scrollHeight,this.prop.container.offsetHeight):w.windowHeight,u.context2d.save(!0),l(this.prop.container,w)}).then(function(l){this.opt.jsPDF.context2d.restore(!0),(this.opt.html2canvas.onrendered||function(){})(l),this.prop.canvas=l,document.body.removeChild(this.prop.overlay)})},s.prototype.toImg=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()}]).then(function(){var a=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=a})},s.prototype.toPdf=function(){return this.thenList([function(){return this.toContext2d()}]).then(function(){this.prop.pdf=this.prop.pdf||this.opt.jsPDF})},s.prototype.output=function(a,l,u){return(u=u||"pdf").toLowerCase()==="img"||u.toLowerCase()==="image"?this.outputImg(a,l):this.outputPdf(a,l)},s.prototype.outputPdf=function(a,l){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){return this.prop.pdf.output(a,l)})},s.prototype.outputImg=function(a){return this.thenList([function(){return this.prop.img||this.toImg()}]).then(function(){switch(a){case void 0:case"img":return this.prop.img;case"datauristring":case"dataurlstring":return this.prop.img.src;case"datauri":case"dataurl":return document.location.href=this.prop.img.src;default:throw'Image output type "'+a+'" is not supported.'}})},s.prototype.save=function(a){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).set(a?{filename:a}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},s.prototype.doCallback=function(){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){this.prop.callback(this.prop.pdf)})},s.prototype.set=function(a){if(r(a)!=="object")return this;var l=Object.keys(a||{}).map(function(u){if(u in s.template.prop)return function(){this.prop[u]=a[u]};switch(u){case"margin":return this.setMargin.bind(this,a.margin);case"jsPDF":return function(){return this.opt.jsPDF=a.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,a.pageSize);default:return function(){this.opt[u]=a[u]}}},this);return this.then(function(){return this.thenList(l)})},s.prototype.get=function(a,l){return this.then(function(){var u=a in s.template.prop?this.prop[a]:this.opt[a];return l?l(u):u})},s.prototype.setMargin=function(a){return this.then(function(){switch(r(a)){case"number":a=[a,a,a,a];case"array":if(a.length===2&&(a=[a[0],a[1],a[0],a[1]]),a.length===4)break;default:return this.error("Invalid margin array.")}this.opt.margin=a}).then(this.setPageSize)},s.prototype.setPageSize=function(a){function l(u,c){return Math.floor(u*c/72*96)}return this.then(function(){(a=a||MA.getPageSize(this.opt.jsPDF)).hasOwnProperty("inner")||(a.inner={width:a.width-this.opt.margin[1]-this.opt.margin[3],height:a.height-this.opt.margin[0]-this.opt.margin[2]},a.inner.px={width:l(a.inner.width,a.k),height:l(a.inner.height,a.k)},a.inner.ratio=a.inner.height/a.inner.width),this.prop.pageSize=a})},s.prototype.setProgress=function(a,l,u,c){return a!=null&&(this.progress.val=a),l!=null&&(this.progress.state=l),u!=null&&(this.progress.n=u),c!=null&&(this.progress.stack=c),this.progress.ratio=this.progress.val/this.progress.state,this},s.prototype.updateProgress=function(a,l,u,c){return this.setProgress(a?this.progress.val+a:null,l||null,u?this.progress.n+u:null,c?this.progress.stack.concat(c):null)},s.prototype.then=function(a,l){var u=this;return this.thenCore(a,l,function(c,B){return u.updateProgress(null,null,1,[c]),Promise.prototype.then.call(this,function(w){return u.updateProgress(null,c),w}).then(c,B).then(function(w){return u.updateProgress(1),w})})},s.prototype.thenCore=function(a,l,u){u=u||Promise.prototype.then;var c=this;a&&(a=a.bind(c)),l&&(l=l.bind(c));var B=Promise.toString().indexOf("[native code]")!==-1&&Promise.name==="Promise"?c:s.convert(Object.assign({},c),Promise.prototype),w=u.call(B,a,l);return s.convert(w,c.__proto__)},s.prototype.thenExternal=function(a,l){return Promise.prototype.then.call(this,a,l)},s.prototype.thenList=function(a){var l=this;return a.forEach(function(u){l=l.thenCore(u)}),l},s.prototype.catch=function(a){a&&(a=a.bind(this));var l=Promise.prototype.catch.call(this,a);return s.convert(l,this)},s.prototype.catchExternal=function(a){return Promise.prototype.catch.call(this,a)},s.prototype.error=function(a){return this.then(function(){throw new Error(a)})},s.prototype.using=s.prototype.set,s.prototype.saveAs=s.prototype.save,s.prototype.export=s.prototype.output,s.prototype.run=s.prototype.then,MA.getPageSize=function(a,l,u){if(be(a)==="object"){var c=a;a=c.orientation,l=c.unit||l,u=c.format||u}l=l||"mm",u=u||"a4",a=(""+(a||"P")).toLowerCase();var B,w=(""+u).toLowerCase(),g={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]};switch(l){case"pt":B=1;break;case"mm":B=72/25.4;break;case"cm":B=72/2.54;break;case"in":B=72;break;case"px":B=.75;break;case"pc":case"em":B=12;break;case"ex":B=6;break;default:throw"Invalid unit: "+l}var C,Q=0,x=0;if(g.hasOwnProperty(w))Q=g[w][1]/B,x=g[w][0]/B;else try{Q=u[1],x=u[0]}catch{throw new Error("Invalid format: "+u)}if(a==="p"||a==="portrait")a="p",x>Q&&(C=x,x=Q,Q=C);else{if(a!=="l"&&a!=="landscape")throw"Invalid orientation: "+a;a="l",Q>x&&(C=x,x=Q,Q=C)}return{width:x,height:Q,unit:l,k:B,orientation:a}},t.html=function(a,l){(l=l||{}).callback=l.callback||function(){},l.html2canvas=l.html2canvas||{},l.html2canvas.canvas=l.html2canvas.canvas||this.canvas,l.jsPDF=l.jsPDF||this,l.fontFaces=l.fontFaces?l.fontFaces.map(iu):null;var u=new s(l);return l.worker?u:u.from(a).doCallback()}})(MA.API),MA.API.addJS=function(t){var A,e,r=(function(n){for(var i="",s=0;s<n.length;s++){var a=n[s];if(a==="("||a===")"){for(var l=0,u=s-1;u>=0&&n[u]==="\\";u--)l++;i+=l%2==0?"\\"+a:a}else i+=a}return i})(t);return this.internal.events.subscribe("postPutResources",function(){A=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(A+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),e=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+r+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){A!==void 0&&e!==void 0&&this.internal.out("/Names <</JavaScript "+A+" 0 R>>")}),this},(function(t){var A;t.events.push(["postPutResources",function(){var e=this,r=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var n=e.outline.render().split(/\r\n/),i=0;i<n.length;i++){var s=n[i],a=r.exec(s);if(a!=null){var l=a[1];e.internal.newObjectDeferredBegin(l,!1)}e.internal.write(s)}if(this.outline.createNamedDestinations){var u=this.internal.pages.length,c=[];for(i=0;i<u;i++){var B=e.internal.newObject();c.push(B);var w=e.internal.getPageInfo(i+1);e.internal.write("<< /D["+w.objId+" 0 R /XYZ null null null]>> endobj")}var g=e.internal.newObject();for(e.internal.write("<< /Names [ "),i=0;i<c.length;i++)e.internal.write("(page_"+(i+1)+")"+c[i]+" 0 R");e.internal.write(" ] >>","endobj"),A=e.internal.newObject(),e.internal.write("<< /Dests "+g+" 0 R"),e.internal.write(">>","endobj")}}]),t.events.push(["putCatalog",function(){var e=this;e.outline.root.children.length>0&&(e.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&e.internal.write("/Names "+A+" 0 R"))}]),t.events.push(["initialized",function(){var e=this;e.outline={createNamedDestinations:!1,root:{children:[]}},e.outline.add=function(r,n,i){var s={title:n,options:i,children:[]};return r==null&&(r=this.root),r.children.push(s),s},e.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=e,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},e.outline.genIds_r=function(r){r.id=e.internal.newObjectDeferred();for(var n=0;n<r.children.length;n++)this.genIds_r(r.children[n])},e.outline.renderRoot=function(r){this.objStart(r),this.line("/Type /Outlines"),r.children.length>0&&(this.line("/First "+this.makeRef(r.children[0])),this.line("/Last "+this.makeRef(r.children[r.children.length-1]))),this.line("/Count "+this.count_r({count:0},r)),this.objEnd()},e.outline.renderItems=function(r){for(var n=this.ctx.pdf.internal.getVerticalCoordinateString,i=0;i<r.children.length;i++){var s=r.children[i];this.objStart(s),this.line("/Title "+this.makeString(s.title)),this.line("/Parent "+this.makeRef(r)),i>0&&this.line("/Prev "+this.makeRef(r.children[i-1])),i<r.children.length-1&&this.line("/Next "+this.makeRef(r.children[i+1])),s.children.length>0&&(this.line("/First "+this.makeRef(s.children[0])),this.line("/Last "+this.makeRef(s.children[s.children.length-1])));var a=this.count=this.count_r({count:0},s);if(a>0&&this.line("/Count "+a),s.options&&s.options.pageNumber){var l=e.internal.getPageInfo(s.options.pageNumber);this.line("/Dest ["+l.objId+" 0 R /XYZ 0 "+n(0)+" 0]")}this.objEnd()}for(var u=0;u<r.children.length;u++)this.renderItems(r.children[u])},e.outline.line=function(r){this.ctx.val+=r+`\r
|
|
133
|
+
`},e.outline.makeRef=function(r){return r.id+" 0 R"},e.outline.makeString=function(r){return"("+e.internal.pdfEscape(r)+")"},e.outline.objStart=function(r){this.ctx.val+=`\r
|
|
134
|
+
`+r.id+` 0 obj\r
|
|
135
|
+
<<\r
|
|
136
|
+
`},e.outline.objEnd=function(){this.ctx.val+=`>> \r
|
|
137
|
+
endobj\r
|
|
138
|
+
`},e.outline.count_r=function(r,n){for(var i=0;i<n.children.length;i++)r.count++,this.count_r(r,n.children[i]);return r.count}}])})(MA.API),(function(t){var A=[192,193,194,195,196,197,198,199];t.processJPEG=function(e,r,n,i,s,a){var l,u=this.decode.DCT_DECODE,c=null;if(typeof e=="string"||this.__addimage__.isArrayBuffer(e)||this.__addimage__.isArrayBufferView(e)){switch(e=s||e,e=this.__addimage__.isArrayBuffer(e)?new Uint8Array(e):e,l=(function(B){for(var w,g=256*B.charCodeAt(4)+B.charCodeAt(5),C=B.length,Q={width:0,height:0,numcomponents:1},x=4;x<C;x+=2){if(x+=g,A.indexOf(B.charCodeAt(x+1))!==-1){w=256*B.charCodeAt(x+5)+B.charCodeAt(x+6),Q={width:256*B.charCodeAt(x+7)+B.charCodeAt(x+8),height:w,numcomponents:B.charCodeAt(x+9)};break}g=256*B.charCodeAt(x+2)+B.charCodeAt(x+3)}return Q})(e=this.__addimage__.isArrayBufferView(e)?this.__addimage__.arrayBufferToBinaryString(e):e),l.numcomponents){case 1:a=this.color_spaces.DEVICE_GRAY;break;case 4:a=this.color_spaces.DEVICE_CMYK;break;case 3:a=this.color_spaces.DEVICE_RGB}c={data:e,width:l.width,height:l.height,colorSpace:a,bitsPerComponent:8,filter:u,index:r,alias:n}}return c}})(MA.API),MA.API.processPNG=function(t,A,e,r){if(this.__addimage__.isArrayBuffer(t)&&(t=new Uint8Array(t)),this.__addimage__.isArrayBufferView(t)){var n,i=U2(t,{checkCrc:!0}),s=i.width,a=i.height,l=i.channels,u=i.palette,c=i.depth;n=u&&l===1?(function(V){for(var N=V.width,$=V.height,E=V.data,S=V.palette,R=V.depth,G=!1,aA=[],sA=[],oA=void 0,tA=!1,lA=0,FA=0;FA<S.length;FA++){var pA=pc(S[FA],4),b=pA[0],O=pA[1],M=pA[2],q=pA[3];aA.push(b,O,M),q!=null&&(q===0?(lA++,sA.length<1&&sA.push(FA)):q<255&&(tA=!0))}if(tA||lA>1){G=!0,sA=void 0;var X=N*$;oA=new Uint8Array(X);for(var eA=new DataView(E.buffer),uA=0;uA<X;uA++){var fA=su(eA,uA,R),BA=pc(S[fA],4)[3];oA[uA]=BA}}else lA===0&&(sA=void 0);return{colorSpace:"Indexed",colorsPerPixel:1,sMaskBitsPerComponent:G?8:void 0,colorBytes:E,alphaBytes:oA,needSMask:G,palette:aA,mask:sA}})(i):l===2||l===4?(function(V){for(var N=V.data,$=V.width,E=V.height,S=V.channels,R=V.depth,G=S===2?"DeviceGray":"DeviceRGB",aA=S-1,sA=$*E,oA=aA,tA=sA*oA,lA=1*sA,FA=Math.ceil(tA*R/8),pA=Math.ceil(lA*R/8),b=new Uint8Array(FA),O=new Uint8Array(pA),M=new DataView(N.buffer),q=new DataView(b.buffer),X=new DataView(O.buffer),eA=!1,uA=0;uA<sA;uA++){for(var fA=uA*S,BA=0;BA<oA;BA++)mh(q,su(M,fA+BA,R),uA*oA+BA,R);var yA=su(M,fA+oA,R);yA<(1<<R)-1&&(eA=!0),mh(X,yA,1*uA,R)}return{colorSpace:G,colorsPerPixel:aA,sMaskBitsPerComponent:eA?R:void 0,colorBytes:b,alphaBytes:O,needSMask:eA}})(i):(function(V){var N=V.data,$=V.channels===1?"DeviceGray":"DeviceRGB";return{colorSpace:$,colorsPerPixel:$==="DeviceGray"?1:3,colorBytes:N instanceof Uint16Array?(function(E){for(var S=E.length,R=new Uint8Array(2*S),G=new DataView(R.buffer,R.byteOffset,R.byteLength),aA=0;aA<S;aA++)G.setUint16(2*aA,E[aA],!1);return R})(N):N,needSMask:!1}})(i);var B,w,g,C=n,Q=C.colorSpace,x=C.colorsPerPixel,F=C.sMaskBitsPerComponent,k=C.colorBytes,K=C.alphaBytes,P=C.needSMask,z=C.palette,Z=C.mask,iA=null;return r!==MA.API.image_compression.NONE&&typeof ku=="function"?(iA=(function(V){var N;switch(V){case MA.API.image_compression.FAST:N=11;break;case MA.API.image_compression.MEDIUM:N=13;break;case MA.API.image_compression.SLOW:N=14;break;default:N=12}return N})(r),B=this.decode.FLATE_DECODE,w="/Predictor ".concat(iA," /Colors ").concat(x," /BitsPerComponent ").concat(c," /Columns ").concat(s),t=dh(k,Math.ceil(s*x*c/8),x,c,r),P&&(g=dh(K,Math.ceil(s*F/8),1,F,r))):(B=void 0,w=void 0,t=k,P&&(g=K)),(this.__addimage__.isArrayBuffer(t)||this.__addimage__.isArrayBufferView(t))&&(t=this.__addimage__.arrayBufferToBinaryString(t)),(g&&this.__addimage__.isArrayBuffer(g)||this.__addimage__.isArrayBufferView(g))&&(g=this.__addimage__.arrayBufferToBinaryString(g)),{alias:e,data:t,index:A,filter:B,decodeParameters:w,transparency:Z,palette:z,sMask:g,predictor:iA,width:s,height:a,bitsPerComponent:c,sMaskBitsPerComponent:F,colorSpace:Q}}},(function(t){t.processGIF89A=function(A,e,r,n){var i=new W2(A),s=i.width,a=i.height,l=[];i.decodeAndBlitFrameRGBA(0,l);var u={data:l,width:s,height:a},c=new ou(100).encode(u,100);return t.processJPEG.call(this,c,e,r,n)},t.processGIF87A=t.processGIF89A})(MA.API),mr.prototype.parseHeader=function(){if(this.fileSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.reserved=this.datav.getUint32(this.pos,!0),this.pos+=4,this.offset=this.datav.getUint32(this.pos,!0),this.pos+=4,this.headerSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.width=this.datav.getUint32(this.pos,!0),this.pos+=4,this.height=this.datav.getInt32(this.pos,!0),this.pos+=4,this.planes=this.datav.getUint16(this.pos,!0),this.pos+=2,this.bitPP=this.datav.getUint16(this.pos,!0),this.pos+=2,this.compress=this.datav.getUint32(this.pos,!0),this.pos+=4,this.rawSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.hr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.vr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.colors=this.datav.getUint32(this.pos,!0),this.pos+=4,this.importantColors=this.datav.getUint32(this.pos,!0),this.pos+=4,this.bitPP===16&&this.is_with_alpha&&(this.bitPP=15),this.bitPP<15){var t=this.colors===0?1<<this.bitPP:this.colors;this.palette=new Array(t);for(var A=0;A<t;A++){var e=this.datav.getUint8(this.pos++,!0),r=this.datav.getUint8(this.pos++,!0),n=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0);this.palette[A]={red:n,green:r,blue:e,quad:i}}}this.height<0&&(this.height*=-1,this.bottom_up=!1)},mr.prototype.parseBGR=function(){this.pos=this.offset;var t="bit"+this.bitPP,A=this.width*this.height*4;if(A>536870912)throw new Error("Image dimensions exceed 512MB, which is too large.");this.data=new Uint8Array(A);try{this[t]()}catch(e){Ie.log("bit decode error:"+e)}},mr.prototype.bit1=function(){var t,A=Math.ceil(this.width/8),e=A%4;for(t=this.height-1;t>=0;t--){for(var r=this.bottom_up?t:this.height-1-t,n=0;n<A;n++)for(var i=this.datav.getUint8(this.pos++,!0),s=r*this.width*4+8*n*4,a=0;a<8&&8*n+a<this.width;a++){var l=this.palette[i>>7-a&1];this.data[s+4*a]=l.blue,this.data[s+4*a+1]=l.green,this.data[s+4*a+2]=l.red,this.data[s+4*a+3]=255}e!==0&&(this.pos+=4-e)}},mr.prototype.bit4=function(){for(var t=Math.ceil(this.width/2),A=t%4,e=this.height-1;e>=0;e--){for(var r=this.bottom_up?e:this.height-1-e,n=0;n<t;n++){var i=this.datav.getUint8(this.pos++,!0),s=r*this.width*4+2*n*4,a=i>>4,l=15&i,u=this.palette[a];if(this.data[s]=u.blue,this.data[s+1]=u.green,this.data[s+2]=u.red,this.data[s+3]=255,2*n+1>=this.width)break;u=this.palette[l],this.data[s+4]=u.blue,this.data[s+4+1]=u.green,this.data[s+4+2]=u.red,this.data[s+4+3]=255}A!==0&&(this.pos+=4-A)}},mr.prototype.bit8=function(){for(var t=this.width%4,A=this.height-1;A>=0;A--){for(var e=this.bottom_up?A:this.height-1-A,r=0;r<this.width;r++){var n=this.datav.getUint8(this.pos++,!0),i=e*this.width*4+4*r;if(n<this.palette.length){var s=this.palette[n];this.data[i]=s.red,this.data[i+1]=s.green,this.data[i+2]=s.blue,this.data[i+3]=255}else this.data[i]=255,this.data[i+1]=255,this.data[i+2]=255,this.data[i+3]=255}t!==0&&(this.pos+=4-t)}},mr.prototype.bit15=function(){for(var t=this.width%3,A=parseInt("11111",2),e=this.height-1;e>=0;e--){for(var r=this.bottom_up?e:this.height-1-e,n=0;n<this.width;n++){var i=this.datav.getUint16(this.pos,!0);this.pos+=2;var s=(i&A)/A*255|0,a=(i>>5&A)/A*255|0,l=(i>>10&A)/A*255|0,u=i>>15?255:0,c=r*this.width*4+4*n;this.data[c]=l,this.data[c+1]=a,this.data[c+2]=s,this.data[c+3]=u}this.pos+=t}},mr.prototype.bit16=function(){for(var t=this.width%3,A=parseInt("11111",2),e=parseInt("111111",2),r=this.height-1;r>=0;r--){for(var n=this.bottom_up?r:this.height-1-r,i=0;i<this.width;i++){var s=this.datav.getUint16(this.pos,!0);this.pos+=2;var a=(s&A)/A*255|0,l=(s>>5&e)/e*255|0,u=(s>>11)/A*255|0,c=n*this.width*4+4*i;this.data[c]=u,this.data[c+1]=l,this.data[c+2]=a,this.data[c+3]=255}this.pos+=t}},mr.prototype.bit24=function(){for(var t=this.height-1;t>=0;t--){for(var A=this.bottom_up?t:this.height-1-t,e=0;e<this.width;e++){var r=this.datav.getUint8(this.pos++,!0),n=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),s=A*this.width*4+4*e;this.data[s]=i,this.data[s+1]=n,this.data[s+2]=r,this.data[s+3]=255}this.pos+=this.width%4}},mr.prototype.bit32=function(){for(var t=this.height-1;t>=0;t--)for(var A=this.bottom_up?t:this.height-1-t,e=0;e<this.width;e++){var r=this.datav.getUint8(this.pos++,!0),n=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),s=this.datav.getUint8(this.pos++,!0),a=A*this.width*4+4*e;this.data[a]=i,this.data[a+1]=n,this.data[a+2]=r,this.data[a+3]=s}},mr.prototype.getData=function(){return this.data},(function(t){t.processBMP=function(A,e,r,n){var i=new mr(A,!1),s=i.width,a=i.height,l={data:i.getData(),width:s,height:a},u=new ou(100).encode(l,100);return t.processJPEG.call(this,u,e,r,n)}})(MA.API),Fh.prototype.getData=function(){return this.data},(function(t){t.processWEBP=function(A,e,r,n){var i=new Fh(A),s=i.width,a=i.height,l={data:i.getData(),width:s,height:a},u=new ou(100).encode(l,100);return t.processJPEG.call(this,u,e,r,n)}})(MA.API),MA.API.processRGBA=function(t,A,e){for(var r=t.data,n=r.length,i=new Uint8Array(n/4*3),s=new Uint8Array(n/4),a=0,l=0,u=0;u<n;u+=4){var c=r[u],B=r[u+1],w=r[u+2],g=r[u+3];i[a++]=c,i[a++]=B,i[a++]=w,s[l++]=g}var C=this.__addimage__.arrayBufferToBinaryString(i);return{alpha:this.__addimage__.arrayBufferToBinaryString(s),data:C,index:A,alias:e,colorSpace:"DeviceRGB",bitsPerComponent:8,width:t.width,height:t.height}},MA.API.setLanguage=function(t){return this.internal.languageSettings===void 0&&(this.internal.languageSettings={},this.internal.languageSettings.isSubscribed=!1),{af:"Afrikaans",sq:"Albanian",ar:"Arabic (Standard)","ar-DZ":"Arabic (Algeria)","ar-BH":"Arabic (Bahrain)","ar-EG":"Arabic (Egypt)","ar-IQ":"Arabic (Iraq)","ar-JO":"Arabic (Jordan)","ar-KW":"Arabic (Kuwait)","ar-LB":"Arabic (Lebanon)","ar-LY":"Arabic (Libya)","ar-MA":"Arabic (Morocco)","ar-OM":"Arabic (Oman)","ar-QA":"Arabic (Qatar)","ar-SA":"Arabic (Saudi Arabia)","ar-SY":"Arabic (Syria)","ar-TN":"Arabic (Tunisia)","ar-AE":"Arabic (U.A.E.)","ar-YE":"Arabic (Yemen)",an:"Aragonese",hy:"Armenian",as:"Assamese",ast:"Asturian",az:"Azerbaijani",eu:"Basque",be:"Belarusian",bn:"Bengali",bs:"Bosnian",br:"Breton",bg:"Bulgarian",my:"Burmese",ca:"Catalan",ch:"Chamorro",ce:"Chechen",zh:"Chinese","zh-HK":"Chinese (Hong Kong)","zh-CN":"Chinese (PRC)","zh-SG":"Chinese (Singapore)","zh-TW":"Chinese (Taiwan)",cv:"Chuvash",co:"Corsican",cr:"Cree",hr:"Croatian",cs:"Czech",da:"Danish",nl:"Dutch (Standard)","nl-BE":"Dutch (Belgian)",en:"English","en-AU":"English (Australia)","en-BZ":"English (Belize)","en-CA":"English (Canada)","en-IE":"English (Ireland)","en-JM":"English (Jamaica)","en-NZ":"English (New Zealand)","en-PH":"English (Philippines)","en-ZA":"English (South Africa)","en-TT":"English (Trinidad & Tobago)","en-GB":"English (United Kingdom)","en-US":"English (United States)","en-ZW":"English (Zimbabwe)",eo:"Esperanto",et:"Estonian",fo:"Faeroese",fj:"Fijian",fi:"Finnish",fr:"French (Standard)","fr-BE":"French (Belgium)","fr-CA":"French (Canada)","fr-FR":"French (France)","fr-LU":"French (Luxembourg)","fr-MC":"French (Monaco)","fr-CH":"French (Switzerland)",fy:"Frisian",fur:"Friulian",gd:"Gaelic (Scots)","gd-IE":"Gaelic (Irish)",gl:"Galacian",ka:"Georgian",de:"German (Standard)","de-AT":"German (Austria)","de-DE":"German (Germany)","de-LI":"German (Liechtenstein)","de-LU":"German (Luxembourg)","de-CH":"German (Switzerland)",el:"Greek",gu:"Gujurati",ht:"Haitian",he:"Hebrew",hi:"Hindi",hu:"Hungarian",is:"Icelandic",id:"Indonesian",iu:"Inuktitut",ga:"Irish",it:"Italian (Standard)","it-CH":"Italian (Switzerland)",ja:"Japanese",kn:"Kannada",ks:"Kashmiri",kk:"Kazakh",km:"Khmer",ky:"Kirghiz",tlh:"Klingon",ko:"Korean","ko-KP":"Korean (North Korea)","ko-KR":"Korean (South Korea)",la:"Latin",lv:"Latvian",lt:"Lithuanian",lb:"Luxembourgish",mk:"North Macedonia",ms:"Malay",ml:"Malayalam",mt:"Maltese",mi:"Maori",mr:"Marathi",mo:"Moldavian",nv:"Navajo",ng:"Ndonga",ne:"Nepali",no:"Norwegian",nb:"Norwegian (Bokmal)",nn:"Norwegian (Nynorsk)",oc:"Occitan",or:"Oriya",om:"Oromo",fa:"Persian","fa-IR":"Persian/Iran",pl:"Polish",pt:"Portuguese","pt-BR":"Portuguese (Brazil)",pa:"Punjabi","pa-IN":"Punjabi (India)","pa-PK":"Punjabi (Pakistan)",qu:"Quechua",rm:"Rhaeto-Romanic",ro:"Romanian","ro-MO":"Romanian (Moldavia)",ru:"Russian","ru-MO":"Russian (Moldavia)",sz:"Sami (Lappish)",sg:"Sango",sa:"Sanskrit",sc:"Sardinian",sd:"Sindhi",si:"Singhalese",sr:"Serbian",sk:"Slovak",sl:"Slovenian",so:"Somani",sb:"Sorbian",es:"Spanish","es-AR":"Spanish (Argentina)","es-BO":"Spanish (Bolivia)","es-CL":"Spanish (Chile)","es-CO":"Spanish (Colombia)","es-CR":"Spanish (Costa Rica)","es-DO":"Spanish (Dominican Republic)","es-EC":"Spanish (Ecuador)","es-SV":"Spanish (El Salvador)","es-GT":"Spanish (Guatemala)","es-HN":"Spanish (Honduras)","es-MX":"Spanish (Mexico)","es-NI":"Spanish (Nicaragua)","es-PA":"Spanish (Panama)","es-PY":"Spanish (Paraguay)","es-PE":"Spanish (Peru)","es-PR":"Spanish (Puerto Rico)","es-ES":"Spanish (Spain)","es-UY":"Spanish (Uruguay)","es-VE":"Spanish (Venezuela)",sx:"Sutu",sw:"Swahili",sv:"Swedish","sv-FI":"Swedish (Finland)","sv-SV":"Swedish (Sweden)",ta:"Tamil",tt:"Tatar",te:"Teluga",th:"Thai",tig:"Tigre",ts:"Tsonga",tn:"Tswana",tr:"Turkish",tk:"Turkmen",uk:"Ukrainian",hsb:"Upper Sorbian",ur:"Urdu",ve:"Venda",vi:"Vietnamese",vo:"Volapuk",wa:"Walloon",cy:"Welsh",xh:"Xhosa",ji:"Yiddish",zu:"Zulu"}[t]!==void 0&&(this.internal.languageSettings.languageCode=t,this.internal.languageSettings.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){this.internal.write("/Lang ("+this.internal.languageSettings.languageCode+")")}),this.internal.languageSettings.isSubscribed=!0)),this},Gi=MA.API,zs=Gi.getCharWidthsArray=function(t,A){var e,r,n=(A=A||{}).font||this.internal.getFont(),i=A.fontSize||this.internal.getFontSize(),s=A.charSpace||this.internal.getCharSpace(),a=A.widths?A.widths:n.metadata.Unicode.widths,l=a.fof?a.fof:1,u=A.kerning?A.kerning:n.metadata.Unicode.kerning,c=u.fof?u.fof:1,B=A.doKerning!==!1,w=0,g=t.length,C=0,Q=a[0]||l,x=[];for(e=0;e<g;e++)r=t.charCodeAt(e),typeof n.metadata.widthOfString=="function"?x.push((n.metadata.widthOfGlyph(n.metadata.characterToGlyph(r))+s*(1e3/i)||0)/1e3):(w=B&&be(u[r])==="object"&&!isNaN(parseInt(u[r][C],10))?u[r][C]/c:0,x.push((a[r]||Q)/l+w)),C=r;return x},ch=Gi.getStringUnitWidth=function(t,A){var e=(A=A||{}).fontSize||this.internal.getFontSize(),r=A.font||this.internal.getFont(),n=A.charSpace||this.internal.getCharSpace();return Gi.processArabic&&(t=Gi.processArabic(t)),typeof r.metadata.widthOfString=="function"?r.metadata.widthOfString(t,e,n)/e:zs.apply(this,arguments).reduce(function(i,s){return i+s},0)},hh=function(t,A,e,r){for(var n=[],i=0,s=t.length,a=0;i!==s&&a+A[i]<e;)a+=A[i],i++;n.push(t.slice(0,i));var l=i;for(a=0;i!==s;)a+A[i]>r&&(n.push(t.slice(l,i)),a=0,l=i),a+=A[i],i++;return l!==i&&n.push(t.slice(l,i)),n},gh=function(t,A,e){e||(e={});var r,n,i,s,a,l,u,c=[],B=[c],w=e.textIndent||0,g=0,C=0,Q=t.split(" "),x=zs.apply(this,[" ",e])[0];if(l=e.lineIndent===-1?Q[0].length+2:e.lineIndent||0){var F=Array(l).join(" "),k=[];Q.map(function(P){(P=P.split(/\s*\n/)).length>1?k=k.concat(P.map(function(z,Z){return(Z&&z.length?`
|
|
139
|
+
`:"")+z})):k.push(P[0])}),Q=k,l=ch.apply(this,[F,e])}for(i=0,s=Q.length;i<s;i++){var K=0;if(r=Q[i],l&&r[0]==`
|
|
140
|
+
`&&(r=r.substr(1),K=1),w+g+(C=(n=zs.apply(this,[r,e])).reduce(function(P,z){return P+z},0))>A||K){if(C>A){for(a=hh.apply(this,[r,n,A-(w+g),A]),c.push(a.shift()),c=[a.pop()];a.length;)B.push([a.shift()]);C=n.slice(r.length-(c[0]?c[0].length:0)).reduce(function(P,z){return P+z},0)}else c=[r];B.push(c),w=C+l,g=x}else c.push(r),w+=g+C,g=x}return u=l?function(P,z){return(z?F:"")+P.join(" ")}:function(P){return P.join(" ")},B.map(u)},Gi.splitTextToSize=function(t,A,e){var r,n=(e=e||{}).fontSize||this.internal.getFontSize(),i=function(c){if(c.widths&&c.kerning)return{widths:c.widths,kerning:c.kerning};var B=this.internal.getFont(c.fontName,c.fontStyle),w="Unicode";return B.metadata[w]?{widths:B.metadata[w].widths||{0:1},kerning:B.metadata[w].kerning||{}}:{font:B.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}.call(this,e);r=Array.isArray(t)?t:String(t).split(/\r?\n/);var s=1*this.internal.scaleFactor*A/n;i.textIndent=e.textIndent?1*e.textIndent*this.internal.scaleFactor/n:0,i.lineIndent=e.lineIndent;var a,l,u=[];for(a=0,l=r.length;a<l;a++)u=u.concat(gh.apply(this,[r[a],s,i]));return u},(function(t){t.__fontmetrics__=t.__fontmetrics__||{};for(var A="0123456789abcdef",e="klmnopqrstuvwxyz",r={},n={},i=0;i<16;i++)r[e[i]]=A[i],n[A[i]]=e[i];var s=function(w){return"0x"+parseInt(w,10).toString(16)},a=t.__fontmetrics__.compress=function(w){var g,C,Q,x,F=["{"];for(var k in w){if(g=w[k],isNaN(parseInt(k,10))?C="'"+k+"'":(k=parseInt(k,10),C=(C=s(k).slice(2)).slice(0,-1)+n[C.slice(-1)]),typeof g=="number")g<0?(Q=s(g).slice(3),x="-"):(Q=s(g).slice(2),x=""),Q=x+Q.slice(0,-1)+n[Q.slice(-1)];else{if(be(g)!=="object")throw new Error("Don't know what to do with value type "+be(g)+".");Q=a(g)}F.push(C+Q)}return F.push("}"),F.join("")},l=t.__fontmetrics__.uncompress=function(w){if(typeof w!="string")throw new Error("Invalid argument passed to uncompress.");for(var g,C,Q,x,F={},k=1,K=F,P=[],z="",Z="",iA=w.length-1,V=1;V<iA;V+=1)(x=w[V])=="'"?g?(Q=g.join(""),g=void 0):g=[]:g?g.push(x):x=="{"?(P.push([K,Q]),K={},Q=void 0):x=="}"?((C=P.pop())[0][C[1]]=K,Q=void 0,K=C[0]):x=="-"?k=-1:Q===void 0?r.hasOwnProperty(x)?(z+=r[x],Q=parseInt(z,16)*k,k=1,z=""):z+=x:r.hasOwnProperty(x)?(Z+=r[x],K[Q]=parseInt(Z,16)*k,k=1,Q=void 0,Z=""):Z+=x;return F},u={codePages:["WinAnsiEncoding"],WinAnsiEncoding:l("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},c={Unicode:{Courier:u,"Courier-Bold":u,"Courier-BoldOblique":u,"Courier-Oblique":u,Helvetica:u,"Helvetica-Bold":u,"Helvetica-BoldOblique":u,"Helvetica-Oblique":u,"Times-Roman":u,"Times-Bold":u,"Times-BoldItalic":u,"Times-Italic":u}},B={Unicode:{"Courier-Oblique":l("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":l("{'widths'{k3o2q4ycx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2r202m2n2n3m2o3m2p5n202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5n4l4m4m4m4n4m4o4s4p4m4q4m4r4s4s4y4t2r4u3m4v4m4w3x4x5t4y4s4z4s5k3x5l4s5m4m5n3r5o3x5p4s5q4m5r5t5s4m5t3x5u3x5v2l5w1w5x2l5y3t5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q2l6r3m6s3r6t1w6u1w6v3m6w1w6x4y6y3r6z3m7k3m7l3m7m2r7n2r7o1w7p3r7q2w7r4m7s3m7t2w7u2r7v2n7w1q7x2n7y3t202l3mcl4mal2ram3man3mao3map3mar3mas2lat4uau1uav3maw3way4uaz2lbk2sbl3t'fof'6obo2lbp3tbq3mbr1tbs2lbu1ybv3mbz3mck4m202k3mcm4mcn4mco4mcp4mcq5ycr4mcs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz2w203k6o212m6o2dw2l2cq2l3t3m3u2l17s3x19m3m}'kerning'{cl{4qu5kt5qt5rs17ss5ts}201s{201ss}201t{cks4lscmscnscoscpscls2wu2yu201ts}201x{2wu2yu}2k{201ts}2w{4qx5kx5ou5qx5rs17su5tu}2x{17su5tu5ou}2y{4qx5kx5ou5qx5rs17ss5ts}'fof'-6ofn{17sw5tw5ou5qw5rs}7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qs}3v{17su5tu5os5qs}7p{17su5tu}ck{4qu5kt5qt5rs17ss5ts}4l{4qu5kt5qt5rs17ss5ts}cm{4qu5kt5qt5rs17ss5ts}cn{4qu5kt5qt5rs17ss5ts}co{4qu5kt5qt5rs17ss5ts}cp{4qu5kt5qt5rs17ss5ts}6l{4qu5ou5qw5rt17su5tu}5q{ckuclucmucnucoucpu4lu}5r{ckuclucmucnucoucpu4lu}7q{cksclscmscnscoscps4ls}6p{4qu5ou5qw5rt17sw5tw}ek{4qu5ou5qw5rt17su5tu}el{4qu5ou5qw5rt17su5tu}em{4qu5ou5qw5rt17su5tu}en{4qu5ou5qw5rt17su5tu}eo{4qu5ou5qw5rt17su5tu}ep{4qu5ou5qw5rt17su5tu}es{17ss5ts5qs4qu}et{4qu5ou5qw5rt17sw5tw}eu{4qu5ou5qw5rt17ss5ts}ev{17ss5ts5qs4qu}6z{17sw5tw5ou5qw5rs}fm{17sw5tw5ou5qw5rs}7n{201ts}fo{17sw5tw5ou5qw5rs}fp{17sw5tw5ou5qw5rs}fq{17sw5tw5ou5qw5rs}7r{cksclscmscnscoscps4ls}fs{17sw5tw5ou5qw5rs}ft{17su5tu}fu{17su5tu}fv{17su5tu}fw{17su5tu}fz{cksclscmscnscoscps4ls}}}"),"Helvetica-Bold":l("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),Courier:l("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-BoldOblique":l("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Bold":l("{'widths'{k3q2q5ncx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2l202m2n2n3m2o3m2p6o202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5x4l4s4m4m4n4s4o4s4p4m4q3x4r4y4s4y4t2r4u3m4v4y4w4m4x5y4y4s4z4y5k3x5l4y5m4s5n3r5o4m5p4s5q4s5r6o5s4s5t4s5u4m5v2l5w1w5x2l5y3u5z3m6k2l6l3m6m3r6n2w6o3r6p2w6q2l6r3m6s3r6t1w6u2l6v3r6w1w6x5n6y3r6z3m7k3r7l3r7m2w7n2r7o2l7p3r7q3m7r4s7s3m7t3m7u2w7v2r7w1q7x2r7y3o202l3mcl4sal2lam3man3mao3map3mar3mas2lat4uau1yav3maw3tay4uaz2lbk2sbl3t'fof'6obo2lbp3rbr1tbs2lbu2lbv3mbz3mck4s202k3mcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3rek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3m3u2l17s4s19m3m}'kerning'{cl{4qt5ks5ot5qy5rw17sv5tv}201t{cks4lscmscnscoscpscls4wv}2k{201ts}2w{4qu5ku7mu5os5qx5ru17su5tu}2x{17su5tu5ou5qs}2y{4qv5kv7mu5ot5qz5ru17su5tu}'fof'-6o7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qu}3v{17su5tu5os5qu}fu{17su5tu5ou5qu}7p{17su5tu5ou5qu}ck{4qt5ks5ot5qy5rw17sv5tv}4l{4qt5ks5ot5qy5rw17sv5tv}cm{4qt5ks5ot5qy5rw17sv5tv}cn{4qt5ks5ot5qy5rw17sv5tv}co{4qt5ks5ot5qy5rw17sv5tv}cp{4qt5ks5ot5qy5rw17sv5tv}6l{17st5tt5ou5qu}17s{ckuclucmucnucoucpu4lu4wu}5o{ckuclucmucnucoucpu4lu4wu}5q{ckzclzcmzcnzcozcpz4lz4wu}5r{ckxclxcmxcnxcoxcpx4lx4wu}5t{ckuclucmucnucoucpu4lu4wu}7q{ckuclucmucnucoucpu4lu}6p{17sw5tw5ou5qu}ek{17st5tt5qu}el{17st5tt5ou5qu}em{17st5tt5qu}en{17st5tt5qu}eo{17st5tt5qu}ep{17st5tt5ou5qu}es{17ss5ts5qu}et{17sw5tw5ou5qu}eu{17sw5tw5ou5qu}ev{17ss5ts5qu}6z{17sw5tw5ou5qu5rs}fm{17sw5tw5ou5qu5rs}fn{17sw5tw5ou5qu5rs}fo{17sw5tw5ou5qu5rs}fp{17sw5tw5ou5qu5rs}fq{17sw5tw5ou5qu5rs}7r{cktcltcmtcntcotcpt4lt5os}fs{17sw5tw5ou5qu5rs}ft{17su5tu5ou5qu}7m{5os}fv{17su5tu5ou5qu}fw{17su5tu5ou5qu}fz{cksclscmscnscoscps4ls}}}"),Symbol:l("{'widths'{k3uaw4r19m3m2k1t2l2l202m2y2n3m2p5n202q6o3k3m2s2l2t2l2v3r2w1t3m3m2y1t2z1wbk2sbl3r'fof'6o3n3m3o3m3p3m3q3m3r3m3s3m3t3m3u1w3v1w3w3r3x3r3y3r3z2wbp3t3l3m5v2l5x2l5z3m2q4yfr3r7v3k7w1o7x3k}'kerning'{'fof'-6o}}"),Helvetica:l("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}"),"Helvetica-BoldOblique":l("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),ZapfDingbats:l("{'widths'{k4u2k1w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-Bold":l("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Italic":l("{'widths'{k3n2q4ycx2l201n3m201o5t201s2l201t2l201u2l201w3r201x3r201y3r2k1t2l2l202m2n2n3m2o3m2p5n202q5t2r1p2s2l2t2l2u3m2v4n2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w4n3x4n3y4n3z3m4k5w4l3x4m3x4n4m4o4s4p3x4q3x4r4s4s4s4t2l4u2w4v4m4w3r4x5n4y4m4z4s5k3x5l4s5m3x5n3m5o3r5p4s5q3x5r5n5s3x5t3r5u3r5v2r5w1w5x2r5y2u5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q1w6r3m6s3m6t1w6u1w6v2w6w1w6x4s6y3m6z3m7k3m7l3m7m2r7n2r7o1w7p3m7q2w7r4m7s2w7t2w7u2r7v2s7w1v7x2s7y3q202l3mcl3xal2ram3man3mao3map3mar3mas2lat4wau1vav3maw4nay4waz2lbk2sbl4n'fof'6obo2lbp3mbq3obr1tbs2lbu1zbv3mbz3mck3x202k3mcm3xcn3xco3xcp3xcq5tcr4mcs3xct3xcu3xcv3xcw2l2m2ucy2lcz2ldl4mdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr4nfs3mft3mfu3mfv3mfw3mfz2w203k6o212m6m2dw2l2cq2l3t3m3u2l17s3r19m3m}'kerning'{cl{5kt4qw}201s{201sw}201t{201tw2wy2yy6q-t}201x{2wy2yy}2k{201tw}2w{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}2x{17ss5ts5os}2y{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}'fof'-6o6t{17ss5ts5qs}7t{5os}3v{5qs}7p{17su5tu5qs}ck{5kt4qw}4l{5kt4qw}cm{5kt4qw}cn{5kt4qw}co{5kt4qw}cp{5kt4qw}6l{4qs5ks5ou5qw5ru17su5tu}17s{2ks}5q{ckvclvcmvcnvcovcpv4lv}5r{ckuclucmucnucoucpu4lu}5t{2ks}6p{4qs5ks5ou5qw5ru17su5tu}ek{4qs5ks5ou5qw5ru17su5tu}el{4qs5ks5ou5qw5ru17su5tu}em{4qs5ks5ou5qw5ru17su5tu}en{4qs5ks5ou5qw5ru17su5tu}eo{4qs5ks5ou5qw5ru17su5tu}ep{4qs5ks5ou5qw5ru17su5tu}es{5ks5qs4qs}et{4qs5ks5ou5qw5ru17su5tu}eu{4qs5ks5qw5ru17su5tu}ev{5ks5qs4qs}ex{17ss5ts5qs}6z{4qv5ks5ou5qw5ru17su5tu}fm{4qv5ks5ou5qw5ru17su5tu}fn{4qv5ks5ou5qw5ru17su5tu}fo{4qv5ks5ou5qw5ru17su5tu}fp{4qv5ks5ou5qw5ru17su5tu}fq{4qv5ks5ou5qw5ru17su5tu}7r{5os}fs{4qv5ks5ou5qw5ru17su5tu}ft{17su5tu5qs}fu{17su5tu5qs}fv{17su5tu5qs}fw{17su5tu5qs}}}"),"Times-Roman":l("{'widths'{k3n2q4ycx2l201n3m201o6o201s2l201t2l201u2l201w2w201x2w201y2w2k1t2l2l202m2n2n3m2o3m2p5n202q6o2r1m2s2l2t2l2u3m2v3s2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v1w3w3s3x3s3y3s3z2w4k5w4l4s4m4m4n4m4o4s4p3x4q3r4r4s4s4s4t2l4u2r4v4s4w3x4x5t4y4s4z4s5k3r5l4s5m4m5n3r5o3x5p4s5q4s5r5y5s4s5t4s5u3x5v2l5w1w5x2l5y2z5z3m6k2l6l2w6m3m6n2w6o3m6p2w6q2l6r3m6s3m6t1w6u1w6v3m6w1w6x4y6y3m6z3m7k3m7l3m7m2l7n2r7o1w7p3m7q3m7r4s7s3m7t3m7u2w7v3k7w1o7x3k7y3q202l3mcl4sal2lam3man3mao3map3mar3mas2lat4wau1vav3maw3say4waz2lbk2sbl3s'fof'6obo2lbp3mbq2xbr1tbs2lbu1zbv3mbz2wck4s202k3mcm4scn4sco4scp4scq5tcr4mcs3xct3xcu3xcv3xcw2l2m2tcy2lcz2ldl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek2wel2wem2wen2weo2wep2weq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr3sfs3mft3mfu3mfv3mfw3mfz3m203k6o212m6m2dw2l2cq2l3t3m3u1w17s4s19m3m}'kerning'{cl{4qs5ku17sw5ou5qy5rw201ss5tw201ws}201s{201ss}201t{ckw4lwcmwcnwcowcpwclw4wu201ts}2k{201ts}2w{4qs5kw5os5qx5ru17sx5tx}2x{17sw5tw5ou5qu}2y{4qs5kw5os5qx5ru17sx5tx}'fof'-6o7t{ckuclucmucnucoucpu4lu5os5rs}3u{17su5tu5qs}3v{17su5tu5qs}7p{17sw5tw5qs}ck{4qs5ku17sw5ou5qy5rw201ss5tw201ws}4l{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cm{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cn{4qs5ku17sw5ou5qy5rw201ss5tw201ws}co{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cp{4qs5ku17sw5ou5qy5rw201ss5tw201ws}6l{17su5tu5os5qw5rs}17s{2ktclvcmvcnvcovcpv4lv4wuckv}5o{ckwclwcmwcnwcowcpw4lw4wu}5q{ckyclycmycnycoycpy4ly4wu5ms}5r{cktcltcmtcntcotcpt4lt4ws}5t{2ktclvcmvcnvcovcpv4lv4wuckv}7q{cksclscmscnscoscps4ls}6p{17su5tu5qw5rs}ek{5qs5rs}el{17su5tu5os5qw5rs}em{17su5tu5os5qs5rs}en{17su5qs5rs}eo{5qs5rs}ep{17su5tu5os5qw5rs}es{5qs}et{17su5tu5qw5rs}eu{17su5tu5qs5rs}ev{5qs}6z{17sv5tv5os5qx5rs}fm{5os5qt5rs}fn{17sv5tv5os5qx5rs}fo{17sv5tv5os5qx5rs}fp{5os5qt5rs}fq{5os5qt5rs}7r{ckuclucmucnucoucpu4lu5os}fs{17sv5tv5os5qx5rs}ft{17ss5ts5qs}fu{17sw5tw5qs}fv{17sw5tw5qs}fw{17ss5ts5qs}fz{ckuclucmucnucoucpu4lu5os5rs}}}"),"Helvetica-Oblique":l("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}")}};t.events.push(["addFont",function(w){var g=w.font,C=B.Unicode[g.postScriptName];C&&(g.metadata.Unicode={},g.metadata.Unicode.widths=C.widths,g.metadata.Unicode.kerning=C.kerning);var Q=c.Unicode[g.postScriptName];Q&&(g.metadata.Unicode.encoding=Q,g.encoding=Q.codePages[0])}])})(MA.API),(function(t){var A=function(e){for(var r=e.length,n=new Uint8Array(r),i=0;i<r;i++)n[i]=e.charCodeAt(i);return n};t.API.events.push(["addFont",function(e){var r=void 0,n=e.font,i=e.instance;if(!n.isStandardFont){if(i===void 0)throw new Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+n.postScriptName+"').");if(typeof(r=i.existsFileInVFS(n.postScriptName)===!1?i.loadFile(n.postScriptName):i.getFileFromVFS(n.postScriptName))!="string")throw new Error("Font is not stored as string-data in vFS, import fonts or remove declaration doc.addFont('"+n.postScriptName+"').");(function(s,a){a=/^\x00\x01\x00\x00/.test(a)?A(a):A(Fo(a)),s.metadata=t.API.TTFFont.open(a),s.metadata.Unicode=s.metadata.Unicode||{encoding:{},kerning:{},widths:[]},s.metadata.glyIdsUsed=[0]})(n,r)}}])})(MA),MA.API.addSvgAsImage=function(t,A,e,r,n,i,s,a){if(isNaN(A)||isNaN(e))throw Ie.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(r)||isNaN(n))throw Ie.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var l=document.createElement("canvas");l.width=r,l.height=n;var u=l.getContext("2d");u.fillStyle="#fff",u.fillRect(0,0,l.width,l.height);var c={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},B=this;return(YA.canvg?Promise.resolve(YA.canvg):Rl(()=>import("./index.es-DZ6UeYE-.js"),[])).catch(function(w){return Promise.reject(new Error("Could not load canvg: "+w))}).then(function(w){return w.default?w.default:w}).then(function(w){return w.fromString(u,t,c)},function(){return Promise.reject(new Error("Could not load canvg."))}).then(function(w){return w.render(c)}).then(function(){B.addImage(l.toDataURL("image/jpeg",1),A,e,r,n,s,a)})},MA.API.putTotalPages=function(t){var A,e=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(A=new RegExp(t,"g"),e=this.internal.getNumberOfPages()):(A=new RegExp(this.pdfEscape16(t,this.internal.getFont()),"g"),e=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var r=1;r<=this.internal.getNumberOfPages();r++)for(var n=0;n<this.internal.pages[r].length;n++)this.internal.pages[r][n]=this.internal.pages[r][n].replace(A,e);return this},MA.API.viewerPreferences=function(t,A){var e;t=t||{},A=A||!1;var r,n,i,s={HideToolbar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideMenubar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideWindowUI:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},FitWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},CenterWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},DisplayDocTitle:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.4},NonFullScreenPageMode:{defaultValue:"UseNone",value:"UseNone",type:"name",explicitSet:!1,valueSet:["UseNone","UseOutlines","UseThumbs","UseOC"],pdfVersion:1.3},Direction:{defaultValue:"L2R",value:"L2R",type:"name",explicitSet:!1,valueSet:["L2R","R2L"],pdfVersion:1.3},ViewArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},ViewClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintScaling:{defaultValue:"AppDefault",value:"AppDefault",type:"name",explicitSet:!1,valueSet:["AppDefault","None"],pdfVersion:1.6},Duplex:{defaultValue:"",value:"none",type:"name",explicitSet:!1,valueSet:["Simplex","DuplexFlipShortEdge","DuplexFlipLongEdge","none"],pdfVersion:1.7},PickTrayByPDFSize:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.7},PrintPageRange:{defaultValue:"",value:"",type:"array",explicitSet:!1,valueSet:null,pdfVersion:1.7},NumCopies:{defaultValue:1,value:1,type:"integer",explicitSet:!1,valueSet:null,pdfVersion:1.7}},a=Object.keys(s),l=[],u=0,c=0,B=0;function w(C,Q){var x,F=!1;for(x=0;x<C.length;x+=1)C[x]===Q&&(F=!0);return F}if(this.internal.viewerpreferences===void 0&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(s)),this.internal.viewerpreferences.isSubscribed=!1),e=this.internal.viewerpreferences.configuration,t==="reset"||A===!0){var g=a.length;for(B=0;B<g;B+=1)e[a[B]].value=e[a[B]].defaultValue,e[a[B]].explicitSet=!1}if(be(t)==="object"){for(n in t)if(i=t[n],w(a,n)&&i!==void 0){if(e[n].type==="boolean"&&typeof i=="boolean")e[n].value=i;else if(e[n].type==="name"&&w(e[n].valueSet,i))e[n].value=i;else if(e[n].type==="integer"&&Number.isInteger(i))e[n].value=i;else if(e[n].type==="array"){for(u=0;u<i.length;u+=1)if(r=!0,i[u].length===1&&typeof i[u][0]=="number")l.push(String(i[u]-1));else if(i[u].length>1){for(c=0;c<i[u].length;c+=1)typeof i[u][c]!="number"&&(r=!1);r===!0&&l.push([i[u][0]-1,i[u][1]-1].join(" "))}e[n].value="["+l.join(" ")+"]"}else e[n].value=e[n].defaultValue;e[n].explicitSet=!0}}return this.internal.viewerpreferences.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){var C,Q=[];for(C in e)e[C].explicitSet===!0&&(e[C].type==="name"?Q.push("/"+C+" /"+e[C].value):Q.push("/"+C+" "+e[C].value));Q.length!==0&&this.internal.write(`/ViewerPreferences
|
|
141
|
+
<<
|
|
142
|
+
`+Q.join(`
|
|
143
|
+
`)+`
|
|
144
|
+
>>`)}),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=e,this},MA.API.addMetadata=function(t,A){return this.internal.__metadata__===void 0&&(this.internal.__metadata__={metadata:t,namespaceUri:A??"http://jspdf.default.namespaceuri/",rawXml:typeof A=="boolean"&&A},this.internal.events.subscribe("putCatalog",J2),this.internal.events.subscribe("postPutResources",X2)),this},(function(t){var A=t.API,e=A.pdfEscape16=function(i,s){for(var a,l=s.metadata.Unicode.widths,u=["","0","00","000","0000"],c=[""],B=0,w=i.length;B<w;++B){if(a=s.metadata.characterToGlyph(i.charCodeAt(B)),s.metadata.glyIdsUsed.push(a),s.metadata.toUnicode[a]=i.charCodeAt(B),l.indexOf(a)==-1&&(l.push(a),l.push([parseInt(s.metadata.widthOfGlyph(a),10)])),a=="0")return c.join("");a=a.toString(16),c.push(u[4-a.length],a)}return c.join("")},r=function(i){var s,a,l,u,c,B,w;for(c=`/CIDInit /ProcSet findresource begin
|
|
145
|
+
12 dict begin
|
|
146
|
+
begincmap
|
|
147
|
+
/CIDSystemInfo <<
|
|
148
|
+
/Registry (Adobe)
|
|
149
|
+
/Ordering (UCS)
|
|
150
|
+
/Supplement 0
|
|
151
|
+
>> def
|
|
152
|
+
/CMapName /Adobe-Identity-UCS def
|
|
153
|
+
/CMapType 2 def
|
|
154
|
+
1 begincodespacerange
|
|
155
|
+
<0000><ffff>
|
|
156
|
+
endcodespacerange`,l=[],B=0,w=(a=Object.keys(i).sort(function(g,C){return g-C})).length;B<w;B++)s=a[B],l.length>=100&&(c+=`
|
|
157
|
+
`+l.length+` beginbfchar
|
|
158
|
+
`+l.join(`
|
|
159
|
+
`)+`
|
|
160
|
+
endbfchar`,l=[]),i[s]!==void 0&&i[s]!==null&&typeof i[s].toString=="function"&&(u=("0000"+i[s].toString(16)).slice(-4),s=("0000"+(+s).toString(16)).slice(-4),l.push("<"+s+"><"+u+">"));return l.length&&(c+=`
|
|
161
|
+
`+l.length+` beginbfchar
|
|
162
|
+
`+l.join(`
|
|
163
|
+
`)+`
|
|
164
|
+
endbfchar
|
|
165
|
+
`),c+`endcmap
|
|
166
|
+
CMapName currentdict /CMap defineresource pop
|
|
167
|
+
end
|
|
168
|
+
end`};A.events.push(["putFont",function(i){(function(s){var a=s.font,l=s.out,u=s.newObject,c=s.putStream;if(a.metadata instanceof t.API.TTFFont&&a.encoding==="Identity-H"){for(var B=a.metadata.Unicode.widths,w=a.metadata.subset.encode(a.metadata.glyIdsUsed,1),g="",C=0;C<w.length;C++)g+=String.fromCharCode(w[C]);var Q=u();c({data:g,addLength1:!0,objectId:Q}),l("endobj");var x=u();c({data:r(a.metadata.toUnicode),addLength1:!0,objectId:x}),l("endobj");var F=u();l("<<"),l("/Type /FontDescriptor"),l("/FontName /"+Yi(a.fontName)),l("/FontFile2 "+Q+" 0 R"),l("/FontBBox "+t.API.PDFObject.convert(a.metadata.bbox)),l("/Flags "+a.metadata.flags),l("/StemV "+a.metadata.stemV),l("/ItalicAngle "+a.metadata.italicAngle),l("/Ascent "+a.metadata.ascender),l("/Descent "+a.metadata.decender),l("/CapHeight "+a.metadata.capHeight),l(">>"),l("endobj");var k=u();l("<<"),l("/Type /Font"),l("/BaseFont /"+Yi(a.fontName)),l("/FontDescriptor "+F+" 0 R"),l("/W "+t.API.PDFObject.convert(B)),l("/CIDToGIDMap /Identity"),l("/DW 1000"),l("/Subtype /CIDFontType2"),l("/CIDSystemInfo"),l("<<"),l("/Supplement 0"),l("/Registry (Adobe)"),l("/Ordering ("+a.encoding+")"),l(">>"),l(">>"),l("endobj"),a.objectNumber=u(),l("<<"),l("/Type /Font"),l("/Subtype /Type0"),l("/ToUnicode "+x+" 0 R"),l("/BaseFont /"+Yi(a.fontName)),l("/Encoding /"+a.encoding),l("/DescendantFonts ["+k+" 0 R]"),l(">>"),l("endobj"),a.isAlreadyPutted=!0}})(i)}]),A.events.push(["putFont",function(i){(function(s){var a=s.font,l=s.out,u=s.newObject,c=s.putStream;if(a.metadata instanceof t.API.TTFFont&&a.encoding==="WinAnsiEncoding"){for(var B=a.metadata.rawData,w="",g=0;g<B.length;g++)w+=String.fromCharCode(B[g]);var C=u();c({data:w,addLength1:!0,objectId:C}),l("endobj");var Q=u();c({data:r(a.metadata.toUnicode),addLength1:!0,objectId:Q}),l("endobj");var x=u();l("<<"),l("/Descent "+a.metadata.decender),l("/CapHeight "+a.metadata.capHeight),l("/StemV "+a.metadata.stemV),l("/Type /FontDescriptor"),l("/FontFile2 "+C+" 0 R"),l("/Flags 96"),l("/FontBBox "+t.API.PDFObject.convert(a.metadata.bbox)),l("/FontName /"+Yi(a.fontName)),l("/ItalicAngle "+a.metadata.italicAngle),l("/Ascent "+a.metadata.ascender),l(">>"),l("endobj"),a.objectNumber=u();for(var F=0;F<a.metadata.hmtx.widths.length;F++)a.metadata.hmtx.widths[F]=parseInt(a.metadata.hmtx.widths[F]*(1e3/a.metadata.head.unitsPerEm));l("<</Subtype/TrueType/Type/Font/ToUnicode "+Q+" 0 R/BaseFont/"+Yi(a.fontName)+"/FontDescriptor "+x+" 0 R/Encoding/"+a.encoding+" /FirstChar 29 /LastChar 255 /Widths "+t.API.PDFObject.convert(a.metadata.hmtx.widths)+">>"),l("endobj"),a.isAlreadyPutted=!0}})(i)}]);var n=function(i){var s,a=i.text||"",l=i.x,u=i.y,c=i.options||{},B=i.mutex||{},w=B.pdfEscape,g=B.activeFontKey,C=B.fonts,Q=g,x="",F=0,k="",K=C[Q].encoding;if(C[Q].encoding!=="Identity-H")return{text:a,x:l,y:u,options:c,mutex:B};for(k=a,Q=g,Array.isArray(a)&&(k=a[0]),F=0;F<k.length;F+=1)C[Q].metadata.hasOwnProperty("cmap")&&(s=C[Q].metadata.cmap.unicode.codeMap[k[F].charCodeAt(0)]),s||k[F].charCodeAt(0)<256&&C[Q].metadata.hasOwnProperty("Unicode")?x+=k[F]:x+="";var P="";return parseInt(Q.slice(1))<14||K==="WinAnsiEncoding"?P=w(x,Q).split("").map(function(z){return z.charCodeAt(0).toString(16)}).join(""):K==="Identity-H"&&(P=e(x,C[Q])),B.isHex=!0,{text:P,x:l,y:u,options:c,mutex:B}};A.events.push(["postProcessText",function(i){var s=i.text||"",a=[],l={text:s,x:i.x,y:i.y,options:i.options,mutex:i.mutex};if(Array.isArray(s)){var u=0;for(u=0;u<s.length;u+=1)Array.isArray(s[u])&&s[u].length===3?a.push([n(Object.assign({},l,{text:s[u][0]})).text,s[u][1],s[u][2]]):a.push(n(Object.assign({},l,{text:s[u]})).text);i.text=a}else i.text=n(Object.assign({},l,{text:s})).text}])})(MA),(function(t){var A=function(){return this.internal.vFS===void 0&&(this.internal.vFS={}),!0};t.existsFileInVFS=function(e){return A.call(this),this.internal.vFS[e]!==void 0},t.addFileToVFS=function(e,r){return A.call(this),this.internal.vFS[e]=r,this},t.getFileFromVFS=function(e){return A.call(this),this.internal.vFS[e]!==void 0?this.internal.vFS[e]:null}})(MA.API),(function(t){t.__bidiEngine__=t.prototype.__bidiEngine__=function(r){var n,i,s,a,l,u,c,B=A,w=[[0,3,0,1,0,0,0],[0,3,0,1,2,2,0],[0,3,0,17,2,0,1],[0,3,5,5,4,1,0],[0,3,21,21,4,0,1],[0,3,5,5,4,2,0]],g=[[2,0,1,1,0,1,0],[2,0,1,1,0,2,0],[2,0,2,1,3,2,0],[2,0,2,33,3,1,1]],C={L:0,R:1,EN:2,AN:3,N:4,B:5,S:6},Q={0:0,5:1,6:2,7:3,32:4,251:5,254:6,255:7},x=["(",")","(","<",">","<","[","]","[","{","}","{","«","»","«","‹","›","‹","⁅","⁆","⁅","⁽","⁾","⁽","₍","₎","₍","≤","≥","≤","〈","〉","〈","﹙","﹚","﹙","﹛","﹜","﹛","﹝","﹞","﹝","﹤","﹥","﹤"],F=new RegExp(/^([1-4|9]|1[0-9]|2[0-9]|3[0168]|4[04589]|5[012]|7[78]|159|16[0-9]|17[0-2]|21[569]|22[03489]|250)$/),k=!1,K=0;this.__bidiEngine__={};var P=function(E){var S=E.charCodeAt(),R=S>>8,G=Q[R];return G!==void 0?B[256*G+(255&S)]:R===252||R===253?"AL":F.test(R)?"L":R===8?"R":"N"},z=function(E){for(var S,R=0;R<E.length;R++){if((S=P(E.charAt(R)))==="L")return!1;if(S==="R")return!0}return!1},Z=function(E,S,R,G){var aA,sA,oA,tA,lA=S[G];switch(lA){case"L":case"R":case"LRE":case"RLE":case"LRO":case"RLO":case"PDF":k=!1;break;case"N":case"AN":break;case"EN":k&&(lA="AN");break;case"AL":k=!0,lA="R";break;case"WS":case"BN":lA="N";break;case"CS":G<1||G+1>=S.length||(aA=R[G-1])!=="EN"&&aA!=="AN"||(sA=S[G+1])!=="EN"&&sA!=="AN"?lA="N":k&&(sA="AN"),lA=sA===aA?sA:"N";break;case"ES":lA=(aA=G>0?R[G-1]:"B")==="EN"&&G+1<S.length&&S[G+1]==="EN"?"EN":"N";break;case"ET":if(G>0&&R[G-1]==="EN"){lA="EN";break}if(k){lA="N";break}for(oA=G+1,tA=S.length;oA<tA&&S[oA]==="ET";)oA++;lA=oA<tA&&S[oA]==="EN"?"EN":"N";break;case"NSM":if(s&&!a){for(tA=S.length,oA=G+1;oA<tA&&S[oA]==="NSM";)oA++;if(oA<tA){var FA=E[G],pA=FA>=1425&&FA<=2303||FA===64286;if(aA=S[oA],pA&&(aA==="R"||aA==="AL")){lA="R";break}}}lA=G<1||(aA=S[G-1])==="B"?"N":R[G-1];break;case"B":k=!1,n=!0,lA=K;break;case"S":i=!0,lA="N"}return lA},iA=function(E,S,R){var G=E.split("");return R&&V(G,R,{hiLevel:K}),G.reverse(),S&&S.reverse(),G.join("")},V=function(E,S,R){var G,aA,sA,oA,tA,lA=-1,FA=E.length,pA=0,b=[],O=K?g:w,M=[];for(k=!1,n=!1,i=!1,aA=0;aA<FA;aA++)M[aA]=P(E[aA]);for(sA=0;sA<FA;sA++){if(tA=pA,b[sA]=Z(E,M,b,sA),G=240&(pA=O[tA][C[b[sA]]]),pA&=15,S[sA]=oA=O[pA][5],G>0)if(G===16){for(aA=lA;aA<sA;aA++)S[aA]=1;lA=-1}else lA=-1;if(O[pA][6])lA===-1&&(lA=sA);else if(lA>-1){for(aA=lA;aA<sA;aA++)S[aA]=oA;lA=-1}M[sA]==="B"&&(S[sA]=0),R.hiLevel|=oA}i&&(function(q,X,eA){for(var uA=0;uA<eA;uA++)if(q[uA]==="S"){X[uA]=K;for(var fA=uA-1;fA>=0&&q[fA]==="WS";fA--)X[fA]=K}})(M,S,FA)},N=function(E,S,R,G,aA){if(!(aA.hiLevel<E)){if(E===1&&K===1&&!n)return S.reverse(),void(R&&R.reverse());for(var sA,oA,tA,lA,FA=S.length,pA=0;pA<FA;){if(G[pA]>=E){for(tA=pA+1;tA<FA&&G[tA]>=E;)tA++;for(lA=pA,oA=tA-1;lA<oA;lA++,oA--)sA=S[lA],S[lA]=S[oA],S[oA]=sA,R&&(sA=R[lA],R[lA]=R[oA],R[oA]=sA);pA=tA}pA++}}},$=function(E,S,R){var G=E.split(""),aA={hiLevel:K};return R||(R=[]),V(G,R,aA),(function(sA,oA,tA){if(tA.hiLevel!==0&&c)for(var lA,FA=0;FA<sA.length;FA++)oA[FA]===1&&(lA=x.indexOf(sA[FA]))>=0&&(sA[FA]=x[lA+1])})(G,R,aA),N(2,G,S,R,aA),N(1,G,S,R,aA),G.join("")};return this.__bidiEngine__.doBidiReorder=function(E,S,R){if((function(aA,sA){if(sA)for(var oA=0;oA<aA.length;oA++)sA[oA]=oA;a===void 0&&(a=z(aA)),u===void 0&&(u=z(aA))})(E,S),s||!l||u)if(s&&l&&a^u)K=a?1:0,E=iA(E,S,R);else if(!s&&l&&u)K=a?1:0,E=$(E,S,R),E=iA(E,S);else if(!s||a||l||u){if(s&&!l&&a^u)E=iA(E,S),a?(K=0,E=$(E,S,R)):(K=1,E=$(E,S,R),E=iA(E,S));else if(s&&a&&!l&&u)K=1,E=$(E,S,R),E=iA(E,S);else if(!s&&!l&&a^u){var G=c;a?(K=1,E=$(E,S,R),K=0,c=!1,E=$(E,S,R),c=G):(K=0,E=$(E,S,R),E=iA(E,S),K=1,c=!1,E=$(E,S,R),c=G,E=iA(E,S))}}else K=0,E=$(E,S,R);else K=a?1:0,E=$(E,S,R);return E},this.__bidiEngine__.setOptions=function(E){E&&(s=E.isInputVisual,l=E.isOutputVisual,a=E.isInputRtl,u=E.isOutputRtl,c=E.isSymmetricSwapping)},this.__bidiEngine__.setOptions(r),this.__bidiEngine__};var A=["BN","BN","BN","BN","BN","BN","BN","BN","BN","S","B","S","WS","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","B","B","B","S","WS","N","N","ET","ET","ET","N","N","N","N","N","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","BN","BN","BN","BN","BN","BN","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","CS","N","ET","ET","ET","ET","N","N","N","N","L","N","N","BN","N","N","ET","ET","EN","EN","N","L","N","N","N","EN","L","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","N","N","N","N","N","ET","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","R","NSM","R","NSM","NSM","R","NSM","NSM","R","NSM","N","N","N","N","N","N","N","N","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","N","N","N","N","N","R","R","R","R","R","N","N","N","N","N","N","N","N","N","N","N","AN","AN","AN","AN","AN","AN","N","N","AL","ET","ET","AL","CS","AL","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","AN","AN","AN","AN","AN","AN","AN","AN","AN","ET","AN","AN","AL","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","N","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","NSM","NSM","N","NSM","NSM","NSM","NSM","AL","AL","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","N","N","N","N","N","N","N","N","N","N","N","N","N","N","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","R","R","N","N","N","N","R","N","N","N","N","N","WS","WS","WS","WS","WS","WS","WS","WS","WS","WS","WS","BN","BN","BN","L","R","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","WS","B","LRE","RLE","PDF","LRO","RLO","CS","ET","ET","ET","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","CS","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","WS","BN","BN","BN","BN","BN","N","LRI","RLI","FSI","PDI","BN","BN","BN","BN","BN","BN","EN","L","N","N","EN","EN","EN","EN","EN","EN","ES","ES","N","N","N","L","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","ES","ES","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","L","L","N","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","N","N","N","N","N","R","NSM","R","R","R","R","R","R","R","R","R","R","ES","R","R","R","R","R","R","R","R","R","R","R","R","R","N","R","R","R","R","R","N","R","N","R","R","N","R","R","N","R","R","R","R","R","R","R","R","R","R","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","CS","N","CS","N","N","CS","N","N","N","N","N","N","N","N","N","ET","N","N","ES","ES","N","N","N","N","N","ET","ET","N","N","N","N","N","AL","AL","AL","AL","AL","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","N","BN","N","N","N","ET","ET","ET","N","N","N","N","N","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","L","L","L","L","L","L","N","N","L","L","L","L","L","L","N","N","L","L","L","L","L","L","N","N","L","L","L","N","N","N","ET","ET","N","N","N","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N"],e=new t.__bidiEngine__({isInputVisual:!0});t.API.events.push(["postProcessText",function(r){var n=r.text;r.x,r.y;var i=r.options||{};r.mutex,i.lang;var s=[];if(i.isInputVisual=typeof i.isInputVisual!="boolean"||i.isInputVisual,e.setOptions(i),Object.prototype.toString.call(n)==="[object Array]"){var a=0;for(s=[],a=0;a<n.length;a+=1)Object.prototype.toString.call(n[a])==="[object Array]"?s.push([e.doBidiReorder(n[a][0]),n[a][1],n[a][2]]):s.push([e.doBidiReorder(n[a])]);r.text=s}else r.text=e.doBidiReorder(n);e.setOptions({isInputVisual:!0})}])})(MA),MA.API.TTFFont=(function(){function t(A){var e;if(this.rawData=A,e=this.contents=new On(A),this.contents.pos=4,e.readString(4)==="ttcf")throw new Error("TTCF not supported.");e.pos=0,this.parse(),this.subset=new up(this),this.registerTTF()}return t.open=function(A){return new t(A)},t.prototype.parse=function(){return this.directory=new z2(this.contents),this.head=new Z2(this),this.name=new rp(this),this.cmap=new vg(this),this.toUnicode={},this.hhea=new $2(this),this.maxp=new np(this),this.hmtx=new ip(this),this.post=new ep(this),this.os2=new Ap(this),this.loca=new lp(this),this.glyf=new ap(this),this.ascender=this.os2.exists&&this.os2.ascender||this.hhea.ascender,this.decender=this.os2.exists&&this.os2.decender||this.hhea.decender,this.lineGap=this.os2.exists&&this.os2.lineGap||this.hhea.lineGap,this.bbox=[this.head.xMin,this.head.yMin,this.head.xMax,this.head.yMax]},t.prototype.registerTTF=function(){var A,e,r,n,i;if(this.scaleFactor=1e3/this.head.unitsPerEm,this.bbox=function(){var s,a,l,u;for(u=[],s=0,a=(l=this.bbox).length;s<a;s++)A=l[s],u.push(Math.round(A*this.scaleFactor));return u}.call(this),this.stemV=0,this.post.exists?(r=255&(n=this.post.italic_angle),32768&(e=n>>16)&&(e=-(1+(65535^e))),this.italicAngle=+(e+"."+r)):this.italicAngle=0,this.ascender=Math.round(this.ascender*this.scaleFactor),this.decender=Math.round(this.decender*this.scaleFactor),this.lineGap=Math.round(this.lineGap*this.scaleFactor),this.capHeight=this.os2.exists&&this.os2.capHeight||this.ascender,this.xHeight=this.os2.exists&&this.os2.xHeight||0,this.familyClass=(this.os2.exists&&this.os2.familyClass||0)>>8,this.isSerif=(i=this.familyClass)===1||i===2||i===3||i===4||i===5||i===7,this.isScript=this.familyClass===10,this.flags=0,this.post.isFixedPitch&&(this.flags|=1),this.isSerif&&(this.flags|=2),this.isScript&&(this.flags|=8),this.italicAngle!==0&&(this.flags|=64),this.flags|=32,!this.cmap.unicode)throw new Error("No unicode cmap for font")},t.prototype.characterToGlyph=function(A){var e;return((e=this.cmap.unicode)!=null?e.codeMap[A]:void 0)||0},t.prototype.widthOfGlyph=function(A){var e;return e=1e3/this.head.unitsPerEm,this.hmtx.forGlyph(A).advance*e},t.prototype.widthOfString=function(A,e,r){var n,i,s,a;for(s=0,i=0,a=(A=""+A).length;0<=a?i<a:i>a;i=0<=a?++i:--i)n=A.charCodeAt(i),s+=this.widthOfGlyph(this.characterToGlyph(n))+r*(1e3/e)||0;return s*(e/1e3)},t.prototype.lineHeight=function(A,e){var r;return e==null&&(e=!1),r=e?this.lineGap:0,(this.ascender+r-this.decender)/1e3*A},t})();var Qr,On=(function(){function t(A){this.data=A??[],this.pos=0,this.length=this.data.length}return t.prototype.readByte=function(){return this.data[this.pos++]},t.prototype.writeByte=function(A){return this.data[this.pos++]=A},t.prototype.readUInt32=function(){return 16777216*this.readByte()+(this.readByte()<<16)+(this.readByte()<<8)+this.readByte()},t.prototype.writeUInt32=function(A){return this.writeByte(A>>>24&255),this.writeByte(A>>16&255),this.writeByte(A>>8&255),this.writeByte(255&A)},t.prototype.readInt32=function(){var A;return(A=this.readUInt32())>=2147483648?A-4294967296:A},t.prototype.writeInt32=function(A){return A<0&&(A+=4294967296),this.writeUInt32(A)},t.prototype.readUInt16=function(){return this.readByte()<<8|this.readByte()},t.prototype.writeUInt16=function(A){return this.writeByte(A>>8&255),this.writeByte(255&A)},t.prototype.readInt16=function(){var A;return(A=this.readUInt16())>=32768?A-65536:A},t.prototype.writeInt16=function(A){return A<0&&(A+=65536),this.writeUInt16(A)},t.prototype.readString=function(A){var e,r;for(r=[],e=0;0<=A?e<A:e>A;e=0<=A?++e:--e)r[e]=String.fromCharCode(this.readByte());return r.join("")},t.prototype.writeString=function(A){var e,r,n;for(n=[],e=0,r=A.length;0<=r?e<r:e>r;e=0<=r?++e:--e)n.push(this.writeByte(A.charCodeAt(e)));return n},t.prototype.readShort=function(){return this.readInt16()},t.prototype.writeShort=function(A){return this.writeInt16(A)},t.prototype.readLongLong=function(){var A,e,r,n,i,s,a,l;return A=this.readByte(),e=this.readByte(),r=this.readByte(),n=this.readByte(),i=this.readByte(),s=this.readByte(),a=this.readByte(),l=this.readByte(),128&A?-1*(72057594037927940*(255^A)+281474976710656*(255^e)+1099511627776*(255^r)+4294967296*(255^n)+16777216*(255^i)+65536*(255^s)+256*(255^a)+(255^l)+1):72057594037927940*A+281474976710656*e+1099511627776*r+4294967296*n+16777216*i+65536*s+256*a+l},t.prototype.writeLongLong=function(A){var e,r;return e=Math.floor(A/4294967296),r=4294967295&A,this.writeByte(e>>24&255),this.writeByte(e>>16&255),this.writeByte(e>>8&255),this.writeByte(255&e),this.writeByte(r>>24&255),this.writeByte(r>>16&255),this.writeByte(r>>8&255),this.writeByte(255&r)},t.prototype.readInt=function(){return this.readInt32()},t.prototype.writeInt=function(A){return this.writeInt32(A)},t.prototype.read=function(A){var e,r;for(e=[],r=0;0<=A?r<A:r>A;r=0<=A?++r:--r)e.push(this.readByte());return e},t.prototype.write=function(A){var e,r,n,i;for(i=[],r=0,n=A.length;r<n;r++)e=A[r],i.push(this.writeByte(e));return i},t})(),z2=(function(){var t;function A(e){var r,n,i;for(this.scalarType=e.readInt(),this.tableCount=e.readShort(),this.searchRange=e.readShort(),this.entrySelector=e.readShort(),this.rangeShift=e.readShort(),this.tables={},n=0,i=this.tableCount;0<=i?n<i:n>i;n=0<=i?++n:--n)r={tag:e.readString(4),checksum:e.readInt(),offset:e.readInt(),length:e.readInt()},this.tables[r.tag]=r}return A.prototype.encode=function(e){var r,n,i,s,a,l,u,c,B,w,g,C,Q;for(Q in g=Object.keys(e).length,l=Math.log(2),B=16*Math.floor(Math.log(g)/l),s=Math.floor(B/l),c=16*g-B,(n=new On).writeInt(this.scalarType),n.writeShort(g),n.writeShort(B),n.writeShort(s),n.writeShort(c),i=16*g,u=n.pos+i,a=null,C=[],e)for(w=e[Q],n.writeString(Q),n.writeInt(t(w)),n.writeInt(u),n.writeInt(w.length),C=C.concat(w),Q==="head"&&(a=u),u+=w.length;u%4;)C.push(0),u++;return n.write(C),r=2981146554-t(n.data),n.pos=a+8,n.writeUInt32(r),n.data},t=function(e){var r,n,i,s;for(e=mg.call(e);e.length%4;)e.push(0);for(i=new On(e),n=0,r=0,s=e.length;r<s;r=r+=4)n+=i.readUInt32();return 4294967295&n},A})(),Y2={}.hasOwnProperty,Mr=function(t,A){for(var e in A)Y2.call(A,e)&&(t[e]=A[e]);function r(){this.constructor=t}return r.prototype=A.prototype,t.prototype=new r,t.__super__=A.prototype,t};Qr=(function(){function t(A){var e;this.file=A,e=this.file.directory.tables[this.tag],this.exists=!!e,e&&(this.offset=e.offset,this.length=e.length,this.parse(this.file.contents))}return t.prototype.parse=function(){},t.prototype.encode=function(){},t.prototype.raw=function(){return this.exists?(this.file.contents.pos=this.offset,this.file.contents.read(this.length)):null},t})();var Z2=(function(){function t(){return t.__super__.constructor.apply(this,arguments)}return Mr(t,Qr),t.prototype.tag="head",t.prototype.parse=function(A){return A.pos=this.offset,this.version=A.readInt(),this.revision=A.readInt(),this.checkSumAdjustment=A.readInt(),this.magicNumber=A.readInt(),this.flags=A.readShort(),this.unitsPerEm=A.readShort(),this.created=A.readLongLong(),this.modified=A.readLongLong(),this.xMin=A.readShort(),this.yMin=A.readShort(),this.xMax=A.readShort(),this.yMax=A.readShort(),this.macStyle=A.readShort(),this.lowestRecPPEM=A.readShort(),this.fontDirectionHint=A.readShort(),this.indexToLocFormat=A.readShort(),this.glyphDataFormat=A.readShort()},t.prototype.encode=function(A){var e;return(e=new On).writeInt(this.version),e.writeInt(this.revision),e.writeInt(this.checkSumAdjustment),e.writeInt(this.magicNumber),e.writeShort(this.flags),e.writeShort(this.unitsPerEm),e.writeLongLong(this.created),e.writeLongLong(this.modified),e.writeShort(this.xMin),e.writeShort(this.yMin),e.writeShort(this.xMax),e.writeShort(this.yMax),e.writeShort(this.macStyle),e.writeShort(this.lowestRecPPEM),e.writeShort(this.fontDirectionHint),e.writeShort(A),e.writeShort(this.glyphDataFormat),e.data},t})(),yh=(function(){function t(A,e){var r,n,i,s,a,l,u,c,B,w,g,C,Q,x,F,k,K;switch(this.platformID=A.readUInt16(),this.encodingID=A.readShort(),this.offset=e+A.readInt(),B=A.pos,A.pos=this.offset,this.format=A.readUInt16(),this.length=A.readUInt16(),this.language=A.readUInt16(),this.isUnicode=this.platformID===3&&this.encodingID===1&&this.format===4||this.platformID===0&&this.format===4,this.codeMap={},this.format){case 0:for(l=0;l<256;++l)this.codeMap[l]=A.readByte();break;case 4:for(g=A.readUInt16(),w=g/2,A.pos+=6,i=(function(){var P,z;for(z=[],l=P=0;0<=w?P<w:P>w;l=0<=w?++P:--P)z.push(A.readUInt16());return z})(),A.pos+=2,Q=(function(){var P,z;for(z=[],l=P=0;0<=w?P<w:P>w;l=0<=w?++P:--P)z.push(A.readUInt16());return z})(),u=(function(){var P,z;for(z=[],l=P=0;0<=w?P<w:P>w;l=0<=w?++P:--P)z.push(A.readUInt16());return z})(),c=(function(){var P,z;for(z=[],l=P=0;0<=w?P<w:P>w;l=0<=w?++P:--P)z.push(A.readUInt16());return z})(),n=(this.length-A.pos+this.offset)/2,a=(function(){var P,z;for(z=[],l=P=0;0<=n?P<n:P>n;l=0<=n?++P:--P)z.push(A.readUInt16());return z})(),l=F=0,K=i.length;F<K;l=++F)for(x=i[l],r=k=C=Q[l];C<=x?k<=x:k>=x;r=C<=x?++k:--k)c[l]===0?s=r+u[l]:(s=a[c[l]/2+(r-C)-(w-l)]||0)!==0&&(s+=u[l]),this.codeMap[r]=65535&s}A.pos=B}return t.encode=function(A,e){var r,n,i,s,a,l,u,c,B,w,g,C,Q,x,F,k,K,P,z,Z,iA,V,N,$,E,S,R,G,aA,sA,oA,tA,lA,FA,pA,b,O,M,q,X,eA,uA,fA,BA,yA,LA;switch(G=new On,s=Object.keys(A).sort(function(UA,RA){return UA-RA}),e){case"macroman":for(Q=0,x=(function(){var UA=[];for(C=0;C<256;++C)UA.push(0);return UA})(),k={0:0},i={},aA=0,lA=s.length;aA<lA;aA++)k[fA=A[n=s[aA]]]==null&&(k[fA]=++Q),i[n]={old:A[n],new:k[A[n]]},x[n]=k[A[n]];return G.writeUInt16(1),G.writeUInt16(0),G.writeUInt32(12),G.writeUInt16(0),G.writeUInt16(262),G.writeUInt16(0),G.write(x),{charMap:i,subtable:G.data,maxGlyphID:Q+1};case"unicode":for(S=[],B=[],K=0,k={},r={},F=u=null,sA=0,FA=s.length;sA<FA;sA++)k[z=A[n=s[sA]]]==null&&(k[z]=++K),r[n]={old:z,new:k[z]},a=k[z]-n,F!=null&&a===u||(F&&B.push(F),S.push(n),u=a),F=n;for(F&&B.push(F),B.push(65535),S.push(65535),$=2*(N=S.length),V=2*Math.pow(Math.log(N)/Math.LN2,2),w=Math.log(V/2)/Math.LN2,iA=2*N-V,l=[],Z=[],g=[],C=oA=0,pA=S.length;oA<pA;C=++oA){if(E=S[C],c=B[C],E===65535){l.push(0),Z.push(0);break}if(E-(R=r[E].new)>=32768)for(l.push(0),Z.push(2*(g.length+N-C)),n=tA=E;E<=c?tA<=c:tA>=c;n=E<=c?++tA:--tA)g.push(r[n].new);else l.push(R-E),Z.push(0)}for(G.writeUInt16(3),G.writeUInt16(1),G.writeUInt32(12),G.writeUInt16(4),G.writeUInt16(16+8*N+2*g.length),G.writeUInt16(0),G.writeUInt16($),G.writeUInt16(V),G.writeUInt16(w),G.writeUInt16(iA),eA=0,b=B.length;eA<b;eA++)n=B[eA],G.writeUInt16(n);for(G.writeUInt16(0),uA=0,O=S.length;uA<O;uA++)n=S[uA],G.writeUInt16(n);for(BA=0,M=l.length;BA<M;BA++)a=l[BA],G.writeUInt16(a);for(yA=0,q=Z.length;yA<q;yA++)P=Z[yA],G.writeUInt16(P);for(LA=0,X=g.length;LA<X;LA++)Q=g[LA],G.writeUInt16(Q);return{charMap:r,subtable:G.data,maxGlyphID:K+1}}},t})(),vg=(function(){function t(){return t.__super__.constructor.apply(this,arguments)}return Mr(t,Qr),t.prototype.tag="cmap",t.prototype.parse=function(A){var e,r,n;for(A.pos=this.offset,this.version=A.readUInt16(),n=A.readUInt16(),this.tables=[],this.unicode=null,r=0;0<=n?r<n:r>n;r=0<=n?++r:--r)e=new yh(A,this.offset),this.tables.push(e),e.isUnicode&&this.unicode==null&&(this.unicode=e);return!0},t.encode=function(A,e){var r,n;return e==null&&(e="macroman"),r=yh.encode(A,e),(n=new On).writeUInt16(0),n.writeUInt16(1),r.table=n.data.concat(r.subtable),r},t})(),$2=(function(){function t(){return t.__super__.constructor.apply(this,arguments)}return Mr(t,Qr),t.prototype.tag="hhea",t.prototype.parse=function(A){return A.pos=this.offset,this.version=A.readInt(),this.ascender=A.readShort(),this.decender=A.readShort(),this.lineGap=A.readShort(),this.advanceWidthMax=A.readShort(),this.minLeftSideBearing=A.readShort(),this.minRightSideBearing=A.readShort(),this.xMaxExtent=A.readShort(),this.caretSlopeRise=A.readShort(),this.caretSlopeRun=A.readShort(),this.caretOffset=A.readShort(),A.pos+=8,this.metricDataFormat=A.readShort(),this.numberOfMetrics=A.readUInt16()},t})(),Ap=(function(){function t(){return t.__super__.constructor.apply(this,arguments)}return Mr(t,Qr),t.prototype.tag="OS/2",t.prototype.parse=function(A){if(A.pos=this.offset,this.version=A.readUInt16(),this.averageCharWidth=A.readShort(),this.weightClass=A.readUInt16(),this.widthClass=A.readUInt16(),this.type=A.readShort(),this.ySubscriptXSize=A.readShort(),this.ySubscriptYSize=A.readShort(),this.ySubscriptXOffset=A.readShort(),this.ySubscriptYOffset=A.readShort(),this.ySuperscriptXSize=A.readShort(),this.ySuperscriptYSize=A.readShort(),this.ySuperscriptXOffset=A.readShort(),this.ySuperscriptYOffset=A.readShort(),this.yStrikeoutSize=A.readShort(),this.yStrikeoutPosition=A.readShort(),this.familyClass=A.readShort(),this.panose=(function(){var e,r;for(r=[],e=0;e<10;++e)r.push(A.readByte());return r})(),this.charRange=(function(){var e,r;for(r=[],e=0;e<4;++e)r.push(A.readInt());return r})(),this.vendorID=A.readString(4),this.selection=A.readShort(),this.firstCharIndex=A.readShort(),this.lastCharIndex=A.readShort(),this.version>0&&(this.ascent=A.readShort(),this.descent=A.readShort(),this.lineGap=A.readShort(),this.winAscent=A.readShort(),this.winDescent=A.readShort(),this.codePageRange=(function(){var e,r;for(r=[],e=0;e<2;e=++e)r.push(A.readInt());return r})(),this.version>1))return this.xHeight=A.readShort(),this.capHeight=A.readShort(),this.defaultChar=A.readShort(),this.breakChar=A.readShort(),this.maxContext=A.readShort()},t})(),ep=(function(){function t(){return t.__super__.constructor.apply(this,arguments)}return Mr(t,Qr),t.prototype.tag="post",t.prototype.parse=function(A){var e,r,n;switch(A.pos=this.offset,this.format=A.readInt(),this.italicAngle=A.readInt(),this.underlinePosition=A.readShort(),this.underlineThickness=A.readShort(),this.isFixedPitch=A.readInt(),this.minMemType42=A.readInt(),this.maxMemType42=A.readInt(),this.minMemType1=A.readInt(),this.maxMemType1=A.readInt(),this.format){case 65536:case 196608:break;case 131072:var i;for(r=A.readUInt16(),this.glyphNameIndex=[],i=0;0<=r?i<r:i>r;i=0<=r?++i:--i)this.glyphNameIndex.push(A.readUInt16());for(this.names=[],n=[];A.pos<this.offset+this.length;)e=A.readByte(),n.push(this.names.push(A.readString(e)));return n;case 151552:return r=A.readUInt16(),this.offsets=A.read(r);case 262144:return this.map=function(){var s,a,l;for(l=[],i=s=0,a=this.file.maxp.numGlyphs;0<=a?s<a:s>a;i=0<=a?++s:--s)l.push(A.readUInt32());return l}.call(this)}},t})(),tp=function(t,A){this.raw=t,this.length=t.length,this.platformID=A.platformID,this.encodingID=A.encodingID,this.languageID=A.languageID},rp=(function(){function t(){return t.__super__.constructor.apply(this,arguments)}return Mr(t,Qr),t.prototype.tag="name",t.prototype.parse=function(A){var e,r,n,i,s,a,l,u,c,B,w;for(A.pos=this.offset,A.readShort(),e=A.readShort(),a=A.readShort(),r=[],i=0;0<=e?i<e:i>e;i=0<=e?++i:--i)r.push({platformID:A.readShort(),encodingID:A.readShort(),languageID:A.readShort(),nameID:A.readShort(),length:A.readShort(),offset:this.offset+a+A.readShort()});for(l={},i=c=0,B=r.length;c<B;i=++c)n=r[i],A.pos=n.offset,u=A.readString(n.length),s=new tp(u,n),l[w=n.nameID]==null&&(l[w]=[]),l[n.nameID].push(s);this.strings=l,this.copyright=l[0],this.fontFamily=l[1],this.fontSubfamily=l[2],this.uniqueSubfamily=l[3],this.fontName=l[4],this.version=l[5];try{this.postscriptName=l[6][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}catch{this.postscriptName=l[4][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}return this.trademark=l[7],this.manufacturer=l[8],this.designer=l[9],this.description=l[10],this.vendorUrl=l[11],this.designerUrl=l[12],this.license=l[13],this.licenseUrl=l[14],this.preferredFamily=l[15],this.preferredSubfamily=l[17],this.compatibleFull=l[18],this.sampleText=l[19]},t})(),np=(function(){function t(){return t.__super__.constructor.apply(this,arguments)}return Mr(t,Qr),t.prototype.tag="maxp",t.prototype.parse=function(A){return A.pos=this.offset,this.version=A.readInt(),this.numGlyphs=A.readUInt16(),this.maxPoints=A.readUInt16(),this.maxContours=A.readUInt16(),this.maxCompositePoints=A.readUInt16(),this.maxComponentContours=A.readUInt16(),this.maxZones=A.readUInt16(),this.maxTwilightPoints=A.readUInt16(),this.maxStorage=A.readUInt16(),this.maxFunctionDefs=A.readUInt16(),this.maxInstructionDefs=A.readUInt16(),this.maxStackElements=A.readUInt16(),this.maxSizeOfInstructions=A.readUInt16(),this.maxComponentElements=A.readUInt16(),this.maxComponentDepth=A.readUInt16()},t})(),ip=(function(){function t(){return t.__super__.constructor.apply(this,arguments)}return Mr(t,Qr),t.prototype.tag="hmtx",t.prototype.parse=function(A){var e,r,n,i,s,a,l;for(A.pos=this.offset,this.metrics=[],e=0,a=this.file.hhea.numberOfMetrics;0<=a?e<a:e>a;e=0<=a?++e:--e)this.metrics.push({advance:A.readUInt16(),lsb:A.readInt16()});for(n=this.file.maxp.numGlyphs-this.file.hhea.numberOfMetrics,this.leftSideBearings=(function(){var u,c;for(c=[],e=u=0;0<=n?u<n:u>n;e=0<=n?++u:--u)c.push(A.readInt16());return c})(),this.widths=function(){var u,c,B,w;for(w=[],u=0,c=(B=this.metrics).length;u<c;u++)i=B[u],w.push(i.advance);return w}.call(this),r=this.widths[this.widths.length-1],l=[],e=s=0;0<=n?s<n:s>n;e=0<=n?++s:--s)l.push(this.widths.push(r));return l},t.prototype.forGlyph=function(A){return A in this.metrics?this.metrics[A]:{advance:this.metrics[this.metrics.length-1].advance,lsb:this.leftSideBearings[A-this.metrics.length]}},t})(),mg=[].slice,ap=(function(){function t(){return t.__super__.constructor.apply(this,arguments)}return Mr(t,Qr),t.prototype.tag="glyf",t.prototype.parse=function(){return this.cache={}},t.prototype.glyphFor=function(A){var e,r,n,i,s,a,l,u,c,B;return A in this.cache?this.cache[A]:(i=this.file.loca,e=this.file.contents,r=i.indexOf(A),(n=i.lengthOf(A))===0?this.cache[A]=null:(e.pos=this.offset+r,s=(a=new On(e.read(n))).readShort(),u=a.readShort(),B=a.readShort(),l=a.readShort(),c=a.readShort(),this.cache[A]=s===-1?new op(a,u,B,l,c):new sp(a,s,u,B,l,c),this.cache[A]))},t.prototype.encode=function(A,e,r){var n,i,s,a,l;for(s=[],i=[],a=0,l=e.length;a<l;a++)n=A[e[a]],i.push(s.length),n&&(s=s.concat(n.encode(r)));return i.push(s.length),{table:s,offsets:i}},t})(),sp=(function(){function t(A,e,r,n,i,s){this.raw=A,this.numberOfContours=e,this.xMin=r,this.yMin=n,this.xMax=i,this.yMax=s,this.compound=!1}return t.prototype.encode=function(){return this.raw.data},t})(),op=(function(){function t(A,e,r,n,i){var s,a;for(this.raw=A,this.xMin=e,this.yMin=r,this.xMax=n,this.yMax=i,this.compound=!0,this.glyphIDs=[],this.glyphOffsets=[],s=this.raw;a=s.readShort(),this.glyphOffsets.push(s.pos),this.glyphIDs.push(s.readUInt16()),32&a;)s.pos+=1&a?4:2,128&a?s.pos+=8:64&a?s.pos+=4:8&a&&(s.pos+=2)}return t.prototype.encode=function(){var A,e,r;for(e=new On(mg.call(this.raw.data)),A=0,r=this.glyphIDs.length;A<r;++A)e.pos=this.glyphOffsets[A];return e.data},t})(),lp=(function(){function t(){return t.__super__.constructor.apply(this,arguments)}return Mr(t,Qr),t.prototype.tag="loca",t.prototype.parse=function(A){var e,r;return A.pos=this.offset,e=this.file.head.indexToLocFormat,this.offsets=e===0?function(){var n,i;for(i=[],r=0,n=this.length;r<n;r+=2)i.push(2*A.readUInt16());return i}.call(this):function(){var n,i;for(i=[],r=0,n=this.length;r<n;r+=4)i.push(A.readUInt32());return i}.call(this)},t.prototype.indexOf=function(A){return this.offsets[A]},t.prototype.lengthOf=function(A){return this.offsets[A+1]-this.offsets[A]},t.prototype.encode=function(A,e){for(var r=new Uint32Array(this.offsets.length),n=0,i=0,s=0;s<r.length;++s)if(r[s]=n,i<e.length&&e[i]==s){++i,r[s]=n;var a=this.offsets[s],l=this.offsets[s+1]-a;l>0&&(n+=l)}for(var u=new Array(4*r.length),c=0;c<r.length;++c)u[4*c+3]=255&r[c],u[4*c+2]=(65280&r[c])>>8,u[4*c+1]=(16711680&r[c])>>16,u[4*c]=(4278190080&r[c])>>24;return u},t})(),up=(function(){function t(A){this.font=A,this.subset={},this.unicodes={},this.next=33}return t.prototype.generateCmap=function(){var A,e,r,n,i;for(e in n=this.font.cmap.tables[0].codeMap,A={},i=this.subset)r=i[e],A[e]=n[r];return A},t.prototype.glyphsFor=function(A){var e,r,n,i,s,a,l;for(n={},s=0,a=A.length;s<a;s++)n[i=A[s]]=this.font.glyf.glyphFor(i);for(i in e=[],n)(r=n[i])!=null&&r.compound&&e.push.apply(e,r.glyphIDs);if(e.length>0)for(i in l=this.glyphsFor(e))r=l[i],n[i]=r;return n},t.prototype.encode=function(A,e){var r,n,i,s,a,l,u,c,B,w,g,C,Q,x,F;for(n in r=vg.encode(this.generateCmap(),"unicode"),s=this.glyphsFor(A),g={0:0},F=r.charMap)g[(l=F[n]).old]=l.new;for(C in w=r.maxGlyphID,s)C in g||(g[C]=w++);return c=(function(k){var K,P;for(K in P={},k)P[k[K]]=K;return P})(g),B=Object.keys(c).sort(function(k,K){return k-K}),Q=(function(){var k,K,P;for(P=[],k=0,K=B.length;k<K;k++)a=B[k],P.push(c[a]);return P})(),i=this.font.glyf.encode(s,Q,g),u=this.font.loca.encode(i.offsets,Q),x={cmap:this.font.cmap.raw(),glyf:i.table,loca:u,hmtx:this.font.hmtx.raw(),hhea:this.font.hhea.raw(),maxp:this.font.maxp.raw(),post:this.font.post.raw(),name:this.font.name.raw(),head:this.font.head.encode(e)},this.font.os2.exists&&(x["OS/2"]=this.font.os2.raw()),this.font.directory.encode(x)},t})();MA.API.PDFObject=(function(){var t;function A(){}return t=function(e,r){return(Array(r+1).join("0")+e).slice(-r)},A.convert=function(e){var r,n,i,s;if(Array.isArray(e))return"["+(function(){var a,l,u;for(u=[],a=0,l=e.length;a<l;a++)r=e[a],u.push(A.convert(r));return u})().join(" ")+"]";if(typeof e=="string")return"/"+e;if(e?.isString)return"("+e+")";if(e instanceof Date)return"(D:"+t(e.getUTCFullYear(),4)+t(e.getUTCMonth(),2)+t(e.getUTCDate(),2)+t(e.getUTCHours(),2)+t(e.getUTCMinutes(),2)+t(e.getUTCSeconds(),2)+"Z)";if({}.toString.call(e)==="[object Object]"){for(n in i=["<<"],e)s=e[n],i.push("/"+n+" "+A.convert(s));return i.push(">>"),i.join(`
|
|
169
|
+
`)}return""+e},A})();function Cg(t,A,e,r,n){r=r||{};var i=1.15,s=n.internal.scaleFactor,a=n.internal.getFontSize()/s,l=n.getLineHeightFactor?n.getLineHeightFactor():i,u=a*l,c=/\r\n|\r|\n/g,B="",w=1;if((r.valign==="middle"||r.valign==="bottom"||r.halign==="center"||r.halign==="right")&&(B=typeof t=="string"?t.split(c):t,w=B.length||1),e+=a*(2-i),r.valign==="middle"?e-=w/2*u:r.valign==="bottom"&&(e-=w*u),r.halign==="center"||r.halign==="right"){var g=a;if(r.halign==="center"&&(g*=.5),B&&w>=1){for(var C=0;C<B.length;C++)n.text(B[C],A-n.getStringUnitWidth(B[C])*g,e),e+=u;return n}A-=n.getStringUnitWidth(t)*g}return r.halign==="justify"?n.text(t,A,e,{maxWidth:r.maxWidth||100,align:"justify"}):n.text(t,A,e),n}var Qh={},aa=(function(){function t(A){this.jsPDFDocument=A,this.userStyles={textColor:A.getTextColor?this.jsPDFDocument.getTextColor():0,fontSize:A.internal.getFontSize(),fontStyle:A.internal.getFont().fontStyle,font:A.internal.getFont().fontName,lineWidth:A.getLineWidth?this.jsPDFDocument.getLineWidth():0,lineColor:A.getDrawColor?this.jsPDFDocument.getDrawColor():0}}return t.setDefaults=function(A,e){e===void 0&&(e=null),e?e.__autoTableDocumentDefaults=A:Qh=A},t.unifyColor=function(A){return Array.isArray(A)?A:typeof A=="number"?[A,A,A]:typeof A=="string"?[A]:null},t.prototype.applyStyles=function(A,e){var r,n,i;e===void 0&&(e=!1),A.fontStyle&&this.jsPDFDocument.setFontStyle&&this.jsPDFDocument.setFontStyle(A.fontStyle);var s=this.jsPDFDocument.internal.getFont(),a=s.fontStyle,l=s.fontName;if(A.font&&(l=A.font),A.fontStyle){a=A.fontStyle;var u=this.getFontList()[l];u&&u.indexOf(a)===-1&&this.jsPDFDocument.setFontStyle&&(this.jsPDFDocument.setFontStyle(u[0]),a=u[0])}if(this.jsPDFDocument.setFont(l,a),A.fontSize&&this.jsPDFDocument.setFontSize(A.fontSize),!e){var c=t.unifyColor(A.fillColor);c&&(r=this.jsPDFDocument).setFillColor.apply(r,c),c=t.unifyColor(A.textColor),c&&(n=this.jsPDFDocument).setTextColor.apply(n,c),c=t.unifyColor(A.lineColor),c&&(i=this.jsPDFDocument).setDrawColor.apply(i,c),typeof A.lineWidth=="number"&&this.jsPDFDocument.setLineWidth(A.lineWidth)}},t.prototype.splitTextToSize=function(A,e,r){return this.jsPDFDocument.splitTextToSize(A,e,r)},t.prototype.rect=function(A,e,r,n,i){return this.jsPDFDocument.rect(A,e,r,n,i)},t.prototype.getLastAutoTable=function(){return this.jsPDFDocument.lastAutoTable||null},t.prototype.getTextWidth=function(A){return this.jsPDFDocument.getTextWidth(A)},t.prototype.getDocument=function(){return this.jsPDFDocument},t.prototype.setPage=function(A){this.jsPDFDocument.setPage(A)},t.prototype.addPage=function(){return this.jsPDFDocument.addPage()},t.prototype.getFontList=function(){return this.jsPDFDocument.getFontList()},t.prototype.getGlobalOptions=function(){return Qh||{}},t.prototype.getDocumentOptions=function(){return this.jsPDFDocument.__autoTableDocumentDefaults||{}},t.prototype.pageSize=function(){var A=this.jsPDFDocument.internal.pageSize;return A.width==null&&(A={width:A.getWidth(),height:A.getHeight()}),A},t.prototype.scaleFactor=function(){return this.jsPDFDocument.internal.scaleFactor},t.prototype.getLineHeightFactor=function(){var A=this.jsPDFDocument;return A.getLineHeightFactor?A.getLineHeightFactor():1.15},t.prototype.getLineHeight=function(A){return A/this.scaleFactor()*this.getLineHeightFactor()},t.prototype.pageNumber=function(){var A=this.jsPDFDocument.internal.getCurrentPageInfo();return A?A.pageNumber:this.jsPDFDocument.internal.getNumberOfPages()},t})(),Vu=function(t,A){return Vu=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])},Vu(t,A)};function Fg(t,A){if(typeof A!="function"&&A!==null)throw new TypeError("Class extends value "+String(A)+" is not a constructor or null");Vu(t,A);function e(){this.constructor=t}t.prototype=A===null?Object.create(A):(e.prototype=A.prototype,new e)}var yg=(function(t){Fg(A,t);function A(e){var r=t.call(this)||this;return r._element=e,r}return A})(Array);function fp(t){return{font:"helvetica",fontStyle:"normal",overflow:"linebreak",fillColor:!1,textColor:20,halign:"left",valign:"top",fontSize:10,cellPadding:5/t,lineColor:200,lineWidth:0,cellWidth:"auto",minCellHeight:0,minCellWidth:0}}function cp(t){var A={striped:{table:{fillColor:255,textColor:80,fontStyle:"normal"},head:{textColor:255,fillColor:[41,128,185],fontStyle:"bold"},body:{},foot:{textColor:255,fillColor:[41,128,185],fontStyle:"bold"},alternateRow:{fillColor:245}},grid:{table:{fillColor:255,textColor:80,fontStyle:"normal",lineWidth:.1},head:{textColor:255,fillColor:[26,188,156],fontStyle:"bold",lineWidth:0},body:{},foot:{textColor:255,fillColor:[26,188,156],fontStyle:"bold",lineWidth:0},alternateRow:{}},plain:{head:{fontStyle:"bold"},foot:{fontStyle:"bold"}}};return A[t]}function Do(t,A,e){e.applyStyles(A,!0);var r=Array.isArray(t)?t:[t],n=r.map(function(i){return e.getTextWidth(i)}).reduce(function(i,s){return Math.max(i,s)},0);return n}function Qg(t,A,e,r){var n=A.settings.tableLineWidth,i=A.settings.tableLineColor;t.applyStyles({lineWidth:n,lineColor:i});var s=bg(n,!1);s&&t.rect(e.x,e.y,A.getWidth(t.pageSize().width),r.y-e.y,s)}function bg(t,A){var e=t>0,r=A||A===0;return e&&r?"DF":e?"S":r?"F":null}function Jo(t,A){var e,r,n,i;if(t=t||A,Array.isArray(t)){if(t.length>=4)return{top:t[0],right:t[1],bottom:t[2],left:t[3]};if(t.length===3)return{top:t[0],right:t[1],bottom:t[2],left:t[1]};if(t.length===2)return{top:t[0],right:t[1],bottom:t[0],left:t[1]};t.length===1?t=t[0]:t=A}return typeof t=="object"?(typeof t.vertical=="number"&&(t.top=t.vertical,t.bottom=t.vertical),typeof t.horizontal=="number"&&(t.right=t.horizontal,t.left=t.horizontal),{left:(e=t.left)!==null&&e!==void 0?e:A,top:(r=t.top)!==null&&r!==void 0?r:A,right:(n=t.right)!==null&&n!==void 0?n:A,bottom:(i=t.bottom)!==null&&i!==void 0?i:A}):(typeof t!="number"&&(t=A),{top:t,right:t,bottom:t,left:t})}function Ug(t,A){var e=Jo(A.settings.margin,0);return t.pageSize().width-(e.left+e.right)}function hp(t,A,e,r,n){var i={},s=1.3333333333333333,a=lu(A,function(K){return n.getComputedStyle(K).backgroundColor});a!=null&&(i.fillColor=a);var l=lu(A,function(K){return n.getComputedStyle(K).color});l!=null&&(i.textColor=l);var u=dp(r,e);u&&(i.cellPadding=u);var c="borderTopColor",B=s*e,w=r.borderTopWidth;if(r.borderBottomWidth===w&&r.borderRightWidth===w&&r.borderLeftWidth===w){var g=(parseFloat(w)||0)/B;g&&(i.lineWidth=g)}else i.lineWidth={top:(parseFloat(r.borderTopWidth)||0)/B,right:(parseFloat(r.borderRightWidth)||0)/B,bottom:(parseFloat(r.borderBottomWidth)||0)/B,left:(parseFloat(r.borderLeftWidth)||0)/B},i.lineWidth.top||(i.lineWidth.right?c="borderRightColor":i.lineWidth.bottom?c="borderBottomColor":i.lineWidth.left&&(c="borderLeftColor"));var C=lu(A,function(K){return n.getComputedStyle(K)[c]});C!=null&&(i.lineColor=C);var Q=["left","right","center","justify"];Q.indexOf(r.textAlign)!==-1&&(i.halign=r.textAlign),Q=["middle","bottom","top"],Q.indexOf(r.verticalAlign)!==-1&&(i.valign=r.verticalAlign);var x=parseInt(r.fontSize||"");isNaN(x)||(i.fontSize=x/s);var F=gp(r);F&&(i.fontStyle=F);var k=(r.fontFamily||"").toLowerCase();return t.indexOf(k)!==-1&&(i.font=k),i}function gp(t){var A="";return(t.fontWeight==="bold"||t.fontWeight==="bolder"||parseInt(t.fontWeight)>=700)&&(A="bold"),(t.fontStyle==="italic"||t.fontStyle==="oblique")&&(A+="italic"),A}function lu(t,A){var e=Eg(t,A);if(!e)return null;var r=e.match(/^rgba?\((\d+),\s*(\d+),\s*(\d+)(?:,\s*(\d*\.?\d*))?\)$/);if(!r||!Array.isArray(r))return null;var n=[parseInt(r[1]),parseInt(r[2]),parseInt(r[3])],i=parseInt(r[4]);return i===0||isNaN(n[0])||isNaN(n[1])||isNaN(n[2])?null:n}function Eg(t,A){var e=A(t);return e==="rgba(0, 0, 0, 0)"||e==="transparent"||e==="initial"||e==="inherit"?t.parentElement==null?null:Eg(t.parentElement,A):e}function dp(t,A){var e=[t.paddingTop,t.paddingRight,t.paddingBottom,t.paddingLeft],r=96/(72/A),n=(parseInt(t.lineHeight)-parseInt(t.fontSize))/A/2,i=e.map(function(a){return parseInt(a||"0")/r}),s=Jo(i,0);return n>s.top&&(s.top=n),n>s.bottom&&(s.bottom=n),s}function Lg(t,A,e,r,n){var i,s;r===void 0&&(r=!1),n===void 0&&(n=!1);var a;typeof A=="string"?a=e.document.querySelector(A):a=A;var l=Object.keys(t.getFontList()),u=t.scaleFactor(),c=[],B=[],w=[];if(!a)return console.error("Html table could not be found with input: ",A),{head:c,body:B,foot:w};for(var g=0;g<a.rows.length;g++){var C=a.rows[g],Q=(s=(i=C?.parentElement)===null||i===void 0?void 0:i.tagName)===null||s===void 0?void 0:s.toLowerCase(),x=Bp(l,u,e,C,r,n);x&&(Q==="thead"?c.push(x):Q==="tfoot"?w.push(x):B.push(x))}return{head:c,body:B,foot:w}}function Bp(t,A,e,r,n,i){for(var s=new yg(r),a=0;a<r.cells.length;a++){var l=r.cells[a],u=e.getComputedStyle(l);if(n||u.display!=="none"){var c=void 0;i&&(c=hp(t,l,A,u,e)),s.push({rowSpan:l.rowSpan,colSpan:l.colSpan,styles:c,_element:l,content:pp(l)})}}var B=e.getComputedStyle(r);if(s.length>0&&(n||B.display!=="none"))return s}function pp(t){var A=t.cloneNode(!0);return A.innerHTML=A.innerHTML.replace(/\n/g,"").replace(/ +/g," "),A.innerHTML=A.innerHTML.split(/<br.*?>/).map(function(e){return e.trim()}).join(`
|
|
170
|
+
`),A.innerText||A.textContent||""}function wp(t,A,e){for(var r=0,n=[t,A,e];r<n.length;r++){var i=n[r];i&&typeof i!="object"&&console.error("The options parameter should be of type object, is: "+typeof i),i.startY&&typeof i.startY!="number"&&(console.error("Invalid value for startY option",i.startY),delete i.startY)}}function ln(t,A,e,r,n){if(t==null)throw new TypeError("Cannot convert undefined or null to object");for(var i=Object(t),s=1;s<arguments.length;s++){var a=arguments[s];if(a!=null)for(var l in a)Object.prototype.hasOwnProperty.call(a,l)&&(i[l]=a[l])}return i}function vp(t,A){var e=new aa(t),r=e.getDocumentOptions(),n=e.getGlobalOptions();wp(n,r,A);var i=ln({},n,r,A),s;typeof window<"u"&&(s=window);var a=mp(n,r,A),l=Cp(n,r,A),u=Fp(e,i),c=Qp(e,i,s);return{id:A.tableId,content:c,hooks:l,styles:a,settings:u}}function mp(t,A,e){for(var r={styles:{},headStyles:{},bodyStyles:{},footStyles:{},alternateRowStyles:{},columnStyles:{}},n=function(l){if(l==="columnStyles"){var u=t[l],c=A[l],B=e[l];r.columnStyles=ln({},u,c,B)}else{var w=[t,A,e],g=w.map(function(C){return C[l]||{}});r[l]=ln({},g[0],g[1],g[2])}},i=0,s=Object.keys(r);i<s.length;i++){var a=s[i];n(a)}return r}function Cp(t,A,e){for(var r=[t,A,e],n={didParseCell:[],willDrawCell:[],didDrawCell:[],willDrawPage:[],didDrawPage:[]},i=0,s=r;i<s.length;i++){var a=s[i];a.didParseCell&&n.didParseCell.push(a.didParseCell),a.willDrawCell&&n.willDrawCell.push(a.willDrawCell),a.didDrawCell&&n.didDrawCell.push(a.didDrawCell),a.willDrawPage&&n.willDrawPage.push(a.willDrawPage),a.didDrawPage&&n.didDrawPage.push(a.didDrawPage)}return n}function Fp(t,A){var e,r,n,i,s,a,l,u,c,B,w,g,C=Jo(A.margin,40/t.scaleFactor()),Q=(e=yp(t,A.startY))!==null&&e!==void 0?e:C.top,x;A.showFoot===!0?x="everyPage":A.showFoot===!1?x="never":x=(r=A.showFoot)!==null&&r!==void 0?r:"everyPage";var F;A.showHead===!0?F="everyPage":A.showHead===!1?F="never":F=(n=A.showHead)!==null&&n!==void 0?n:"everyPage";var k=(i=A.useCss)!==null&&i!==void 0?i:!1,K=A.theme||(k?"plain":"striped"),P=!!A.horizontalPageBreak,z=(s=A.horizontalPageBreakRepeat)!==null&&s!==void 0?s:null;return{includeHiddenHtml:(a=A.includeHiddenHtml)!==null&&a!==void 0?a:!1,useCss:k,theme:K,startY:Q,margin:C,pageBreak:(l=A.pageBreak)!==null&&l!==void 0?l:"auto",rowPageBreak:(u=A.rowPageBreak)!==null&&u!==void 0?u:"auto",tableWidth:(c=A.tableWidth)!==null&&c!==void 0?c:"auto",showHead:F,showFoot:x,tableLineWidth:(B=A.tableLineWidth)!==null&&B!==void 0?B:0,tableLineColor:(w=A.tableLineColor)!==null&&w!==void 0?w:200,horizontalPageBreak:P,horizontalPageBreakRepeat:z,horizontalPageBreakBehaviour:(g=A.horizontalPageBreakBehaviour)!==null&&g!==void 0?g:"afterAllRows"}}function yp(t,A){var e=t.getLastAutoTable(),r=t.scaleFactor(),n=t.pageNumber(),i=!1;if(e&&e.startPageNumber){var s=e.startPageNumber+e.pageNumber-1;i=s===n}return typeof A=="number"?A:(A==null||A===!1)&&i&&e?.finalY!=null?e.finalY+20/r:null}function Qp(t,A,e){var r=A.head||[],n=A.body||[],i=A.foot||[];if(A.html){var s=A.includeHiddenHtml;if(e){var a=Lg(t,A.html,e,s,A.useCss)||{};r=a.head||r,n=a.body||r,i=a.foot||r}else console.error("Cannot parse html in non browser environment")}var l=A.columns||bp(r,n,i);return{columns:l,head:r,body:n,foot:i}}function bp(t,A,e){var r=t[0]||A[0]||e[0]||[],n=[];return Object.keys(r).filter(function(i){return i!=="_element"}).forEach(function(i){var s=1,a;Array.isArray(r)?a=r[parseInt(i)]:a=r[i],typeof a=="object"&&!Array.isArray(a)&&(s=a?.colSpan||1);for(var l=0;l<s;l++){var u=void 0;Array.isArray(r)?u=n.length:u=i+(l>0?"_".concat(l):"");var c={dataKey:u};n.push(c)}}),n}var qu=(function(){function t(A,e,r){this.table=e,this.pageNumber=e.pageNumber,this.settings=e.settings,this.cursor=r,this.doc=A.getDocument()}return t})(),Up=(function(t){Fg(A,t);function A(e,r,n,i,s,a){var l=t.call(this,e,r,a)||this;return l.cell=n,l.row=i,l.column=s,l.section=i.section,l}return A})(qu),Ep=(function(){function t(A,e){this.pageNumber=1,this.id=A.id,this.settings=A.settings,this.styles=A.styles,this.hooks=A.hooks,this.columns=e.columns,this.head=e.head,this.body=e.body,this.foot=e.foot}return t.prototype.getHeadHeight=function(A){return this.head.reduce(function(e,r){return e+r.getMaxCellHeight(A)},0)},t.prototype.getFootHeight=function(A){return this.foot.reduce(function(e,r){return e+r.getMaxCellHeight(A)},0)},t.prototype.allRows=function(){return this.head.concat(this.body).concat(this.foot)},t.prototype.callCellHooks=function(A,e,r,n,i,s){for(var a=0,l=e;a<l.length;a++){var u=l[a],c=new Up(A,this,r,n,i,s),B=u(c)===!1;if(r.text=Array.isArray(r.text)?r.text:[r.text],B)return!1}return!0},t.prototype.callEndPageHooks=function(A,e){A.applyStyles(A.userStyles);for(var r=0,n=this.hooks.didDrawPage;r<n.length;r++){var i=n[r];i(new qu(A,this,e))}},t.prototype.callWillDrawPageHooks=function(A,e){for(var r=0,n=this.hooks.willDrawPage;r<n.length;r++){var i=n[r];i(new qu(A,this,e))}},t.prototype.getWidth=function(A){if(typeof this.settings.tableWidth=="number")return this.settings.tableWidth;if(this.settings.tableWidth==="wrap"){var e=this.columns.reduce(function(n,i){return n+i.wrappedWidth},0);return e}else{var r=this.settings.margin;return A-r.left-r.right}},t})(),xg=(function(){function t(A,e,r,n,i){i===void 0&&(i=!1),this.height=0,this.raw=A,A instanceof yg&&(this.raw=A._element,this.element=A._element),this.index=e,this.section=r,this.cells=n,this.spansMultiplePages=i}return t.prototype.getMaxCellHeight=function(A){var e=this;return A.reduce(function(r,n){var i;return Math.max(r,((i=e.cells[n.index])===null||i===void 0?void 0:i.height)||0)},0)},t.prototype.hasRowSpan=function(A){var e=this;return A.filter(function(r){var n=e.cells[r.index];return n?n.rowSpan>1:!1}).length>0},t.prototype.canEntireRowFit=function(A,e){return this.getMaxCellHeight(e)<=A},t.prototype.getMinimumRowHeight=function(A,e){var r=this;return A.reduce(function(n,i){var s=r.cells[i.index];if(!s)return 0;var a=e.getLineHeight(s.styles.fontSize),l=s.padding("vertical"),u=l+a;return u>n?u:n},0)},t})(),Ig=(function(){function t(A,e,r){var n;this.contentHeight=0,this.contentWidth=0,this.wrappedWidth=0,this.minReadableWidth=0,this.minWidth=0,this.width=0,this.height=0,this.x=0,this.y=0,this.styles=e,this.section=r,this.raw=A;var i=A;A!=null&&typeof A=="object"&&!Array.isArray(A)?(this.rowSpan=A.rowSpan||1,this.colSpan=A.colSpan||1,i=(n=A.content)!==null&&n!==void 0?n:A,A._element&&(this.raw=A._element)):(this.rowSpan=1,this.colSpan=1);var s=i!=null?""+i:"",a=/\r\n|\r|\n/g;this.text=s.split(a)}return t.prototype.getTextPos=function(){var A;if(this.styles.valign==="top")A=this.y+this.padding("top");else if(this.styles.valign==="bottom")A=this.y+this.height-this.padding("bottom");else{var e=this.height-this.padding("vertical");A=this.y+e/2+this.padding("top")}var r;if(this.styles.halign==="right")r=this.x+this.width-this.padding("right");else if(this.styles.halign==="center"){var n=this.width-this.padding("horizontal");r=this.x+n/2+this.padding("left")}else r=this.x+this.padding("left");return{x:r,y:A}},t.prototype.getContentHeight=function(A,e){e===void 0&&(e=1.15);var r=Array.isArray(this.text)?this.text.length:1,n=this.styles.fontSize/A*e,i=r*n+this.padding("vertical");return Math.max(i,this.styles.minCellHeight)},t.prototype.padding=function(A){var e=Jo(this.styles.cellPadding,0);return A==="vertical"?e.top+e.bottom:A==="horizontal"?e.left+e.right:e[A]},t})(),Lp=(function(){function t(A,e,r){this.wrappedWidth=0,this.minReadableWidth=0,this.minWidth=0,this.width=0,this.dataKey=A,this.raw=e,this.index=r}return t.prototype.getMaxCustomCellWidth=function(A){for(var e=0,r=0,n=A.allRows();r<n.length;r++){var i=n[r],s=i.cells[this.index];s&&typeof s.styles.cellWidth=="number"&&(e=Math.max(e,s.styles.cellWidth))}return e},t})();function xp(t,A){Ip(t,A);var e=[],r=0;A.columns.forEach(function(i){var s=i.getMaxCustomCellWidth(A);s?i.width=s:(i.width=i.wrappedWidth,e.push(i)),r+=i.width});var n=A.getWidth(t.pageSize().width)-r;n&&(n=Wu(e,n,function(i){return Math.max(i.minReadableWidth,i.minWidth)})),n&&(n=Wu(e,n,function(i){return i.minWidth})),n=Math.abs(n),!A.settings.horizontalPageBreak&&n>.1/t.scaleFactor()&&(n=n<1?n:Math.round(n),console.log("Of the table content, ".concat(n," units width could not fit page"))),Hp(A),Np(A,t),Sp(A)}function Ip(t,A){var e=t.scaleFactor(),r=A.settings.horizontalPageBreak,n=Ug(t,A);A.allRows().forEach(function(i){for(var s=0,a=A.columns;s<a.length;s++){var l=a[s],u=i.cells[l.index];if(u){var c=A.hooks.didParseCell;A.callCellHooks(t,c,u,i,l,null);var B=u.padding("horizontal");u.contentWidth=Do(u.text,u.styles,t)+B;var w=Do(u.text.join(" ").split(/[^\S\u00A0]+/),u.styles,t);if(u.minReadableWidth=w+u.padding("horizontal"),typeof u.styles.cellWidth=="number")u.minWidth=u.styles.cellWidth,u.wrappedWidth=u.styles.cellWidth;else if(u.styles.cellWidth==="wrap"||r===!0)u.contentWidth>n?(u.minWidth=n,u.wrappedWidth=n):(u.minWidth=u.contentWidth,u.wrappedWidth=u.contentWidth);else{var g=10/e;u.minWidth=u.styles.minCellWidth||g,u.wrappedWidth=u.contentWidth,u.minWidth>u.wrappedWidth&&(u.wrappedWidth=u.minWidth)}}}}),A.allRows().forEach(function(i){for(var s=0,a=A.columns;s<a.length;s++){var l=a[s],u=i.cells[l.index];if(u&&u.colSpan===1)l.wrappedWidth=Math.max(l.wrappedWidth,u.wrappedWidth),l.minWidth=Math.max(l.minWidth,u.minWidth),l.minReadableWidth=Math.max(l.minReadableWidth,u.minReadableWidth);else{var c=A.styles.columnStyles[l.dataKey]||A.styles.columnStyles[l.index]||{},B=c.cellWidth||c.minCellWidth;B&&typeof B=="number"&&(l.minWidth=B,l.wrappedWidth=B)}u&&(u.colSpan>1&&!l.minWidth&&(l.minWidth=u.minWidth),u.colSpan>1&&!l.wrappedWidth&&(l.wrappedWidth=u.minWidth))}})}function Wu(t,A,e){for(var r=A,n=t.reduce(function(g,C){return g+C.wrappedWidth},0),i=0;i<t.length;i++){var s=t[i],a=s.wrappedWidth/n,l=r*a,u=s.width+l,c=e(s),B=u<c?c:u;A-=B-s.width,s.width=B}if(A=Math.round(A*1e10)/1e10,A){var w=t.filter(function(g){return A<0?g.width>e(g):!0});w.length&&(A=Wu(w,A,e))}return A}function Sp(t){for(var A={},e=1,r=t.allRows(),n=0;n<r.length;n++)for(var i=r[n],s=0,a=t.columns;s<a.length;s++){var l=a[s],u=A[l.index];if(e>1)e--,delete i.cells[l.index];else if(u)u.cell.height+=i.height,e=u.cell.colSpan,delete i.cells[l.index],u.left--,u.left<=1&&delete A[l.index];else{var c=i.cells[l.index];if(!c)continue;if(c.height=i.height,c.rowSpan>1){var B=r.length-n,w=c.rowSpan>B?B:c.rowSpan;A[l.index]={cell:c,left:w,row:i}}}}}function Hp(t){for(var A=t.allRows(),e=0;e<A.length;e++)for(var r=A[e],n=null,i=0,s=0,a=0;a<t.columns.length;a++){var l=t.columns[a];if(s-=1,s>1&&t.columns[a+1])i+=l.width,delete r.cells[l.index];else if(n){var u=n;delete r.cells[l.index],n=null,u.width=l.width+i}else{var u=r.cells[l.index];if(!u)continue;if(s=u.colSpan,i=0,u.colSpan>1){n=u,i+=l.width;continue}u.width=l.width+i}}}function Np(t,A){for(var e={count:0,height:0},r=0,n=t.allRows();r<n.length;r++){for(var i=n[r],s=0,a=t.columns;s<a.length;s++){var l=a[s],u=i.cells[l.index];if(u){A.applyStyles(u.styles,!0);var c=u.width-u.padding("horizontal");if(u.styles.overflow==="linebreak")u.text=A.splitTextToSize(u.text,c+1/A.scaleFactor(),{fontSize:u.styles.fontSize});else if(u.styles.overflow==="ellipsize")u.text=bh(u.text,c,u.styles,A,"...");else if(u.styles.overflow==="hidden")u.text=bh(u.text,c,u.styles,A,"");else if(typeof u.styles.overflow=="function"){var B=u.styles.overflow(u.text,c);typeof B=="string"?u.text=[B]:u.text=B}u.contentHeight=u.getContentHeight(A.scaleFactor(),A.getLineHeightFactor());var w=u.contentHeight/u.rowSpan;u.rowSpan>1&&e.count*e.height<w*u.rowSpan?e={height:w,count:u.rowSpan}:e&&e.count>0&&e.height>w&&(w=e.height),w>i.height&&(i.height=w)}}e.count--}}function bh(t,A,e,r,n){return t.map(function(i){return _p(i,A,e,r,n)})}function _p(t,A,e,r,n){var i=1e4*r.scaleFactor();if(A=Math.ceil(A*i)/i,A>=Do(t,e,r))return t;for(;A<Do(t+n,e,r)&&!(t.length<=1);)t=t.substring(0,t.length-1);return t.trim()+n}function Dp(t,A){var e=new aa(t),r=Tp(A,e.scaleFactor()),n=new Ep(A,r);return xp(e,n),e.applyStyles(e.userStyles),n}function Tp(t,A){var e=t.content,r=Pp(e.columns);if(e.head.length===0){var n=Uh(r,"head");n&&e.head.push(n)}if(e.foot.length===0){var n=Uh(r,"foot");n&&e.foot.push(n)}var i=t.settings.theme,s=t.styles;return{columns:r,head:uu("head",e.head,r,s,i,A),body:uu("body",e.body,r,s,i,A),foot:uu("foot",e.foot,r,s,i,A)}}function uu(t,A,e,r,n,i){var s={},a=A.map(function(l,u){for(var c=0,B={},w=0,g=0,C=0,Q=e;C<Q.length;C++){var x=Q[C];if(s[x.index]==null||s[x.index].left===0)if(g===0){var F=void 0;Array.isArray(l)?F=l[x.index-w-c]:F=l[x.dataKey];var k={};typeof F=="object"&&!Array.isArray(F)&&(k=F?.styles||{});var K=Op(t,x,u,n,r,i,k),P=new Ig(F,K,t);B[x.dataKey]=P,B[x.index]=P,g=P.colSpan-1,s[x.index]={left:P.rowSpan-1,times:g}}else g--,w++;else s[x.index].left--,g=s[x.index].times,c++}return new xg(l,u,t,B)});return a}function Uh(t,A){var e={};return t.forEach(function(r){if(r.raw!=null){var n=kp(A,r.raw);n!=null&&(e[r.dataKey]=n)}}),Object.keys(e).length>0?e:null}function kp(t,A){if(t==="head"){if(typeof A=="object")return A.header||null;if(typeof A=="string"||typeof A=="number")return A}else if(t==="foot"&&typeof A=="object")return A.footer;return null}function Pp(t){return t.map(function(A,e){var r,n;return typeof A=="object"?n=(r=A.dataKey)!==null&&r!==void 0?r:e:n=e,new Lp(n,A,e)})}function Op(t,A,e,r,n,i,s){var a=cp(r),l;t==="head"?l=n.headStyles:t==="body"?l=n.bodyStyles:t==="foot"&&(l=n.footStyles);var u=ln({},a.table,a[t],n.styles,l),c=n.columnStyles[A.dataKey]||n.columnStyles[A.index]||{},B=t==="body"?c:{},w=t==="body"&&e%2===0?ln({},a.alternateRow,n.alternateRowStyles):{},g=fp(i),C=ln({},g,u,w,B);return ln(C,s)}function Mp(t,A,e){var r;e===void 0&&(e={});var n=Ug(t,A),i=new Map,s=[],a=[],l=[];Array.isArray(A.settings.horizontalPageBreakRepeat)?l=A.settings.horizontalPageBreakRepeat:(typeof A.settings.horizontalPageBreakRepeat=="string"||typeof A.settings.horizontalPageBreakRepeat=="number")&&(l=[A.settings.horizontalPageBreakRepeat]),l.forEach(function(w){var g=A.columns.find(function(C){return C.dataKey===w||C.index===w});g&&!i.has(g.index)&&(i.set(g.index,!0),s.push(g.index),a.push(A.columns[g.index]),n-=g.wrappedWidth)});for(var u=!0,c=(r=e?.start)!==null&&r!==void 0?r:0;c<A.columns.length;){if(i.has(c)){c++;continue}var B=A.columns[c].wrappedWidth;if(u||n>=B)u=!1,s.push(c),a.push(A.columns[c]),n-=B;else break;c++}return{colIndexes:s,columns:a,lastIndex:c-1}}function Rp(t,A){for(var e=[],r=0;r<A.columns.length;r++){var n=Mp(t,A,{start:r});n.columns.length&&(e.push(n),r=n.lastIndex)}return e}function Kp(t,A){var e=A.settings,r=e.startY,n=e.margin,i={x:n.left,y:r},s=A.getHeadHeight(A.columns)+A.getFootHeight(A.columns),a=r+n.bottom+s;if(e.pageBreak==="avoid"){var l=A.body,u=l.reduce(function(w,g){return w+g.height},0);a+=u}var c=new aa(t);(e.pageBreak==="always"||e.startY!=null&&a>c.pageSize().height)&&(Hg(c),i.y=n.top),A.callWillDrawPageHooks(c,i);var B=ln({},i);A.startPageNumber=c.pageNumber(),e.horizontalPageBreak?Gp(c,A,B,i):(c.applyStyles(c.userStyles),(e.showHead==="firstPage"||e.showHead==="everyPage")&&A.head.forEach(function(w){return fn(c,A,w,i,A.columns)}),c.applyStyles(c.userStyles),A.body.forEach(function(w,g){var C=g===A.body.length-1;To(c,A,w,C,B,i,A.columns)}),c.applyStyles(c.userStyles),(e.showFoot==="lastPage"||e.showFoot==="everyPage")&&A.foot.forEach(function(w){return fn(c,A,w,i,A.columns)})),Qg(c,A,B,i),A.callEndPageHooks(c,i),A.finalY=i.y,t.lastAutoTable=A,c.applyStyles(c.userStyles)}function Gp(t,A,e,r){var n=Rp(t,A),i=A.settings;if(i.horizontalPageBreakBehaviour==="afterAllRows")n.forEach(function(u,c){t.applyStyles(t.userStyles),c>0?Ja(t,A,e,r,u.columns,!0):Eh(t,A,r,u.columns),jp(t,A,e,r,u.columns),fu(t,A,r,u.columns)});else for(var s=-1,a=n[0],l=function(){var u=s;if(a){t.applyStyles(t.userStyles);var c=a.columns;s>=0?Ja(t,A,e,r,c,!0):Eh(t,A,r,c),u=Lh(t,A,s+1,r,c),fu(t,A,r,c)}var B=u-s;n.slice(1).forEach(function(w){t.applyStyles(t.userStyles),Ja(t,A,e,r,w.columns,!0),Lh(t,A,s+1,r,w.columns,B),fu(t,A,r,w.columns)}),s=u};s<A.body.length-1;)l()}function Eh(t,A,e,r){var n=A.settings;t.applyStyles(t.userStyles),(n.showHead==="firstPage"||n.showHead==="everyPage")&&A.head.forEach(function(i){return fn(t,A,i,e,r)})}function jp(t,A,e,r,n){t.applyStyles(t.userStyles),A.body.forEach(function(i,s){var a=s===A.body.length-1;To(t,A,i,a,e,r,n)})}function Lh(t,A,e,r,n,i){t.applyStyles(t.userStyles),i=i??A.body.length;for(var s=Math.min(e+i,A.body.length),a=-1,l=A.body.slice(e,s),u=0;u<l.length;u++){var c=l[u],B=e+u===A.body.length-1,w=Sg(t,A,B,r);if(c.canEntireRowFit(w,n))fn(t,A,c,r,n),a=e+u;else break}return a}function fu(t,A,e,r){var n=A.settings;t.applyStyles(t.userStyles),(n.showFoot==="lastPage"||n.showFoot==="everyPage")&&A.foot.forEach(function(i){return fn(t,A,i,e,r)})}function Vp(t,A,e){var r=e.getLineHeight(t.styles.fontSize),n=t.padding("vertical"),i=Math.floor((A-n)/r);return Math.max(0,i)}function qp(t,A,e,r){var n={};t.spansMultiplePages=!0,t.height=0;for(var i=0,s=0,a=e.columns;s<a.length;s++){var l=a[s],u=t.cells[l.index];if(u){Array.isArray(u.text)||(u.text=[u.text]);var c=new Ig(u.raw,u.styles,u.section);c=ln(c,u),c.text=[];var B=Vp(u,A,r);u.text.length>B&&(c.text=u.text.splice(B,u.text.length));var w=r.scaleFactor(),g=r.getLineHeightFactor();u.contentHeight=u.getContentHeight(w,g),u.contentHeight>=A&&(u.contentHeight=A,c.styles.minCellHeight-=A),u.contentHeight>t.height&&(t.height=u.contentHeight),c.contentHeight=c.getContentHeight(w,g),c.contentHeight>i&&(i=c.contentHeight),n[l.index]=c}}var C=new xg(t.raw,-1,t.section,n,!0);C.height=i;for(var Q=0,x=e.columns;Q<x.length;Q++){var l=x[Q],c=C.cells[l.index];c&&(c.height=C.height);var u=t.cells[l.index];u&&(u.height=t.height)}return C}function Wp(t,A,e,r){var n=t.pageSize().height,i=r.settings.margin,s=i.top+i.bottom,a=n-s;A.section==="body"&&(a-=r.getHeadHeight(r.columns)+r.getFootHeight(r.columns));var l=A.getMinimumRowHeight(r.columns,t),u=l<e;if(l>a)return console.log("Will not be able to print row ".concat(A.index," correctly since it's minimum height is larger than page height")),!0;if(!u)return!1;var c=A.hasRowSpan(r.columns),B=A.getMaxCellHeight(r.columns)>a;return B?(c&&console.log("The content of row ".concat(A.index," will not be drawn correctly since drawing rows with a height larger than the page height and has cells with rowspans is not supported.")),!0):!(c||r.settings.rowPageBreak==="avoid")}function To(t,A,e,r,n,i,s){var a=Sg(t,A,r,i);if(e.canEntireRowFit(a,s))fn(t,A,e,i,s);else if(Wp(t,e,a,A)){var l=qp(e,a,A,t);fn(t,A,e,i,s),Ja(t,A,n,i,s),To(t,A,l,r,n,i,s)}else Ja(t,A,n,i,s),To(t,A,e,r,n,i,s)}function fn(t,A,e,r,n){r.x=A.settings.margin.left;for(var i=0,s=n;i<s.length;i++){var a=s[i],l=e.cells[a.index];if(!l){r.x+=a.width;continue}t.applyStyles(l.styles),l.x=r.x,l.y=r.y;var u=A.callCellHooks(t,A.hooks.willDrawCell,l,e,a,r);if(u===!1){r.x+=a.width;continue}Xp(t,l,r);var c=l.getTextPos();Cg(l.text,c.x,c.y,{halign:l.styles.halign,valign:l.styles.valign,maxWidth:Math.ceil(l.width-l.padding("left")-l.padding("right"))},t.getDocument()),A.callCellHooks(t,A.hooks.didDrawCell,l,e,a,r),r.x+=a.width}r.y+=e.height}function Xp(t,A,e){var r=A.styles;if(t.getDocument().setFillColor(t.getDocument().getFillColor()),typeof r.lineWidth=="number"){var n=bg(r.lineWidth,r.fillColor);n&&t.rect(A.x,e.y,A.width,A.height,n)}else typeof r.lineWidth=="object"&&(r.fillColor&&t.rect(A.x,e.y,A.width,A.height,"F"),Jp(t,A,e,r.lineWidth))}function Jp(t,A,e,r){var n,i,s,a;r.top&&(n=e.x,i=e.y,s=e.x+A.width,a=e.y,r.right&&(s+=.5*r.right),r.left&&(n-=.5*r.left),l(r.top,n,i,s,a)),r.bottom&&(n=e.x,i=e.y+A.height,s=e.x+A.width,a=e.y+A.height,r.right&&(s+=.5*r.right),r.left&&(n-=.5*r.left),l(r.bottom,n,i,s,a)),r.left&&(n=e.x,i=e.y,s=e.x,a=e.y+A.height,r.top&&(i-=.5*r.top),r.bottom&&(a+=.5*r.bottom),l(r.left,n,i,s,a)),r.right&&(n=e.x+A.width,i=e.y,s=e.x+A.width,a=e.y+A.height,r.top&&(i-=.5*r.top),r.bottom&&(a+=.5*r.bottom),l(r.right,n,i,s,a));function l(u,c,B,w,g){t.getDocument().setLineWidth(u),t.getDocument().line(c,B,w,g,"S")}}function Sg(t,A,e,r){var n=A.settings.margin.bottom,i=A.settings.showFoot;return(i==="everyPage"||i==="lastPage"&&e)&&(n+=A.getFootHeight(A.columns)),t.pageSize().height-r.y-n}function Ja(t,A,e,r,n,i){n===void 0&&(n=[]),i===void 0&&(i=!1),t.applyStyles(t.userStyles),A.settings.showFoot==="everyPage"&&!i&&A.foot.forEach(function(a){return fn(t,A,a,r,n)}),A.callEndPageHooks(t,r);var s=A.settings.margin;Qg(t,A,e,r),Hg(t),A.pageNumber++,r.x=s.left,r.y=s.top,e.y=s.top,A.callWillDrawPageHooks(t,r),A.settings.showHead==="everyPage"&&(A.head.forEach(function(a){return fn(t,A,a,r,n)}),t.applyStyles(t.userStyles))}function Hg(t){var A=t.pageNumber();t.setPage(A+1);var e=t.pageNumber();return e===A?(t.addPage(),!0):!1}function zp(t){t.API.autoTable=function(){for(var A=[],e=0;e<arguments.length;e++)A[e]=arguments[e];var r=A[0],n=vp(this,r),i=Dp(this,n);return Kp(this,i),this},t.API.lastAutoTable=!1,t.API.autoTableText=function(A,e,r,n){Cg(A,e,r,n,this)},t.API.autoTableSetDefaults=function(A){return aa.setDefaults(A,this),this},t.autoTableSetDefaults=function(A,e){aa.setDefaults(A,e)},t.API.autoTableHtmlToJson=function(A,e){var r;if(e===void 0&&(e=!1),typeof window>"u")return console.error("Cannot run autoTableHtmlToJson in non browser environment"),null;var n=new aa(this),i=Lg(n,A,window,e,!1),s=i.head,a=i.body,l=((r=s[0])===null||r===void 0?void 0:r.map(function(u){return u.content}))||[];return{columns:l,rows:a,data:a}}}var cu;try{if(typeof window<"u"&&window){var xh=window,Ih=xh.jsPDF||((cu=xh.jspdf)===null||cu===void 0?void 0:cu.jsPDF);Ih&&zp(Ih)}}catch(t){console.error("Could not apply autoTable plugin",t)}/*!
|
|
171
|
+
* html2canvas 1.4.1 <https://html2canvas.hertzen.com>
|
|
172
|
+
* Copyright (c) 2022 Niklas von Hertzen <https://hertzen.com>
|
|
173
|
+
* Released under MIT License
|
|
174
|
+
*//*! *****************************************************************************
|
|
175
|
+
Copyright (c) Microsoft Corporation.
|
|
176
|
+
|
|
177
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
178
|
+
purpose with or without fee is hereby granted.
|
|
179
|
+
|
|
180
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
181
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
182
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
183
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
184
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
185
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
186
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
187
|
+
***************************************************************************** */var Xu=function(t,A){return Xu=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])},Xu(t,A)};function br(t,A){if(typeof A!="function"&&A!==null)throw new TypeError("Class extends value "+String(A)+" is not a constructor or null");Xu(t,A);function e(){this.constructor=t}t.prototype=A===null?Object.create(A):(e.prototype=A.prototype,new e)}var Ju=function(){return Ju=Object.assign||function(A){for(var e,r=1,n=arguments.length;r<n;r++){e=arguments[r];for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(A[i]=e[i])}return A},Ju.apply(this,arguments)};function Ot(t,A,e,r){function n(i){return i instanceof e?i:new e(function(s){s(i)})}return new(e||(e=Promise))(function(i,s){function a(c){try{u(r.next(c))}catch(B){s(B)}}function l(c){try{u(r.throw(c))}catch(B){s(B)}}function u(c){c.done?i(c.value):n(c.value).then(a,l)}u((r=r.apply(t,[])).next())})}function Ht(t,A){var e={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,n,i,s;return s={next:a(0),throw:a(1),return:a(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function a(u){return function(c){return l([u,c])}}function l(u){if(r)throw new TypeError("Generator is already executing.");for(;e;)try{if(r=1,n&&(i=u[0]&2?n.return:u[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,u[1])).done)return i;switch(n=0,i&&(u=[u[0]&2,i.value]),u[0]){case 0:case 1:i=u;break;case 4:return e.label++,{value:u[1],done:!1};case 5:e.label++,n=u[1],u=[0];continue;case 7:u=e.ops.pop(),e.trys.pop();continue;default:if(i=e.trys,!(i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){e=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){e.label=u[1];break}if(u[0]===6&&e.label<i[1]){e.label=i[1],i=u;break}if(i&&e.label<i[2]){e.label=i[2],e.ops.push(u);break}i[2]&&e.ops.pop(),e.trys.pop();continue}u=A.call(t,e)}catch(c){u=[6,c],n=0}finally{r=i=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}function Ys(t,A,e){if(arguments.length===2)for(var r=0,n=A.length,i;r<n;r++)(i||!(r in A))&&(i||(i=Array.prototype.slice.call(A,0,r)),i[r]=A[r]);return t.concat(i||A)}var cn=(function(){function t(A,e,r,n){this.left=A,this.top=e,this.width=r,this.height=n}return t.prototype.add=function(A,e,r,n){return new t(this.left+A,this.top+e,this.width+r,this.height+n)},t.fromClientRect=function(A,e){return new t(e.left+A.windowBounds.left,e.top+A.windowBounds.top,e.width,e.height)},t.fromDOMRectList=function(A,e){var r=Array.from(e).find(function(n){return n.width!==0});return r?new t(r.left+A.windowBounds.left,r.top+A.windowBounds.top,r.width,r.height):t.EMPTY},t.EMPTY=new t(0,0,0,0),t})(),zo=function(t,A){return cn.fromClientRect(t,A.getBoundingClientRect())},Yp=function(t){var A=t.body,e=t.documentElement;if(!A||!e)throw new Error("Unable to get document size");var r=Math.max(Math.max(A.scrollWidth,e.scrollWidth),Math.max(A.offsetWidth,e.offsetWidth),Math.max(A.clientWidth,e.clientWidth)),n=Math.max(Math.max(A.scrollHeight,e.scrollHeight),Math.max(A.offsetHeight,e.offsetHeight),Math.max(A.clientHeight,e.clientHeight));return new cn(0,0,r,n)},Yo=function(t){for(var A=[],e=0,r=t.length;e<r;){var n=t.charCodeAt(e++);if(n>=55296&&n<=56319&&e<r){var i=t.charCodeAt(e++);(i&64512)===56320?A.push(((n&1023)<<10)+(i&1023)+65536):(A.push(n),e--)}else A.push(n)}return A},At=function(){for(var t=[],A=0;A<arguments.length;A++)t[A]=arguments[A];if(String.fromCodePoint)return String.fromCodePoint.apply(String,t);var e=t.length;if(!e)return"";for(var r=[],n=-1,i="";++n<e;){var s=t[n];s<=65535?r.push(s):(s-=65536,r.push((s>>10)+55296,s%1024+56320)),(n+1===e||r.length>16384)&&(i+=String.fromCharCode.apply(String,r),r.length=0)}return i},Sh="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Zp=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var Zs=0;Zs<Sh.length;Zs++)Zp[Sh.charCodeAt(Zs)]=Zs;var Hh="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Ma=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var $s=0;$s<Hh.length;$s++)Ma[Hh.charCodeAt($s)]=$s;var $p=function(t){var A=t.length*.75,e=t.length,r,n=0,i,s,a,l;t[t.length-1]==="="&&(A--,t[t.length-2]==="="&&A--);var u=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(A):new Array(A),c=Array.isArray(u)?u:new Uint8Array(u);for(r=0;r<e;r+=4)i=Ma[t.charCodeAt(r)],s=Ma[t.charCodeAt(r+1)],a=Ma[t.charCodeAt(r+2)],l=Ma[t.charCodeAt(r+3)],c[n++]=i<<2|s>>4,c[n++]=(s&15)<<4|a>>2,c[n++]=(a&3)<<6|l&63;return u},Aw=function(t){for(var A=t.length,e=[],r=0;r<A;r+=2)e.push(t[r+1]<<8|t[r]);return e},ew=function(t){for(var A=t.length,e=[],r=0;r<A;r+=4)e.push(t[r+3]<<24|t[r+2]<<16|t[r+1]<<8|t[r]);return e},ci=5,yf=11,hu=2,tw=yf-ci,Ng=65536>>ci,rw=1<<ci,gu=rw-1,nw=1024>>ci,iw=Ng+nw,aw=iw,sw=32,ow=aw+sw,lw=65536>>yf,uw=1<<tw,fw=uw-1,Nh=function(t,A,e){return t.slice?t.slice(A,e):new Uint16Array(Array.prototype.slice.call(t,A,e))},cw=function(t,A,e){return t.slice?t.slice(A,e):new Uint32Array(Array.prototype.slice.call(t,A,e))},hw=function(t,A){var e=$p(t),r=Array.isArray(e)?ew(e):new Uint32Array(e),n=Array.isArray(e)?Aw(e):new Uint16Array(e),i=24,s=Nh(n,i/2,r[4]/2),a=r[5]===2?Nh(n,(i+r[4])/2):cw(r,Math.ceil((i+r[4])/4));return new gw(r[0],r[1],r[2],r[3],s,a)},gw=(function(){function t(A,e,r,n,i,s){this.initialValue=A,this.errorValue=e,this.highStart=r,this.highValueIndex=n,this.index=i,this.data=s}return t.prototype.get=function(A){var e;if(A>=0){if(A<55296||A>56319&&A<=65535)return e=this.index[A>>ci],e=(e<<hu)+(A&gu),this.data[e];if(A<=65535)return e=this.index[Ng+(A-55296>>ci)],e=(e<<hu)+(A&gu),this.data[e];if(A<this.highStart)return e=ow-lw+(A>>yf),e=this.index[e],e+=A>>ci&fw,e=this.index[e],e=(e<<hu)+(A&gu),this.data[e];if(A<=1114111)return this.data[this.highValueIndex]}return this.errorValue},t})(),_h="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",dw=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var Ao=0;Ao<_h.length;Ao++)dw[_h.charCodeAt(Ao)]=Ao;var Bw="KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF8AZwBgAGgAcQB5AHUAfQCFAI0AlQCdAKIAqgCyALoAYABoAGAAaABgAGgAwgDKAGAAaADGAM4A0wDbAOEA6QDxAPkAAQEJAQ8BFwF1AH0AHAEkASwBNAE6AUIBQQFJAVEBWQFhAWgBcAF4ATAAgAGGAY4BlQGXAZ8BpwGvAbUBvQHFAc0B0wHbAeMB6wHxAfkBAQIJAvEBEQIZAiECKQIxAjgCQAJGAk4CVgJeAmQCbAJ0AnwCgQKJApECmQKgAqgCsAK4ArwCxAIwAMwC0wLbAjAA4wLrAvMC+AIAAwcDDwMwABcDHQMlAy0DNQN1AD0DQQNJA0kDSQNRA1EDVwNZA1kDdQB1AGEDdQBpA20DdQN1AHsDdQCBA4kDkQN1AHUAmQOhA3UAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AKYDrgN1AHUAtgO+A8YDzgPWAxcD3gPjA+sD8wN1AHUA+wMDBAkEdQANBBUEHQQlBCoEFwMyBDgEYABABBcDSARQBFgEYARoBDAAcAQzAXgEgASIBJAEdQCXBHUAnwSnBK4EtgS6BMIEyAR1AHUAdQB1AHUAdQCVANAEYABgAGAAYABgAGAAYABgANgEYADcBOQEYADsBPQE/AQEBQwFFAUcBSQFLAU0BWQEPAVEBUsFUwVbBWAAYgVgAGoFcgV6BYIFigWRBWAAmQWfBaYFYABgAGAAYABgAKoFYACxBbAFuQW6BcEFwQXHBcEFwQXPBdMF2wXjBeoF8gX6BQIGCgYSBhoGIgYqBjIGOgZgAD4GRgZMBmAAUwZaBmAAYABgAGAAYABgAGAAYABgAGAAYABgAGIGYABpBnAGYABgAGAAYABgAGAAYABgAGAAYAB4Bn8GhQZgAGAAYAB1AHcDFQSLBmAAYABgAJMGdQA9A3UAmwajBqsGqwaVALMGuwbDBjAAywbSBtIG1QbSBtIG0gbSBtIG0gbdBuMG6wbzBvsGAwcLBxMHAwcbByMHJwcsBywHMQcsB9IGOAdAB0gHTgfSBkgHVgfSBtIG0gbSBtIG0gbSBtIG0gbSBiwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdgAGAALAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdbB2MHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB2kH0gZwB64EdQB1AHUAdQB1AHUAdQB1AHUHfQdgAIUHjQd1AHUAlQedB2AAYAClB6sHYACzB7YHvgfGB3UAzgfWBzMB3gfmB1EB7gf1B/0HlQENAQUIDQh1ABUIHQglCBcDLQg1CD0IRQhNCEEDUwh1AHUAdQBbCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIcAh3CHoIMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIgggwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAALAcsBywHLAcsBywHLAcsBywHLAcsB4oILAcsB44I0gaWCJ4Ipgh1AHUAqgiyCHUAdQB1AHUAdQB1AHUAdQB1AHUAtwh8AXUAvwh1AMUIyQjRCNkI4AjoCHUAdQB1AO4I9gj+CAYJDgkTCS0HGwkjCYIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiAAIAAAAFAAYABgAGIAXwBgAHEAdQBFAJUAogCyAKAAYABgAEIA4ABGANMA4QDxAMEBDwE1AFwBLAE6AQEBUQF4QkhCmEKoQrhCgAHIQsAB0MLAAcABwAHAAeDC6ABoAHDCwMMAAcABwAHAAdDDGMMAAcAB6MM4wwjDWMNow3jDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEjDqABWw6bDqABpg6gAaABoAHcDvwOPA+gAaABfA/8DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DpcPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB9cPKwkyCToJMAB1AHUAdQBCCUoJTQl1AFUJXAljCWcJawkwADAAMAAwAHMJdQB2CX4JdQCECYoJjgmWCXUAngkwAGAAYABxAHUApgn3A64JtAl1ALkJdQDACTAAMAAwADAAdQB1AHUAdQB1AHUAdQB1AHUAowYNBMUIMAAwADAAMADICcsJ0wnZCRUE4QkwAOkJ8An4CTAAMAB1AAAKvwh1AAgKDwoXCh8KdQAwACcKLgp1ADYKqAmICT4KRgowADAAdQB1AE4KMAB1AFYKdQBeCnUAZQowADAAMAAwADAAMAAwADAAMAAVBHUAbQowADAAdQC5CXUKMAAwAHwBxAijBogEMgF9CoQKiASMCpQKmgqIBKIKqgquCogEDQG2Cr4KxgrLCjAAMADTCtsKCgHjCusK8Qr5CgELMAAwADAAMAB1AIsECQsRC3UANAEZCzAAMAAwADAAMAB1ACELKQswAHUANAExCzkLdQBBC0kLMABRC1kLMAAwADAAMAAwADAAdQBhCzAAMAAwAGAAYABpC3ELdwt/CzAAMACHC4sLkwubC58Lpwt1AK4Ltgt1APsDMAAwADAAMAAwADAAMAAwAL4LwwvLC9IL1wvdCzAAMADlC+kL8Qv5C/8LSQswADAAMAAwADAAMAAwADAAMAAHDDAAMAAwADAAMAAODBYMHgx1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1ACYMMAAwADAAdQB1AHUALgx1AHUAdQB1AHUAdQA2DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AD4MdQBGDHUAdQB1AHUAdQB1AEkMdQB1AHUAdQB1AFAMMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQBYDHUAdQB1AF8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUA+wMVBGcMMAAwAHwBbwx1AHcMfwyHDI8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAYABgAJcMMAAwADAAdQB1AJ8MlQClDDAAMACtDCwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB7UMLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AA0EMAC9DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAsBywHLAcsBywHLAcsBywHLQcwAMEMyAwsBywHLAcsBywHLAcsBywHLAcsBywHzAwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1ANQM2QzhDDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMABgAGAAYABgAGAAYABgAOkMYADxDGAA+AwADQYNYABhCWAAYAAODTAAMAAwADAAFg1gAGAAHg37AzAAMAAwADAAYABgACYNYAAsDTQNPA1gAEMNPg1LDWAAYABgAGAAYABgAGAAYABgAGAAUg1aDYsGVglhDV0NcQBnDW0NdQ15DWAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAlQCBDZUAiA2PDZcNMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAnw2nDTAAMAAwADAAMAAwAHUArw23DTAAMAAwADAAMAAwADAAMAAwADAAMAB1AL8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQDHDTAAYABgAM8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA1w11ANwNMAAwAD0B5A0wADAAMAAwADAAMADsDfQN/A0EDgwOFA4wABsOMAAwADAAMAAwADAAMAAwANIG0gbSBtIG0gbSBtIG0gYjDigOwQUuDsEFMw7SBjoO0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGQg5KDlIOVg7SBtIGXg5lDm0OdQ7SBtIGfQ6EDooOjQ6UDtIGmg6hDtIG0gaoDqwO0ga0DrwO0gZgAGAAYADEDmAAYAAkBtIGzA5gANIOYADaDokO0gbSBt8O5w7SBu8O0gb1DvwO0gZgAGAAxA7SBtIG0gbSBtIGYABgAGAAYAAED2AAsAUMD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHJA8sBywHLAcsBywHLAccDywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywPLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAc0D9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHPA/SBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gYUD0QPlQCVAJUAMAAwADAAMACVAJUAlQCVAJUAlQCVAEwPMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA//8EAAQABAAEAAQABAAEAAQABAANAAMAAQABAAIABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQACgATABcAHgAbABoAHgAXABYAEgAeABsAGAAPABgAHABLAEsASwBLAEsASwBLAEsASwBLABgAGAAeAB4AHgATAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYAGwASAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWAA0AEQAeAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAFAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJABYAGgAbABsAGwAeAB0AHQAeAE8AFwAeAA0AHgAeABoAGwBPAE8ADgBQAB0AHQAdAE8ATwAXAE8ATwBPABYAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAFAATwBAAE8ATwBPAEAATwBQAFAATwBQAB4AHgAeAB4AHgAeAB0AHQAdAB0AHgAdAB4ADgBQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgBQAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAkACQAJAAkACQAJAAkABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAFAAHgAeAB4AKwArAFAAUABQAFAAGABQACsAKwArACsAHgAeAFAAHgBQAFAAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUAAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAYAA0AKwArAB4AHgAbACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAB4ABAAEAB4ABAAEABMABAArACsAKwArACsAKwArACsAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAKwArACsAKwBWAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsABAAbABsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEAA0ADQBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABABQACsAKwArACsAKwArACsAKwAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUAAaABoAUABQAFAAUABQAEwAHgAbAFAAHgAEACsAKwAEAAQABAArAFAAUABQAFAAUABQACsAKwArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQACsAUABQACsAKwAEACsABAAEAAQABAAEACsAKwArACsABAAEACsAKwAEAAQABAArACsAKwAEACsAKwArACsAKwArACsAUABQAFAAUAArAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAAQABABQAFAAUAAEAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAArACsAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AGwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAKwArACsAKwArAAQABAAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAAQAUAArAFAAUABQAFAAUABQACsAKwArAFAAUABQACsAUABQAFAAUAArACsAKwBQAFAAKwBQACsAUABQACsAKwArAFAAUAArACsAKwBQAFAAUAArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAArACsAKwAEAAQABAArAAQABAAEAAQAKwArAFAAKwArACsAKwArACsABAArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAHgAeAB4AHgAeAB4AGwAeACsAKwArACsAKwAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAUABQAFAAKwArACsAKwArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwAOAFAAUABQAFAAUABQAFAAHgBQAAQABAAEAA4AUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAKwArAAQAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAKwArACsAKwArACsAUAArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAXABcAFwAXABcACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAXAArAFwAXABcAFwAXABcAFwAXABcAFwAKgBcAFwAKgAqACoAKgAqACoAKgAqACoAXAArACsAXABcAFwAXABcACsAXAArACoAKgAqACoAKgAqACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwBcAFwAXABcAFAADgAOAA4ADgAeAA4ADgAJAA4ADgANAAkAEwATABMAEwATAAkAHgATAB4AHgAeAAQABAAeAB4AHgAeAB4AHgBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAADQAEAB4ABAAeAAQAFgARABYAEQAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAAQABAAEAAQADQAEAAQAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAA0ADQAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeACsAHgAeAA4ADgANAA4AHgAeAB4AHgAeAAkACQArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgBcAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4AHgAeAB4AXABcAFwAXABcAFwAKgAqACoAKgBcAFwAXABcACoAKgAqAFwAKgAqACoAXABcACoAKgAqACoAKgAqACoAXABcAFwAKgAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwAKgBLAEsASwBLAEsASwBLAEsASwBLACoAKgAqACoAKgAqAFAAUABQAFAAUABQACsAUAArACsAKwArACsAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAKwBQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsABAAEAAQAHgANAB4AHgAeAB4AHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUAArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWABEAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAANAA0AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUAArAAQABAArACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAA0ADQAVAFwADQAeAA0AGwBcACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwAeAB4AEwATAA0ADQAOAB4AEwATAB4ABAAEAAQACQArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAHgArACsAKwATABMASwBLAEsASwBLAEsASwBLAEsASwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAXABcAFwAXABcACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXAArACsAKwAqACoAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsAHgAeAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKwArAAQASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACoAKgAqACoAKgAqACoAXAAqACoAKgAqACoAKgArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABABQAFAAUABQAFAAUABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgANAA0ADQANAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwAeAB4AHgAeAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArAA0ADQANAA0ADQBLAEsASwBLAEsASwBLAEsASwBLACsAKwArAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUAAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAAQAUABQAFAAUABQAFAABABQAFAABAAEAAQAUAArACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQACsAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQACsAKwAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQACsAHgAeAB4AHgAeAB4AHgAOAB4AKwANAA0ADQANAA0ADQANAAkADQANAA0ACAAEAAsABAAEAA0ACQANAA0ADAAdAB0AHgAXABcAFgAXABcAFwAWABcAHQAdAB4AHgAUABQAFAANAAEAAQAEAAQABAAEAAQACQAaABoAGgAaABoAGgAaABoAHgAXABcAHQAVABUAHgAeAB4AHgAeAB4AGAAWABEAFQAVABUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ADQAeAA0ADQANAA0AHgANAA0ADQAHAB4AHgAeAB4AKwAEAAQABAAEAAQABAAEAAQABAAEAFAAUAArACsATwBQAFAAUABQAFAAHgAeAB4AFgARAE8AUABPAE8ATwBPAFAAUABQAFAAUAAeAB4AHgAWABEAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArABsAGwAbABsAGwAbABsAGgAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGgAbABsAGwAbABoAGwAbABoAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAHgAeAFAAGgAeAB0AHgBQAB4AGgAeAB4AHgAeAB4AHgAeAB4AHgBPAB4AUAAbAB4AHgBQAFAAUABQAFAAHgAeAB4AHQAdAB4AUAAeAFAAHgBQAB4AUABPAFAAUAAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgBQAFAAUABQAE8ATwBQAFAAUABQAFAATwBQAFAATwBQAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAUABQAFAATwBPAE8ATwBPAE8ATwBPAE8ATwBQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABPAB4AHgArACsAKwArAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHQAdAB4AHgAeAB0AHQAeAB4AHQAeAB4AHgAdAB4AHQAbABsAHgAdAB4AHgAeAB4AHQAeAB4AHQAdAB0AHQAeAB4AHQAeAB0AHgAdAB0AHQAdAB0AHQAeAB0AHgAeAB4AHgAeAB0AHQAdAB0AHgAeAB4AHgAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeAB0AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAeAB0AHQAdAB0AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAWABEAHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAWABEAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AHQAdAB0AHgAeAB0AHgAeAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlAB4AHQAdAB4AHgAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AJQAlAB0AHQAlAB4AJQAlACUAIAAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAdAB0AHQAeAB0AJQAdAB0AHgAdAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAdAB0AHQAdACUAHgAlACUAJQAdACUAJQAdAB0AHQAlACUAHQAdACUAHQAdACUAJQAlAB4AHQAeAB4AHgAeAB0AHQAlAB0AHQAdAB0AHQAdACUAJQAlACUAJQAdACUAJQAgACUAHQAdACUAJQAlACUAJQAlACUAJQAeAB4AHgAlACUAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AFwAXABcAFwAXABcAHgATABMAJQAeAB4AHgAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARABYAEQAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAeAB4AKwArACsAKwArABMADQANAA0AUAATAA0AUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUAANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANAA0AHgANAB4ADQANAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXAFcAVwBXAFcAVwBXAAQABAAEAAQABAAEACUAVwBXAFcAVwA2ACUAJQBXAFcAVwBHAEcAJQAlACUAKwBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBRAFcAUQBXAFEAVwBXAFcAVwBXAFcAUQBXAFcAVwBXAFcAVwBRAFEAKwArAAQABAAVABUARwBHAFcAFQBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBRAFcAVwBXAFcAVwBXAFEAUQBXAFcAVwBXABUAUQBHAEcAVwArACsAKwArACsAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwAlACUAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACsAKwArACsAKwArACsAKwArACsAKwArAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBPAE8ATwBPAE8ATwBPAE8AJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADQATAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQAHgBQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAeAA0ADQANAA0ADQArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeAAQAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUABQAAQAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAVABVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBUAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVACsAKwArACsAKwArACsAKwArACsAKwArAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAKwArACsAKwBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAKwArACsAKwAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArACsAKwArAFYABABWAFYAVgBWAFYAVgBWAFYAVgBWAB4AVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgArAFYAVgBWAFYAVgArAFYAKwBWAFYAKwBWAFYAKwBWAFYAVgBWAFYAVgBWAFYAVgBWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAUABQAFAAUABQAAQABAAEACsABAAEACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAKwBQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAA0ADQANAA0ADQANAA0ADQAeACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAArACsAKwArAFAAUABQAFAAUAANAA0ADQANAA0ADQAUACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQANAA0ADQANAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAANACsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAB4AHgAeAB4AHgArACsAKwArACsAKwAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANAFAABAAEAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAEAAQABAAEAB4ABAAEAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsABAAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLAA0ADQArAB4ABABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUAAeAFAAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAAEAAQADgANAA0AEwATAB4AHgAeAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAFAAUABQAFAABAAEACsAKwAEAA0ADQAeAFAAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcAFwADQANAA0AKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQAKwAEAAQAKwArAAQABAAEAAQAUAAEAFAABAAEAA0ADQANACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABABQAA4AUAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANAFAADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAaABoAGgAaAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAJAAkACQAJAAkACQAJABYAEQArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AHgAeACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAARwBHABUARwAJACsAKwArACsAKwArACsAKwArACsAKwAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAKwArACsAKwArACsAKwArACsAKwArACsAKwBRAFEAUQBRACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAHgAEAAQADQAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAeAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQAHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAKwArAFAAKwArAFAAUAArACsAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUAArAFAAUABQAFAAUABQAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAHgAeAFAAUABQAFAAUAArAFAAKwArACsAUABQAFAAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeACsAKwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4ABAAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAHgAeAA0ADQANAA0AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArAAQABAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwBQAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArABsAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAB4AHgAeAB4ABAAEAAQABAAEAAQABABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArABYAFgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAGgBQAFAAUAAaAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUAArACsAKwArACsAKwBQACsAKwArACsAUAArAFAAKwBQACsAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUAArAFAAKwBQACsAUAArAFAAUAArAFAAKwArAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAKwBQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeACUAJQAlAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAHgAlACUAJQAlACUAIAAgACAAJQAlACAAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACEAIQAhACEAIQAlACUAIAAgACUAJQAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAlACUAJQAlACAAIAAgACUAIAAgACAAJQAlACUAJQAlACUAJQAgACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAlAB4AJQAeACUAJQAlACUAJQAgACUAJQAlACUAHgAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACAAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABcAFwAXABUAFQAVAB4AHgAeAB4AJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAgACUAJQAgACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAIAAgACUAJQAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACAAIAAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACAAIAAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAA==",Dh=50,pw=1,_g=2,Dg=3,ww=4,vw=5,Th=7,Tg=8,kh=9,_n=10,zu=11,Ph=12,Yu=13,mw=14,Ra=15,Zu=16,eo=17,Ta=18,Cw=19,Oh=20,$u=21,ka=22,du=23,ji=24,$t=25,Ka=26,Ga=27,Vi=28,Fw=29,li=30,yw=31,to=32,ro=33,Af=34,ef=35,tf=36,rs=37,rf=38,Eo=39,Lo=40,Bu=41,kg=42,Qw=43,bw=[9001,65288],Pg="!",he="×",no="÷",nf=hw(Bw),an=[li,tf],af=[pw,_g,Dg,vw],Og=[_n,Tg],Mh=[Ga,Ka],Uw=af.concat(Og),Rh=[rf,Eo,Lo,Af,ef],Ew=[Ra,Yu],Lw=function(t,A){A===void 0&&(A="strict");var e=[],r=[],n=[];return t.forEach(function(i,s){var a=nf.get(i);if(a>Dh?(n.push(!0),a-=Dh):n.push(!1),["normal","auto","loose"].indexOf(A)!==-1&&[8208,8211,12316,12448].indexOf(i)!==-1)return r.push(s),e.push(Zu);if(a===ww||a===zu){if(s===0)return r.push(s),e.push(li);var l=e[s-1];return Uw.indexOf(l)===-1?(r.push(r[s-1]),e.push(l)):(r.push(s),e.push(li))}if(r.push(s),a===yw)return e.push(A==="strict"?$u:rs);if(a===kg||a===Fw)return e.push(li);if(a===Qw)return i>=131072&&i<=196605||i>=196608&&i<=262141?e.push(rs):e.push(li);e.push(a)}),[r,e,n]},pu=function(t,A,e,r){var n=r[e];if(Array.isArray(t)?t.indexOf(n)!==-1:t===n)for(var i=e;i<=r.length;){i++;var s=r[i];if(s===A)return!0;if(s!==_n)break}if(n===_n)for(var i=e;i>0;){i--;var a=r[i];if(Array.isArray(t)?t.indexOf(a)!==-1:t===a)for(var l=e;l<=r.length;){l++;var s=r[l];if(s===A)return!0;if(s!==_n)break}if(a!==_n)break}return!1},Kh=function(t,A){for(var e=t;e>=0;){var r=A[e];if(r===_n)e--;else return r}return 0},xw=function(t,A,e,r,n){if(e[r]===0)return he;var i=r-1;if(Array.isArray(n)&&n[i]===!0)return he;var s=i-1,a=i+1,l=A[i],u=s>=0?A[s]:0,c=A[a];if(l===_g&&c===Dg)return he;if(af.indexOf(l)!==-1)return Pg;if(af.indexOf(c)!==-1||Og.indexOf(c)!==-1)return he;if(Kh(i,A)===Tg)return no;if(nf.get(t[i])===zu||(l===to||l===ro)&&nf.get(t[a])===zu||l===Th||c===Th||l===kh||[_n,Yu,Ra].indexOf(l)===-1&&c===kh||[eo,Ta,Cw,ji,Vi].indexOf(c)!==-1||Kh(i,A)===ka||pu(du,ka,i,A)||pu([eo,Ta],$u,i,A)||pu(Ph,Ph,i,A))return he;if(l===_n)return no;if(l===du||c===du)return he;if(c===Zu||l===Zu)return no;if([Yu,Ra,$u].indexOf(c)!==-1||l===mw||u===tf&&Ew.indexOf(l)!==-1||l===Vi&&c===tf||c===Oh||an.indexOf(c)!==-1&&l===$t||an.indexOf(l)!==-1&&c===$t||l===Ga&&[rs,to,ro].indexOf(c)!==-1||[rs,to,ro].indexOf(l)!==-1&&c===Ka||an.indexOf(l)!==-1&&Mh.indexOf(c)!==-1||Mh.indexOf(l)!==-1&&an.indexOf(c)!==-1||[Ga,Ka].indexOf(l)!==-1&&(c===$t||[ka,Ra].indexOf(c)!==-1&&A[a+1]===$t)||[ka,Ra].indexOf(l)!==-1&&c===$t||l===$t&&[$t,Vi,ji].indexOf(c)!==-1)return he;if([$t,Vi,ji,eo,Ta].indexOf(c)!==-1)for(var B=i;B>=0;){var w=A[B];if(w===$t)return he;if([Vi,ji].indexOf(w)!==-1)B--;else break}if([Ga,Ka].indexOf(c)!==-1)for(var B=[eo,Ta].indexOf(l)!==-1?s:i;B>=0;){var w=A[B];if(w===$t)return he;if([Vi,ji].indexOf(w)!==-1)B--;else break}if(rf===l&&[rf,Eo,Af,ef].indexOf(c)!==-1||[Eo,Af].indexOf(l)!==-1&&[Eo,Lo].indexOf(c)!==-1||[Lo,ef].indexOf(l)!==-1&&c===Lo||Rh.indexOf(l)!==-1&&[Oh,Ka].indexOf(c)!==-1||Rh.indexOf(c)!==-1&&l===Ga||an.indexOf(l)!==-1&&an.indexOf(c)!==-1||l===ji&&an.indexOf(c)!==-1||an.concat($t).indexOf(l)!==-1&&c===ka&&bw.indexOf(t[a])===-1||an.concat($t).indexOf(c)!==-1&&l===Ta)return he;if(l===Bu&&c===Bu){for(var g=e[i],C=1;g>0&&(g--,A[g]===Bu);)C++;if(C%2!==0)return he}return l===to&&c===ro?he:no},Iw=function(t,A){A||(A={lineBreak:"normal",wordBreak:"normal"});var e=Lw(t,A.lineBreak),r=e[0],n=e[1],i=e[2];(A.wordBreak==="break-all"||A.wordBreak==="break-word")&&(n=n.map(function(a){return[$t,li,kg].indexOf(a)!==-1?rs:a}));var s=A.wordBreak==="keep-all"?i.map(function(a,l){return a&&t[l]>=19968&&t[l]<=40959}):void 0;return[r,n,s]},Sw=(function(){function t(A,e,r,n){this.codePoints=A,this.required=e===Pg,this.start=r,this.end=n}return t.prototype.slice=function(){return At.apply(void 0,this.codePoints.slice(this.start,this.end))},t})(),Hw=function(t,A){var e=Yo(t),r=Iw(e,A),n=r[0],i=r[1],s=r[2],a=e.length,l=0,u=0;return{next:function(){if(u>=a)return{done:!0,value:null};for(var c=he;u<a&&(c=xw(e,i,n,++u,s))===he;);if(c!==he||u===a){var B=new Sw(e,c,l,u);return l=u,{value:B,done:!1}}return{done:!0,value:null}}}},Nw=1,_w=2,ss=4,Gh=8,ko=10,jh=47,za=92,Dw=9,Tw=32,io=34,Pa=61,kw=35,Pw=36,Ow=37,ao=39,so=40,Oa=41,Mw=95,Gt=45,Rw=33,Kw=60,Gw=62,jw=64,Vw=91,qw=93,Ww=61,Xw=123,oo=63,Jw=125,Vh=124,zw=126,Yw=128,qh=65533,wu=42,ui=43,Zw=44,$w=58,A5=59,ns=46,e5=0,t5=8,r5=11,n5=14,i5=31,a5=127,kr=-1,Mg=48,Rg=97,Kg=101,s5=102,o5=117,l5=122,Gg=65,jg=69,Vg=70,u5=85,f5=90,Nt=function(t){return t>=Mg&&t<=57},c5=function(t){return t>=55296&&t<=57343},qi=function(t){return Nt(t)||t>=Gg&&t<=Vg||t>=Rg&&t<=s5},h5=function(t){return t>=Rg&&t<=l5},g5=function(t){return t>=Gg&&t<=f5},d5=function(t){return h5(t)||g5(t)},B5=function(t){return t>=Yw},lo=function(t){return t===ko||t===Dw||t===Tw},Po=function(t){return d5(t)||B5(t)||t===Mw},Wh=function(t){return Po(t)||Nt(t)||t===Gt},p5=function(t){return t>=e5&&t<=t5||t===r5||t>=n5&&t<=i5||t===a5},Hn=function(t,A){return t!==za?!1:A!==ko},uo=function(t,A,e){return t===Gt?Po(A)||Hn(A,e):Po(t)?!0:!!(t===za&&Hn(t,A))},vu=function(t,A,e){return t===ui||t===Gt?Nt(A)?!0:A===ns&&Nt(e):Nt(t===ns?A:t)},w5=function(t){var A=0,e=1;(t[A]===ui||t[A]===Gt)&&(t[A]===Gt&&(e=-1),A++);for(var r=[];Nt(t[A]);)r.push(t[A++]);var n=r.length?parseInt(At.apply(void 0,r),10):0;t[A]===ns&&A++;for(var i=[];Nt(t[A]);)i.push(t[A++]);var s=i.length,a=s?parseInt(At.apply(void 0,i),10):0;(t[A]===jg||t[A]===Kg)&&A++;var l=1;(t[A]===ui||t[A]===Gt)&&(t[A]===Gt&&(l=-1),A++);for(var u=[];Nt(t[A]);)u.push(t[A++]);var c=u.length?parseInt(At.apply(void 0,u),10):0;return e*(n+a*Math.pow(10,-s))*Math.pow(10,l*c)},v5={type:2},m5={type:3},C5={type:4},F5={type:13},y5={type:8},Q5={type:21},b5={type:9},U5={type:10},E5={type:11},L5={type:12},x5={type:14},fo={type:23},I5={type:1},S5={type:25},H5={type:24},N5={type:26},_5={type:27},D5={type:28},T5={type:29},k5={type:31},sf={type:32},qg=(function(){function t(){this._value=[]}return t.prototype.write=function(A){this._value=this._value.concat(Yo(A))},t.prototype.read=function(){for(var A=[],e=this.consumeToken();e!==sf;)A.push(e),e=this.consumeToken();return A},t.prototype.consumeToken=function(){var A=this.consumeCodePoint();switch(A){case io:return this.consumeStringToken(io);case kw:var e=this.peekCodePoint(0),r=this.peekCodePoint(1),n=this.peekCodePoint(2);if(Wh(e)||Hn(r,n)){var i=uo(e,r,n)?_w:Nw,s=this.consumeName();return{type:5,value:s,flags:i}}break;case Pw:if(this.peekCodePoint(0)===Pa)return this.consumeCodePoint(),F5;break;case ao:return this.consumeStringToken(ao);case so:return v5;case Oa:return m5;case wu:if(this.peekCodePoint(0)===Pa)return this.consumeCodePoint(),x5;break;case ui:if(vu(A,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(A),this.consumeNumericToken();break;case Zw:return C5;case Gt:var a=A,l=this.peekCodePoint(0),u=this.peekCodePoint(1);if(vu(a,l,u))return this.reconsumeCodePoint(A),this.consumeNumericToken();if(uo(a,l,u))return this.reconsumeCodePoint(A),this.consumeIdentLikeToken();if(l===Gt&&u===Gw)return this.consumeCodePoint(),this.consumeCodePoint(),H5;break;case ns:if(vu(A,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(A),this.consumeNumericToken();break;case jh:if(this.peekCodePoint(0)===wu)for(this.consumeCodePoint();;){var c=this.consumeCodePoint();if(c===wu&&(c=this.consumeCodePoint(),c===jh))return this.consumeToken();if(c===kr)return this.consumeToken()}break;case $w:return N5;case A5:return _5;case Kw:if(this.peekCodePoint(0)===Rw&&this.peekCodePoint(1)===Gt&&this.peekCodePoint(2)===Gt)return this.consumeCodePoint(),this.consumeCodePoint(),S5;break;case jw:var B=this.peekCodePoint(0),w=this.peekCodePoint(1),g=this.peekCodePoint(2);if(uo(B,w,g)){var s=this.consumeName();return{type:7,value:s}}break;case Vw:return D5;case za:if(Hn(A,this.peekCodePoint(0)))return this.reconsumeCodePoint(A),this.consumeIdentLikeToken();break;case qw:return T5;case Ww:if(this.peekCodePoint(0)===Pa)return this.consumeCodePoint(),y5;break;case Xw:return E5;case Jw:return L5;case o5:case u5:var C=this.peekCodePoint(0),Q=this.peekCodePoint(1);return C===ui&&(qi(Q)||Q===oo)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(A),this.consumeIdentLikeToken();case Vh:if(this.peekCodePoint(0)===Pa)return this.consumeCodePoint(),b5;if(this.peekCodePoint(0)===Vh)return this.consumeCodePoint(),Q5;break;case zw:if(this.peekCodePoint(0)===Pa)return this.consumeCodePoint(),U5;break;case kr:return sf}return lo(A)?(this.consumeWhiteSpace(),k5):Nt(A)?(this.reconsumeCodePoint(A),this.consumeNumericToken()):Po(A)?(this.reconsumeCodePoint(A),this.consumeIdentLikeToken()):{type:6,value:At(A)}},t.prototype.consumeCodePoint=function(){var A=this._value.shift();return typeof A>"u"?-1:A},t.prototype.reconsumeCodePoint=function(A){this._value.unshift(A)},t.prototype.peekCodePoint=function(A){return A>=this._value.length?-1:this._value[A]},t.prototype.consumeUnicodeRangeToken=function(){for(var A=[],e=this.consumeCodePoint();qi(e)&&A.length<6;)A.push(e),e=this.consumeCodePoint();for(var r=!1;e===oo&&A.length<6;)A.push(e),e=this.consumeCodePoint(),r=!0;if(r){var n=parseInt(At.apply(void 0,A.map(function(l){return l===oo?Mg:l})),16),i=parseInt(At.apply(void 0,A.map(function(l){return l===oo?Vg:l})),16);return{type:30,start:n,end:i}}var s=parseInt(At.apply(void 0,A),16);if(this.peekCodePoint(0)===Gt&&qi(this.peekCodePoint(1))){this.consumeCodePoint(),e=this.consumeCodePoint();for(var a=[];qi(e)&&a.length<6;)a.push(e),e=this.consumeCodePoint();var i=parseInt(At.apply(void 0,a),16);return{type:30,start:s,end:i}}else return{type:30,start:s,end:s}},t.prototype.consumeIdentLikeToken=function(){var A=this.consumeName();return A.toLowerCase()==="url"&&this.peekCodePoint(0)===so?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===so?(this.consumeCodePoint(),{type:19,value:A}):{type:20,value:A}},t.prototype.consumeUrlToken=function(){var A=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===kr)return{type:22,value:""};var e=this.peekCodePoint(0);if(e===ao||e===io){var r=this.consumeStringToken(this.consumeCodePoint());return r.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===kr||this.peekCodePoint(0)===Oa)?(this.consumeCodePoint(),{type:22,value:r.value}):(this.consumeBadUrlRemnants(),fo)}for(;;){var n=this.consumeCodePoint();if(n===kr||n===Oa)return{type:22,value:At.apply(void 0,A)};if(lo(n))return this.consumeWhiteSpace(),this.peekCodePoint(0)===kr||this.peekCodePoint(0)===Oa?(this.consumeCodePoint(),{type:22,value:At.apply(void 0,A)}):(this.consumeBadUrlRemnants(),fo);if(n===io||n===ao||n===so||p5(n))return this.consumeBadUrlRemnants(),fo;if(n===za)if(Hn(n,this.peekCodePoint(0)))A.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),fo;else A.push(n)}},t.prototype.consumeWhiteSpace=function(){for(;lo(this.peekCodePoint(0));)this.consumeCodePoint()},t.prototype.consumeBadUrlRemnants=function(){for(;;){var A=this.consumeCodePoint();if(A===Oa||A===kr)return;Hn(A,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},t.prototype.consumeStringSlice=function(A){for(var e=5e4,r="";A>0;){var n=Math.min(e,A);r+=At.apply(void 0,this._value.splice(0,n)),A-=n}return this._value.shift(),r},t.prototype.consumeStringToken=function(A){var e="",r=0;do{var n=this._value[r];if(n===kr||n===void 0||n===A)return e+=this.consumeStringSlice(r),{type:0,value:e};if(n===ko)return this._value.splice(0,r),I5;if(n===za){var i=this._value[r+1];i!==kr&&i!==void 0&&(i===ko?(e+=this.consumeStringSlice(r),r=-1,this._value.shift()):Hn(n,i)&&(e+=this.consumeStringSlice(r),e+=At(this.consumeEscapedCodePoint()),r=-1))}r++}while(!0)},t.prototype.consumeNumber=function(){var A=[],e=ss,r=this.peekCodePoint(0);for((r===ui||r===Gt)&&A.push(this.consumeCodePoint());Nt(this.peekCodePoint(0));)A.push(this.consumeCodePoint());r=this.peekCodePoint(0);var n=this.peekCodePoint(1);if(r===ns&&Nt(n))for(A.push(this.consumeCodePoint(),this.consumeCodePoint()),e=Gh;Nt(this.peekCodePoint(0));)A.push(this.consumeCodePoint());r=this.peekCodePoint(0),n=this.peekCodePoint(1);var i=this.peekCodePoint(2);if((r===jg||r===Kg)&&((n===ui||n===Gt)&&Nt(i)||Nt(n)))for(A.push(this.consumeCodePoint(),this.consumeCodePoint()),e=Gh;Nt(this.peekCodePoint(0));)A.push(this.consumeCodePoint());return[w5(A),e]},t.prototype.consumeNumericToken=function(){var A=this.consumeNumber(),e=A[0],r=A[1],n=this.peekCodePoint(0),i=this.peekCodePoint(1),s=this.peekCodePoint(2);if(uo(n,i,s)){var a=this.consumeName();return{type:15,number:e,flags:r,unit:a}}return n===Ow?(this.consumeCodePoint(),{type:16,number:e,flags:r}):{type:17,number:e,flags:r}},t.prototype.consumeEscapedCodePoint=function(){var A=this.consumeCodePoint();if(qi(A)){for(var e=At(A);qi(this.peekCodePoint(0))&&e.length<6;)e+=At(this.consumeCodePoint());lo(this.peekCodePoint(0))&&this.consumeCodePoint();var r=parseInt(e,16);return r===0||c5(r)||r>1114111?qh:r}return A===kr?qh:A},t.prototype.consumeName=function(){for(var A="";;){var e=this.consumeCodePoint();if(Wh(e))A+=At(e);else if(Hn(e,this.peekCodePoint(0)))A+=At(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(e),A}},t})(),Wg=(function(){function t(A){this._tokens=A}return t.create=function(A){var e=new qg;return e.write(A),new t(e.read())},t.parseValue=function(A){return t.create(A).parseComponentValue()},t.parseValues=function(A){return t.create(A).parseComponentValues()},t.prototype.parseComponentValue=function(){for(var A=this.consumeToken();A.type===31;)A=this.consumeToken();if(A.type===32)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(A);var e=this.consumeComponentValue();do A=this.consumeToken();while(A.type===31);if(A.type===32)return e;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},t.prototype.parseComponentValues=function(){for(var A=[];;){var e=this.consumeComponentValue();if(e.type===32)return A;A.push(e),A.push()}},t.prototype.consumeComponentValue=function(){var A=this.consumeToken();switch(A.type){case 11:case 28:case 2:return this.consumeSimpleBlock(A.type);case 19:return this.consumeFunction(A)}return A},t.prototype.consumeSimpleBlock=function(A){for(var e={type:A,values:[]},r=this.consumeToken();;){if(r.type===32||O5(r,A))return e;this.reconsumeToken(r),e.values.push(this.consumeComponentValue()),r=this.consumeToken()}},t.prototype.consumeFunction=function(A){for(var e={name:A.value,values:[],type:18};;){var r=this.consumeToken();if(r.type===32||r.type===3)return e;this.reconsumeToken(r),e.values.push(this.consumeComponentValue())}},t.prototype.consumeToken=function(){var A=this._tokens.shift();return typeof A>"u"?sf:A},t.prototype.reconsumeToken=function(A){this._tokens.unshift(A)},t})(),os=function(t){return t.type===15},ua=function(t){return t.type===17},Ee=function(t){return t.type===20},P5=function(t){return t.type===0},of=function(t,A){return Ee(t)&&t.value===A},Xg=function(t){return t.type!==31},oa=function(t){return t.type!==31&&t.type!==4},Rr=function(t){var A=[],e=[];return t.forEach(function(r){if(r.type===4){if(e.length===0)throw new Error("Error parsing function args, zero tokens for arg");A.push(e),e=[];return}r.type!==31&&e.push(r)}),e.length&&A.push(e),A},O5=function(t,A){return A===11&&t.type===12||A===28&&t.type===29?!0:A===2&&t.type===3},Mn=function(t){return t.type===17||t.type===15},st=function(t){return t.type===16||Mn(t)},Jg=function(t){return t.length>1?[t[0],t[1]]:[t[0]]},Ft={type:17,number:0,flags:ss},Qf={type:16,number:50,flags:ss},Dn={type:16,number:100,flags:ss},ja=function(t,A,e){var r=t[0],n=t[1];return[De(r,A),De(typeof n<"u"?n:r,e)]},De=function(t,A){if(t.type===16)return t.number/100*A;if(os(t))switch(t.unit){case"rem":case"em":return 16*t.number;case"px":default:return t.number}return t.number},zg="deg",Yg="grad",Zg="rad",$g="turn",Zo={name:"angle",parse:function(t,A){if(A.type===15)switch(A.unit){case zg:return Math.PI*A.number/180;case Yg:return Math.PI/200*A.number;case Zg:return A.number;case $g:return Math.PI*2*A.number}throw new Error("Unsupported angle type")}},Ad=function(t){return t.type===15&&(t.unit===zg||t.unit===Yg||t.unit===Zg||t.unit===$g)},ed=function(t){var A=t.filter(Ee).map(function(e){return e.value}).join(" ");switch(A){case"to bottom right":case"to right bottom":case"left top":case"top left":return[Ft,Ft];case"to top":case"bottom":return ur(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[Ft,Dn];case"to right":case"left":return ur(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[Dn,Dn];case"to bottom":case"top":return ur(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[Dn,Ft];case"to left":case"right":return ur(270)}return 0},ur=function(t){return Math.PI*t/180},kn={name:"color",parse:function(t,A){if(A.type===18){var e=M5[A.name];if(typeof e>"u")throw new Error('Attempting to parse an unsupported color function "'+A.name+'"');return e(t,A.values)}if(A.type===5){if(A.value.length===3){var r=A.value.substring(0,1),n=A.value.substring(1,2),i=A.value.substring(2,3);return Tn(parseInt(r+r,16),parseInt(n+n,16),parseInt(i+i,16),1)}if(A.value.length===4){var r=A.value.substring(0,1),n=A.value.substring(1,2),i=A.value.substring(2,3),s=A.value.substring(3,4);return Tn(parseInt(r+r,16),parseInt(n+n,16),parseInt(i+i,16),parseInt(s+s,16)/255)}if(A.value.length===6){var r=A.value.substring(0,2),n=A.value.substring(2,4),i=A.value.substring(4,6);return Tn(parseInt(r,16),parseInt(n,16),parseInt(i,16),1)}if(A.value.length===8){var r=A.value.substring(0,2),n=A.value.substring(2,4),i=A.value.substring(4,6),s=A.value.substring(6,8);return Tn(parseInt(r,16),parseInt(n,16),parseInt(i,16),parseInt(s,16)/255)}}if(A.type===20){var a=un[A.value.toUpperCase()];if(typeof a<"u")return a}return un.TRANSPARENT}},Pn=function(t){return(255&t)===0},gt=function(t){var A=255&t,e=255&t>>8,r=255&t>>16,n=255&t>>24;return A<255?"rgba("+n+","+r+","+e+","+A/255+")":"rgb("+n+","+r+","+e+")"},Tn=function(t,A,e,r){return(t<<24|A<<16|e<<8|Math.round(r*255)<<0)>>>0},Xh=function(t,A){if(t.type===17)return t.number;if(t.type===16){var e=A===3?1:255;return A===3?t.number/100*e:Math.round(t.number/100*e)}return 0},Jh=function(t,A){var e=A.filter(oa);if(e.length===3){var r=e.map(Xh),n=r[0],i=r[1],s=r[2];return Tn(n,i,s,1)}if(e.length===4){var a=e.map(Xh),n=a[0],i=a[1],s=a[2],l=a[3];return Tn(n,i,s,l)}return 0};function mu(t,A,e){return e<0&&(e+=1),e>=1&&(e-=1),e<1/6?(A-t)*e*6+t:e<1/2?A:e<2/3?(A-t)*6*(2/3-e)+t:t}var zh=function(t,A){var e=A.filter(oa),r=e[0],n=e[1],i=e[2],s=e[3],a=(r.type===17?ur(r.number):Zo.parse(t,r))/(Math.PI*2),l=st(n)?n.number/100:0,u=st(i)?i.number/100:0,c=typeof s<"u"&&st(s)?De(s,1):1;if(l===0)return Tn(u*255,u*255,u*255,1);var B=u<=.5?u*(l+1):u+l-u*l,w=u*2-B,g=mu(w,B,a+1/3),C=mu(w,B,a),Q=mu(w,B,a-1/3);return Tn(g*255,C*255,Q*255,c)},M5={hsl:zh,hsla:zh,rgb:Jh,rgba:Jh},Ya=function(t,A){return kn.parse(t,Wg.create(A).parseComponentValue())},un={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},R5={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(t,A){return A.map(function(e){if(Ee(e))switch(e.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},K5={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},$o=function(t,A){var e=kn.parse(t,A[0]),r=A[1];return r&&st(r)?{color:e,stop:r}:{color:e,stop:null}},Yh=function(t,A){var e=t[0],r=t[t.length-1];e.stop===null&&(e.stop=Ft),r.stop===null&&(r.stop=Dn);for(var n=[],i=0,s=0;s<t.length;s++){var a=t[s].stop;if(a!==null){var l=De(a,A);l>i?n.push(l):n.push(i),i=l}else n.push(null)}for(var u=null,s=0;s<n.length;s++){var c=n[s];if(c===null)u===null&&(u=s);else if(u!==null){for(var B=s-u,w=n[u-1],g=(c-w)/(B+1),C=1;C<=B;C++)n[u+C-1]=g*C;u=null}}return t.map(function(Q,x){var F=Q.color;return{color:F,stop:Math.max(Math.min(1,n[x]/A),0)}})},G5=function(t,A,e){var r=A/2,n=e/2,i=De(t[0],A)-r,s=n-De(t[1],e);return(Math.atan2(s,i)+Math.PI*2)%(Math.PI*2)},j5=function(t,A,e){var r=typeof t=="number"?t:G5(t,A,e),n=Math.abs(A*Math.sin(r))+Math.abs(e*Math.cos(r)),i=A/2,s=e/2,a=n/2,l=Math.sin(r-Math.PI/2)*a,u=Math.cos(r-Math.PI/2)*a;return[n,i-u,i+u,s-l,s+l]},Cr=function(t,A){return Math.sqrt(t*t+A*A)},Zh=function(t,A,e,r,n){var i=[[0,0],[0,A],[t,0],[t,A]];return i.reduce(function(s,a){var l=a[0],u=a[1],c=Cr(e-l,r-u);return(n?c<s.optimumDistance:c>s.optimumDistance)?{optimumCorner:a,optimumDistance:c}:s},{optimumDistance:n?1/0:-1/0,optimumCorner:null}).optimumCorner},V5=function(t,A,e,r,n){var i=0,s=0;switch(t.size){case 0:t.shape===0?i=s=Math.min(Math.abs(A),Math.abs(A-r),Math.abs(e),Math.abs(e-n)):t.shape===1&&(i=Math.min(Math.abs(A),Math.abs(A-r)),s=Math.min(Math.abs(e),Math.abs(e-n)));break;case 2:if(t.shape===0)i=s=Math.min(Cr(A,e),Cr(A,e-n),Cr(A-r,e),Cr(A-r,e-n));else if(t.shape===1){var a=Math.min(Math.abs(e),Math.abs(e-n))/Math.min(Math.abs(A),Math.abs(A-r)),l=Zh(r,n,A,e,!0),u=l[0],c=l[1];i=Cr(u-A,(c-e)/a),s=a*i}break;case 1:t.shape===0?i=s=Math.max(Math.abs(A),Math.abs(A-r),Math.abs(e),Math.abs(e-n)):t.shape===1&&(i=Math.max(Math.abs(A),Math.abs(A-r)),s=Math.max(Math.abs(e),Math.abs(e-n)));break;case 3:if(t.shape===0)i=s=Math.max(Cr(A,e),Cr(A,e-n),Cr(A-r,e),Cr(A-r,e-n));else if(t.shape===1){var a=Math.max(Math.abs(e),Math.abs(e-n))/Math.max(Math.abs(A),Math.abs(A-r)),B=Zh(r,n,A,e,!1),u=B[0],c=B[1];i=Cr(u-A,(c-e)/a),s=a*i}break}return Array.isArray(t.size)&&(i=De(t.size[0],r),s=t.size.length===2?De(t.size[1],n):i),[i,s]},q5=function(t,A){var e=ur(180),r=[];return Rr(A).forEach(function(n,i){if(i===0){var s=n[0];if(s.type===20&&s.value==="to"){e=ed(n);return}else if(Ad(s)){e=Zo.parse(t,s);return}}var a=$o(t,n);r.push(a)}),{angle:e,stops:r,type:1}},co=function(t,A){var e=ur(180),r=[];return Rr(A).forEach(function(n,i){if(i===0){var s=n[0];if(s.type===20&&["top","left","right","bottom"].indexOf(s.value)!==-1){e=ed(n);return}else if(Ad(s)){e=(Zo.parse(t,s)+ur(270))%ur(360);return}}var a=$o(t,n);r.push(a)}),{angle:e,stops:r,type:1}},W5=function(t,A){var e=ur(180),r=[],n=1,i=0,s=3,a=[];return Rr(A).forEach(function(l,u){var c=l[0];if(u===0){if(Ee(c)&&c.value==="linear"){n=1;return}else if(Ee(c)&&c.value==="radial"){n=2;return}}if(c.type===18){if(c.name==="from"){var B=kn.parse(t,c.values[0]);r.push({stop:Ft,color:B})}else if(c.name==="to"){var B=kn.parse(t,c.values[0]);r.push({stop:Dn,color:B})}else if(c.name==="color-stop"){var w=c.values.filter(oa);if(w.length===2){var B=kn.parse(t,w[1]),g=w[0];ua(g)&&r.push({stop:{type:16,number:g.number*100,flags:g.flags},color:B})}}}}),n===1?{angle:(e+ur(180))%ur(360),stops:r,type:n}:{size:s,shape:i,stops:r,position:a,type:n}},td="closest-side",rd="farthest-side",nd="closest-corner",id="farthest-corner",ad="circle",sd="ellipse",od="cover",ld="contain",X5=function(t,A){var e=0,r=3,n=[],i=[];return Rr(A).forEach(function(s,a){var l=!0;if(a===0){var u=!1;l=s.reduce(function(B,w){if(u)if(Ee(w))switch(w.value){case"center":return i.push(Qf),B;case"top":case"left":return i.push(Ft),B;case"right":case"bottom":return i.push(Dn),B}else(st(w)||Mn(w))&&i.push(w);else if(Ee(w))switch(w.value){case ad:return e=0,!1;case sd:return e=1,!1;case"at":return u=!0,!1;case td:return r=0,!1;case od:case rd:return r=1,!1;case ld:case nd:return r=2,!1;case id:return r=3,!1}else if(Mn(w)||st(w))return Array.isArray(r)||(r=[]),r.push(w),!1;return B},l)}if(l){var c=$o(t,s);n.push(c)}}),{size:r,shape:e,stops:n,position:i,type:2}},ho=function(t,A){var e=0,r=3,n=[],i=[];return Rr(A).forEach(function(s,a){var l=!0;if(a===0?l=s.reduce(function(c,B){if(Ee(B))switch(B.value){case"center":return i.push(Qf),!1;case"top":case"left":return i.push(Ft),!1;case"right":case"bottom":return i.push(Dn),!1}else if(st(B)||Mn(B))return i.push(B),!1;return c},l):a===1&&(l=s.reduce(function(c,B){if(Ee(B))switch(B.value){case ad:return e=0,!1;case sd:return e=1,!1;case ld:case td:return r=0,!1;case rd:return r=1,!1;case nd:return r=2,!1;case od:case id:return r=3,!1}else if(Mn(B)||st(B))return Array.isArray(r)||(r=[]),r.push(B),!1;return c},l)),l){var u=$o(t,s);n.push(u)}}),{size:r,shape:e,stops:n,position:i,type:2}},J5=function(t){return t.type===1},z5=function(t){return t.type===2},bf={name:"image",parse:function(t,A){if(A.type===22){var e={url:A.value,type:0};return t.cache.addImage(A.value),e}if(A.type===18){var r=ud[A.name];if(typeof r>"u")throw new Error('Attempting to parse an unsupported image function "'+A.name+'"');return r(t,A.values)}throw new Error("Unsupported image type "+A.type)}};function Y5(t){return!(t.type===20&&t.value==="none")&&(t.type!==18||!!ud[t.name])}var ud={"linear-gradient":q5,"-moz-linear-gradient":co,"-ms-linear-gradient":co,"-o-linear-gradient":co,"-webkit-linear-gradient":co,"radial-gradient":X5,"-moz-radial-gradient":ho,"-ms-radial-gradient":ho,"-o-radial-gradient":ho,"-webkit-radial-gradient":ho,"-webkit-gradient":W5},Z5={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(t,A){if(A.length===0)return[];var e=A[0];return e.type===20&&e.value==="none"?[]:A.filter(function(r){return oa(r)&&Y5(r)}).map(function(r){return bf.parse(t,r)})}},$5={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(t,A){return A.map(function(e){if(Ee(e))switch(e.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},Av={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(t,A){return Rr(A).map(function(e){return e.filter(st)}).map(Jg)}},ev={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(t,A){return Rr(A).map(function(e){return e.filter(Ee).map(function(r){return r.value}).join(" ")}).map(tv)}},tv=function(t){switch(t){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;case"repeat":default:return 0}},sa;(function(t){t.AUTO="auto",t.CONTAIN="contain",t.COVER="cover"})(sa||(sa={}));var rv={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(t,A){return Rr(A).map(function(e){return e.filter(nv)})}},nv=function(t){return Ee(t)||st(t)},Al=function(t){return{name:"border-"+t+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},iv=Al("top"),av=Al("right"),sv=Al("bottom"),ov=Al("left"),el=function(t){return{name:"border-radius-"+t,initialValue:"0 0",prefix:!1,type:1,parse:function(A,e){return Jg(e.filter(st))}}},lv=el("top-left"),uv=el("top-right"),fv=el("bottom-right"),cv=el("bottom-left"),tl=function(t){return{name:"border-"+t+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(A,e){switch(e){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},hv=tl("top"),gv=tl("right"),dv=tl("bottom"),Bv=tl("left"),rl=function(t){return{name:"border-"+t+"-width",initialValue:"0",type:0,prefix:!1,parse:function(A,e){return os(e)?e.number:0}}},pv=rl("top"),wv=rl("right"),vv=rl("bottom"),mv=rl("left"),Cv={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Fv={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(t,A){switch(A){case"rtl":return 1;case"ltr":default:return 0}}},yv={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(t,A){return A.filter(Ee).reduce(function(e,r){return e|Qv(r.value)},0)}},Qv=function(t){switch(t){case"block":case"-webkit-box":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},bv={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(t,A){switch(A){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},Uv={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(t,A){return A.type===20&&A.value==="normal"?0:A.type===17||A.type===15?A.number:0}},Oo;(function(t){t.NORMAL="normal",t.STRICT="strict"})(Oo||(Oo={}));var Ev={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(t,A){switch(A){case"strict":return Oo.STRICT;case"normal":default:return Oo.NORMAL}}},Lv={name:"line-height",initialValue:"normal",prefix:!1,type:4},$h=function(t,A){return Ee(t)&&t.value==="normal"?1.2*A:t.type===17?A*t.number:st(t)?De(t,A):A},xv={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(t,A){return A.type===20&&A.value==="none"?null:bf.parse(t,A)}},Iv={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(t,A){switch(A){case"inside":return 0;case"outside":default:return 1}}},lf={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(t,A){switch(A){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":return 22;case"hebrew":return 22;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;case"none":default:return-1}}},nl=function(t){return{name:"margin-"+t,initialValue:"0",prefix:!1,type:4}},Sv=nl("top"),Hv=nl("right"),Nv=nl("bottom"),_v=nl("left"),Dv={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(t,A){return A.filter(Ee).map(function(e){switch(e.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;case"visible":default:return 0}})}},Tv={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(t,A){switch(A){case"break-word":return"break-word";case"normal":default:return"normal"}}},il=function(t){return{name:"padding-"+t,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},kv=il("top"),Pv=il("right"),Ov=il("bottom"),Mv=il("left"),Rv={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(t,A){switch(A){case"right":return 2;case"center":case"justify":return 1;case"left":default:return 0}}},Kv={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(t,A){switch(A){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},Gv={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(t,A){return A.length===1&&of(A[0],"none")?[]:Rr(A).map(function(e){for(var r={color:un.TRANSPARENT,offsetX:Ft,offsetY:Ft,blur:Ft},n=0,i=0;i<e.length;i++){var s=e[i];Mn(s)?(n===0?r.offsetX=s:n===1?r.offsetY=s:r.blur=s,n++):r.color=kn.parse(t,s)}return r})}},jv={name:"text-transform",initialValue:"none",prefix:!1,type:2,parse:function(t,A){switch(A){case"uppercase":return 2;case"lowercase":return 1;case"capitalize":return 3}return 0}},Vv={name:"transform",initialValue:"none",prefix:!0,type:0,parse:function(t,A){if(A.type===20&&A.value==="none")return null;if(A.type===18){var e=Xv[A.name];if(typeof e>"u")throw new Error('Attempting to parse an unsupported transform function "'+A.name+'"');return e(A.values)}return null}},qv=function(t){var A=t.filter(function(e){return e.type===17}).map(function(e){return e.number});return A.length===6?A:null},Wv=function(t){var A=t.filter(function(l){return l.type===17}).map(function(l){return l.number}),e=A[0],r=A[1];A[2],A[3];var n=A[4],i=A[5];A[6],A[7],A[8],A[9],A[10],A[11];var s=A[12],a=A[13];return A[14],A[15],A.length===16?[e,r,n,i,s,a]:null},Xv={matrix:qv,matrix3d:Wv},A0={type:16,number:50,flags:ss},Jv=[A0,A0],zv={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:function(t,A){var e=A.filter(st);return e.length!==2?Jv:[e[0],e[1]]}},Yv={name:"visible",initialValue:"none",prefix:!1,type:2,parse:function(t,A){switch(A){case"hidden":return 1;case"collapse":return 2;case"visible":default:return 0}}},Za;(function(t){t.NORMAL="normal",t.BREAK_ALL="break-all",t.KEEP_ALL="keep-all"})(Za||(Za={}));var Zv={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:function(t,A){switch(A){case"break-all":return Za.BREAK_ALL;case"keep-all":return Za.KEEP_ALL;case"normal":default:return Za.NORMAL}}},$v={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:function(t,A){if(A.type===20)return{auto:!0,order:0};if(ua(A))return{auto:!1,order:A.number};throw new Error("Invalid z-index number parsed")}},fd={name:"time",parse:function(t,A){if(A.type===15)switch(A.unit.toLowerCase()){case"s":return 1e3*A.number;case"ms":return A.number}throw new Error("Unsupported time type")}},Am={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:function(t,A){return ua(A)?A.number:1}},em={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},tm={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:function(t,A){return A.filter(Ee).map(function(e){switch(e.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0}).filter(function(e){return e!==0})}},rm={name:"font-family",initialValue:"",prefix:!1,type:1,parse:function(t,A){var e=[],r=[];return A.forEach(function(n){switch(n.type){case 20:case 0:e.push(n.value);break;case 17:e.push(n.number.toString());break;case 4:r.push(e.join(" ")),e.length=0;break}}),e.length&&r.push(e.join(" ")),r.map(function(n){return n.indexOf(" ")===-1?n:"'"+n+"'"})}},nm={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},im={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:function(t,A){if(ua(A))return A.number;if(Ee(A))switch(A.value){case"bold":return 700;case"normal":default:return 400}return 400}},am={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:function(t,A){return A.filter(Ee).map(function(e){return e.value})}},sm={name:"font-style",initialValue:"normal",prefix:!1,type:2,parse:function(t,A){switch(A){case"oblique":return"oblique";case"italic":return"italic";case"normal":default:return"normal"}}},ct=function(t,A){return(t&A)!==0},om={name:"content",initialValue:"none",type:1,prefix:!1,parse:function(t,A){if(A.length===0)return[];var e=A[0];return e.type===20&&e.value==="none"?[]:A}},lm={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:function(t,A){if(A.length===0)return null;var e=A[0];if(e.type===20&&e.value==="none")return null;for(var r=[],n=A.filter(Xg),i=0;i<n.length;i++){var s=n[i],a=n[i+1];if(s.type===20){var l=a&&ua(a)?a.number:1;r.push({counter:s.value,increment:l})}}return r}},um={name:"counter-reset",initialValue:"none",prefix:!0,type:1,parse:function(t,A){if(A.length===0)return[];for(var e=[],r=A.filter(Xg),n=0;n<r.length;n++){var i=r[n],s=r[n+1];if(Ee(i)&&i.value!=="none"){var a=s&&ua(s)?s.number:0;e.push({counter:i.value,reset:a})}}return e}},fm={name:"duration",initialValue:"0s",prefix:!1,type:1,parse:function(t,A){return A.filter(os).map(function(e){return fd.parse(t,e)})}},cm={name:"quotes",initialValue:"none",prefix:!0,type:1,parse:function(t,A){if(A.length===0)return null;var e=A[0];if(e.type===20&&e.value==="none")return null;var r=[],n=A.filter(P5);if(n.length%2!==0)return null;for(var i=0;i<n.length;i+=2){var s=n[i].value,a=n[i+1].value;r.push({open:s,close:a})}return r}},e0=function(t,A,e){if(!t)return"";var r=t[Math.min(A,t.length-1)];return r?e?r.open:r.close:""},hm={name:"box-shadow",initialValue:"none",type:1,prefix:!1,parse:function(t,A){return A.length===1&&of(A[0],"none")?[]:Rr(A).map(function(e){for(var r={color:255,offsetX:Ft,offsetY:Ft,blur:Ft,spread:Ft,inset:!1},n=0,i=0;i<e.length;i++){var s=e[i];of(s,"inset")?r.inset=!0:Mn(s)?(n===0?r.offsetX=s:n===1?r.offsetY=s:n===2?r.blur=s:r.spread=s,n++):r.color=kn.parse(t,s)}return r})}},gm={name:"paint-order",initialValue:"normal",prefix:!1,type:1,parse:function(t,A){var e=[0,1,2],r=[];return A.filter(Ee).forEach(function(n){switch(n.value){case"stroke":r.push(1);break;case"fill":r.push(0);break;case"markers":r.push(2);break}}),e.forEach(function(n){r.indexOf(n)===-1&&r.push(n)}),r}},dm={name:"-webkit-text-stroke-color",initialValue:"currentcolor",prefix:!1,type:3,format:"color"},Bm={name:"-webkit-text-stroke-width",initialValue:"0",type:0,prefix:!1,parse:function(t,A){return os(A)?A.number:0}},pm=(function(){function t(A,e){var r,n;this.animationDuration=xA(A,fm,e.animationDuration),this.backgroundClip=xA(A,R5,e.backgroundClip),this.backgroundColor=xA(A,K5,e.backgroundColor),this.backgroundImage=xA(A,Z5,e.backgroundImage),this.backgroundOrigin=xA(A,$5,e.backgroundOrigin),this.backgroundPosition=xA(A,Av,e.backgroundPosition),this.backgroundRepeat=xA(A,ev,e.backgroundRepeat),this.backgroundSize=xA(A,rv,e.backgroundSize),this.borderTopColor=xA(A,iv,e.borderTopColor),this.borderRightColor=xA(A,av,e.borderRightColor),this.borderBottomColor=xA(A,sv,e.borderBottomColor),this.borderLeftColor=xA(A,ov,e.borderLeftColor),this.borderTopLeftRadius=xA(A,lv,e.borderTopLeftRadius),this.borderTopRightRadius=xA(A,uv,e.borderTopRightRadius),this.borderBottomRightRadius=xA(A,fv,e.borderBottomRightRadius),this.borderBottomLeftRadius=xA(A,cv,e.borderBottomLeftRadius),this.borderTopStyle=xA(A,hv,e.borderTopStyle),this.borderRightStyle=xA(A,gv,e.borderRightStyle),this.borderBottomStyle=xA(A,dv,e.borderBottomStyle),this.borderLeftStyle=xA(A,Bv,e.borderLeftStyle),this.borderTopWidth=xA(A,pv,e.borderTopWidth),this.borderRightWidth=xA(A,wv,e.borderRightWidth),this.borderBottomWidth=xA(A,vv,e.borderBottomWidth),this.borderLeftWidth=xA(A,mv,e.borderLeftWidth),this.boxShadow=xA(A,hm,e.boxShadow),this.color=xA(A,Cv,e.color),this.direction=xA(A,Fv,e.direction),this.display=xA(A,yv,e.display),this.float=xA(A,bv,e.cssFloat),this.fontFamily=xA(A,rm,e.fontFamily),this.fontSize=xA(A,nm,e.fontSize),this.fontStyle=xA(A,sm,e.fontStyle),this.fontVariant=xA(A,am,e.fontVariant),this.fontWeight=xA(A,im,e.fontWeight),this.letterSpacing=xA(A,Uv,e.letterSpacing),this.lineBreak=xA(A,Ev,e.lineBreak),this.lineHeight=xA(A,Lv,e.lineHeight),this.listStyleImage=xA(A,xv,e.listStyleImage),this.listStylePosition=xA(A,Iv,e.listStylePosition),this.listStyleType=xA(A,lf,e.listStyleType),this.marginTop=xA(A,Sv,e.marginTop),this.marginRight=xA(A,Hv,e.marginRight),this.marginBottom=xA(A,Nv,e.marginBottom),this.marginLeft=xA(A,_v,e.marginLeft),this.opacity=xA(A,Am,e.opacity);var i=xA(A,Dv,e.overflow);this.overflowX=i[0],this.overflowY=i[i.length>1?1:0],this.overflowWrap=xA(A,Tv,e.overflowWrap),this.paddingTop=xA(A,kv,e.paddingTop),this.paddingRight=xA(A,Pv,e.paddingRight),this.paddingBottom=xA(A,Ov,e.paddingBottom),this.paddingLeft=xA(A,Mv,e.paddingLeft),this.paintOrder=xA(A,gm,e.paintOrder),this.position=xA(A,Kv,e.position),this.textAlign=xA(A,Rv,e.textAlign),this.textDecorationColor=xA(A,em,(r=e.textDecorationColor)!==null&&r!==void 0?r:e.color),this.textDecorationLine=xA(A,tm,(n=e.textDecorationLine)!==null&&n!==void 0?n:e.textDecoration),this.textShadow=xA(A,Gv,e.textShadow),this.textTransform=xA(A,jv,e.textTransform),this.transform=xA(A,Vv,e.transform),this.transformOrigin=xA(A,zv,e.transformOrigin),this.visibility=xA(A,Yv,e.visibility),this.webkitTextStrokeColor=xA(A,dm,e.webkitTextStrokeColor),this.webkitTextStrokeWidth=xA(A,Bm,e.webkitTextStrokeWidth),this.wordBreak=xA(A,Zv,e.wordBreak),this.zIndex=xA(A,$v,e.zIndex)}return t.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===0},t.prototype.isTransparent=function(){return Pn(this.backgroundColor)},t.prototype.isTransformed=function(){return this.transform!==null},t.prototype.isPositioned=function(){return this.position!==0},t.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},t.prototype.isFloating=function(){return this.float!==0},t.prototype.isInlineLevel=function(){return ct(this.display,4)||ct(this.display,33554432)||ct(this.display,268435456)||ct(this.display,536870912)||ct(this.display,67108864)||ct(this.display,134217728)},t})(),wm=(function(){function t(A,e){this.content=xA(A,om,e.content),this.quotes=xA(A,cm,e.quotes)}return t})(),t0=(function(){function t(A,e){this.counterIncrement=xA(A,lm,e.counterIncrement),this.counterReset=xA(A,um,e.counterReset)}return t})(),xA=function(t,A,e){var r=new qg,n=e!==null&&typeof e<"u"?e.toString():A.initialValue;r.write(n);var i=new Wg(r.read());switch(A.type){case 2:var s=i.parseComponentValue();return A.parse(t,Ee(s)?s.value:A.initialValue);case 0:return A.parse(t,i.parseComponentValue());case 1:return A.parse(t,i.parseComponentValues());case 4:return i.parseComponentValue();case 3:switch(A.format){case"angle":return Zo.parse(t,i.parseComponentValue());case"color":return kn.parse(t,i.parseComponentValue());case"image":return bf.parse(t,i.parseComponentValue());case"length":var a=i.parseComponentValue();return Mn(a)?a:Ft;case"length-percentage":var l=i.parseComponentValue();return st(l)?l:Ft;case"time":return fd.parse(t,i.parseComponentValue())}break}},vm="data-html2canvas-debug",mm=function(t){var A=t.getAttribute(vm);switch(A){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},uf=function(t,A){var e=mm(t);return e===1||A===e},Kr=(function(){function t(A,e){if(this.context=A,this.textNodes=[],this.elements=[],this.flags=0,uf(e,3))debugger;this.styles=new pm(A,window.getComputedStyle(e,null)),hf(e)&&(this.styles.animationDuration.some(function(r){return r>0})&&(e.style.animationDuration="0s"),this.styles.transform!==null&&(e.style.transform="none")),this.bounds=zo(this.context,e),uf(e,4)&&(this.flags|=16)}return t})(),Cm="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAQADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUAAAAFAAUAAAAFAAUAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAQAAAAUABQAFAAUABQAFAAAAAAAFAAUAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAFAAUAAQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAAABwAHAAcAAAAHAAcABwAFAAEAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAcABwAFAAUAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAAAAQABAAAAAAAAAAAAAAAFAAUABQAFAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAHAAcAAAAHAAcAAAAAAAUABQAHAAUAAQAHAAEABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwABAAUABQAFAAUAAAAAAAAAAAAAAAEAAQABAAEAAQABAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABQANAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAABQAHAAUABQAFAAAAAAAAAAcABQAFAAUABQAFAAQABAAEAAQABAAEAAQABAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUAAAAFAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAUAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAcABwAFAAcABwAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUABwAHAAUABQAFAAUAAAAAAAcABwAAAAAABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAAAAAAAAAAABQAFAAAAAAAFAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAFAAUABQAFAAUAAAAFAAUABwAAAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABwAFAAUABQAFAAAAAAAHAAcAAAAAAAcABwAFAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAAAAAAAAAHAAcABwAAAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAUABQAFAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAHAAcABQAHAAcAAAAFAAcABwAAAAcABwAFAAUAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAFAAcABwAFAAUABQAAAAUAAAAHAAcABwAHAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAHAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUAAAAFAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAUAAAAFAAUAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABwAFAAUABQAFAAUABQAAAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABQAFAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAFAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAHAAUABQAFAAUABQAFAAUABwAHAAcABwAHAAcABwAHAAUABwAHAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABwAHAAcABwAFAAUABwAHAAcAAAAAAAAAAAAHAAcABQAHAAcABwAHAAcABwAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAUABQAFAAUABQAFAAUAAAAFAAAABQAAAAAABQAFAAUABQAFAAUABQAFAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAUABQAFAAUABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABwAFAAcABwAHAAcABwAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAUABQAFAAUABwAHAAUABQAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABQAFAAcABwAHAAUABwAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAcABQAFAAUABQAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAAAAAABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAAAAAAAAAFAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAUABQAHAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAFAAUABQAFAAcABwAFAAUABwAHAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAcABwAFAAUABwAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABQAAAAAABQAFAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAcABwAAAAAAAAAAAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAcABwAFAAcABwAAAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAFAAUABQAAAAUABQAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABwAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAHAAcABQAHAAUABQAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAAABwAHAAAAAAAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAFAAUABwAFAAcABwAFAAcABQAFAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAAAAAABwAHAAcABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAFAAcABwAFAAUABQAFAAUABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAUABQAFAAcABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABQAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAAAAAAFAAUABwAHAAcABwAFAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAHAAUABQAFAAUABQAFAAUABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAABQAAAAUABQAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAHAAcAAAAFAAUAAAAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABQAFAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAABQAFAAUABQAFAAUABQAAAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAFAAUABQAFAAUADgAOAA4ADgAOAA4ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAMAAwADAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAAAAAAAAAAAAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAAAAAAAAAAAAsADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwACwAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAADgAOAA4AAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAAAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4AAAAOAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAAAAAAAAAAAA4AAAAOAAAAAAAAAAAADgAOAA4AAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",r0="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Va=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var go=0;go<r0.length;go++)Va[r0.charCodeAt(go)]=go;var Fm=function(t){var A=t.length*.75,e=t.length,r,n=0,i,s,a,l;t[t.length-1]==="="&&(A--,t[t.length-2]==="="&&A--);var u=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(A):new Array(A),c=Array.isArray(u)?u:new Uint8Array(u);for(r=0;r<e;r+=4)i=Va[t.charCodeAt(r)],s=Va[t.charCodeAt(r+1)],a=Va[t.charCodeAt(r+2)],l=Va[t.charCodeAt(r+3)],c[n++]=i<<2|s>>4,c[n++]=(s&15)<<4|a>>2,c[n++]=(a&3)<<6|l&63;return u},ym=function(t){for(var A=t.length,e=[],r=0;r<A;r+=2)e.push(t[r+1]<<8|t[r]);return e},Qm=function(t){for(var A=t.length,e=[],r=0;r<A;r+=4)e.push(t[r+3]<<24|t[r+2]<<16|t[r+1]<<8|t[r]);return e},hi=5,Uf=11,Cu=2,bm=Uf-hi,cd=65536>>hi,Um=1<<hi,Fu=Um-1,Em=1024>>hi,Lm=cd+Em,xm=Lm,Im=32,Sm=xm+Im,Hm=65536>>Uf,Nm=1<<bm,_m=Nm-1,n0=function(t,A,e){return t.slice?t.slice(A,e):new Uint16Array(Array.prototype.slice.call(t,A,e))},Dm=function(t,A,e){return t.slice?t.slice(A,e):new Uint32Array(Array.prototype.slice.call(t,A,e))},Tm=function(t,A){var e=Fm(t),r=Array.isArray(e)?Qm(e):new Uint32Array(e),n=Array.isArray(e)?ym(e):new Uint16Array(e),i=24,s=n0(n,i/2,r[4]/2),a=r[5]===2?n0(n,(i+r[4])/2):Dm(r,Math.ceil((i+r[4])/4));return new km(r[0],r[1],r[2],r[3],s,a)},km=(function(){function t(A,e,r,n,i,s){this.initialValue=A,this.errorValue=e,this.highStart=r,this.highValueIndex=n,this.index=i,this.data=s}return t.prototype.get=function(A){var e;if(A>=0){if(A<55296||A>56319&&A<=65535)return e=this.index[A>>hi],e=(e<<Cu)+(A&Fu),this.data[e];if(A<=65535)return e=this.index[cd+(A-55296>>hi)],e=(e<<Cu)+(A&Fu),this.data[e];if(A<this.highStart)return e=Sm-Hm+(A>>Uf),e=this.index[e],e+=A>>hi&_m,e=this.index[e],e=(e<<Cu)+(A&Fu),this.data[e];if(A<=1114111)return this.data[this.highValueIndex]}return this.errorValue},t})(),i0="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Pm=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var Bo=0;Bo<i0.length;Bo++)Pm[i0.charCodeAt(Bo)]=Bo;var Om=1,yu=2,Qu=3,a0=4,s0=5,Mm=7,o0=8,bu=9,Uu=10,l0=11,u0=12,f0=13,c0=14,Eu=15,Rm=function(t){for(var A=[],e=0,r=t.length;e<r;){var n=t.charCodeAt(e++);if(n>=55296&&n<=56319&&e<r){var i=t.charCodeAt(e++);(i&64512)===56320?A.push(((n&1023)<<10)+(i&1023)+65536):(A.push(n),e--)}else A.push(n)}return A},Km=function(){for(var t=[],A=0;A<arguments.length;A++)t[A]=arguments[A];if(String.fromCodePoint)return String.fromCodePoint.apply(String,t);var e=t.length;if(!e)return"";for(var r=[],n=-1,i="";++n<e;){var s=t[n];s<=65535?r.push(s):(s-=65536,r.push((s>>10)+55296,s%1024+56320)),(n+1===e||r.length>16384)&&(i+=String.fromCharCode.apply(String,r),r.length=0)}return i},Gm=Tm(Cm),or="×",Lu="÷",jm=function(t){return Gm.get(t)},Vm=function(t,A,e){var r=e-2,n=A[r],i=A[e-1],s=A[e];if(i===yu&&s===Qu)return or;if(i===yu||i===Qu||i===a0||s===yu||s===Qu||s===a0)return Lu;if(i===o0&&[o0,bu,l0,u0].indexOf(s)!==-1||(i===l0||i===bu)&&(s===bu||s===Uu)||(i===u0||i===Uu)&&s===Uu||s===f0||s===s0||s===Mm||i===Om)return or;if(i===f0&&s===c0){for(;n===s0;)n=A[--r];if(n===c0)return or}if(i===Eu&&s===Eu){for(var a=0;n===Eu;)a++,n=A[--r];if(a%2===0)return or}return Lu},qm=function(t){var A=Rm(t),e=A.length,r=0,n=0,i=A.map(jm);return{next:function(){if(r>=e)return{done:!0,value:null};for(var s=or;r<e&&(s=Vm(A,i,++r))===or;);if(s!==or||r===e){var a=Km.apply(null,A.slice(n,r));return n=r,{value:a,done:!1}}return{done:!0,value:null}}}},Wm=function(t){for(var A=qm(t),e=[],r;!(r=A.next()).done;)r.value&&e.push(r.value.slice());return e},Xm=function(t){var A=123;if(t.createRange){var e=t.createRange();if(e.getBoundingClientRect){var r=t.createElement("boundtest");r.style.height=A+"px",r.style.display="block",t.body.appendChild(r),e.selectNode(r);var n=e.getBoundingClientRect(),i=Math.round(n.height);if(t.body.removeChild(r),i===A)return!0}}return!1},Jm=function(t){var A=t.createElement("boundtest");A.style.width="50px",A.style.display="block",A.style.fontSize="12px",A.style.letterSpacing="0px",A.style.wordSpacing="0px",t.body.appendChild(A);var e=t.createRange();A.innerHTML=typeof"".repeat=="function"?"👨".repeat(10):"";var r=A.firstChild,n=Yo(r.data).map(function(l){return At(l)}),i=0,s={},a=n.every(function(l,u){e.setStart(r,i),e.setEnd(r,i+l.length);var c=e.getBoundingClientRect();i+=l.length;var B=c.x>s.x||c.y>s.y;return s=c,u===0?!0:B});return t.body.removeChild(A),a},zm=function(){return typeof new Image().crossOrigin<"u"},Ym=function(){return typeof new XMLHttpRequest().responseType=="string"},Zm=function(t){var A=new Image,e=t.createElement("canvas"),r=e.getContext("2d");if(!r)return!1;A.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{r.drawImage(A,0,0),e.toDataURL()}catch{return!1}return!0},h0=function(t){return t[0]===0&&t[1]===255&&t[2]===0&&t[3]===255},$m=function(t){var A=t.createElement("canvas"),e=100;A.width=e,A.height=e;var r=A.getContext("2d");if(!r)return Promise.reject(!1);r.fillStyle="rgb(0, 255, 0)",r.fillRect(0,0,e,e);var n=new Image,i=A.toDataURL();n.src=i;var s=ff(e,e,0,0,n);return r.fillStyle="red",r.fillRect(0,0,e,e),g0(s).then(function(a){r.drawImage(a,0,0);var l=r.getImageData(0,0,e,e).data;r.fillStyle="red",r.fillRect(0,0,e,e);var u=t.createElement("div");return u.style.backgroundImage="url("+i+")",u.style.height=e+"px",h0(l)?g0(ff(e,e,0,0,u)):Promise.reject(!1)}).then(function(a){return r.drawImage(a,0,0),h0(r.getImageData(0,0,e,e).data)}).catch(function(){return!1})},ff=function(t,A,e,r,n){var i="http://www.w3.org/2000/svg",s=document.createElementNS(i,"svg"),a=document.createElementNS(i,"foreignObject");return s.setAttributeNS(null,"width",t.toString()),s.setAttributeNS(null,"height",A.toString()),a.setAttributeNS(null,"width","100%"),a.setAttributeNS(null,"height","100%"),a.setAttributeNS(null,"x",e.toString()),a.setAttributeNS(null,"y",r.toString()),a.setAttributeNS(null,"externalResourcesRequired","true"),s.appendChild(a),a.appendChild(n),s},g0=function(t){return new Promise(function(A,e){var r=new Image;r.onload=function(){return A(r)},r.onerror=e,r.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(t))})},Ct={get SUPPORT_RANGE_BOUNDS(){var t=Xm(document);return Object.defineProperty(Ct,"SUPPORT_RANGE_BOUNDS",{value:t}),t},get SUPPORT_WORD_BREAKING(){var t=Ct.SUPPORT_RANGE_BOUNDS&&Jm(document);return Object.defineProperty(Ct,"SUPPORT_WORD_BREAKING",{value:t}),t},get SUPPORT_SVG_DRAWING(){var t=Zm(document);return Object.defineProperty(Ct,"SUPPORT_SVG_DRAWING",{value:t}),t},get SUPPORT_FOREIGNOBJECT_DRAWING(){var t=typeof Array.from=="function"&&typeof window.fetch=="function"?$m(document):Promise.resolve(!1);return Object.defineProperty(Ct,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:t}),t},get SUPPORT_CORS_IMAGES(){var t=zm();return Object.defineProperty(Ct,"SUPPORT_CORS_IMAGES",{value:t}),t},get SUPPORT_RESPONSE_TYPE(){var t=Ym();return Object.defineProperty(Ct,"SUPPORT_RESPONSE_TYPE",{value:t}),t},get SUPPORT_CORS_XHR(){var t="withCredentials"in new XMLHttpRequest;return Object.defineProperty(Ct,"SUPPORT_CORS_XHR",{value:t}),t},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var t=!!(typeof Intl<"u"&&Intl.Segmenter);return Object.defineProperty(Ct,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:t}),t}},$a=(function(){function t(A,e){this.text=A,this.bounds=e}return t})(),AC=function(t,A,e,r){var n=rC(A,e),i=[],s=0;return n.forEach(function(a){if(e.textDecorationLine.length||a.trim().length>0)if(Ct.SUPPORT_RANGE_BOUNDS){var l=d0(r,s,a.length).getClientRects();if(l.length>1){var u=Ef(a),c=0;u.forEach(function(w){i.push(new $a(w,cn.fromDOMRectList(t,d0(r,c+s,w.length).getClientRects()))),c+=w.length})}else i.push(new $a(a,cn.fromDOMRectList(t,l)))}else{var B=r.splitText(a.length);i.push(new $a(a,eC(t,r))),r=B}else Ct.SUPPORT_RANGE_BOUNDS||(r=r.splitText(a.length));s+=a.length}),i},eC=function(t,A){var e=A.ownerDocument;if(e){var r=e.createElement("html2canvaswrapper");r.appendChild(A.cloneNode(!0));var n=A.parentNode;if(n){n.replaceChild(r,A);var i=zo(t,r);return r.firstChild&&n.replaceChild(r.firstChild,r),i}}return cn.EMPTY},d0=function(t,A,e){var r=t.ownerDocument;if(!r)throw new Error("Node has no owner document");var n=r.createRange();return n.setStart(t,A),n.setEnd(t,A+e),n},Ef=function(t){if(Ct.SUPPORT_NATIVE_TEXT_SEGMENTATION){var A=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(A.segment(t)).map(function(e){return e.segment})}return Wm(t)},tC=function(t,A){if(Ct.SUPPORT_NATIVE_TEXT_SEGMENTATION){var e=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(e.segment(t)).map(function(r){return r.segment})}return iC(t,A)},rC=function(t,A){return A.letterSpacing!==0?Ef(t):tC(t,A)},nC=[32,160,4961,65792,65793,4153,4241],iC=function(t,A){for(var e=Hw(t,{lineBreak:A.lineBreak,wordBreak:A.overflowWrap==="break-word"?"break-word":A.wordBreak}),r=[],n,i=function(){if(n.value){var s=n.value.slice(),a=Yo(s),l="";a.forEach(function(u){nC.indexOf(u)===-1?l+=At(u):(l.length&&r.push(l),r.push(At(u)),l="")}),l.length&&r.push(l)}};!(n=e.next()).done;)i();return r},aC=(function(){function t(A,e,r){this.text=sC(e.data,r.textTransform),this.textBounds=AC(A,this.text,r,e)}return t})(),sC=function(t,A){switch(A){case 1:return t.toLowerCase();case 3:return t.replace(oC,lC);case 2:return t.toUpperCase();default:return t}},oC=/(^|\s|:|-|\(|\))([a-z])/g,lC=function(t,A,e){return t.length>0?A+e.toUpperCase():t},hd=(function(t){br(A,t);function A(e,r){var n=t.call(this,e,r)||this;return n.src=r.currentSrc||r.src,n.intrinsicWidth=r.naturalWidth,n.intrinsicHeight=r.naturalHeight,n.context.cache.addImage(n.src),n}return A})(Kr),gd=(function(t){br(A,t);function A(e,r){var n=t.call(this,e,r)||this;return n.canvas=r,n.intrinsicWidth=r.width,n.intrinsicHeight=r.height,n}return A})(Kr),dd=(function(t){br(A,t);function A(e,r){var n=t.call(this,e,r)||this,i=new XMLSerializer,s=zo(e,r);return r.setAttribute("width",s.width+"px"),r.setAttribute("height",s.height+"px"),n.svg="data:image/svg+xml,"+encodeURIComponent(i.serializeToString(r)),n.intrinsicWidth=r.width.baseVal.value,n.intrinsicHeight=r.height.baseVal.value,n.context.cache.addImage(n.svg),n}return A})(Kr),Bd=(function(t){br(A,t);function A(e,r){var n=t.call(this,e,r)||this;return n.value=r.value,n}return A})(Kr),cf=(function(t){br(A,t);function A(e,r){var n=t.call(this,e,r)||this;return n.start=r.start,n.reversed=typeof r.reversed=="boolean"&&r.reversed===!0,n}return A})(Kr),uC=[{type:15,flags:0,unit:"px",number:3}],fC=[{type:16,flags:0,number:50}],cC=function(t){return t.width>t.height?new cn(t.left+(t.width-t.height)/2,t.top,t.height,t.height):t.width<t.height?new cn(t.left,t.top+(t.height-t.width)/2,t.width,t.width):t},hC=function(t){var A=t.type===gC?new Array(t.value.length+1).join("•"):t.value;return A.length===0?t.placeholder||"":A},Mo="checkbox",Ro="radio",gC="password",B0=707406591,Lf=(function(t){br(A,t);function A(e,r){var n=t.call(this,e,r)||this;switch(n.type=r.type.toLowerCase(),n.checked=r.checked,n.value=hC(r),(n.type===Mo||n.type===Ro)&&(n.styles.backgroundColor=3739148031,n.styles.borderTopColor=n.styles.borderRightColor=n.styles.borderBottomColor=n.styles.borderLeftColor=2779096575,n.styles.borderTopWidth=n.styles.borderRightWidth=n.styles.borderBottomWidth=n.styles.borderLeftWidth=1,n.styles.borderTopStyle=n.styles.borderRightStyle=n.styles.borderBottomStyle=n.styles.borderLeftStyle=1,n.styles.backgroundClip=[0],n.styles.backgroundOrigin=[0],n.bounds=cC(n.bounds)),n.type){case Mo:n.styles.borderTopRightRadius=n.styles.borderTopLeftRadius=n.styles.borderBottomRightRadius=n.styles.borderBottomLeftRadius=uC;break;case Ro:n.styles.borderTopRightRadius=n.styles.borderTopLeftRadius=n.styles.borderBottomRightRadius=n.styles.borderBottomLeftRadius=fC;break}return n}return A})(Kr),pd=(function(t){br(A,t);function A(e,r){var n=t.call(this,e,r)||this,i=r.options[r.selectedIndex||0];return n.value=i&&i.text||"",n}return A})(Kr),wd=(function(t){br(A,t);function A(e,r){var n=t.call(this,e,r)||this;return n.value=r.value,n}return A})(Kr),vd=(function(t){br(A,t);function A(e,r){var n=t.call(this,e,r)||this;n.src=r.src,n.width=parseInt(r.width,10)||0,n.height=parseInt(r.height,10)||0,n.backgroundColor=n.styles.backgroundColor;try{if(r.contentWindow&&r.contentWindow.document&&r.contentWindow.document.documentElement){n.tree=Cd(e,r.contentWindow.document.documentElement);var i=r.contentWindow.document.documentElement?Ya(e,getComputedStyle(r.contentWindow.document.documentElement).backgroundColor):un.TRANSPARENT,s=r.contentWindow.document.body?Ya(e,getComputedStyle(r.contentWindow.document.body).backgroundColor):un.TRANSPARENT;n.backgroundColor=Pn(i)?Pn(s)?n.styles.backgroundColor:s:i}}catch{}return n}return A})(Kr),dC=["OL","UL","MENU"],xo=function(t,A,e,r){for(var n=A.firstChild,i=void 0;n;n=i)if(i=n.nextSibling,Fd(n)&&n.data.trim().length>0)e.textNodes.push(new aC(t,n,e.styles));else if(ea(n))if(Ud(n)&&n.assignedNodes)n.assignedNodes().forEach(function(a){return xo(t,a,e,r)});else{var s=md(t,n);s.styles.isVisible()&&(BC(n,s,r)?s.flags|=4:pC(s.styles)&&(s.flags|=2),dC.indexOf(n.tagName)!==-1&&(s.flags|=8),e.elements.push(s),n.slot,n.shadowRoot?xo(t,n.shadowRoot,s,r):!Ko(n)&&!yd(n)&&!Go(n)&&xo(t,n,s,r))}},md=function(t,A){return gf(A)?new hd(t,A):Qd(A)?new gd(t,A):yd(A)?new dd(t,A):wC(A)?new Bd(t,A):vC(A)?new cf(t,A):mC(A)?new Lf(t,A):Go(A)?new pd(t,A):Ko(A)?new wd(t,A):bd(A)?new vd(t,A):new Kr(t,A)},Cd=function(t,A){var e=md(t,A);return e.flags|=4,xo(t,A,e,e),e},BC=function(t,A,e){return A.styles.isPositionedWithZIndex()||A.styles.opacity<1||A.styles.isTransformed()||xf(t)&&e.styles.isTransparent()},pC=function(t){return t.isPositioned()||t.isFloating()},Fd=function(t){return t.nodeType===Node.TEXT_NODE},ea=function(t){return t.nodeType===Node.ELEMENT_NODE},hf=function(t){return ea(t)&&typeof t.style<"u"&&!Io(t)},Io=function(t){return typeof t.className=="object"},wC=function(t){return t.tagName==="LI"},vC=function(t){return t.tagName==="OL"},mC=function(t){return t.tagName==="INPUT"},CC=function(t){return t.tagName==="HTML"},yd=function(t){return t.tagName==="svg"},xf=function(t){return t.tagName==="BODY"},Qd=function(t){return t.tagName==="CANVAS"},p0=function(t){return t.tagName==="VIDEO"},gf=function(t){return t.tagName==="IMG"},bd=function(t){return t.tagName==="IFRAME"},w0=function(t){return t.tagName==="STYLE"},FC=function(t){return t.tagName==="SCRIPT"},Ko=function(t){return t.tagName==="TEXTAREA"},Go=function(t){return t.tagName==="SELECT"},Ud=function(t){return t.tagName==="SLOT"},v0=function(t){return t.tagName.indexOf("-")>0},yC=(function(){function t(){this.counters={}}return t.prototype.getCounterValue=function(A){var e=this.counters[A];return e&&e.length?e[e.length-1]:1},t.prototype.getCounterValues=function(A){var e=this.counters[A];return e||[]},t.prototype.pop=function(A){var e=this;A.forEach(function(r){return e.counters[r].pop()})},t.prototype.parse=function(A){var e=this,r=A.counterIncrement,n=A.counterReset,i=!0;r!==null&&r.forEach(function(a){var l=e.counters[a.counter];l&&a.increment!==0&&(i=!1,l.length||l.push(1),l[Math.max(0,l.length-1)]+=a.increment)});var s=[];return i&&n.forEach(function(a){var l=e.counters[a.counter];s.push(a.counter),l||(l=e.counters[a.counter]=[]),l.push(a.reset)}),s},t})(),m0={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},C0={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["Ք","Փ","Ւ","Ց","Ր","Տ","Վ","Ս","Ռ","Ջ","Պ","Չ","Ո","Շ","Ն","Յ","Մ","Ճ","Ղ","Ձ","Հ","Կ","Ծ","Խ","Լ","Ի","Ժ","Թ","Ը","Է","Զ","Ե","Դ","Գ","Բ","Ա"]},QC={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["י׳","ט׳","ח׳","ז׳","ו׳","ה׳","ד׳","ג׳","ב׳","א׳","ת","ש","ר","ק","צ","פ","ע","ס","נ","מ","ל","כ","יט","יח","יז","טז","טו","י","ט","ח","ז","ו","ה","ד","ג","ב","א"]},bC={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["ჵ","ჰ","ჯ","ჴ","ხ","ჭ","წ","ძ","ც","ჩ","შ","ყ","ღ","ქ","ფ","ჳ","ტ","ს","რ","ჟ","პ","ო","ჲ","ნ","მ","ლ","კ","ი","თ","ჱ","ზ","ვ","ე","დ","გ","ბ","ა"]},Wi=function(t,A,e,r,n,i){return t<A||t>e?is(t,n,i.length>0):r.integers.reduce(function(s,a,l){for(;t>=a;)t-=a,s+=r.values[l];return s},"")+i},Ed=function(t,A,e,r){var n="";do e||t--,n=r(t)+n,t/=A;while(t*A>=A);return n},$e=function(t,A,e,r,n){var i=e-A+1;return(t<0?"-":"")+(Ed(Math.abs(t),i,r,function(s){return At(Math.floor(s%i)+A)})+n)},ai=function(t,A,e){e===void 0&&(e=". ");var r=A.length;return Ed(Math.abs(t),r,!1,function(n){return A[Math.floor(n%r)]})+e},Zi=1,In=2,Sn=4,qa=8,sn=function(t,A,e,r,n,i){if(t<-9999||t>9999)return is(t,4,n.length>0);var s=Math.abs(t),a=n;if(s===0)return A[0]+a;for(var l=0;s>0&&l<=4;l++){var u=s%10;u===0&&ct(i,Zi)&&a!==""?a=A[u]+a:u>1||u===1&&l===0||u===1&&l===1&&ct(i,In)||u===1&&l===1&&ct(i,Sn)&&t>100||u===1&&l>1&&ct(i,qa)?a=A[u]+(l>0?e[l-1]:"")+a:u===1&&l>0&&(a=e[l-1]+a),s=Math.floor(s/10)}return(t<0?r:"")+a},F0="十百千萬",y0="拾佰仟萬",Q0="マイナス",xu="마이너스",is=function(t,A,e){var r=e?". ":"",n=e?"、":"",i=e?", ":"",s=e?" ":"";switch(A){case 0:return"•"+s;case 1:return"◦"+s;case 2:return"◾"+s;case 5:var a=$e(t,48,57,!0,r);return a.length<4?"0"+a:a;case 4:return ai(t,"〇一二三四五六七八九",n);case 6:return Wi(t,1,3999,m0,3,r).toLowerCase();case 7:return Wi(t,1,3999,m0,3,r);case 8:return $e(t,945,969,!1,r);case 9:return $e(t,97,122,!1,r);case 10:return $e(t,65,90,!1,r);case 11:return $e(t,1632,1641,!0,r);case 12:case 49:return Wi(t,1,9999,C0,3,r);case 35:return Wi(t,1,9999,C0,3,r).toLowerCase();case 13:return $e(t,2534,2543,!0,r);case 14:case 30:return $e(t,6112,6121,!0,r);case 15:return ai(t,"子丑寅卯辰巳午未申酉戌亥",n);case 16:return ai(t,"甲乙丙丁戊己庚辛壬癸",n);case 17:case 48:return sn(t,"零一二三四五六七八九",F0,"負",n,In|Sn|qa);case 47:return sn(t,"零壹貳參肆伍陸柒捌玖",y0,"負",n,Zi|In|Sn|qa);case 42:return sn(t,"零一二三四五六七八九",F0,"负",n,In|Sn|qa);case 41:return sn(t,"零壹贰叁肆伍陆柒捌玖",y0,"负",n,Zi|In|Sn|qa);case 26:return sn(t,"〇一二三四五六七八九","十百千万",Q0,n,0);case 25:return sn(t,"零壱弐参四伍六七八九","拾百千万",Q0,n,Zi|In|Sn);case 31:return sn(t,"영일이삼사오육칠팔구","십백천만",xu,i,Zi|In|Sn);case 33:return sn(t,"零一二三四五六七八九","十百千萬",xu,i,0);case 32:return sn(t,"零壹貳參四五六七八九","拾百千",xu,i,Zi|In|Sn);case 18:return $e(t,2406,2415,!0,r);case 20:return Wi(t,1,19999,bC,3,r);case 21:return $e(t,2790,2799,!0,r);case 22:return $e(t,2662,2671,!0,r);case 22:return Wi(t,1,10999,QC,3,r);case 23:return ai(t,"あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわゐゑをん");case 24:return ai(t,"いろはにほへとちりぬるをわかよたれそつねならむうゐのおくやまけふこえてあさきゆめみしゑひもせす");case 27:return $e(t,3302,3311,!0,r);case 28:return ai(t,"アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヰヱヲン",n);case 29:return ai(t,"イロハニホヘトチリヌルヲワカヨタレソツネナラムウヰノオクヤマケフコエテアサキユメミシヱヒモセス",n);case 34:return $e(t,3792,3801,!0,r);case 37:return $e(t,6160,6169,!0,r);case 38:return $e(t,4160,4169,!0,r);case 39:return $e(t,2918,2927,!0,r);case 40:return $e(t,1776,1785,!0,r);case 43:return $e(t,3046,3055,!0,r);case 44:return $e(t,3174,3183,!0,r);case 45:return $e(t,3664,3673,!0,r);case 46:return $e(t,3872,3881,!0,r);case 3:default:return $e(t,48,57,!0,r)}},Ld="data-html2canvas-ignore",b0=(function(){function t(A,e,r){if(this.context=A,this.options=r,this.scrolledElements=[],this.referenceElement=e,this.counters=new yC,this.quoteDepth=0,!e.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(e.ownerDocument.documentElement,!1)}return t.prototype.toIFrame=function(A,e){var r=this,n=UC(A,e);if(!n.contentWindow)return Promise.reject("Unable to find iframe window");var i=A.defaultView.pageXOffset,s=A.defaultView.pageYOffset,a=n.contentWindow,l=a.document,u=xC(n).then(function(){return Ot(r,void 0,void 0,function(){var c,B;return Ht(this,function(w){switch(w.label){case 0:return this.scrolledElements.forEach(NC),a&&(a.scrollTo(e.left,e.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(a.scrollY!==e.top||a.scrollX!==e.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(a.scrollX-e.left,a.scrollY-e.top,0,0))),c=this.options.onclone,B=this.clonedReferenceElement,typeof B>"u"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:l.fonts&&l.fonts.ready?[4,l.fonts.ready]:[3,2];case 1:w.sent(),w.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,LC(l)]:[3,4];case 3:w.sent(),w.label=4;case 4:return typeof c=="function"?[2,Promise.resolve().then(function(){return c(l,B)}).then(function(){return n})]:[2,n]}})})});return l.open(),l.write(SC(document.doctype)+"<html></html>"),HC(this.referenceElement.ownerDocument,i,s),l.replaceChild(l.adoptNode(this.documentElement),l.documentElement),l.close(),u},t.prototype.createElementClone=function(A){if(uf(A,2))debugger;if(Qd(A))return this.createCanvasClone(A);if(p0(A))return this.createVideoClone(A);if(w0(A))return this.createStyleClone(A);var e=A.cloneNode(!1);return gf(e)&&(gf(A)&&A.currentSrc&&A.currentSrc!==A.src&&(e.src=A.currentSrc,e.srcset=""),e.loading==="lazy"&&(e.loading="eager")),v0(e)?this.createCustomElementClone(e):e},t.prototype.createCustomElementClone=function(A){var e=document.createElement("html2canvascustomelement");return Iu(A.style,e),e},t.prototype.createStyleClone=function(A){try{var e=A.sheet;if(e&&e.cssRules){var r=[].slice.call(e.cssRules,0).reduce(function(i,s){return s&&typeof s.cssText=="string"?i+s.cssText:i},""),n=A.cloneNode(!1);return n.textContent=r,n}}catch(i){if(this.context.logger.error("Unable to access cssRules property",i),i.name!=="SecurityError")throw i}return A.cloneNode(!1)},t.prototype.createCanvasClone=function(A){var e;if(this.options.inlineImages&&A.ownerDocument){var r=A.ownerDocument.createElement("img");try{return r.src=A.toDataURL(),r}catch{this.context.logger.info("Unable to inline canvas contents, canvas is tainted",A)}}var n=A.cloneNode(!1);try{n.width=A.width,n.height=A.height;var i=A.getContext("2d"),s=n.getContext("2d");if(s)if(!this.options.allowTaint&&i)s.putImageData(i.getImageData(0,0,A.width,A.height),0,0);else{var a=(e=A.getContext("webgl2"))!==null&&e!==void 0?e:A.getContext("webgl");if(a){var l=a.getContextAttributes();l?.preserveDrawingBuffer===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",A)}s.drawImage(A,0,0)}return n}catch{this.context.logger.info("Unable to clone canvas as it is tainted",A)}return n},t.prototype.createVideoClone=function(A){var e=A.ownerDocument.createElement("canvas");e.width=A.offsetWidth,e.height=A.offsetHeight;var r=e.getContext("2d");try{return r&&(r.drawImage(A,0,0,e.width,e.height),this.options.allowTaint||r.getImageData(0,0,e.width,e.height)),e}catch{this.context.logger.info("Unable to clone video as it is tainted",A)}var n=A.ownerDocument.createElement("canvas");return n.width=A.offsetWidth,n.height=A.offsetHeight,n},t.prototype.appendChildNode=function(A,e,r){(!ea(e)||!FC(e)&&!e.hasAttribute(Ld)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(e)))&&(!this.options.copyStyles||!ea(e)||!w0(e))&&A.appendChild(this.cloneNode(e,r))},t.prototype.cloneChildNodes=function(A,e,r){for(var n=this,i=A.shadowRoot?A.shadowRoot.firstChild:A.firstChild;i;i=i.nextSibling)if(ea(i)&&Ud(i)&&typeof i.assignedNodes=="function"){var s=i.assignedNodes();s.length&&s.forEach(function(a){return n.appendChildNode(e,a,r)})}else this.appendChildNode(e,i,r)},t.prototype.cloneNode=function(A,e){if(Fd(A))return document.createTextNode(A.data);if(!A.ownerDocument)return A.cloneNode(!1);var r=A.ownerDocument.defaultView;if(r&&ea(A)&&(hf(A)||Io(A))){var n=this.createElementClone(A);n.style.transitionProperty="none";var i=r.getComputedStyle(A),s=r.getComputedStyle(A,":before"),a=r.getComputedStyle(A,":after");this.referenceElement===A&&hf(n)&&(this.clonedReferenceElement=n),xf(n)&&TC(n);var l=this.counters.parse(new t0(this.context,i)),u=this.resolvePseudoContent(A,n,s,As.BEFORE);v0(A)&&(e=!0),p0(A)||this.cloneChildNodes(A,n,e),u&&n.insertBefore(u,n.firstChild);var c=this.resolvePseudoContent(A,n,a,As.AFTER);return c&&n.appendChild(c),this.counters.pop(l),(i&&(this.options.copyStyles||Io(A))&&!bd(A)||e)&&Iu(i,n),(A.scrollTop!==0||A.scrollLeft!==0)&&this.scrolledElements.push([n,A.scrollLeft,A.scrollTop]),(Ko(A)||Go(A))&&(Ko(n)||Go(n))&&(n.value=A.value),n}return A.cloneNode(!1)},t.prototype.resolvePseudoContent=function(A,e,r,n){var i=this;if(r){var s=r.content,a=e.ownerDocument;if(!(!a||!s||s==="none"||s==="-moz-alt-content"||r.display==="none")){this.counters.parse(new t0(this.context,r));var l=new wm(this.context,r),u=a.createElement("html2canvaspseudoelement");Iu(r,u),l.content.forEach(function(B){if(B.type===0)u.appendChild(a.createTextNode(B.value));else if(B.type===22){var w=a.createElement("img");w.src=B.value,w.style.opacity="1",u.appendChild(w)}else if(B.type===18){if(B.name==="attr"){var g=B.values.filter(Ee);g.length&&u.appendChild(a.createTextNode(A.getAttribute(g[0].value)||""))}else if(B.name==="counter"){var C=B.values.filter(oa),Q=C[0],x=C[1];if(Q&&Ee(Q)){var F=i.counters.getCounterValue(Q.value),k=x&&Ee(x)?lf.parse(i.context,x.value):3;u.appendChild(a.createTextNode(is(F,k,!1)))}}else if(B.name==="counters"){var K=B.values.filter(oa),Q=K[0],P=K[1],x=K[2];if(Q&&Ee(Q)){var z=i.counters.getCounterValues(Q.value),Z=x&&Ee(x)?lf.parse(i.context,x.value):3,iA=P&&P.type===0?P.value:"",V=z.map(function(E){return is(E,Z,!1)}).join(iA);u.appendChild(a.createTextNode(V))}}}else if(B.type===20)switch(B.value){case"open-quote":u.appendChild(a.createTextNode(e0(l.quotes,i.quoteDepth++,!0)));break;case"close-quote":u.appendChild(a.createTextNode(e0(l.quotes,--i.quoteDepth,!1)));break;default:u.appendChild(a.createTextNode(B.value))}}),u.className=df+" "+Bf;var c=n===As.BEFORE?" "+df:" "+Bf;return Io(e)?e.className.baseValue+=c:e.className+=c,u}}},t.destroy=function(A){return A.parentNode?(A.parentNode.removeChild(A),!0):!1},t})(),As;(function(t){t[t.BEFORE=0]="BEFORE",t[t.AFTER=1]="AFTER"})(As||(As={}));var UC=function(t,A){var e=t.createElement("iframe");return e.className="html2canvas-container",e.style.visibility="hidden",e.style.position="fixed",e.style.left="-10000px",e.style.top="0px",e.style.border="0",e.width=A.width.toString(),e.height=A.height.toString(),e.scrolling="no",e.setAttribute(Ld,"true"),t.body.appendChild(e),e},EC=function(t){return new Promise(function(A){if(t.complete){A();return}if(!t.src){A();return}t.onload=A,t.onerror=A})},LC=function(t){return Promise.all([].slice.call(t.images,0).map(EC))},xC=function(t){return new Promise(function(A,e){var r=t.contentWindow;if(!r)return e("No window assigned for iframe");var n=r.document;r.onload=t.onload=function(){r.onload=t.onload=null;var i=setInterval(function(){n.body.childNodes.length>0&&n.readyState==="complete"&&(clearInterval(i),A(t))},50)}})},IC=["all","d","content"],Iu=function(t,A){for(var e=t.length-1;e>=0;e--){var r=t.item(e);IC.indexOf(r)===-1&&A.style.setProperty(r,t.getPropertyValue(r))}return A},SC=function(t){var A="";return t&&(A+="<!DOCTYPE ",t.name&&(A+=t.name),t.internalSubset&&(A+=t.internalSubset),t.publicId&&(A+='"'+t.publicId+'"'),t.systemId&&(A+='"'+t.systemId+'"'),A+=">"),A},HC=function(t,A,e){t&&t.defaultView&&(A!==t.defaultView.pageXOffset||e!==t.defaultView.pageYOffset)&&t.defaultView.scrollTo(A,e)},NC=function(t){var A=t[0],e=t[1],r=t[2];A.scrollLeft=e,A.scrollTop=r},_C=":before",DC=":after",df="___html2canvas___pseudoelement_before",Bf="___html2canvas___pseudoelement_after",U0=`{
|
|
188
|
+
content: "" !important;
|
|
189
|
+
display: none !important;
|
|
190
|
+
}`,TC=function(t){kC(t,"."+df+_C+U0+`
|
|
191
|
+
.`+Bf+DC+U0)},kC=function(t,A){var e=t.ownerDocument;if(e){var r=e.createElement("style");r.textContent=A,t.appendChild(r)}},xd=(function(){function t(){}return t.getOrigin=function(A){var e=t._link;return e?(e.href=A,e.href=e.href,e.protocol+e.hostname+e.port):"about:blank"},t.isSameOrigin=function(A){return t.getOrigin(A)===t._origin},t.setContext=function(A){t._link=A.document.createElement("a"),t._origin=t.getOrigin(A.location.href)},t._origin="about:blank",t})(),PC=(function(){function t(A,e){this.context=A,this._options=e,this._cache={}}return t.prototype.addImage=function(A){var e=Promise.resolve();return this.has(A)||(Hu(A)||KC(A))&&(this._cache[A]=this.loadImage(A)).catch(function(){}),e},t.prototype.match=function(A){return this._cache[A]},t.prototype.loadImage=function(A){return Ot(this,void 0,void 0,function(){var e,r,n,i,s=this;return Ht(this,function(a){switch(a.label){case 0:return e=xd.isSameOrigin(A),r=!Su(A)&&this._options.useCORS===!0&&Ct.SUPPORT_CORS_IMAGES&&!e,n=!Su(A)&&!e&&!Hu(A)&&typeof this._options.proxy=="string"&&Ct.SUPPORT_CORS_XHR&&!r,!e&&this._options.allowTaint===!1&&!Su(A)&&!Hu(A)&&!n&&!r?[2]:(i=A,n?[4,this.proxy(i)]:[3,2]);case 1:i=a.sent(),a.label=2;case 2:return this.context.logger.debug("Added image "+A.substring(0,256)),[4,new Promise(function(l,u){var c=new Image;c.onload=function(){return l(c)},c.onerror=u,(GC(i)||r)&&(c.crossOrigin="anonymous"),c.src=i,c.complete===!0&&setTimeout(function(){return l(c)},500),s._options.imageTimeout>0&&setTimeout(function(){return u("Timed out ("+s._options.imageTimeout+"ms) loading image")},s._options.imageTimeout)})];case 3:return[2,a.sent()]}})})},t.prototype.has=function(A){return typeof this._cache[A]<"u"},t.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},t.prototype.proxy=function(A){var e=this,r=this._options.proxy;if(!r)throw new Error("No proxy defined");var n=A.substring(0,256);return new Promise(function(i,s){var a=Ct.SUPPORT_RESPONSE_TYPE?"blob":"text",l=new XMLHttpRequest;l.onload=function(){if(l.status===200)if(a==="text")i(l.response);else{var B=new FileReader;B.addEventListener("load",function(){return i(B.result)},!1),B.addEventListener("error",function(w){return s(w)},!1),B.readAsDataURL(l.response)}else s("Failed to proxy resource "+n+" with status code "+l.status)},l.onerror=s;var u=r.indexOf("?")>-1?"&":"?";if(l.open("GET",""+r+u+"url="+encodeURIComponent(A)+"&responseType="+a),a!=="text"&&l instanceof XMLHttpRequest&&(l.responseType=a),e._options.imageTimeout){var c=e._options.imageTimeout;l.timeout=c,l.ontimeout=function(){return s("Timed out ("+c+"ms) proxying "+n)}}l.send()})},t})(),OC=/^data:image\/svg\+xml/i,MC=/^data:image\/.*;base64,/i,RC=/^data:image\/.*/i,KC=function(t){return Ct.SUPPORT_SVG_DRAWING||!jC(t)},Su=function(t){return RC.test(t)},GC=function(t){return MC.test(t)},Hu=function(t){return t.substr(0,4)==="blob"},jC=function(t){return t.substr(-3).toLowerCase()==="svg"||OC.test(t)},EA=(function(){function t(A,e){this.type=0,this.x=A,this.y=e}return t.prototype.add=function(A,e){return new t(this.x+A,this.y+e)},t})(),Xi=function(t,A,e){return new EA(t.x+(A.x-t.x)*e,t.y+(A.y-t.y)*e)},po=(function(){function t(A,e,r,n){this.type=1,this.start=A,this.startControl=e,this.endControl=r,this.end=n}return t.prototype.subdivide=function(A,e){var r=Xi(this.start,this.startControl,A),n=Xi(this.startControl,this.endControl,A),i=Xi(this.endControl,this.end,A),s=Xi(r,n,A),a=Xi(n,i,A),l=Xi(s,a,A);return e?new t(this.start,r,s,l):new t(l,a,i,this.end)},t.prototype.add=function(A,e){return new t(this.start.add(A,e),this.startControl.add(A,e),this.endControl.add(A,e),this.end.add(A,e))},t.prototype.reverse=function(){return new t(this.end,this.endControl,this.startControl,this.start)},t})(),lr=function(t){return t.type===1},VC=(function(){function t(A){var e=A.styles,r=A.bounds,n=ja(e.borderTopLeftRadius,r.width,r.height),i=n[0],s=n[1],a=ja(e.borderTopRightRadius,r.width,r.height),l=a[0],u=a[1],c=ja(e.borderBottomRightRadius,r.width,r.height),B=c[0],w=c[1],g=ja(e.borderBottomLeftRadius,r.width,r.height),C=g[0],Q=g[1],x=[];x.push((i+l)/r.width),x.push((C+B)/r.width),x.push((s+Q)/r.height),x.push((u+w)/r.height);var F=Math.max.apply(Math,x);F>1&&(i/=F,s/=F,l/=F,u/=F,B/=F,w/=F,C/=F,Q/=F);var k=r.width-l,K=r.height-w,P=r.width-B,z=r.height-Q,Z=e.borderTopWidth,iA=e.borderRightWidth,V=e.borderBottomWidth,N=e.borderLeftWidth,$=De(e.paddingTop,A.bounds.width),E=De(e.paddingRight,A.bounds.width),S=De(e.paddingBottom,A.bounds.width),R=De(e.paddingLeft,A.bounds.width);this.topLeftBorderDoubleOuterBox=i>0||s>0?Ke(r.left+N/3,r.top+Z/3,i-N/3,s-Z/3,Fe.TOP_LEFT):new EA(r.left+N/3,r.top+Z/3),this.topRightBorderDoubleOuterBox=i>0||s>0?Ke(r.left+k,r.top+Z/3,l-iA/3,u-Z/3,Fe.TOP_RIGHT):new EA(r.left+r.width-iA/3,r.top+Z/3),this.bottomRightBorderDoubleOuterBox=B>0||w>0?Ke(r.left+P,r.top+K,B-iA/3,w-V/3,Fe.BOTTOM_RIGHT):new EA(r.left+r.width-iA/3,r.top+r.height-V/3),this.bottomLeftBorderDoubleOuterBox=C>0||Q>0?Ke(r.left+N/3,r.top+z,C-N/3,Q-V/3,Fe.BOTTOM_LEFT):new EA(r.left+N/3,r.top+r.height-V/3),this.topLeftBorderDoubleInnerBox=i>0||s>0?Ke(r.left+N*2/3,r.top+Z*2/3,i-N*2/3,s-Z*2/3,Fe.TOP_LEFT):new EA(r.left+N*2/3,r.top+Z*2/3),this.topRightBorderDoubleInnerBox=i>0||s>0?Ke(r.left+k,r.top+Z*2/3,l-iA*2/3,u-Z*2/3,Fe.TOP_RIGHT):new EA(r.left+r.width-iA*2/3,r.top+Z*2/3),this.bottomRightBorderDoubleInnerBox=B>0||w>0?Ke(r.left+P,r.top+K,B-iA*2/3,w-V*2/3,Fe.BOTTOM_RIGHT):new EA(r.left+r.width-iA*2/3,r.top+r.height-V*2/3),this.bottomLeftBorderDoubleInnerBox=C>0||Q>0?Ke(r.left+N*2/3,r.top+z,C-N*2/3,Q-V*2/3,Fe.BOTTOM_LEFT):new EA(r.left+N*2/3,r.top+r.height-V*2/3),this.topLeftBorderStroke=i>0||s>0?Ke(r.left+N/2,r.top+Z/2,i-N/2,s-Z/2,Fe.TOP_LEFT):new EA(r.left+N/2,r.top+Z/2),this.topRightBorderStroke=i>0||s>0?Ke(r.left+k,r.top+Z/2,l-iA/2,u-Z/2,Fe.TOP_RIGHT):new EA(r.left+r.width-iA/2,r.top+Z/2),this.bottomRightBorderStroke=B>0||w>0?Ke(r.left+P,r.top+K,B-iA/2,w-V/2,Fe.BOTTOM_RIGHT):new EA(r.left+r.width-iA/2,r.top+r.height-V/2),this.bottomLeftBorderStroke=C>0||Q>0?Ke(r.left+N/2,r.top+z,C-N/2,Q-V/2,Fe.BOTTOM_LEFT):new EA(r.left+N/2,r.top+r.height-V/2),this.topLeftBorderBox=i>0||s>0?Ke(r.left,r.top,i,s,Fe.TOP_LEFT):new EA(r.left,r.top),this.topRightBorderBox=l>0||u>0?Ke(r.left+k,r.top,l,u,Fe.TOP_RIGHT):new EA(r.left+r.width,r.top),this.bottomRightBorderBox=B>0||w>0?Ke(r.left+P,r.top+K,B,w,Fe.BOTTOM_RIGHT):new EA(r.left+r.width,r.top+r.height),this.bottomLeftBorderBox=C>0||Q>0?Ke(r.left,r.top+z,C,Q,Fe.BOTTOM_LEFT):new EA(r.left,r.top+r.height),this.topLeftPaddingBox=i>0||s>0?Ke(r.left+N,r.top+Z,Math.max(0,i-N),Math.max(0,s-Z),Fe.TOP_LEFT):new EA(r.left+N,r.top+Z),this.topRightPaddingBox=l>0||u>0?Ke(r.left+Math.min(k,r.width-iA),r.top+Z,k>r.width+iA?0:Math.max(0,l-iA),Math.max(0,u-Z),Fe.TOP_RIGHT):new EA(r.left+r.width-iA,r.top+Z),this.bottomRightPaddingBox=B>0||w>0?Ke(r.left+Math.min(P,r.width-N),r.top+Math.min(K,r.height-V),Math.max(0,B-iA),Math.max(0,w-V),Fe.BOTTOM_RIGHT):new EA(r.left+r.width-iA,r.top+r.height-V),this.bottomLeftPaddingBox=C>0||Q>0?Ke(r.left+N,r.top+Math.min(z,r.height-V),Math.max(0,C-N),Math.max(0,Q-V),Fe.BOTTOM_LEFT):new EA(r.left+N,r.top+r.height-V),this.topLeftContentBox=i>0||s>0?Ke(r.left+N+R,r.top+Z+$,Math.max(0,i-(N+R)),Math.max(0,s-(Z+$)),Fe.TOP_LEFT):new EA(r.left+N+R,r.top+Z+$),this.topRightContentBox=l>0||u>0?Ke(r.left+Math.min(k,r.width+N+R),r.top+Z+$,k>r.width+N+R?0:l-N+R,u-(Z+$),Fe.TOP_RIGHT):new EA(r.left+r.width-(iA+E),r.top+Z+$),this.bottomRightContentBox=B>0||w>0?Ke(r.left+Math.min(P,r.width-(N+R)),r.top+Math.min(K,r.height+Z+$),Math.max(0,B-(iA+E)),w-(V+S),Fe.BOTTOM_RIGHT):new EA(r.left+r.width-(iA+E),r.top+r.height-(V+S)),this.bottomLeftContentBox=C>0||Q>0?Ke(r.left+N+R,r.top+z,Math.max(0,C-(N+R)),Q-(V+S),Fe.BOTTOM_LEFT):new EA(r.left+N+R,r.top+r.height-(V+S))}return t})(),Fe;(function(t){t[t.TOP_LEFT=0]="TOP_LEFT",t[t.TOP_RIGHT=1]="TOP_RIGHT",t[t.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",t[t.BOTTOM_LEFT=3]="BOTTOM_LEFT"})(Fe||(Fe={}));var Ke=function(t,A,e,r,n){var i=4*((Math.sqrt(2)-1)/3),s=e*i,a=r*i,l=t+e,u=A+r;switch(n){case Fe.TOP_LEFT:return new po(new EA(t,u),new EA(t,u-a),new EA(l-s,A),new EA(l,A));case Fe.TOP_RIGHT:return new po(new EA(t,A),new EA(t+s,A),new EA(l,u-a),new EA(l,u));case Fe.BOTTOM_RIGHT:return new po(new EA(l,A),new EA(l,A+a),new EA(t+s,u),new EA(t,u));case Fe.BOTTOM_LEFT:default:return new po(new EA(l,u),new EA(l-s,u),new EA(t,A+a),new EA(t,A))}},jo=function(t){return[t.topLeftBorderBox,t.topRightBorderBox,t.bottomRightBorderBox,t.bottomLeftBorderBox]},qC=function(t){return[t.topLeftContentBox,t.topRightContentBox,t.bottomRightContentBox,t.bottomLeftContentBox]},Vo=function(t){return[t.topLeftPaddingBox,t.topRightPaddingBox,t.bottomRightPaddingBox,t.bottomLeftPaddingBox]},WC=(function(){function t(A,e,r){this.offsetX=A,this.offsetY=e,this.matrix=r,this.type=0,this.target=6}return t})(),wo=(function(){function t(A,e){this.path=A,this.target=e,this.type=1}return t})(),XC=(function(){function t(A){this.opacity=A,this.type=2,this.target=6}return t})(),JC=function(t){return t.type===0},Id=function(t){return t.type===1},zC=function(t){return t.type===2},E0=function(t,A){return t.length===A.length?t.some(function(e,r){return e===A[r]}):!1},YC=function(t,A,e,r,n){return t.map(function(i,s){switch(s){case 0:return i.add(A,e);case 1:return i.add(A+r,e);case 2:return i.add(A+r,e+n);case 3:return i.add(A,e+n)}return i})},Sd=(function(){function t(A){this.element=A,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return t})(),Hd=(function(){function t(A,e){if(this.container=A,this.parent=e,this.effects=[],this.curves=new VC(this.container),this.container.styles.opacity<1&&this.effects.push(new XC(this.container.styles.opacity)),this.container.styles.transform!==null){var r=this.container.bounds.left+this.container.styles.transformOrigin[0].number,n=this.container.bounds.top+this.container.styles.transformOrigin[1].number,i=this.container.styles.transform;this.effects.push(new WC(r,n,i))}if(this.container.styles.overflowX!==0){var s=jo(this.curves),a=Vo(this.curves);E0(s,a)?this.effects.push(new wo(s,6)):(this.effects.push(new wo(s,2)),this.effects.push(new wo(a,4)))}}return t.prototype.getEffects=function(A){for(var e=[2,3].indexOf(this.container.styles.position)===-1,r=this.parent,n=this.effects.slice(0);r;){var i=r.effects.filter(function(l){return!Id(l)});if(e||r.container.styles.position!==0||!r.parent){if(n.unshift.apply(n,i),e=[2,3].indexOf(r.container.styles.position)===-1,r.container.styles.overflowX!==0){var s=jo(r.curves),a=Vo(r.curves);E0(s,a)||n.unshift(new wo(a,6))}}else n.unshift.apply(n,i);r=r.parent}return n.filter(function(l){return ct(l.target,A)})},t})(),pf=function(t,A,e,r){t.container.elements.forEach(function(n){var i=ct(n.flags,4),s=ct(n.flags,2),a=new Hd(n,t);ct(n.styles.display,2048)&&r.push(a);var l=ct(n.flags,8)?[]:r;if(i||s){var u=i||n.styles.isPositioned()?e:A,c=new Sd(a);if(n.styles.isPositioned()||n.styles.opacity<1||n.styles.isTransformed()){var B=n.styles.zIndex.order;if(B<0){var w=0;u.negativeZIndex.some(function(C,Q){return B>C.element.container.styles.zIndex.order?(w=Q,!1):w>0}),u.negativeZIndex.splice(w,0,c)}else if(B>0){var g=0;u.positiveZIndex.some(function(C,Q){return B>=C.element.container.styles.zIndex.order?(g=Q+1,!1):g>0}),u.positiveZIndex.splice(g,0,c)}else u.zeroOrAutoZIndexOrTransformedOrOpacity.push(c)}else n.styles.isFloating()?u.nonPositionedFloats.push(c):u.nonPositionedInlineLevel.push(c);pf(a,c,i?c:e,l)}else n.styles.isInlineLevel()?A.inlineLevel.push(a):A.nonInlineLevel.push(a),pf(a,A,e,l);ct(n.flags,8)&&Nd(n,l)})},Nd=function(t,A){for(var e=t instanceof cf?t.start:1,r=t instanceof cf?t.reversed:!1,n=0;n<A.length;n++){var i=A[n];i.container instanceof Bd&&typeof i.container.value=="number"&&i.container.value!==0&&(e=i.container.value),i.listValue=is(e,i.container.styles.listStyleType,!0),e+=r?-1:1}},ZC=function(t){var A=new Hd(t,null),e=new Sd(A),r=[];return pf(A,e,e,r),Nd(A.container,r),e},L0=function(t,A){switch(A){case 0:return fr(t.topLeftBorderBox,t.topLeftPaddingBox,t.topRightBorderBox,t.topRightPaddingBox);case 1:return fr(t.topRightBorderBox,t.topRightPaddingBox,t.bottomRightBorderBox,t.bottomRightPaddingBox);case 2:return fr(t.bottomRightBorderBox,t.bottomRightPaddingBox,t.bottomLeftBorderBox,t.bottomLeftPaddingBox);case 3:default:return fr(t.bottomLeftBorderBox,t.bottomLeftPaddingBox,t.topLeftBorderBox,t.topLeftPaddingBox)}},$C=function(t,A){switch(A){case 0:return fr(t.topLeftBorderBox,t.topLeftBorderDoubleOuterBox,t.topRightBorderBox,t.topRightBorderDoubleOuterBox);case 1:return fr(t.topRightBorderBox,t.topRightBorderDoubleOuterBox,t.bottomRightBorderBox,t.bottomRightBorderDoubleOuterBox);case 2:return fr(t.bottomRightBorderBox,t.bottomRightBorderDoubleOuterBox,t.bottomLeftBorderBox,t.bottomLeftBorderDoubleOuterBox);case 3:default:return fr(t.bottomLeftBorderBox,t.bottomLeftBorderDoubleOuterBox,t.topLeftBorderBox,t.topLeftBorderDoubleOuterBox)}},A4=function(t,A){switch(A){case 0:return fr(t.topLeftBorderDoubleInnerBox,t.topLeftPaddingBox,t.topRightBorderDoubleInnerBox,t.topRightPaddingBox);case 1:return fr(t.topRightBorderDoubleInnerBox,t.topRightPaddingBox,t.bottomRightBorderDoubleInnerBox,t.bottomRightPaddingBox);case 2:return fr(t.bottomRightBorderDoubleInnerBox,t.bottomRightPaddingBox,t.bottomLeftBorderDoubleInnerBox,t.bottomLeftPaddingBox);case 3:default:return fr(t.bottomLeftBorderDoubleInnerBox,t.bottomLeftPaddingBox,t.topLeftBorderDoubleInnerBox,t.topLeftPaddingBox)}},e4=function(t,A){switch(A){case 0:return vo(t.topLeftBorderStroke,t.topRightBorderStroke);case 1:return vo(t.topRightBorderStroke,t.bottomRightBorderStroke);case 2:return vo(t.bottomRightBorderStroke,t.bottomLeftBorderStroke);case 3:default:return vo(t.bottomLeftBorderStroke,t.topLeftBorderStroke)}},vo=function(t,A){var e=[];return lr(t)?e.push(t.subdivide(.5,!1)):e.push(t),lr(A)?e.push(A.subdivide(.5,!0)):e.push(A),e},fr=function(t,A,e,r){var n=[];return lr(t)?n.push(t.subdivide(.5,!1)):n.push(t),lr(e)?n.push(e.subdivide(.5,!0)):n.push(e),lr(r)?n.push(r.subdivide(.5,!0).reverse()):n.push(r),lr(A)?n.push(A.subdivide(.5,!1).reverse()):n.push(A),n},_d=function(t){var A=t.bounds,e=t.styles;return A.add(e.borderLeftWidth,e.borderTopWidth,-(e.borderRightWidth+e.borderLeftWidth),-(e.borderTopWidth+e.borderBottomWidth))},qo=function(t){var A=t.styles,e=t.bounds,r=De(A.paddingLeft,e.width),n=De(A.paddingRight,e.width),i=De(A.paddingTop,e.width),s=De(A.paddingBottom,e.width);return e.add(r+A.borderLeftWidth,i+A.borderTopWidth,-(A.borderRightWidth+A.borderLeftWidth+r+n),-(A.borderTopWidth+A.borderBottomWidth+i+s))},t4=function(t,A){return t===0?A.bounds:t===2?qo(A):_d(A)},r4=function(t,A){return t===0?A.bounds:t===2?qo(A):_d(A)},Nu=function(t,A,e){var r=t4($i(t.styles.backgroundOrigin,A),t),n=r4($i(t.styles.backgroundClip,A),t),i=n4($i(t.styles.backgroundSize,A),e,r),s=i[0],a=i[1],l=ja($i(t.styles.backgroundPosition,A),r.width-s,r.height-a),u=i4($i(t.styles.backgroundRepeat,A),l,i,r,n),c=Math.round(r.left+l[0]),B=Math.round(r.top+l[1]);return[u,c,B,s,a]},Ji=function(t){return Ee(t)&&t.value===sa.AUTO},mo=function(t){return typeof t=="number"},n4=function(t,A,e){var r=A[0],n=A[1],i=A[2],s=t[0],a=t[1];if(!s)return[0,0];if(st(s)&&a&&st(a))return[De(s,e.width),De(a,e.height)];var l=mo(i);if(Ee(s)&&(s.value===sa.CONTAIN||s.value===sa.COVER)){if(mo(i)){var u=e.width/e.height;return u<i!=(s.value===sa.COVER)?[e.width,e.width/i]:[e.height*i,e.height]}return[e.width,e.height]}var c=mo(r),B=mo(n),w=c||B;if(Ji(s)&&(!a||Ji(a))){if(c&&B)return[r,n];if(!l&&!w)return[e.width,e.height];if(w&&l){var g=c?r:n*i,C=B?n:r/i;return[g,C]}var Q=c?r:e.width,x=B?n:e.height;return[Q,x]}if(l){var F=0,k=0;return st(s)?F=De(s,e.width):st(a)&&(k=De(a,e.height)),Ji(s)?F=k*i:(!a||Ji(a))&&(k=F/i),[F,k]}var K=null,P=null;if(st(s)?K=De(s,e.width):a&&st(a)&&(P=De(a,e.height)),K!==null&&(!a||Ji(a))&&(P=c&&B?K/r*n:e.height),P!==null&&Ji(s)&&(K=c&&B?P/n*r:e.width),K!==null&&P!==null)return[K,P];throw new Error("Unable to calculate background-size for element")},$i=function(t,A){var e=t[A];return typeof e>"u"?t[0]:e},i4=function(t,A,e,r,n){var i=A[0],s=A[1],a=e[0],l=e[1];switch(t){case 2:return[new EA(Math.round(r.left),Math.round(r.top+s)),new EA(Math.round(r.left+r.width),Math.round(r.top+s)),new EA(Math.round(r.left+r.width),Math.round(l+r.top+s)),new EA(Math.round(r.left),Math.round(l+r.top+s))];case 3:return[new EA(Math.round(r.left+i),Math.round(r.top)),new EA(Math.round(r.left+i+a),Math.round(r.top)),new EA(Math.round(r.left+i+a),Math.round(r.height+r.top)),new EA(Math.round(r.left+i),Math.round(r.height+r.top))];case 1:return[new EA(Math.round(r.left+i),Math.round(r.top+s)),new EA(Math.round(r.left+i+a),Math.round(r.top+s)),new EA(Math.round(r.left+i+a),Math.round(r.top+s+l)),new EA(Math.round(r.left+i),Math.round(r.top+s+l))];default:return[new EA(Math.round(n.left),Math.round(n.top)),new EA(Math.round(n.left+n.width),Math.round(n.top)),new EA(Math.round(n.left+n.width),Math.round(n.height+n.top)),new EA(Math.round(n.left),Math.round(n.height+n.top))]}},a4="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",x0="Hidden Text",s4=(function(){function t(A){this._data={},this._document=A}return t.prototype.parseMetrics=function(A,e){var r=this._document.createElement("div"),n=this._document.createElement("img"),i=this._document.createElement("span"),s=this._document.body;r.style.visibility="hidden",r.style.fontFamily=A,r.style.fontSize=e,r.style.margin="0",r.style.padding="0",r.style.whiteSpace="nowrap",s.appendChild(r),n.src=a4,n.width=1,n.height=1,n.style.margin="0",n.style.padding="0",n.style.verticalAlign="baseline",i.style.fontFamily=A,i.style.fontSize=e,i.style.margin="0",i.style.padding="0",i.appendChild(this._document.createTextNode(x0)),r.appendChild(i),r.appendChild(n);var a=n.offsetTop-i.offsetTop+2;r.removeChild(i),r.appendChild(this._document.createTextNode(x0)),r.style.lineHeight="normal",n.style.verticalAlign="super";var l=n.offsetTop-r.offsetTop+2;return s.removeChild(r),{baseline:a,middle:l}},t.prototype.getMetrics=function(A,e){var r=A+" "+e;return typeof this._data[r]>"u"&&(this._data[r]=this.parseMetrics(A,e)),this._data[r]},t})(),Dd=(function(){function t(A,e){this.context=A,this.options=e}return t})(),o4=1e4,l4=(function(t){br(A,t);function A(e,r){var n=t.call(this,e,r)||this;return n._activeEffects=[],n.canvas=r.canvas?r.canvas:document.createElement("canvas"),n.ctx=n.canvas.getContext("2d"),r.canvas||(n.canvas.width=Math.floor(r.width*r.scale),n.canvas.height=Math.floor(r.height*r.scale),n.canvas.style.width=r.width+"px",n.canvas.style.height=r.height+"px"),n.fontMetrics=new s4(document),n.ctx.scale(n.options.scale,n.options.scale),n.ctx.translate(-r.x,-r.y),n.ctx.textBaseline="bottom",n._activeEffects=[],n.context.logger.debug("Canvas renderer initialized ("+r.width+"x"+r.height+") with scale "+r.scale),n}return A.prototype.applyEffects=function(e){for(var r=this;this._activeEffects.length;)this.popEffect();e.forEach(function(n){return r.applyEffect(n)})},A.prototype.applyEffect=function(e){this.ctx.save(),zC(e)&&(this.ctx.globalAlpha=e.opacity),JC(e)&&(this.ctx.translate(e.offsetX,e.offsetY),this.ctx.transform(e.matrix[0],e.matrix[1],e.matrix[2],e.matrix[3],e.matrix[4],e.matrix[5]),this.ctx.translate(-e.offsetX,-e.offsetY)),Id(e)&&(this.path(e.path),this.ctx.clip()),this._activeEffects.push(e)},A.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},A.prototype.renderStack=function(e){return Ot(this,void 0,void 0,function(){var r;return Ht(this,function(n){switch(n.label){case 0:return r=e.element.container.styles,r.isVisible()?[4,this.renderStackContent(e)]:[3,2];case 1:n.sent(),n.label=2;case 2:return[2]}})})},A.prototype.renderNode=function(e){return Ot(this,void 0,void 0,function(){return Ht(this,function(r){switch(r.label){case 0:if(ct(e.container.flags,16))debugger;return e.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(e)]:[3,3];case 1:return r.sent(),[4,this.renderNodeContent(e)];case 2:r.sent(),r.label=3;case 3:return[2]}})})},A.prototype.renderTextWithLetterSpacing=function(e,r,n){var i=this;if(r===0)this.ctx.fillText(e.text,e.bounds.left,e.bounds.top+n);else{var s=Ef(e.text);s.reduce(function(a,l){return i.ctx.fillText(l,a,e.bounds.top+n),a+i.ctx.measureText(l).width},e.bounds.left)}},A.prototype.createFontStyle=function(e){var r=e.fontVariant.filter(function(s){return s==="normal"||s==="small-caps"}).join(""),n=g4(e.fontFamily).join(", "),i=os(e.fontSize)?""+e.fontSize.number+e.fontSize.unit:e.fontSize.number+"px";return[[e.fontStyle,r,e.fontWeight,i,n].join(" "),n,i]},A.prototype.renderTextNode=function(e,r){return Ot(this,void 0,void 0,function(){var n,i,s,a,l,u,c,B,w=this;return Ht(this,function(g){return n=this.createFontStyle(r),i=n[0],s=n[1],a=n[2],this.ctx.font=i,this.ctx.direction=r.direction===1?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic",l=this.fontMetrics.getMetrics(s,a),u=l.baseline,c=l.middle,B=r.paintOrder,e.textBounds.forEach(function(C){B.forEach(function(Q){switch(Q){case 0:w.ctx.fillStyle=gt(r.color),w.renderTextWithLetterSpacing(C,r.letterSpacing,u);var x=r.textShadow;x.length&&C.text.trim().length&&(x.slice(0).reverse().forEach(function(F){w.ctx.shadowColor=gt(F.color),w.ctx.shadowOffsetX=F.offsetX.number*w.options.scale,w.ctx.shadowOffsetY=F.offsetY.number*w.options.scale,w.ctx.shadowBlur=F.blur.number,w.renderTextWithLetterSpacing(C,r.letterSpacing,u)}),w.ctx.shadowColor="",w.ctx.shadowOffsetX=0,w.ctx.shadowOffsetY=0,w.ctx.shadowBlur=0),r.textDecorationLine.length&&(w.ctx.fillStyle=gt(r.textDecorationColor||r.color),r.textDecorationLine.forEach(function(F){switch(F){case 1:w.ctx.fillRect(C.bounds.left,Math.round(C.bounds.top+u),C.bounds.width,1);break;case 2:w.ctx.fillRect(C.bounds.left,Math.round(C.bounds.top),C.bounds.width,1);break;case 3:w.ctx.fillRect(C.bounds.left,Math.ceil(C.bounds.top+c),C.bounds.width,1);break}}));break;case 1:r.webkitTextStrokeWidth&&C.text.trim().length&&(w.ctx.strokeStyle=gt(r.webkitTextStrokeColor),w.ctx.lineWidth=r.webkitTextStrokeWidth,w.ctx.lineJoin=window.chrome?"miter":"round",w.ctx.strokeText(C.text,C.bounds.left,C.bounds.top+u)),w.ctx.strokeStyle="",w.ctx.lineWidth=0,w.ctx.lineJoin="miter";break}})}),[2]})})},A.prototype.renderReplacedElement=function(e,r,n){if(n&&e.intrinsicWidth>0&&e.intrinsicHeight>0){var i=qo(e),s=Vo(r);this.path(s),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(n,0,0,e.intrinsicWidth,e.intrinsicHeight,i.left,i.top,i.width,i.height),this.ctx.restore()}},A.prototype.renderNodeContent=function(e){return Ot(this,void 0,void 0,function(){var r,n,i,s,a,l,k,k,u,c,B,w,P,g,C,z,Q,x,F,k,K,P,z;return Ht(this,function(Z){switch(Z.label){case 0:this.applyEffects(e.getEffects(4)),r=e.container,n=e.curves,i=r.styles,s=0,a=r.textNodes,Z.label=1;case 1:return s<a.length?(l=a[s],[4,this.renderTextNode(l,i)]):[3,4];case 2:Z.sent(),Z.label=3;case 3:return s++,[3,1];case 4:if(!(r instanceof hd))return[3,8];Z.label=5;case 5:return Z.trys.push([5,7,,8]),[4,this.context.cache.match(r.src)];case 6:return k=Z.sent(),this.renderReplacedElement(r,n,k),[3,8];case 7:return Z.sent(),this.context.logger.error("Error loading image "+r.src),[3,8];case 8:if(r instanceof gd&&this.renderReplacedElement(r,n,r.canvas),!(r instanceof dd))return[3,12];Z.label=9;case 9:return Z.trys.push([9,11,,12]),[4,this.context.cache.match(r.svg)];case 10:return k=Z.sent(),this.renderReplacedElement(r,n,k),[3,12];case 11:return Z.sent(),this.context.logger.error("Error loading svg "+r.svg.substring(0,255)),[3,12];case 12:return r instanceof vd&&r.tree?(u=new A(this.context,{scale:this.options.scale,backgroundColor:r.backgroundColor,x:0,y:0,width:r.width,height:r.height}),[4,u.render(r.tree)]):[3,14];case 13:c=Z.sent(),r.width&&r.height&&this.ctx.drawImage(c,0,0,r.width,r.height,r.bounds.left,r.bounds.top,r.bounds.width,r.bounds.height),Z.label=14;case 14:if(r instanceof Lf&&(B=Math.min(r.bounds.width,r.bounds.height),r.type===Mo?r.checked&&(this.ctx.save(),this.path([new EA(r.bounds.left+B*.39363,r.bounds.top+B*.79),new EA(r.bounds.left+B*.16,r.bounds.top+B*.5549),new EA(r.bounds.left+B*.27347,r.bounds.top+B*.44071),new EA(r.bounds.left+B*.39694,r.bounds.top+B*.5649),new EA(r.bounds.left+B*.72983,r.bounds.top+B*.23),new EA(r.bounds.left+B*.84,r.bounds.top+B*.34085),new EA(r.bounds.left+B*.39363,r.bounds.top+B*.79)]),this.ctx.fillStyle=gt(B0),this.ctx.fill(),this.ctx.restore()):r.type===Ro&&r.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(r.bounds.left+B/2,r.bounds.top+B/2,B/4,0,Math.PI*2,!0),this.ctx.fillStyle=gt(B0),this.ctx.fill(),this.ctx.restore())),u4(r)&&r.value.length){switch(w=this.createFontStyle(i),P=w[0],g=w[1],C=this.fontMetrics.getMetrics(P,g).baseline,this.ctx.font=P,this.ctx.fillStyle=gt(i.color),this.ctx.textBaseline="alphabetic",this.ctx.textAlign=c4(r.styles.textAlign),z=qo(r),Q=0,r.styles.textAlign){case 1:Q+=z.width/2;break;case 2:Q+=z.width;break}x=z.add(Q,0,0,-z.height/2+1),this.ctx.save(),this.path([new EA(z.left,z.top),new EA(z.left+z.width,z.top),new EA(z.left+z.width,z.top+z.height),new EA(z.left,z.top+z.height)]),this.ctx.clip(),this.renderTextWithLetterSpacing(new $a(r.value,x),i.letterSpacing,C),this.ctx.restore(),this.ctx.textBaseline="alphabetic",this.ctx.textAlign="left"}if(!ct(r.styles.display,2048))return[3,20];if(r.styles.listStyleImage===null)return[3,19];if(F=r.styles.listStyleImage,F.type!==0)return[3,18];k=void 0,K=F.url,Z.label=15;case 15:return Z.trys.push([15,17,,18]),[4,this.context.cache.match(K)];case 16:return k=Z.sent(),this.ctx.drawImage(k,r.bounds.left-(k.width+10),r.bounds.top),[3,18];case 17:return Z.sent(),this.context.logger.error("Error loading list-style-image "+K),[3,18];case 18:return[3,20];case 19:e.listValue&&r.styles.listStyleType!==-1&&(P=this.createFontStyle(i)[0],this.ctx.font=P,this.ctx.fillStyle=gt(i.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right",z=new cn(r.bounds.left,r.bounds.top+De(r.styles.paddingTop,r.bounds.width),r.bounds.width,$h(i.lineHeight,i.fontSize.number)/2+1),this.renderTextWithLetterSpacing(new $a(e.listValue,z),i.letterSpacing,$h(i.lineHeight,i.fontSize.number)/2+2),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"),Z.label=20;case 20:return[2]}})})},A.prototype.renderStackContent=function(e){return Ot(this,void 0,void 0,function(){var r,n,F,i,s,F,a,l,F,u,c,F,B,w,F,g,C,F,Q,x,F;return Ht(this,function(k){switch(k.label){case 0:if(ct(e.element.container.flags,16))debugger;return[4,this.renderNodeBackgroundAndBorders(e.element)];case 1:k.sent(),r=0,n=e.negativeZIndex,k.label=2;case 2:return r<n.length?(F=n[r],[4,this.renderStack(F)]):[3,5];case 3:k.sent(),k.label=4;case 4:return r++,[3,2];case 5:return[4,this.renderNodeContent(e.element)];case 6:k.sent(),i=0,s=e.nonInlineLevel,k.label=7;case 7:return i<s.length?(F=s[i],[4,this.renderNode(F)]):[3,10];case 8:k.sent(),k.label=9;case 9:return i++,[3,7];case 10:a=0,l=e.nonPositionedFloats,k.label=11;case 11:return a<l.length?(F=l[a],[4,this.renderStack(F)]):[3,14];case 12:k.sent(),k.label=13;case 13:return a++,[3,11];case 14:u=0,c=e.nonPositionedInlineLevel,k.label=15;case 15:return u<c.length?(F=c[u],[4,this.renderStack(F)]):[3,18];case 16:k.sent(),k.label=17;case 17:return u++,[3,15];case 18:B=0,w=e.inlineLevel,k.label=19;case 19:return B<w.length?(F=w[B],[4,this.renderNode(F)]):[3,22];case 20:k.sent(),k.label=21;case 21:return B++,[3,19];case 22:g=0,C=e.zeroOrAutoZIndexOrTransformedOrOpacity,k.label=23;case 23:return g<C.length?(F=C[g],[4,this.renderStack(F)]):[3,26];case 24:k.sent(),k.label=25;case 25:return g++,[3,23];case 26:Q=0,x=e.positiveZIndex,k.label=27;case 27:return Q<x.length?(F=x[Q],[4,this.renderStack(F)]):[3,30];case 28:k.sent(),k.label=29;case 29:return Q++,[3,27];case 30:return[2]}})})},A.prototype.mask=function(e){this.ctx.beginPath(),this.ctx.moveTo(0,0),this.ctx.lineTo(this.canvas.width,0),this.ctx.lineTo(this.canvas.width,this.canvas.height),this.ctx.lineTo(0,this.canvas.height),this.ctx.lineTo(0,0),this.formatPath(e.slice(0).reverse()),this.ctx.closePath()},A.prototype.path=function(e){this.ctx.beginPath(),this.formatPath(e),this.ctx.closePath()},A.prototype.formatPath=function(e){var r=this;e.forEach(function(n,i){var s=lr(n)?n.start:n;i===0?r.ctx.moveTo(s.x,s.y):r.ctx.lineTo(s.x,s.y),lr(n)&&r.ctx.bezierCurveTo(n.startControl.x,n.startControl.y,n.endControl.x,n.endControl.y,n.end.x,n.end.y)})},A.prototype.renderRepeat=function(e,r,n,i){this.path(e),this.ctx.fillStyle=r,this.ctx.translate(n,i),this.ctx.fill(),this.ctx.translate(-n,-i)},A.prototype.resizeImage=function(e,r,n){var i;if(e.width===r&&e.height===n)return e;var s=(i=this.canvas.ownerDocument)!==null&&i!==void 0?i:document,a=s.createElement("canvas");a.width=Math.max(1,r),a.height=Math.max(1,n);var l=a.getContext("2d");return l.drawImage(e,0,0,e.width,e.height,0,0,r,n),a},A.prototype.renderBackgroundImage=function(e){return Ot(this,void 0,void 0,function(){var r,n,i,s,a,l;return Ht(this,function(u){switch(u.label){case 0:r=e.styles.backgroundImage.length-1,n=function(c){var B,w,g,$,sA,oA,R,G,V,C,$,sA,oA,R,G,Q,x,F,k,K,P,z,Z,iA,V,N,$,E,S,R,G,aA,sA,oA,tA,lA,FA,pA,b,O,M,q;return Ht(this,function(X){switch(X.label){case 0:if(c.type!==0)return[3,5];B=void 0,w=c.url,X.label=1;case 1:return X.trys.push([1,3,,4]),[4,i.context.cache.match(w)];case 2:return B=X.sent(),[3,4];case 3:return X.sent(),i.context.logger.error("Error loading background-image "+w),[3,4];case 4:return B&&(g=Nu(e,r,[B.width,B.height,B.width/B.height]),$=g[0],sA=g[1],oA=g[2],R=g[3],G=g[4],V=i.ctx.createPattern(i.resizeImage(B,R,G),"repeat"),i.renderRepeat($,V,sA,oA)),[3,6];case 5:J5(c)?(C=Nu(e,r,[null,null,null]),$=C[0],sA=C[1],oA=C[2],R=C[3],G=C[4],Q=j5(c.angle,R,G),x=Q[0],F=Q[1],k=Q[2],K=Q[3],P=Q[4],z=document.createElement("canvas"),z.width=R,z.height=G,Z=z.getContext("2d"),iA=Z.createLinearGradient(F,K,k,P),Yh(c.stops,x).forEach(function(eA){return iA.addColorStop(eA.stop,gt(eA.color))}),Z.fillStyle=iA,Z.fillRect(0,0,R,G),R>0&&G>0&&(V=i.ctx.createPattern(z,"repeat"),i.renderRepeat($,V,sA,oA))):z5(c)&&(N=Nu(e,r,[null,null,null]),$=N[0],E=N[1],S=N[2],R=N[3],G=N[4],aA=c.position.length===0?[Qf]:c.position,sA=De(aA[0],R),oA=De(aA[aA.length-1],G),tA=V5(c,sA,oA,R,G),lA=tA[0],FA=tA[1],lA>0&&FA>0&&(pA=i.ctx.createRadialGradient(E+sA,S+oA,0,E+sA,S+oA,lA),Yh(c.stops,lA*2).forEach(function(eA){return pA.addColorStop(eA.stop,gt(eA.color))}),i.path($),i.ctx.fillStyle=pA,lA!==FA?(b=e.bounds.left+.5*e.bounds.width,O=e.bounds.top+.5*e.bounds.height,M=FA/lA,q=1/M,i.ctx.save(),i.ctx.translate(b,O),i.ctx.transform(1,0,0,M,0,0),i.ctx.translate(-b,-O),i.ctx.fillRect(E,q*(S-O)+O,R,G*q),i.ctx.restore()):i.ctx.fill())),X.label=6;case 6:return r--,[2]}})},i=this,s=0,a=e.styles.backgroundImage.slice(0).reverse(),u.label=1;case 1:return s<a.length?(l=a[s],[5,n(l)]):[3,4];case 2:u.sent(),u.label=3;case 3:return s++,[3,1];case 4:return[2]}})})},A.prototype.renderSolidBorder=function(e,r,n){return Ot(this,void 0,void 0,function(){return Ht(this,function(i){return this.path(L0(n,r)),this.ctx.fillStyle=gt(e),this.ctx.fill(),[2]})})},A.prototype.renderDoubleBorder=function(e,r,n,i){return Ot(this,void 0,void 0,function(){var s,a;return Ht(this,function(l){switch(l.label){case 0:return r<3?[4,this.renderSolidBorder(e,n,i)]:[3,2];case 1:return l.sent(),[2];case 2:return s=$C(i,n),this.path(s),this.ctx.fillStyle=gt(e),this.ctx.fill(),a=A4(i,n),this.path(a),this.ctx.fill(),[2]}})})},A.prototype.renderNodeBackgroundAndBorders=function(e){return Ot(this,void 0,void 0,function(){var r,n,i,s,a,l,u,c,B=this;return Ht(this,function(w){switch(w.label){case 0:return this.applyEffects(e.getEffects(2)),r=e.container.styles,n=!Pn(r.backgroundColor)||r.backgroundImage.length,i=[{style:r.borderTopStyle,color:r.borderTopColor,width:r.borderTopWidth},{style:r.borderRightStyle,color:r.borderRightColor,width:r.borderRightWidth},{style:r.borderBottomStyle,color:r.borderBottomColor,width:r.borderBottomWidth},{style:r.borderLeftStyle,color:r.borderLeftColor,width:r.borderLeftWidth}],s=f4($i(r.backgroundClip,0),e.curves),n||r.boxShadow.length?(this.ctx.save(),this.path(s),this.ctx.clip(),Pn(r.backgroundColor)||(this.ctx.fillStyle=gt(r.backgroundColor),this.ctx.fill()),[4,this.renderBackgroundImage(e.container)]):[3,2];case 1:w.sent(),this.ctx.restore(),r.boxShadow.slice(0).reverse().forEach(function(g){B.ctx.save();var C=jo(e.curves),Q=g.inset?0:o4,x=YC(C,-Q+(g.inset?1:-1)*g.spread.number,(g.inset?1:-1)*g.spread.number,g.spread.number*(g.inset?-2:2),g.spread.number*(g.inset?-2:2));g.inset?(B.path(C),B.ctx.clip(),B.mask(x)):(B.mask(C),B.ctx.clip(),B.path(x)),B.ctx.shadowOffsetX=g.offsetX.number+Q,B.ctx.shadowOffsetY=g.offsetY.number,B.ctx.shadowColor=gt(g.color),B.ctx.shadowBlur=g.blur.number,B.ctx.fillStyle=g.inset?gt(g.color):"rgba(0,0,0,1)",B.ctx.fill(),B.ctx.restore()}),w.label=2;case 2:a=0,l=0,u=i,w.label=3;case 3:return l<u.length?(c=u[l],c.style!==0&&!Pn(c.color)&&c.width>0?c.style!==2?[3,5]:[4,this.renderDashedDottedBorder(c.color,c.width,a,e.curves,2)]:[3,11]):[3,13];case 4:return w.sent(),[3,11];case 5:return c.style!==3?[3,7]:[4,this.renderDashedDottedBorder(c.color,c.width,a,e.curves,3)];case 6:return w.sent(),[3,11];case 7:return c.style!==4?[3,9]:[4,this.renderDoubleBorder(c.color,c.width,a,e.curves)];case 8:return w.sent(),[3,11];case 9:return[4,this.renderSolidBorder(c.color,a,e.curves)];case 10:w.sent(),w.label=11;case 11:a++,w.label=12;case 12:return l++,[3,3];case 13:return[2]}})})},A.prototype.renderDashedDottedBorder=function(e,r,n,i,s){return Ot(this,void 0,void 0,function(){var a,l,u,c,B,w,g,C,Q,x,F,k,K,P,z,Z,z,Z;return Ht(this,function(iA){return this.ctx.save(),a=e4(i,n),l=L0(i,n),s===2&&(this.path(l),this.ctx.clip()),lr(l[0])?(u=l[0].start.x,c=l[0].start.y):(u=l[0].x,c=l[0].y),lr(l[1])?(B=l[1].end.x,w=l[1].end.y):(B=l[1].x,w=l[1].y),n===0||n===2?g=Math.abs(u-B):g=Math.abs(c-w),this.ctx.beginPath(),s===3?this.formatPath(a):this.formatPath(l.slice(0,2)),C=r<3?r*3:r*2,Q=r<3?r*2:r,s===3&&(C=r,Q=r),x=!0,g<=C*2?x=!1:g<=C*2+Q?(F=g/(2*C+Q),C*=F,Q*=F):(k=Math.floor((g+Q)/(C+Q)),K=(g-k*C)/(k-1),P=(g-(k+1)*C)/k,Q=P<=0||Math.abs(Q-K)<Math.abs(Q-P)?K:P),x&&(s===3?this.ctx.setLineDash([0,C+Q]):this.ctx.setLineDash([C,Q])),s===3?(this.ctx.lineCap="round",this.ctx.lineWidth=r):this.ctx.lineWidth=r*2+1.1,this.ctx.strokeStyle=gt(e),this.ctx.stroke(),this.ctx.setLineDash([]),s===2&&(lr(l[0])&&(z=l[3],Z=l[0],this.ctx.beginPath(),this.formatPath([new EA(z.end.x,z.end.y),new EA(Z.start.x,Z.start.y)]),this.ctx.stroke()),lr(l[1])&&(z=l[1],Z=l[2],this.ctx.beginPath(),this.formatPath([new EA(z.end.x,z.end.y),new EA(Z.start.x,Z.start.y)]),this.ctx.stroke())),this.ctx.restore(),[2]})})},A.prototype.render=function(e){return Ot(this,void 0,void 0,function(){var r;return Ht(this,function(n){switch(n.label){case 0:return this.options.backgroundColor&&(this.ctx.fillStyle=gt(this.options.backgroundColor),this.ctx.fillRect(this.options.x,this.options.y,this.options.width,this.options.height)),r=ZC(e),[4,this.renderStack(r)];case 1:return n.sent(),this.applyEffects([]),[2,this.canvas]}})})},A})(Dd),u4=function(t){return t instanceof wd||t instanceof pd?!0:t instanceof Lf&&t.type!==Ro&&t.type!==Mo},f4=function(t,A){switch(t){case 0:return jo(A);case 2:return qC(A);case 1:default:return Vo(A)}},c4=function(t){switch(t){case 1:return"center";case 2:return"right";case 0:default:return"left"}},h4=["-apple-system","system-ui"],g4=function(t){return/iPhone OS 15_(0|1)/.test(window.navigator.userAgent)?t.filter(function(A){return h4.indexOf(A)===-1}):t},d4=(function(t){br(A,t);function A(e,r){var n=t.call(this,e,r)||this;return n.canvas=r.canvas?r.canvas:document.createElement("canvas"),n.ctx=n.canvas.getContext("2d"),n.options=r,n.canvas.width=Math.floor(r.width*r.scale),n.canvas.height=Math.floor(r.height*r.scale),n.canvas.style.width=r.width+"px",n.canvas.style.height=r.height+"px",n.ctx.scale(n.options.scale,n.options.scale),n.ctx.translate(-r.x,-r.y),n.context.logger.debug("EXPERIMENTAL ForeignObject renderer initialized ("+r.width+"x"+r.height+" at "+r.x+","+r.y+") with scale "+r.scale),n}return A.prototype.render=function(e){return Ot(this,void 0,void 0,function(){var r,n;return Ht(this,function(i){switch(i.label){case 0:return r=ff(this.options.width*this.options.scale,this.options.height*this.options.scale,this.options.scale,this.options.scale,e),[4,B4(r)];case 1:return n=i.sent(),this.options.backgroundColor&&(this.ctx.fillStyle=gt(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(n,-this.options.x*this.options.scale,-this.options.y*this.options.scale),[2,this.canvas]}})})},A})(Dd),B4=function(t){return new Promise(function(A,e){var r=new Image;r.onload=function(){A(r)},r.onerror=e,r.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(t))})},p4=(function(){function t(A){var e=A.id,r=A.enabled;this.id=e,this.enabled=r,this.start=Date.now()}return t.prototype.debug=function(){for(var A=[],e=0;e<arguments.length;e++)A[e]=arguments[e];this.enabled&&(typeof window<"u"&&window.console&&typeof console.debug=="function"?console.debug.apply(console,Ys([this.id,this.getTime()+"ms"],A)):this.info.apply(this,A))},t.prototype.getTime=function(){return Date.now()-this.start},t.prototype.info=function(){for(var A=[],e=0;e<arguments.length;e++)A[e]=arguments[e];this.enabled&&typeof window<"u"&&window.console&&typeof console.info=="function"&&console.info.apply(console,Ys([this.id,this.getTime()+"ms"],A))},t.prototype.warn=function(){for(var A=[],e=0;e<arguments.length;e++)A[e]=arguments[e];this.enabled&&(typeof window<"u"&&window.console&&typeof console.warn=="function"?console.warn.apply(console,Ys([this.id,this.getTime()+"ms"],A)):this.info.apply(this,A))},t.prototype.error=function(){for(var A=[],e=0;e<arguments.length;e++)A[e]=arguments[e];this.enabled&&(typeof window<"u"&&window.console&&typeof console.error=="function"?console.error.apply(console,Ys([this.id,this.getTime()+"ms"],A)):this.info.apply(this,A))},t.instances={},t})(),w4=(function(){function t(A,e){var r;this.windowBounds=e,this.instanceName="#"+t.instanceCount++,this.logger=new p4({id:this.instanceName,enabled:A.logging}),this.cache=(r=A.cache)!==null&&r!==void 0?r:new PC(this,A)}return t.instanceCount=1,t})(),v4=function(t,A){return A===void 0&&(A={}),m4(t,A)};typeof window<"u"&&xd.setContext(window);var m4=function(t,A){return Ot(void 0,void 0,void 0,function(){var e,r,n,i,s,a,l,u,c,B,w,g,C,Q,x,F,k,K,P,z,iA,Z,iA,V,N,$,E,S,R,G,aA,sA,oA,tA,lA,FA,pA,b,O,M;return Ht(this,function(q){switch(q.label){case 0:if(!t||typeof t!="object")return[2,Promise.reject("Invalid element provided as first argument")];if(e=t.ownerDocument,!e)throw new Error("Element is not attached to a Document");if(r=e.defaultView,!r)throw new Error("Document is not attached to a Window");return n={allowTaint:(V=A.allowTaint)!==null&&V!==void 0?V:!1,imageTimeout:(N=A.imageTimeout)!==null&&N!==void 0?N:15e3,proxy:A.proxy,useCORS:($=A.useCORS)!==null&&$!==void 0?$:!1},i=Ju({logging:(E=A.logging)!==null&&E!==void 0?E:!0,cache:A.cache},n),s={windowWidth:(S=A.windowWidth)!==null&&S!==void 0?S:r.innerWidth,windowHeight:(R=A.windowHeight)!==null&&R!==void 0?R:r.innerHeight,scrollX:(G=A.scrollX)!==null&&G!==void 0?G:r.pageXOffset,scrollY:(aA=A.scrollY)!==null&&aA!==void 0?aA:r.pageYOffset},a=new cn(s.scrollX,s.scrollY,s.windowWidth,s.windowHeight),l=new w4(i,a),u=(sA=A.foreignObjectRendering)!==null&&sA!==void 0?sA:!1,c={allowTaint:(oA=A.allowTaint)!==null&&oA!==void 0?oA:!1,onclone:A.onclone,ignoreElements:A.ignoreElements,inlineImages:u,copyStyles:u},l.logger.debug("Starting document clone with size "+a.width+"x"+a.height+" scrolled to "+-a.left+","+-a.top),B=new b0(l,t,c),w=B.clonedReferenceElement,w?[4,B.toIFrame(e,a)]:[2,Promise.reject("Unable to find element in cloned iframe")];case 1:return g=q.sent(),C=xf(w)||CC(w)?Yp(w.ownerDocument):zo(l,w),Q=C.width,x=C.height,F=C.left,k=C.top,K=C4(l,w,A.backgroundColor),P={canvas:A.canvas,backgroundColor:K,scale:(lA=(tA=A.scale)!==null&&tA!==void 0?tA:r.devicePixelRatio)!==null&&lA!==void 0?lA:1,x:((FA=A.x)!==null&&FA!==void 0?FA:0)+F,y:((pA=A.y)!==null&&pA!==void 0?pA:0)+k,width:(b=A.width)!==null&&b!==void 0?b:Math.ceil(Q),height:(O=A.height)!==null&&O!==void 0?O:Math.ceil(x)},u?(l.logger.debug("Document cloned, using foreign object rendering"),iA=new d4(l,P),[4,iA.render(w)]):[3,3];case 2:return z=q.sent(),[3,5];case 3:return l.logger.debug("Document cloned, element located at "+F+","+k+" with size "+Q+"x"+x+" using computed rendering"),l.logger.debug("Starting DOM parsing"),Z=Cd(l,w),K===Z.styles.backgroundColor&&(Z.styles.backgroundColor=un.TRANSPARENT),l.logger.debug("Starting renderer for element at "+P.x+","+P.y+" with size "+P.width+"x"+P.height),iA=new l4(l,P),[4,iA.render(Z)];case 4:z=q.sent(),q.label=5;case 5:return(!((M=A.removeContainer)!==null&&M!==void 0)||M)&&(b0.destroy(g)||l.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")),l.logger.debug("Finished rendering"),[2,z]}})})},C4=function(t,A,e){var r=A.ownerDocument,n=r.documentElement?Ya(t,getComputedStyle(r.documentElement).backgroundColor):un.TRANSPARENT,i=r.body?Ya(t,getComputedStyle(r.body).backgroundColor):un.TRANSPARENT,s=typeof e=="string"?Ya(t,e):e===null?un.TRANSPARENT:4294967295;return A===r.documentElement?Pn(n)?Pn(i)?s:i:n:s};const F4=Object.freeze(Object.defineProperty({__proto__:null,default:v4},Symbol.toStringTag,{value:"Module"}));export{MA as E,Rl as _,be as a};
|