PageSourceSearch

https://vjbooking.com/assets/AdminDocumentation-CHD8WmB_.js

js vjbooking.com collected 2026-10-03 00:33:41 UTC 447,218 bytes, 180 lines download raw bytes

vendor: 4,758 bytes, lines 1-12
1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index.es-B-DpSNE8.js","assets/index-BVjyonOd.js","assets/index-xL-OW0vu.css"])))=>i.map(i=>d[i]);
2var F1=Object.defineProperty;var O1=(t,n,e)=>n in t?F1(t,n,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[n]=e;var Ae=(t,n,e)=>O1(t,typeof n!="symbol"?n+"":n,e);import{D as Du,br as _l,u as T1,a8 as R1,$ as M1,r as B1,j as y,y as D1,a0 as ch,N as q1,P as U1,a2 as z1,B as H1,U as xl,E as W1,w as ze,X as wa,f as hh,aa as V1,c as Nl,bs as us,H as uh,M as G1,aG as Z1,aH as fh,m as dh}from"./index-BVjyonOd.js";import{F as Y1}from"./Footer-D4uf60gm.js";import{C as ya,a as _a,b as xa,d as Na}from"./card-E4pOK3S5.js";import{B as cn}from"./badge-Dt_j399a.js";import{D as $1}from"./download-m9KdvYDA.js";import{C as ph}from"./chart-column-BUNp7Tsf.js";import{D as Al,H as K1}from"./hard-drive-K9q1jfbx.js";import{C as gh}from"./credit-card-CIvZYyW-.js";import{C as X1}from"./calendar-BpiMMxHS.js";import"./useSiteSettings-DlXK9k0F.js";import"./circle-check-feE81CtX.js";/**
3 * @license lucide-react v0.462.0 - ISC
4 *
5 * This source code is licensed under the ISC license.
6 * See the LICENSE file in the root directory of this source tree.
7 */const mh=Du("FileImage",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["circle",{cx:"10",cy:"12",r:"2",key:"737tya"}],["path",{d:"m20 17-1.296-1.296a2.41 2.41 0 0 0-3.408 0L9 22",key:"wt3hpn"}]]);/**
8 * @license lucide-react v0.462.0 - ISC
9 *
10 * This source code is licensed under the ISC license.
11 * See the LICENSE file in the root directory of this source tree.
12 */const J1=Du("Map",[["path",{d:"M14.106 5.553a2 2 0 0 0 1.788 0l3.659-1.83A1 1 0 0 1 21 4.619v12.764a1 1 0 0 1-.553.894l-4.553 2.277a2 2 0 0 1-1.788 0l-4.212-2.106a2 2 0 0 0-1.788 0l-3.659 1.83A1 1 0 0 1 3 19.381V6.618a1 1 0 0 1 .553-.894l4.553-2.277a2 2 0 0 1 1.788 0z",key:"169xi5"}],["path",{d:"M15 5.764v15",key:"1pn4in"}],["path",{d:"M9 3.236v15",key:"1uimfh"}]]);function Le(t){"@babel/helpers - typeof";return Le=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},Le(t)}var fi=Uint8Array,Zn=Uint16Array,gc=Int32Array,mc=new fi([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]),bc=new fi([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]),bh=new fi([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),qu=function(t,n){for(var e=new Zn(31),i=0;i<31;++i)e[i]=n+=1<<t[i-1];for(var r=new gc(e[30]),i=1;i<30;++i)for(var s=e[i];s<e[i+1];++s)r[s]=s-e[i]<<5|i;return{b:e,r}},Uu=qu(mc,2),Q1=Uu.b,Jl=Uu.r;Q1[28]=258,Jl[258]=28;var t2=qu(bc,0),vh=t2.r,Ql=new Zn(32768);for(var Re=0;Re<32768;++Re){var ur=(Re&43690)>>1|(Re&21845)<<1;ur=(ur&52428)>>2|(ur&13107)<<2,ur=(ur&61680)>>4|(ur&3855)<<4,Ql[Re]=((ur&65280)>>8|(ur&255)<<8)>>1}var bs=function(t,n,e){for(var i=t.length,r=0,s=new Zn(n);r<i;++r)t[r]&&++s[t[r]-1];var h=new Zn(n);for(r=1;r<n;++r)h[r]=h[r-1]+s[r-1]<<1;var l;if(e){l=new Zn(1<<n);var u=15-n;for(r=0;r<i;++r)if(t[r])for(var d=r<<4|t[r],g=n-t[r],x=h[t[r]-1]++<<g,L=x|(1<<g)-1;x<=L;++x)l[Ql[x]>>u]=d}else for(l=new Zn(i),r=0;r<i;++r)t[r]&&(l[r]=Ql[h[t[r]-1]++]>>15-t[r]);return l},Vr=new fi(288);for(var Re=0;Re<144;++Re)Vr[Re]=8;for(var Re=144;Re<256;++Re)Vr[Re]=9;for(var Re=256;Re<280;++Re)Vr[Re]=7;for(var Re=280;Re<288;++Re)Vr[Re]=8;var Eo=new fi(32);for(var Re=0;Re<32;++Re)Eo[Re]=5;var e2=bs(Vr,9,0),n2=bs(Eo,5,0),zu=function(t){return(t+7)/8|0},i2=function(t,n,e){return(e==null||e>t.length)&&(e=t.length),new fi(t.subarray(n,e))},Gi=function(t,n,e){e<<=n&7;var i=n/8|0;t[i]|=e,t[i+1]|=e>>8},fs=function(t,n,e){e<<=n&7;var i=n/8|0;t[i]|=e,t[i+1]|=e>>8,t[i+2]|=e>>16},Ll=function(t,n){for(var e=[],i=0;i<t.length;++i)t[i]&&e.push({s:i,f:t[i]});var r=e.length,s=e.slice();if(!r)return{t:Wu,l:0};if(r==1){var h=new fi(e[0].s+1);return h[e[0].s]=1,{t:h,l:1}}e.sort(function(at,pt){return at.f-pt.f}),e.push({s:-1,f:25001});var l=e[0],u=e[1],d=0,g=1,x=2;for(e[0]={s:-1,f:l.f+u.f,l,r:u};g!=r-1;)l=e[e[d].f<e[x].f?d++:x++],u=e[d!=g&&e[d].f<e[x].f?d++:x++],e[g++]={s:-1,f:l.f+u.f,l,r:u};for(var L=s[0].s,i=1;i<r;++i)s[i].s>L&&(L=s[i].s);var p=new Zn(L+1),T=tc(e[g-1],p,0);if(T>n){var i=0,P=0,R=T-n,k=1<<R;for(s.sort(function(pt,lt){return p[lt.s]-p[pt.s]||pt.f-lt.f});i<r;++i){var D=s[i].s;if(p[D]>n)P+=k-(1<<T-p[D]),p[D]=n;else break}for(P>>=R;P>0;){var Z=s[i].s;p[Z]<n?P-=1<<n-p[Z]++-1:++i}for(;i>=0&&P;--i){var z=s[i].s;p[z]==n&&(--p[z],++P)}T=n}return{t:new fi(p),l:T}},tc=function(t,n,e){return t.s==-1?Math.max(tc(t.l,n,e+1),tc(t.r,n,e+1)):n[t.s]=e},wh=function(t){for(var n=t.length;
vendor: 12,366 bytes, lines 12-13
12n&&!t[--n];);for(var e=new Zn(++n),i=0,r=t[0],s=1,h=function(u){e[i++]=u},l=1;l<=n;++l)if(t[l]==r&&l!=n)++s;else{if(!r&&s>2){for(;s>138;s-=138)h(32754);s>2&&(h(s>10?s-11<<5|28690:s-3<<5|12305),s=0)}else if(s>3){for(h(r),--s;s>6;s-=6)h(8304);s>2&&(h(s-3<<5|8208),s=0)}for(;s--;)h(r);s=1,r=t[l]}return{c:e.subarray(0,i),n}},ds=function(t,n){for(var e=0,i=0;i<n.length;++i)e+=t[i]*n[i];return e},Hu=function(t,n,e){var i=e.length,r=zu(n+2);t[r]=i&255,t[r+1]=i>>8,t[r+2]=t[r]^255,t[r+3]=t[r+1]^255;for(var s=0;s<i;++s)t[r+s+4]=e[s];return(r+4+i)*8},yh=function(t,n,e,i,r,s,h,l,u,d,g){Gi(n,g++,e),++r[256];for(var x=Ll(r,15),L=x.t,p=x.l,T=Ll(s,15),P=T.t,R=T.l,k=wh(L),D=k.c,Z=k.n,z=wh(P),at=z.c,pt=z.n,lt=new Zn(19),X=0;X<D.length;++X)++lt[D[X]&31];for(var X=0;X<at.length;++X)++lt[at[X]&31];for(var B=Ll(lt,7),et=B.t,S=B.l,O=19;O>4&&!et[bh[O-1]];--O);var W=d+5<<3,H=ds(r,Vr)+ds(s,Eo)+h,rt=ds(r,L)+ds(s,P)+h+14+3*O+ds(lt,et)+2*lt[16]+3*lt[17]+7*lt[18];if(u>=0&&W<=H&&W<=rt)return Hu(n,g,t.subarray(u,u+d));var ct,ft,it,gt;if(Gi(n,g,1+(rt<H)),g+=2,rt<H){ct=bs(L,p,0),ft=L,it=bs(P,R,0),gt=P;var At=bs(et,S,0);Gi(n,g,Z-257),Gi(n,g+5,pt-1),Gi(n,g+10,O-4),g+=14;for(var X=0;X<O;++X)Gi(n,g+3*X,et[bh[X]]);g+=3*O;for(var yt=[D,at],N=0;N<2;++N)for(var M=yt[N],X=0;X<M.length;++X){var q=M[X]&31;Gi(n,g,At[q]),g+=et[q],q>15&&(Gi(n,g,M[X]>>5&127),g+=M[X]>>12)}}else ct=e2,ft=Vr,it=n2,gt=Eo;for(var X=0;X<l;++X){var V=i[X];if(V>255){var q=V>>18&31;fs(n,g,ct[q+257]),g+=ft[q+257],q>7&&(Gi(n,g,V>>23&31),g+=mc[q]);var $=V&31;fs(n,g,it[$]),g+=gt[$],$>3&&(fs(n,g,V>>5&8191),g+=bc[$])}else fs(n,g,ct[V]),g+=ft[V]}return fs(n,g,ct[256]),g+ft[256]},r2=new gc([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),Wu=new fi(0),a2=function(t,n,e,i,r,s){var h=s.z||t.length,l=new fi(i+h+5*(1+Math.ceil(h/7e3))+r),u=l.subarray(i,l.length-r),d=s.l,g=(s.r||0)&7;if(n){g&&(u[0]=s.r>>3);for(var x=r2[n-1],L=x>>13,p=x&8191,T=(1<<e)-1,P=s.p||new Zn(32768),R=s.h||new Zn(T+1),k=Math.ceil(e/3),D=2*k,Z=function(qt){return(t[qt]^t[qt+1]<<k^t[qt+2]<<D)&T},z=new gc(25e3),at=new Zn(288),pt=new Zn(32),lt=0,X=0,B=s.i||0,et=0,S=s.w||0,O=0;B+2<h;++B){var W=Z(B),H=B&32767,rt=R[W];if(P[H]=rt,R[W]=H,S<=B){var ct=h-B;if((lt>7e3||et>24576)&&(ct>423||!d)){g=yh(t,u,0,z,at,pt,X,et,O,B-O,g),et=lt=X=0,O=B;for(var ft=0;ft<286;++ft)at[ft]=0;for(var ft=0;ft<30;++ft)pt[ft]=0}var it=2,gt=0,At=p,yt=H-rt&32767;if(ct>2&&W==Z(B-yt))for(var N=Math.min(L,ct)-1,M=Math.min(32767,B),q=Math.min(258,ct);yt<=M&&--At&&H!=rt;){if(t[B+it]==t[B+it-yt]){for(var V=0;V<q&&t[B+V]==t[B+V-yt];++V);if(V>it){if(it=V,gt=yt,V>N)break;for(var $=Math.min(yt,V-2),Q=0,ft=0;ft<$;++ft){var st=B-yt+ft&32767,ot=P[st],bt=st-ot&32767;bt>Q&&(Q=bt,rt=st)}}}H=rt,rt=P[H],yt+=H-rt&32767}if(gt){z[et++]=268435456|Jl[it]<<18|vh[gt];var Nt=Jl[it]&31,jt=vh[gt]&31;X+=mc[Nt]+bc[jt],++at[257+Nt],++pt[jt],S=B+it,++lt}else z[et++]=t[B],++at[t[B]]}}for(B=Math.max(B,S);B<h;++B)z[et++]=t[B],++at[t[B]];g=yh(t,u,d,z,at,pt,X,et,O,B-O,g),d||(s.r=g&7|u[g/8|0]<<3,g-=7,s.h=R,s.p=P,s.i=B,s.w=S)}else{for(var B=s.w||0;B<h+d;B+=65535){var kt=B+65535;kt>=h&&(u[g/8|0]=d,kt=h),g=Hu(u,g+1,t.subarray(B,kt))}s.i=h}return i2(l,0,i+zu(g)+r)},Vu=function(){var t=1,n=0;return{p:function(e){for(var i=t,r=n,s=e.length|0,h=0;h!=s;){for(var l=Math.min(h+2655,s);h<l;++h)r+=i+=e[h];i=(i&65535)+15*(i>>16),r=(r&65535)+15*(r>>16)}t=i,n=r},d:function(){return t%=65521,n%=65521,(t&255)<<24|(t&65280)<<8|(n&255)<<8|n>>8}}},s2=function(t,n,e,i,r){if(!r&&(r={l:1},n.dictionary)){var s=n.dictionary.subarray(-32768),h=new fi(s.length+t.length);h.set(s),h.set(t,s.length),t=h,r.w=s.length}return a2(t,n.level==null?6:n.level,n.mem==null?r.l?Math.ceil(Math.max(8,Math.min(13,Math.log(t.length)))*1.5):20:12+n.mem,e,i,r)},Gu=function(t,n,e){for(;e;++n)t[n]=e,e>>>=8},o2=function(t,n){var e=n.level,i=e==0?0:e<6?1:e==9?3:2;if(t[0]=120,t[1]=i<<6|(n.dictionary&&32),t[1]|=31-(t[0]<<8|t[1])%31,n.dictionary){var r=Vu();r.p(n.dictionary),Gu(t,2,r.d())}};function ec(t,n){n||(n={});var e=Vu();e.p(t);var i=s2(t,n,n.dictionary?6:2,4);return o2(i,n),Gu(i,i.length-4,e.d()),i}var l2=typeof TextDecoder<"u"&&new TextDecoder,c2=0;try{l2.decode(Wu,{stream:!0}),c2=1}catch{}function h2(t){if(Array.isArray(t))return t}function u2(t,n){var e=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(e!=null){var i,r,s,h,l=[],u=!0,d=!1;try{if(s=(e=e.call(t)).next,n!==0)for(;!(u=(i=s.call(e)).done)&&(l.push(i.value),l.length!==n);u=!0);}catch(g){d=!0,r=g}finally{try{if(!u&&e.return!=null&&(h=e.return(),Object(h)!==h))return}finally{if(d)throw r}}return l}}function _h(t,n){(n==null||n>t.length)&&(n=t.length);for(var e=0,i=Array(n);e<n;e++)i[e]=t[e];return i}function f2(t,n){if(t){if(typeof t=="string")return _h(t,n);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)?_h(t,n):void 0}}function d2(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
13In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function xh(t,n){return h2(t)||u2(t,n)||f2(t,n)||d2()}function Nh(t,n="utf8"){return new TextDecoder(n).decode(t)}const p2=new TextEncoder;function g2(t){return p2.encode(t)}const m2=1024*8,b2=(()=>{const t=new Uint8Array(4),n=new Uint32Array(t.buffer);return!((n[0]=1)&t[0])})(),Sl={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 vc{constructor(n=m2,e={}){Ae(this,"buffer");Ae(this,"byteLength");Ae(this,"byteOffset");Ae(this,"length");Ae(this,"offset");Ae(this,"lastWrittenByte");Ae(this,"littleEndian");Ae(this,"_data");Ae(this,"_mark");Ae(this,"_marks");let i=!1;typeof n=="number"?n=new ArrayBuffer(n):(i=!0,this.lastWrittenByte=n.byteLength);const r=e.offset?e.offset>>>0:0,s=n.byteLength-r;let h=r;(ArrayBuffer.isView(n)||n instanceof vc)&&(n.byteLength!==n.buffer.byteLength&&(h=n.byteOffset+r),n=n.buffer),i?this.lastWrittenByte=s:this.lastWrittenByte=0,this.buffer=n,this.length=s,this.byteLength=s,this.byteOffset=h,this.offset=0,this.littleEndian=!0,this._data=new DataView(this.buffer,h,s),this._mark=0,this._marks=[]}available(n=1){return this.offset+n<=this.length}isLittleEndian(){return this.littleEndian}setLittleEndian(){return this.littleEndian=!0,this}isBigEndian(){return!this.littleEndian}setBigEndian(){return this.littleEndian=!1,this}skip(n=1){return this.offset+=n,this}back(n=1){return this.offset-=n,this}seek(n){return this.offset=n,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 n=this._marks.pop();if(n===void 0)throw new Error("Mark stack empty");return this.seek(n),this}rewind(){return this.offset=0,this}ensureAvailable(n=1){if(!this.available(n)){const i=(this.offset+n)*2,r=new Uint8Array(i);r.set(new Uint8Array(this.buffer)),this.buffer=r.buffer,this.length=i,this.byteLength=i,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(n=1){return this.readArray(n,"uint8")}readArray(n,e){const i=Sl[e].BYTES_PER_ELEMENT*n,r=this.byteOffset+this.offset,s=this.buffer.slice(r,r+i);if(this.littleEndian===b2&&e!=="uint8"&&e!=="int8"){const l=new Uint8Array(this.buffer.slice(r,r+i));l.reverse();const u=new Sl[e](l.buffer);return this.offset+=i,u.reverse(),u}const h=new Sl[e](s);return this.offset+=i,h}readInt16(){const n=this._data.getInt16(this.offset,this.littleEndian);return this.offset+=2,n}readUint16(){const n=this._data.getUint16(this.offset,this.littleEndian);return this.offset+=2,n}readInt32(){const n=this._data.getInt32(this.offset,this.littleEndian);return this.offset+=4,n}readUint32(){const n=this._data.getUint32(this.offset,this.littleEndian);return this.offset+=4,n}readFloat32(){const n=this._data.getFloat32(this.offset,this.littleEndian);return this.offset+=4,n}readFloat64(){const n=this._data.getFloat64(this.offset,this.littleEndian);return this.offset+=8,n}readBigInt64(){const n=this._data.getBigInt64(this.offset,this.littleEndian);return this.offset+=8,n}readBigUint64(){const n=this._data.getBigUint64(this.offset,this.littleEndian);return this.offset+=8,n}readChar(){return String.fromCharCode(this.readInt8())}readChars(n=1){let e="";for(let i=0;i<n;i++)e+=this.readChar();return e}readUtf8(n=1){return Nh(this.readBytes(n))}decodeText(n=1,e="utf8"){return Nh(this.readBytes(n),e)}writeBoolean(n){return this.writeUint8(n?255:0),this}writeInt8(n){return this.ensureAvailable(1),this._data.setInt8(this.offset++,n),this._updateLastWrittenByte(),this}writeUint8(n){return this.ensureAvailable(1),this._data.setUint8(this.offset++,n),this._updateLastWrittenByte(),this}writeByte(n){return this.writeUint8(n)}writeBytes(n){this.ensureAvailable(n.length);for(let e=0;e<n.length;e++)this._data.setUint8(this.offset++,n[e]);return this._updateLastWrittenByte(),this}writeInt16(n){return this.ensureAvailable(2),this._data.setInt16(this.offset,n,this.littleEndian),this.offset+=2,this._updateLastWrittenByte(),this}writeUint16(n){return this.ensureAvailable(2),this._data.setUint16(this.offset,n,this.littleEndian),this.offset+=2,this._updateLastWrittenByte(),this}writeInt32(n){return this.ensureAvailable(4),this._data.setInt32(this.offset,n,this.littleEndian),this.offset+=4,this._updateLastWrittenByte(),this}writeUint32(n){return this.ensureAvailable(4),this._data.setUint32(this.offset,n,this.littleEndian),this.offset+=4,this._updateLastWrittenByte(),this}writeFloat32(n){return this.ensureAvailable(4),this._data.setFloat32(this.offset,n,this.littleEndian),this.offset+=4,this._updateLastWrittenByte(),this}writeFloat64(n){return this.ensureAvailable(8),this._data.setFloat64(this.offset,n,this.littleEndian),this.offset+=8,this._updateLastWrittenByte(),this}writeBigInt64(n){return this.ensureAvailable(8),this._data.setBigInt64(this.offset,n,this.littleEndian),this.offset+=8,this._updateLastWrittenByte(),this}writeBigUint64(n){return this.ensureAvailable(8),this._data.setBigUint64(this.offset,n,this.littleEndian),this.offset+=8,this._updateLastWrittenByte(),this}writeChar(n){return this.writeUint8(n.charCodeAt(0))}writeChars(n){for(let e=0;e<n.length;e++)this.writeUint8(n.charCodeAt(e));return this}writeUtf8(n){return this.writeBytes(g2(n))}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)}}/*! pako 2.1.0 https://github.com/nodeca/pako @license (MIT AND Zlib) */const v2=4,Ah=0,Lh=1,w2=2;function Da(t){let n=t.length;for(;--n>=0;)t[n]=0}const y2=0,Zu=1,_2=2,x2=3,N2=258,wc=29,Ps=256,_s=Ps+1+wc,Ia=30,yc=19,Yu=2*_s+1,Ur=15,kl=16,A2=7,_c=256,$u=16,Ku=17,Xu=18,nc=new Uint8Array([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]),No=new Uint8Array([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]),L2=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),Ju=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),S2=512,Yi=new Array((_s+2)*2);Da(Yi);const vs=new Array(Ia*2);Da(vs);const xs=new Array(S2);Da(xs);const Ns=new Array(N2-x2+1);Da(Ns);const xc=new Array(wc);Da(xc);const Io=new Array(Ia);Da(Io);function jl(t,n,e,i,r){this.static_tree=t,this.extra_bits=n,this.extra_base=e,this.elems=i,this.max_length=r,this.has_stree=t&&t.length}let Qu,tf,ef;function Pl(t,n){this.dyn_tree=t,this.max_code=0,this.stat_desc=n}const nf=t=>t<256?xs[t]:xs[256+(t>>>7)],As=(t,n)=>{t.pending_buf[t.pending++]=n&255,t.pending_buf[t.pending++]=n>>>8&255},Rn=(t,n,e)=>{t.bi_valid>kl-e?(t.bi_buf|=n<<t.bi_valid&65535,As(t,t.bi_buf),t.bi_buf=n>>kl-t.bi_valid,t.bi_valid+=e-kl):(t.bi_buf|=n<<t.bi_valid&65535,t.bi_valid+=e)},ki=(t,n,e)=>{Rn(t,e[n*2],e[n*2+1])},rf=(t,n)=>{let e=0;do e|=t&1,t>>>=1,e<<=1;while(--n>0);return e>>>1},k2=t=>{t.bi_valid===16?(As(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):t.bi_valid>
vendor: 44,724 bytes, line 13
13=8&&(t.pending_buf[t.pending++]=t.bi_buf&255,t.bi_buf>>=8,t.bi_valid-=8)},j2=(t,n)=>{const e=n.dyn_tree,i=n.max_code,r=n.stat_desc.static_tree,s=n.stat_desc.has_stree,h=n.stat_desc.extra_bits,l=n.stat_desc.extra_base,u=n.stat_desc.max_length;let d,g,x,L,p,T,P=0;for(L=0;L<=Ur;L++)t.bl_count[L]=0;for(e[t.heap[t.heap_max]*2+1]=0,d=t.heap_max+1;d<Yu;d++)g=t.heap[d],L=e[e[g*2+1]*2+1]+1,L>u&&(L=u,P++),e[g*2+1]=L,!(g>i)&&(t.bl_count[L]++,p=0,g>=l&&(p=h[g-l]),T=e[g*2],t.opt_len+=T*(L+p),s&&(t.static_len+=T*(r[g*2+1]+p)));if(P!==0){do{for(L=u-1;t.bl_count[L]===0;)L--;t.bl_count[L]--,t.bl_count[L+1]+=2,t.bl_count[u]--,P-=2}while(P>0);for(L=u;L!==0;L--)for(g=t.bl_count[L];g!==0;)x=t.heap[--d],!(x>i)&&(e[x*2+1]!==L&&(t.opt_len+=(L-e[x*2+1])*e[x*2],e[x*2+1]=L),g--)}},af=(t,n,e)=>{const i=new Array(Ur+1);let r=0,s,h;for(s=1;s<=Ur;s++)r=r+e[s-1]<<1,i[s]=r;for(h=0;h<=n;h++){let l=t[h*2+1];l!==0&&(t[h*2]=rf(i[l]++,l))}},P2=()=>{let t,n,e,i,r;const s=new Array(Ur+1);for(e=0,i=0;i<wc-1;i++)for(xc[i]=e,t=0;t<1<<nc[i];t++)Ns[e++]=i;for(Ns[e-1]=i,r=0,i=0;i<16;i++)for(Io[i]=r,t=0;t<1<<No[i];t++)xs[r++]=i;for(r>>=7;i<Ia;i++)for(Io[i]=r<<7,t=0;t<1<<No[i]-7;t++)xs[256+r++]=i;for(n=0;n<=Ur;n++)s[n]=0;for(t=0;t<=143;)Yi[t*2+1]=8,t++,s[8]++;for(;t<=255;)Yi[t*2+1]=9,t++,s[9]++;for(;t<=279;)Yi[t*2+1]=7,t++,s[7]++;for(;t<=287;)Yi[t*2+1]=8,t++,s[8]++;for(af(Yi,_s+1,s),t=0;t<Ia;t++)vs[t*2+1]=5,vs[t*2]=rf(t,5);Qu=new jl(Yi,nc,Ps+1,_s,Ur),tf=new jl(vs,No,0,Ia,Ur),ef=new jl(new Array(0),L2,0,yc,A2)},sf=t=>{let n;for(n=0;n<_s;n++)t.dyn_ltree[n*2]=0;for(n=0;n<Ia;n++)t.dyn_dtree[n*2]=0;for(n=0;n<yc;n++)t.bl_tree[n*2]=0;t.dyn_ltree[_c*2]=1,t.opt_len=t.static_len=0,t.sym_next=t.matches=0},of=t=>{t.bi_valid>8?As(t,t.bi_buf):t.bi_valid>0&&(t.pending_buf[t.pending++]=t.bi_buf),t.bi_buf=0,t.bi_valid=0},Sh=(t,n,e,i)=>{const r=n*2,s=e*2;return t[r]<t[s]||t[r]===t[s]&&i[n]<=i[e]},El=(t,n,e)=>{const i=t.heap[e];let r=e<<1;for(;r<=t.heap_len&&(r<t.heap_len&&Sh(n,t.heap[r+1],t.heap[r],t.depth)&&r++,!Sh(n,i,t.heap[r],t.depth));)t.heap[e]=t.heap[r],e=r,r<<=1;t.heap[e]=i},kh=(t,n,e)=>{let i,r,s=0,h,l;if(t.sym_next!==0)do i=t.pending_buf[t.sym_buf+s++]&255,i+=(t.pending_buf[t.sym_buf+s++]&255)<<8,r=t.pending_buf[t.sym_buf+s++],i===0?ki(t,r,n):(h=Ns[r],ki(t,h+Ps+1,n),l=nc[h],l!==0&&(r-=xc[h],Rn(t,r,l)),i--,h=nf(i),ki(t,h,e),l=No[h],l!==0&&(i-=Io[h],Rn(t,i,l)));while(s<t.sym_next);ki(t,_c,n)},ic=(t,n)=>{const e=n.dyn_tree,i=n.stat_desc.static_tree,r=n.stat_desc.has_stree,s=n.stat_desc.elems;let h,l,u=-1,d;for(t.heap_len=0,t.heap_max=Yu,h=0;h<s;h++)e[h*2]!==0?(t.heap[++t.heap_len]=u=h,t.depth[h]=0):e[h*2+1]=0;for(;t.heap_len<2;)d=t.heap[++t.heap_len]=u<2?++u:0,e[d*2]=1,t.depth[d]=0,t.opt_len--,r&&(t.static_len-=i[d*2+1]);for(n.max_code=u,h=t.heap_len>>1;h>=1;h--)El(t,e,h);d=s;do h=t.heap[1],t.heap[1]=t.heap[t.heap_len--],El(t,e,1),l=t.heap[1],t.heap[--t.heap_max]=h,t.heap[--t.heap_max]=l,e[d*2]=e[h*2]+e[l*2],t.depth[d]=(t.depth[h]>=t.depth[l]?t.depth[h]:t.depth[l])+1,e[h*2+1]=e[l*2+1]=d,t.heap[1]=d++,El(t,e,1);while(t.heap_len>=2);t.heap[--t.heap_max]=t.heap[1],j2(t,n),af(e,u,t.bl_count)},jh=(t,n,e)=>{let i,r=-1,s,h=n[0*2+1],l=0,u=7,d=4;for(h===0&&(u=138,d=3),n[(e+1)*2+1]=65535,i=0;i<=e;i++)s=h,h=n[(i+1)*2+1],!(++l<u&&s===h)&&(l<d?t.bl_tree[s*2]+=l:s!==0?(s!==r&&t.bl_tree[s*2]++,t.bl_tree[$u*2]++):l<=10?t.bl_tree[Ku*2]++:t.bl_tree[Xu*2]++,l=0,r=s,h===0?(u=138,d=3):s===h?(u=6,d=3):(u=7,d=4))},Ph=(t,n,e)=>{let i,r=-1,s,h=n[0*2+1],l=0,u=7,d=4;for(h===0&&(u=138,d=3),i=0;i<=e;i++)if(s=h,h=n[(i+1)*2+1],!(++l<u&&s===h)){if(l<d)do ki(t,s,t.bl_tree);while(--l!==0);else s!==0?(s!==r&&(ki(t,s,t.bl_tree),l--),ki(t,$u,t.bl_tree),Rn(t,l-3,2)):l<=10?(ki(t,Ku,t.bl_tree),Rn(t,l-3,3)):(ki(t,Xu,t.bl_tree),Rn(t,l-11,7));l=0,r=s,h===0?(u=138,d=3):s===h?(u=6,d=3):(u=7,d=4)}},E2=t=>{let n;for(jh(t,t.dyn_ltree,t.l_desc.max_code),jh(t,t.dyn_dtree,t.d_desc.max_code),ic(t,t.bl_desc),n=yc-1;n>=3&&t.bl_tree[Ju[n]*2+1]===0;n--);return t.opt_len+=3*(n+1)+5+5+4,n},I2=(t,n,e,i)=>{let r;for(Rn(t,n-257,5),Rn(t,e-1,5),Rn(t,i-4,4),r=0;r<i;r++)Rn(t,t.bl_tree[Ju[r]*2+1],3);Ph(t,t.dyn_ltree,n-1),Ph(t,t.dyn_dtree,e-1)},C2=t=>{let n=4093624447,e;for(e=0;e<=31;e++,n>>>=1)if(n&1&&t.dyn_ltree[e*2]!==0)return Ah;if(t.dyn_ltree[9*2]!==0||t.dyn_ltree[10*2]!==0||t.dyn_ltree[13*2]!==0)return Lh;for(e=32;e<Ps;e++)if(t.dyn_ltree[e*2]!==0)return Lh;return Ah};let Eh=!1;const F2=t=>{Eh||(P2(),Eh=!0),t.l_desc=new Pl(t.dyn_ltree,Qu),t.d_desc=new Pl(t.dyn_dtree,tf),t.bl_desc=new Pl(t.bl_tree,ef),t.bi_buf=0,t.bi_valid=0,sf(t)},lf=(t,n,e,i)=>{Rn(t,(y2<<1)+(i?1:0),3),of(t),As(t,e),As(t,~e),e&&t.pending_buf.set(t.window.subarray(n,n+e),t.pending),t.pending+=e},O2=t=>{Rn(t,Zu<<1,3),ki(t,_c,Yi),k2(t)},T2=(t,n,e,i)=>{let r,s,h=0;t.level>0?(t.strm.data_type===w2&&(t.strm.data_type=C2(t)),ic(t,t.l_desc),ic(t,t.d_desc),h=E2(t),r=t.opt_len+3+7>>>3,s=t.static_len+3+7>>>3,s<=r&&(r=s)):r=s=e+5,e+4<=r&&n!==-1?lf(t,n,e,i):t.strategy===v2||s===r?(Rn(t,(Zu<<1)+(i?1:0),3),kh(t,Yi,vs)):(Rn(t,(_2<<1)+(i?1:0),3),I2(t,t.l_desc.max_code+1,t.d_desc.max_code+1,h+1),kh(t,t.dyn_ltree,t.dyn_dtree)),sf(t),i&&of(t)},R2=(t,n,e)=>(t.pending_buf[t.sym_buf+t.sym_next++]=n,t.pending_buf[t.sym_buf+t.sym_next++]=n>>8,t.pending_buf[t.sym_buf+t.sym_next++]=e,n===0?t.dyn_ltree[e*2]++:(t.matches++,n--,t.dyn_ltree[(Ns[e]+Ps+1)*2]++,t.dyn_dtree[nf(n)*2]++),t.sym_next===t.sym_end);var M2=F2,B2=lf,D2=T2,q2=R2,U2=O2,z2={_tr_init:M2,_tr_stored_block:B2,_tr_flush_block:D2,_tr_tally:q2,_tr_align:U2};const H2=(t,n,e,i)=>{let r=t&65535|0,s=t>>>16&65535|0,h=0;for(;e!==0;){h=e>2e3?2e3:e,e-=h;do r=r+n[i++]|0,s=s+r|0;while(--h);r%=65521,s%=65521}return r|s<<16|0};var Ls=H2;const W2=()=>{let t,n=[];for(var e=0;e<256;e++){t=e;for(var i=0;i<8;i++)t=t&1?3988292384^t>>>1:t>>>1;n[e]=t}return n},V2=new Uint32Array(W2()),G2=(t,n,e,i)=>{const r=V2,s=i+e;t^=-1;for(let h=i;h<s;h++)t=t>>>8^r[(t^n[h])&255];return t^-1};var hn=G2,Ra={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"},Es={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8};const{_tr_init:Z2,_tr_stored_block:rc,_tr_flush_block:Y2,_tr_tally:mr,_tr_align:$2}=z2,{Z_NO_FLUSH:br,Z_PARTIAL_FLUSH:K2,Z_FULL_FLUSH:X2,Z_FINISH:ni,Z_BLOCK:Ih,Z_OK:bn,Z_STREAM_END:Ch,Z_STREAM_ERROR:Pi,Z_DATA_ERROR:J2,Z_BUF_ERROR:Il,Z_DEFAULT_COMPRESSION:Q2,Z_FILTERED:td,Z_HUFFMAN_ONLY:po,Z_RLE:ed,Z_FIXED:nd,Z_DEFAULT_STRATEGY:id,Z_UNKNOWN:rd,Z_DEFLATED:Ro}=Es,ad=9,sd=15,od=8,ld=29,cd=256,ac=cd+1+ld,hd=30,ud=19,fd=2*ac+1,dd=15,pe=3,pr=258,Ei=pr+pe+1,pd=32,Ma=42,Nc=57,sc=69,oc=73,lc=91,cc=103,zr=113,gs=666,Cn=1,qa=2,Gr=3,Ua=4,gd=3,Hr=(t,n)=>(t.msg=Ra[n],n),Fh=t=>t*2-(t>4?9:0),dr=t=>{let n=t.length;for(;--n>=0;)t[n]=0},md=t=>{let n,e,i,r=t.w_size;n=t.hash_size,i=n;do e=t.head[--i],t.head[i]=e>=r?e-r:0;while(--n);n=r,i=n;do e=t.prev[--i],t.prev[i]=e>=r?e-r:0;while(--n)};let bd=(t,n,e)=>(n<<t.hash_shift^e)&t.hash_mask,vr=bd;const Gn=t=>{const n=t.state;let e=n.pending;e>t.avail_out&&(e=t.avail_out),e!==0&&(t.output.set(n.pending_buf.subarray(n.pending_out,n.pending_out+e),t.next_out),t.next_out+=e,n.pending_out+=e,t.total_out+=e,t.avail_out-=e,n.pending-=e,n.pending===0&&(n.pending_out=0))},Yn=(t,n)=>{Y2(t,t.block_start>=0?t.block_start:-1,t.strstart-t.block_start,n),t.block_start=t.strstart,Gn(t.strm)},we=(t,n)=>{t.pending_buf[t.pending++]=n},ps=(t,n)=>{t.pending_buf[t.pending++]=n>>>8&255,t.pending_buf[t.pending++]=n&255},hc=(t,n,e,i)=>{let r=t.avail_in;return r>i&&(r=i),r===0?0:(t.avail_in-=r,n.set(t.input.subarray(t.next_in,t.next_in+r),e),t.state.wrap===1?t.adler=Ls(t.adler,n,r,e):t.state.wrap===2&&(t.adler=hn(t.adler,n,r,e)),t.next_in+=r,t.total_in+=r,r)},cf=(t,n)=>{let e=t.max_chain_length,i=t.strstart,r,s,h=t.prev_length,l=t.nice_match;const u=t.strstart>t.w_size-Ei?t.strstart-(t.w_size-Ei):0,d=t.window,g=t.w_mask,x=t.prev,L=t.strstart+pr;let p=d[i+h-1],T=d[i+h];t.prev_length>=t.good_match&&(e>>=2),l>t.lookahead&&(l=t.lookahead);do if(r=n,!(d[r+h]!==T||d[r+h-1]!==p||d[r]!==d[i]||d[++r]!==d[i+1])){i+=2,r++;do;while(d[++i]===d[++r]&&d[++i]===d[++r]&&d[++i]===d[++r]&&d[++i]===d[++r]&&d[++i]===d[++r]&&d[++i]===d[++r]&&d[++i]===d[++r]&&d[++i]===d[++r]&&i<L);if(s=pr-(L-i),i=L-pr,s>h){if(t.match_start=n,h=s,s>=l)break;p=d[i+h-1],T=d[i+h]}}while((n=x[n&g])>u&&--e!==0);return h<=t.lookahead?h:t.lookahead},Ba=t=>{const n=t.w_size;let e,i,r;do{if(i=t.window_size-t.lookahead-t.strstart,t.strstart>=n+(n-Ei)&&(t.window.set(t.window.subarray(n,n+n-i),0),t.match_start-=n,t.strstart-=n,t.block_start-=n,t.insert>t.strstart&&(t.insert=t.strstart),md(t),i+=n),t.strm.avail_in===0)break;if(e=hc(t.strm,t.window,t.strstart+t.lookahead,i),t.lookahead+=e,t.lookahead+t.insert>=pe)for(r=t.strstart-t.insert,t.ins_h=t.window[r],t.ins_h=vr(t,t.ins_h,t.window[r+1]);t.insert&&(t.ins_h=vr(t,t.ins_h,t.window[r+pe-1]),t.prev[r&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=r,r++,t.insert--,!(t.lookahead+t.insert<pe)););}while(t.lookahead<Ei&&t.strm.avail_in!==0)},hf=(t,n)=>{let e=t.pending_buf_size-5>t.w_size?t.w_size:t.pending_buf_size-5,i,r,s,h=0,l=t.strm.avail_in;do{if(i=65535,s=t.bi_valid+42>>3,t.strm.avail_out<s||(s=t.strm.avail_out-s,r=t.strstart-t.block_start,i>r+t.strm.avail_in&&(i=r+t.strm.avail_in),i>s&&(i=s),i<e&&(i===0&&n!==ni||n===br||i!==r+t.strm.avail_in)))break;h=n===ni&&i===r+t.strm.avail_in?1:0,rc(t,0,0,h),t.pending_buf[t.pending-4]=i,t.pending_buf[t.pending-3]=i>>8,t.pending_buf[t.pending-2]=~i,t.pending_buf[t.pending-1]=~i>>8,Gn(t.strm),r&&(r>i&&(r=i),t.strm.output.set(t.window.subarray(t.block_start,t.block_start+r),t.strm.next_out),t.strm.next_out+=r,t.strm.avail_out-=r,t.strm.total_out+=r,t.block_start+=r,i-=r),i&&(hc(t.strm,t.strm.output,t.strm.next_out,i),t.strm.next_out+=i,t.strm.avail_out-=i,t.strm.total_out+=i)}while(h===0);return l-=t.strm.avail_in,l&&(l>=t.w_size?(t.matches=2,t.window.set(t.strm.input.subarray(t.strm.next_in-t.w_size,t.strm.next_in),0),t.strstart=t.w_size,t.insert=t.strstart):(t.window_size-t.strstart<=l&&(t.strstart-=t.w_size,t.window.set(t.window.subarray(t.w_size,t.w_size+t.strstart),0),t.matches<2&&t.matches++,t.insert>t.strstart&&(t.insert=t.strstart)),t.window.set(t.strm.input.subarray(t.strm.next_in-l,t.strm.next_in),t.strstart),t.strstart+=l,t.insert+=l>t.w_size-t.insert?t.w_size-t.insert:l),t.block_start=t.strstart),t.high_water<t.strstart&&(t.high_water=t.strstart),h?Ua:n!==br&&n!==ni&&t.strm.avail_in===0&&t.strstart===t.block_start?qa:(s=t.window_size-t.strstart,t.strm.avail_in>s&&t.block_start>=t.w_size&&(t.block_start-=t.w_size,t.strstart-=t.w_size,t.window.set(t.window.subarray(t.w_size,t.w_size+t.strstart),0),t.matches<2&&t.matches++,s+=t.w_size,t.insert>t.strstart&&(t.insert=t.strstart)),s>t.strm.avail_in&&(s=t.strm.avail_in),s&&(hc(t.strm,t.window,t.strstart,s),t.strstart+=s,t.insert+=s>t.w_size-t.insert?t.w_size-t.insert:s),t.high_water<t.strstart&&(t.high_water=t.strstart),s=t.bi_valid+42>>3,s=t.pending_buf_size-s>65535?65535:t.pending_buf_size-s,e=s>t.w_size?t.w_size:s,r=t.strstart-t.block_start,(r>=e||(r||n===ni)&&n!==br&&t.strm.avail_in===0&&r<=s)&&(i=r>s?s:r,h=n===ni&&t.strm.avail_in===0&&i===r?1:0,rc(t,t.block_start,i,h),t.block_start+=i,Gn(t.strm)),h?Gr:Cn)},Cl=(t,n)=>{let e,i;for(;;){if(t.lookahead<Ei){if(Ba(t),t.lookahead<Ei&&n===br)return Cn;if(t.lookahead===0)break}if(e=0,t.lookahead>=pe&&(t.ins_h=vr(t,t.ins_h,t.window[t.strstart+pe-1]),e=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),e!==0&&t.strstart-e<=t.w_size-Ei&&(t.match_length=cf(t,e)),t.match_length>=pe)if(i=mr(t,t.strstart-t.match_start,t.match_length-pe),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=pe){t.match_length--;do t.strstart++,t.ins_h=vr(t,t.ins_h,t.window[t.strstart+pe-1]),e=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart;while(--t.match_length!==0);t.strstart++}else t.strstart+=t.match_length,t.match_length=0,t.ins_h=t.window[t.strstart],t.ins_h=vr(t,t.ins_h,t.window[t.strstart+1]);else i=mr(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(i&&(Yn(t,!1),t.strm.avail_out===0))return Cn}return t.insert=t.strstart<pe-1?t.strstart:pe-1,n===ni?(Yn(t,!0),t.strm.avail_out===0?Gr:Ua):t.sym_next&&(Yn(t,!1),t.strm.avail_out===0)?Cn:qa},Aa=(t,n)=>{let e,i,r;for(;;){if(t.lookahead<Ei){if(Ba(t),t.lookahead<Ei&&n===br)return Cn;if(t.lookahead===0)break}if(e=0,t.lookahead>=pe&&(t.ins_h=vr(t,t.ins_h,t.window[t.strstart+pe-1]),e=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),t.prev_length=t.match_length,t.prev_match=t.match_start,t.match_length=pe-1,e!==0&&t.prev_length<t.max_lazy_match&&t.strstart-e<=t.w_size-Ei&&(t.match_length=cf(t,e),t.match_length<=5&&(t.strategy===td||t.match_length===pe&&t.strstart-t.match_start>4096)&&(t.match_length=pe-1)),t.prev_length>=pe&&t.match_length<=t.prev_length){r=t.strstart+t.lookahead-pe,i=mr(t,t.strstart-1-t.prev_match,t.prev_length-pe),t.lookahead-=t.prev_length-1,t.prev_length-=2;do++t.strstart<=r&&(t.ins_h=vr(t,t.ins_h,t.window[t.strstart+pe-1]),e=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart);while(--t.prev_length!==0);if(t.match_available=0,t.match_length=pe-1,t.strstart++,i&&(Yn(t,!1),t.strm.avail_out===0))return Cn}else if(t.match_available){if(i=mr(t,0,t.window[t.strstart-1]),i&&Yn(t,!1),t.strstart++,t.lookahead--,t.strm.avail_out===0)return Cn}else t.match_available=1,t.strstart++,t.lookahead--}return t.match_available&&(i=mr(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<pe-1?t.strstart:pe-1,n===ni?(Yn(t,!0),t.strm.avail_out===0?Gr:Ua):t.sym_next&&(Yn(t,!1),t.strm.avail_out===0)?Cn:qa},vd=(t,n)=>{let e,i,r,s;const h=t.window;for(;;){if(t.lookahead<=pr){if(Ba(t),t.lookahead<=pr&&n===br)return Cn;if(t.lookahead===0)break}if(t.match_length=0,t.lookahead>=pe&&t.strstart>0&&(r=t.strstart-1,i=h[r],i===h[++r]&&i===h[++r]&&i===h[++r])){s=t.strstart+pr;do;while(i===h[++r]&&i===h[++r]&&i===h[++r]&&i===h[++r]&&i===h[++r]&&i===h[++r]&&i===h[++r]&&i===h[++r]&&r<s);t.match_length=pr-(s-r),t.match_length>t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=pe?(e=mr(t,1,t.match_length-pe),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(e=mr(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),e&&(Yn(t,!1),t.strm.avail_out===0))return Cn}return t.insert=0,n===ni?(Yn(t,!0),t.strm.avail_out===0?Gr:Ua):t.sym_next&&(Yn(t,!1),t.strm.avail_out===0)?Cn:qa},wd=(t,n)=>{let e;for(;;){if(t.lookahead===0&&(Ba(t),t.lookahead===0)){if(n===br)return Cn;break}if(t.match_length=0,e=mr(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,e&&(Yn(t,!1),t.strm.avail_out===0))return Cn}return t.insert=0,n===ni?(Yn(t,!0),t.strm.avail_out===0?Gr:Ua):t.sym_next&&(Yn(t,!1),t.strm.avail_out===0)?Cn:qa};function Li(t,n,e,i,r){this.good_length=t,this.max_lazy=n,this.nice_length=e,this.max_chain=i,this.func=r}const ms=[new Li(0,0,0,0,hf),new Li(4,4,8,4,Cl),new Li(4,5,16,8,Cl),new Li(4,6,32,32,Cl),new Li(4,4,16,16,Aa),new Li(8,16,32,32,Aa),new Li(8,16,128,128,Aa),new Li(8,32,128,256,Aa),new Li(32,128,258,1024,Aa),new Li(32,258,258,4096,Aa)],yd=t=>{t.window_size=2*t.w_size,dr(t.head),t.max_lazy_match=ms[t.level].max_lazy,t.good_match=ms[t.level].good_length,t.nice_match=ms[t.level].nice_length,t.max_chain_length=ms[t.level].max_chain,t.strstart=0,t.block_start=0,t.lookahead=0,t.insert=0,t.match_length=t.prev_length=pe-1,t.match_available=0,t.ins_h=0};function _d(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=Ro,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(fd*2),this.dyn_dtree=new Uint16Array((2*hd+1)*2),this.bl_tree=new Uint16Array((2*ud+1)*2),dr(this.dyn_ltree),dr(this.dyn_dtree),dr(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(dd+1),this.heap=new Uint16Array(2*ac+1),dr(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(2*ac+1),dr(this.depth),this.sym_buf=0,this.lit_bufsize=0,this.sym_next=0,this.sym_end=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}const Is=t=>{if(!t)return 1;const n=t.state;return!n||n.strm!==t||n.status!==Ma&&n.status!==Nc&&n.status!==sc&&n.status!==oc&&n.status!==lc&&n.status!==cc&&n.status!==zr&&n.status!==gs?1:0},uf=t=>{if(Is(t))return Hr(t,Pi);t.total_in=t.total_out=0,t.data_type=rd;const n=t.state;return n.pending=0,n.pending_out=0,n.wrap<0&&(n.wrap=-n.wrap),n.status=n.wrap===2?Nc:n.wrap?Ma:zr,t.adler=n.wrap===2?0:1,n.last_flush=-2,Z2(n),bn},ff=t=>{const n=uf(t);return n===bn&&yd(t.state),n},xd=(t,n)=>Is(t)||t.state.wrap!==2?Pi:(t.state.gzhead=n,bn),df=(t,n,e,i,r,s)=>{if(!t)return Pi;let h=1;if(n===Q2&&(n=6),i<0?(h=0,i=-i):i>15&&(h=2,i-=16),r<1||r>ad||e!==Ro||i<8||i>15||n<0||n>9||s<0||s>nd||i===8&&h!==1)return Hr(t,Pi);i===8&&(i=9);const l=new _d;return t.state=l,l.strm=t,l.status=Ma,l.wrap=h,l.gzhead=null,l.w_bits=i,l.w_size=1<<l.w_bits,l.w_mask=l.w_size-1,l.hash_bits=r+7,l.hash_size=1<<l.hash_bits,l.hash_mask=l.hash_size-1,l.hash_shift=~~((l.hash_bits+pe-1)/pe),l.window=new Uint8Array(l.w_size*2),l.head=new Uint16Array(l.hash_size),l.prev=new Uint16Array(l.w_size),l.lit_bufsize=1<<r+6,l.pending_buf_size=l.lit_bufsize*4,l.pending_buf=new Uint8Array(l.pending_buf_size),l.sym_buf=l.lit_bufsize,l.sym_end=(l.lit_bufsize-1)*3,l.level=n,l.strategy=s,l.method=e,ff(t)},Nd=(t,n)=>df(t,n,Ro,sd,od,id),Ad=(t,n)=>{if(Is(t)||n>Ih||n<0)return t?Hr(t,Pi):Pi;const e=t.state;if(!t.output||t.avail_in!==0&&!t.input||e.status===gs&&n!==ni)return Hr(t,t.avail_out===0?Il:Pi);const i=e.last_flush;if(e.last_flush=n,e.pending!==0){if(Gn(t),t.avail_out===0)return e.last_flush=-1,bn}else if(t.avail_in===0&&Fh(n)<=Fh(i)&&n!==ni)return Hr(t,Il);if(e.status===gs&&t.avail_in!==0)return Hr(t,Il);if(e.status===Ma&&e.wrap===0&&(e.status=zr),e.status===Ma){let r=Ro+(e.w_bits-8<<4)<<8,s=-1;if(e.strategy>=po||e.level<2?s=0:e.level<6?s=1:e.level===6?s=2:s=3,r|=s<<6,e.strstart!==0&&(r|=pd),r+=31-r%31,ps(e,r),e.strstart!==0&&(ps(e,t.adler>>>16),ps(e,t.adler&65535)),t.adler=1,e.status=zr,Gn(t),e.pending!==0)return e.last_flush=-1,bn}if(e.status===Nc){if(t.adler=0,we(e,31),we(e,139),we(e,8),e.gzhead)we(e,(e.gzhead.text?1:0)+(e.gzhead.hcrc?2:0)+(e.gzhead.extra?4:0)+(e.gzhead.name?8:0)+(e.gzhead.comment?16:0)),we(e,e.gzhead.time&255),we(e,e.gzhead.time>>8&255),we(e,e.gzhead.time>>16&255),we(e,e.gzhead.time>>24&255),we(e,e.level===9?2:e.strategy>=po||e.level<2?4:0),we(e,e.gzhead.os&255),e.gzhead.extra&&e.gzhead.extra.length&&(we(e,e.gzhead.extra.length&255),we(e,e.gzhead.extra.length>>8&255)),e.gzhead.hcrc&&(t.adler=hn(t.adler,e.pending_buf,e.pending,0)),e.gzindex=0,e.status=sc;else if(we(e,0),we(e,0),we(e,0),we(e,0),we(e,0),we(e,e.level===9?2:e.strategy>=po||e.level<2?4:0),we(e,gd),e.status=zr,Gn(t),e.pending!==0)return e.last_flush=-1,bn}if(e.status===sc){if(e.gzhead.extra){let r=e.pending,s=(e.gzhead.extra.length&65535)-e.gzindex;for(;e.pending+s>e.pending_buf_size;){let l=e.pending_buf_size-e.pending;if(e.pending_buf.set(e.gzhead.extra.subarray(e.gzindex,e.gzindex+l),e.pending),e.pending=e.pending_buf_size,e.gzhead.hcrc&&e.pending>r&&(t.adler=hn(t.adler,e.pending_buf,e.pending-r,r)),e.gzindex+=l,Gn(t),e.pending!==0)return e.last_flush=-1,bn;r=0,s-=l}let h=new Uint8Array(e.gzhead.extra);e.pending_buf.set(h.subarray(e.gzindex,e.gzindex+s),e.pending),e.pending+=s,e.gzhead.hcrc&&e.pending>r&&(t.adler=hn(t.adler,e.pending_buf,e.pending-r,r)),e.gzindex=0}e.status=oc}if(e.status===oc){if(e.gzhead.name){let r=e.pending,s;do{if(e.pending===e.pending_buf_size){if(e.gzhead.hcrc&&e.pending>r&&(t.adler=hn(t.adler,e.pending_buf,e.pending-r,r)),Gn(t),e.pending!==0)return e.last_flush=-1,bn;r=0}e.gzindex<e.gzhead.name.length?s=e.gzhead.name.charCodeAt(e.gzindex++)&255:s=0,we(e,s)}while(s!==0);e.gzhead.hcrc&&e.pending>r&&(t.adler=hn(t.adler,e.pending_buf,e.pending-r,r)),e.gzindex=0}e.status=lc}if(e.status===lc){if(e.gzhead.comment){let r=e.pending,s;do{if(e.pending===e.pending_buf_size){if(e.gzhead.hcrc&&e.pending>r&&(t.adler=hn(t.adler,e.pending_buf,e.pending-r,r)),Gn(t),e.pending!==0)return e.last_flush=-1,bn;r=0}e.gzindex<e.gzhead.comment.length?s=e.gzhead.comment.charCodeAt(e.gzindex++)&255:s=0,we(e,s)}while(s!==0);e.gzhead.hcrc&&e.pending>r&&(t.adler=hn(t.adler,e.pending_buf,e.pending-r,r))}e.status=cc}if(e.status===cc){if(e.gzhead.hcrc){if(e.pending+2>e.pending_buf_size&&(Gn(t),e.pending!==0))return e.last_flush=-1,bn;we(e,t.adler&255),we(e,t.adler>>8&255),t.adler=0}if(e.status=zr,Gn(t),e.pending!==0)return e.last_flush=-1,bn}if(t.avail_in!==0||e.lookahead!==0||n!==br&&e.status!==gs){let r=e.level===0?hf(e,n):e.strategy===po?wd(e,n):e.strategy===ed?vd(e,n):ms[e.level].func(e,n);if((r===Gr||r===Ua)&&(e.status=gs),r===Cn||r===Gr)return t.avail_out===0&&(e.last_flush=-1),bn;if(r===qa&&(n===K2?$2(e):n!==Ih&&(rc(e,0,0,!1),n===X2&&(dr(e.head),e.lookahead===0&&(e.strstart=0,e.block_start=0,e.insert=0))),Gn(t),t.avail_out===0))return e.last_flush=-1,bn}return n!==ni?bn:e.wrap<=0?Ch:(e.wrap===2?(we(e,t.adler&255),we(e,t.adler>>8&255),we(e,t.adler>>16&255),we(e,t.adler>>24&255),we(e,t.total_in&255),we(e,t.total_in>>8&255),we(e,t.total_in>>16&255),we(e,t.total_in>>24&255)):(ps(e,t.adler>>>16),ps(e,t.adler&65535)),Gn(t),e.wrap>0&&(e.wrap=-e.wrap),e.pending!==0?bn:Ch)},Ld=t=>{if(Is(t))return Pi;const n=t.state.status;return t.state=null,n===zr?Hr(t,J2):bn},Sd=(t,n)=>{let e=n.length;if(Is(t))return Pi;const i=t.state,r=i.wrap;if(r===2||r===1&&i.status!==Ma||i.lookahead)return Pi;if(r===1&&(t.adler=Ls(t.adler,n,e,0)),i.wrap=0,e>=i.w_size){r===0&&(dr(i.head),i.strstart=0,i.block_start=0,i.insert=0);let u=new Uint8Array(i.w_size);u.set(n.subarray(e-i.w_size,e),0),n=u,e=i.w_size}const s=t.avail_in,h=t.next_in,l=t.input;for(t.avail_in=e,t.next_in=0,t.input=n,Ba(i);i.lookahead>=pe;){let u=i.strstart,d=i.lookahead-(pe-1);do i.ins_h=vr(i,i.ins_h,i.window[u+pe-1]),i.prev[u&i.w_mask]=i.head[i.ins_h],i.head[i.ins_h]=u,u++;while(--d);i.strstart=u,i.lookahead=pe-1,Ba(i)}return i.strstart+=i.lookahead,i.block_start=i.strstart,i.insert=i.lookahead,i.lookahead=0,i.match_length=i.prev_length=pe-1,i.match_available=0,t.next_in=h,t.input=l,t.avail_in=s,i.wrap=r,bn};var kd=Nd,jd=df,Pd=ff,Ed=uf,Id=xd,Cd=Ad,Fd=Ld,Od=Sd,Td="pako deflate (from Nodeca project)",ws={deflateInit:kd,deflateInit2:jd,deflateReset:Pd,deflateResetKeep:Ed,deflateSetHeader:Id,deflate:Cd,deflateEnd:Fd,deflateSetDictionary:Od,deflateInfo:Td};const Rd=(t,n)=>Object.prototype.hasOwnProperty.call(t,n);var Md=function(t){const n=Array.prototype.slice.call(arguments,1);for(;n.length;){const e=n.shift();if(e){if(typeof e!="object")throw new TypeError(e+"must be non-object");for(const i in e)Rd(e,i)&&(t[i]=e[i])}}return t},Bd=t=>{let n=0;for(let i=0,r=t.length;i<r;i++)n+=t[i].length;const e=new Uint8Array(n);for(let i=0,r=0,s=t.length;i<s;i++){let h=t[i];e.set(h,r),r+=h.length}return e},Mo={assign:Md,flattenChunks:Bd};let pf=!0;try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{pf=!1}const Ss=new Uint8Array(256);for(let t=0;t<256;t++)Ss[t]=t>=252?6:t>=248?5:t>=240?4:t>=224?3:t>=192?2:1;Ss[254]=Ss[254]=1;var Dd=t=>{if(typeof TextEncoder=="function"&&TextEncoder.prototype.encode)return new TextEncoder().encode(t);let n,e,i,r,s,h=t.length,l=0;for(r=0;r<h;r++)e=t.charCodeAt(r),(e&64512)===55296&&r+1<h&&(i=t.charCodeAt(r+1),(i&64512)===56320&&(e=65536+(e-55296<<10)+(i-56320),r++)),l+=e<128?1:e<2048?2:e<65536?3:4;for(n=new Uint8Array(l),s=0,r=0;s<l;r++)e=t.charCodeAt(r),(e&64512)===55296&&r+1<h&&(i=t.charCodeAt(r+1),(i&64512)===56320&&(e=65536+(e-55296<<10)+(i-56320),r++)),e<128?n[s++]=e:e<2048?(n[s++]=192|e>>>6,n[s++]=128|e&63):e<65536?(n[s++]=224|e>>>12,n[s++]=128|e>>>6&63,n[s++]=128|e&63):(n[s++]=240|e>>>18,n[s++]=128|e>>>12&63,n[s++]=128|e>>>6&63,n[s++]=128|e&63);return n};const qd=(t,n)=>{if(n<65534&&t.subarray&&pf)return String.fromCharCode.apply(null,t.length===n?t:t.subarray(0,n));let e="";for(let i=0;i<n;i++)e+=String.fromCharCode(t[i]);return e};var Ud=(t,n)=>{const e=n||t.length;if(typeof TextDecoder=="function"&&TextDecoder.prototype.decode)return new TextDecoder().decode(t.subarray(0,n));let i,r;const s=new Array(e*2);for(r=0,i=0;i<e;){let h=t[i++];if(h<128){s[r++]=h;continue}let l=Ss[h];if(l>4){s[r++]=65533,i+=l-1;continue}for(h&=l===2?31:l===3?15:7;l>1&&i<e;)h=h<<6|t[i++]&63,l--;if(l>1){s[r++]=65533;continue}h<65536?s[r++]=h:(h-=65536,s[r++]=55296|h>>10&1023,s[r++]=56320|h&1023)}return qd(s,r)},zd=(t,n)=>{n=n||t.length,n>t.length&&(n=t.length);let e=n-1;for(;e>=0&&(t[e]&192)===128;)e--;return e<0||e===0?n:e+Ss[t[e]]>n?e:n},ks={string2buf:Dd,buf2string:Ud,utf8border:zd};function Hd(){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 gf=Hd;const mf=Object.prototype.toString,{Z_NO_FLUSH:Wd,Z_SYNC_FLUSH:Vd,Z_FULL_FLUSH:Gd,Z_FINISH:Zd,Z_OK:Co,Z_STREAM_END:Yd,Z_DEFAULT_COMPRESSION:$d,Z_DEFAULT_STRATEGY:Kd,Z_DEFLATED:Xd}=Es;function Ac(t){this.options=Mo.assign({level:$d,method:Xd,chunkSize:16384,windowBits:15,memLevel:8,strategy:Kd},t||{});let n=this.options;n.raw&&n.windowBits>0?n.windowBits=-n.windowBits:n.gzip&&n.windowBits>0&&n.windowBits<16&&(n.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new gf,this.strm.avail_out=0;let e=ws.deflateInit2(this.strm,n.level,n.method,n.windowBits,n.memLevel,n.strategy);if(e!==Co)throw new Error(Ra[e]);if(n.header&&ws.deflateSetHeader(this.strm,n.header),n.dictionary){let i;if(typeof n.dictionary=="string"?i=ks.string2buf(n.dictionary):mf.call(n.dictionary)==="[object ArrayBuffer]"?i=new Uint8Array(n.dictionary):i=n.dictionary,e=ws.deflateSetDictionary(this.strm,i),e!==Co)throw new Error(Ra[e]);this._dict_set=!0}}Ac.prototype.push=function(t,n){const e=this.strm,i=this.options.chunkSize;let r,s;if(this.ended)return!1;for(n===~~n?s=n:s=n===!0?Zd:Wd,typeof t=="string"?e.input=ks.string2buf(t):mf.call(t)==="[object ArrayBuffer]"?e.input=new Uint8Array(t):e.input=t,e.next_in=0,e.avail_in=e.input.length;;){if(e.avail_out===0&&(e.output=new Uint8Array(i),e.next_out=0,e.avail_out=i),(s===Vd||s===Gd)&&e.avail_out<=6){this.onData(e.output.subarray(0,e.next_out)),e.avail_out=0;continue}if(r=ws.deflate(e,s),r===Yd)return e.next_out>0&&this.onData(e.output.subarray(0,e.next_out)),r=ws.deflateEnd(this.strm),this.onEnd(r),this.ended=!0,r===Co;if(e.avail_out===0){this.onData(e.output);continue}if(s>0&&e.next_out>0){this.onData(e.output.subarray(0,e.next_out)),e.avail_out=0;continue}if(e.avail_in===0)break}return!0};Ac.prototype.onData=function(t){this.chunks.push(t)};Ac.prototype.onEnd=function(t){t===Co&&(this.result=Mo.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg};const go=16209,Jd=16191;var Qd=function(n,e){let i,r,s,h,l,u,d,g,x,L,p,T,P,R,k,D,Z,z,at,pt,lt,X,B,et;const S=n.state;i=n.next_in,B=n.input,r=i+(n.avail_in-5),s=n.next_out,et=n.output,h=s-(e-n.avail_out),l=s+(n.avail_out-257),u=S.dmax,d=S.wsize,g=S.whave,x=S.wnext,L=S.window,p=S.hold,T=S.bits,P=S.lencode,R=S.distcode,k=(1<<S.lenbits)-1,D=(1<<S.distbits)-1;t:do{T<15&&(p+=B[i++]<<T,T+=8,p+=B[i++]<<T,T+=8),Z=P[p&k];e:for(;;){if(z=Z>>>24,p>>>=z,T-=z,z=Z>>>16&255,z===0)et[s++]=Z&65535;else if(z&16){at=Z&65535,z&=15,z&&(T<z&&(p+=B[i++]<<T,T+=8),at+=p&(1<<z)-1,p>>>=z,T-=z),T<15&&(p+=B[i++]<<T,T+=8,p+=B[i++]<<T,T+=8),Z=R[p&D];n:for(;;){if(z=Z>>>24,p>>>=z,T-=z,z=Z>>>16&255,z&16){if(pt=Z&65535,z&=15,T<z&&(p+=B[i++]<<T,T+=8,T<z&&(p+=B[i++]<<T,T+=8)),pt+=p&(1<<z)-1,pt>u){n.msg="invalid distance too far back",S.mode=go;break t}if(p>>>=z,T-=z,z=s-h,pt>z){if(z=pt-z,z>g&&S.sane){n.msg="invalid distance too far back",S.mode=go;break t}if(lt=0,X=L,x===0){if(lt+=d-z,z<at){at-=z;do et[s++]=L[lt++];while(--z);lt=s-pt,X=et}}else if(x<z){if(lt+=d+x-z,z-=x,z<at){at-=z;do et[s++]=L[lt++];while(--z);if(lt=0,x<at){z=x,at-=z;do et[s++]=L[lt++];while(--z);lt=s-pt,X=et}}}else if(lt+=x-z,z<at){at-=z;do et[s++]=L[lt++];while(--z);lt=s-pt,X=et}for(;at>2;)et[s++]=X[lt++],et[s++]=X[lt++],et[s++]=X[lt++],at-=3;at&&(et[s++]=X[lt++],at>1&&(et[s++]=X[lt++]))}else{lt=s-pt;do et[s++]=et[lt++],et[s++]=et[lt++],et[s++]=et[lt++],at-=3;while(at>2);at&&(et[s++]=et[lt++],at>1&&(et[s++]=et[lt++]))}}else if(z&64){n.msg="invalid distance code",S.mode=go;break t}else{Z=R[(Z&65535)+(p&(1<<z)-1)];continue n}break}}else if(z&64)if(z&32){S.mode=Jd;break t}else{n.msg="invalid literal/length code",S.mode=go;break t}else{Z=P[(Z&65535)+(p&(1<<z)-1)];continue e}break}}while(i<r&&s<l);at=T>>3,i-=at,T-=at<<3,p&=(1<<T)-1,n.next_in=i,n.next_out=s,n.avail_in=i<r?5+(r-i):5-(i-r),n.avail_out=s<l?257+(l-s):257-(s-l),S.hold=p,S.bits=T};const La=15,Oh=852,Th=592,Rh=0,Fl=1,Mh=2,t0=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]),e0=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]),n0=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]),i0=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]),r0=(t,n,e,i,r,s,h,l)=>{const u=l.bits;let d=0,g=0,x=0,L=0,p=0,T=0,P=0,R=0,k=0,D=0,Z,z,at,pt,lt,X=null,B;const et=new Uint16Array(La+1),S=new Uint16Array(La+1);let O=null,W,H,rt;for(d=0;d<=La;d++)et[d]=0;for(g=0;g<i;g++)et[n[e+g]]++;for(p=u,L=La;L>=1&&et[L]===0;L--);if(p>L&&(p=L),L===0)return r[s++]=1<<24|64<<16|0,r[s++]=1<<24|64<<16|0,l.bits=1,0;for(x=1;x<L&&et[x]===0;x++);for(p<x&&(p=x),R=1,d=1;d<=La;d++)if(R<<=1,R-=et[d],R<0)return-1;if(R>0&&(t===Rh||L!==1))return-1;for(S[1]=0,d=1;d<La;d++)S[d+1]=S[d]+et[d];for(g=0;g<i;g++)n[e+g]!==0&&(h[S[n[e+g]]++]=g);if(t===Rh?(X=O=h,B=20):t===Fl?(X=t0,O=e0,B=257):(X=n0,O=i0,B=0),D=0,g=0,d=x,lt=s,T=p,P=0,at=-1,k=1<<p,pt=k-1,t===Fl&&k>Oh||t===Mh&&k>Th)return 1;for(;;){W=d-P,h[g]+1<B?(H=0,rt=h[g]):h[g]>=B?(H=O[h[g]-B],rt=X[h[g]-B]):(H=96,rt=0),Z=1<<d-P,z=1<<T,x=z;do z-=Z,r[lt+(D>>P)+z]=W<<24|H<<16|rt|0;while(z!==0);for(Z=1<<d-1;D&Z;)Z>>=1;if(Z!==0?(D&=Z-1,D+=Z):D=0,g++,--et[d]===0){if(d===L)break;d=n[e+h[g]]}if(d>p&&(D&pt)!==at){for(P===0&&(P=p),lt+=x,T=d-P,R=1<<T;T+P<L&&(R-=et[T+P],!(R<=0));)T++,R<<=1;if(k+=1<<T,t===Fl&&k>Oh||t===Mh&&k>Th)return 1;at=D&pt,r[at]=p<<24|T<<16|lt-s|0}}return D!==0&&(r[lt+D]=d-P<<24|64<<16|0),l.bits=p,0};var ys=r0;const a0=0,bf=1,vf=2,{Z_FINISH:Bh,Z_BLOCK:s0,Z_TREES:mo,Z_OK:Zr,Z_STREAM_END:o0,Z_NEED_DICT:l0,Z_STREAM_ERROR:ii,Z_DATA_ERROR:wf,Z_MEM_ERROR:yf,Z_BUF_ERROR:c0,Z_DEFLATED:Dh}=Es,Bo=16180,qh=16181,Uh=16182,zh=16183,Hh=16184,Wh=16185,Vh=16186,Gh=16187,Zh=16188,Yh=16189,Fo=16190,Zi=16191,Ol=16192,$h=16193,Tl=16194,Kh=16195,Xh=16196,Jh=16197,Qh=16198,bo=16199,vo=16200,tu=16201,eu=16202,nu=16203,iu=16204,ru=16205,Rl=16206,au=16207,su=16208,De=16209,_f=16210,xf=16211,h0=852,u0=592,f0=15,d0=f0,ou=t=>(t>>>24&255)+(t>>>8&65280)+((t&65280)<<8)+((t&255)<<24);function p0(){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 $r=t=>{if(!t)return 1;const n=t.state;return!n||n.strm!==t||n.mode<Bo||n.mode>xf?1:0},Nf=t=>{if($r(t))return ii;const n=t.state;return t.total_in=t.total_out=n.total=0,t.msg="",n.wrap&&(t.adler=n.wrap&1),n.mode=Bo,n.last=0,n.havedict=0,n.flags=-1,n.dmax=32768,n.head=null,n.hold=0,n.bits=0,n.lencode=n.lendyn=new Int32Array(h0),n.distcode=n.distdyn=new Int32Array(u0),n.sane=1,n.back=-1,Zr},Af=t=>{if($r(t))return ii;const n=t.state;return n.wsize=0,n.whave=0,n.wnext=0,Nf(t)},Lf=(t,n)=>{let e;if($r(t))return ii;const i=t.state;return n<0?(e=0,n=-n):(e=(n>>4)+5,n<48&&(n&=15)),n&&(n<8||n>15)?ii:(i.window!==null&&i.wbits!==n&&(i.window=null),i.wrap=e,i.wbits=n,Af(t))},Sf=(t,n)=>{if(!t)return ii;const e=new p0;t.state=e,e.strm=t,e.window=null,e.mode=Bo;const i=Lf(t,n);return i!==Zr&&(t.state=null),i},g0=t=>Sf(t,d0);let lu=!0,Ml,Bl;const m0=t=>{if(lu){Ml=new Int32Array(512),Bl=new Int32Array(32);let n=0;for(;n<144;)t.lens[n++]=8;for(;n<256;)t.lens[n++]=9;for(;n<280;)t.lens[n++]=7;for(;n<288;)t.lens[n++]=8;for(ys(bf,t.lens,0,288,Ml,0,t.work,{bits:9}),n=0;n<32;)t.lens[n++]=5;ys(vf,t.lens,0,32,Bl,0,t.work,{bits:5}),lu=!1}t.lencode=Ml,t.lenbits=9,t.distcode=Bl,t.distbits=5},kf=(t,n,e,i)=>{let r;const s=t.state;return s.window===null&&(s.wsize=1<<s.wbits,s.wnext=0,s.whave=0,s.window=new Uint8Array(s.wsize)),i>=s.wsize?(s.window.set(n.subarray(e-s.wsize,e),0),s.wnext=0,s.whave=s.wsize):(r=s.wsize-s.wnext,r>i&&(r=i),s.window.set(n.subarray(e-i,e-i+r),s.wnext),i-=r,i?(s.window.set(n.subarray(e-i,e),0),s.wnext=i,s.whave=s.wsize):(s.wnext+=r,s.wnext===s.wsize&&(s.wnext=0),s.whave<s.wsize&&(s.whave+=r))),0},b0=(t,n)=>{let e,i,r,s,h,l,u,d,g,x,L,p,T,P,R=0,k,D,Z,z,at,pt,lt,X;const B=new Uint8Array(4);let et,S;const O=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if($r(t)||!t.output||!t.input&&t.avail_in!==0)return ii;e=t.state,e.mode===Zi&&(e.mode=Ol),h=t.next_out,r=t.output,u=t.avail_out,s=t.next_in,i=t.input,l=t.avail_in,d=e.hold,g=e.bits,x=l,L=u,X=Zr;t:for(;;)switch(e.mode){case Bo:if(e.wrap===0){e.mode=Ol;break}for(;g<16;){if(l===0)break t;l--,d+=i[s++]<<g,g+=8}if(e.wrap&2&&d===35615){e.wbits===0&&(e.wbits=15),e.check=0,B[0]=d&255,B[1]=d>>>8&255,e.check=hn(e.check,B,2,0),d=0,g=0,e.mode=qh;break}if(e.head&&(e.head.done=!1),!(e.wrap&1)||(((d&255)<<8)+(d>>8))%31){t.msg="incorrect header check",e.mode=De;break}if((d&15)!==Dh){t.msg="unknown compression method",e.mode=De;break}if(d>>>=4,g-=4,lt=(d&15)+8,e.wbits===0&&(e.wbits=lt),lt>15||lt>e.wbits){t.msg="invalid window size",e.mode=De;break}e.dmax=1<<e.wbits,e.flags=0,t.adler=e.check=1,e.mode=d&512?Yh:Zi,d=0,g=0;break;case qh:for(;g<16;){if(l===0)break t;l--,d+=i[s++]<<g,g+=8}if(e.flags=d,(e.flags&255)!==Dh){t.msg="unknown compression method",e.mode=De;break}if(e.flags&57344){t.msg="unknown header flags set",e.mode=De;break}e.head&&(e.head.text=d>>8&1),e.flags&512&&e.wrap&4&&(B[0]=d&255,B[1]=d>>>8&255,e.check=hn(e.check,B,2,0)),d=0,g=0,e.mode=Uh;case Uh:for(;g<32;){if(l===0)break t;l--,d+=i[s++]<<g,g+=8}e.head&&(e.head.time=d),e.flags&512&&e.wrap&4&&(B[0]=d&255,B[1]=d>>>8&255,B[2]=d>>>16&255,B[3]=d>>>24&255,e.check=hn(e.check,B,4,0)),d=0,g=0,e.mode=zh;case zh:for(;g<16;){if(l===0)break t;l--,d+=i[s++]<<g,g+=8}e.head&&(e.head.xflags=d&255,e.head.os=d>>8),e.flags&512&&e.wrap&4&&(B[0]=d&255,B[1]=d>>>8&255,e.check=hn(e.check,B,2,0)),d=0,g=0,e.mode=Hh;case Hh:if(e.flags&1024){for(;g<16;){if(l===0)break t;l--,d+=i[s++]<<g,g+=8}e.length=d,e.head&&(e.head.extra_len=d),e.flags&512&&e.wrap&4&&(B[0]=d&255,B[1]=d>>>8&255,e.check=hn(e.check,B,2,0)),d=0,g=0}else e.head&&(e.head.extra=null);e.mode=Wh;case Wh:if(e.flags&1024&&(p=e.length,p>l&&(p=l),p&&(e.head&&(lt=e.head.extra_len-e.length,e.head.extra||(e.head.extra=new Uint8Array(e.head.extra_len)),e.head.extra.set(i.subarray(s,s+p),lt)),e.flags&512&&e.wrap&4&&(e.check=hn(e.check,i,p,s)),l-=p,s+=p,e.length-=p),e.length))break t;e.length=0,e.mode=Vh;case Vh:if(e.flags&2048){if(l===0)break t;p=0;do lt=i[s+p++],e.head&&lt&&e.length<65536&&(e.head.name+=String.fromCharCode(lt));while(lt&&p<l);if(e.flags&512&&e.wrap&4&&(e.check=hn(e.check,i,p,s)),l-=p,s+=p,lt)break t}else e.head&&(e.head.name=null);e.length=0,e.mode=Gh;case Gh:if(e.flags&4096){if(l===0)break t;p=0;do lt=i[s+p++],e.head&&lt&&e.length<65536&&(e.head.comment+=String.fromCharCode(lt));while(lt&&p<l);if(e.flags&512&&e.wrap&4&&(e.check=hn(e.check,i,p,s)),l-=p,s+=p,lt)break t}else e.head&&(e.head.comment=null);e.mode=Zh;case Zh:if(e.flags&512){for(;g<16;){if(l===0)break t;l--,d+=i[s++]<<g,g+=8}if(e.wrap&4&&d!==(e.check&65535)){t.msg="header crc mismatch",e.mode=De;break}d=0,g=0}e.head&&(e.head.hcrc=e.flags>>9&1,e.head.done=!0),t.adler=e.check=0,e.mode=Zi;break;case Yh:for(;g<32;){if(l===0)break t;l--,d+=i[s++]<<g,g+=8}t.adler=e.check=ou(d),d=0,g=0,e.mode=Fo;case Fo:if(e.havedict===0)return t.next_out=h,t.avail_out=u,t.next_in=s,t.avail_in=l,e.hold=d,e.bits=g,l0;t.adler=e.check=1,e.mode=Zi;case Zi:if(n===s0||n===mo)break t;case Ol:if(e.last){d>>>=g&7,g-=g&7,e.mode=Rl;break}for(;g<3;){if(l===0)break t;l--,d+=i[s++]<<g,g+=8}switch(e.last=d&1,d>>>=1,g-=1,d&3){case 0:e.mode=$h;break;case 1:if(m0(e),e.mode=bo,n===mo){d>>>=2,g-=2;break t}break;case 2:e.mode=Xh;break;case 3:t.msg="invalid block type",e.mode=De}d>>>=2,g-=2;break;case $h:for(d>>>=g&7,g-=g&7;g<32;){if(l===0)break t;l--,d+=i[s++]<<g,g+=8}if((d&65535)!==(d>>>16^65535)){t.msg="invalid stored block lengths",e.mode=De;break}if(e.length=d&65535,d=0,g=0,e.mode=Tl,n===mo)break t;case Tl:e.mode=Kh;case Kh:if(p=e.length,p){if(p>l&&(p=l),p>u&&(p=u),p===0)break t;r.set(i.subarray(s,s+p),h),l-=p,s+=p,u-=p,h+=p,e.length-=p;break}e.mode=Zi;break;case Xh:for(;g<14;){if(l===0)break t;l--,d+=i[s++]<<g,g+=8}if(e.nlen=(d&31)+257,d>>>=5,g-=5,e.ndist=(d&31)+1,d>>>=5,g-=5,e.ncode=(d&15)+4,d>>>=4,g-=4,e.nlen>286||e.ndist>30){t.msg="too many length or distance symbols",e.mode=De;break}e.have=0,e.mode=Jh;case Jh:for(;e.have<e.ncode;){for(;g<3;){if(l===0)break t;l--,d+=i[s++]<<g,g+=8}e.lens[O[e.have++]]=d&7,d>>>=3,g-=3}for(;e.have<19;)e.lens[O[e.have++]]=0;if(e.lencode=e.lendyn,e.lenbits=7,et={bits:e.lenbits},X=ys(a0,e.lens,0,19,e.lencode,0,e.work,et),e.lenbits=et.bits,X){t.msg="invalid code lengths set",e.mode=De;break}e.have=0,e.mode=Qh;case Qh:for(;e.have<e.nlen+e.ndist;){for(;R=e.lencode[d&(1<<e.lenbits)-1],k=R>>>24,D=R>>>16&255,Z=R&65535,!(k<=g);){if(l===0)break t;l--,d+=i[s++]<<g,g+=8}if(Z<16)d>>>=k,g-=k,e.lens[e.have++]=Z;else{if(Z===16){for(S=k+2;g<S;){if(l===0)break t;l--,d+=i[s++]<<g,g+=8}if(d>>>=k,g-=k,e.have===0){t.msg="invalid bit length repeat",e.mode=De;break}lt=e.lens[e.have-1],p=3+(d&3),d>>>=2,g-=2}else if(Z===17){for(S=k+3;g<S;){if(l===0)break t;l--,d+=i[s++]<<g,g+=8}d>>>=k,g-=k,lt=0,p=3+(d&7),d>>>=3,g-=3}else{for(S=k+7;g<S;){if(l===0)break t;l--,d+=i[s++]<<g,g+=8}d>>>=k,g-=k,lt=0,p=11+(d&127),d>>>=7,g-=7}if(e.have+p>e.nlen+e.ndist){t.msg="invalid bit length repeat",e.mode=De;break}for(;p--;)e.lens[e.have++]=lt}}if(e.mode===De)break;if(e.lens[256]===0){t.msg="invalid code -- missing end-of-block",e.mode=De;break}if(e.lenbits=9,et={bits:e.lenbits},X=ys(bf,e.lens,0,e.nlen,e.lencode,0,e.work,et),e.lenbits=et.bits,X){t.msg="invalid literal/lengths set",e.mode=De;break}if(e.distbits=6,e.distcode=e.distdyn,et={bits:e.distbits},X=ys(vf,e.lens,e.nlen,e.ndist,e.distcode,0,e.work,et),e.distbits=et.bits,X){t.msg="invalid distances set",e.mode=De;break}if(e.mode=bo,n===mo)break t;case bo:e.mode=vo;case vo:if(l>=6&&u>=258){t.next_out=h,t.avail_out=u,t.next_in=s,t.avail_in=l,e.hold=d,e.bits=g,Qd(t,L),h=t.next_out,r=t.output,u=t.avail_out,s=t.next_in,i=t.input,l=t.avail_in,d=e.hold,g=e.bits,e.mode===Zi&&(e.back=-1);break}for(e.back=0;R=e.lencode[d&(1<<e.lenbits)-1],k=R>>>24,D=R>>>16&255,Z=R&65535,!(k<=g);){if(l===0)break t;l--,d+=i[s++]<<g,g+=8}if(D&&!(D&240)){for(z=k,at=D,pt=Z;R=e.lencode[pt+((d&(1<<z+at)-1)>>z)],k=R>>>24,D=R>>>16&255,Z=R&65535,!(z+k<=g);){if(l===0)break t;l--,d+=i[s++]<<g,g+=8}d>>>=z,g-=z,e.back+=z}if(d>>>=k,g-=k,e.back+=k,e.length=Z,D===0){e.mode=ru;break}if(D&32){e.back=-1,e.mode=Zi;break}if(D&64){t.msg="invalid literal/length code",e.mode=De;break}e.extra=D&15,e.mode=tu;case tu:if(e.extra){for(S=e.extra;g<S;){if(l===0)break t;l--,d+=i[s++]<<g,g+=8}e.length+=d&(1<<e.extra)-1,d>>>=e.extra,g-=e.extra,e.back+=e.extra}e.was=e.length,e.mode=eu;case eu:for(;R=e.distcode[d&(1<<e.distbits)-1],k=R>>>24,D=R>>>16&255,Z=R&65535,!(k<=g);){if(l===0)break t;l--,d+=i[s++]<<g,g+=8}if(!(D&240)){for(z=k,at=D,pt=Z;R=e.distcode[pt+((d&(1<<z+at)-1)>>z)],k=R>>>24,D=R>>>16&255,Z=R&65535,!(z+k<=g);){if(l===0)break t;l--,d+=i[s++]<<g,g+=8}d>>>=z,g-=z,e.back+=z}if(d>>>=k,g-=k,e.back+=k,D&64){t.msg="invalid distance code",e.mode=De;break}e.offset=Z,e.extra=D&15,e.mode=nu;case nu:if(e.extra){for(S=e.extra;g<S;){if(l===0)break t;l--,d+=i[s++]<<g,g+=8}e.offset+=d&(1<<e.extra)-1,d>>>=e.extra,g-=e.extra,e.back+=e.extra}if(e.offset>e.dmax){t.msg="invalid distance too far back",e.mode=De;break}e.mode=iu;case iu:if(u===0)break t;if(p=L-u,e.offset>p){if(p=e.offset-p,p>e.whave&&e.sane){t.msg="invalid distance too far back",e.mode=De;break}p>e.wnext?(p-=e.wnext,T=e.wsize-p):T=e.wnext-p,p>e.length&&(p=e.length),P=e.window}else P=r,T=h-e.offset,p=e.length;p>u&&(p=u),u-=p,e.length-=p;do r[h++]=P[T++];while(--p);e.length===0&&(e.mode=vo);break;case ru:if(u===0)break t;r[h++]=e.length,u--,e.mode=vo;break;case Rl:if(e.wrap){for(;g<32;){if(l===0)break t;l--,d|=i[s++]<<g,g+=8}if(L-=u,t.total_out+=L,e.total+=L,e.wrap&4&&L&&(t.adler=e.check=e.flags?hn(e.check,r,L,h-L):Ls(e.check,r,L,h-L)),L=u,e.wrap&4&&(e.flags?d:ou(d))!==e.check){t.msg="incorrect data check",e.mode=De;break}d=0,g=0}e.mode=au;case au:if(e.wrap&&e.flags){for(;g<32;){if(l===0)break t;l--,d+=i[s++]<<g,g+=8}if(e.wrap&4&&d!==(e.total&4294967295)){t.msg="incorrect length check",e.mode=De;break}d=0,g=0}e.mode=su;case su:X=o0;break t;case De:X=wf;break t;case _f:return yf;case xf:default:return ii}return t.next_out=h,t.avail_out=u,t.next_in=s,t.avail_in=l,e.hold=d,e.bits=g,(e.wsize||L!==t.avail_out&&e.mode<De&&(e.mode<Rl||n!==Bh))&&kf(t,t.output,t.next_out,L-t.avail_out),x-=t.avail_in,L-=t.avail_out,t.total_in+=x,t.total_out+=L,e.total+=L,e.wrap&4&&L&&(t.adler=e.check=e.flags?hn(e.check,r,L,t.next_out-L):Ls(e.check,r,L,t.next_out-L)),t.data_type=e.bits+(e.last?64:0)+(e.mode===Zi?128:0)+(e.mode===bo||e.mode===Tl?256:0),(x===0&&L===0||n===Bh)&&X===Zr&&(X=c0),X},v0=t=>{if($r(t))return ii;let n=t.state;return n.window&&(n.window=null),t.state=null,Zr},w0=(t,n)=>{if($r(t))return ii;const e=t.state;return e.wrap&2?(e.head=n,n.done=!1,Zr):ii},y0=(t,n)=>{const e=n.length;let i,r,s;return $r(t)||(i=t.state,i.wrap!==0&&i.mode!==Fo)?ii:i.mode===Fo&&(r=1,r=Ls(r,n,e,0),r!==i.check)?wf:(s=kf(t,n,e,e),s?(i.mode=_f,yf):(i.havedict=1,Zr))};var _0=Af,x0=Lf,N0=Nf,A0=g0,L0=Sf,S0=b0,k0=v0,j0=w0,P0=y0,E0="pako inflate (from Nodeca project)",$i={inflateReset:_0,inflateReset2:x0,inflateResetKeep:N0,inflateInit:A0,inflateInit2:L0,inflate:S0,inflateEnd:k0,inflateGetHeader:j0,inflateSetDictionary:P0,inflateInfo:E0};function I0(){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 C0=I0;const jf=Object.prototype.toString,{Z_NO_FLUSH:F0,Z_FINISH:O0,Z_OK:js,Z_STREAM_END:Dl,Z_NEED_DICT:ql,Z_STREAM_ERROR:T0,Z_DATA_ERROR:cu,Z_MEM_ERROR:R0}=Es;function Cs(t){this.options=Mo.assign({chunkSize:1024*64,windowBits:15,to:""},t||{});const n=this.options;n.raw&&n.windowBits>=0&&n.windowBits<16&&(n.windowBits=-n.windowBits,n.windowBits===0&&(n.windowBits=-15)),n.windowBits>=0&&n.windowBits<16&&!(t&&t.windowBits)&&(n.windowBits+=32),n.windowBits>15&&n.windowBits<48&&(n.windowBits&15||(n.windowBits|=15)),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new gf,this.strm.avail_out=0;let e=$i.inflateInit2(this.strm,n.windowBits);if(e!==js)throw new Error(Ra[e]);if(this.header=new C0,$i.inflateGetHeader(this.strm,this.header),n.dictionary&&(typeof n.dictionary=="string"?n.dictionary=ks.string2buf(n.dictionary):jf.call(n.dictionary)==="[object ArrayBuffer]"&&(n.dictionary=new Uint8Array(n.dictionary)),n.raw&&(e=$i.inflateSetDictionary(this.strm,n.dictionary),e!==js)))throw new Error(Ra[e])}Cs.prototype.push=function(t,n){const e=this.strm,i=this.options.chunkSize,r=this.options.dictionary;let s,h,l;if(this.ended)return!1;for(n===~~n?h=n:h=n===!0?O0:F0,jf.call(t)==="[object ArrayBuffer]"?e.input=new 
vendor: 10,086 bytes, line 13
13Uint8Array(t):e.input=t,e.next_in=0,e.avail_in=e.input.length;;){for(e.avail_out===0&&(e.output=new Uint8Array(i),e.next_out=0,e.avail_out=i),s=$i.inflate(e,h),s===ql&&r&&(s=$i.inflateSetDictionary(e,r),s===js?s=$i.inflate(e,h):s===cu&&(s=ql));e.avail_in>0&&s===Dl&&e.state.wrap>0&&t[e.next_in]!==0;)$i.inflateReset(e),s=$i.inflate(e,h);switch(s){case T0:case cu:case ql:case R0:return this.onEnd(s),this.ended=!0,!1}if(l=e.avail_out,e.next_out&&(e.avail_out===0||s===Dl))if(this.options.to==="string"){let u=ks.utf8border(e.output,e.next_out),d=e.next_out-u,g=ks.buf2string(e.output,u);e.next_out=d,e.avail_out=i-d,d&&e.output.set(e.output.subarray(u,u+d),0),this.onData(g)}else this.onData(e.output.length===e.next_out?e.output:e.output.subarray(0,e.next_out));if(!(s===js&&l===0)){if(s===Dl)return s=$i.inflateEnd(this.strm),this.onEnd(s),this.ended=!0,!0;if(e.avail_in===0)break}}return!0};Cs.prototype.onData=function(t){this.chunks.push(t)};Cs.prototype.onEnd=function(t){t===js&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=Mo.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg};function Lc(t,n){const e=new Cs(n);if(e.push(t),e.err)throw e.msg||Ra[e.err];return e.result}function M0(t,n){return n=n||{},n.raw=!0,Lc(t,n)}var B0=Cs,D0=Lc,q0=M0,U0=Lc,z0=Es,H0={Inflate:B0,inflate:D0,inflateRaw:q0,ungzip:U0,constants:z0};const{Inflate:W0,inflate:V0,inflateRaw:pp,ungzip:gp}=H0;var hu=W0,G0=V0;const Pf=[];for(let t=0;t<256;t++){let n=t;for(let e=0;e<8;e++)n&1?n=3988292384^n>>>1:n=n>>>1;Pf[t]=n}const uu=4294967295;function Z0(t,n,e){let i=t;for(let r=0;r<e;r++)i=Pf[(i^n[r])&255]^i>>>8;return i}function Y0(t,n){return(Z0(uu,t,n)^uu)>>>0}function fu(t,n,e){const i=t.readUint32(),r=Y0(new Uint8Array(t.buffer,t.byteOffset+t.offset-n-4,n),n);if(r!==i)throw new Error(`CRC mismatch for chunk ${e}. Expected ${i}, found ${r}`)}function Ef(t,n,e){for(let i=0;i<e;i++)n[i]=t[i]}function If(t,n,e,i){let r=0;for(;r<i;r++)n[r]=t[r];for(;r<e;r++)n[r]=t[r]+n[r-i]&255}function Cf(t,n,e,i){let r=0;if(e.length===0)for(;r<i;r++)n[r]=t[r];else for(;r<i;r++)n[r]=t[r]+e[r]&255}function Ff(t,n,e,i,r){let s=0;if(e.length===0){for(;s<r;s++)n[s]=t[s];for(;s<i;s++)n[s]=t[s]+(n[s-r]>>1)&255}else{for(;s<r;s++)n[s]=t[s]+(e[s]>>1)&255;for(;s<i;s++)n[s]=t[s]+(n[s-r]+e[s]>>1)&255}}function Of(t,n,e,i,r){let s=0;if(e.length===0){for(;s<r;s++)n[s]=t[s];for(;s<i;s++)n[s]=t[s]+n[s-r]&255}else{for(;s<r;s++)n[s]=t[s]+e[s]&255;for(;s<i;s++)n[s]=t[s]+$0(n[s-r],e[s],e[s-r])&255}}function $0(t,n,e){const i=t+n-e,r=Math.abs(i-t),s=Math.abs(i-n),h=Math.abs(i-e);return r<=s&&r<=h?t:s<=h?n:e}function K0(t,n,e,i,r,s){switch(t){case 0:Ef(n,e,r);break;case 1:If(n,e,r,s);break;case 2:Cf(n,e,i,r);break;case 3:Ff(n,e,i,r,s);break;case 4:Of(n,e,i,r,s);break;default:throw new Error(`Unsupported filter: ${t}`)}}const X0=new Uint16Array([255]),J0=new Uint8Array(X0.buffer),Q0=J0[0]===255;function t5(t){const{data:n,width:e,height:i,channels:r,depth:s}=t,h=[{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}],l=Math.ceil(s/8)*r,u=new Uint8Array(i*e*l);let d=0;for(let g=0;g<7;g++){const x=h[g],L=Math.ceil((e-x.x)/x.xStep),p=Math.ceil((i-x.y)/x.yStep);if(L<=0||p<=0)continue;const T=L*l,P=new Uint8Array(T);for(let R=0;R<p;R++){const k=n[d++],D=n.subarray(d,d+T);d+=T;const Z=new Uint8Array(T);K0(k,D,Z,P,T,l),P.set(Z);for(let z=0;z<L;z++){const at=x.x+z*x.xStep,pt=x.y+R*x.yStep;if(!(at>=e||pt>=i))for(let lt=0;lt<l;lt++)u[(pt*e+at)*l+lt]=Z[z*l+lt]}}}if(s===16){const g=new Uint16Array(u.buffer);if(Q0)for(let x=0;x<g.length;x++)g[x]=e5(g[x]);return g}else return u}function e5(t){return(t&255)<<8|t>>8&255}const n5=new Uint16Array([255]),i5=new Uint8Array(n5.buffer),r5=i5[0]===255,a5=new Uint8Array(0);function du(t){const{data:n,width:e,height:i,channels:r,depth:s}=t,h=Math.ceil(s/8)*r,l=Math.ceil(s/8*r*e),u=new Uint8Array(i*l);let d=a5,g=0,x,L;for(let p=0;p<i;p++){switch(x=n.subarray(g+1,g+1+l),L=u.subarray(p*l,(p+1)*l),n[g]){case 0:Ef(x,L,l);break;case 1:If(x,L,l,h);break;case 2:Cf(x,L,d,l);break;case 3:Ff(x,L,d,l,h);break;case 4:Of(x,L,d,l,h);break;default:throw new Error(`Unsupported filter: ${n[g]}`)}d=L,g+=l+1}if(s===16){const p=new Uint16Array(u.buffer);if(r5)for(let T=0;T<p.length;T++)p[T]=s5(p[T]);return p}else return u}function s5(t){return(t&255)<<8|t>>8&255}const Ao=Uint8Array.of(137,80,78,71,13,10,26,10);function pu(t){if(!o5(t.readBytes(Ao.length)))throw new Error("wrong PNG signature")}function o5(t){if(t.length<Ao.length)return!1;for(let n=0;n<Ao.length;n++)if(t[n]!==Ao[n])return!1;return!0}const l5="tEXt",c5=0,Tf=new TextDecoder("latin1");function h5(t){if(f5(t),t.length===0||t.length>79)throw new Error("keyword length must be between 1 and 79")}const u5=/^[\u0000-\u00FF]*$/;function f5(t){if(!u5.test(t))throw new Error("invalid latin1 text")}function d5(t,n,e){const i=Rf(n);t[i]=p5(n,e-i.length-1)}function Rf(t){for(t.mark();t.readByte()!==c5;);const n=t.offset;t.reset();const e=Tf.decode(t.readBytes(n-t.offset-1));return t.skip(1),h5(e),e}function p5(t,n){return Tf.decode(t.readBytes(n))}const Vn={UNKNOWN:-1,GREYSCALE:0,TRUECOLOUR:2,INDEXED_COLOUR:3,GREYSCALE_ALPHA:4,TRUECOLOUR_ALPHA:6},Ul={UNKNOWN:-1,DEFLATE:0},gu={UNKNOWN:-1,ADAPTIVE:0},zl={UNKNOWN:-1,NO_INTERLACE:0,ADAM7:1},wo={NONE:0,BACKGROUND:1,PREVIOUS:2},Hl={SOURCE:0,OVER:1};class g5 extends vc{constructor(e,i={}){super(e);Ae(this,"_checkCrc");Ae(this,"_inflator");Ae(this,"_png");Ae(this,"_apng");Ae(this,"_end");Ae(this,"_hasPalette");Ae(this,"_palette");Ae(this,"_hasTransparency");Ae(this,"_transparency");Ae(this,"_compressionMethod");Ae(this,"_filterMethod");Ae(this,"_interlaceMethod");Ae(this,"_colorType");Ae(this,"_isAnimated");Ae(this,"_numberOfFrames");Ae(this,"_numberOfPlays");Ae(this,"_frames");Ae(this,"_writingDataChunks");const{checkCrc:r=!1}=i;this._checkCrc=r,this._inflator=new hu,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=Ul.UNKNOWN,this._filterMethod=gu.UNKNOWN,this._interlaceMethod=zl.UNKNOWN,this._colorType=Vn.UNKNOWN,this._isAnimated=!1,this._numberOfFrames=1,this._numberOfPlays=0,this._frames=[],this._writingDataChunks=!1,this.setBigEndian()}decode(){for(pu(this);!this._end;){const e=this.readUint32(),i=this.readChars(4);this.decodeChunk(e,i)}return this.decodeImage(),this._png}decodeApng(){for(pu(this);!this._end;){const e=this.readUint32(),i=this.readChars(4);this.decodeApngChunk(e,i)}return this.decodeApngImage(),this._apng}decodeChunk(e,i){const r=this.offset;switch(i){case"IHDR":this.decodeIHDR();break;case"PLTE":this.decodePLTE(e);break;case"IDAT":this.decodeIDAT(e);break;case"IEND":this._end=!0;break;case"tRNS":this.decodetRNS(e);break;case"iCCP":this.decodeiCCP(e);break;case l5:d5(this._png.text,this,e);break;case"pHYs":this.decodepHYs();break;default:this.skip(e);break}if(this.offset-r!==e)throw new Error(`Length mismatch while decoding chunk ${i}`);this._checkCrc?fu(this,e+4,i):this.skip(4)}decodeApngChunk(e,i){const r=this.offset;switch(i!=="fdAT"&&i!=="IDAT"&&this._writingDataChunks&&this.pushDataToFrame(),i){case"acTL":this.decodeACTL();break;case"fcTL":this.decodeFCTL();break;case"fdAT":this.decodeFDAT(e);break;default:this.decodeChunk(e,i),this.offset=r+e;break}if(this.offset-r!==e)throw new Error(`Length mismatch while decoding chunk ${i}`);this._checkCrc?fu(this,e+4,i):this.skip(4)}decodeIHDR(){const e=this._png;e.width=this.readUint32(),e.height=this.readUint32(),e.depth=m5(this.readUint8());const i=this.readUint8();this._colorType=i;let r;switch(i){case Vn.GREYSCALE:r=1;break;case Vn.TRUECOLOUR:r=3;break;case Vn.INDEXED_COLOUR:r=1;break;case Vn.GREYSCALE_ALPHA:r=2;break;case Vn.TRUECOLOUR_ALPHA:r=4;break;case Vn.UNKNOWN:default:throw new Error(`Unknown color type: ${i}`)}if(this._png.channels=r,this._compressionMethod=this.readUint8(),this._compressionMethod!==Ul.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 e={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(e)}decodePLTE(e){if(e%3!==0)throw new RangeError(`PLTE field length must be a multiple of 3. Got ${e}`);const i=e/3;this._hasPalette=!0;const r=[];this._palette=r;for(let s=0;s<i;s++)r.push([this.readUint8(),this.readUint8(),this.readUint8()])}decodeIDAT(e){this._writingDataChunks=!0;const i=e,r=this.offset+this.byteOffset;if(this._inflator.push(new Uint8Array(this.buffer,r,i)),this._inflator.err)throw new Error(`Error while decompressing the data: ${this._inflator.err}`);this.skip(e)}decodeFDAT(e){this._writingDataChunks=!0;let i=e,r=this.offset+this.byteOffset;if(r+=4,i-=4,this._inflator.push(new Uint8Array(this.buffer,r,i)),this._inflator.err)throw new Error(`Error while decompressing the data: ${this._inflator.err}`);this.skip(e)}decodetRNS(e){switch(this._colorType){case Vn.GREYSCALE:case Vn.TRUECOLOUR:{if(e%2!==0)throw new RangeError(`tRNS chunk length must be a multiple of 2. Got ${e}`);if(e/2>this._png.width*this._png.height)throw new Error(`tRNS chunk contains more alpha values than there are pixels (${e/2} vs ${this._png.width*this._png.height})`);this._hasTransparency=!0,this._transparency=new Uint16Array(e/2);for(let i=0;i<e/2;i++)this._transparency[i]=this.readUint16();break}case Vn.INDEXED_COLOUR:{if(e>this._palette.length)throw new Error(`tRNS chunk contains more alph
13a values than there are palette colors (${e} vs ${this._palette.length})`);let i=0;for(;i<e;i++){const r=this.readByte();this._palette[i].push(r)}for(;i<this._palette.length;i++)this._palette[i].push(255);break}case Vn.UNKNOWN:case Vn.GREYSCALE_ALPHA:case Vn.TRUECOLOUR_ALPHA:default:throw new Error(`tRNS chunk is not supported for color type ${this._colorType}`)}}decodeiCCP(e){const i=Rf(this),r=this.readUint8();if(r!==Ul.DEFLATE)throw new Error(`Unsupported iCCP compression method: ${r}`);const s=this.readBytes(e-i.length-2);this._png.iccEmbeddedProfile={name:i,profile:G0(s)}}decodepHYs(){const e=this.readUint32(),i=this.readUint32(),r=this.readByte();this._png.resolution={x:e,y:i,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 e=0;e<this._numberOfFrames;e++){const i={sequenceNumber:this._frames[e].sequenceNumber,delayNumber:this._frames[e].delayNumber,delayDenominator:this._frames[e].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(e);if(r){if(r.data=du({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),e===0||r.xOffset===0&&r.yOffset===0&&r.width===this._png.width&&r.height===this._png.height)i.data=r.data;else{const s=this._apng.frames.at(e-1);this.disposeFrame(r,s,i),this.addFrameDataToCanvas(i,r)}this._apng.frames.push(i)}}return this._apng}disposeFrame(e,i,r){switch(e.disposeOp){case wo.NONE:break;case wo.BACKGROUND:for(let s=0;s<this._png.height;s++)for(let h=0;h<this._png.width;h++){const l=(s*e.width+h)*this._png.channels;for(let u=0;u<this._png.channels;u++)r.data[l+u]=0}break;case wo.PREVIOUS:r.data.set(i.data);break;default:throw new Error("Unknown disposeOp")}}addFrameDataToCanvas(e,i){const r=1<<this._png.depth,s=(h,l)=>{const u=((h+i.yOffset)*this._png.width+i.xOffset+l)*this._png.channels,d=(h*i.width+l)*this._png.channels;return{index:u,frameIndex:d}};switch(i.blendOp){case Hl.SOURCE:for(let h=0;h<i.height;h++)for(let l=0;l<i.width;l++){const{index:u,frameIndex:d}=s(h,l);for(let g=0;g<this._png.channels;g++)e.data[u+g]=i.data[d+g]}break;case Hl.OVER:for(let h=0;h<i.height;h++)for(let l=0;l<i.width;l++){const{index:u,frameIndex:d}=s(h,l);for(let g=0;g<this._png.channels;g++){const x=i.data[d+this._png.channels-1]/r,L=g%(this._png.channels-1)===0?1:i.data[d+g],p=Math.floor(x*L+(1-x)*e.data[u+g]);e.data[u+g]+=p}}break;default:throw new Error("Unknown blendOp")}}decodeImage(){var i;if(this._inflator.err)throw new Error(`Error while decompressing the data: ${this._inflator.err}`);const e=this._isAnimated?((i=this._frames)==null?void 0:i.at(0)).data:this._inflator.result;if(this._filterMethod!==gu.ADAPTIVE)throw new Error(`Filter method ${this._filterMethod} not supported`);if(this._interlaceMethod===zl.NO_INTERLACE)this._png.data=du({data:e,width:this._png.width,height:this._png.height,channels:this._png.channels,depth:this._png.depth});else if(this._interlaceMethod===zl.ADAM7)this._png.data=t5({data:e,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 e=this._inflator.result,i=this._frames.at(-1);i?i.data=e:this._frames.push({sequenceNumber:0,width:this._png.width,height:this._png.height,xOffset:0,yOffset:0,delayNumber:0,delayDenominator:0,disposeOp:wo.NONE,blendOp:Hl.SOURCE,data:e}),this._inflator=new hu,this._writingDataChunks=!1}}function m5(t){if(t!==1&&t!==2&&t!==4&&t!==8&&t!==16)throw new Error(`invalid bit depth: ${t}`);return t}var mu;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.METRE=1]="METRE"})(mu||(mu={}));function b5(t,n){return new g5(t,n).decode()}var Kt=function(){return typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:this}();function Wl(){Kt.console&&typeof Kt.console.log=="function"&&Kt.console.log.apply(Kt.console,arguments)}var Pe={log:Wl,warn:function(t){Kt.console&&(typeof Kt.console.warn=="function"?Kt.console.warn.apply(Kt.console,arguments):Wl.call(null,arguments))},error:function(t){Kt.console&&(typeof Kt.console.error=="function"?Kt.console.error.apply(Kt.console,arguments):Wl(t))}};function Vl(t,n,e){var i=new XMLHttpRequest;i.open("GET",t),i.responseType="blob",i.onload=function(){Dr(i.response,n,e)},i.onerror=function(){Pe.error("could not download file")},i.send()}function bu(t){var n=new XMLHttpRequest;n.open("HEAD",t,!1);try{n.send()}catch{}return n.status>=200&&n.status<=299}function yo(t){try{t.dispatchEvent(new MouseEvent("click"))}catch{var n=document.createEvent("MouseEvents");
vendor: 3,407 bytes, lines 13-18
13n.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),t.dispatchEvent(n)}}var Dr=Kt.saveAs||((typeof window>"u"?"undefined":Le(window))!=="object"||window!==Kt?function(){}:typeof HTMLAnchorElement<"u"&&"download"in HTMLAnchorElement.prototype?function(t,n,e){var i=Kt.URL||Kt.webkitURL,r=document.createElement("a");n=n||t.name||"download",r.download=n,r.rel="noopener",typeof t=="string"?(r.href=t,r.origin!==location.origin?bu(r.href)?Vl(t,n,e):yo(r,r.target="_blank"):yo(r)):(r.href=i.createObjectURL(t),setTimeout(function(){i.revokeObjectURL(r.href)},4e4),setTimeout(function(){yo(r)},0))}:"msSaveOrOpenBlob"in navigator?function(t,n,e){if(n=n||t.name||"download",typeof t=="string")if(bu(t))Vl(t,n,e);else{var i=document.createElement("a");i.href=t,i.target="_blank",setTimeout(function(){yo(i)})}else navigator.msSaveOrOpenBlob(function(r,s){return s===void 0?s={autoBom:!1}:Le(s)!=="object"&&(Pe.warn("Deprecated: Expected third argument to be a object"),s={autoBom:!s}),s.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(r.type)?new Blob(["\uFEFF",r],{type:r.type}):r}(t,e),n)}:function(t,n,e,i){if((i=i||open("","_blank"))&&(i.document.title=i.document.body.innerText="downloading..."),typeof t=="string")return Vl(t,n,e);var r=t.type==="application/octet-stream",s=/constructor/i.test(Kt.HTMLElement)||Kt.safari,h=/CriOS\/[\d]+/.test(navigator.userAgent);if((h||r&&s)&&(typeof FileReader>"u"?"undefined":Le(FileReader))==="object"){var l=new FileReader;l.onloadend=function(){var g=l.result;g=h?g:g.replace(/^data:[^;]*;/,"data:attachment/file;"),i?i.location.href=g:location=g,i=null},l.readAsDataURL(t)}else{var u=Kt.URL||Kt.webkitURL,d=u.createObjectURL(t);i?i.location=d:location.href=d,i=null,setTimeout(function(){u.revokeObjectURL(d)},4e4)}});/**
14 * A class to parse color values
15 * @author Stoyan Stefanov <[email protected]>
16 * {@link   http://www.phpied.com/rgb-color-parser-in-javascript/}
17 * @license Use it if you like it
18 */function Mf(t){var n;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:"90ee9
180",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(l){return[parseInt(l[1]),parseInt(l[2]),parseInt(l[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(l){return[parseInt(l[1],16),parseInt(l[2],16),parseInt(l[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(l){return[parseInt(l[1]+l[1],16),parseInt(l[2]+l[2],16),parseInt(l[3]+l[3],16)]}}],i=0;i<e.length;i++){var r=e[i].re,s=e[i].process,h=r.exec(t);h&&(n=s(h),this.r=n[0],this.g=n[1],this.b=n[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 l=this.r.toString(16),u=this.g.toString(16),d=this.b.toString(16);return l.length==1&&(l="0"+l),u.length==1&&(u="0"+u),d.length==1&&(d="0"+d),"#"+l+u+d}}var Lo=Kt.atob.bind(Kt),vu=Kt.btoa.bind(Kt);/**
19 * @license
20 * Joseph Myers does not specify a particular license for his work.
21 *
22 * Author: Joseph Myers
23 * Accessed from: http://www.myersdaily.org/joseph/javascript/md5.js
24 *
25 * Modified by: Owen Leong
26 */function Gl(t,n){var e=t[0],i=t[1],r=t[2],s=t[3];e=Nn(e,i,r,s,n[0],7,-680876936),s=Nn(s,e,i,r,n[1],12,-389564586),r=Nn(r,s,e,i,n[2],17,606105819),i=Nn(i,r,s,e,n[3],22,-1044525330),e=Nn(e,i,r,s,n[4],7,-176418897),s=Nn(s,e,i,r,n[5],12,1200080426),r=Nn(r,s,e,i,n[6],17,-1473231341),i=Nn(i,r,s,e,n[7],22,-45705983),e=Nn(e,i,r,s,n[8],7,1770035416),s=Nn(s,e,i,r,n[9],12,-1958414417),r=Nn(r,s,e,i,n[10],17,-42063),i=Nn(i,r,s,e,n[11],22,-1990404162),e=Nn(e,i,r,s,n[12],7,1804603682),s=Nn(s,e,i,r,n[13],12,-40341101),r=Nn(r,s,e,i,n[14],17,-1502002290),e=An(e,i=Nn(i,r,s,e,n[15],22,1236535329),r,s,n[1],5,-165796510),s=An(s,e,i,r,n[6],9,-1069501632),r=An(r,s,e,i,n[11],14,643717713),i=An(i,r,s,e,n[0],20,-373897302),e=An(e,i,r,s,n[5],5,-701558691),s=An(s,e,i,r,n[10],9,38016083),r=An(r,s,e,i,n[15],14,-660478335),i=An(i,r,s,e,n[4],20,-405537848),e=An(e,i,r,s,n[9],5,568446438),s=An(s,e,i,r,n[14],9,-1019803690),r=An(r,s,e,i,n[3],14,-187363961),i=An(i,r,s,e,n[8],20,1163531501),e=An(e,i,r,s,n[13],5,-1444681467),s=An(s,e,i,r,n[2],9,-51403784),r=An(r,s,e,i,n[7],14,1735328473),e=Ln(e,i=An(i,r,s,e,n[12],20,-1926607734),r,s,n[5],4,-378558),s=Ln(s,e,i,r,n[8],11,-2022574463),r=Ln(r,s,e,i,n[11],16,1839030562),i=Ln(i,r,s,e,n[14],23,-35309556),e=Ln(e,i,r,s,n[1],4,-1530992060),s=Ln(s,e,i,r,n[4],11,1272893353),r=Ln(r,s,e,i,n[7],16,-155497632),i=Ln(i,r,s,e,n[10],23,-1094730640),e=Ln(e,i,r,s,n[13],4,681279174),s=Ln(s,e,i,r,n[0],11,-358537222),r=Ln(r,s,e,i,n[3],16,-722521979),i=Ln(i,r,s,e,n[6],23,76029189),e=Ln(e,i,r,s,n[9],4,-640364487),s=Ln(s,e,i,r,n[12],11,-421815835),r=Ln(r,s,e,i,n[15],16,530742520),e=Sn(e,i=Ln(i,r,s,e,n[2],23,-995338651),r,s,n[0],6,-198630844),s=Sn(s,e,i,r,n[7],10,1126891415),r=Sn(r,s,e,i,n[14],15,-1416354905),i=Sn(i,r,s,e,n[5],21,-57434055),e=Sn(e,i,r,s,n[12],6,1700485571),s=Sn(s,e,i,r,n[3],10,-1894986606),r=Sn(r,s,e,i,n[10],15,-1051523),i=Sn(i,r,s,e,n[1],21,-2054922799),e=Sn(e,i,r,s,n[8],6,1873313359),s=Sn(s,e,i,r,n[15],10,-30611744),r=Sn(r,s,e,i,n[6],15,-1560198380),i=Sn(i,r,s,e,n[13],21,1309151649),e=Sn(e,i,r,s,n[4],6,-145523070),s=Sn(s,e,i,r,n[11],10,-1120210379),r=Sn(r,s,e,i,n[2],15,718787259),i=Sn(i,r,s,e,n[9],21,-343485551),t[0]=gr(e,t[0]),t[1]=gr(i,t[1]),t[2]=gr(r,t[2]),t[3]=gr(s,t[3])}function Do(t,n,e,i,r,s){return n=gr(gr(n,t),gr(i,s)),gr(n<<r|n>>>32-r,e)}function Nn(t,n,e,i,r,s,h){return Do(n&e|~n&i,t,n,r,s,h)}function An(t,n,e,i,r,s,h){return Do(n&i|e&~i,t,n,r,s,h)}function Ln(t,n,e,i,r,s,h){return Do(n^e^i,t,n,r,s,h)}function Sn(t,n,e,i,r,s,h){return Do(e^(n|~i),t,n,r,s,h)}function Bf(t){var n,e=t.length,i=[1732584193,-271733879,-1732584194,271733878];for(n=64;n<=t.length;n+=64)Gl(i,v5(t.substring(n-64,n)));t=t.substring(n-64);var r=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(n=0;n<t.length;n++)r[n>>2]|=t.charCodeAt(n)<<(n%4<<3);if(r[n>>2]|=128<<(n%4<<3),n>55)for(Gl(i,r),n=0;n<16;n++)r[n]=0;return r[14]=8*e,Gl(i,r),i}function v5(t){var n,e=[];for(n=0;n<64;n+=4)e[n>>2]=t.charCodeAt(n)+(t.charCodeAt(n+1)<<8)+(t.charCodeAt(n+2)<<16)+(t.charCodeAt(n+3)<<24);return e}var wu="0123456789abcdef".split("");function w5(t){for(var n="",e=0;e<4;e++)n+=wu[t>>8*e+4&15]+wu[t>>8*e&15];return n}function y5(t){return String.fromCharCode(255&t,(65280&t)>>8,(16711680&t)>>16,(4278190080&t)>>24)}function uc(t){return Bf(t).map(y5).join("")}var _5=function(t){for(var n=0;n<t.length;n++)t[n]=w5(t[n]);return t.join("")}(Bf("hello"))!="5d41402abc4b2a76b9719d911017c592";function gr(t,n){if(_5){var e=(65535&t)+(65535&n);return(t>>16)+(n>>16)+(e>>16)<<16|65535&e}return t+n&4294967295}/**
27 * @license
28 * FPDF is released under a permissive license: there is no usage restriction.
29 * You may embed it freely in your application (commercial or not), with or
30 * without modifications.
31 *
32 * Reference: http://www.fpdf.org/en/script/script37.php
33 */function fc(t,n){var e,i,r,s;if(t!==e){for(var h=(r=t,s=1+(256/t.length|0),new Array(s+1).join(r)),l=[],u=0;u<256;u++)l[u]=u;var d=0;for(u=0;
vendor: 16,197 bytes, lines 33-43
33u<256;u++){var g=l[u];d=(d+g+h.charCodeAt(u))%256,l[u]=l[d],l[d]=g}e=t,i=l}else l=i;var x=n.length,L=0,p=0,T="";for(u=0;u<x;u++)p=(p+(g=l[L=(L+1)%256]))%256,l[L]=l[p],l[p]=g,h=l[(l[L]+l[p])%256],T+=String.fromCharCode(n.charCodeAt(u)^h);return T}/**
34 * @license
35 * Licensed under the MIT License.
36 * http://opensource.org/licenses/mit-license
37 * Author: Owen Leong (@owenl131)
38 * Date: 15 Oct 2020
39 * References:
40 * https://www.cs.cmu.edu/~dst/Adobe/Gallery/anon21jul01-pdf-encryption.txt
41 * https://github.com/foliojs/pdfkit/blob/master/lib/security.js
42 * http://www.fpdf.org/en/script/script37.php
43 */var yu={print:4,modify:8,copy:16,"annot-forms":32};function ja(t,n,e,i){this.v=1,this.r=2;var r=192;t.forEach(function(l){if(yu.perm!==void 0)throw new Error("Invalid permission: "+l);r+=yu[l]}),this.padding="(¿N^NuŠAd\0NVÿú�\b..\0¶Ðh>€/\f©þdSiz";var s=(n+this.padding).substr(0,32),h=(e+this.padding).substr(0,32);this.O=this.processOwnerPassword(s,h),this.P=-(1+(255^r)),this.encryptionKey=uc(s+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(i)).substr(0,5),this.U=fc(this.encryptionKey,this.padding)}function Pa(t){if(/[^\u0000-\u00ff]/.test(t))throw new Error("Invalid PDF Name Object: "+t+", Only accept ASCII characters.");for(var n="",e=t.length,i=0;i<e;i++){var r=t.charCodeAt(i);n+=r<33||r===35||r===37||r===40||r===41||r===47||r===60||r===62||r===91||r===93||r===123||r===125||r>126?"#"+("0"+r.toString(16)).slice(-2):t[i]}return n}function _u(t){if(Le(t)!=="object")throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var n={};this.subscribe=function(e,i,r){if(r=r||!1,typeof e!="string"||typeof i!="function"||typeof r!="boolean")throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");n.hasOwnProperty(e)||(n[e]={});var s=Math.random().toString(35);return n[e][s]=[i,!!r],s},this.unsubscribe=function(e){for(var i in n)if(n[i][e])return delete n[i][e],Object.keys(n[i]).length===0&&delete n[i],!0;return!1},this.publish=function(e){if(n.hasOwnProperty(e)){var i=Array.prototype.slice.call(arguments,1),r=[];for(var s in n[e]){var h=n[e][s];try{h[0].apply(t,i)}catch(l){Kt.console&&Pe.error("jsPDF PubSub Error",l.message,l)}h[1]&&r.push(s)}r.length&&r.forEach(this.unsubscribe)}},this.getTopics=function(){return n}}function Oo(t){if(!(this instanceof Oo))return new Oo(t);var n="opacity,stroke-opacity".split(",");for(var e in t)t.hasOwnProperty(e)&&n.indexOf(e)>=0&&(this[e]=t[e]);this.id="",this.objectNumber=-1}function Df(t,n){this.gState=t,this.matrix=n,this.id="",this.objectNumber=-1}function qr(t,n,e,i,r){if(!(this instanceof qr))return new qr(t,n,e,i,r);this.type=t==="axial"?2:3,this.coords=n,this.colors=e,Df.call(this,i,r)}function Ea(t,n,e,i,r){if(!(this instanceof Ea))return new Ea(t,n,e,i,r);this.boundingBox=t,this.xStep=n,this.yStep=e,this.stream="",this.cloneIndex=0,Df.call(this,i,r)}function Dt(t){var n,e=typeof arguments[0]=="string"?arguments[0]:"p",i=arguments[1],r=arguments[2],s=arguments[3],h=[],l=1,u=16,d="S",g=null;Le(t=t||{})==="object"&&(e=t.orientation,i=t.unit||i,r=t.format||r,s=t.compress||t.compressPdf||s,(g=t.encryption||null)!==null&&(g.userPassword=g.userPassword||"",g.ownerPassword=g.ownerPassword||"",g.userPermissions=g.userPermissions||[]),l=typeof t.userUnit=="number"?Math.abs(t.userUnit):1,t.precision!==void 0&&(n=t.precision),t.floatPrecision!==void 0&&(u=t.floatPrecision),d=t.defaultPathOperation||"S"),h=t.filters||(s===!0?["FlateEncode"]:h),i=i||"mm",e=(""+(e||"P")).toLowerCase();var x=t.putOnlyUsedFonts||!1,L={},p={internal:{},__private__:{}};p.__private__.PubSub=_u;var T="1.3",P=p.__private__.getPdfVersion=function(){return T};p.__private__.setPdfVersion=function(c){T=c};var R={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]};p.__private__.getPageFormats=function(){return R};var k=p.__private__.getPageFormat=function(c){return R[c]};r=r||"a4";var D="compat",Z="advanced",z=D;function at(){this.saveGraphicsState(),E(new Zt(ie,0,0,-ie,0,Sr()*ie).toString()+" cm"),this.setFontSize(this.getFontSize()/ie),d="n",z=Z}function pt(){this.restoreGraphicsState(),d="S",z=D}var lt=p.__private__.combineFontStyleAndFontWeight=function(c,b){if(c=="bold"&&b=="normal"||c=="bold"&&b==400||c=="normal"&&b=="italic"||c=="bold"&&b=="italic")throw new Error("Invalid Combination of fontweight and fontstyle");return b&&(c=b==400||b==="normal"?c==="italic"?"italic":"normal":b!=700&&b!=="bold"||c!=="normal"?(b==700?"bold":b)+""+c:"bold"),c};p.advancedAPI=function(c){var b=z===D;return b&&at.call(this),typeof c!="function"||(c(this),b&&pt.call(this)),this},p.compatAPI=function(c){var b=z===Z;return b&&pt.call(this),typeof c!="function"||(c(this),b&&at.call(this)),this},p.isAdvancedAPI=function(){return z===Z};var X,B=function(c){if(z!==Z)throw new Error(c+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},et=p.roundToPrecision=p.__private__.roundToPrecision=function(c,b){var I=n||b;if(isNaN(c)||isNaN(I))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return c.toFixed(I).replace(/0+$/,"")};X=p.hpf=p.__private__.hpf=typeof u=="number"?function(c){if(isNaN(c))throw new Error("Invalid argument passed to jsPDF.hpf");return et(c,u)}:u==="smart"?function(c){if(isNaN(c))throw new Error("Invalid argument passed to jsPDF.hpf");return et(c,c>-1&&c<1?16:5)}:function(c){if(isNaN(c))throw new Error("Invalid argument passed to jsPDF.hpf");return et(c,16)};var S=p.f2=p.__private__.f2=function(c){if(isNaN(c))throw new Error("Invalid argument passed to jsPDF.f2");return et(c,2)},O=p.__private__.f3=function(c){if(isNaN(c))throw new Error("Invalid argument passed to jsPDF.f3");return et(c,3)},W=p.scale=p.__private__.scale=function(c){if(isNaN(c))throw new Error("Invalid argument passed to jsPDF.scale");return z===D?c*ie:z===Z?c:void 0},H=function(c){return W(function(b){return z===D?Sr()-b:z===Z?b:void 0}(c))};p.__private__.setPrecision=p.setPrecision=function(c){typeof parseInt(c,10)=="number"&&(n=parseInt(c,10))};var rt,ct="00000000000000000000000000000000",ft=p.__private__.getFileId=function(){return ct},it=p.__private__.setFileId=function(c){return ct=c!==void 0&&/^[a-fA-F0-9]{32}$/.test(c)?c.toUpperCase():ct.split("").map(function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))}).join(""),g!==null&&(dn=new ja(g.userPermissions,g.userPassword,g.ownerPassword,ct)),ct};p.setFileId=function(c){return it(c),this},p.getFileId=function(){return ft()};var gt=p.__private__.convertDateToPDFDate=function(c){var b=c.getTimezoneOffset(),I=b<0?"+":"-",U=Math.floor(Math.abs(b/60)),K=Math.abs(b%60),ht=[I,q(U),"'",q(K),"'"].join("");return["D:",c.getFullYear(),q(c.getMonth()+1),q(c.getDate()),q(c.getHours()),q(c.getMinutes()),q(c.getSeconds()),ht].join("")},At=p.__private__.convertPDFDateToDate=function(c){var b=parseInt(c.substr(2,4),10),I=parseInt(c.substr(6,2),10)-1,U=parseInt(c.substr(8,2),10),K=parseInt(c.substr(10,2),10),ht=parseInt(c.substr(12,2),10),vt=parseInt(c.substr(14,2),10);return new Date(b,I,U,K,ht,vt,0)},yt=p.__private__.setCreationDate=function(c){var b;if(c===void 0&&(c=new Date),c instanceof Date)b=gt(c);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(c))throw new Error("Invalid argument passed to jsPDF.setCreationDate");b=c}return rt=b},N=p.__private__.getCreationDate=function(c){var b=rt;return c==="jsDate"&&(b=At(rt)),b};p.setCreationDate=function(c){return yt(c),this},p.getCreationDate=function(c){return N(c)};var M,q=p.__private__.padd2=function(c){return("0"+parseInt(c)).slice(-2)},V=p.__private__.padd2Hex=function(c){return("00"+(c=c.toString())).substr(c.length)},$=0,Q=[],st=[],ot=0,bt=[],Nt=[],jt=!1,kt=st;p.__private__.setCustomOutputDestination=function(c){jt=!0,kt=c};var qt=function(c){jt||(kt=c)};p.__private__.resetCustomOutputDestination=function(){jt=!1,kt=st};var E=p.__private__.out=function(c){return c=c.toString(),ot+=c.length+1,kt.push(c),kt},St=p.__private__.write=function(c){return E(arguments.length===1?c.toString():Array.prototype.join.call(arguments," "))},se=p.__private__.getArrayBuffer=function(c){for(var b=c.length,I=new ArrayBuffer(b),U=new Uint8Array(I);b--;)U[b]=c.charCodeAt(b);return I},Wt=[["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]];p.__private__.getStandardFonts=function(){return Wt};var _t=t.fontSize||16;p.__private__.setFontSize=p.setFontSize=function(c){return _t=z===Z?c/ie:c,this};var Vt,Et=p.__private__.getFontSize=p.getFontSize=function(){return z===D?_t:_t*ie},Ht=t.R2L||!1;p.__private__.setR2L=p.setR2L=function(c){return Ht=c,this},p.__private__.getR2L=p.getR2L=function(){return Ht};var Ut,ye=p.__private__.setZoomMode=function(c){if(/^(?:\d+\.\d*|\d*\.\d+|\d+)%$/.test(c))Vt=c;else if(isNaN(c)){if([void 0,null,"fullwidth","fullheight","fullpage","original"].indexOf(c)===-1)throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+c+'" is not recognized.');Vt=c}else Vt=parseInt(c,10)};p.__private__.getZoomMode=function(){return Vt};var he,Qt=p.__private__.setPageMode=function(c){if([void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(c)==-1)throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+c+'" is not recognized.');Ut=c};p.__private__.getPageMode=function(){return Ut};var fe=p.__private__.setLayoutMode=function(c){if([void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(c)==-1)throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+c+'" is not recognized.');he=c};p.__private__.getLayoutMode=function(){return he},p.__private__.setDisplayMode=p.setDisplayMode=function(c,b,I){return ye(c),fe(b),Qt(I),this};var ue={title:"",subject:"",author:"",keywords:"",creator:""};p.__private__.getDocumentProperty=function(c){if(Object.keys(ue).indexOf(c)===-1)throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return ue[c]},p.__private__.getDocumentProperties=function(){return ue},p.__private__.setDocumentProperties=p.setProperties=p.setDocumentProperties=function(c){for(var b in ue)ue.hasOwnProperty(b)&&c[b]&&(ue[b]=c[b]);return this},p.__private__.setDocumentProperty=function(c,b){if(Object.keys(ue).indexOf(c)===-1)throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return ue[c]=b};var Rt,ie,Bt,Ze,be,oe={},le={},Me=[],zt={},Ee={},Yt={},te={},Be=null,ce=0,Gt=[],_e=new _u(p),yr=t.hotfixes||[],vn={},Ci={},gi=[],Zt=function c(b,I,U,K,ht,vt){if(!(this instanceof c))return new c(b,I,U,K,ht,vt);isNaN(b)&&(b=1),isNaN(I)&&(I=0),isNaN(U)&&(U=0),isNaN(K)&&(K=1),isNaN(ht)&&(ht=0),isNaN(vt)&&(vt=0),this._matrix=[b,I,U,K,ht,vt]};Object.defineProperty(Zt.prototype,"sx",{get:function(){return this._matrix[0]},set:function(c){this._matrix[0]=c}}),Object.defineProperty(Zt.prototype,"shy",{get:function(){return this._matrix[1]},set:function(c){this._matrix[1]=c}}),Object.defineProperty(Zt.prototype,"shx",{get:function(){return this._matrix[2]},set:function(c){this._matrix[2]=c}}),Object.defineProperty(Zt.prototype,"sy",{get:function(){return this._matrix[3]},set:function(c){this._matrix[3]=c}}),Object.defineProperty(Zt.prototype,"tx",{get:function(){return this._matrix[4]},set:function(c){this._matrix[4]=c}}),Object.defineProperty(Zt.prototype,"ty",{get:function(){return this._matrix[5]},set:function(c){this._matrix[5]=c}}),Object.defineProperty(Zt.prototype,"a",{get:function(){return this._matrix[0]},set:function(c){this._matrix[0]=c}}),Object.defineProperty(Zt.prototype,"b",{get:function(){return this._matrix[1]},set:function(c){this._matrix[1]=c}}),Object.defineProperty(Zt.prototype,"c",{get:function(){return this._matrix[2]},set:function(c){this._matrix[2]=c}}),Object.defineProperty(Zt.prototype,"d",{get:function(){return this._matrix[3]},set:function(c){this._matrix[3]=c}}),Object.defineProperty(Zt.prototype,"e",{get:function(){return this._matrix[4]},set:function(c){this._matrix[4]=c}}),Object.defineProperty(Zt.prototype,"f",{get:function(){return this._matrix[5]},set:function(c){this._matrix[5]=c}}),Object.defineProperty(Zt.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(Zt.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(Zt.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(Zt.prototype,"isIdentity",{get:function(){return this.sx===1&&this.shy===0&&this.shx===0&&this.sy===1&&this.tx===0&&this.ty===0}}),Zt.prototype.join=function(c){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(X).join(c)},Zt.prototype.multiply=function(c){var b=c.sx*this.sx+c.shy*this.shx,I=c.sx*this.shy+c.shy*this.sy,U=c.shx*this.sx+c.sy*this.shx,K=c.shx*this.shy+c.sy*this.sy,ht=c.tx*this.sx+c.ty*this.shx+this.tx,vt=c.tx*this.shy+c.ty*this.sy+this.ty;return new Zt(b,I,U,K,ht,vt)},Zt.prototype.decompose=function(){var c=this.sx,b=this.shy,I=this.shx,U=this.sy,K=this.tx,ht=this.ty,vt=Math.sqrt(c*c+b*b),Ft=(c/=vt)*I+(b/=vt)*U;I-=c*Ft,U-=b*Ft;var Ct=Math.sqrt(I*I+U*U);return Ft/=Ct,c*(U/=Ct)<b*(I/=Ct)&&(c=-c,b=-b,Ft=-Ft,vt=-vt),{scale:new Zt(vt,0,0,Ct,0,0),translate:new Zt(1,0,0,1,K,ht),rotate:new Zt(c,b,-b,c,0,0),skew:new Zt(1,0,Ft,1,0,0)}},Zt.prototype.toString=function(c){return this.join(" ")},Zt.prototype.inversed=function(){var c=this.sx,b=this.shy,I=this.shx,U=this.sy,K=this.tx,ht=this.ty,vt=1/(c*U-b*I),Ft=U*vt,Ct=-b*vt,Xt=-I*vt,ee=c*vt;return new Zt(Ft,Ct,Xt,ee,-Ft*K-Xt*ht,-Ct*K-ee*ht)},Zt.prototype.applyToPoint=function(c){var b=c.x*this.sx+c.y*this.shx+this.tx,I=c.x*this.shy+c.y*this.sy+this.ty;return new Lr(b,I)},Zt.prototype.applyToRectangle=function(c){var b=this.applyToPoint(c),I=this.applyToPoint(new Lr(c.x+c.w,c.y+c.h));return new Ka(b.x,b.y,I.x-b.x,I.y-b.y)},Zt.prototype.clone=function(){var c=this.sx,b=this.shy,I=this.shx,U=this.sy,K=this.tx,ht=this.ty;return new Zt(c,b,I,U,K,ht)},p.Matrix=Zt;var Fi=p.matrixMult=function(c,b){return b.multiply(c)},Oi=new Zt(1,0,0,1,0,0);p.unitMatrix=p.identityMatrix=Oi;var $n=function(c,b){if(!Ee[c]){var I=(b instanceof qr?"Sh":"P")+(Object.keys(zt).length+1).toString(10);b.id=I,Ee[c]=I,zt[I]=b,_e.publish("addPattern",b)}};p.ShadingPattern=qr,p.TilingPattern=Ea,p.addShadingPattern=function(c,b){return B("addShadingPattern()"),$n(c,b),this},p.beginTilingPattern=function(c){B("beginTilingPattern()"),Xa(c.boundingBox[0],c.boundingBox[1],c.boundingBox[2]-c.boundingBox[0],c.boundingBox[3]-c.boundingBox[1],c.matrix)},p.endTilingPattern=function(c,b){B("endTilingPattern()"),b.stream=Nt[M].join(`
44`),$n(c,b),_e.publish("endTilingPattern",b),gi.pop().restore()};var Kn,He=p.__private__.newObject=function(){var c=ln();return fn(c,!0),c},ln=p.__private__.newObjectDeferred=function(){return $++,Q[$]=function(){return ot},$},fn=function(c,b){return b=typeof b=="boolean"&&b,Q[c]=ot,b&&E(c+" 0 obj"),c},_r=p.__private__.newAdditionalObject=function(){var c={objId:ln(),content:""};return bt.push(c),c},Ki=ln(),ri=ln(),mi=p.__private__.decodeColorString=function(c){var b=c.split(" ");if(b.length!==2||b[1]!=="g"&&b[1]!=="G")b.length!==5||b[4]!=="k"&&b[4]!=="K"||(b=[(1-b[0])*(1-b[3]),(1-b[1])*(1-b[3]),(1-b[2])*(1-b[3]),"r"]);else{var I=parseFloat(b[0]);b=[I,I,I,"r"]}for(var U="#",K=0;K<3;K++)U+=("0"+Math.floor(255*parseFloat(b[K])).toString(16)).slice(-2);return U},ai=p.__private__.encodeColorString=function(c){var b;typeof c=="string"&&(c={ch1:c});var I=c.ch1,U=c.ch2,K=c.ch3,ht=c.ch4,vt=c.pdfColorType==="draw"?["G","RG","K"]:["g","rg","k"];if(typeof I=="string"&&I.charAt(0)!=="#"){var Ft=new Mf(I);if(Ft.ok)I=Ft.toHex();else if(!/^\d*\.?\d*$/.test(I))throw new Error('Invalid color "'+I+'" passed to jsPDF.encodeColorString.')}if(typeof I=="string"&&/^#[0-9A-Fa-f]{3}$/.test(I)&&(I="#"+I[1]+I[1]+I[2]+I[2]+I[3]+I[3]),typeof I=="string"&&/^#[0-9A-Fa-f]{6}$/.test(I)){var Ct=parseInt(I.substr(1),16);I=Ct>>16&255,U=Ct>>8&255,K=255&Ct}if(U===void 0||ht===void 0&&I===U&&U===K)b=typeof I=="string"?I+" "+vt[0]:c.precision===2?S(I/255)+" "+vt[0]:O(I/255)+" "+vt[0];else if(ht===void 0||Le(ht)==="object"){if(ht&&!isNaN(ht.a)&&ht.a===0)return["1.","1.","1.",vt[1]].join(" ");b=typeof I=="string"?[I,U,K,vt[1]].join(" "):c.precision===2?[S(I/255),S(U/255),S(K/255),vt[1]].join(" "):[O(I/255),O(U/255),O(K/255),vt[1]].join(" ")}else b=typeof I=="string"?[I,U,K,ht,vt[2]].join(" "):c.precision===2?[S(I),S(U),S(K),S(ht),vt[2]].join(" "):[O(I),O(U),O(K),O(ht),vt[2]].join(" ");return b},si=p.__private__.getFilters=function(){return h},Xn=p.__private__.putStream=function(c){var b=(c=c||{}).data||"",I=c.filters||si(),U=c.alreadyAppliedFilters||[],K=c.addLength1||!1,ht=b.length,vt=c.objectId,Ft=function(Oe){return Oe};if(g!==null&&vt===void 0)throw new Error("ObjectId must be passed to putStream for file encryption");g!==null&&(Ft=dn.encryptor(vt,0));var Ct={};I===!0&&(I=["FlateEncode"]);var Xt=c.additionalKeyValues||[],ee=(Ct=Dt.API.processDataByFilters!==void 0?Dt.API.processDataByFilters(b,I):{data:b,reverseChain:[]}).reverseChain+(Array.isArray(U)?U.join(" "):U.toString());if(Ct.data.length!==0&&(Xt.push({key:"Length",value:Ct.data.length}),K===!0&&Xt.push({key:"Length1",value:ht})),ee.length!=0)if(ee.split("/").length-1==1)Xt.push({key:"Filter",value:ee});else{Xt.push({key:"Filter",value:"["+ee+"]"});for(var ge=0;ge<Xt.length;ge+=1)if(Xt[ge].key==="DecodeParms"){for(var en=[],ke=0;ke<Ct.reverseChain.split("/").length-1;ke+=1)en.push("null");en.push(Xt[ge].value),Xt[ge].value="["+en.join(" ")+"]"}}E("<<");for(var Se=0;Se<Xt.length;Se++)E("/"+Xt[Se].key+" "+Xt[Se].value);E(">>"),Ct.data.length!==0&&(E("stream"),E(Ft(Ct.data)),E("endstream"))},xr=p.__private__.putPage=function(c){var b=c.number,I=c.data,U=c.objId,K=c.contentsObjId;fn(U,!0),E("<</Type /Page"),E("/Parent "+c.rootDictionaryObjId+" 0 R"),E("/Resources "+c.resourceDictionaryObjId+" 0 R"),E("/MediaBox ["+parseFloat(X(c.mediaBox.bottomLeftX))+" "+parseFloat(X(c.mediaBox.bottomLeftY))+" "+X(c.mediaBox.topRightX)+" "+X(c.mediaBox.topRightY)+"]"),c.cropBox!==null&&E("/CropBox ["+X(c.cropBox.bottomLeftX)+" "+X(c.cropBox.bottomLeftY)+" "+X(c.cropBox.topRightX)+" "+X(c.cropBox.topRightY)+"]"),c.bleedBox!==null&&E("/BleedBox ["+X(c.bleedBox.bottomLeftX)+" "+X(c.bleedBox.bottomLeftY)+" "+X(c.bleedBox.topRightX)+" "+X(c.bleedBox.topRightY)+"]"),c.trimBox!==null&&E("/TrimBox ["+X(c.trimBox.bottomLeftX)+" "+X(c.trimBox.bottomLeftY)+" "+X(c.trimBox.topRightX)+" "+X(c.trimBox.topRightY)+"]"),c.artBox!==null&&E("/ArtBox ["+X(c.artBox.bottomLeftX)+" "+X(c.artBox.bottomLeftY)+" "+X(c.artBox.topRightX)+" "+X(c.artBox.topRightY)+"]"),typeof c.userUnit=="number"&&c.userUnit!==1&&E("/UserUnit "+c.userUnit),_e.publish("putPage",{objId:U,pageContext:Gt[b],pageNumber:b,page:I}),E("/Contents "+K+" 0 R"),E(">>"),E("endobj");var ht=I.join(`
45`);return z===Z&&(ht+=`
46Q`),fn(K,!0),Xn({data:ht,filters:si(),objectId:K}),E("endobj"),U},bi=p.__private__.putPages=function(){var c,b,I=[];for(c=1;c<=ce;c++)Gt[c].objId=ln(),Gt[c].contentsObjId=ln();for(c=1;c<=ce;c++)I.push(xr({number:c,data:Nt[c],objId:Gt[c].objId,contentsObjId:Gt[c].contentsObjId,mediaBox:Gt[c].mediaBox,cropBox:Gt[c].cropBox,bleedBox:Gt[c].bleedBox,trimBox:Gt[c].trimBox,artBox:Gt[c].artBox,userUnit:Gt[c].userUnit,rootDictionaryObjId:Ki,resourceDictionaryObjId:ri}));fn(Ki,!0),E("<</Type /Pages");var U="/Kids [";for(b=0;b<ce;b++)U+=I[b]+" 0 R ";E(U+"]"),E("/Count "+ce),E(">>"),E("endobj"),_e.publish("postPutPages")},Nr=function(c){_e.publish("putFont",{font:c,out:E,newObject:He,putStream:Xn}),c.isAlreadyPutted!==!0&&(c.objectNumber=He(),E("<<"),E("/Type /Font"),E("/BaseFont /"+Pa(c.postScriptName)),E("/Subtype /Type1"),typeof c.encoding=="string"&&E("/Encoding /"+c.encoding),E("/FirstChar 32"),E("/LastChar 255"),E(">>"),E("endobj"))},Xr=function(c){c.objectNumber=He();var b=[];b.push({key:"Type",value:"/XObject"}),b.push({key:"Subtype",value:"/Form"}),b.push({key:"BBox",value:"["+[X(c.x),X(c.y),X(c.x+c.width),X(c.y+c.height)].join(" ")+"]"}),b.push({key:"Matrix",value:"["+c.matrix.toString()+"]"});var I=c.pages[1].join(`
47`);Xn({data:I,additionalKeyValues:b,objectId:c.objectNumber}),E("endobj")},Jr=function(c,b){b||(b=21);var I=He(),U=function(vt,Ft){var Ct,Xt=[],ee=1/(Ft-1);for(Ct=0;Ct<1;Ct+=ee)Xt.push(Ct);
vendor: 8,369 bytes, line 47
47if(Xt.push(1),vt[0].offset!=0){var ge={offset:0,color:vt[0].color};vt.unshift(ge)}if(vt[vt.length-1].offset!=1){var en={offset:1,color:vt[vt.length-1].color};vt.push(en)}for(var ke="",Se=0,Oe=0;Oe<Xt.length;Oe++){for(Ct=Xt[Oe];Ct>vt[Se+1].offset;)Se++;var qe=vt[Se].offset,Ue=(Ct-qe)/(vt[Se+1].offset-qe),wn=vt[Se].color,qi=vt[Se+1].color;ke+=V(Math.round((1-Ue)*wn[0]+Ue*qi[0]).toString(16))+V(Math.round((1-Ue)*wn[1]+Ue*qi[1]).toString(16))+V(Math.round((1-Ue)*wn[2]+Ue*qi[2]).toString(16))}return ke.trim()}(c.colors,b),K=[];K.push({key:"FunctionType",value:"0"}),K.push({key:"Domain",value:"[0.0 1.0]"}),K.push({key:"Size",value:"["+b+"]"}),K.push({key:"BitsPerSample",value:"8"}),K.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),K.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),Xn({data:U,additionalKeyValues:K,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:I}),E("endobj"),c.objectNumber=He(),E("<< /ShadingType "+c.type),E("/ColorSpace /DeviceRGB");var ht="/Coords ["+X(parseFloat(c.coords[0]))+" "+X(parseFloat(c.coords[1]))+" ";c.type===2?ht+=X(parseFloat(c.coords[2]))+" "+X(parseFloat(c.coords[3])):ht+=X(parseFloat(c.coords[2]))+" "+X(parseFloat(c.coords[3]))+" "+X(parseFloat(c.coords[4]))+" "+X(parseFloat(c.coords[5])),E(ht+="]"),c.matrix&&E("/Matrix ["+c.matrix.toString()+"]"),E("/Function "+I+" 0 R"),E("/Extend [true true]"),E(">>"),E("endobj")},Qr=function(c,b){var I=ln(),U=He();b.push({resourcesOid:I,objectOid:U}),c.objectNumber=U;var K=[];K.push({key:"Type",value:"/Pattern"}),K.push({key:"PatternType",value:"1"}),K.push({key:"PaintType",value:"1"}),K.push({key:"TilingType",value:"1"}),K.push({key:"BBox",value:"["+c.boundingBox.map(X).join(" ")+"]"}),K.push({key:"XStep",value:X(c.xStep)}),K.push({key:"YStep",value:X(c.yStep)}),K.push({key:"Resources",value:I+" 0 R"}),c.matrix&&K.push({key:"Matrix",value:"["+c.matrix.toString()+"]"}),Xn({data:c.stream,additionalKeyValues:K,objectId:c.objectNumber}),E("endobj")},qo=function(c){for(var b in c.objectNumber=He(),E("<<"),c)switch(b){case"opacity":E("/ca "+S(c[b]));break;case"stroke-opacity":E("/CA "+S(c[b]))}E(">>"),E("endobj")},za=function(c){fn(c.resourcesOid,!0),E("<<"),E("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),function(){for(var b in E("/Font <<"),oe)oe.hasOwnProperty(b)&&(x===!1||x===!0&&L.hasOwnProperty(b))&&E("/"+b+" "+oe[b].objectNumber+" 0 R");E(">>")}(),function(){if(Object.keys(zt).length>0){for(var b in E("/Shading <<"),zt)zt.hasOwnProperty(b)&&zt[b]instanceof qr&&zt[b].objectNumber>=0&&E("/"+b+" "+zt[b].objectNumber+" 0 R");_e.publish("putShadingPatternDict"),E(">>")}}(),function(b){if(Object.keys(zt).length>0){for(var I in E("/Pattern <<"),zt)zt.hasOwnProperty(I)&&zt[I]instanceof p.TilingPattern&&zt[I].objectNumber>=0&&zt[I].objectNumber<b&&E("/"+I+" "+zt[I].objectNumber+" 0 R");_e.publish("putTilingPatternDict"),E(">>")}}(c.objectOid),function(){if(Object.keys(Yt).length>0){var b;for(b in E("/ExtGState <<"),Yt)Yt.hasOwnProperty(b)&&Yt[b].objectNumber>=0&&E("/"+b+" "+Yt[b].objectNumber+" 0 R");_e.publish("putGStateDict"),E(">>")}}(),function(){for(var b in E("/XObject <<"),vn)vn.hasOwnProperty(b)&&vn[b].objectNumber>=0&&E("/"+b+" "+vn[b].objectNumber+" 0 R");_e.publish("putXobjectDict"),E(">>")}(),E(">>"),E("endobj")},Fs=function(c){le[c.fontName]=le[c.fontName]||{},le[c.fontName][c.fontStyle]=c.id},Os=function(c,b,I,U,K){var ht={id:"F"+(Object.keys(oe).length+1).toString(10),postScriptName:c,fontName:b,fontStyle:I,encoding:U,isStandardFont:K||!1,metadata:{}};return _e.publish("addFont",{font:ht,instance:this}),oe[ht.id]=ht,Fs(ht),ht.id},Jn=p.__private__.pdfEscape=p.pdfEscape=function(c,b){return function(I,U){var K,ht,vt,Ft,Ct,Xt,ee,ge,en;if(vt=(U=U||{}).sourceEncoding||"Unicode",Ct=U.outputEncoding,(U.autoencode||Ct)&&oe[Rt].metadata&&oe[Rt].metadata[vt]&&oe[Rt].metadata[vt].encoding&&(Ft=oe[Rt].metadata[vt].encoding,!Ct&&oe[Rt].encoding&&(Ct=oe[Rt].encoding),!Ct&&Ft.codePages&&(Ct=Ft.codePages[0]),typeof Ct=="string"&&(Ct=Ft[Ct]),Ct)){for(ee=!1,Xt=[],K=0,ht=I.length;K<ht;K++)(ge=Ct[I.charCodeAt(K)])?Xt.push(String.fromCharCode(ge)):Xt.push(I[K]),Xt[K].charCodeAt(0)>>8&&(ee=!0);I=Xt.join("")}for(K=I.length;ee===void 0&&K!==0;)I.charCodeAt(K-1)>>8&&(ee=!0),K--;if(!ee)return I;for(Xt=U.noBOM?[]:[254,255],K=0,ht=I.length;K<ht;K++){if((en=(ge=I.charCodeAt(K))>>8)>>8)throw new Error("Character at position "+K+" of string '"+I+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");Xt.push(en),Xt.push(ge-(en<<8))}return String.fromCharCode.apply(void 0,Xt)}(c,b).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},Ha=p.__private__.beginPage=function(c){Nt[++ce]=[],Gt[ce]={objId:0,contentsObjId:0,userUnit:Number(l),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(c[0]),topRightY:Number(c[1])}},Rs(ce),qt(Nt[M])},Ts=function(c,b){var I,U,K;switch(e=b||e,typeof c=="string"&&(I=k(c.toLowerCase()),Array.isArray(I)&&(U=I[0],K=I[1])),Array.isArray(c)&&(U=c[0]*ie,K=c[1]*ie),isNaN(U)&&(U=r[0],K=r[1]),(U>14400||K>14400)&&(Pe.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),U=Math.min(14400,U),K=Math.min(14400,K)),r=[U,K],e.substr(0,1)){case"l":K>U&&(r=[K,U]);break;case"p":U>K&&(r=[K,U])}Ha(r),Ko($t),E(aa),Ya!==0&&E(Ya+" J"),Qi!==0&&E(Qi+" j"),_e.publish("addPage",{pageNumber:ce})},Wa=function(c){c>0&&c<=ce&&(Nt.splice(c,1),Gt.splice(c,1),ce--,M>ce&&(M=ce),this.setPage(M))},Rs=function(c){c>0&&c<=ce&&(M=c)},Ms=p.__private__.getNumberOfPages=p.getNumberOfPages=function(){return Nt.length-1},Bs=function(c,b,I){var U,K=void 0;return I=I||{},c=c!==void 0?c:oe[Rt].fontName,b=b!==void 0?b:oe[Rt].fontStyle,U=c.toLowerCase(),le[U]!==void 0&&le[U][b]!==void 0?K=le[U][b]:le[c]!==void 0&&le[c][b]!==void 0?K=le[c][b]:I.disableWarning===!1&&Pe.warn("Unable to look up font label for font '"+c+"', '"+b+"'. Refer to getFontList() for available fonts."),K||I.noFallback||(K=le.times[b])==null&&(K=le.times.normal),K},vi=p.__private__.putInfo=function(){var c=He(),b=function(U){return U};for(var I in g!==null&&(b=dn.encryptor(c,0)),E("<<"),E("/Producer ("+Jn(b("jsPDF "+Dt.version))+")"),ue)ue.hasOwnProperty(I)&&ue[I]&&E("/"+I.substr(0,1).toUpperCase()+I.substr(1)+" ("+Jn(b(ue[I]))+")");E("/CreationDate ("+Jn(b(rt))+")"),E(">>"),E("endobj")},ta=p.__private__.putCatalog=function(c){var b=(c=c||{}).rootDictionaryObjId||Ki;switch(He(),E("<<"),E("/Type /Catalog"),E("/Pages "+b+" 0 R"),Vt||(Vt="fullwidth"),Vt){case"fullwidth":E("/OpenAction [3 0 R /FitH null]");break;case"fullheight":E("/OpenAction [3 0 R /FitV null]");break;case"fullpage":E("/OpenAction [3 0 R /Fit]");break;case"original":E("/OpenAction [3 0 R /XYZ null null 1]");break;default:var I=""+Vt;I.substr(I.length-1)==="%"&&(Vt=parseInt(Vt)/100),typeof Vt=="number"&&E("/OpenAction [3 0 R /XYZ null null "+S(Vt)+"]")}switch(he||(he="continuous"),he){case"continuous":E("/PageLayout /OneColumn");break;case"single":E("/PageLayout /SinglePage");break;case"two":case"twoleft":E("/PageLayout /TwoColumnLeft");break;case"tworight":E("/PageLayout /TwoColumnRight")}Ut&&E("/PageMode /"+Ut),_e.publish("putCatalog"),E(">>"),E("endobj")},Uo=p.__private__.putTrailer=function(){E("trailer"),E("<<"),E("/Size "+($+1)),E("/Root "+$+" 0 R"),E("/Info "+($-1)+" 0 R"),g!==null&&E("/Encrypt "+dn.oid+" 0 R"),E("/ID [ <"+ct+"> <"+ct+"> ]"),E(">>")},tn=p.__private__.putHeader=function(){E("%PDF-"+T),E("%ºß¬à")},Ds=p.__private__.putXRef=function(){var c="0000000000";E("xref"),E("0 "+($+1)),E("0000000000 65535 f ");for(var b=1;b<=$;b++)typeof Q[b]=="function"?E((c+Q[b]()).slice(-10)+" 00000 n "):Q[b]!==void 0?E((c+Q[b]).slice(-10)+" 00000 n "):E("0000000000 00000 n ")},wi=p.__private__.buildDocument=function(){var c;$=0,ot=0,st=[],Q=[],bt=[],Ki=ln(),ri=ln(),qt(st),_e.publish("buildDocument"),tn(),bi(),function(){_e.publish("putAdditionalObjects");for(var I=0;I<bt.length;I++){var U=bt[I];fn(U.objId,!0),E(U.content),E("endobj")}_e.publish("postPutAdditionalObjects")}(),c=[],function(){for(var I in oe)oe.hasOwnProperty(I)&&(x===!1||x===!0&&L.hasOwnProperty(I))&&Nr(oe[I])}(),function(){var I;for(I in Yt)Yt.hasOwnProperty(I)&&qo(Yt[I])}(),function(){for(var I in vn)vn.hasOwnProperty(I)&&Xr(vn[I])}(),function(I){var U;for(U in zt)zt.hasOwnProperty(U)&&(zt[U]instanceof qr?Jr(zt[U]):zt[U]instanceof Ea&&Qr(zt[U],I))}
47(c),_e.publish("putResources"),c.forEach(za),za({resourcesOid:ri,objectOid:Number.MAX_SAFE_INTEGER}),_e.publish("postPutResources"),g!==null&&(dn.oid=He(),E("<<"),E("/Filter /Standard"),E("/V "+dn.v),E("/R "+dn.r),E("/U <"+dn.toHexString(dn.U)+">"),E("/O <"+dn.toHexString(dn.O)+">"),E("/P "+dn.P),E(">>"),E("endobj")),vi(),ta();var b=ot;return Ds(),Uo(),E("startxref"),E(""+b),E("%%EOF"),qt(Nt[M]),st.join(`
48`)},ea=p.__private__.getBlob=function(c){return new Blob([se(c)],{type:"application/pdf"})},Va=function(c){for(;c.firstChild;)c.removeChild(c.firstChild)},Bn=function(c){var b,I=c.document,U=I.documentElement,K=I.head,ht=I.body;return K||(K=I.createElement("head"),U.appendChild(K)),ht||(ht=I.createElement("body"),U.appendChild(ht)),Va(K),Va(ht),(b=I.createElement("style")).appendChild(I.createTextNode("html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;}")),K.appendChild(b),{document:I,body:ht}},na=p.output=p.__private__.output=(Kn=function(c,b){switch(typeof(b=b||{})=="string"?b={filename:b}:b.filename=b.filename||"generated.pdf",c){case void 0:return wi();case"save":p.save(b.filename);break;case"arraybuffer":return se(wi());case"blob":return ea(wi());case"bloburi":case"bloburl":if(Kt.URL!==void 0&&typeof Kt.URL.createObjectURL=="function")return Kt.URL&&Kt.URL.createObjectURL(ea(wi()))||void 0;Pe.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var I="",U=wi();try{I=vu(U)}catch{I=vu(unescape(encodeURIComponent(U)))}return"data:application/pdf;filename="+encodeURIComponent(b.filename)+";base64,"+I;case"pdfobjectnewwindow":if(Object.prototype.toString.call(Kt)==="[object Window]"){var K="https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js",ht=!b.pdfObjectUrl;ht||(K=b.pdfObjectUrl);var vt=Kt.open();if(vt!==null){var Ft=Bn(vt),Ct=Ft.document.createElement("script"),Xt=this;Ct.src=K,ht&&(Ct.integrity="sha512-4ze/a9/4jqu+tX9dfOqJYSvyYd5M6qum/3HpCLr+/Jqf0whc37VUbkpNGHR7/8pSnCFw47T1fmIpwBV7UySh3g==",Ct.crossOrigin="anonymous"),Ct.onload=function(){vt.PDFObject.embed(Xt.output("dataurlstring"),b)},Ft.body.appendChild(Ct)}return vt}throw new Error("The option pdfobjectnewwindow just works in a browser-environment.");case"pdfjsnewwindow":if(Object.prototype.toString.call(Kt)==="[object Window]"){var ee=b.pdfJsUrl||"examples/PDF.js/web/viewer.html",ge=Kt.open();if(ge!==null){var en=Bn(ge),ke=en.document.createElement("iframe"),Se=ee.indexOf("?")===-1?"?":"&";Xt=this,ke.id="pdfViewer",ke.width="500px",ke.height="400px",ke.src=ee+Se+"file=&downloadName="+encodeURIComponent(b.filename),ke.onload=function(){ge.document.title=b.filename,ke.contentWindow.PDFViewerApplication.open(Xt.output("bloburl"))},en.body.appendChild(ke)}return ge}throw new Error("The option pdfjsnewwindow just works in a browser-environment.");case"dataurlnewwindow":if(Object.prototype.toString.call(Kt)!=="[object Window]")throw new Error("The option dataurlnewwindow just works in a browser-environment.");var Oe=Kt.open();if(Oe!==null){var qe=Bn(Oe),Ue=qe.document.createElement("iframe");Ue.src=this.output("datauristring",b),qe.body.appendChild(Ue),Oe.document.title=b.filename}if(Oe||typeof safari>"u")return Oe;break;case"datauri":case"dataurl":return Kt.document.location.href=this.output("datauristring",b);default:return null}},Kn.foo=function(){try{return Kn.apply(this,arguments)}catch(I){var c=I.stack||"";~c.indexOf(" at ")&&(c=c.split(" at ")[1]);var b="Error in function "+c.split(`
49`)[0].split("<")[0]+": "+I.message;if(!Kt.console)throw new Error(b);Kt.console.error(b,I),Kt.alert&&alert(b)}},Kn.foo.bar=Kn,Kn.foo),Ti=function(c){return Array.isArray(yr)===!0&&yr.indexOf(c)>-1};switch(i){case"pt":ie=1;break;case"mm":ie=72/25.4;break;case"cm":ie=72/2.54;break;case"in":ie=72;break;case"px":ie=Ti("px_scaling")==1?.75:96/72;break;case"pc":case"em":ie=12;break;case"ex":ie=6;break;default:if(typeof i!="number")throw new Error("Invalid unit: "+i);ie=i}var dn=null;yt(),it();var qs=p.__private__.getPageInfo=p.getPageInfo=function(c){if(isNaN(c)||c%1!=0)throw new Error("Invalid argument passed to 
49jsPDF.getPageInfo");return{objId:Gt[c].objId,pageNumber:c,pageContext:Gt[c]}},zo=p.__private__.getPageInfoByObjId=function(c){if(isNaN(c)||c%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfoByObjId");for(var b in Gt)if(Gt[b].objId===c)break;return qs(b)},Ho=p.__private__.getCurrentPageInfo=p.getCurrentPageInfo=function(){return{objId:Gt[M].objId,pageNumber:M,pageContext:Gt[M]}};p.addPage=function(){return Ts.apply(this,arguments),this},p.setPage=function(){return Rs.apply(this,arguments),qt.call(this,Nt[M]),this},p.insertPage=function(c){return this.addPage(),this.movePage(M,c),this},p.movePage=function(c,b){var I,U;if(c>b){I=Nt[c],U=Gt[c];for(var K=c;K>b;K--)Nt[K]=Nt[K-1],Gt[K]=Gt[K-1];Nt[b]=I,Gt[b]=U,this.setPage(b)}else if(c<b){I=Nt[c],U=Gt[c];for(var ht=c;ht<b;ht++)Nt[ht]=Nt[ht+1],Gt[ht]=Gt[ht+1];Nt[b]=I,Gt[b]=U,this.setPage(b)}return this},p.deletePage=function(){return Wa.apply(this,arguments),this},p.__private__.text=p.text=function(c,b,I,U,K){var ht,vt,Ft,Ct,Xt,ee,ge,en,ke,Se=(U=U||{}).scope||this;if(typeof c=="number"&&typeof b=="number"&&(typeof I=="string"||Array.isArray(I))){var Oe=I;I=b,b=c,c=Oe}if(arguments[3]instanceof Zt==0?(Ft=arguments[4],Ct=arguments[5],Le(ge=arguments[3])==="object"&&ge!==null||(typeof Ft=="string"&&(Ct=Ft,Ft=null),typeof ge=="string"&&(Ct=ge,ge=null),typeof ge=="number"&&(Ft=ge,ge=null),U={flags:ge,angle:Ft,align:Ct})):(B("The transform parameter of text() with a Matrix value"),ke=K),isNaN(b)||isNaN(I)||c==null)throw new Error("Invalid arguments passed to jsPDF.text");if(c.length===0)return Se;var qe,Ue="",wn=typeof U.lineHeightFactor=="number"?U.lineHeightFactor:Ar,qi=Se.internal.scaleFactor;function Ja(Ie){return Ie=Ie.split("	").join(Array(U.TabLen||9).join(" ")),Jn(Ie,ge)}function kr(Ie){for(var Ce,Ye=Ie.concat(),rn=[],zi=Ye.length;zi--;)typeof(Ce=Ye.shift())=="string"?rn.push(Ce):Array.isArray(Ie)&&(Ce.length===1||Ce[1]===void 0&&Ce[2]===void 0)?rn.push(Ce[0]):rn.push([Ce[0],Ce[1],Ce[2]]);return rn}function jr(Ie,Ce){var Ye;if(typeof Ie=="string")Ye=Ce(Ie)[0];else if(Array.isArray(Ie)){for(var rn,zi,rs=Ie.concat(),ba=[],Ks=rs.length;Ks--;)typeof(rn=rs.shift())=="string"?ba.push(Ce(rn)[0]):Array.isArray(rn)&&typeof rn[0]=="string"&&(zi=Ce(rn[0],rn[1],rn[2]),ba.push([zi[0],zi[1],zi[2]]));Ye=ba}return Ye}var tr=!1,Pr=!0;if(typeof c=="string")tr=!0;else if(Array.isArray(c)){var ca=c.concat();vt=[];for(var ha,yn=ca.length;yn--;)(typeof(ha=ca.shift())!="string"||Array.isArray(ha)&&typeof ha[0]!="string")&&(Pr=!1);tr=Pr}if(tr===!1)throw new Error('Type of text must be string or Array. "'+c+'" is not recognized.');typeof c=="string"&&(c=c.match(/[\r?\n]/)?c.split(/\r\n|\r|\n/g):[c]);var Er=_t/Se.internal.scaleFactor,Ir=Er*(wn-1);switch(U.baseline){case"bottom":I-=Ir;break;case"top":I+=Er-Ir;break;case"hanging":I+=Er-2*Ir;break;case"middle":I+=Er/2-Ir}if((ee=U.maxWidth||0)>0&&(typeof c=="string"?c=Se.splitTextToSize(c,ee):Object.prototype.toString.call(c)==="[object Array]"&&(c=c.reduce(function(Ie,Ce){return Ie.concat(Se.splitTextToSize(Ce,ee))},[]))),ht={text:c,x:b,y:I,options:U,mutex:{pdfEscape:Jn,activeFontKey:Rt,fonts:oe,activeFontSize:_t}},_e.publish("preProcessText",ht),c=ht.text,Ft=(U=ht.options).angle,ke instanceof Zt==0&&Ft&&typeof Ft=="number"){Ft*=Math.PI/180,U.rotationDirection===0&&(Ft=-Ft),z===Z&&(Ft=-Ft);var Qa=Math.cos(Ft),xi=Math.sin(Ft);ke=new Zt(Qa,xi,-xi,Qa,0,0)}else Ft&&Ft instanceof Zt&&(ke=Ft);z!==Z||ke||(ke=Oi),(Xt=U.charSpace||sa)!==void 0&&(Ue+=X(W(Xt))+` Tc
50`,this.setCharSpace(this.getCharSpace()||0)),(en=U.horizontalScale)!==void 0&&(Ue+=X(100*en)+` Tz
51`),U.lang;var kn=-1,Ys=U.renderingMode!==void 0?U.renderingMode:U.stroke,ua=Se.internal.getCurrentPageInfo().pageContext;switch(Ys){case 0:case!1:case"fill":kn=0;break;case 1:case!0:case"stroke":kn=1;break;case 2:case"fillThenStroke":kn=2;break;case 3:case"invisible":kn=3;break;case 4:case"fillAndAddForClipping":kn=4;break;case 5:case"strokeAndAddPathForClipping":kn=5;break;case 6:case"fillThenStrokeAndAddToPathForClipping":kn=6;break;case 7:case"addToPathForClipping":kn=7}var $s=ua.usedRenderingMode!==void 0?ua.usedRenderingMode:-1;kn!==-1?Ue+=kn+` Tr
52`:$s!==-1&&(Ue+=`0 Tr
53`),kn!==-1&&(ua.usedRenderingMode=kn),Ct=U.align||"left";var Qn,Cr=_t*wn,ts=Se.internal.pageSize.getWidth(),fa=oe[Rt];Xt=U.charSpace||sa,ee=U.maxWidth||0,ge=Object.assign({autoencode:!0,noBOM:!0},U.flags);var Fr=[],es=function(Ie){return Se.getStringUnitWidth(Ie,{font:fa,charSpace:Xt,fontSize:_t,doKerning:!1})*_t/qi};if(Object.prototype.toString.call(c)==="[object Array]"){var jn;vt=kr(c),Ct!=="left"&&(Qn=vt.map(es));var Fn,da=0;if(Ct==="right"){b-=Qn[0],c=[],yn=vt.length;for(var er=0;er<yn;er++)er===0?(Fn=Ri(b),jn=Mi(I)):(Fn=W(da-Qn[er]),jn=-Cr),c.push([vt[er],Fn,jn]),da=Qn[er]}else if(Ct==="center"){b-=Qn[0]/2,c=[],yn=vt.length;for(var nr=0;nr<yn;nr++)nr===0?(Fn=Ri(b),jn=Mi(I)):(Fn=W((da-Qn[nr])/2),jn=-Cr),c.push([vt[nr],Fn,jn]),da=Qn[nr]}else if(Ct==="left"){c=[],yn=vt.length;for(var pa=0;pa<yn;pa++)c.push(vt[pa])}else if(Ct==="justify"&&fa.encoding==="Identity-H"){c=[],yn=vt.length,ee=ee!==0?ee:ts;for(var Or=0,nn=0;nn<yn;nn++)if(jn=nn===0?Mi(I):-Cr,Fn=nn===0?Ri(b):Or,nn<yn-1){var rl=W((ee-Qn[nn])/(vt[nn].split(" ").length-1)),Ni=vt[nn].split(" ");c.push([Ni[0]+" ",Fn,jn]),Or=0;for(var oi=1;oi<Ni.length;
vendor: 4,264 bytes, lines 53-63
53oi++){var Tr=(es(Ni[oi-1]+" "+Ni[oi])-es(Ni[oi]))*qi+rl;oi==Ni.length-1?c.push([Ni[oi],Tr,0]):c.push([Ni[oi]+" ",Tr,0]),Or-=Tr}}else c.push([vt[nn],Fn,jn]);c.push(["",Or,0])}else{if(Ct!=="justify")throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');for(c=[],yn=vt.length,ee=ee!==0?ee:ts,nn=0;nn<yn;nn++){jn=nn===0?Mi(I):-Cr,Fn=nn===0?Ri(b):0;var ns=vt[nn].split(" ").length-1,is=ns>0?(ee-Qn[nn])/ns:0;nn<yn-1?Fr.push(X(W(is))):Fr.push(0),c.push([vt[nn],Fn,jn])}}}(typeof U.R2L=="boolean"?U.R2L:Ht)===!0&&(c=jr(c,function(Ie,Ce,Ye){return[Ie.split("").reverse().join(""),Ce,Ye]})),ht={text:c,x:b,y:I,options:U,mutex:{pdfEscape:Jn,activeFontKey:Rt,fonts:oe,activeFontSize:_t}},_e.publish("postProcessText",ht),c=ht.text,qe=ht.mutex.isHex||!1;var ga=oe[Rt].encoding;ga!=="WinAnsiEncoding"&&ga!=="StandardEncoding"||(c=jr(c,function(Ie,Ce,Ye){return[Ja(Ie),Ce,Ye]})),vt=kr(c),c=[];for(var Rr,Mr,ir,Ui=Array.isArray(vt[0])?1:0,rr="",ma=function(Ie,Ce,Ye){var rn="";return Ye instanceof Zt?(Ye=typeof U.angle=="number"?Fi(Ye,new Zt(1,0,0,1,Ie,Ce)):Fi(new Zt(1,0,0,1,Ie,Ce),Ye),z===Z&&(Ye=Fi(new Zt(1,0,0,-1,0,0),Ye)),rn=Ye.join(" ")+` Tm
54`):rn=X(Ie)+" "+X(Ce)+` Td
55`,rn},_n=0;_n<vt.length;_n++){switch(rr="",Ui){case 1:ir=(qe?"<":"(")+vt[_n][0]+(qe?">":")"),Rr=parseFloat(vt[_n][1]),Mr=parseFloat(vt[_n][2]);break;case 0:ir=(qe?"<":"(")+vt[_n]+(qe?">":")"),Rr=Ri(b),Mr=Mi(I)}Fr!==void 0&&Fr[_n]!==void 0&&(rr=Fr[_n]+` Tw
56`),_n===0?c.push(rr+ma(Rr,Mr,ke)+ir):Ui===0?c.push(rr+ir):Ui===1&&c.push(rr+ma(Rr,Mr,ke)+ir)}c=Ui===0?c.join(` Tj
57T* `):c.join(` Tj
58`),c+=` Tj
59`;var Ai=`BT
60/`;return Ai+=Rt+" "+_t+` Tf
61`,Ai+=X(_t*wn)+` TL
62`,Ai+=_i+`
63`,Ai+=Ue,Ai+=c,E(Ai+="ET"),L[Rt]=!0,Se};var Wo=p.__private__.clip=p.clip=function(c){return E(c==="evenodd"?"W*":"W"),this};p.clipEvenOdd=function(){return Wo("evenodd")},p.__private__.discardPath=p.discardPath=function(){return E("n"),this};var yi=p.__private__.isValidStyle=function(c){var b=!1;return[void 0,null,"S","D","F","DF","FD","f","f*","B","B*","n"].indexOf(c)!==-1&&(b=!0),b};p.__private__.setDefaultPathOperation=p.setDefaultPathOperation=function(c){return yi(c)&&(d=c),this};var Us=p.__private__.getStyle=p.getStyle=function(c){var b=d;switch(c){case"D":case"S":b="S";break;case"F":b="f";break;case"FD":case"DF":b="B";break;case"f":case"f*":case"B":case"B*":b=c}return b},ia=p.close=function(){return E("h"),this};p.stroke=function(){return E("S"),this},p.fill=function(c){return ra("f",c),this},p.fillEvenOdd=function(c){return ra("f*",c),this},p.fillStroke=function(c){return ra("B",c),this},p.fillStrokeEvenOdd=function(c){return ra("B*",c),this};var ra=function(c,b){Le(b)==="object"?Go(b,c):E(c)},Ga=function(c){c===null||z===Z&&c===void 0||(c=Us(c),E(c))};function Vo(c,b,I,U,K){var ht=new Ea(b||this.boundingBox,I||this.xStep,U||this.yStep,this.gState,K||this.matrix);ht.stream=this.stream;var vt=c+"$$"+this.cloneIndex+++"$$";return $n(vt,ht),ht}var Go=function(c,b){var I=Ee[c.key],U=zt[I];if(U instanceof qr)E("q"),E(Zo(b)),U.gState&&p.setGState(U.gState),E(c.matrix.toString()+" cm"),E("/"+I+" sh"),E("Q");else if(U instanceof Ea){var K=new Zt(1,0,0,-1,0,Sr());c.matrix&&(K=K.multiply(c.matrix||Oi),I=Vo.call(U,c.key,c.boundingBox,c.xStep,c.yStep,K).id),E("q"),E("/Pattern cs"),E("/"+I+" scn"),U.gState&&p.setGState(U.gState),E(b),E("Q")}},Zo=function(c){switch(c){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"}},Xi=p.moveTo=function(c,b){return E(X(W(c))+" "+X(H(b))+" m"),this},zs=p.lineTo=function(c,b){return E(X(W(c))+" "+X(H(b))+" l"),this},Ji=p.curveTo=function(c,b,I,U,K,ht){return E([X(W(c)),X(H(b)),X(W(I)),X(H(U)),X(W(K)),X(H(ht)),"c"].join(" ")),this};p.__private__.line=p.line=function(c,b,I,U,K){if(isNaN(c)||isNaN(b)||isNaN(I)||isNaN(U)||!yi(K))throw new Error("Invalid arguments passed to jsPDF.line");return z===D?this.lines([[I-c,U-b]],c,b,[1,1],K||"S"):this.lines([[I-c,U-b]],c,b,[1,1]).stroke()},p.__private__.lines=p.lines=function(c,b,I,U,K,ht){var vt,Ft,Ct,Xt,ee,ge,en,ke,Se,Oe,qe,Ue;if(typeof c=="number"&&(Ue=I,I=b,b=c,c=Ue),U=U||[1,1],ht=ht||!1,isNaN(b)||isNaN(I)||!Array.isArray(c)||!Array.isArray(U)||!yi(K)||typeof ht!="boolean")throw new Error("Invalid arguments passed to 
63jsPDF.lines");for(Xi(b,I),vt=U[0],Ft=U[1],Xt=c.length,Oe=b,qe=I,Ct=0;Ct<Xt;Ct++)(ee=c[Ct]).length===2?(Oe=ee[0]*vt+Oe,qe=ee[1]*Ft+qe,zs(Oe,qe)):(ge=ee[0]*vt+Oe,en=ee[1]*Ft+qe,ke=ee[2]*vt+Oe,Se=ee[3]*Ft+qe,Oe=ee[4]*vt+Oe,qe=ee[5]*Ft+qe,Ji(ge,en,ke,Se,Oe,qe));return ht&&ia(),Ga(K),this},p.path=function(c){for(var b=0;b<c.length;b++){var I=c[b],U=I.c;switch(I.op){case"m":Xi(U[0],U[1]);break;case"l":zs(U[0],U[1]);break;case"c":Ji.apply(this,U);break;case"h":ia()}}return this},p.__private__.rect=p.rect=function(c,b,I,U,K){if(isNaN(c)||isNaN(b)||isNaN(I)||isNaN(U)||!yi(K))throw new Error("Invalid arguments passed to jsPDF.rect");return z===D&&(U=-U),E([X(W(c)),X(H(b)),X(W(I)),X(W(U)),"re"].join(" ")),Ga(K),this},p.__private__.triangle=p.triangle=function(c,b,I,U,K,ht,vt){if(isNaN(c)||isNaN(b)||isNaN(I)||isNaN(U)||isNaN(K)||isNaN(ht)||!yi(vt))throw new Error("Invalid arguments passed to jsPDF.triangle");return this.lines([[I-c,U-b],[K-I,ht-U],[c-K,b-ht]],c,b,[1,1],vt,!0),this},p.__private__.roundedRect=p.roundedRect=function(c,b,I,U,K,ht,vt){if(isNaN(c)||isNaN(b)||isNaN(I)||isNaN(U)||isNaN(K)||isNaN(ht)||!yi(vt))throw new Error("Invalid arguments passed to jsPDF.roundedRect");var Ft=4/3*(Math.SQRT2-1);return K=Math.min(K,.5*I),ht=Math.min(ht,.5*U),this.lines([[I-2*K,0],[K*Ft,0,K,ht-ht*Ft,K,ht],[0,U-2*ht],[0,ht*Ft,-K*Ft,ht,-K,ht],[2*K-I,0],[-K*Ft,0,-K,-ht*Ft,-K,-ht],[0,2*ht-U],[0,-ht*Ft,K*Ft,-ht,K,-ht]],c+K,b,[1,1],vt,!0),this},p.__private__.ellipse=p.ellipse=function(c,b,I,U,K){if(isNaN(c)||isNaN(b)||isNaN(I)||isNaN(U)||!yi(K))throw new Error("Invalid arguments passed to jsPDF.ellipse");var ht=4/3*(Math.SQRT2-1)*I,vt=4/3*(Math.SQRT2-1)*U;return Xi(c+I,b),Ji(c+I,b-vt,c+ht,b-U,c,b-U),Ji(c-ht,b-U,c-I,b-vt,c-I,b),Ji(c-I,b+vt,c-ht,b+U,c,b+U),Ji(c+ht,b+U,c+I,b+vt,c+I,b),Ga(K),this},p.__private__.circle=p.circle=function(c,b,I,U){if(isNaN(c)||isNaN(b)||isNaN(I)||!yi(U))throw new Error("Invalid arguments passed to jsPDF.circle");return this.ellipse(c,b,I,I,U)},p.setFont=function(c,b,I){return I&&(b=lt(b,I)),Rt=Bs(c,b,{disableWarning:!1}),this};var Yo=p.__private__.getFont=p.getFont=function(){return oe[Bs.apply(p,arguments)]};p.__private__.getFontList=p.getFontList=function(){var c,b,I={};for(c in le)if(le.hasOwnProperty(c))for(b in I[c]=[],le[c])le[c].hasOwnProperty(b)&&I[c].push(b);return I},p.addFont=function(c,b,I,U,K){var ht=["StandardEncoding","MacRomanEncoding","Identity-H","WinAnsiEncoding"];return arguments[3]&&ht.indexOf(arguments[3])!==-1?K=arguments[3]:arguments[3]&&ht.indexOf(arguments[3])==-1&&(I=lt(I,U)),Os.call(this,c,b,I,K=K||"Identity-H")};var Ar,$t=t.lineWidth||.200025,$o=p.__private__.getLineWidth=p.getLineWidth=function(){return $t},Ko=p.__private__.setLineWidth=p.setLineWidth=function(c){return $t=c,E(X(W(c))+" w"),this};p.__private__.setLineDash=Dt.API.setLineDash=Dt.API.setLineDashPattern=function(c,b){if(c=c||[],b=b||0,isNaN(b)||!Array.isArray(c))throw new Error("Invalid arguments passed to jsPDF.setLineDash");return c=c.map(function(I){return X(W(I))}).join(" "),b=X(W(b)),E("["+c+"] "+b+" d"),this};var Xo=p.__private__.getLineHeight=p.getLineHeight=function(){return _t*Ar};p.__private__.getLineHeight=p.getLineHeight=function(){return _t*Ar};var Jo=p.__private__.setLineHeightFactor=p.setLineHeightFactor=function(c){return typeof(c=c||1.15)=="number"&&(Ar=c),this},Qo=p.__private__.getLineHeightFactor=p.getLineHeightFactor=function(){return Ar};Jo(t.lineHeight);var Ri=p.__private__.getHorizontalCoordinate=function(c){return W(c)},Mi=p.__private__.getVerticalCoordinate=function(c){return z===Z?c:Gt[M].mediaBox.topRightY-Gt[M].mediaBox.bottomLeftY-W(c)},tl=p.__private__.getHorizontalCoordinateString=p.getHorizontalCoordinateString=function(c){return X(Ri(c))},el=p.__private__.getVerticalCoordinateString=p.getVerticalCoordinateString=function(c){return X(Mi(c))},aa=t.strokeColor||"0 G";p.__private__.getStrokeColor=p.getDrawColor=function(){return mi(aa)},p.__private__.setStrokeColor=p.setDrawColor=function(c,b,I,U){return aa=ai({ch1:c,ch2:b,ch3:I,ch4:U,pdfColorType:"draw",precision:2}),E(aa),this};var Za=t.fillColor||"0 g";p.__private__.getFillColor=p.getFillColor=function(){return mi(Za)},p.__private__.setFillColor=p.setFillColor=function(c,b,I,U){return Za=ai({ch1:c,ch2:b,ch3:I,ch4:U,pdfColorType:"fill",precision:2}),E(Za),this};var _i=t.textColor||"0 g",nl=p.__private__.getTextColor=p.getTextColor=function(){return mi(_i)};p.__private__.setTextColor=p.setTextColor=function(c,b,I,U){return _i=ai({ch1:c,ch2:b,ch3:I,ch4:U,pdfColorType:"text",precision:3}),this};var sa=t.charSpace,il=p.__private__.getCharSpace=p.getCharSpace=function(){return parseFloat(sa||0)};p.__private__.setCharSpace=p.setCharSpace=function(c){if(isNaN(c))throw new Error("Invalid argument passed to 
63jsPDF.setCharSpace");return sa=c,this};var Ya=0;p.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},p.__private__.setLineCap=p.setLineCap=function(c){var b=p.CapJoinStyles[c];if(b===void 0)throw new Error("Line cap style of '"+c+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return Ya=b,E(b+" J"),this};var Qi=0;p.__private__.setLineJoin=p.setLineJoin=function(c){var b=p.CapJoinStyles[c];if(b===void 0)throw new Error("Line join style of '"+c+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return Qi=b,E(b+" j"),this},p.__private__.setLineMiterLimit=p.__private__.setMiterLimit=p.setLineMiterLimit=p.setMiterLimit=function(c){if(c=c||0,isNaN(c))throw new Error("Invalid argument passed to jsPDF.setLineMiterLimit");return E(X(W(c))+" M"),this},p.GState=Oo,p.setGState=function(c){(c=typeof c=="string"?Yt[te[c]]:$a(null,c)).equals(Be)||(E("/"+c.id+" gs"),Be=c)};var $a=function(c,b){if(!c||!te[c]){var I=!1;for(var U in Yt)if(Yt.hasOwnProperty(U)&&Yt[U].equals(b)){I=!0;break}if(I)b=Yt[U];else{var K="GS"+(Object.keys(Yt).length+1).toString(10);Yt[K]=b,b.id=K}return c&&(te[c]=b.id),_e.publish("addGState",b),b}};p.addGState=function(c,b){return $a(c,b),this},p.saveGraphicsState=function(){return E("q"),Me.push({key:Rt,size:_t,color:_i}),this},p.restoreGraphicsState=function(){E("Q");var c=Me.pop();return Rt=c.key,_t=c.size,_i=c.color,Be=null,this},p.setCurrentTransformationMatrix=function(c){return E(c.toString()+" cm"),this},p.comment=function(c){return E("#"+c),this};var Lr=function(c,b){var I=c||0;Object.defineProperty(this,"x",{enumerable:!0,get:function(){return I},set:function(ht){isNaN(ht)||(I=parseFloat(ht))}});var U=b||0;Object.defineProperty(this,"y",{enumerable:!0,get:function(){return U},set:function(ht){isNaN(ht)||(U=parseFloat(ht))}});var K="pt";return Object.defineProperty(this,"type",{enumerable:!0,get:function(){return K},set:function(ht){K=ht.toString()}}),this},Ka=function(c,b,I,U){Lr.call(this,c,b),this.type="rect";var K=I||0;Object.defineProperty(this,"w",{enumerable:!0,get:function(){return K},set:function(vt){isNaN(vt)||(K=parseFloat(vt))}});var ht=U||0;return Object.defineProperty(this,"h",{enumerable:!0,get:function(){return ht},set:function(vt){isNaN(vt)||(ht=parseFloat(vt))}}),this},oa=function(){this.page=ce,this.currentPage=M,this.pages=Nt.slice(0),this.pagesContext=Gt.slice(0),this.x=Bt,this.y=Ze,this.matrix=be,this.width=Hs(M),this.height=Di(M),this.outputDestination=kt,this.id="",this.objectNumber=-1};oa.prototype.restore=function(){ce=this.page,M=this.currentPage,Gt=this.pagesContext,Nt=this.pages,Bt=this.x,Ze=this.y,be=this.matrix,Bi(M,this.width),Ws(M,this.height),kt=this.outputDestination};var Xa=function(c,b,I,U,K){gi.push(new oa),ce=M=0,Nt=[],Bt=c,Ze=b,be=K,Ha([I,U])};for(var la in p.beginFormObject=function(c,b,I,U,K){return Xa(c,b,I,U,K),this},p.endFormObject=function(c){return function(b){if(Ci[b])gi.pop().restore();else{var I=new oa,U="Xo"+(Object.keys(vn).length+1).toString(10);I.id=U,Ci[b]=U,vn[U]=I,_e.publish("addFormObject",I),gi.pop().restore()}}(c),this},p.doFormObject=function(c,b){var I=vn[Ci[c]];return E("q"),E(b.toString()+" cm"),E("/"+I.id+" Do"),E("Q"),this},p.getFormObject=function(c){var b=vn[Ci[c]];return{x:b.x,y:b.y,width:b.width,height:b.height,matrix:b.matrix}},p.save=function(c,b){return c=c||"generated.pdf",(b=b||{}).returnPromise=b.returnPromise||!1,b.returnPromise===!1?(Dr(ea(wi()),c),typeof Dr.unload=="function"&&Kt.setTimeout&&setTimeout(Dr.unload,911),this):new Promise(function(I,U){try{var K=Dr(ea(wi()),c);typeof Dr.unload=="function"&&Kt.setTimeout&&setTimeout(Dr.unload,911),I(K)}catch(ht){U(ht.message)}})},Dt.API)Dt.API.hasOwnProperty(la)&&(la==="events"&&Dt.API.events.length?function(c,b){var I,U,K;for(K=b.length-1;K!==-1;K--)I=b[K][0],U=b[K][1],c.subscribe.apply(c,[I].concat(typeof U=="function"?[U]:U))}(_e,Dt.API.events):p[la]=Dt.API[la]);function Hs(c){return Gt[c].mediaBox.topRightX-Gt[c].mediaBox.bottomLeftX}function Bi(c,b){Gt[c].mediaBox.topRightX=b+Gt[c].mediaBox.bottomLeftX}function Di(c){return Gt[c].mediaBox.topRightY-Gt[c].mediaBox.bottomLeftY}function Ws(c,b){Gt[c].mediaBox.topRightY=b+Gt[c].mediaBox.bottomLeftY}var Vs=p.getPageWidth=function(c){return Hs(c=c||M)/ie},Gs=p.setPageWidth=function(c,b){Bi(c,b*ie)},Sr=p.getPageHeight=function(c){return Di(c=c||M)/ie},Zs=p.setPageHeight=function(c,b){Ws(c,b*ie)};return p.internal={pdfEscape:Jn,getStyle:Us,getFont:Yo,getFontSize:Et,getCharSpace:il,getTextColor:nl,getLineHeight:Xo,getLineHeightFactor:Qo,getLineWidth:$o,write:St,getHorizontalCoordinate:Ri,getVerticalCoordinate:Mi,getCoordinateString:tl,getVerticalCoordinateString:el,collections:{},newObject:He,newAdditionalObject:_r,newObjectDeferred:ln,newObjectDeferredBegin:fn,getFilters:si,putStream:Xn,events:_e,scaleFactor:ie,pageSize:{getWidth:function(){return Vs(M)},setWidth:function(c){Gs(M,c)},getHeight:function(){return Sr(M)},setHeight:function(c){Zs(M,c)}},encryptionOptions:g,encryption:dn,getEncryptor:function(c){return g!==null?dn.encryptor(c,0):function(b){return b}},output:na,getNumberOfPages:Ms,get pages(){return Nt},out:E,f2:S,f3:O,getPageInfo:qs,getPageInfoByObjId:zo,getCurrentPageInfo:Ho,getPDFVersion:P,Point:Lr,Rectangle:Ka,Matrix:Zt,hasHotfix:Ti},Object.defineProperty(p.internal.pageSize,"width",{get:function(){return Vs(M)},set:function(c){Gs(M,c)},enumerable:!0,configurable:!0}),Object.defineProperty(p.internal.pageSize,"height",{get:function(){return Sr(M)},set:function(c){Zs(M,c)},enumerable:!0,configurable:!0}),(function(c){for(var b=0,I=Wt.length;b<I;b++){var U=Os.call(this,c[b][0],c[b][1],c[b][2],Wt[b][3],!0);x===!1&&(L[U]=!0);var K=c[b][0].split("-");Fs({id:U,fontName:K[0],fontStyle:K[1]||""})}_e.publish("addFonts",{fonts:oe,dictionary:le})}).call(p,Wt),Rt="F1",Ts(r,e),_e.publish("initialized"),p}ja.prototype.lsbFirstWord=function(t){return String.fromCharCode(255&t,t>>8&255,t>>16&255,t>>24&255)},ja.prototype.toHexString=function(t){return t.split("").map(function(n){return("0"+(255&n.charCo
vendor: 66,814 bytes, lines 63-106
63deAt(0)).toString(16)).slice(-2)}).join("")},ja.prototype.hexToBytes=function(t){for(var n=[],e=0;e<t.length;e+=2)n.push(String.fromCharCode(parseInt(t.substr(e,2),16)));return n.join("")},ja.prototype.processOwnerPassword=function(t,n){return fc(uc(n).substr(0,5),t)},ja.prototype.encryptor=function(t,n){var e=uc(this.encryptionKey+String.fromCharCode(255&t,t>>8&255,t>>16&255,255&n,n>>8&255)).substr(0,10);return function(i){return fc(e,i)}},Oo.prototype.equals=function(t){var n,e="id,objectNumber,equals";if(!t||Le(t)!==Le(this))return!1;var i=0;for(n in this)if(!(e.indexOf(n)>=0)){if(this.hasOwnProperty(n)&&!t.hasOwnProperty(n)||this[n]!==t[n])return!1;i++}for(n in t)t.hasOwnProperty(n)&&e.indexOf(n)<0&&i--;return i===0},Dt.API={events:[]},Dt.version="4.2.1";var Ge=Dt.API,Sc=1,Kr=function(t){return t.replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},Sa=function(t){return t.replace(/\\\\/g,"\\").replace(/\\\(/g,"(").replace(/\\\)/g,")")},Yr=function(t){return t.toString().replace(/#/g,"#23").replace(/[\s\n\r()<>[\]{}\/%]/g,function(n){var e=n.charCodeAt(0).toString(16).toUpperCase();return"#"+(e.length===1?"0"+e:e)})},Jt=function(t){return t.toFixed(2)},fr=function(t){return t.toFixed(5)};Ge.__acroform__={};var Mn=function(t,n){t.prototype=Object.create(n.prototype),t.prototype.constructor=t},xu=function(t){return t*Sc},Si=function(t){var n=new Uf,e=It.internal.getHeight(t)||0,i=It.internal.getWidth(t)||0;return n.BBox=[0,0,Number(Jt(i)),Number(Jt(e))],n},x5=Ge.__acroform__.setBit=function(t,n){if(t=t||0,n=n||0,isNaN(t)||isNaN(n))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBit");return t|1<<n},N5=Ge.__acroform__.clearBit=function(t,n){if(t=t||0,n=n||0,isNaN(t)||isNaN(n))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBit");return t&~(1<<n)},A5=Ge.__acroform__.getBit=function(t,n){if(isNaN(t)||isNaN(n))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBit");return t&1<<n?1:0},Xe=Ge.__acroform__.getBitForPdf=function(t,n){if(isNaN(t)||isNaN(n))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBitForPdf");return A5(t,n-1)},Je=Ge.__acroform__.setBitForPdf=function(t,n){if(isNaN(t)||isNaN(n))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBitForPdf");return x5(t,n-1)},Qe=Ge.__acroform__.clearBitForPdf=function(t,n){if(isNaN(t)||isNaN(n))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBitForPdf");return N5(t,n-1)},L5=Ge.__acroform__.calculateCoordinates=function(t,n){var e=n.internal.getHorizontalCoordinate,i=n.internal.getVerticalCoordinate,r=t[0],s=t[1],h=t[2],l=t[3],u={};return u.lowerLeft_X=e(r)||0,u.lowerLeft_Y=i(s+l)||0,u.upperRight_X=e(r+h)||0,u.upperRight_Y=i(s)||0,[Number(Jt(u.lowerLeft_X)),Number(Jt(u.lowerLeft_Y)),Number(Jt(u.upperRight_X)),Number(Jt(u.upperRight_Y))]},S5=function(t){if(t.appearanceStreamContent)return t.appearanceStreamContent;if(t.V||t.DV){var n=[],e=t._V||t.DV,i=dc(t,e),r=t.scope.internal.getFont(t.fontName,t.fontStyle).id;n.push("/Tx BMC"),n.push("q"),n.push("BT"),n.push(t.scope.__private__.encodeColorString(t.color)),n.push("/"+r+" "+Jt(i.fontSize)+" Tf"),n.push("1 0 0 1 0 0 Tm"),n.push(i.text),n.push("ET"),n.push("Q"),n.push("EMC");var s=Si(t);return s.scope=t.scope,s.stream=n.join(`
64`),s}},dc=function(t,n){var e=t.fontSize===0?t.maxFontSize:t.fontSize,i={text:"",fontSize:""},r=(n=(n=n.substr(0,1)=="("?n.substr(1):n).substr(n.length-1)==")"?n.substr(0,n.length-1):n).split(" ");r=t.multiline?r.map(function(S){return S.split(`
65`)}):r.map(function(S){return[S]});var s=e,h=It.internal.getHeight(t)||0;h=h<0?-h:h;var l=It.internal.getWidth(t)||0;l=l<0?-l:l;var u=function(S,O,W){if(S+1<r.length){var H=O+" "+r[S+1][0];return _o(H,t,W).width<=l-4}return!1};s++;t:for(;s>0;){n="",s--;var d,g,x=_o("3",t,s).height,L=t.multiline?h-s:(h-x)/2,p=L+=2,T=0,P=0,R=0;if(s<=0){n=`(...) Tj
66`,n+="% Width of Text: "+_o(n,t,s=12).width+", FieldWidth:"+l+`
67`;break}for(var k="",D=0,Z=0;Z<r.length;Z++)if(r.hasOwnProperty(Z)){var z=!1;if(r[Z].length!==1&&R!==r[Z].length-1){if((x+2)*(D+2)+2>h)continue t;k+=r[Z][R],z=!0,P=Z,Z--}else{k=(k+=r[Z][R]+" ").substr(k.length-1)==" "?k.substr(0,k.length-1):k;var at=parseInt(Z),pt=u(at,k,s),lt=Z>=r.length-1;if(pt&&!lt){k+=" ",R=0;continue}if(pt||lt){if(lt)P=at;else if(t.multiline&&(x+2)*(D+2)+2>h)continue t}else{if(!t.multiline||(x+2)*(D+2)+2>h)continue t;P=at}}for(var X="",B=T;B<=P;B++){var et=r[B];if(t.multiline){if(B===P){X+=et[R]+" ",R=(R+1)%et.length;continue}if(B===T){X+=et[et.length-1]+" ";continue}}X+=et[0]+" "}switch(X=X.substr(X.length-1)==" "?X.substr(0,X.length-1):X,g=_o(X,t,s).width,t.textAlign){case"right":d=l-g-2;break;case"center":d=(l-g)/2;break;default:d=2}n+=Jt(d)+" "+Jt(p)+` Td
68`,n+="("+Kr(X)+`) Tj
69`,n+=-Jt(d)+` 0 Td
70`,p=-(s+2),g=0,T=z?P:P+1,D++,k=""}break}return i.text=n,i.fontSize=s,i},_o=function(t,n,e){var i=n.scope.internal.getFont(n.fontName,n.fontStyle),r=n.scope.getStringUnitWidth(t,{font:i,fontSize:parseFloat(e),charSpace:0})*parseFloat(e);return{height:n.scope.getStringUnitWidth("3",{font:i,fontSize:parseFloat(e),charSpace:0})*parseFloat(e)*1.5,width:r}},k5={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},j5=function(t,n){var e={type:"reference",object:t};n.internal.getPageInfo(t.page).pageContext.annotations.find(function(i){return i.type===e.type&&i.object===e.object})===void 0&&n.internal.getPageInfo(t.page).pageContext.annotations.push(e)},P5=function(t,n){if(n.scope=t,t.internal!==void 0&&(t.internal.acroformPlugin===void 0||t.internal.acroformPlugin.isInitialized===!1)){if(di.FieldNum=0,t.internal.acroformPlugin=JSON.parse(JSON.stringify(k5)),t.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");Sc=t.internal.scaleFactor,t.internal.acroformPlugin.acroFormDictionaryRoot=new zf,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 i=e.internal.acroformPlugin.acroFormDictionaryRoot.Fields;for(var r in i)if(i.hasOwnProperty(r)){var s=i[r];s.objId=void 0,s.hasAnnotation&&j5(s,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(i,r){var s=!i;for(var h in i||(r.internal.newObjectDeferredBegin(r.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),r.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),i=i||r.internal.acroformPlugin.acroFormDictionaryRoot.Kids)if(i.hasOwnProperty(h)){var l=i[h],u=[],d=l.Rect;if(l.Rect&&(l.Rect=L5(l.Rect,r)),r.internal.newObjectDeferredBegin(l.objId,!0),l.DA=It.createDefaultAppearanceStream(l),Le(l)==="object"&&typeof l.getKeyValueListForStream=="function"&&(u=l.getKeyValueListForStream()),l.Rect=d,l.hasAppearanceStream&&!l.appearanceStreamContent){var g=S5(l);u.push({key:"AP",value:"<</N "+g+">>"}),r.internal.acroformPlugin.xForms.push(g)}if(l.appearanceStreamContent){var x="";for(var L in l.appearanceStreamContent)if(l.appearanceStreamContent.hasOwnProperty(L)){var p=l.appearanceStreamContent[L];if(x+="/"+L+" ",x+="<<",Object.keys(p).length>=1||Array.isArray(p)){for(var h in p)if(p.hasOwnProperty(h)){var T=p[h];typeof T=="function"&&(T=T.call(r,l)),x+="/"+h+" "+T+" ",r.internal.acroformPlugin.xForms.indexOf(T)>=0||r.internal.acroformPlugin.xForms.push(T)}}else typeof(T=p)=="function"&&(T=T.call(r,l)),x+="/"+h+" "+T,r.internal.acroformPlugin.xForms.indexOf(T)>=0||r.internal.acroformPlugin.xForms.push(T);x+=">>"}u.push({key:"AP",value:`<<
71`+x+">>"})}r.internal.putStream({additionalKeyValues:u,objectId:l.objId}),r.internal.out("endobj")}s&&function(P,R){for(var k in P)if(P.hasOwnProperty(k)){var D=k,Z=P[k];R.internal.newObjectDeferredBegin(Z.objId,!0),Le(Z)==="object"&&typeof Z.putStream=="function"&&Z.putStream(),delete P[D]}}(r.internal.acroformPlugin.xForms,r)})(e,t)}),t.internal.acroformPlugin.isInitialized=!0}},qf=Ge.__acroform__.arrayToPdfArray=function(t,n,e){var i=function(h){return h};if(Array.isArray(t)){for(var r="[",s=0;s<t.length;s++)switch(s!==0&&(r+=" "),Le(t[s])){case"boolean":case"number":case"object":r+=t[s].toString();break;case"string":t[s].substr(0,1)==="/"?r+="/"+Yr(t[s].substr(1)):(n!==void 0&&e&&(i=e.internal.getEncryptor(n)),r+="("+Kr(i(t[s].toString()))+")")}return r+"]"}throw new Error("Invalid argument passed to jsPDF.__acroform__.arrayToPdfArray")},Zl=function(t,n,e){var i=function(r){return r};return n!==void 0&&e&&(i=e.internal.getEncryptor(n)),(t=t||"").toString(),"("+Kr(i(t))+")"},ji=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})};ji.prototype.toString=function(){return this.objId+" 0 R"},ji.prototype.putStream=function(){var t=this.getKeyValueListForStream();this.scope.internal.putStream({data:this.stream,additionalKeyValues:t,objectId:this.objId}),this.scope.internal.out("endobj")},ji.prototype.getKeyValueListForStream=function(){var t=[],n=Object.getOwnPropertyNames(this).filter(function(s){return s!="content"&&s!="appearanceStreamContent"&&s!="scope"&&s!="objId"&&s.substring(0,1)!="_"});for(var e in n)if(Object.getOwnPropertyDescriptor(this,n[e]).configurable===!1){var i=n[e],r=this[i];r&&(Array.isArray(r)?t.push({key:i,value:qf(r,this.objId,this.scope)}):r instanceof ji?(r.scope=this.scope,t.push({key:i,value:r.objId+" 0 R"})):typeof r!="function"&&t.push({key:i,value:r}))}return t};var Uf=function(){ji.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,n=[];Object.defineProperty(this,"BBox",{configurable:!1,get:function(){return n},set:function(e){n=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}})};Mn(Uf,ji);var zf=function(){ji.call(this);var t,n=[];Object.defineProperty(this,"Kids",{enumerable:!1,configurable:!0,get:function(){return n.length>0?n:void 0}}),Object.defineProperty(this,"Fields",{enumerable:!1,configurable:!1,get:function(){return n}}),Object.defineProperty(this,"DA",{enumerable:!1,configurable:!1,get:function(){if(t){var e=function(i){return i};return this.scope&&(e=this.scope.internal.getEncryptor(this.objId)),"("+Kr(e(t))+")"}},set:function(e){t=e}})};Mn(zf,ji);var di=function t(){ji.call(this);var n=4;Object.defineProperty(this,"F",{enumerable:!1,configurable:!1,get:function(){return n},set:function(k){if(isNaN(k))throw new Error('Invalid value "'+k+'" for attribute F supplied.');n=k}}),Object.defineProperty(this,"showWhenPrinted",{enumerable:!0,configurable:!0,get:function(){return!!Xe(n,3)},set:function(k){k?this.F=Je(n,3):this.F=Qe(n,3)}});var e=0;Object.defineProperty(this,"Ff",{enumerable:!1,configurable:!1,get:function(){return e},set:function(k){if(isNaN(k))throw new Error('Invalid value "'+k+'" for attribute Ff supplied.');e=k}});var i=[];Object.defineProperty(this,"Rect",{enumerable:!1,configurable:!1,get:function(){if(i.length!==0)return i},set:function(k){i=k!==void 0?k:[]}}),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,get:function(){return!i||isNaN(i[0])?0:i[0]},set:function(k){i[0]=k}}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,get:function(){return!i||isNaN(i[1])?0:i[1]},set:function(k){i[1]=k}}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,get:function(){return!i||isNaN(i[2])?0:i[2]},set:function(k){i[2]=k}}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,get:function(){return!i||isNaN(i[3])?0:i[3]},set:function(k){i[3]=k}});var r="";Object.defineProperty(this,"FT",{enumerable:!0,configurable:!1,get:function(){return r},set:function(k){switch(k){case"/Btn":case"/Tx":case"/Ch":case"/Sig":r=k;break;default:throw new Error('Invalid value "'+k+'" for attribute FT supplied.')}}});var s=null;Object.defineProperty(this,"T",{enumerable:!0,configurable:!1,get:function(){if(!s||s.length<1){if(this instanceof To)return;s="FieldObject"+t.FieldNum++}var k=function(D){return D};return this.scope&&(k=this.scope.internal.getEncryptor(this.objId)),"("+Kr(k(s))+")"},set:function(k){s=k.toString()}}),Object.defineProperty(this,"fieldName",{configurable:!0,enumerable:!0,get:function(){return s},set:function(k){s=k}});var h="helvetica";Object.defineProperty(this,"fontName",{enumerable:!0,configurable:!0,get:function(){return h},set:function(k){h=k}});var l="normal";Object.defineProperty(this,"fontStyle",{enumerable:!0,configurable:!0,get:function(){return l},set:function(k){l=k}});var u=0;Object.defineProperty(this,"fontSize",{enumerable:!0,configurable:!0,get:function(){return u},set:function(k){u=k}});var d=void 0;Object.defineProperty(this,"maxFontSize",{enumerable:!0,configurable:!0,get:function(){return d===void 0?50/Sc:d},set:function(k){d=k}});var g="black";Object.defineProperty(this,"color",{enumerable:!0,configurable:!0,get:function(){return g},set:function(k){g=k}});var x="/F1 0 Tf 0 g";Object.defineProperty(this,"DA",{enumerable:!0,configurable:!1,get:function(){if(!(!x||this instanceof To||this instanceof Wr))return Zl(x,this.objId,this.scope)},set:function(k){k=k.toString(),x=k}});var L=null;Object.defineProperty(this,"DV",{enumerable:!1,configurable:!1,get:function(){if(L)return this instanceof un==0?Zl(L,this.objId,this.scope):L},set:function(k){k=k.toString(),L=this instanceof un==0?k.substr(0,1)==="("?Sa(k.substr(1,k.length-2)):Sa(k):k}}),Object.defineProperty(this,"defaultValue",{enumerable:!0,configurable:!0,get:function(){return this instanceof un==1?Sa(L.substr(1,L.length-1)):L},set:function(k){k=k.toString(),L=this instanceof un==1?"/"+Yr(k):k}});var p=null;Object.defineProperty(this,"_V",{enumerable:!1,configurable:!1,get:function(){if(p)return p},set:function(k){this.V=k}}),Object.defineProperty(this,"V",{enumerable:!1,configurable:!1,get:function(){if(p)return this instanceof un==0?Zl(p,this.objId,this.scope):p},set:function(k){k=k.toString(),p=this instanceof un==0?k.substr(0,1)==="("?Sa(k.substr(1,k.length-2)):Sa(k):k}}),Object.defineProperty(this,"value",{enumerable:!0,configurable:!0,get:function(){return this instanceof un==1?Sa(p.substr(1,p.length-1)):p},set:function(k){k=k.toString(),p=this instanceof un==1?"/"+Yr(k):k}}),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 T,P=!1;Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return P},set:function(k){k=!!k,P=k}}),Object.defineProperty(this,"page",{enumerable:!0,configurable:!0,get:function(){if(T)return T},set:function(k){T=k}}),Object.defineProperty(this,"readOnly",{enumerable:!0,configurable:!0,get:function(){return!!Xe(this.Ff,1)},set:function(k){k?this.Ff=Je(this.Ff,1):this.Ff=Qe(this.Ff,1)}}),Object.defineProperty(this,"required",{enumerable:!0,configurable:!0,get:function(){return!!Xe(this.Ff,2)},set:function(k){k?this.Ff=Je(this.Ff,2):this.Ff=Qe(this.Ff,2)}}),Object.defineProperty(this,"noExport",{enumerable:!0,configurable:!0,get:function(){return!!Xe(this.Ff,3)},set:function(k){k?this.Ff=Je(this.Ff,3):this.Ff=Qe(this.Ff,3)}});var R=null;Object.defineProperty(this,"Q",{enumerable:!0,configurable:!1,get:function(){if(R!==null)return R},set:function(k){if([0,1,2].indexOf(k)===-1)throw new Error('Invalid value "'+k+'" for attribute Q supplied.');R=k}}),Object.defineProperty(this,"textAlign",{get:function(){var k;switch(R){case 0:default:k="left";break;case 1:k="center";break;case 2:k="right"}return k},configurable:!0,enumerable:!0,set:function(k){switch(k){case"right":case 2:R=2;break;case"center":case 1:R=1;break;default:R=0}}})};Mn(di,ji);var Ca=function(){di.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 n=[];Object.defineProperty(this,"Opt",{enumerable:!0,configurable:!1,get:function(){return qf(n,this.objId,this.scope)},set:function(e){var i,r;r=[],typeof(i=e)=="string"&&(r=function(s,h,l){l||(l=1);for(var u,d=[];u=h.exec(s);)d.push(u[l]);return d}(i,/\((.*?)\)/g)),n=r}}),this.getOptions=function(){return n},this.setOptions=function(e){n=e,this.sort&&n.sort()},this.addOption=function(e){e=(e=e||"").toString(),n.push(e),this.sort&&n.sort()},this.removeOption=function(e,i){for(i=i||!1,e=(e=e||"").toString();n.indexOf(e)!==-1&&(n.splice(n.indexOf(e),1),i!==!1););},Object.defineProperty(this,"combo",{enumerable:!0,configurable:!0,get:function(){return!!Xe(this.Ff,18)},set:function(e){e?this.Ff=Je(this.Ff,18):this.Ff=Qe(this.Ff,18)}}),Object.defineProperty(this,"edit",{enumerable:!0,configurable:!0,get:function(){return!!Xe(this.Ff,19)},set:function(e){this.combo===!0&&(e?this.Ff=Je(this.Ff,19):this.Ff=Qe(this.Ff,19))}}),Object.defineProperty(this,"sort",{enumerable:!0,configurable:!0,get:function(){return!!Xe(this.Ff,20)},set:function(e){e?(this.Ff=Je(this.Ff,20),n.sort()):this.Ff=Qe(this.Ff,20)}}),Object.defineProperty(this,"multiSelect",{enumerable:!0,configurable:!0,get:function(){return!!Xe(this.Ff,22)},set:function(e){e?this.Ff=Je(this.Ff,22):this.Ff=Qe(this.Ff,22)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return!!Xe(this.Ff,23)},set:function(e){e?this.Ff=Je(this.Ff,23):this.Ff=Qe(this.Ff,23)}}),Object.defineProperty(this,"commitOnSelChange",{enumerable:!0,configurable:!0,get:function(){return!!Xe(this.Ff,27)},set:function(e){e?this.Ff=Je(this.Ff,27):this.Ff=Qe(this.Ff,27)}}),this.hasAppearanceStream=!1};Mn(Ca,di);var Fa=function(){Ca.call(this),this.fontName="helvetica",this.combo=!1};Mn(Fa,Ca);var Oa=function(){Fa.call(this),this.combo=!0};Mn(Oa,Fa);var So=function(){Oa.call(this),this.edit=!0};Mn(So,Oa);var un=function(){di.call(this),this.FT="/Btn",Object.defineProperty(this,"noToggleToOff",{enumerable:!0,configurable:!0,get:function(){return!!Xe(this.Ff,15)},set:function(e){e?this.Ff=Je(this.Ff,15):this.Ff=Qe(this.Ff,15)}}),Object.defineProperty(this,"radio",{enumerable:!0,configurable:!0,get:function(){return!!Xe(this.Ff,16)},set:function(e){e?this.Ff=Je(this.Ff,16):this.Ff=Qe(this.Ff,16)}}),Object.defineProperty(this,"pushButton",{enumerable:!0,configurable:!0,get:function(){return!!Xe(this.Ff,17)},set:function(e){e?this.Ff=Je(this.Ff,17):this.Ff=Qe(this.Ff,17)}}),Object.defineProperty(this,"radioIsUnison",{enumerable:!0,configurable:!0,get:function(){return!!Xe(this.Ff,26)},set:function(e){e?this.Ff=Je(this.Ff,26):this.Ff=Qe(this.Ff,26)}});var t,n={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var e=function(s){return s};if(this.scope&&(e=this.scope.internal.getEncryptor(this.objId)),Object.keys(n).length!==0){var i,r=[];for(i in r.push("<<"),n)r.push("/"+i+" ("+Kr(e(n[i]))+")");return r.push(">>"),r.join(`
72`)}},set:function(e){Le(e)==="object"&&(n=e)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return n.CA||""},set:function(e){typeof e=="string"&&(n.CA=e)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return t},set:function(e){var i=e==null?"":e.toString();i.substr(0,1)==="/"&&(i=i.substr(1)),t="/"+Yr(i)}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return t.substr(1,t.length-1)},set:function(e){t="/"+Yr(e)}})};Mn(un,di);var ko=function(){un.call(this),this.pushButton=!0};Mn(ko,un);var Ta=function(){un.call(this),this.radio=!0,this.pushButton=!1;var t=[];Object.defineProperty(this,"Kids",{enumerable:!0,configurable:!1,get:function(){return t},set:function(n){t=n!==void 0?n:[]}})};Mn(Ta,un);var To=function(){var t,n;di.call(this),Object.defineProperty(this,"Parent",{enumerable:!1,configurable:!1,get:function(){return t},set:function(r){t=r}}),Object.defineProperty(this,"optionName",{enumerable:!1,configurable:!0,get:function(){return n},set:function(r){n=r}});var e,i={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var r=function(l){return l};this.scope&&(r=this.scope.internal.getEncryptor(this.objId));var s,h=[];for(s in h.push("<<"),i)h.push("/"+s+" ("+Kr(r(i[s]))+")");return h.push(">>"),h.join(`
73`)},set:function(r){Le(r)==="object"&&(i=r)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return i.CA||""},set:function(r){typeof r=="string"&&(i.CA=r)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return e},set:function(r){var s=r==null?"":r.toString();s.substr(0,1)==="/"&&(s=s.substr(1)),e="/"+Yr(s)}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return e.substr(1,e.length-1)},set:function(r){var s=r==null?"":r.toString();s.substr(0,1)==="/"&&(s=s.substr(1)),e="/"+Yr(s)}}),this.caption="l",this.appearanceState="Off",this._AppearanceType=It.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(this.optionName)};Mn(To,di),Ta.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 n in this.Kids)if(this.Kids.hasOwnProperty(n)){var e=this.Kids[n];e.appearanceStreamContent=t.createAppearanceStream(e.optionName),e.caption=t.getCA()}},Ta.prototype.createOption=function(t){var n=new To;return n.Parent=this,n.optionName=t,this.Kids.push(n),E5.call(this.scope,n),n};var jo=function(){un.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=It.CheckBox.createAppearanceStream()};Mn(jo,un);var Wr=function(){di.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return!!Xe(this.Ff,13)},set:function(n){n?this.Ff=Je(this.Ff,13):this.Ff=Qe(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return!!Xe(this.Ff,21)},set:function(n){n?this.Ff=Je(this.Ff,21):this.Ff=Qe(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return!!Xe(this.Ff,23)},set:function(n){n?this.Ff=Je(this.Ff,23):this.Ff=Qe(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return!!Xe(this.Ff,24)},set:function(n){n?this.Ff=Je(this.Ff,24):this.Ff=Qe(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return!!Xe(this.Ff,25)},set:function(n){n?this.Ff=Je(this.Ff,25):this.Ff=Qe(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return!!Xe(this.Ff,26)},set:function(n){n?this.Ff=Je(this.Ff,26):this.Ff=Qe(this.Ff,26)}});var t=null;Object.defineProperty(this,"MaxLen",{enumerable:!0,configurable:!1,get:function(){return t},set:function(n){t=n}}),Object.defineProperty(this,"maxLength",{enumerable:!0,configurable:!0,get:function(){return t},set:function(n){Number.isInteger(n)&&(t=n)}}),Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return this.V||this.DV}})};Mn(Wr,di);var Po=function(){Wr.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return!!Xe(this.Ff,14)},set:function(t){t?this.Ff=Je(this.Ff,14):this.Ff=Qe(this.Ff,14)}}),this.password=!0};Mn(Po,Wr);var It={CheckBox:{createAppearanceStream:function(){return{N:{On:It.CheckBox.YesNormal},D:{On:It.CheckBox.YesPushDown,Off:It.CheckBox.OffPushDown}}},YesPushDown:function(t){var n=Si(t);n.scope=t.scope;var e=[],i=t.scope.internal.getFont(t.fontName,t.fontStyle).id,r=t.scope.__private__.encodeColorString(t.color),s=dc(t,t.caption);return e.push("0.749023 g"),e.push("0 0 "+Jt(It.internal.getWidth(t))+" "+Jt(It.internal.getHeight(t))+" re"),e.push("f"),e.push("BMC"),e.push("q"),e.push("0 0 1 rg"),e.push("/"+i+" "+Jt(s.fontSize)+" Tf "+r),e.push("BT"),e.push(s.text),e.push("ET"),e.push("Q"),e.push("EMC"),n.stream=e.join(`
74`),n},YesNormal:function(t){var n=Si(t);n.scope=t.scope;var e=t.scope.internal.getFont(t.fontName,t.fontStyle).id,i=t.scope.__private__.encodeColorString(t.color),r=[],s=It.internal.getHeight(t),h=It.internal.getWidth(t),l=dc(t,t.caption);return r.push("1 g"),r.push("0 0 "+Jt(h)+" "+Jt(s)+" re"),r.push("f"),r.push("q"),r.push("0 0 1 rg"),r.push("0 0 "+Jt(h-1)+" "+Jt(s-1)+" re"),r.push("W"),r.push("n"),r.push("0 g"),r.push("BT"),r.push("/"+e+" "+Jt(l.fontSize)+" Tf "+i),r.push(l.text),r.push("ET"),r.push("Q"),n.stream=r.join(`
75`),n},OffPushDown:function(t){var n=Si(t);n.scope=t.scope;var e=[];return e.push("0.749023 g"),e.push("0 0 "+Jt(It.internal.getWidth(t))+" "+Jt(It.internal.getHeight(t))+" re"),e.push("f"),n.stream=e.join(`
76`),n}},RadioButton:{Circle:{createAppearanceStream:function(t){var n={D:{Off:It.RadioButton.Circle.OffPushDown},N:{}};return n.N[t]=It.RadioButton.Circle.YesNormal,n.D[t]=It.RadioButton.Circle.YesPushDown,n},getCA:function(){return"l"},YesNormal:function(t){var n=Si(t);n.scope=t.scope;var e=[],i=It.internal.getWidth(t)<=It.internal.getHeight(t)?It.internal.getWidth(t)/4:It.internal.getHeight(t)/4;i=Number((.9*i).toFixed(5));var r=It.internal.Bezier_C,s=Number((i*r).toFixed(5));return e.push("q"),e.push("1 0 0 1 "+fr(It.internal.getWidth(t)/2)+" "+fr(It.internal.getHeight(t)/2)+" cm"),e.push(i+" 0 m"),e.push(i+" "+s+" "+s+" "+i+" 0 "+i+" c"),e.push("-"+s+" "+i+" -"+i+" "+s+" -"+i+" 0 c"),e.push("-"+i+" -"+s+" -"+s+" -"+i+" 0 -"+i+" c"),e.push(s+" -"+i+" "+i+" -"+s+" "+i+" 0 c"),e.push("f"),e.push("Q"),n.stream=e.join(`
77`),n},YesPushDown:function(t){var n=Si(t);n.scope=t.scope;var e=[],i=It.internal.getWidth(t)<=It.internal.getHeight(t)?It.internal.getWidth(t)/4:It.internal.getHeight(t)/4;i=Number((.9*i).toFixed(5));var r=Number((2*i).toFixed(5)),s=Number((r*It.internal.Bezier_C).toFixed(5)),h=Number((i*It.internal.Bezier_C).toFixed(5));return e.push("0.749023 g"),e.push("q"),e.push("1 0 0 1 "+fr(It.internal.getWidth(t)/2)+" "+fr(It.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"),e.push("0 g"),e.push("q"),e.push("1 0 0 1 "+fr(It.internal.getWidth(t)/2)+" "+fr(It.internal.getHeight(t)/2)+" cm"),e.push(i+" 0 m"),e.push(i+" "+h+" "+h+" "+i+" 0 "+i+" c"),e.push("-"+h+" "+i+" -"+i+" "+h+" -"+i+" 0 c"),e.push("-"+i+" -"+h+" -"+h+" -"+i+" 0 -"+i+" c"),e.push(h+" -"+i+" "+i+" -"+h+" "+i+" 0 c"),e.push("f"),e.push("Q"),n.stream=e.join(`
78`),n},OffPushDown:function(t){var n=Si(t);n.scope=t.scope;var e=[],i=It.internal.getWidth(t)<=It.internal.getHeight(t)?It.internal.getWidth(t)/4:It.internal.getHeight(t)/4;i=Number((.9*i).toFixed(5));var r=Number((2*i).toFixed(5)),s=Number((r*It.internal.Bezier_C).toFixed(5));return e.push("0.749023 g"),e.push("q"),e.push("1 0 0 1 "+fr(It.internal.getWidth(t)/2)+" "+fr(It.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"),n.stream=e.join(`
79`),n}},Cross:{createAppearanceStream:function(t){var n={D:{Off:It.RadioButton.Cross.OffPushDown},N:{}};return n.N[t]=It.RadioButton.Cross.YesNormal,n.D[t]=It.RadioButton.Cross.YesPushDown,n},getCA:function(){return"8"},YesNormal:function(t){var n=Si(t);n.scope=t.scope;var e=[],i=It.internal.calculateCross(t);return e.push("q"),e.push("1 1 "+Jt(It.internal.getWidth(t)-2)+" "+Jt(It.internal.getHeight(t)-2)+" re"),e.push("W"),e.push("n"),e.push(Jt(i.x1.x)+" "+Jt(i.x1.y)+" m"),e.push(Jt(i.x2.x)+" "+Jt(i.x2.y)+" l"),e.push(Jt(i.x4.x)+" "+Jt(i.x4.y)+" m"),e.push(Jt(i.x3.x)+" "+Jt(i.x3.y)+" l"),e.push("s"),e.push("Q"),n.stream=e.join(`
80`),n},YesPushDown:function(t){var n=Si(t);n.scope=t.scope;var e=It.internal.calculateCross(t),i=[];return i.push("0.749023 g"),i.push("0 0 "+Jt(It.internal.getWidth(t))+" "+Jt(It.internal.getHeight(t))+" re"),i.push("f"),i.push("q"),i.push("1 1 "+Jt(It.internal.getWidth(t)-2)+" "+Jt(It.internal.getHeight(t)-2)+" re"),i.push("W"),i.push("n"),i.push(Jt(e.x1.x)+" "+Jt(e.x1.y)+" m"),i.push(Jt(e.x2.x)+" "+Jt(e.x2.y)+" l"),i.push(Jt(e.x4.x)+" "+Jt(e.x4.y)+" m"),i.push(Jt(e.x3.x)+" "+Jt(e.x3.y)+" l"),i.push("s"),i.push("Q"),n.stream=i.join(`
81`),n},OffPushDown:function(t){var n=Si(t);n.scope=t.scope;var e=[];return e.push("0.749023 g"),e.push("0 0 "+Jt(It.internal.getWidth(t))+" "+Jt(It.internal.getHeight(t))+" re"),e.push("f"),n.stream=e.join(`
82`),n}}},createDefaultAppearanceStream:function(t){var n=t.scope.internal.getFont(t.fontName,t.fontStyle).id,e=t.scope.__private__.encodeColorString(t.color);return"/"+n+" "+t.fontSize+" Tf "+e}};It.internal={Bezier_C:.551915024494,calculateCross:function(t){var n=It.internal.getWidth(t),e=It.internal.getHeight(t),i=Math.min(n,e);return{x1:{x:(n-i)/2,y:(e-i)/2+i},x2:{x:(n-i)/2+i,y:(e-i)/2},x3:{x:(n-i)/2,y:(e-i)/2},x4:{x:(n-i)/2+i,y:(e-i)/2+i}}}},It.internal.getWidth=function(t){var n=0;return Le(t)==="object"&&(n=xu(t.Rect[2])),n},It.internal.getHeight=function(t){var n=0;return Le(t)==="object"&&(n=xu(t.Rect[3])),n};var E5=Ge.addField=function(t){if(P5(this,t),!(t instanceof di))throw new Error("Invalid argument passed to jsPDF.addField.");var n;return(n=t).scope.internal.acroformPlugin.printedOut&&(n.scope.internal.acroformPlugin.printedOut=!1,n.scope.internal.acroformPlugin.acroFormDictionaryRoot=null),n.scope.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(n),t.page=t.scope.internal.getCurrentPageInfo().pageNumber,this};Ge.AcroFormChoiceField=Ca,Ge.AcroFormListBox=Fa,Ge.AcroFormComboBox=Oa,Ge.AcroFormEditBox=So,Ge.AcroFormButton=un,Ge.AcroFormPushButton=ko,Ge.AcroFormRadioButton=Ta,Ge.AcroFormCheckBox=jo,Ge.AcroFormTextField=Wr,Ge.AcroFormPasswordField=Po,Ge.AcroFormAppearance=It,Ge.AcroForm={ChoiceField:Ca,ListBox:Fa,ComboBox:Oa,EditBox:So,Button:un,PushButton:ko,RadioButton:Ta,CheckBox:jo,TextField:Wr,PasswordField:Po,Appearance:It},Dt.AcroForm={ChoiceField:Ca,ListBox:Fa,ComboBox:Oa,EditBox:So,Button:un,PushButton:ko,RadioButton:Ta,CheckBox:jo,TextField:Wr,PasswordField:Po,Appearance:It};function Hf(t){return t.reduce(function(n,e,i){return n[e]=i,n},{})}(function(t){var n="addImage_";t.__addimage__={};var e="UNKNOWN",i={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]]},r=t.__addimage__.getImageFileTypeByImageData=function(S,O){var W,H,rt,ct,ft,it=e;if((O=O||e)==="RGBA"||S.data!==void 0&&S.data instanceof Uint8ClampedArray&&"height"in S&&"width"in S)return"RGBA";if(pt(S))for(ft in i)for(rt=i[ft],W=0;W<rt.length;W+=1){for(ct=!0,H=0;H<rt[W].length;H+=1)if(rt[W][H]!==void 0&&rt[W][H]!==S[H]){ct=!1;break}if(ct===!0){it=ft;break}}else for(ft in i)for(rt=i[ft],W=0;W<rt.length;W+=1){for(ct=!0,H=0;H<rt[W].length;H+=1)if(rt[W][H]!==void 0&&rt[W][H]!==S.charCodeAt(H)){ct=!1;break}if(ct===!0){it=ft;break}}return it===e&&O!==e&&(it=O),it},s=function S(O){for(var W=this.internal.write,H=this.internal.putStream,rt=(0,this.internal.getFilters)();rt.indexOf("FlateEncode")!==-1;)rt.splice(rt.indexOf("FlateEncode"),1);O.objectId=this.internal.newObject();var ct=[];if(ct.push({key:"Type",value:"/XObject"}),ct.push({key:"Subtype",value:"/Image"}),ct.push({key:"Width",value:O.width}),ct.push({key:"Height",value:O.height}),O.colorSpace===k.INDEXED?ct.push({key:"ColorSpace",value:"[/Indexed /DeviceRGB "+(O.palette.length/3-1)+" "+("sMask"in O&&O.sMask!==void 0?O.objectId+2:O.objectId+1)+" 0 R]"}):(ct.push({key:"ColorSpace",value:"/"+O.colorSpace}),O.colorSpace===k.DEVICE_CMYK&&ct.push({key:"Decode",value:"[1 0 1 0 1 0 1 0]"})),ct.push({key:"BitsPerComponent",value:O.bitsPerComponent}),"decodeParameters"in O&&O.decodeParameters!==void 0&&ct.push({key:"DecodeParms",value:"<<"+O.decodeParameters+">>"}),"transparency"in O&&Array.isArray(O.transparency)&&O.transparency.length>0){for(var ft="",it=0,gt=O.transparency.length;it<gt;it++)ft+=O.transparency[it]+" "+O.transparency[it]+" ";ct.push({key:"Mask",value:"["+ft+"]"})}O.sMask!==void 0&&ct.push({key:"SMask",value:O.objectId+1+" 0 R"});var At=O.filter!==void 0?["/"+O.filter]:void 0;if(H({data:O.data,additionalKeyValues:ct,alreadyAppliedFilters:At,objectId:O.objectId}),W("endobj"),"sMask"in O&&O.sMask!==void 0){var yt,N=(yt=O.sMaskBitsPerComponent)!==null&&yt!==void 0?yt:O.bitsPerComponent,M={width:O.width,height:O.height,colorSpace:"DeviceGray",bitsPerComponent:N,data:O.sMask};"filter"in O&&(M.decodeParameters="/Predictor ".concat(O.predictor," /Colors 1 /BitsPerComponent ").concat(N," /Columns ").concat(O.width),M.filter=O.filter),S.call(this,M)}if(O.colorSpace===k.INDEXED){var q=this.internal.newObject();H({data:X(new Uint8Array(O.palette)),objectId:q}),W("endobj")}},h=function(){var S=this.internal.collections[n+"images"];for(var O in S)s.call(this,S[O])},l=function(){var S,O=this.internal.collections[n+"images"],W=this.internal.write;for(var H in O)W("/I"+(S=O[H]).index,S.objectId,"0","R")},u=function(){this.internal.collections[n+"images"]||(this.internal.collections[n+"images"]={},this.internal.events.subscribe("putResources",h),this.internal.events.subscribe("putXobjectDict",l))},d=function(){var S=this.internal.collections[n+"images"];return u.call(this),S},g=function(){return Object.keys(this.internal.collections[n+"images"]).length},x=function(S){return typeof t["process"+S.toUpperCase()]=="function"},L=function(S){return Le(S)==="object"&&S.nodeType===1},p=function(S,O){if(S.nodeName==="IMG"&&S.hasAttribute("src")){var W=""+S.getAttribute("src");if(W.indexOf("data:image/")===0)return Lo(unescape(W).split("base64,").pop());var H=t.loadFile(W,!0);if(H!==void 0)return H}if(S.nodeName==="CANVAS"){if(S.width===0||S.height===0)throw new Error("Given canvas must have data. Canvas width: "+S.width+", height: "+S.height);var rt;switch(O){case"PNG":rt="image/png";break;case"WEBP":rt="image/webp";break;default:rt="image/jpeg"}return Lo(S.toDataURL(rt,1).split("base64,").pop())}},T=function(S){var O=this.internal.collections[n+"images"];if(O){for(var W in O)if(S===O[W].alias)return O[W]}},P=function(S,O,W){return S||O||(S=-96,O=-96),S<0&&(S=-1*W.width*72/S/this.internal.scaleFactor),O<0&&(O=-1*W.height*72/O/this.internal.scaleFactor),S===0&&(S=O*W.width/W.height),O===0&&(O=S*W.height/W.width),[S,O]},R=function(S,O,W,H,rt,ct){var ft=P.call(this,W,H,rt),it=this.internal.getCoordinateString,gt=this.internal.getVerticalCoordinateString,At=d.call(this);if(W=ft[0],H=ft[1],At[rt.index]=rt,ct){ct*=Math.PI/180;var yt=Math.cos(ct),N=Math.sin(ct),M=function(V){return V.toFixed(4)},q=[M(yt),M(N),M(-1*N),M(yt),0,0,"cm"]}this.internal.write("q"),ct?(this.internal.write([1,"0","0",1,it(S),gt(O+H),"cm"].join(" ")),this.internal.write(q.join(" ")),this.internal.write([it(W),"0","0",it(H),"0","0","cm"].join(" "))):this.internal.write([it(W),"0","0",it(H),it(S),gt(O+H),"cm"].join(" ")),this.isAdvancedAPI()&&this.internal.write([1,0,0,-1,0,0,"cm"].join(" ")),this.internal.write("/I"+rt.index+" Do"),this.internal.write("Q")},k=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 D=t.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},Z=t.__addimage__.sHashCode=function(S){var O,W,H=0;if(typeof S=="string")for(W=S.length,O=0;O<W;O++)H=(H<<5)-H+S.charCodeAt(O),H|=0;else if(pt(S))for(W=S.byteLength/2,O=0;O<W;O++)H=(H<<5)-H+S[O],H|=0;return H},z=t.__addimage__.validateStringAsBase64=function(S){(S=S||"").toString().trim();var O=!0;return S.length===0&&(O=!1),S.length%4!=0&&(O=!1),/^[A-Za-z0-9+/]+$/.test(S.substr(0,S.length-2))===!1&&(O=!1),/^[A-Za-z0-9/][A-Za-z0-9+/]|[A-Za-z0-9+/]=|==$/.test(S.substr(-2))===!1&&(O=!1),O},at=t.__addimage__.extractImageFromDataUrl=function(S){if(S==null||!(S=S.trim()).startsWith("data:"))return null;var O=S.indexOf(",");return O<0?null:S.substring(0,O).trim().endsWith("base64")?S.substring(O+1):null};t.__addimage__.isArrayBuffer=function(S){return S instanceof ArrayBuffer};var pt=t.__addimage__.isArrayBufferView=function(S){return S instanceof Int8Array||S instanceof Uint8Array||S instanceof Uint8ClampedArray||S instanceof Int16Array||S instanceof Uint16Array||S instanceof Int32Array||S instanceof Uint32Array||S instanceof Float32Array||S instanceof Float64Array},lt=t.__addimage__.binaryStringToUint8Array=function(S){for(var O=S.length,W=new Uint8Array(O),H=0;H<O;H++)W[H]=S.charCodeAt(H);return W},X=t.__addimage__.arrayBufferToBinaryString=function(S){for(var O="",W=pt(S)?S:new Uint8Array(S),H=0;H<W.length;H+=8192)O+=String.fromCharCode.apply(null,W.subarray(H,H+8192));return O};t.addImage=function(){var S,O,W,H,rt,ct,ft,it,gt;if(typeof arguments[1]=="number"?(O=e,W=arguments[1],H=arguments[2],rt=arguments[3],ct=arguments[4],ft=arguments[5],it=arguments[6],gt=arguments[7]):(O=arguments[1],W=arguments[2],H=arguments[3],rt=arguments[4],ct=arguments[5],ft=arguments[6],it=arguments[7],gt=arguments[8]),Le(S=arguments[0])==="object"&&!L(S)&&"imageData"in S){var At=S;S=At.imageData,O=At.format||O||e,W=At.x||W||0,H=At.y||H||0,rt=At.w||At.width||rt,ct=At.h||At.height||ct,ft=At.alias||ft,it=At.compression||it,gt=At.rotation||At.angle||gt}var yt=this.internal.getFilters();if(it===void 0&&yt.indexOf("FlateEncode")!==-1&&(it="SLOW"),isNaN(W)||isNaN(H))throw new Error("Invalid coordinates passed to jsPDF.addImage");u.call(this);var N=B.call(this,S,O,ft,it);return R.call(this,W,H,rt,ct,N,gt),this};var B=function(S,O,W,H){var rt,ct,ft;if(typeof S=="string"&&r(S)===e){S=unescape(S);var it=et(S,!1);(it!==""||(it=t.loadFile(S,!0))!==void 0)&&(S=it)}if(L(S)&&(S=p(S,O)),O=r(S,O),!x(O))throw new Error("addImage does not support files of type '"+O+"', please ensure that a plugin for '"+O+"' support is added.");if(((ft=W)==null||ft.length===0)&&(W=function(gt){return typeof gt=="string"||pt(gt)?Z(gt):pt(gt.data)?Z(gt.data):null}(S)),(rt=T.call(this,W))||(S instanceof Uint8Array||O==="RGBA"||(ct=S,S=lt(S)),rt=this["process"+O.toUpperCase()](S,g.call(this),W,function(gt){return gt&&typeof gt=="string"&&(gt=gt.toUpperCase()),gt in t.image_compression?gt:D.NONE}(H),ct)),!rt)throw new Error("An unknown error occurred whilst processing the image.");return rt},et=t.__addimage__.convertBase64ToBinaryString=function(S,O){O=typeof O!="boolean"||O;var W,H="";if(typeof S=="string"){var rt;W=(rt=at(S))!==null&&rt!==void 0?rt:S;try{H=Lo(W)}catch(ct){if(O)throw z(W)?new Error("atob-Error in jsPDF.convertBase64ToBinaryString "+ct.message):new Error("Supplied Data is not a valid base64-String jsPDF.convertBase64ToBinaryString ")}}return H};t.getImageProperties=function(S){var O,W,H="";if(L(S)&&(S=p(S)),typeof S=="string"&&r(S)===e&&((H=et(S,!1))===""&&(H=t.loadFile(S)||""),S=H),W=r(S),!x(W))throw new Error("addImage does not support files of type '"+W+"', please ensure that a plugin for '"+W+"' support is added.");if(S instanceof Uint8Array||(S=lt(S)),!(O=this["process"+W.toUpperCase()](S)))throw new Error("An unknown error occurred whilst processing the image");return O.fileType=W,O}})(Dt.API),function(t){var n=function(e){if(e!==void 0&&e!="")return!0};Dt.API.events.push(["addPage",function(e){this.internal.getPageInfo(e.pageNumber).pageContext.annotations=[]}]),t.events.push(["putPage",function(e){for(var i,r,s,h=this.internal.getCoordinateString,l=this.internal.getVerticalCoordinateString,u=this.internal.getPageInfoByObjId(e.objId),d=e.pageContext.annotations,g=!1,x=0;x<d.length&&!g;x++)switch((i=d[x]).type){case"link":(n(i.options.url)||n(i.options.pageNumber))&&(g=!0);break;case"reference":case"text":case"freetext":g=!0}if(g!=0){this.internal.write("/Annots [");for(var L=0;L<d.length;L++){i=d[L];var p=this.internal.pdfEscape,T=this.internal.getEncryptor(e.objId);switch(i.type){case"reference":this.internal.write(" "+i.object.objId+" 0 R ");break;case"text":var P=this.internal.newAdditionalObject(),R=this.internal.newAdditionalObject(),k=this.internal.getEncryptor(P.objId),D=i.title||"Note";s="<</Type /Annot /Subtype /Text "+(r="/Rect ["+h(i.bounds.x)+" "+l(i.bounds.y+i.bounds.h)+" "+h(i.bounds.x+i.bounds.w)+" "+l(i.bounds.y)+"] ")+"/Contents ("+p(k(i.contents))+")",s+=" /Popup "+R.objId+" 0 R",s+=" /P "+u.objId+" 0 R",s+=" /T ("+p(k(D))+") >>",P.content=s;var Z=P.objId+" 0 R";s="<</Type /Annot /Subtype /Popup "+(r="/Rect ["+h(i.bounds.x+30)+" "+l(i.bounds.y+i.bounds.h)+" "+h(i.bounds.x+i.bounds.w+30)+" "+l(i.bounds.y)+"] ")+" /Parent "+Z,i.open&&(s+=" /Open true"),s+=" >>",R.content=s,this.internal.write(P.objId,"0 R",R.objId,"0 R");break;case"freetext":r="/Rect ["+h(i.bounds.x)+" "+l(i.bounds.y)+" "+h(i.bounds.x+i.bounds.w)+" "+l(i.bounds.y+i.bounds.h)+"] ";var z="font: Helvetica,sans-serif 12.0pt; text-align:left; color:#"+(i.color||"#000000");s="<</Type /Annot /Subtype /FreeText "+r+"/Contents ("+p(T(i.contents))+")",s+=" /DS("+p(T(z))+")",s+=" /Border [0 0 0]",s+=" >>",this.internal.write(s);break;case"link":if(i.options.name){var at=this.annotations._nameMap[i.options.name];i.options.pageNumber=at.page,i.options.top=at.y}else i.options.top||(i.options.top=0);if(r="/Rect ["+i.finalBounds.x+" "+i.finalBounds.y+" "+i.finalBounds.w+" "+i.finalBounds.h+"] ",s="",i.options.url)s="<</Type /Annot /Subtype /Link "+r+"/Border [0 0 0] /A <</S /URI /URI ("+p(T(i.options.url))+") >>";else if(i.options.pageNumber)switch(s="<</Type /Annot /Subtype /Link "+r+"/Border [0 0 0] /Dest ["+this.internal.getPageInfo(i.options.pageNumber).objId+" 0 R",i.options.magFactor=i.options.magFactor||"XYZ",i.options.magFactor){case"Fit":s+=" /Fit]";break;case"FitH":s+=" /FitH "+i.options.top+"]";break;case"FitV":i.options.left=i.options.left||0,s+=" /FitV "+i.options.left+"]";break;default:var pt=l(i.options.top);i.options.left=i.options.left||0,i.options.zoom===void 0&&(i.options.zoom=0),s+=" /XYZ "+i.options.left+" "+pt+" "+i.options.zoom+"]"}s!=""&&(s+=" >>",this.internal.write(s))}}this.internal.write("]")}}]),t.createAnnotation=function(e){var i=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":i.pageContext.annotations.push(e)}},t.link=function(e,i,r,s,h){var l=this.internal.getCurrentPageInfo(),u=this.internal.getCoordinateString,d=this.internal.getVerticalCoordinateString;l.pageContext.annotations.push({finalBounds:{x:u(e),y:d(i),w:u(e+r),h:d(i+s)},options:h,type:"link"})},t.textWithLink=function(e,i,r,s){var h,l,u=this.getTextWidth(e),d=this.internal.getLineHeight()/this.internal.scaleFactor;if(s.maxWidth!==void 0){l=s.maxWidth;var g=this.splitTextToSize(e,l).length;h=Math.ceil(d*g)}else l=u,h=d;return this.text(e,i,r,s),r+=.2*d,s.align==="center"&&(i-=u/2),s.align==="right"&&(i-=u),this.link(i,r-d,l,h,s),u},t.getTextWidth=function(e){var i=this.internal.getFontSize();return this.getStringUnitWidth(e)*i/this.internal.scaleFactor}}(Dt.API),function(t){var n={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}},i={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},r=[1570,1571,1573,1575];t.__arabicParser__={};var s=t.__arabicParser__.isInArabicSubstitutionA=function(P){return n[P.charCodeAt(0)]!==void 0},h=t.__arabicParser__.isArabicLetter=function(P){return typeof P=="string"&&/^[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]+$/.test(P)},l=t.__arabicParser__.isArabicEndLetter=function(P){return h(P)&&s(P)&&n[P.charCodeAt(0)].length<=2},u=t.__arabicParser__.isArabicAlfLetter=function(P){return h(P)&&r.indexOf(P.charCodeAt(0))>=0};t.__arabicParser__.arabicLetterHasIsolatedForm=function(P){return h(P)&&s(P)&&n[P.charCodeAt(0)].length>=1};var d=t.__arabicParser__.arabicLetterHasFinalForm=function(P){return h(P)&&s(P)&&n[P.charCodeAt(0)].length>=2};t.__arabicParser__.arabicLetterHasInitialForm=function(P){return h(P)&&s(P)&&n[P.charCodeAt(0)].length>=3};var g=t.__arabicParser__.arabicLetterHasMedialForm=function(P){return h(P)&&s(P)&&n[P.charCodeAt(0)].length==4},x=t.__arabicParser__.resolveLigatures=function(P){var R=0,k=e,D="",Z=0;for(R=0;R<P.length;R+=1)k[P.charCodeAt(R)]!==void 0?(Z++,typeof(k=k[P.charCodeAt(R)])=="number"&&(D+=String.fromCharCode(k),k=e,Z=0),R===P.length-1&&(k=e,D+=P.charAt(R-(Z-1)),R-=Z-1,Z=0)):(k=e,D+=P.charAt(R-Z),R-=Z,Z=0);return D};t.__arabicParser__.isArabicDiacritic=function(P){return P!==void 0&&i[P.charCodeAt(0)]!==void 0};var L=t.__arabicParser__.getCorrectForm=function(P,R,k){return h(P)?s(P)===!1?-1:!d(P)||!h(R)&&!h(k)||!h(k)&&l(R)||l(P)&&!h(R)||l(P)&&u(R)||l(P)&&l(R)?0:g(P)&&h(R)&&!l(R)&&h(k)&&d(k)?3:l(P)||!h(k)?1:2:-1},p=function(P){var R=0,k=0,D=0,Z="",z="",at="",pt=(P=P||"").split("\\s+"),lt=[];for(R=0;R<pt.length;R+=1){for(lt.push(""),k=0;k<pt[R].length;k+=1)Z=pt[R][k],z=pt[R][k-1],at=pt[R][k+1],h(Z)?(D=L(Z,z,at),lt[R]+=D!==-1?String.fromCharCode(n[Z.charCodeAt(0)][D]):Z):lt[R]+=Z;lt[R]=x(lt[R])}return lt.join(" ")},T=t.__arabicParser__.processArabic=t.processArabic=function(){var P,R=typeof arguments[0]=="string"?arguments[0]:arguments[0].text,k=[];if(Array.isArray(R)){var D=0;for(k=[],D=0;D<R.length;D+=1)Array.isArray(R[D])?k.push([p(R[D][0]),R[D][1],R[D][2]]):k.push([p(R[D])]);P=k}else P=p(R);return typeof arguments[0]=="string"?P:(arguments[0].text=P,arguments[0])};t.events.push(["preProcessText",T])}(Dt.API),Dt.API.autoPrint=function(t){var n;return(t=t||{}).variant=t.variant||"non-conform",t.variant==="javascript"?this.addJS("print({});"):(this.internal.events.subscribe("postPutResources",function(){n=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 "+n+" 0 R")})),this},function(t){var n=function(){var e=void 0;Object.defineProperty(this,"pdf",{get:function(){return e},set:function(l){e=l}});var i=150;Object.defineProperty(this,"width",{get:function(){return i},set:function(l){i=isNaN(l)||Number.isInteger(l)===!1||l<0?150:l,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=i+1)}});var r=300;Object.defineProperty(this,"height",{get:function(){return r},set:function(l){r=isNaN(l)||Number.isInteger(l)===!1||l<0?300:l,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=r+1)}});var s=[];Object.defineProperty(this,"childNodes",{get:function(){return s},set:function(l){s=l}});var h={};Object.defineProperty(this,"style",{get:function(){return h},set:function(l){h=l}}),Object.defineProperty(this,"parentNode",{})};n.prototype.getContext=function(e,i){var r;if((e=e||"2d")!=="2d")return null;for(r in i)this.pdf.context2d.hasOwnProperty(r)&&(this.pdf.context2d[r]=i[r]);return this.pdf.context2d._canvas=this,this.pdf.context2d},n.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},t.events.push(["initialized",function(){this.canvas=new n,this.canvas.pdf=this}])}(Dt.API),function(t){var n={left:0,top:0,bottom:0,right:0},e=!1,i=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({},n),this.internal.__cell__.margins.width=this.getPageWidth(),r.call(this))},r=function(){this.internal.__cell__.lastCell=new s,this.internal.__cell__.pages=1},s=function(){var u=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return u},set:function(P){u=P}});var d=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return d},set:function(P){d=P}});var g=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return g},set:function(P){g=P}});var x=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return x},set:function(P){x=P}});var L=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return L},set:function(P){L=P}});var p=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return p},set:function(P){p=P}});var T=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return T},set:function(P){T=P}}),this};s.prototype.clone=function(){return new s(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},s.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},t.setHeaderFunction=function(u){return i.call(this),this.internal.__cell__.headerFunction=typeof u=="function"?u:void 0,this},t.getTextDimensions=function(u,d){i.call(this);var g=(d=d||{}).fontSize||this.getFontSize(),x=d.font||this.getFont(),L=d.scaleFactor||this.internal.scaleFactor,p=0,T=0,P=0,R=this;if(!Array.isArray(u)&&typeof u!="string"){if(typeof u!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");u=String(u)}var k=d.maxWidth;k>0?typeof u=="string"?u=this.splitTextToSize(u,k):Object.prototype.toString.call(u)==="[object Array]"&&(u=u.reduce(function(Z,z){return Z.concat(R.splitTextToSize(z,k))},[])):u=Array.isArray(u)?u:[u];for(var D=0;D<u.length;D++)p<(P=this.getStringUnitWidth(u[D],{font:x})*g)&&(p=P);return p!==0&&(T=u.length),{w:p/=L,h:Math.max((T*g*this.getLineHeightFactor()-g*(this.getLineHeightFactor()-1))/L,0)}},t.cellAddPage=function(){i.call(this),this.addPage();var u=this.internal.__cell__.margins||n;return this.internal.__cell__.lastCell=new s(u.left,u.top,void 0,void 0),this.internal.__cell__.pages+=1,this};var h=t.cell=function(){var u;u=arguments[0]instanceof s?arguments[0]:new s(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6]),i.call(this);var d=this.internal.__cell__.lastCell,g=this.internal.__cell__.padding,x=this.internal.__cell__.margins||n,L=this.internal.__cell__.tableHeaderRow,p=this.internal.__cell__.printHeaders;return d.lineNumber!==void 0&&(d.lineNumber===u.lineNumber?(u.x=(d.x||0)+(d.width||0),u.y=d.y||0):d.y+d.height+u.height+x.bottom>this.getPageHeight()?(this.cellAddPage(),u.y=x.top,p&&L&&(this.printHeaderRow(u.lineNumber,!0),u.y+=L[0].height)):u.y=d.y+d.height||u.y),u.text[0]!==void 0&&(this.rect(u.x,u.y,u.width,u.height,e===!0?"FD":void 0),u.align==="right"?this.text(u.text,u.x+u.width-g,u.y+g,{align:"right",baseline:"top"}):u.align==="center"?this.text(u.text,u.x+u.width/2,u.y+g,{align:"center",baseline:"top",maxWidth:u.width-g-g}):this.text(u.text,u.x+g,u.y+g,{align:"left",baseline:"top",maxWidth:u.width-g-g})),this.internal.__cell__.lastCell=u,this};t.table=function(u,d,g,x,L){if(i.call(this),!g)throw new Error("No data for PDF table.");var p,T,P,R,k=[],D=[],Z=[],z={},at={},pt=[],lt=[],X=(L=L||{}).autoSize||!1,B=L.printHeaders!==!1,et=L.css&&L.css["font-size"]!==void 0?16*L.css["font-size"]:L.fontSize||12,S=L.margins||Object.assign({width:this.getPageWidth()},n),O=typeof L.padding=="number"?L.padding:3,W=L.headerBackgroundColor||"#c8c8c8",H=L.headerTextColor||"#000";if(r.call(this),this.internal.__cell__.printHeaders=B,this.internal.__cell__.margins=S,this.internal.__cell__.table_font_size=et,this.internal.__cell__.padding=O,this.internal.__cell__.headerBackgroundColor=W,this.internal.__cell__.headerTextColor=H,this.setFontSize(et),x==null)D=k=Object.keys(g[0]),Z=k.map(function(){return"left"});else if(Array.isArray(x)&&Le(x[0])==="object")for(k=x.map(function(At){return At.name}),D=x.map(function(At){return At.prompt||At.name||""}),Z=x.map(function(At){return At.align||"left"}),p=0;p<x.length;p+=1)at[x[p].name]=.7499990551181103*x[p].width;else Array.isArray(x)&&typeof x[0]=="string"&&(D=k=x,Z=k.map(function(){return"left"}));if(X||Array.isArray(x)&&typeof x[0]=="string")for(p=0;p<k.length;p+=1){for(z[R=k[p]]=g.map(function(At){return At[R]}),this.setFont(void 0,"bold"),pt.push(this.getTextDimensions(D[p],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w),T=z[R],this.setFont(void 0,"normal"),P=0;P<T.length;P+=1)pt.push(this.getTextDimensions(T[P],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w);at[R]=Math.max.apply(null,pt)+O+O,pt=[]}if(B){var rt={};for(p=0;p<k.length;p+=1)rt[k[p]]={},rt[k[p]].text=D[p],rt[k[p]].align=Z[p];var ct=l.call(this,rt,at);lt=k.map(function(At){return new s(u,d,at[At],ct,rt[At].text,void 0,rt[At].align)}),this.setTableHeaderRow(lt),this.printHeaderRow(1,!1)}var ft=x.reduce(function(At,yt){return At[yt.name]=yt.align,At},{});for(p=0;p<g.length;p+=1){"rowStart"in L&&L.rowStart instanceof Function&&L.rowStart({row:p,data:g[p]},this);var it=l.call(this,g[p],at);for(P=0;P<k.length;P+=1){var gt=g[p][k[P]];"cellStart"in L&&L.cellStart instanceof Function&&L.cellStart({row:p,col:P,data:gt},this),h.call(this,new s(u,d,at[k[P]],it,gt,p+2,ft[k[P]]))}}return this.internal.__cell__.table_x=u,this.internal.__cell__.table_y=d,this};var l=function(u,d){var g=this.internal.__cell__.padding,x=this.internal.__cell__.table_font_size,L=this.internal.scaleFactor;return Object.keys(u).map(function(p){var T=u[p];return this.splitTextToSize(T.hasOwnProperty("text")?T.text:T,d[p]-g-g)},this).map(function(p){return this.getLineHeightFactor()*p.length*x/L+g+g},this).reduce(function(p,T){return Math.max(p,T)},0)};t.setTableHeaderRow=function(u){i.call(this),this.internal.__cell__.tableHeaderRow=u},t.printHeaderRow=function(u,d){if(i.call(this),!this.internal.__cell__.tableHeaderRow)throw new Error("Property tableHeaderRow does not exist.");var g;if(e=!0,typeof this.internal.__cell__.headerFunction=="function"){var x=this.internal.__cell__.headerFunction(this,this.internal.__cell__.pages);this.internal.__cell__.lastCell=new s(x[0],x[1],x[2],x[3],void 0,-1)}this.setFont(void 0,"bold");for(var L=[],p=0;p<this.internal.__cell__.tableHeaderRow.length;p+=1){g=this.internal.__cell__.tableHeaderRow[p].clone(),d&&(g.y=this.internal.__cell__.margins.top||0,L.push(g)),g.lineNumber=u;var T=this.getTextColor();this.setTextColor(this.internal.__cell__.headerTextColor),this.setFillColor(this.internal.__cell__.headerBackgroundColor),h.call(this,g),this.setTextColor(T)}L.length>0&&this.setTableHeaderRow(L),this.setFont(void 0,"normal"),e=!1}}(Dt.API);var Wf={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},Vf=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],pc=Hf(Vf),Gf=[100,200,300,400,500,600,700,800,900],I5=Hf(Gf);function Yl(t){var n=t.family.replace(/"|'/g,"").toLowerCase(),e=function(s){return Wf[s=s||"normal"]?s:"normal"}(t.style),i=function(s){return s?typeof s=="number"?s>=100&&s<=900&&s%100==0?s:400:/^\d00$/.test(s)?parseInt(s):s==="bold"?700:400:400}(t.weight),r=function(s){return typeof pc[s=s||"normal"]=="number"?s:"normal"}(t.stretch);return{family:n,style:e,weight:i,stretch:r,src:t.src||[],ref:t.ref||{name:n,style:[r,e,i].join(" ")}}}function Nu(t,n,e,i){var r;for(r=e;r>=0&&r<n.length;r+=i)if(t[n[r]])return t[n[r]];for(r=e;r>=0&&r<n.length;r-=i)if(t[n[r]])return t[n[r]]}var C5={"sans-serif":"helvetica",fixed:"courier",monospace:"courier",terminal:"courier",cursive:"times",fantasy:"times",serif:"times"},Au={caption:"times",icon:"times",menu:"times","message-box":"times","small-caption":"times","status-bar":"times"};function Lu(t){return[t.stretch,t.style,t.weight,t.family].join(" ")}function Su(t){return t.trimLeft()}function F5(t,n){for(var e=0;e<t.length;){if(t.charAt(e)===n)return[t.substring(0,e),t.substring(e+1)];e+=1}return null}function O5(t){var n=t.match(/^(-[a-z_]|[a-z_])[a-z0-9_-]*/i);return n===null?null:[n[0],t.substring(n[0].length)]}var ka,xo,ku,ju,Pu,$l=["times"];function Eu(t,n,e,i,r){var s=4,h=Cu;switch(r){case Dt.API.image_compression.FAST:s=1,h=Iu;break;case Dt.API.image_compression.MEDIUM:s=6,h=Fu;break;case Dt.API.image_compression.SLOW:s=9,h=Ou}t=function(u,d,g,x){for(var L,p=u.length/d,T=new Uint8Array(u.length+p),P=[T5,Iu,Cu,Fu,Ou],R=0;R<p;R+=1){var k=R*d,D=u.subarray(k,k+d);if(x)T.set(x(D,g,L),k+R);else{for(var Z=P.length,z=[],at=0;at<Z;at+=1)z[at]=P[at](D,g,L);var pt=M5(z.concat());T.set(z[pt],k+R)}L=D}return T}(t,n,Math.ceil(e*i/8),h);var l=ec(t,{level:s});return Dt.API.__addimage__.arrayBufferToBinaryString(l)}function T5(t){var n=Array.apply([],t);return n.unshift(0),n}function Iu(t,n){var e=t.length,i=[];i[0]=1;for(var r=0;r<e;r+=1){var s=t[r-n]||0;i[r+1]=t[r]-s+256&255}return i}function Cu(t,n,e){var i=t.length,r=[];r[0]=2;for(var s=0;s<i;s+=1){var h=e&&e[s]||0;r[s+1]=t[s]-h+256&255}return r}function Fu(t,n,e){var i=t.length,r=[];r[0]=3;for(var s=0;s<i;s+=1){var h=t[s-n]||0,l=e&&e[s]||0;r[s+1]=t[s]+256-(h+l>>>1)&255}return r}function Ou(t,n,e){var i=t.length,r=[];r[0]=4;for(var s=0;s<i;s+=1){var h=R5(t[s-n]||0,e&&e[s]||0,e&&e[s-n]||0);r[s+1]=t[s]-h+256&255}return r}function R5(t,n,e){if(t===n&&n===e)return t;var i=Math.abs(n-e),r=Math.abs(t-e),s=Math.abs(t+n-e-e);return i<=r&&i<=s?t:r<=s?n:e}function M5(t){var n=t.map(function(e){return e.reduce(function(i,r){return i+Math.abs(r)},0)});return n.indexOf(Math.min.apply(null,n))}function Kl(t,n,e){var i=n*e,r=Math.floor(i/8),s=16-(i-8*r+e),h=(1<<e)-1;return Zf(t,r)>>s&h}function Tu(t,n,e,i){var r=e*i,s=Math.floor(r/8),h=16-(r-8*s+i),l=(1<<i)-1,u=(n&l)<<h;(function(d,g,x){if(g+1<d.byteLength)d.setUint16(g,x,!1);else{var L=x>>8&255;d.setUint8(g,L)}})(t,s,Zf(t,s)&~(l<<h)&65535|u)}function Zf(t,n){return n+1<t.byteLength?t.getUint16(n,!1):t.getUint8(n)<<8}function B5(t){var n=0;if(t[n++]!==71||t[n++]!==73||t[n++]!==70||t[n++]!==56||(t[n++]+1&253)!=56||t[n++]!==97)throw new Error("Invalid GIF 87a/89a header.");var e=t[n++]|t[n++]<<8,i=t[n++]|t[n++]<<8,r=t[n++],s=r>>7,h=1<<1+(7&r);t[n++],t[n++];var l=null,u=null;s&&(l=n,u=h,n+=3*h);var d=!0,g=[],x=0,L=null,p=0,T=null;for(this.width=e,this.height=i;d&&n<t.length;)switch(t[n++]){case 33:switch(t[n++]){case 255:if(t[n]!==11||t[n+1]==78&&t[n+2]==69&&t[n+3]==84&&t[n+4]==83&&t[n+5]==67&&t[n+6]==65&&t[n+7]==80&&t[n+8]==69&&t[n+9]==50&&t[n+10]==46&&t[n+11]==48&&t[n+12]==3&&t[n+13]==1&&t[n+16]==0)n+=14,T=t[n++]|t[n++]<<8,n++;else for(n+=12;;){if(!((S=t[n++])>=0))throw Error("Invalid block size");if(S===0)break;n+=S}break;case 249:if(t[n++]!==4||t[n+4]!==0)throw new Error("Invalid graphics extension block.");var P=t[n++];x=t[n++]|t[n++]<<8,L=t[n++],1&P||(L=null),p=P>>2&7,n++;break;case 254:for(;;){if(!((S=t[n++])>=0))throw Error("Invalid block size");if(S===0)break;n+=S}break;default:throw new Error("Unknown graphic control label: 0x"+t[n-1].toString(16))}break;case 44:var R=t[n++]|t[n++]<<8,k=t[n++]|t[n++]<<8,D=t[n++]|t[n++]<<8,Z=t[n++]|t[n++]<<8,z=t[n++],at=z>>6&1,pt=1<<1+(7&z),lt=l,X=u,B=!1;z>>7&&(B=!0,lt=n,X=pt,n+=3*pt);var et=n;for(n++;;){var S;if(!((S=t[n++])>=0))throw Error("Invalid block size");if(S===0)break;n+=S}g.push({x:R,y:k,width:D,height:Z,has_local_palette:B,palette_offset:lt,palette_size:X,data_offset:et,data_length:n-et,transparent_index:L,interlaced:!!at,delay:x,disposal:p});break;case 59:d=!1;break;default:throw new Error("Unknown gif block: 0x"+t[n-1].toString(16))}this.numFrames=function(){return g.length},this.loopCount=function(){return T},this.frameInfo=function(O){if(O<0||O>=g.length)throw new Error("Frame index out of range.");return g[O]},this.decodeAndBlitFrameBGRA=function(O,W){var H=this.frameInfo(O),rt=H.width*H.height;if(rt>536870912)throw new Error("Image dimensions exceed 512MB, which is too large.");var ct=new Uint8Array(rt);Ru(t,H.data_offset,ct,rt);var ft=H.palette_offset,it=H.transparent_index;it===null&&(it=256);var gt=H.width,At=e-gt,yt=gt,N=4*(H.y*e+H.x),M=4*((H.y+H.height)*e+H.x),q=N,V=4*At;H.interlaced===!0&&(V+=4*e*7);for(var $=8,Q=0,st=ct.length;Q<st;++Q){var ot=ct[Q];if(yt===0&&(yt=gt,(q+=V)>=M&&(V=4*At+4*e*($-1),q=N+(gt+At)*($<<1),$>>=1)),ot===it)q+=4;else{var bt=t[ft+3*ot],Nt=t[ft+3*ot+1],jt=t[ft+3*ot+2];W[q++]=jt,W[q++]=Nt,W[q++]=bt,W[q++]=255}--yt}},this.decodeAndBlitFrameRGBA=function(O,W){var H=this.frameInfo(O),rt=H.width*H.height;if(rt>536870912)throw new Error("Image dimensions exceed 512MB, which is too large.");var ct=new Uint8Array(rt);Ru(t,H.data_offset,ct,rt);var ft=H.palette_offset,it=H.transparent_index;it===null&&(it=256);var gt=H.width,At=e-gt,yt=gt,N=4*(H.y*e+H.x),M=4*((H.y+H.height)*e+H.x),q=N,V=4*At;H.interlaced===!0&&(V+=4*e*7);for(var $=8,Q=0,st=ct.length;Q<st;++Q){var ot=ct[Q];if(yt===0&&(yt=gt,(q+=V)>=M&&(V=4*At+4*e*($-1),q=N+(gt+At)*($<<1),$>>=1)),ot===it)q+=4;else{var bt=t[ft+3*ot],Nt=t[ft+3*ot+1],jt=t[ft+3*ot+2];W[q++]=bt,W[q++]=Nt,W[q++]=jt,W[q++]=255}--yt}}}function Ru(t,n,e,i){for(var r=t[n++],s=1<<r,h=s+1,l=h+1,u=r+1,d=(1<<u)-1,g=0,x=0,L=0,p=t[n++],T=new Int32Array(4096),P=null;;){for(;g<16&&p!==0;)x|=t[n++]<<g,g+=8,p===1?p=t[n++]:--p;if(g<u)break;var R=x&d;if(x>>=u,g-=u,R!==s){if(R===h)break;for(var k=R<l?R:P,D=0,Z=k;Z>s;)Z=T[Z]>>8,++D;var z=Z;if(L+D+(k!==R?1:0)>i)return void Pe.log("Warning, gif stream longer than expected.");e[L++]=z;var at=L+=D;for(k!==R&&(e[L++]=z),Z=k;D--;)Z=T[Z],e[--at]=255&Z,Z>>=8;P!==null&&l<4096&&(T[l++]=P<<8|z,l>=d+1&&u<12&&(++u,d=d<<1|1)),P=R}else l=h+1,d=(1<<(u=r+1))-1,P=null}return L!==i&&Pe.log("Warning, gif stream shorter than expected."),e}/**
83 * @license
84  Copyright (c) 2008, Adobe Systems Incorporated
85  All rights reserved.
86
87  Redistribution and use in source and binary forms, with or without 
88  modification, are permitted provided that the following conditions are
89  met:
90
91  * Redistributions of source code must retain the above copyright notice, 
92    this list of conditions and the following disclaimer.
93  
94  * Redistributions in binary form must reproduce the above copyright
95    notice, this list of conditions and the following disclaimer in the 
96    documentation and/or other materials provided with the distribution.
97  
98  * Neither the name of Adobe Systems Incorporated nor the names of its 
99    contributors may be used to endorse or promote products derived from 
100    this software without specific prior written permission.
101
102  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
103  IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
104  THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
105  PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 
106  CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
vendor: 5,887 bytes, lines 107-113
107  EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
108  PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
109  PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
110  LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
111  NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
112  SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
113*/function Xl(t){var n,e,i,r,s,h=Math.floor,l=new Array(64),u=new Array(64),d=new Array(64),g=new Array(64),x=new Array(65535),L=new Array(65535),p=new Array(64),T=new Array(64),P=[],R=0,k=7,D=new Array(64),Z=new Array(64),z=new Array(64),at=new Array(256),pt=new Array(2048),lt=[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],X=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],B=[0,1,2,3,4,5,6,7,8,9,10,11],et=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],S=[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],O=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],W=[0,1,2,3,4,5,6,7,8,9,10,11],H=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],rt=[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 ct(N,M){for(var q=0,V=0,$=new Array,Q=1;Q<=16;Q++){for(var st=1;st<=N[Q];st++)$[M[V]]=[],$[M[V]][0]=q,$[M[V]][1]=Q,V++,q++;q*=2}return $}function ft(N){for(var M=N[0],q=N[1]-1;q>=0;)M&1<<q&&(R|=1<<k),q--,--k<0&&(R==255?(it(255),it(0)):it(R),k=7,R=0)}function it(N){P.push(N)}function gt(N){it(N>>8&255),it(255&N)}function At(N,M,q,V,$){for(var Q,st=$[0],ot=$[240],bt=function(_t,Vt){var Et,Ht,Ut,ye,he,Qt,fe,ue,Rt,ie,Bt=0;for(Rt=0;Rt<8;++Rt){Et=_t[Bt],Ht=_t[Bt+1],Ut=_t[Bt+2],ye=_t[Bt+3],he=_t[Bt+4],Qt=_t[Bt+5],fe=_t[Bt+6];var Ze=Et+(ue=_t[Bt+7]),be=Et-ue,oe=Ht+fe,le=Ht-fe,Me=Ut+Qt,zt=Ut-Qt,Ee=ye+he,Yt=ye-he,te=Ze+Ee,Be=Ze-Ee,ce=oe+Me,Gt=oe-Me;_t[Bt]=te+ce,_t[Bt+4]=te-ce;var _e=.707106781*(Gt+Be);_t[Bt+2]=Be+_e,_t[Bt+6]=Be-_e;var yr=.382683433*((te=Yt+zt)-(Gt=le+be)),vn=.5411961*te+yr,Ci=1.306562965*Gt+yr,gi=.707106781*(ce=zt+le),Zt=be+gi,Fi=be-gi;_t[Bt+5]=Fi+vn,_t[Bt+3]=Fi-vn,_t[Bt+1]=Zt+Ci,_t[Bt+7]=Zt-Ci,Bt+=8}for(Bt=0,Rt=0;Rt<8;++Rt){Et=_t[Bt],Ht=_t[Bt+8],Ut=_t[Bt+16],ye=_t[Bt+24],he=_t[Bt+32],Qt=_t[Bt+40],fe=_t[Bt+48];var Oi=Et+(ue=_t[Bt+56]),$n=Et-ue,Kn=Ht+fe,He=Ht-fe,ln=Ut+Qt,fn=Ut-Qt,_r=ye+he,Ki=ye-he,ri=Oi+_r,mi=Oi-_r,ai=Kn+ln,si=Kn-ln;_t[Bt]=ri+ai,_t[Bt+32]=ri-ai;var Xn=.707106781*(si+mi);_t[Bt+16]=mi+Xn,_t[Bt+48]=mi-Xn;var xr=.382683433*((ri=Ki+fn)-(si=He+$n)),bi=.5411961*ri+xr,Nr=1.306562965*si+xr,Xr=.707106781*(ai=fn+He),Jr=$n+Xr,Qr=$n-Xr;_t[Bt+40]=Qr+bi,_t[Bt+24]=Qr-bi,_t[Bt+8]=Jr+Nr,_t[Bt+56]=Jr-Nr,Bt++}for(Rt=0;Rt<64;++Rt)ie=_t[Rt]*Vt[Rt],p[Rt]=ie>0?ie+.5|0:ie-.5|0;return p}(N,M),Nt=0;Nt<64;++Nt)T[lt[Nt]]=bt[Nt];var jt=T[0]-q;q=T[0],jt==0?ft(V[0]):(ft(V[L[Q=32767+jt]]),ft(x[Q]));for(var kt=63;kt>0&&T[kt]==0;)kt--;if(kt==0)return ft(st),q;for(var qt,E=1;E<=kt;){for(var St=E;T[E]==0&&E<=kt;)++E;var se=E-St;if(se>=16){qt=se>>4;for(var Wt=1;Wt<=qt;++Wt)ft(ot);se&=15}Q=32767+T[E],ft($[(se<<4)+L[Q]]),ft(x[Q]),E++}return kt!=63&&ft(st),q}function yt(N){N=Math.min(Math.max(N,1),100),s!=N&&(function(M){for(var q=[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],V=0;V<64;V++){var $=h((q[V]*M+50)/100);$=Math.min(Math.max($,1),255),l[lt[V]]=$}for(var Q=[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],st=0;st<64;st++){var ot=h((Q[st]*M+50)/100);ot=Math.min(Math.max(ot,1),255),u[lt[st]]=ot}for(var bt=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],Nt=0,jt=0;jt<8;jt++)for(var kt=0;kt<8;kt++)d[Nt]=1/(l[lt[Nt]]*bt[jt]*bt[kt]*8),g[Nt]=1/(u[lt[Nt]]*bt[jt]*bt[kt]*8),Nt++}(N<50?Math.floor(5e3/N):Math.floor(200-2*N)),s=N)}this.encode=function(N,M){M&&yt(M),P=new Array,R=0,k=7,gt(65496),gt(65504),gt(16),it(74),it(70),it(73),it(70),it(0),it(1),it(1),it(0),gt(1),gt(1),it(0),it(0),function(){gt(65499),gt(132),it(0);for(var Ht=0;Ht<64;Ht++)it(l[Ht]);it(1);for(var Ut=0;Ut<64;Ut++)it(u[Ut])}(),function(Ht,Ut){gt(65472),gt(17),it(8),gt(Ut),gt(Ht),it(3),it(1),it(17),it(0),it(2),it(17),it(1),it(3),it(17),it(1)}(N.width,N.height),function(){gt(65476),gt(418),it(0);for(var Ht=0;Ht<16;Ht++)it(X[Ht+1]);for(var Ut=0;Ut<=11;Ut++)it(B[Ut]);it(16);for(var ye=0;ye<16;ye++)it(et[ye+1]);for(var he=0;he<=161;he++)it(S[he]);it(1);for(var Qt=0;Qt<16;Qt++)it(O[Qt+1]);for(var fe=0;fe<=11;fe++)it(W[fe]);it(17);for(var ue=0;ue<16;ue++)it(H[ue+1]);for(var Rt=0;Rt<=161;Rt++)it(rt[Rt])}(),gt(65498),gt(12),it(3),it(1),it(0),it(2),it(17),it(3),it(17),it(0),it(63),it(0);var q=0,V=0,$=0;
vendor: 27,387 bytes, lines 113-119
113R=0,k=7,this.encode.displayName="_encode_";for(var Q,st,ot,bt,Nt,jt,kt,qt,E,St=N.data,se=N.width,Wt=N.height,_t=4*se,Vt=0;Vt<Wt;){for(Q=0;Q<_t;){for(Nt=_t*Vt+Q,kt=-1,qt=0,E=0;E<64;E++)jt=Nt+(qt=E>>3)*_t+(kt=4*(7&E)),Vt+qt>=Wt&&(jt-=_t*(Vt+1+qt-Wt)),Q+kt>=_t&&(jt-=Q+kt-_t+4),st=St[jt++],ot=St[jt++],bt=St[jt++],D[E]=(pt[st]+pt[ot+256|0]+pt[bt+512|0]>>16)-128,Z[E]=(pt[st+768|0]+pt[ot+1024|0]+pt[bt+1280|0]>>16)-128,z[E]=(pt[st+1280|0]+pt[ot+1536|0]+pt[bt+1792|0]>>16)-128;q=At(D,d,q,n,i),V=At(Z,g,V,e,r),$=At(z,g,$,e,r),Q+=32}Vt+=8}if(k>=0){var Et=[];Et[1]=k+1,Et[0]=(1<<k+1)-1,ft(Et)}return gt(65497),new Uint8Array(P)},t=t||50,function(){for(var N=String.fromCharCode,M=0;M<256;M++)at[M]=N(M)}(),n=ct(X,B),e=ct(O,W),i=ct(et,S),r=ct(H,rt),function(){for(var N=1,M=2,q=1;q<=15;q++){for(var V=N;V<M;V++)L[32767+V]=q,x[32767+V]=[],x[32767+V][1]=q,x[32767+V][0]=V;for(var $=-(M-1);$<=-N;$++)L[32767+$]=q,x[32767+$]=[],x[32767+$][1]=q,x[32767+$][0]=M-1+$;N<<=1,M<<=1}}(),function(){for(var N=0;N<256;N++)pt[N]=19595*N,pt[N+256|0]=38470*N,pt[N+512|0]=7471*N+32768,pt[N+768|0]=-11059*N,pt[N+1024|0]=-21709*N,pt[N+1280|0]=32768*N+8421375,pt[N+1536|0]=-27439*N,pt[N+1792|0]=-5329*N}(),yt(t)}/**
114 * @license
115 * Copyright (c) 2017 Aras Abbasi
116 *
117 * Licensed under the MIT License.
118 * http://opensource.org/licenses/mit-license
119 */function ui(t,n){if(this.pos=0,this.buffer=t,this.datav=new DataView(t.buffer),this.is_with_alpha=!!n,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 Mu(t){function n(B){if(!B)throw Error("assert :P")}function e(B,et,S){for(var O=0;4>O;O++)if(B[et+O]!=S.charCodeAt(O))return!0;return!1}function i(B,et,S,O,W){for(var H=0;H<W;H++)B[et+H]=S[O+H]}function r(B,et,S,O){for(var W=0;W<O;W++)B[et+W]=S}function s(B){return new Int32Array(B)}function h(B,et){for(var S=[],O=0;O<B;O++)S.push(new et);return S}function l(B,et){var S=[];return function O(W,H,rt){for(var ct=rt[H],ft=0;ft<ct&&(W.push(rt.length>H+1?[]:new et),!(rt.length<H+1));ft++)O(W[ft],H+1,rt)}(S,0,B),S}var u=function(){var B=this;function et(a,o){for(var f=1<<o-1>>>0;a&f;)f>>>=1;return f?(a&f-1)+f:a}function S(a,o,f,m,v){n(!(m%f));do a[o+(m-=f)]=v;while(0<m)}function O(a,o,f,m,v){if(n(2328>=v),512>=v)var w=s(512);else if((w=s(v))==null)return 0;return function(_,A,j,C,G,nt){var F,Y,J=A,ut=1<<j,tt=s(16),dt=s(16);for(n(G!=0),n(C!=null),n(_!=null),n(0<j),Y=0;Y<G;++Y){if(15<C[Y])return 0;++tt[C[Y]]}if(tt[0]==G)return 0;for(dt[1]=0,F=1;15>F;++F){if(tt[F]>1<<F)return 0;dt[F+1]=dt[F]+tt[F]}for(Y=0;Y<G;++Y)F=C[Y],0<C[Y]&&(nt[dt[F]++]=Y);if(dt[15]==1)return(C=new W).g=0,C.value=nt[0],S(_,J,1,ut,C),ut;var mt,xt=-1,wt=ut-1,Mt=0,Pt=1,re=1,Ot=1<<j;for(Y=0,F=1,G=2;F<=j;++F,G<<=1){if(Pt+=re<<=1,0>(re-=tt[F]))return 0;for(;0<tt[F];--tt[F])(C=new W).g=F,C.value=nt[Y++],S(_,J+Mt,G,Ot,C),Mt=et(Mt,F)}for(F=j+1,G=2;15>=F;++F,G<<=1){if(Pt+=re<<=1,0>(re-=tt[F]))return 0;for(;0<tt[F];--tt[F]){if(C=new W,(Mt&wt)!=xt){for(J+=Ot,mt=1<<(xt=F)-j;15>xt&&!(0>=(mt-=tt[xt]));)++xt,mt<<=1;ut+=Ot=1<<(mt=xt-j),_[A+(xt=Mt&wt)].g=mt+j,_[A+xt].value=J-A-xt}C.g=F-j,C.value=nt[Y++],S(_,J+(Mt>>j),G,Ot,C),Mt=et(Mt,F)}}return Pt!=2*dt[15]-1?0:ut}(a,o,f,m,v,w)}function W(){this.value=this.g=0}function H(){this.value=this.g=0}function rt(){this.G=h(5,W),this.H=s(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=h(fa,H)}function ct(a,o,f,m){n(a!=null),n(o!=null),n(2147483648>m),a.Ca=254,a.I=0,a.b=-8,a.Ka=0,a.oa=o,a.pa=f,a.Jd=o,a.Yc=f+m,a.Zc=4<=m?f+m-4+1:f,st(a)}function ft(a,o){for(var f=0;0<o--;)f|=bt(a,128)<<o;return f}function it(a,o){var f=ft(a,o);return ot(a)?-f:f}function gt(a,o,f,m){var v,w=0;for(n(a!=null),n(o!=null),n(4294967288>m),a.Sb=m,a.Ra=0,a.u=0,a.h=0,4<m&&(m=4),v=0;v<m;++v)w+=o[f+v]<<8*v;a.Ra=w,a.bb=m,a.oa=o,a.pa=f}function At(a){for(;8<=a.u&&a.bb<a.Sb;)a.Ra>>>=8,a.Ra+=a.oa[a.pa+a.bb]<<jn-8>>>0,++a.bb,a.u-=8;V(a)&&(a.h=1,a.u=0)}function yt(a,o){if(n(0<=o),!a.h&&o<=es){var f=q(a)&Fr[o];return a.u+=o,At(a),f}return a.h=1,a.u=0}function N(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function M(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function q(a){return a.Ra>>>(a.u&jn-1)>>>0}function V(a){return n(a.bb<=a.Sb),a.h||a.bb==a.Sb&&a.u>jn}function $(a,o){a.u=o,a.h=V(a)}function Q(a){a.u>=Fn&&(n(a.u>=Fn),At(a))}function st(a){n(a!=null&&a.oa!=null),a.pa<a.Zc?(a.I=(a.oa[a.pa++]|a.I<<8)>>>0,a.b+=8):(n(a!=null&&a.oa!=null),a.pa<a.Yc?(a.b+=8,a.I=a.oa[a.pa++]|a.I<<8):a.Ka?a.b=0:(a.I<<=8,a.b+=8,a.Ka=1))}function ot(a){return ft(a,1)}function bt(a,o){var f=a.Ca;0>a.b&&st(a);var m=a.b,v=f*o>>>8,w=(a.I>>>m>v)+0;for(w?(f-=v,a.I-=v+1<<m>>>0):f=v+1,m=f,v=0;256<=m;)v+=8,m>>=8;return m=7^v+da[m],a.b-=m,a.Ca=(f<<m)-1,w}function Nt(a,o,f){a[o+0]=f>>24&255,a[o+1]=f>>16&255,a[o+2]=f>>8&255,a[o+3]=255&f}function jt(a,o){return a[o+0]|a[o+1]<<8}function kt(a,o){return jt(a,o)|a[o+2]<<16}function qt(a,o){return jt(a,o)|jt(a,o+2)<<16}function E(a,o){var f=1<<o;return n(a!=null),n(0<o),a.X=s(f),a.X==null?0:(a.Mb=32-o,a.Xa=o,1)}function St(a,o){n(a!=null),n(o!=null),n(a.Xa==o.Xa),i(o.X,0,a.X,0,1<<o.Xa)}function se(){this.X=[],this.Xa=this.Mb=0}function Wt(a,o,f,m){n(f!=null),n(m!=null);var v=f[0],w=m[0];return v==0&&(v=(a*w+o/2)/o),w==0&&(w=(o*v+a/2)/a),0>=v||0>=w?0:(f[0]=v,m[0]=w,1)}function _t(a,o){return a+(1<<o)-1>>>o}function Vt(a,o){return((4278255360&a)+(4278255360&o)>>>0&4278255360)+((16711935&a)+(16711935&o)>>>0&16711935)>>>0}function Et(a,o){B[o]=function(f,m,v,w,_,A,j){var C;for(C=0;C<_;++C){var G=B[a](A[j+C-1],v,w+C);A[j+C]=Vt(f[m+C],G)}}}function Ht(){this.ud=this.hd=this.jd=0}function Ut(a,o){return((4278124286&(a^o))>>>1)+(a&o)>>>0}function ye(a){return 0<=a&&256>a?a:0>a?0:255<a?255:void 0}function he(a,o){return ye(a+(a-o+.5>>1))}function Qt(a,o,f){return Math.abs(o-f)-Math.abs(a-f)}function fe(a,o,f,m,v,w,_){for(m=w[_-1],f=0;f<v;++f)w[_+f]=m=Vt(a[o+f],m)}function ue(a,o,f,m,v){var w;for(w=0;w<f;++w){var _=a[o+w],A=_>>8&255,j=16711935&(j=(j=16711935&_)+((A<<16)+A));m[v+w]=(4278255360&_)+j>>>0}}function Rt(a,o){o.jd=255&a,o.hd=a>>8&255,o.ud=a>>16&255}function ie(a,o,f,m,v,w){var _;for(_=0;_<m;++_){var A=o[f+_],j=A>>>8,C=A,G=255&(G=(G=A>>>16)+((a.jd<<24>>24)*(j<<24>>24)>>>5));C=255&(C=(C+=(a.hd<<24>>24)*(j<<24>>24)>>>5)+((a.ud<<24>>24)*(G<<24>>24)>>>5)),v[w+_]=(4278255360&A)+(G<<16)+C}}function Bt(a,o,f,m,v){B[o]=function(w,_,A,j,C,G,nt,F,Y){for(j=nt;j<F;++j)for(nt=0;nt<Y;++nt)C[G++]=v(A[m(w[_++])])},B[a]=function(w,_,A,j,C,G,nt){var F=8>>w.b,Y=w.Ea,J=w.K[0],ut=w.w;if(8>F)for(w=(1<<w.b)-1,ut=(1<<F)-1;_<A;++_){var tt,dt=0;for(tt=0;tt<Y;++tt)tt&w||(dt=m(j[C++])),G[nt++]=v(J[dt&ut]),dt>>=F}else B["VP8LMapColor"+f](j,C,J,ut,G,nt,_,A,Y)}}function Ze(a,o,f,m,v){for(f=o+f;o<f;){var w=a[o++];m[v++]=w>>16&255,m[v++]=w>>8&255,m[v++]=255&w}}function be(a,o,f,m,v){for(f=o+f;o<f;){var w=a[o++];m[v++]=w>>16&255,m[v++]=w>>8&255,m[v++]=255&w,m[v++]=w>>24&255}}function oe(a,o,f,m,v){for(f=o+f;o<f;){var w=(_=a[o++])>>16&240|_>>12&15,_=240&_|_>>28&15;m[v++]=w,m[v++]=_}}function le(a,o,f,m,v){for(f=o+f;o<f;){var w=(_=a[o++])>>16&248|_>>13&7,_=_>>5&224|_>>3&31;m[v++]=w,m[v++]=_}}function Me(a,o,f,m,v){for(f=o+f;o<f;){var w=a[o++];m[v++]=255&w,m[v++]=w>>8&255,m[v++]=w>>16&255}}function zt(a,o,f,m,v,w){if(w==0)for(f=o+f;o<f;)Nt(m,((w=a[o++])[0]>>24|w[1]>>8&65280|w[2]<<8&16711680|w[3]<<24)>>>0),v+=32;else i(m,v,a,o,f)}function Ee(a,o){B[o][0]=B[a+"0"],B[o][1]=B[a+"1"],B[o][2]=B[a+"2"],B[o][3]=B[a+"3"],B[o][4]=B[a+"4"],B[o][5]=B[a+"5"],B[o][6]=B[a+"6"],B[o][7]=B[a+"7"],B[o][8]=B[a+"8"],B[o][9]=B[a+"9"],B[o][10]=B[a+"10"],B[o][11]=B[a+"11"],B[o][12]=B[a+"12"],B[o][13]=B[a+"13"],B[o][14]=B[a+"0"],B[o][15]=B[a+"0"]}function Yt(a){return a==ol||a==ll||a==no||a==cl}function te(){this.eb=[],this.size=this.A=this.fb=0}function Be(){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 ce(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new te,this.f.kb=new Be,this.sd=null}function Gt(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function _e(){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 yr(a){return alert("todo:WebPSamplerProcessPlane"),a.T}function vn(a,o){var f=a.T,m=o.ba.f.RGBA,v=m.eb,w=m.fb+a.ka*m.A,_=ei[o.ba.S],A=a.y,j=a.O,C=a.f,G=a.N,nt=a.ea,F=a.W,Y=o.cc,J=o.dc,ut=o.Mc,tt=o.Nc,dt=a.ka,mt=a.ka+a.T,xt=a.U,wt=xt+1>>1;for(dt==0?_(A,j,null,null,C,G,nt,F,C,G,nt,F,v,w,null,null,xt):(_(o.ec,o.fc,A,j,Y,J,ut,tt,C,G,nt,F,v,w-m.A,v,w,xt),++f);dt+2<mt;dt+=2)Y=C,J=G,ut=nt,tt=F,G+=a.Rc,F+=a.Rc,w+=2*m.A,_(A,(j+=2*a.fa)-a.fa,A,j,Y,J,ut,tt,C,G,nt,F,v,w-m.A,v,w,xt);return j+=a.fa,a.j+mt<a.o?(i(o.ec,o.fc,A,j,xt),i(o.cc,o.dc,C,G,wt),i(o.Mc,o.Nc,nt,F,wt),f--):1&mt||_(A,j,null,null,C,G,nt,F,C,G,nt,F,v,w+m.A,null,null,xt),f}function Ci(a,o,f){var m=a.F,v=[a.J];if(m!=null){var w=a.U,_=o.ba.S,A=_==eo||_==no;o=o.ba.f.RGBA;var j=[0],C=a.ka;j[0]=a.T,a.Kb&&(C==0?--j[0]:(--C,v[0]-=a.width),a.j+a.ka+a.T==a.o&&(j[0]=a.o-a.j-C));var G=o.eb;C=o.fb+C*o.A,a=Cc(m,v[0],a.width,w,j,G,C+(A?0:3),o.A),n(f==j),a&&Yt(_)&&as(G,C,A,w,j,o.A)}return 0}function gi(a){var o=a.ma,f=o.ba.S,m=11>f,v=f==Qs||f==to||f==eo||f==sl||f==12||Yt(f);if(o.memory=null,o.Ib=null,o.Jb=null,o.Nd=null,!Qn(o.Oa,a,v?11:12))return 0;if(v&&Yt(f)&&qi(),a.da)alert("todo:use_scaling");else{if(m){if(o.Ib=yr,a.Kb){if(f=a.U+1>>1,o.memory=s(a.U+2*f),o.memory==null)return 0;o.ec=o.memory,o.fc=0,o.cc=o.ec,o.dc=o.fc+a.U,o.Mc=o.cc,o.Nc=o.dc+f,o.Ib=vn,qi()}}else alert("todo:EmitYUV");v&&(o.Jb=Ci,m&&Ue())}if(m&&!$c){for(a=0;256>a;++a)p1[a]=89858*(a-128)+ro>>io,b1[a]=-22014*(a-128)+ro,m1[a]=-45773*(a-128),g1[a]=113618*(a-128)+ro>>io;for(a=os;a<fl;++a)o=76283*(a-16)+ro>>io,v1[a-os]=vi(o,255),w1[a-os]=vi(o+8>>4,15);$c=1}return 1}function Zt(a){var o=a.ma,f=a.U,m=a.T;return n(!(1&a.ka)),0>=f||0>=m?0:(f=o.Ib(a,o),o.Jb!=null&&o.Jb(a,o,f),o.Dc+=f,1)}function Fi(a){a.ma.memory=null}function Oi(a,o,f,m){return yt(a,8)!=47?0:(o[0]=yt(a,14)+1,f[0]=yt(a,14)+1,m[0]=yt(a,1),yt(a,3)!=0?0:!a.h)}function $n(a,o){if(4>a)return a+1;var f=a-2>>1;return(2+(1&a)<<f)+yt(o,f)+1}function Kn(a,o){return 120<o?o-120:1<=(f=((f=t1[o-1])>>4)*a+(8-(15&f)))?f:1;var f}function He(a,o,f){var m=q(f),v=a[o+=255&m].g-8;return 0<v&&($(f,f.u+8),m=q(f),o+=a[o].value,o+=m&(1<<v)-1),$(f,f.u+a[o].g),a[o].value}function ln(a,o,f){return f.g+=a.g,f.value+=a.value<<o>>>0,n(8>=f.g),a.g}function fn(a,o,f){var m=a.xc;return n((o=m==0?0:a.vc[a.md*(f>>m)+(o>>m)])<a.Wb),a.Ya[o]}function _r(a,o,f,m){var v=a.ab,w=a.c*o,_=a.C;o=_+o;var A=f,j=m;for(m=a.Ta,f=a.Ua;0<v--;){var C=a.gc[v],G=_,nt=o,F=A,Y=j,J=(j=m,A=f,C.Ea);switch(n(G<nt),n(nt<=C.nc),C.hc){case 2:pa(F,Y,(nt-G)*J,j,A);break;case 0:var ut=G,tt=nt,dt=j,mt=A,xt=(Ot=C).Ea;ut==0&&(er(F,Y,null,null,1,dt,mt),fe(F,Y+1,0,0,xt-1,dt,mt+1),Y+=xt,mt+=xt,++ut);for(var wt=1<<Ot.b,Mt=wt-1,Pt=_t(xt,Ot.b),re=Ot.K,Ot=Ot.w+(ut>>Ot.b)*Pt;ut<tt;){var de=re,an=Ot,ae=1;for(nr(F,Y,dt,mt-xt,1,dt,mt);ae<xt;){var Tt=(ae&~Mt)+wt;Tt>xt&&(Tt=xt),(0,oi[de[an++]>>8&15])(F,Y+ +ae,dt,mt+ae-xt,Tt-ae,dt,mt+ae),ae=Tt}Y+=xt,mt+=xt,++ut&Mt||(Ot+=Pt)}nt!=C.nc&&i(j,A-J,j,A+(nt-G-1)*J,J);break;case 1:for(J=F,tt=Y,xt=(F=C.Ea)-(mt=F&~(dt=(Y=1<<C.b)-1)),ut=_t(F,C.b),wt=C.K,C=C.w+(G>>C.b)*ut;G<nt;){for(Mt=wt,Pt=C,re=new Ht,Ot=tt+mt,de=tt+F;tt<Ot;)Rt(Mt[Pt++],re),Tr(re,J,tt,Y,j,A),tt+=Y,A+=Y;tt<de&&(Rt(Mt[Pt++],re),Tr(re,J,tt,xt,j,A),tt+=xt,A+=xt),++G&dt||(C+=ut)}break;case 3:if(F==j&&Y==A&&0<C.b){for(tt=j,F=J=A+(nt-G)*J-(mt=(nt-G)*_t(C.Ea,C.b)),Y=j,dt=A,ut=[],mt=(xt=mt)-1;0<=mt;--mt)ut[mt]=Y[dt+mt];for(mt=xt-1;0<=mt;--mt)tt[F+mt]=ut[mt];Or(C,G,nt,j,J,j,A)}else Or(C,G,nt,F,Y,j,A)}A=m,j=f}j!=f&&i(m,f,A,j,w)}function Ki(a,o){var f=a.V,m=a.Ba+a.c*a.C,v=o-a.C;if(n(o<=a.l.o),n(16>=v),0<v){var w=a.l,_=a.Ta,A=a.Ua,j=w.width;if(_r(a,v,f,m),v=A=[A],n((f=a.C)<(m=o)),n(w.v<w.va),m>w.o&&(m=w.o),f<w.j){var C=w.j-f;f=w.j,v[0]+=C*j}if(f>=m?f=0:(v[0]+=4*w.v,w.ka=f-w.j,w.U=w.va-w.v,w.T=m-f,f=1),f){if(A=A[0],11>(f=a.ca).S){var G=f.f.RGBA,nt=(m=f.S,v=w.U,w=w.T,C=G.eb,G.A),F=w;for(G=G.fb+a.Ma*G.A;0<F--;){var Y=_,J=A,ut=v,tt=C,dt=G;switch(m){case Js:ns(Y,J,ut,tt,dt);break;case Qs:is(Y,J,ut,tt,dt);break;case ol:is(Y,J,ut,tt,dt),as(tt,dt,0,ut,1,0);break;case Dc:Mr(Y,J,ut,tt,dt);break;case to:zt(Y,J,ut,tt,dt,1);break;case ll:zt(Y,J,ut,tt,dt,1),as(tt,dt,0,ut,1,0);break;case eo:zt(Y,J,ut,tt,dt,0);break;case no:zt(Y,J,ut,tt,dt,0),as(tt,dt,1,ut,1,0);break;case sl:ga(Y,J,ut,tt,dt);break;case cl:ga(Y,J,ut,tt,dt),Ic(tt,dt,ut,1,0);break;case qc:Rr(Y,J,ut,tt,dt);break;default:n(0)}A+=j,G+=nt}a.Ma+=w}else alert("todo:EmitRescaledRowsYUVA");n(a.Ma<=f.height)}}a.C=o,n(a.C<=a.i)}function ri(a){var o;if(0<a.ua)return 0;for(o=0;o<a.Wb;++o){var f=a.Ya[o].G,m=a.Ya[o].H;if(0<f[1][m[1]+0].g||0<f[2][m[2]+0].g||0<f[3][m[3]+0].g)return 0}return 1}function mi(a,o,f,m,v,w){if(a.Z!=0){var _=a.qd,A=a.rd;for(n(sr[a.Z]!=null);o<f;++o)sr[a.Z](_,A,m,v,m,v,w),_=m,A=v,v+=w;a.qd=_,a.rd=A}}function ai(a,o){var f=a.l.ma,m=f.Z==0||f.Z==1?a.l.j:a.C;if(m=a.C<m?m:a.C,n(o<=a.l.o),o>m){var v=a.l.width,w=f.ca,_=f.tb+v*m,A=a.V,j=a.Ba+a.c*m,C=a.gc;n(a.ab==1),n(C[0].hc==3),rl(C[0],m,o,A,j,w,_),mi(f,m,o,w,_,v)}a.C=a.Ma=o}function si(a,o,f,m,v,w,_){var A=a.$/m,j=a.$%m,C=a.m,G=a.s,nt=f+a.$,F=nt;v=f+m*v;var Y=f+m*w,J=280+G.ua,ut=a.Pb?A:16777216,tt=0<G.ua?G.Wa:null,dt=G.wc,mt=nt<Y?fn(G,j,A):null;n(a.C<w),n(Y<=v);var xt=!1;t:for(;;){for(;xt||nt<Y;){var wt=0;if(A>=ut){var Mt=nt-f;n((ut=a).Pb),ut.wd=ut.m,ut.xd=Mt,0<ut.s.ua&&St(ut.s.Wa,ut.s.vb),ut=A+n1}if(j&dt||(mt=fn(G,j,A)),n(mt!=null),mt.Qb&&(o[nt]=mt.qb,xt=!0),!xt)if(Q(C),mt.jc){wt=C,Mt=o;var Pt=nt,re=mt.pd[q(wt)&fa-1];n(mt.jc),256>re.g?($(wt,wt.u+re.g),Mt[Pt]=re.value,wt=0):($(wt,wt.u+re.g-256),n(256<=re.value),wt=re.value),wt==0&&(xt=!0)}else wt=He(mt.G[0],mt.H[0],C);if(C.h)break;if(xt||256>wt){if(!xt)if(mt.nd)o[nt]=(mt.qb|wt<<8)>>>0;else{if(Q(C),xt=He(mt.G[1],mt.H[1],C),Q(C),Mt=He(mt.G[2],mt.H[2],C),Pt=He(mt.G[3],mt.H[3],C),C.h)break;o[nt]=(Pt<<24|xt<<16|wt<<8|Mt)>>>0}if(xt=!1,++nt,++j>=m&&(j=0,++A,_!=null&&A<=w&&!(A%16)&&_(a,A),tt!=null))for(;F<nt;)wt=o[F++],tt.X[(506832829*wt&4294967295)>>>tt.Mb]=wt}else if(280>wt){if(wt=$n(wt-256,C),Mt=He(mt.G[4],mt.H[4],C),Q(C),Mt=Kn(m,Mt=$n(Mt,C)),C.h)break;if(nt-f<Mt||v-nt<wt)break t;for(Pt=0;Pt<wt;++Pt)o[nt+Pt]=o[nt+Pt-Mt];for(nt+=wt,j+=wt;j>=m;)j-=m,++A,_!=null&&A<=w&&!(A%16)&&_(a,A);if(n(nt<=v),j&dt&&(mt=fn(G,j,A)),tt!=null)for(;F<nt;)wt=o[F++],tt.X[(506832829*wt&4294967295)>>>tt.Mb]=wt}else{if(!(wt<J))break t;for(xt=wt-280,n(tt!=null);F<nt;)wt=o[F++],tt.X[(506832829*wt&4294967295)>>>tt.Mb]=wt;wt=nt,n(!(xt>>>(Mt=tt).Xa)),o[wt]=Mt.X[xt],xt=!0}xt||n(C.h==V(C))}if(a.Pb&&C.h&&nt<v)n(a.m.h),a.a=5,a.m=a.wd,a.$=a.xd,0<a.s.ua&&St(a.s.vb,a.s.Wa);else{if(C.h)break t;_!=null&&_(a,A>w?w:A),a.a=0,a.$=nt-f}return 1}return a.a=3,0}function Xn(a){n(a!=null),a.vc=null,a.yc=null,a.Ya=null;var o=a.Wa;o!=null&&(o.X=null),a.vb=null,n(a!=null)}function xr(){var a=new Ft;return a==null?null:(a.a=0,a.xb=Hc,Ee("Predictor","VP8LPredictors"),Ee("Predictor","VP8LPredictors_C"),Ee("PredictorAdd","VP8LPredictorsAdd"),Ee("PredictorAdd","VP8LPredictorsAdd_C"),pa=ue,Tr=ie,ns=Ze,is=be,ga=oe,Rr=le,Mr=Me,B.VP8LMapColor32b=nn,B.VP8LMapColor8b=Ni,a)}function bi(a,o,f,m,v){var w=1,_=[a],A=[o],j=m.m,C=m.s,G=null,nt=0;t:for(;;){if(f)for(;w&&yt(j,1);){var F=_,Y=A,J=m,ut=1,tt=J.m,dt=J.gc[J.ab],mt=yt(tt,2);if(J.Oc&1<<mt)w=0;else{switch(J.Oc|=1<<mt,dt.hc=mt,dt.Ea=F[0],dt.nc=Y[0],dt.K=[null],++J.ab,n(4>=J.ab),mt){case 0:case 1:dt.b=yt(tt,3)+2,ut=bi(_t(dt.Ea,dt.b),_t(dt.nc,dt.b),0,J,dt.K),dt.K=dt.K[0];break;case 3:var xt,wt=yt(tt,8)+1,Mt=16<wt?0:4<wt?1:2<wt?2:3;if(F[0]=_t(dt.Ea,Mt),dt.b=Mt,xt=ut=bi(wt,1,0,J,dt.K)){var Pt,re=wt,Ot=dt,de=1<<(8>>Ot.b),an=s(de);if(an==null)xt=0;else{var ae=Ot.K[0],Tt=Ot.w;for(an[0]=Ot.K[0][0],Pt=1;Pt<1*re;++Pt)an[Pt]=Vt(ae[Tt+Pt],an[Pt-1]);for(;Pt<4*de;++Pt)an[Pt]=0;Ot.K[0]=null,Ot.K[0]=an,xt=1}}ut=xt;break;case 2:break;default:n(0)}w=ut}}if(_=_[0],A=A[0],w&&yt(j,1)&&!(w=1<=(nt=yt(j,4))&&11>=nt)){m.a=3;break t}var Lt;if(Lt=w)e:{var $e,ne,me,Te=m,pn=_,Pn=A,We=nt,xn=f,En=Te.m,sn=Te.s,ve=[null],xe=1,Ve=0,Ne=e1[We];n:for(;;){if(xn&&yt(En,1)){var gn=yt(En,3)+2,ci=_t(pn,gn),Ke=_t(Pn,gn),On=ci*Ke;if(!bi(ci,Ke,0,Te,ve))break n;for(ve=ve[0],sn.xc=gn,$e=0;$e<On;++$e){var je=ve[$e]>>8&65535;ve[$e]=je,je>=xe&&(xe=je+1)}}if(En.h)break n;for(ne=0;5>ne;++ne){var on=Uc[ne];!ne&&0<We&&(on+=1<<We),Ve<on&&(Ve=on)}var qn=h(xe*Ne,W),In=xe,Un=h(In,rt);if(Un==null)var zn=null;else n(65536>=In),zn=Un;var Tn=s(Ve);if(zn==null||Tn==null||qn==null){Te.a=1;break n}var Hn=qn;for($e=me=0;$e<xe;++$e){var Fe=zn[$e],Wn=Fe.G,hi=Fe.H,Br=0,Wi=1,mn=0;for(ne=0;5>ne;++ne){on=Uc[ne],Wn[ne]=Hn,hi[ne]=me,!ne&&0<We&&(on+=1<<We);r:{var so,dl=on,oo=Te,ls=Tn,x1=Hn,N1=me,pl=0,or=oo.m,A1=yt(or,1);if(r(ls,0,0,dl),A1){var L1=yt(or,1)+1,S1=yt(or,1),Jc=yt(or,S1==0?1:8);ls[Jc]=1,L1==2&&(ls[Jc=yt(or,8)]=1);var lo=1}else{var Qc=s(19),th=yt(or,4)+4;if(19<th){oo.a=3;var co=0;break r}for(so=0;so<th;++so)Qc[Qf[so]]=yt(or,3);var gl=void 0,cs=void 0,eh=oo,k1=Qc,ho=dl,nh=ls,ml=0,lr=eh.m,ih=8,rh=h(128,W);i:for(;O(rh,0,7,k1,19);){if(yt(lr,1)){var j1=2+2*yt(lr,3);if((gl=2+yt(lr,j1))>ho)break i}else gl=ho;for(cs=0;cs<ho&&gl--;){Q(lr);var ah=rh[0+(127&q(lr))];$(lr,lr.u+ah.g);var va=ah.value;if(16>va)nh[cs++]=va,va!=0&&(ih=va);else{var P1=va==16,sh=va-16,E1=Xf[sh],oh=yt(lr,Kf[sh])+E1;if(cs+oh>ho)break i;for(var I1=P1?ih:0;0<oh--;)nh[cs++]=I1}}ml=1;break i}ml||(eh.a=3),lo=ml}(lo=lo&&!or.h)&&(pl=O(x1,N1,8,ls,dl)),lo&&pl!=0?co=pl:(oo.a=3,co=0)}if(co==0)break n;if(Wi&&Jf[ne]==1&&(Wi=Hn[me].g==0),Br+=Hn[me].g,me+=co,3>=ne){var hs,bl=Tn[0];for(hs=1;hs<on;++hs)Tn[hs]>bl&&(bl=Tn[hs]);mn+=bl}}if(Fe.nd=Wi,Fe.Qb=0,Wi&&(Fe.qb=(Wn[3][hi[3]+0].value<<24|Wn[1][hi[1]+0].value<<16|Wn[2][hi[2]+0].value)>>>0,Br==0&&256>Wn[0][hi[0]+0].value&&(Fe.Qb=1,Fe.qb+=Wn[0][hi[0]+0].value<<8)),Fe.jc=!Fe.Qb&&6>mn,Fe.jc){var uo,Vi=Fe;for(uo=0;uo<fa;++uo){var cr=uo,hr=Vi.pd[cr],fo=Vi.G[0][Vi.H[0]+cr];256<=fo.value?(hr.g=fo.g+256,hr.value=fo.value):(hr.g=0,hr.value=0,cr>>=ln(fo,8,hr),cr>>=ln(Vi.G[1][Vi.H[1]+cr],16,hr),cr>>=ln(Vi.G[2][Vi.H[2]+cr],0,hr),ln(Vi.G[3][Vi.H[3]+cr],24,hr))}}}sn.vc=ve,sn.Wb=xe,sn.Ya=zn,sn.yc=qn,Lt=1;break e}Lt=0}if(!(w=Lt)){m.a=3;break t}if(0<nt){if(C.ua=1<<nt,!E(C.Wa,nt)){m.a=1,w=0;break t}}else C.ua=0;var vl=m,lh=_,C1=A,wl=vl.s,yl=wl.xc;if(vl.c=lh,vl.i=C1,wl.md=_t(lh,yl),wl.wc=yl==0?-1:(1<<yl)-1,f){m.xb=c1;break t}if((G=s(_*A))==null){m.a=1,w=0;break t}w=(w=si(m,G,0,_,A,A,null))&&!j.h;break t}return w?(v!=null?v[0]=G:(n(G==null),n(f)),m.$=0,f||Xn(C)):Xn(C),w}function Nr(a,o){var f=a.c*a.i,m=f+o+16*o;return n(a.c<=o),a.V=s(m),a.V==null?(a.Ta=null,a.Ua=0,a.a=1,0):(a.Ta=a.V,a.Ua=a.Ba+f+o,1)}function Xr(a,o){var f=a.C,m=o-f,v=a.V,w=a.Ba+a.c*f;for(n(o<=a.l.o);0<m;){var _=16<m?16:m,A=a.l.ma,j=a.l.width,C=j*_,G=A.ca,nt=A.tb+j*f,F=a.Ta,Y=a.Ua;_r(a,_,v,w),Fc(F,Y,G,nt,C),mi(A,f,f+_,G,nt,j),m-=_,v+=_*a.c,f+=_}n(f==o),a.C=a.Ma=o}function Jr(){this.ub=this.yd=this.td=this.Rb=0}function Qr(){this.Kd=this.Ld=this.Ud=this.Td=this.i=this.c=0}function qo(){this.Fb=this.Bb=this.Cb=0,this.Zb=s(4),this.Lb=s(4)}function za(){this.Yb=function(){var a=[];return function o(f,m,v){for(var w=v[m],_=0;_<w&&(f.push(v.length>m+1?[]:0),!(v.length<m+1));_++)o(f[_],m+1,v)}(a,0,[3,11]),a}()}function Fs(){this.jb=s(3),this.Wc=l([4,8],za),this.Xc=l([4,17],za)}function Os(){this.Pc=this.wb=this.Tb=this.zd=0,this.vd=new s(4),this.od=new s(4)}function Jn(){this.ld=this.La=this.dd=this.tc=0}function Ha(){this.Na=this.la=0}function Ts(){this.Sc=[0,0],this.Eb=[0,0],this.Qc=[0,0],this.ia=this.lc=0}function Wa(){this.ad=s(384),this.Za=0,this.Ob=s(16),this.$b=this.Ad=this.ia=this.Gc=this.Hc=this.Dd=0}function Rs(){this.uc=this.M=this.Nb=0,this.wa=Array(new Jn),this.Y=0,this.ya=Array(new Wa),this.aa=0,this.l=new ta}function Ms(){this.y=s(16),this.f=s(8),this.ea=s(8)}function Bs(){this.cb=this.a=0,this.sc="",this.m=new N,this.Od=new Jr,this.Kc=new Qr,this.ed=new Os,this.Qa=new qo,this.Ic=this.$c=this.Aa=0,this.D=new Rs,this.Xb=this.Va=this.Hb=this.zb=this.yb=this.Ub=this.za=0,this.Jc=h(8,N),this.ia=0,this.pb=h(4,Ts),this.Pa=new Fs,this.Bd=this.kc=0,this.Ac=[],this.Bc=0,this.zc=[0,0,0,0],this.Gd=Array(new Ms),this.Hd=0,this.rb=Array(new Ha),this.sb=0,this.wa=Array(new Jn),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 Wa),this.L=this.aa=0,this.gd=l([4,2],Jn),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 vi(a,o){return 0>a?0:a>o?o:a}function ta(){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 Uo(){var a=new Bs;return a!=null&&(a.a=0,a.sc="OK",a.cb=0,a.Xb=0,ss||(ss=ea)),a}function tn(a,o,f){return a.a==0&&(a.a=o,a.sc=f,a.cb=0),0}function Ds(a,o,f){return 3<=f&&a[o+0]==157&&a[o+1]==1&&a[o+2]==42}function wi(a,o){if(a==null)return 0;if(a.a=0,a.sc="OK",o==null)return tn(a,2,"null VP8Io passed to VP8GetHeaders()");var f=o.data,m=o.w,v=o.ha;if(4>v)return tn(a,7,"Truncated header.");var w=f[m+0]|f[m+1]<<8|f[m+2]<<16,_=a.Od;if(_.Rb=!(1&w),_.td=w>>1&7,_.yd=w>>4&1,_.ub=w>>5,3<_.td)return tn(a,3,"Incorrect keyframe parameters.");if(!_.yd)return tn(a,4,"Frame not displayable.");m+=3,v-=3;var A=a.Kc;if(_.Rb){if(7>v)return tn(a,7,"cannot parse picture header");if(!Ds(f,m,v))return tn(a,3,"Bad code word");A.c=16383&(f[m+4]<<8|f[m+3]),A.Td=f[m+4]>>6,A.i=16383&(f[m+6]<<8|f[m+5]),A.Ud=f[m+6]>>6,m+=7,v-=7,a.za=A.c+15>>4,a.Ub=A.i+15>>4,o.width=A.c,o.height=A.i,o.Da=0,o.j=0,o.v=0,o.va=o.width,o.o=o.height,o.da=0,o.ib=o.width,o.hb=o.height,o.U=o.width,o.T=o.height,r((w=a.Pa).jb,0,255,w.jb.length),n((w=a.Qa)!=null),w.Cb=0,w.Bb=0,w.Fb=1,r(w.Zb,0,0,w.Zb.length),r(w.Lb,0,0,w.Lb)}if(_.ub>v)return tn(a,7,"bad partition length");ct(w=a.m,f,m,_.ub),m+=_.ub,v-=_.ub,_.Rb&&(A.Ld=ot(w),A.Kd=ot(w)),A=a.Qa;var j,C=a.Pa;if(n(w!=null),n(A!=null),A.Cb=ot(w),A.Cb){if(A.Bb=ot(w),ot(w)){for(A.Fb=ot(w),j=0;4>j;++j)A.Zb[j]=ot(w)?it(w,7):0;for(j=0;4>j;++j)A.Lb[j]=ot(w)?it(w,6):0}if(A.Bb)for(j=0;3>j;++j)C.jb[j]=ot(w)?ft(w,8):255}else A.Bb=0;if(w.Ka)return tn(a,3,"cannot parse segment header");if((A=a.ed).zd=ot(w),A.Tb=ft(w,6),A.wb=ft(w,3),A.Pc=ot(w),A.Pc&&ot(w)){for(C=0;4>C;++C)ot(w)&&(A.vd[C]=it(w,6));for(C=0;4>C;++C)ot(w)&&(A.od[C]=it(w,6))}if(a.L=A.Tb==0?0:A.zd?1:2,w.Ka)return tn(a,3,"cannot parse filter header");var G=v;if(v=j=m,m=j+G,A=G,a.Xb=(1<<ft(a.m,2))-1,G<3*(C=a.Xb))f=7;else{for(j+=3*C,A-=3*C,G=0;G<C;++G){var nt=f[v+0]|f[v+1]<<8|f[v+2]<<16;nt>A&&(nt=A),ct(a.Jc[+G],f,j,nt),j+=nt,A-=nt,v+=3}ct(a.Jc[+C],f,j,A),f=j<m?0:5}if(f!=0)return tn(a,f,"cannot parse partitions");for(f=ft(j=a.m,7),v=ot(j)?it(j,4):0,m=ot(j)?it(j,4):0,A=ot(j)?it(j,4):0,C=ot(j)?it(j,4):0,j=ot(j)?it(j,4):0,G=a.Qa,nt=0;4>nt;++nt){if(G.Cb){var F=G.Zb[nt];G.Fb||(F+=f)}else{if(0<nt){a.pb[nt]=a.pb[0];continue}F=f}var Y=a.pb[nt];Y.Sc[0]=hl[vi(F+v,127)],Y.Sc[1]=ul[vi(F+0,127)],Y.Eb[0]=2*hl[vi(F+m,127)],Y.Eb[1]=101581*ul[vi(F+A,127)]>>16,8>Y.Eb[1]&&(Y.Eb[1]=8),Y.Qc[0]=hl[vi(F+C,117)],Y.Qc[1]=ul[vi(F+j,127)],Y.lc=F+j}if(!_.Rb)return tn(a,4,"Not a key frame.");for(ot(w),_=a.Pa,f=0;4>f;++f){for(v=0;8>v;++v)for(m=0;3>m;++m)for(A=0;11>A;++A)C=bt(w,o1[f][v][m][A])?ft(w,8):a1[f][v][m][A],_.Wc[f][v].Yb[m][A]=C;for(v=0;17>v;++v)_.Xc[f][v]=_.Wc[f][l1[v]]}return a.kc=ot(w),a.kc&&(a.Bd=ft(w,8)),a.cb=1}function ea(a,o,f,m,v,w,_){var A=o[v].Yb[f];for(f=0;16>v;++v){if(!bt(a,A[f+0]))return v;for(;!bt(a,A[f+1]);)if(A=o[++v].Yb[0],f=0,v==16)return 16;var j=o[v+1].Yb;if(bt(a,A[f+2])){var C=a,G=0;if(bt(C,(F=A)[(nt=f)+3]))if(bt(C,F[nt+6])){for(A=0,nt=2*(G=bt(C,F[nt+8]))+(F=bt(C,F[nt+9+G])),G=0,F=i1[nt];F[A];++A)G+=G+bt(C,F[A]);G+=3+(8<<nt)}else bt(C,F[nt+7])?(G=7+2*bt(C,165),G+=bt(C,145)):G=5+bt(C,159);else G=bt(C,F[nt+4])?3+bt(C,F[nt+5]):2;A=j[2]}else G=1,A=j[1];j=_+r1[v],0>(C=a).b&&st(C);var nt,F=C.b,Y=(nt=C.Ca>>1)-(C.I>>F)>>31;--C.b,C.Ca+=Y,C.Ca|=1,C.I-=(nt+1&Y)<<F,w[j]=((G^Y)-Y)*m[(0<v)+0]}return 16}function Va(a){var o=a.rb[a.sb-1];o.la=0,o.Na=0,r(a.zc,0,0,a.zc.length),a.ja=0}function Bn(a,o,f,m,v){v=a[o+f+32*m]+(v>>3),a[o+f+32*m]=-256&v?0>v?0:255:v}function na(a,o,f,m,v,w){Bn(a,o,0,f,m+v),Bn(a,o,1,f,m+w),Bn(a,o,2,f,m-w),Bn(a,o,3,f,m-v)}function Ti(a){return(20091*a>>16)+a}function dn(a,o,f,m){var v,w=0,_=s(16);for(v=0;4>v;++v){var A=a[o+0]+a[o+8],j=a[o+0]-a[o+8],C=(35468*a[o+4]>>16)-Ti(a[o+12]),G=Ti(a[o+4])+(35468*a[o+12]>>16);_[w+0]=A+G,_[w+1]=j+C,_[w+2]=j-C,_[w+3]=A-G,w+=4,o++}for(v=w=0;4>v;++v)A=(a=_[w+0]+4)+_[w+8],j=a-_[w+8],C=(35468*_[w+4]>>16)-Ti(_[w+12]),Bn(f,m,0,0,A+(G=Ti(_[w+4])+(35468*_[w+12]>>16))),Bn(f,m,1,0,j+C),Bn(f,m,2,0,j-C),Bn(f,m,3,0,A-G),w++,m+=32}function qs(a,o,f,m){var v=a[o+0]+4,w=35468*a[o+4]>>16,_=Ti(a[o+4]),A=35468*a[o+1]>>16;na(f,m,0,v+_,a=Ti(a[o+1]),A),na(f,m,1,v+w,a,A),na(f,m,2,v-w,a,A),na(f,m,3,v-_,a,A)}function zo(a,o,f,m,v){dn(a,o,f,m),v&&dn(a,o+16,f,m+4)}function Ho(a,o,f,m){Ui(a,o+0,f,m,1),Ui(a,o+32,f,m+128,1)}function Wo(a,o,f,m){var v;for(a=a[o+0]+4,v=0;4>v;++v)for(o=0;4>o;++o)Bn(f,m,o,v,a)}function yi(a,o,f,m){a[o+0]&&_n(a,o+0,f,m),a[o+16]&&_n(a,o+16,f,m+4),a[o+32]&&_n(a,o+32,f,m+128),a[o+48]&&_n(a,o+48,f,m+128+4)}function Us(a,o,f,m){var v,w=s(16);for(v=0;4>v;++v){var _=a[o+0+v]+a[o+12+v],A=a[o+4+v]+a[o+8+v],j=a[o+4+v]-a[o+8+v],C=a[o+0+v]-a[o+12+v];w[0+v]=_+A,w[8+v]=_-A,w[4+v]=C+j,w[12+v]=C-j}for(v=0;4>v;++v)_=(a=w[0+4*v]+3)+w[3+4*v],A=w[1+4*v]+w[2+4*v],j=w[1+4*v]-w[2+4*v],C=a-w[3+4*v],f[m+0]=_+A>>3,f[m+16]=C+j>>3,f[m+32]=_-A>>3,f[m+48]=C-j>>3,m+=64}function ia(a,o,f){var m,v=o-32,w=Dn,_=255-a[v-1];for(m=0;m<f;++m){var A,j=w,C=_+a[o-1];for(A=0;A<f;++A)a[o+A]=j[C+a[v+A]];o+=32}}function ra(a,o){ia(a,o,4)}function Ga(a,o){ia(a,o,8)}function Vo(a,o){ia(a,o,16)}function Go(a,o){var f;for(f=0;16>f;++f)i(a,o+32*f,a,o-32,16)}function Zo(a,o){var f;for(f=16;0<f;--f)r(a,o,a[o-1],16),o+=32}function Xi(a,o,f){var m;for(m=0;16>m;++m)r(o,f+32*m,a,16)}function zs(a,o){var f,m=16;for(f=0;16>f;++f)m+=a[o-1+32*f]+a[o+f-32];Xi(m>>5,a,o)}function Ji(a,o){var f,m=8;for(f=0;16>f;++f)m+=a[o-1+32*f];Xi(m>>4,a,o)}function Yo(a,o){var f,m=8;for(f=0;16>f;++f)m+=a[o+f-32];Xi(m>>4,a,o)}function Ar(a,o){Xi(128,a,o)}function $t(a,o,f){return a+2*o+f+2>>2}function $o(a,o){var f,m=o-32;for(m=new Uint8Array([$t(a[m-1],a[m+0],a[m+1]),$t(a[m+0],a[m+1],a[m+2]),$t(a[m+1],a[m+2],a[m+3]),$t(a[m+2],a[m+3],a[m+4])]),f=0;4>f;++f)i(a,o+32*f,m,0,m.length)}function Ko(a,o){var f=a[o-1],m=a[o-1+32],v=a[o-1+64],w=a[o-1+96];Nt(a,o+0,16843009*$t(a[o-1-32],f,m)),Nt(a,o+32,16843009*$t(f,m,v)),Nt(a,o+64,16843009*$t(m,v,w)),Nt(a,o+96,16843009*$t(v,w,w))}function Xo(a,o){var f,m=4;for(f=0;4>f;++f)m+=a[o+f-32]+a[o-1+32*f];for(m>>=3,f=0;4>f;++f)r(a,o+32*f,m,4)}function Jo(a,o){var f=a[o-1+0],m=a[o-1+32],v=a[o-1+64],w=a[o-1-32],_=a[o+0-32],A=a[o+1-32],j=a[o+2-32],C=a[o+3-32];a[o+0+96]=$t(m,v,a[o-1+96]),a[o+1+96]=a[o+0+64]=$t(f,m,v),a[o+2+96]=a[o+1+64]=a[o+0+32]=$t(w,f,m),a[o+3+96]=a[o+2+64]=a[o+1+32]=a[o+0+0]=$t(_,w,f),a[o+3+64]=a[o+2+32]=a[o+1+0]=$t(A,_,w),a[o+3+32]=a[o+2+0]=$t(j,A,_),a[o+3+0
vendor: 3,983 bytes, line 119
119]=$t(C,j,A)}function Qo(a,o){var f=a[o+1-32],m=a[o+2-32],v=a[o+3-32],w=a[o+4-32],_=a[o+5-32],A=a[o+6-32],j=a[o+7-32];a[o+0+0]=$t(a[o+0-32],f,m),a[o+1+0]=a[o+0+32]=$t(f,m,v),a[o+2+0]=a[o+1+32]=a[o+0+64]=$t(m,v,w),a[o+3+0]=a[o+2+32]=a[o+1+64]=a[o+0+96]=$t(v,w,_),a[o+3+32]=a[o+2+64]=a[o+1+96]=$t(w,_,A),a[o+3+64]=a[o+2+96]=$t(_,A,j),a[o+3+96]=$t(A,j,j)}function Ri(a,o){var f=a[o-1+0],m=a[o-1+32],v=a[o-1+64],w=a[o-1-32],_=a[o+0-32],A=a[o+1-32],j=a[o+2-32],C=a[o+3-32];a[o+0+0]=a[o+1+64]=w+_+1>>1,a[o+1+0]=a[o+2+64]=_+A+1>>1,a[o+2+0]=a[o+3+64]=A+j+1>>1,a[o+3+0]=j+C+1>>1,a[o+0+96]=$t(v,m,f),a[o+0+64]=$t(m,f,w),a[o+0+32]=a[o+1+96]=$t(f,w,_),a[o+1+32]=a[o+2+96]=$t(w,_,A),a[o+2+32]=a[o+3+96]=$t(_,A,j),a[o+3+32]=$t(A,j,C)}function Mi(a,o){var f=a[o+0-32],m=a[o+1-32],v=a[o+2-32],w=a[o+3-32],_=a[o+4-32],A=a[o+5-32],j=a[o+6-32],C=a[o+7-32];a[o+0+0]=f+m+1>>1,a[o+1+0]=a[o+0+64]=m+v+1>>1,a[o+2+0]=a[o+1+64]=v+w+1>>1,a[o+3+0]=a[o+2+64]=w+_+1>>1,a[o+0+32]=$t(f,m,v),a[o+1+32]=a[o+0+96]=$t(m,v,w),a[o+2+32]=a[o+1+96]=$t(v,w,_),a[o+3+32]=a[o+2+96]=$t(w,_,A),a[o+3+64]=$t(_,A,j),a[o+3+96]=$t(A,j,C)}function tl(a,o){var f=a[o-1+0],m=a[o-1+32],v=a[o-1+64],w=a[o-1+96];a[o+0+0]=f+m+1>>1,a[o+2+0]=a[o+0+32]=m+v+1>>1,a[o+2+32]=a[o+0+64]=v+w+1>>1,a[o+1+0]=$t(f,m,v),a[o+3+0]=a[o+1+32]=$t(m,v,w),a[o+3+32]=a[o+1+64]=$t(v,w,w),a[o+3+64]=a[o+2+64]=a[o+0+96]=a[o+1+96]=a[o+2+96]=a[o+3+96]=w}function el(a,o){var f=a[o-1+0],m=a[o-1+32],v=a[o-1+64],w=a[o-1+96],_=a[o-1-32],A=a[o+0-32],j=a[o+1-32],C=a[o+2-32];a[o+0+0]=a[o+2+32]=f+_+1>>1,a[o+0+32]=a[o+2+64]=m+f+1>>1,a[o+0+64]=a[o+2+96]=v+m+1>>1,a[o+0+96]=w+v+1>>1,a[o+3+0]=$t(A,j,C),a[o+2+0]=$t(_,A,j),a[o+1+0]=a[o+3+32]=$t(f,_,A),a[o+1+32]=a[o+3+64]=$t(m,f,_),a[o+1+64]=a[o+3+96]=$t(v,m,f),a[o+1+96]=$t(w,v,m)}function aa(a,o){var f;for(f=0;8>f;++f)i(a,o+32*f,a,o-32,8)}function Za(a,o){var f;for(f=0;8>f;++f)r(a,o,a[o-1],8),o+=32}function _i(a,o,f){var m;for(m=0;8>m;++m)r(o,f+32*m,a,8)}function nl(a,o){var f,m=8;for(f=0;8>f;++f)m+=a[o+f-32]+a[o-1+32*f];_i(m>>4,a,o)}function sa(a,o){var f,m=4;for(f=0;8>f;++f)m+=a[o+f-32];_i(m>>3,a,o)}function il(a,o){var f,m=4;for(f=0;8>f;++f)m+=a[o-1+32*f];_i(m>>3,a,o)}function Ya(a,o){_i(128,a,o)}function Qi(a,o,f){var m=a[o-f],v=a[o+0],w=3*(v-m)+al[1020+a[o-2*f]-a[o+f]],_=Xs[112+(w+4>>3)];a[o-f]=Dn[255+m+Xs[112+(w+3>>3)]],a[o+0]=Dn[255+v-_]}function $a(a,o,f,m){var v=a[o+0],w=a[o+f];return ti[255+a[o-2*f]-a[o-f]]>m||ti[255+w-v]>m}function Lr(a,o,f,m){return 4*ti[255+a[o-f]-a[o+0]]+ti[255+a[o-2*f]-a[o+f]]<=m}function Ka(a,o,f,m,v){var w=a[o-3*f],_=a[o-2*f],A=a[o-f],j=a[o+0],C=a[o+f],G=a[o+2*f],nt=a[o+3*f];return 4*ti[255+A-j]+ti[255+_-C]>m?0:ti[255+a[o-4*f]-w]<=v&&ti[255+w-_]<=v&&ti[255+_-A]<=v&&ti[255+nt-G]<=v&&ti[255+G-C]<=v&&ti[255+C-j]<=v}function oa(a,o,f,m){var v=2*m+1;for(m=0;16>m;++m)Lr(a,o+m,f,v)&&Qi(a,o+m,f)}function Xa(a,o,f,m){var v=2*m+1;for(m=0;16>m;++m)Lr(a,o+m*f,1,v)&&Qi(a,o+m*f,1)}function la(a,o,f,m){var v;for(v=3;0<v;--v)oa(a,o+=4*f,f,m)}function Hs(a,o,f,m){var v;for(v=3;0<v;--v)Xa(a,o+=4,f,m)}function Bi(a,o,f,m,v,w,_,A){for(w=2*w+1;0<v--;){if(Ka(a,o,f,w,_))if($a(a,o,f,A))Qi(a,o,f);else{var j=a,C=o,G=f,nt=j[C-2*G],F=j[C-G],Y=j[C+0],J=j[C+G],ut=j[C+2*G],tt=27*(mt=al[1020+3*(Y-F)+al[1020+nt-J]])+63>>7,dt=18*mt+63>>7,mt=9*mt+63>>7;j[C-3*G]=Dn[255+j[C-3*G]+mt],j[C-2*G]=Dn[255+nt+dt],j[C-G]=Dn[255+F+tt],j[C+0]=Dn[255+Y-tt],j[C+G]=Dn[255+J-dt],j[C+2*G]=Dn[255+ut-mt]}o+=m}}function Di(a,o,f,m,v,w,_,A){for(w=2*w+1;0<v--;){if(Ka(a,o,f,w,_))if($a(a,o,f,A))Qi(a,o,f);else{var j=a,C=o,G=f,nt=j[C-G],F=j[C+0],Y=j[C+G],J=Xs[112+(4+(ut=3*(F-nt))>>3)],ut=Xs[112+(ut+3>>3)],tt=J+1>>1;j[C-2*G]=Dn[255+j[C-2*G]+tt],j[C-G]=Dn[255+nt+ut],j[C+0]=Dn[255+F-J],j[C+G]=Dn[255+Y-tt]}o+=m}}function Ws(a,o,f,m,v,w){Bi(a,o,f,1,16,m,v,w)}function Vs(a,o,f,m,v,w){Bi(a,o,1,f,16,m,v,w)}function Gs(a,o,f,m,v,w){var _;for(_=3;0<_;--_)Di(a,o+=4*f,f,1,16,m,v,w)}function Sr(a,o,f,m,v,w){var _;for(_=3;0<_;--_)Di(a,o+=4,1,f,16,m,v,w)}function Zs(a,o,f,m,v,w,_,A){Bi(a,o,v,1,8,w,_,A),Bi(f,m,v,1,8,w,_,A)}
vendor: 13,462 bytes, line 119
119function c(a,o,f,m,v,w,_,A){Bi(a,o,1,v,8,w,_,A),Bi(f,m,1,v,8,w,_,A)}function b(a,o,f,m,v,w,_,A){Di(a,o+4*v,v,1,8,w,_,A),Di(f,m+4*v,v,1,8,w,_,A)}function I(a,o,f,m,v,w,_,A){Di(a,o+4,1,v,8,w,_,A),Di(f,m+4,1,v,8,w,_,A)}function U(){this.ba=new ce,this.ec=[],this.cc=[],this.Mc=[],this.Dc=this.Nc=this.dc=this.fc=0,this.Oa=new _e,this.memory=0,this.Ib="OutputFunc",this.Jb="OutputAlphaFunc",this.Nd="OutputRowFunc"}function K(){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 ht(){this.nc=this.Ea=this.b=this.hc=0,this.K=[],this.w=0}function vt(){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 rt,this.yc=new W}function Ft(){this.xb=this.a=0,this.l=new ta,this.ca=new ce,this.V=[],this.Ba=0,this.Ta=[],this.Ua=0,this.m=new M,this.Pb=0,this.wd=new M,this.Ma=this.$=this.C=this.i=this.c=this.xd=0,this.s=new vt,this.ab=0,this.gc=h(4,ht),this.Oc=0}function Ct(){this.Lc=this.Z=this.$a=this.i=this.c=0,this.l=new ta,this.ic=0,this.ca=[],this.tb=0,this.qd=null,this.rd=0}function Xt(a,o,f,m,v,w,_){for(a=a==null?0:a[o+0],o=0;o<_;++o)v[w+o]=a+f[m+o]&255,a=v[w+o]}function ee(a,o,f,m,v,w,_){var A;if(a==null)Xt(null,null,f,m,v,w,_);else for(A=0;A<_;++A)v[w+A]=a[o+A]+f[m+A]&255}function ge(a,o,f,m,v,w,_){if(a==null)Xt(null,null,f,m,v,w,_);else{var A,j=a[o+0],C=j,G=j;for(A=0;A<_;++A)C=G+(j=a[o+A])-C,G=f[m+A]+(-256&C?0>C?0:255:C)&255,C=j,v[w+A]=G}}function en(a,o,f,m){var v=o.width,w=o.o;if(n(a!=null&&o!=null),0>f||0>=m||f+m>w)return null;if(!a.Cc){if(a.ga==null){var _;if(a.ga=new Ct,(_=a.ga==null)||(_=o.width*o.o,n(a.Gb.length==0),a.Gb=s(_),a.Uc=0,a.Gb==null?_=0:(a.mb=a.Gb,a.nb=a.Uc,a.rc=null,_=1),_=!_),!_){_=a.ga;var A=a.Fa,j=a.P,C=a.qc,G=a.mb,nt=a.nb,F=j+1,Y=C-1,J=_.l;if(n(A!=null&&G!=null&&o!=null),sr[0]=null,sr[1]=Xt,sr[2]=ee,sr[3]=ge,_.ca=G,_.tb=nt,_.c=o.width,_.i=o.height,n(0<_.c&&0<_.i),1>=C)o=0;else if(_.$a=3&A[j+0],_.Z=A[j+0]>>2&3,_.Lc=A[j+0]>>4&3,j=A[j+0]>>6&3,0>_.$a||1<_.$a||4<=_.Z||1<_.Lc||j)o=0;else if(J.put=Zt,J.ac=gi,J.bc=Fi,J.ma=_,J.width=o.width,J.height=o.height,J.Da=o.Da,J.v=o.v,J.va=o.va,J.j=o.j,J.o=o.o,_.$a)t:{n(_.$a==1),o=xr();e:for(;;){if(o==null){o=0;break t}if(n(_!=null),_.mc=o,o.c=_.c,o.i=_.i,o.l=_.l,o.l.ma=_,o.l.width=_.c,o.l.height=_.i,o.a=0,gt(o.m,A,F,Y),!bi(_.c,_.i,1,o,null)||(o.ab==1&&o.gc[0].hc==3&&ri(o.s)?(_.ic=1,A=o.c*o.i,o.Ta=null,o.Ua=0,o.V=s(A),o.Ba=0,o.V==null?(o.a=1,o=0):o=1):(_.ic=0,o=Nr(o,_.c)),!o))break e;o=1;break t}_.mc=null,o=0}else o=Y>=_.c*_.i;_=!o}if(_)return null;a.ga.Lc!=1?a.Ga=0:m=w-f}n(a.ga!=null),n(f+m<=w);t:{if(o=(A=a.ga).c,w=A.l.o,A.$a==0){if(F=a.rc,Y=a.Vc,J=a.Fa,j=a.P+1+f*o,C=a.mb,G=a.nb+f*o,n(j<=a.P+a.qc),A.Z!=0)for(n(sr[A.Z]!=null),_=0;_<m;++_)sr[A.Z](F,Y,J,j,C,G,o),F=C,Y=G,G+=o,j+=o;else for(_=0;_<m;++_)i(C,G,J,j,o),F=C,Y=G,G+=o,j+=o;a.rc=F,a.Vc=Y}else{if(n(A.mc!=null),o=f+m,n((_=A.mc)!=null),n(o<=_.i),_.C>=o)o=1;else if(A.ic||Ue(),A.ic){A=_.V,F=_.Ba,Y=_.c;var ut=_.i,tt=(J=1,j=_.$/Y,C=_.$%Y,G=_.m,nt=_.s,_.$),dt=Y*ut,mt=Y*o,xt=nt.wc,wt=tt<mt?fn(nt,C,j):null;n(tt<=dt),n(o<=ut),n(ri(nt));e:for(;;){for(;!G.h&&tt<mt;){if(C&xt||(wt=fn(nt,C,j)),n(wt!=null),Q(G),256>(ut=He(wt.G[0],wt.H[0],G)))A[F+tt]=ut,++tt,++C>=Y&&(C=0,++j<=o&&!(j%16)&&ai(_,j));else{if(!(280>ut)){J=0;break e}ut=$n(ut-256,G);var Mt,Pt=He(wt.G[4],wt.H[4],G);if(Q(G),!(tt>=(Pt=Kn(Y,Pt=$n(Pt,G)))&&dt-tt>=ut)){J=0;break e}for(Mt=0;Mt<ut;++Mt)A[F+tt+Mt]=A[F+tt+Mt-Pt];for(tt+=ut,C+=ut;C>=Y;)C-=Y,++j<=o&&!(j%16)&&ai(_,j);tt<mt&&C&xt&&(wt=fn(nt,C,j))}n(G.h==V(G))}ai(_,j>o?o:j);break e}!J||G.h&&tt<dt?(J=0,_.a=G.h?5:3):_.$=tt,o=J}else o=si(_,_.V,_.Ba,_.c,_.i,o,Xr);if(!o){m=0;break t}}f+m>=w&&(a.Cc=1),m=1}if(!m)return null;if(a.Cc&&((m=a.ga)!=null&&(m.mc=null),a.ga=null,0<a.Ga))return alert("todo:WebPDequantizeLevels"),null}return a.nb+f*v}function ke(a,o,f,m,v,w){for(;0<v--;){var _,A=a,j=o+(f?1:0),C=a,G=o+(f?0:3);for(_=0;_<m;++_){var nt=C[G+4*_];nt!=255&&(nt*=32897,A[j+4*_+0]=A[j+4*_+0]*nt>>23,A[j+4*_+1]=A[j+4*_+1]*nt>>23,A[j+4*_+2]=A[j+4*_+2]*nt>>23)}o+=w}}function Se(a,o,f,m,v){for(;0<m--;){var w;for(w=0;w<f;++w){var _=a[o+2*w+0],A=15&(C=a[o+2*w+1]),j=4369*A,C=(240&C|C>>4)*j>>16;a[o+2*w+0]=(240&_|_>>4)*j>>16&240|(15&_|_<<4)*j>>16>>4&15,a[o+2*w+1]=240&C|A}o+=v}}function Oe(a,o,f,m,v,w,_,A){var j,C,G=255;for(C=0;C<v;++C){for(j=0;j<m;++j){var nt=a[o+j];w[_+4*j]=nt,G&=nt}o+=f,_+=A}return G!=255}function qe(a,o,f,m,v){var w;for(w=0;w<v;++w)f[m+w]=a[o+w]>>8}function Ue(){as=ke,Ic=Se,Cc=Oe,Fc=qe}function wn(a,o,f){B[a]=function(m,v,w,_,A,j,C,G,nt,F,Y,J,ut,tt,dt,mt,xt){var wt,Mt=xt-1>>1,Pt=A[j+0]|C[G+0]<<16,re=nt[F+0]|Y[J+0]<<16;n(m!=null);var Ot=3*Pt+re+131074>>2;for(o(m[v+0],255&Ot,Ot>>16,ut,tt),w!=null&&(Ot=3*re+Pt+131074>>2,o(w[_+0],255&Ot,Ot>>16,dt,mt)),wt=1;wt<=Mt;++wt){var de=A[j+wt]|C[G+wt]<<16,an=nt[F+wt]|Y[J+wt]<<16,ae=Pt+de+re+an+524296,Tt=ae+2*(de+re)>>3;Ot=Tt+Pt>>1,Pt=(ae=ae+2*(Pt+an)>>3)+de>>1,o(m[v+2*wt-1],255&Ot,Ot>>16,ut,tt+(2*wt-1)*f),o(m[v+2*wt-0],255&Pt,Pt>>16,ut,tt+(2*wt-0)*f),w!=null&&(Ot=ae+re>>1,Pt=Tt+an>>1,o(w[_+2*wt-1],255&Ot,Ot>>16,dt,mt+(2*wt-1)*f),o(w[_+2*wt+0],255&Pt,Pt>>16,dt,mt+(2*wt+0)*f)),Pt=de,re=an}1&xt||(Ot=3*Pt+re+131074>>2,o(m[v+xt-1],255&Ot,Ot>>16,ut,tt+(xt-1)*f),w!=null&&(Ot=3*re+Pt+131074>>2,o(w[_+xt-1],255&Ot,Ot>>16,dt,mt+(xt-1)*f)))}}function qi(){ei[Js]=h1,ei[Qs]=Wc,ei[Dc]=u1,ei[to]=Vc,ei[eo]=Gc,ei[sl]=Zc,ei[qc]=f1,ei[ol]=Wc,ei[ll]=Vc,ei[no]=Gc,ei[cl]=Zc}function Ja(a){return a&~d1?0>a?0:255:a>>Yc}function kr(a,o){return Ja((19077*a>>8)+(26149*o>>8)-14234)}function jr(a,o,f){return Ja((19077*a>>8)-(6419*o>>8)-(13320*f>>8)+8708)}function tr(a,o){return Ja((19077*a>>8)+(33050*o>>8)-17685)}function Pr(a,o,f,m,v){m[v+0]=kr(a,f),m[v+1]=jr(a,o,f),m[v+2]=tr(a,o)}function ca(a,o,f,m,v){m[v+0]=tr(a,o),m[v+1]=jr(a,o,f),m[v+2]=kr(a,f)}function ha(a,o,f,m,v){var w=jr(a,o,f);o=w<<3&224|tr(a,o)>>3,m[v+0]=248&kr(a,f)|w>>5,m[v+1]=o}function yn(a,o,f,m,v){var w=240&tr(a,o)|15;m[v+0]=240&kr(a,f)|jr(a,o,f)>>4,m[v+1]=w}function Er(a,o,f,m,v){m[v+0]=255,Pr(a,o,f,m,v+1)}function Ir(a,o,f,m,v){ca(a,o,f,m,v),m[v+3]=255}function Qa(a,o,f,m,v){Pr(a,o,f,m,v),m[v+3]=255}function xi(a,o,f){B[a]=function(m,v,w,_,A,j,C,G,nt){for(var F=G+(-2&nt)*f;G!=F;)o(m[v+0],w[_+0],A[j+0],C,G),o(m[v+1],w[_+0],A[j+0],C,G+f),v+=2,++_,++j,G+=2*f;1&nt&&o(m[v+0],w[_+0],A[j+0],C,G)}}function kn(a,o,f){return f==0?a==0?o==0?6:5:o==0?4:0:f}function Ys(a,o,f,m,v){switch(a>>>30){case 3:Ui(o,f,m,v,0);break;case 2:rr(o,f,m,v);break;case 1:_n(o,f,m,v)}}function ua(a,o){var f,m,v=o.M,w=o.Nb,_=a.oc,A=a.pc+40,j=a.oc,C=a.pc+584,G=a.oc,nt=a.pc+600;for(f=0;16>f;++f)_[A+32*f-1]=129;for(f=0;8>f;++f)j[C+32*f-1]=129,G[nt+32*f-1]=129;for(0<v?_[A-1-32]=j[C-1-32]=G[nt-1-32]=129:(r(_,A-32-1,127,21),r(j,C-32-1,127,9),r(G,nt-32-1,127,9)),m=0;m<a.za;++m){var F=o.ya[o.aa+m];if(0<m){for(f=-1;16>f;++f)i(_,A+32*f-4,_,A+32*f+12,4);for(f=-1;8>f;++f)i(j,C+32*f-4,j,C+32*f+4,4),i(G,nt+32*f-4,G,nt+32*f+4,4)}var Y=a.Gd,J=a.Hd+m,ut=F.ad,tt=F.Hc;if(0<v&&(i(_,A-32,Y[J].y,0,16),i(j,C-32,Y[J].f,0,8),i(G,nt-32,Y[J].ea,0,8)),F.Za){var dt=_,mt=A-32+16;for(0<v&&(m>=a.za-1?r(dt,mt,Y[J].y[15],4):i(dt,mt,Y[J+1].y,0,4)),f=0;4>f;f++)dt[mt+128+f]=dt[mt+256+f]=dt[mt+384+f]=dt[mt+0+f];for(f=0;16>f;++f,tt<<=2)dt=_,mt=A+Kc[f],li[F.Ob[f]](dt,mt),Ys(tt,ut,16*+f,dt,mt)}else if(dt=kn(m,v,F.Ob[0]),ar[dt](_,A),tt!=0)for(f=0;16>f;++f,tt<<=2)Ys(tt,ut,16*+f,_,A+Kc[f]);for(f=F.Gc,dt=kn(m,v,F.Dd),Hi[dt](j,C),Hi[dt](G,nt),tt=ut,dt=j,mt=C,255&(F=0|f)&&(170&F?ma(tt,256,dt,mt):Ai(tt,256,dt,mt)),F=G,tt=nt,255&(f>>=8)&&(170&f?ma(ut,320,F,tt):Ai(ut,320,F,tt)),v<a.Ub-1&&(i(Y[J].y,0,_,A+480,16),i(Y[J].f,0,j,C+224,8),i(Y[J].ea,0,G,nt+224,8)),f=8*w*a.B,Y=a.sa,J=a.ta+16*m+16*w*a.R,ut=a.qa,F=a.ra+8*m+f,tt=a.Ha,dt=a.Ia+8*m+f,f=0;16>f;++f)i(Y,J+f*a.R,_,A+32*f,16);for(f=0;8>f;++f)i(ut,F+f*a.B,j,C+32*f,8),i(tt,dt+f*a.B,G,nt+32*f,8)}}function $s(a,o,f,m,v,w,_,A,j){var C=[0],G=[0],nt=0,F=j!=null?j.kd:0,Y=j??new K;if(a==null||12>f)return 7;Y.data=a,Y.w=o,Y.ha=f,o=[o],f=[f],Y.gb=[Y.gb];t:{var J=o,ut=f,tt=Y.gb;if(n(a!=null),n(ut!=null),n(tt!=null),tt[0]=0,12<=ut[0]&&!e(a,J[0],"RIFF")){if(e(a,J[0]+8,"WEBP")){tt=3;break t}var dt=qt(a,J[0]+4);if(12>dt||4294967286<dt){tt=3;break t}if(F&&dt>ut[0]-8){tt=7;break t}tt[0]=dt,J[0]+=12,ut[0]-=12}tt=0}if(tt!=0)return tt;for(dt=0<Y.gb[0],f=f[0];;){t:{var mt=a;ut=o,tt=f;var xt=C,wt=G,Mt=J=[0];if((Ot=nt=[nt])[0]=0,8>tt[0])tt=7;else{if(!e(mt,ut[0],"VP8X")){if(qt(mt,ut[0]+4)!=10){tt=3;break t}if(18>tt[0]){tt=7;break t}var Pt=qt(mt,ut[0]+8),re=1+kt(mt,ut[0]+12);if(2147483648<=re*(mt=1+kt(mt,ut[0]+15))){tt=3;break t}Mt!=null&&(Mt[0]=Pt),xt!=null&&(xt[0]=re),wt!=null&&(wt[0]=mt),ut[0]+=18,tt[0]-=18,Ot[0]=1}tt=0}}if(nt=nt[0],J=J[0],tt!=0)return tt;if(ut=!!(2&J),!dt&&nt)return 3;if(w!=null&&(w[0]=!!(16&J)),_!=null&&(_[0]=ut),A!=null&&(A[0]=0),_=C[0],J=G[0],nt&&ut&&j==null){tt=0;break}if(4>f){tt=7;break}if(dt&&nt||!dt&&!nt&&!e(a,o[0],"ALPH")){f=[f],Y.na=[Y.na],Y.P=[Y.P],Y.Sa=[Y.Sa];t:{Pt=a,tt=o,dt=f;var Ot=Y.gb;xt=Y.na,wt=Y.P,Mt=Y.Sa,re=22,n(Pt!=null),n(dt!=null),mt=tt[0];var de=dt[0];for(n(xt!=null),n(Mt!=null),xt[0]=null,wt[0]=null,Mt[0]=0;;){if(tt[0]=mt,dt[0]=de,8>de){tt=7;break t}var an=qt(Pt,mt+4);if(4294967286<an){tt=3;break t}var ae=8+an+1&-2;if(re+=ae,0<Ot&&re>Ot){tt=3;break t}if(!e(Pt,mt,"VP8 ")||!e(Pt,mt,"VP8L")){tt=0;break t}if(de[0]<ae){tt=7;break t}e(Pt,mt,"ALPH")||(xt[0]=Pt,wt[0]=mt+8,Mt[0]=an),mt+=ae,de-=ae}}if(f=f[0],Y.na=Y.na[0],Y.P=Y.P[0],Y.Sa=Y.Sa[0],tt!=0)break}f=[f],Y.Ja=[Y.Ja],Y.xa=[Y.xa];t:if(Ot=a,tt=o,dt=f,xt=Y.gb[0],wt=Y.Ja,Mt=Y.xa,Pt=tt[0],mt=!e(Ot,Pt,"VP8 "),re=!e(Ot,Pt,"VP8L"),n(Ot!=null),n(dt!=null),n(wt!=null),n(Mt!=null),8>dt[0])tt=7;else{if(mt||re){if(Ot=qt(Ot,Pt+4),12<=xt&&Ot>xt-12){tt=3;break t}if(F&&Ot>dt[0]-8){tt=7;break t}wt[0]=Ot,tt[0]+=8,dt[0]-=8,Mt[0]=re}else Mt[0]=5<=dt[0]&&Ot[Pt+0]==47&&!(Ot[Pt+4]>>5),wt[0]=dt[0];tt=0}if(f=f[0],Y.Ja=Y.Ja[0],Y.xa=Y.xa[0],o=o[0],tt!=0)break;if(4294967286<Y.Ja)return 3;if(A==null||ut||(A[0]=Y.xa?2:1),_=[_],J=[J],Y.xa){if(5>f){tt=7;break}A=_,F=J,ut=w,a==null||5>f?a=0:5<=f&&a[o+0]==47&&!(a[o+4]>>5)?(dt=[0],Ot=[0],xt=[0],gt(wt=new M,a,o,f),Oi(wt,dt,Ot,xt)?(A!=null&&(A[0]=dt[0]),F!=null&&(F[0]=Ot[0]),ut!=null&&(ut[0]=xt[0]),a=1):a=0):a=0}else{if(10>f){tt=7;break}A=J,a==null||10>f||!Ds(a,o+3,f-3)?a=0:(F=a[o+0]|a[o+1]<<8|a[o+2]<<16,ut=16383&(a[o+7]<<8|a[o+6]),a=16383&(a[o+9]<<8|a[o+8]),1&F||3<(F>>1&7)||!(F>>4&1)||F>>5>=Y.Ja||!ut||!a?a=0:(_&&(_[0]=ut),A&&(A[0]=a),a=1))}if(!a||(_=_[0],J=J[0],nt&&(C[0]!=_||G[0]!=J)))return 3;j!=null&&(j[0]=Y,j.offset=o-j.w,n(4294967286>o-j.w),n(j.offset==j.ha-f));break}return tt==0||tt==7&&nt&&j==null?(w!=null&&(w[0]|=Y.na!=null&&0<Y.na.length),m!=null&&(m[0]=_),v!=null&&(v[0]=J),0):tt}function Qn(a,o,f){var m=o.width,v=o.height,w=0,_=0,A=m,j=v;if(o.Da=a!=null&&0<a.Da,o.Da&&(A=a.cd,j=a.bd,w=a.v,_=a.j,11>f||(w&=-2,_&=-2),0>w||0>_||0>=A||0>=j||w+A>m||_+j>v))return 0;if(o.v=w,o.j=_,o.va=w+A,o.o=_+j,o.U=A,o.T=j,o.da=a!=null&&0<a.da,o.da){if(!Wt(A,j,f=[a.ib],w=[a.hb]))return 0;o.ib=f[0],o.hb=w[0]}return o.ob=a!=null&&a.ob,o.Kb=a==null||!a.Sd,o.da&&(o.ob=o.ib<3*m/4&&o.hb<3*v/4,o.Kb=0),1}function Cr(a){if(a==null)return 2;if(11>a.S){var o=a.f.RGBA;o.fb+=(a.height-1)*o.A,o.A=-o.A}else o=a.f.kb,a=a.height,o.O+=(a-1)*o.fa,o.fa=-o.fa,o.N+=(a-1>>1)*o.Ab,o.Ab=-o.Ab,o.W+=(a-1>>1)*o.Db,o.Db=-o.Db,o.F!=null&&(o.J+=(a-1)*o.lb,o.lb=-o.lb);return 0}function ts(a,o,f,m){if(m==null||0>=a||0>=o)return 2;if(f!=null){if(f.Da){var v=f.cd,w=f.bd,_=-2&f.v,A=-2&f.j;if(0>_||0>A||0>=v||0>=w||_+v>a||A+w>o)return 2;a=v,o=w}if(f.da){if(!Wt(a,o,v=[f.ib],w=[f.hb]))return 2;a=v[0],o=w[0]}}m.width=a,m.height=o;t:{var j=m.width,C=m.height;if(a=m.S,0>=j||0>=C||!(a>=Js&&13>a))a=2;else{if(0>=m.Rd&&m.sd==null){_=w=v=o=0;var G=(A=j*Xc[a])*C;if(11>a||(w=(C+1)/2*(o=(j+1)/2),a==12&&(_=(v=j)*C)),(C=s(G+2*w+_))==null){a=1;break t}m.sd=C,11>a?((j=m.f.RGBA).eb=C,j.fb=0,j.A=A,j.size=G):((j=m.f.kb).y=C,j.O=0,j.fa=A,j.Fd=G,j.f=C,j.N=0+G,j.Ab=o,j.Cd=w,j.ea=C,j.W=0+G+w,j.Db=o,j.Ed=w,a==12&&(j.F=C,j.J=0+G+2*w),j.Tc=_,j.lb=v)}if(o=1,v=m.S,w=m.width,_=m.height,v>=Js&&13>v)if(11>v)a=m.f.RGBA,o&=(A=Math.abs(a.A))*(_-1)+w<=a.size,o&=A>=w*Xc[v],o&=a.eb!=null;else{a=m.f.kb,A=(w+1)/2,G=(_+1)/2,j=Math.abs(a.fa),C=Math.abs(a.Ab);var nt=Math.abs(a.Db),F=Math.abs(a.lb),Y=F*(_-1)+w;o&=j*(_-1)+w<=a.Fd,o&=C*(G-1)+A<=a.Cd,o=(o&=nt*(G-1)+A<=a.Ed)&j>=w&C>=A&nt>=A,o&=a.y!=null,o&=a.f!=null,o&=a.ea!=null,v==12&&(o&=F>=w,o&=Y<=a.Tc,o&=a.F!=null)}else o=0;a=o?0:2}}return a!=0||f!=null&&f.fd&&(a=Cr(m)),a}var fa=64,Fr=[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],es=24,jn=32,Fn=8,da=[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];Et("Predictor0","PredictorAdd0"),B.Predictor0=function(){return 4278190080},B.Predictor1=function(a){return a},B.Predictor2=function(a,o,f){return o[f+0]},B.Predictor3=function(a,o,f){return o[f+1]},B.Predictor4=function(a,o,f){return o[f-1]},B.Predictor5=function(a,o,f){return Ut(Ut(a,o[f+1]),o[f+0])},B.Predictor6=function(a,o,f){return Ut(a,o[f-1])},B.Predictor7=function(a,o,f){return Ut(a,o[f+0])}
vendor: 4,379 bytes, line 119
119,B.Predictor8=function(a,o,f){return Ut(o[f-1],o[f+0])},B.Predictor9=function(a,o,f){return Ut(o[f+0],o[f+1])},B.Predictor10=function(a,o,f){return Ut(Ut(a,o[f-1]),Ut(o[f+0],o[f+1]))},B.Predictor11=function(a,o,f){var m=o[f+0];return 0>=Qt(m>>24&255,a>>24&255,(o=o[f-1])>>24&255)+Qt(m>>16&255,a>>16&255,o>>16&255)+Qt(m>>8&255,a>>8&255,o>>8&255)+Qt(255&m,255&a,255&o)?m:a},B.Predictor12=function(a,o,f){var m=o[f+0];return(ye((a>>24&255)+(m>>24&255)-((o=o[f-1])>>24&255))<<24|ye((a>>16&255)+(m>>16&255)-(o>>16&255))<<16|ye((a>>8&255)+(m>>8&255)-(o>>8&255))<<8|ye((255&a)+(255&m)-(255&o)))>>>0},B.Predictor13=function(a,o,f){var m=o[f-1];return(he((a=Ut(a,o[f+0]))>>24&255,m>>24&255)<<24|he(a>>16&255,m>>16&255)<<16|he(a>>8&255,m>>8&255)<<8|he(255&a,255&m))>>>0};var er=B.PredictorAdd0;B.PredictorAdd1=fe,Et("Predictor2","PredictorAdd2"),Et("Predictor3","PredictorAdd3"),Et("Predictor4","PredictorAdd4"),Et("Predictor5","PredictorAdd5"),Et("Predictor6","PredictorAdd6"),Et("Predictor7","PredictorAdd7"),Et("Predictor8","PredictorAdd8"),Et("Predictor9","PredictorAdd9"),Et("Predictor10","PredictorAdd10"),Et("Predictor11","PredictorAdd11"),Et("Predictor12","PredictorAdd12"),Et("Predictor13","PredictorAdd13");var nr=B.PredictorAdd2;Bt("ColorIndexInverseTransform","MapARGB","32b",function(a){return a>>8&255},function(a){return a}),Bt("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(a){return a},function(a){return a>>8&255});var pa,Or=B.ColorIndexInverseTransform,nn=B.MapARGB,rl=B.VP8LColorIndexInverseTransformAlpha,Ni=B.MapAlpha,oi=B.VP8LPredictorsAdd=[];oi.length=16,(B.VP8LPredictors=[]).length=16,(B.VP8LPredictorsAdd_C=[]).length=16,(B.VP8LPredictors_C=[]).length=16;var Tr,ns,is,ga,Rr,Mr,ir,Ui,rr,ma,_n,Ai,Ie,Ce,Ye,rn,zi,rs,ba,Ks,kc,jc,Pc,Ec,as,Ic,Cc,Fc,Oc=s(511),Tc=s(2041),Rc=s(225),Mc=s(767),Bc=0,al=Tc,Xs=Rc,Dn=Mc,ti=Oc,Js=0,Qs=1,Dc=2,to=3,eo=4,sl=5,qc=6,ol=7,ll=8,no=9,cl=10,Kf=[2,3,7],Xf=[3,3,11],Uc=[280,256,256,256,40],Jf=[0,1,1,1,0],Qf=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],t1=[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],e1=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],n1=8,hl=[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],ul=[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],ss=null,i1=[[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]],r1=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],zc=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],a1=[[[[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,25
1195,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]]]],s1=[[[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,25
1195,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]]],o1=[[[[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,25
vendor: 23,688 bytes, lines 119-143
1195,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]]]],l1=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],ar=[],li=[],Hi=[],c1=1,Hc=2,sr=[],ei=[];wn("UpsampleRgbLinePair",Pr,3),wn("UpsampleBgrLinePair",ca,3),wn("UpsampleRgbaLinePair",Qa,4),wn("UpsampleBgraLinePair",Ir,4),wn("UpsampleArgbLinePair",Er,4),wn("UpsampleRgba4444LinePair",yn,2),wn("UpsampleRgb565LinePair",ha,2);var h1=B.UpsampleRgbLinePair,u1=B.UpsampleBgrLinePair,Wc=B.UpsampleRgbaLinePair,Vc=B.UpsampleBgraLinePair,Gc=B.UpsampleArgbLinePair,Zc=B.UpsampleRgba4444LinePair,f1=B.UpsampleRgb565LinePair,io=16,ro=1<<io-1,os=-227,fl=482,Yc=6,d1=(256<<Yc)-1,$c=0,p1=s(256),g1=s(256),m1=s(256),b1=s(256),v1=s(fl-os),w1=s(fl-os);xi("YuvToRgbRow",Pr,3),xi("YuvToBgrRow",ca,3),xi("YuvToRgbaRow",Qa,4),xi("YuvToBgraRow",Ir,4),xi("YuvToArgbRow",Er,4),xi("YuvToRgba4444Row",yn,2),xi("YuvToRgb565Row",ha,2);var Kc=[0,4,8,12,128,132,136,140,256,260,264,268,384,388,392,396],ao=[0,2,8],y1=[8,7,6,4,4,2,2,2,1,1,1,1],_1=1;this.WebPDecodeRGBA=function(a,o,f,m,v){var w=Qs,_=new U,A=new ce;_.ba=A,A.S=w,A.width=[A.width],A.height=[A.height];var j=A.width,C=A.height,G=new Gt;if(G==null||a==null)var nt=2;else n(G!=null),nt=$s(a,o,f,G.width,G.height,G.Pd,G.Qd,G.format,null);if(nt!=0?j=0:(j!=null&&(j[0]=G.width[0]),C!=null&&(C[0]=G.height[0]),j=1),j){A.width=A.width[0],A.height=A.height[0],m!=null&&(m[0]=A.width),v!=null&&(v[0]=A.height);t:{if(m=new ta,(v=new K).data=a,v.w=o,v.ha=f,v.kd=1,o=[0],n(v!=null),((a=$s(v.data,v.w,v.ha,null,null,null,o,null,v))==0||a==7)&&o[0]&&(a=4),(o=a)==0){if(n(_!=null),m.data=v.data,m.w=v.w+v.offset,m.ha=v.ha-v.offset,m.put=Zt,m.ac=gi,m.bc=Fi,m.ma=_,v.xa){if((a=xr())==null){_=1;break t}if(function(F,Y){var J=[0],ut=[0],tt=[0];e:for(;;){if(F==null)return 0;if(Y==null)return F.a=2,0;if(F.l=Y,F.a=0,gt(F.m,Y.data,Y.w,Y.ha),!Oi(F.m,J,ut,tt)){F.a=3;break e}if(F.xb=Hc,Y.width=J[0],Y.height=ut[0],!bi(J[0],ut[0],1,F,null))break e;return 1}return n(F.a!=0),0}(a,m)){if(m=(o=ts(m.width,m.height,_.Oa,_.ba))==0){e:{m=a;n:for(;;){if(m==null){m=0;break e}if(n(m.s.yc!=null),n(m.s.Ya!=null),n(0<m.s.Wb),n((f=m.l)!=null),n((v=f.ma)!=null),m.xb!=0){if(m.ca=v.ba,m.tb=v.tb,n(m.ca!=null),!Qn(v.Oa,f,to)){m.a=2;break n}if(!Nr(m,f.width)||f.da)break n;if((f.da||Yt(m.ca.S))&&Ue(),11>m.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),m.ca.f.kb.F!=null&&Ue()),m.Pb&&0<m.s.ua&&m.s.vb.X==null&&!E(m.s.vb,m.s.Wa.Xa)){m.a=1;break n}m.xb=0}if(!si(m,m.V,m.Ba,m.c,m.i,f.o,Ki))break n;v.Dc=m.Ma,m=1;break e}n(m.a!=0),m=0}m=!m}m&&(o=a.a)}else o=a.a}else{if((a=new Uo)==null){_=1;break t}if(a.Fa=v.na,a.P=v.P,a.qc=v.Sa,wi(a,m)){if((o=ts(m.width,m.height,_.Oa,_.ba))==0){if(a.Aa=0,f=_.Oa,n((v=a)!=null),f!=null){if(0<(j=0>(j=f.Md)?0:100<j?255:255*j/100)){for(C=G=0;4>C;++C)12>(nt=v.pb[C]).lc&&(nt.ia=j*y1[0>nt.lc?0:nt.lc]>>3),G|=nt.ia;G&&(alert("todo:VP8InitRandom"),v.ia=1)}v.Ga=f.Id,100<v.Ga?v.Ga=100:0>v.Ga&&(v.Ga=0)}(function(F,Y){if(F==null)return 0;if(Y==null)return tn(F,2,"NULL VP8Io parameter in VP8Decode().");if(!F.cb&&!wi(F,Y))return 0;if(n(F.cb),Y.ac==null||Y.ac(Y)){Y.ob&&(F.L=0);var J=ao[F.L];if(F.L==2?(F.yb=0,F.zb=0):(F.yb=Y.v-J>>4,F.zb=Y.j-J>>4,0>F.yb&&(F.yb=0),0>F.zb&&(F.zb=0)),F.Va=Y.o+15+J>>4,F.Hb=Y.va+15+J>>4,F.Hb>F.za&&(F.Hb=F.za),F.Va>F.Ub&&(F.Va=F.Ub),0<F.L){var ut=F.ed;for(J=0;4>J;++J){var tt;if(F.Qa.Cb){var dt=F.Qa.Lb[J];F.Qa.Fb||(dt+=ut.Tb)}else dt=ut.Tb;for(tt=0;1>=tt;++tt){var mt=F.gd[J][tt],xt=dt;if(ut.Pc&&(xt+=ut.vd[0],tt&&(xt+=ut.od[0])),0<(xt=0>xt?0:63<xt?63:xt)){var wt=xt;0<ut.wb&&(wt=4<ut.wb?wt>>2:wt>>1)>9-ut.wb&&(wt=9-ut.wb),1>wt&&(wt=1),mt.dd=wt,mt.tc=2*xt+wt,mt.ld=40<=xt?2:15<=xt?1:0}else mt.tc=0;mt.La=tt}}}J=0}else tn(F,6,"Frame setup failed"),J=F.a;if(J=J==0){if(J){F.$c=0,0<F.Aa||(F.Ic=_1);e:{J=F.Ic,ut=4*(wt=F.za);var Mt=32*wt,Pt=wt+1,re=0<F.L?wt*(0<F.Aa?2:1):0,Ot=(F.Aa==2?2:1)*wt;if((mt=ut+832+(tt=3*(16*J+ao[F.L])/2*Mt)+(dt=F.Fa!=null&&0<F.Fa.length?F.Kc.c*F.Kc.i:0))!=mt)J=0;else{if(mt>F.Vb){if(F.Vb=0,F.Ec=s(mt),F.Fc=0,F.Ec==null){J=tn(F,1,"no memory during frame initialization.");break e}F.Vb=mt}mt=F.Ec,xt=F.Fc,F.Ac=mt,F.Bc=xt,xt+=ut,F.Gd=h(Mt,Ms),F.Hd=0,F.rb=h(Pt+1,Ha),F.sb=1,F.wa=re?h(re,Jn):null,F.Y=0,F.D.Nb=0,F.D.wa=F.wa,F.D.Y=F.Y,0<F.Aa&&(F.D.Y+=wt),n(!0),F.oc=mt,F.pc=xt,xt+=832,F.ya=h(Ot,Wa),F.aa=0,F.D.ya=F.ya,F.D.aa=F.aa,F.Aa==2&&(F.D.aa+=wt),F.R=16*wt,F.B=8*wt,wt=(Mt=ao[F.L])*F.R,Mt=Mt/2*F.B,F.sa=mt,F.ta=xt+wt,F.qa=F.sa,F.ra=F.ta+16*J*F.R+Mt,F.Ha=F.qa,F.Ia=F.ra+8*J*F.B+Mt,F.$c=0,xt+=tt,F.mb=dt?mt:null,F.nb=dt?xt:null,n(xt+dt<=F.Fc+F.Vb),Va(F),r(F.Ac,F.Bc,0,ut),J=1}}if(J){if(Y.ka=0,Y.y=F.sa,Y.O=F.ta,Y.f=F.qa,Y.N=F.ra,Y.ea=F.Ha,Y.Vd=F.Ia,Y.fa=F.R,Y.Rc=F.B,Y.F=null,Y.J=0,!Bc){for(J=-255;255>=J;++J)Oc[255+J]=0>J?-J:J;for(J=-1020;1020>=J;++J)Tc[1020+J]=-128>J?-128:127<J?127:J;for(J=-112;112>=J;++J)Rc[112+J]=-16>J?-16:15<J?15:J;for(J=-255;510>=J;++J)Mc[255+J]=0>J?0:255<J?255:J;Bc=1}ir=Us,Ui=zo,ma=Ho,_n=Wo,Ai=yi,rr=qs,Ie=Ws,Ce=Vs,Ye=Zs,rn=c,zi=Gs,rs=Sr,ba=b,Ks=I,kc=oa,jc=Xa,Pc=la,Ec=Hs,li[0]=Xo,li[1]=ra,li[2]=$o,li[3]=Ko,li[4]=Jo,li[5]=Ri,li[6]=Qo,li[7]=Mi,li[8]=el,li[9]=tl,ar[0]=zs,ar[1]=Vo,ar[2]=Go,ar[3]=Zo,ar[4]=Ji,ar[5]=Yo,ar[6]=Ar,Hi[0]=nl,Hi[1]=Ga,Hi[2]=aa,Hi[3]=Za,Hi[4]=il,Hi[5]=sa,Hi[6]=Ya,J=1}else J=0}J&&(J=function(de,an){for(de.M=0;de.M<de.Va;++de.M){var ae,Tt=de.Jc[de.M&de.Xb],Lt=de.m,$e=de;for(ae=0;ae<$e.za;++ae){var ne=Lt,me=$e,Te=me.Ac,pn=me.Bc+4*ae,Pn=me.zc,We=me.ya[me.aa+ae];if(me.Qa.Bb?We.$b=bt(ne,me.Pa.jb[0])?2+bt(ne,me.Pa.jb[2]):bt(ne,me.Pa.jb[1]):We.$b=0,me.kc&&(We.Ad=bt(ne,me.Bd)),We.Za=!bt(ne,145)+0,We.Za){var xn=We.Ob,En=0;for(me=0;4>me;++me){var sn,ve=Pn[0+me];for(sn=0;4>sn;++sn){ve=s1[Te[pn+sn]][ve];for(var xe=zc[bt(ne,ve[0])];0<xe;)xe=zc[2*xe+bt(ne,ve[xe])];ve=-xe,Te[pn+sn]=ve}i(xn,En,Te,pn,4),En+=4,Pn[0+me]=ve}}else ve=bt(ne,156)?bt(ne,128)?1:3:bt(ne,163)?2:0,We.Ob[0]=ve,r(Te,pn,ve,4),r(Pn,0,ve,4);We.Dd=bt(ne,142)?bt(ne,114)?bt(ne,183)?1:3:2:0}if($e.m.Ka)return tn(de,7,"Premature end-of-partition0 encountered.");for(;de.ja<de.za;++de.ja){if($e=Tt,ne=(Lt=de).rb[Lt.sb-1],Te=Lt.rb[Lt.sb+Lt.ja],ae=Lt.ya[Lt.aa+Lt.ja],pn=Lt.kc?ae.Ad:0)ne.la=Te.la=0,ae.Za||(ne.Na=Te.Na=0),ae.Hc=0,ae.Gc=0,ae.ia=0;else{var Ve,Ne;if(ne=Te,Te=$e,pn=Lt.Pa.Xc,Pn=Lt.ya[Lt.aa+Lt.ja],We=Lt.pb[Pn.$b],me=Pn.ad,xn=0,En=Lt.rb[Lt.sb-1],ve=sn=0,r(me,xn,0,384),Pn.Za)var gn=0,ci=pn[3];else{xe=s(16);var Ke=ne.Na+En.Na;if(Ke=ss(Te,pn[1],Ke,We.Eb,0,xe,0),ne.Na=En.Na=(0<Ke)+0,1<Ke)ir(xe,0,me,xn);else{var On=xe[0]+3>>3;for(xe=0;256>xe;xe+=16)me[xn+xe]=On}gn=1,ci=pn[0]}var je=15&ne.la,on=15&En.la;for(xe=0;4>xe;++xe){var qn=1&on;for(On=Ne=0;4>On;++On)je=je>>1|(qn=(Ke=ss(Te,ci,Ke=qn+(1&je),We.Sc,gn,me,xn))>gn)<<7,Ne=Ne<<2|(3<Ke?3:1<Ke?2:me[xn+0]!=0),xn+=16;je>>=4,on=on>>1|qn<<7,sn=(sn<<8|Ne)>>>0}for(ci=je,gn=on>>4,Ve=0;4>Ve;Ve+=2){for(Ne=0,je=ne.la>>4+Ve,on=En.la>>4+Ve,xe=0;2>xe;++xe){for(qn=1&on,On=0;2>On;++On)Ke=qn+(1&je),je=je>>1|(qn=0<(Ke=ss(Te,pn[2],Ke,We.Qc,0,me,xn)))<<3,Ne=Ne<<2|(3<Ke?3:1<Ke?2:me[xn+0]!=0),xn+=16;je>>=2,on=on>>1|qn<<5}ve|=Ne<<4*Ve,ci|=je<<4<<Ve,gn|=(240&on)<<Ve}ne.la=ci,En.la=gn,Pn.Hc=sn,Pn.Gc=ve,Pn.ia=43690&ve?0:We.ia,pn=!(sn|ve)}if(0<Lt.L&&(Lt.wa[Lt.Y+Lt.ja]=Lt.gd[ae.$b][ae.Za],Lt.wa[Lt.Y+Lt.ja].La|=!pn),$e.Ka)return tn(de,7,"Premature end-of-file encountered.")}if(Va(de),Lt=an,$e=1,ae=(Tt=de).D,ne=0<Tt.L&&Tt.M>=Tt.zb&&Tt.M<=Tt.Va,Tt.Aa==0)e:{if(ae.M=Tt.M,ae.uc=ne,ua(Tt,ae),$e=1,ae=(Ne=Tt.D).Nb,ne=(ve=ao[Tt.L])*Tt.R,Te=ve/2*Tt.B,xe=16*ae*Tt.R,On=8*ae*Tt.B,pn=Tt.sa,Pn=Tt.ta-ne+xe,We=Tt.qa,me=Tt.ra-Te+On,xn=Tt.Ha,En=Tt.Ia-Te+On,on=(je=Ne.M)==0,sn=je>=Tt.Va-1,Tt.Aa==2&&ua(Tt,Ne),Ne.uc)for(qn=(Ke=Tt).D.M,n(Ke.D.uc),Ne=Ke.yb;Ne<Ke.Hb;++Ne){gn=Ne,ci=qn;var In=(Un=(mn=Ke).D).Nb;Ve=mn.R;var Un=Un.wa[Un.Y+gn],zn=mn.sa,Tn=mn.ta+16*In*Ve+16*gn,Hn=Un.dd,Fe=Un.tc;if(Fe!=0)if(n(3<=Fe),mn.L==1)0<gn&&jc(zn,Tn,Ve,Fe+4),Un.La&&Ec(zn,Tn,Ve,Fe),0<ci&&kc(zn,Tn,Ve,Fe+4),Un.La&&Pc(zn,Tn,Ve,Fe);else{var Wn=mn.B,hi=mn.qa,Br=mn.ra+8*In*Wn+8*gn,Wi=mn.Ha,mn=mn.Ia+8*In*Wn+8*gn;In=Un.ld,0<gn&&(Ce(zn,Tn,Ve,Fe+4,Hn,In),rn(hi,Br,Wi,mn,Wn,Fe+4,Hn,In)),Un.La&&(rs(zn,Tn,Ve,Fe,Hn,In),Ks(hi,Br,Wi,mn,Wn,Fe,Hn,In)),0<ci&&(Ie(zn,Tn,Ve,Fe+4,Hn,In),Ye(hi,Br,Wi,mn,Wn,Fe+4,Hn,In)),Un.La&&(zi(zn,Tn,Ve,Fe,Hn,In),ba(hi,Br,Wi,mn,Wn,Fe,Hn,In))}}if(Tt.ia&&alert("todo:DitherRow"),Lt.put!=null){if(Ne=16*je,je=16*(je+1),on?(Lt.y=Tt.sa,Lt.O=Tt.ta+xe,Lt.f=Tt.qa,Lt.N=Tt.ra+On,Lt.ea=Tt.Ha,Lt.W=Tt.Ia+On):(Ne-=ve,Lt.y=pn,Lt.O=Pn,Lt.f=We,Lt.N=me,Lt.ea=xn,Lt.W=En),sn||(je-=ve),je>Lt.o&&(je=Lt.o),Lt.F=null,Lt.J=null,Tt.Fa!=null&&0<Tt.Fa.length&&Ne<je&&(Lt.J=en(Tt,Lt,Ne,je-Ne),Lt.F=Tt.mb,Lt.F==null&&Lt.F.length==0)){$e=tn(Tt,3,"Could not decode alpha data.");break e}Ne<Lt.j&&(ve=Lt.j-Ne,Ne=Lt.j,n(!(1&ve)),Lt.O+=Tt.R*ve,Lt.N+=Tt.B*(ve>>1),Lt.W+=Tt.B*(ve>>1),Lt.F!=null&&(Lt.J+=Lt.width*ve)),Ne<je&&(Lt.O+=Lt.v,Lt.N+=Lt.v>>1,Lt.W+=Lt.v>>1,Lt.F!=null&&(Lt.J+=Lt.v),Lt.ka=Ne-Lt.j,Lt.U=Lt.va-Lt.v,Lt.T=je-Ne,$e=Lt.put(Lt))}ae+1!=Tt.Ic||sn||(i(Tt.sa,Tt.ta-ne,pn,Pn+16*Tt.R,ne),i(Tt.qa,Tt.ra-Te,We,me+8*Tt.B,Te),i(Tt.Ha,Tt.Ia-Te,xn,En+8*Tt.B,Te))}if(!$e)return tn(de,6,"Output aborted.")}return 1}(F,Y)),Y.bc!=null&&Y.bc(Y),J&=1}return J?(F.cb=0,J):0})(a,m)||(o=a.a)}}else o=a.a}o==0&&_.Oa!=null&&_.Oa.fd&&(o=Cr(_.ba))}_=o}w=_!=0?null:11>w?A.f.RGBA.eb:A.f.kb.y}else w=null;return w};var Xc=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function d(B,et){for(var S="",O=0;O<4;O++)S+=String.fromCharCode(B[et++]);return S}function g(B,et){return B[et+0]|B[et+1]<<8}function x(B,et){return(B[et+0]|B[et+1]<<8|B[et+2]<<16)>>>0}function L(B,et){return(B[et+0]|B[et+1]<<8|B[et+2]<<16|B[et+3]<<24)>>>0}new u;var p=[0],T=[0],P=[],R=new u,k=t,D=function(B,et){var S={},O=0,W=!1,H=0,rt=0;if(S.frames=[],!function(N,M){for(var q=0;q<4;q++)if(N[M+q]!="RIFF".charCodeAt(q))return!0;return!1}(B,et)){for(L(B,et+=4),et+=8;et<B.length;){var ct=d(B,et),ft=L(B,et+=4);et+=4;var it=ft+(1&ft);switch(ct){case"VP8 ":case"VP8L":S.frames[O]===void 0&&(S.frames[O]={}),(yt=S.frames[O]).src_off=W?rt:et-8,yt.src_size=H+ft+8,O++,W&&(W=!1,H=0,rt=0);break;case"VP8X":(yt=S.header={}).feature_flags=B[et];var gt=et+4;yt.canvas_width=1+x(B,gt),gt+=3,yt.canvas_height=1+x(B,gt),gt+=3;break;case"ALPH":W=!0,H=it+8,rt=et-8;break;case"ANIM":(yt=S.header).bgcolor=L(B,et),gt=et+4,yt.loop_count=g(B,gt),gt+=2;break;case"ANMF":var At,yt;(yt=S.frames[O]={}).offset_x=2*x(B,et),et+=3,yt.offset_y=2*x(B,et),et+=3,yt.width=1+x(B,et),et+=3,yt.height=1+x(B,et),et+=3,yt.duration=x(B,et),et+=3,At=B[et++],yt.dispose=1&At,yt.blend=At>>1&1}ct!="ANMF"&&(et+=it)}return S}}(k,0);D.response=k,D.rgbaoutput=!0,D.dataurl=!1;var Z=D.header?D.header:null,z=D.frames?D.frames:null;if(Z){Z.loop_counter=Z.loop_count,p=[Z.canvas_height],T=[Z.canvas_width];for(var at=0;at<z.length&&z[at].blend!=0;at++);}var pt=z[0],lt=R.WebPDecodeRGBA(k,pt.src_off,pt.src_size,T,p);pt.rgba=lt,pt.imgwidth=T[0],pt.imgheight=p[0];for(var X=0;X<T[0]*p[0]*4;X++)P[X]=lt[X];return this.width=T,this.height=p,this.data=P,this}/** ====================================================================
120 * @license
121 * jsPDF XMP metadata plugin
122 * Copyright (c) 2016 Jussi Utunen, [email protected]
123 *
124 * Permission is hereby granted, free of charge, to any person obtaining
125 * a copy of this software and associated documentation files (the
126 * "Software"), to deal in the Software without restriction, including
127 * without limitation the rights to use, copy, modify, merge, publish,
128 * distribute, sublicense, and/or sell copies of the Software, and to
129 * permit persons to whom the Software is furnished to do so, subject to
130 * the following conditions:
131 *
132 * The above copyright notice and this permission notice shall be
133 * included in all copies or substantial portions of the Software.
134 *
135 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
136 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
137 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
138 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
139 * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
140 * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
141 * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
142 * ====================================================================
143 */function D5(){var t,n=this.internal.__metadata__.metadata,e=unescape(encodeURIComponent(n));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,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")+"</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 q5(){this.internal.__metadata__.metadataObjectNumber&&this.internal.write("/Metadata "+this.internal.__metadata__.metadataObjectNumber+" 0 R")}(function(t){var n,e,i,r,s,h,l,u,d,g=function(N){return N=N||{},this.isStrokeTransparent=N.isStrokeTransparent||!1,this.strokeOpacity=N.strokeOpacity||1,this.strokeStyle=N.strokeStyle||"#000000",this.fillStyle=N.fillStyle||"#000000",this.isFillTransparent=N.isFillTransparent||!1,this.fillOpacity=N.fillOpacity||1,this.font=N.font||"10px sans-serif",this.textBaseline=N.textBaseline||"alphabetic",this.textAlign=N.textAlign||"left",this.lineWidth=N.lineWidth||1,this.lineJoin=N.lineJoin||"miter",this.lineCap=N.lineCap||"butt",this.path=N.path||[],this.transform=N.transform!==void 0?N.transform.clone():new u,this.globalCompositeOperation=N.globalCompositeOperation||"normal",this.globalAlpha=N.globalAlpha||1,this.clip_path=N.clip_path||[],this.currentPoint=N.currentPoint||new h,this.miterLimit=N.miterLimit||10,this.lastPoint=N.lastPoint||new h,this.lineDashOffset=N.lineDashOffset||0,this.lineDash=N.lineDash||[],this.margin=N.margin||[0,0,0,0],this.prevPageLastElemOffset=N.prevPageLastElemOffset||0,this.ignoreClearRect=typeof N.ignoreClearRect!="boolean"||N.ignoreClearRect,this};t.events.push(["initialized",function(){this.context2d=new x(this),n=this.internal.f2,e=this.internal.getCoordinateString,i=this.internal.getVerticalCoordinateString,r=this.internal.getHorizontalCoordinate,s=this.internal.getVerticalCoordinate,h=this.internal.Point,l=this.internal.Rectangle,u=this.internal.Matrix,d=new g}]);var x=function(N){Object.defineProperty(this,"canvas",{get:function(){return{parentNode:!1,style:!1}}});var M=N;Object.defineProperty(this,"pdf",{get:function(){return M}});var q=!1;Object.defineProperty(this,"pageWrapXEnabled",{get:function(){return q},set:function(E){q=!!E}});var V=!1;Object.defineProperty(this,"pageWrapYEnabled",{get:function(){return V},set:function(E){V=!!E}});var $=0;Object.defineProperty(this,"posX",{get:function(){return $},set:function(E){isNaN(E)||($=E)}});var Q=0;Object.defineProperty(this,"posY",{get:function(){return Q},set:function(E){isNaN(E)||(Q=E)}}),Object.defineProperty(this,"margin",{get:function(){return d.margin},set:function(E){var St;typeof E=="number"?St=[E,E,E,E]:((St=new Array(4))[0]=E[0],St[1]=E.length>=2?E[1]:St[0],St[2]=E.length>=3?E[2]:St[0],St[3]=E.length>=4?E[3]:St[1]),d.margin=St}});var st=!1;Object.defineProperty(this,"autoPaging",{get:function(){return st},set:function(E){st=E}});var ot=0;Object.defineProperty(this,"lastBreak",{get:function(){return ot},set:function(E){ot=E}});var bt=[];Object.defineProperty(this,"pageBreaks",{get:function(){return bt},set:function(E){bt=E}}),Object.defineProperty(this,"ctx",{get:function(){return d},set:function(E){E instanceof g&&(d=E)}}),Object.defineProperty(this,"path",{get:function(){return d.path},set:function(E){d.path=E}});var Nt=[];Object.defineProperty(this,"ctxStack",{get:function(){return Nt},set:function(E){Nt=E}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(E){var St;St=L(E),this.ctx.fillStyle=St.style,this.ctx.isFillTransparent=St.a===0,this.ctx.fillOpacity=St.a,this.pdf.setFillColor(St.r,St.g,St.b,{a:St.a}),this.pdf.setTextColor(St.r,St.g,St.b,{a:St.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(E){var St=L(E);this.ctx.strokeStyle=St.style,this.ctx.isStrokeTransparent=St.a===0,this.ctx.strokeOpacity=St.a,St.a===0?this.pdf.setDrawColor(255,255,255):(St.a,this.pdf.setDrawColor(St.r,St.g,St.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(E){["butt","round","square"].indexOf(E)!==-1&&(this.ctx.lineCap=E,this.pdf.setLineCap(E))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(E){isNaN(E)||(this.ctx.lineWidth=E,this.pdf.setLineWidth(E))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(E){["bevel","round","miter"].indexOf(E)!==-1&&(this.ctx.lineJoin=E,this.pdf.setLineJoin(E))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(E){isNaN(E)||(this.ctx.miterLimit=E,this.pdf.setMiterLimit(E))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(E){this.ctx.textBaseline=E}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(E){["right","end","center","left","start"].indexOf(E)!==-1&&(this.ctx.textAlign=E)}});var jt=null,kt=null,qt=null;Object.defineProperty(this,"fontFaces",{get:function(){return qt},set:function(E){jt=null,kt=null,qt=E}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(E){var St;if(this.ctx.font=E,(St=/^\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(E))!==null){var se=St[1];St[2];var Wt=St[3],_t=St[4];St[5];var Vt=St[6],Et=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(_t)[2];_t=Math.floor(Et==="px"?parseFloat(_t)*this.pdf.internal.scaleFactor:Et==="em"?parseFloat(_t)*this.pdf.getFontSize():parseFloat(_t)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(_t);var Ht=function(Bt){var Ze,be,oe=[],le=Bt.trim();if(le==="")return $l;if(le in Au)return[Au[le]];for(;le!=="";){switch(be=null,Ze=(le=Su(le)).charAt(0)){case'"':case"'":be=F5(le.substring(1),Ze);break;default:be=O5(le)}if(be===null||(oe.push(be[0]),(le=Su(be[1]))!==""&&le.charAt(0)!==","))return $l;le=le.replace(/^,/,"")}return oe}(Vt);if(this.fontFaces){var Ut=function(Bt,Ze){var be=Bt.getFontList(),oe=JSON.stringify(be);if(jt===null||kt!==oe){var le=function(Me){var zt=[];return Object.keys(Me).forEach(function(Ee){Me[Ee].forEach(function(Yt){var te=null;switch(Yt){case"bold":te={family:Ee,weight:"bold"};break;case"italic":te={family:Ee,style:"italic"};break;case"bolditalic":te={family:Ee,weight:"bold",style:"italic"};break;case"":case"normal":te={family:Ee}}te!==null&&(te.ref={name:Ee,style:Yt},zt.push(te))})}),zt}(be);jt=function(Me){for(var zt={},Ee=0;Ee<Me.length;++Ee){var Yt=Yl(Me[Ee]),te=Yt.family,Be=Yt.stretch,ce=Yt.style,Gt=Yt.weight;zt[te]=zt[te]||{},zt[te][Be]=zt[te][Be]||{},zt[te][Be][ce]=zt[te][Be][ce]||{},zt[te][Be][ce][Gt]=Yt}return zt}(le.concat(Ze)),kt=oe}return jt}(this.pdf,this.fontFaces),ye=Ht.map(function(Bt){return{family:Bt,stretch:"normal",weight:Wt,style:se}}),he=function(Bt,Ze,be){for(var oe=(be=be||{}).defaultFontFamily||"times",le=Object.assign({},C5,be.genericFontFamilies||{}),Me=null,zt=null,Ee=0;Ee<Ze.length;++Ee)if(le[(Me=Yl(Ze[Ee])).family]&&(Me.family=le[Me.family]),Bt.hasOwnProperty(Me.family)){zt=Bt[Me.family];break}if(!(zt=zt||Bt[oe]))throw new Error("Could not find a font-family for the rule '"+Lu(Me)+"' and default family '"+oe+"'.");if(zt=function(Yt,te){if(te[Yt])return te[Yt];var Be=pc[Yt],ce=Be<=pc.normal?-1:1,Gt=Nu(te,Vf,Be,ce);if(!Gt)throw new Error("Could not find a matching font-stretch value for "+Yt);return Gt}(Me.stretch,zt),zt=function(Yt,te){if(te[Yt])return te[Yt];for(var Be=Wf[Yt],ce=0;ce<Be.length;++ce)if(te[Be[ce]])return te[Be[ce]];throw new Error("Could not find a matching font-style for "+Yt)}(Me.style,zt),!(zt=function(Yt,te){if(te[Yt])return te[Yt];if(Yt===400&&te[500])return te[500];if(Yt===500&&te[400])return te[400];var Be=I5[Yt],ce=Nu(te,Gf,Be,Yt<400?-1:1);if(!ce)throw new Error("Could not find a matching font-weight for value "+Yt);return ce}(Me.weight,zt)))throw new Error("Failed to resolve a font for the rule '"+Lu(Me)+"'.");return zt}(Ut,ye);this.pdf.setFont(he.ref.name,he.ref.style)}else{var Qt="";(Wt==="bold"||parseInt(Wt,10)>=700||se==="bold")&&(Qt="bold"),se==="italic"&&(Qt+="italic"),Qt.length===0&&(Qt="normal");for(var fe="",ue={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"},Rt=0;Rt<Ht.length;Rt++){if(this.pdf.internal.getFont(Ht[Rt],Qt,{noFallback:!0,disableWarning:!0})!==void 0){fe=Ht[Rt];break}if(Qt==="bolditalic"&&this.pdf.internal.getFont(Ht[Rt],"bold",{noFallback:!0,disableWarning:!0})!==void 0)fe=Ht[Rt],Qt="bold";else if(this.pdf.internal.getFont(Ht[Rt],"normal",{noFallback:!0,disableWarning:!0})!==void 0){fe=Ht[Rt],Qt="normal";break}}if(fe===""){for(var ie=0;ie<Ht.length;ie++)if(ue[Ht[ie]]){fe=ue[Ht[ie]];break}}fe=fe===""?"Times":fe,this.pdf.setFont(fe,Qt)}}}}),Object.defineProperty(this,"globalCompositeOperation",{get:function(){return this.ctx.globalCompositeOperation},set:function(E){this.ctx.globalCompositeOperation=E}}),Object.defineProperty(this,"globalAlpha",{get:function(){return this.ctx.globalAlpha},set:function(E){this.ctx.globalAlpha=E}}),Object.defineProperty(this,"lineDashOffset",{get:function(){return this.ctx.lineDashOffset},set:function(E){this.ctx.lineDashOffset=E,yt.call(this)}}),Object.defineProperty(this,"lineDash",{get:function(){return this.ctx.lineDash},set:function(E){this.ctx.lineDash=E,yt.call(this)}}),Object.defineProperty(this,"ignoreClearRect",{get:function(){return this.ctx.ignoreClearRect},set:function(E){this.ctx.ignoreClearRect=!!E}})};x.prototype.setLineDash=function(N){this.lineDash=N},x.prototype.getLineDash=function(){return this.lineDash.length%2?this.lineDash.concat(this.lineDash):this.lineDash.slice()},x.prototype.fill=function(){z.call(this,"fill",!1)},x.prototype.stroke=function(){z.call(this,"stroke",!1)},x.prototype.beginPath=function(){this.path=[{type:"begin"}]},x.prototype.moveTo=function(N,M){if(isNaN(N)||isNaN(M))throw Pe.error("jsPDF.context2d.moveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to 
143jsPDF.context2d.moveTo");var q=this.ctx.transform.applyToPoint(new h(N,M));this.path.push({type:"mt",x:q.x,y:q.y}),this.ctx.lastPoint=new h(N,M)},x.prototype.closePath=function(){var N=new h(0,0),M=0;for(M=this.path.length-1;M!==-1;M--)if(this.path[M].type==="begin"&&Le(this.path[M+1])==="object"&&typeof this.path[M+1].x=="number"){N=new h(this.path[M+1].x,this.path[M+1].y);break}this.path.push({type:"close"}),this.ctx.lastPoint=new h(N.x,N.y)},x.prototype.lineTo=function(N,M){if(isNaN(N)||isNaN(M))throw Pe.error("jsPDF.context2d.lineTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.lineTo");var q=this.ctx.transform.applyToPoint(new h(N,M));this.path.push({type:"lt",x:q.x,y:q.y}),this.ctx.lastPoint=new h(q.x,q.y)},x.prototype.clip=function(){this.ctx.clip_path=JSON.parse(JSON.stringify(this.path)),z.call(this,null,!0)},x.prototype.quadraticCurveTo=function(N,M,q,V){if(isNaN(q)||isNaN(V)||isNaN(N)||isNaN(M))throw Pe.error("jsPDF.context2d.quadraticCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.quadraticCurveTo");var $=this.ctx.transform.applyToPoint(new h(q,V)),Q=this.ctx.transform.applyToPoint(new h(N,M));this.path.push({type:"qct",x1:Q.x,y1:Q.y,x:$.x,y:$.y}),this.ctx.lastPoint=new h($.x,$.y)},x.prototype.bezierCurveTo=function(N,M,q,V,$,Q){if(isNaN($)||isNaN(Q)||isNaN(N)||isNaN(M)||isNaN(q)||isNaN(V))throw Pe.error("jsPDF.context2d.bezierCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.bezierCurveTo");var st=this.ctx.transform.applyToPoint(new h($,Q)),ot=this.ctx.transform.applyToPoint(new h(N,M)),bt=this.ctx.transform.applyToPoint(new h(q,V));this.path.push({type:"bct",x1:ot.x,y1:ot.y,x2:bt.x,y2:bt.y,x:st.x,y:st.y}),this.ctx.lastPoint=new h(st.x,st.y)},x.prototype.arc=function(N,M,q,V,$,Q){if(isNaN(N)||isNaN(M)||isNaN(q)||isNaN(V)||isNaN($))throw Pe.error("jsPDF.context2d.arc: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.arc");if(Q=!!Q,!this.ctx.transform.isIdentity){var st=this.ctx.transform.applyToPoint(new h(N,M));N=st.x,M=st.y;var ot=this.ctx.transform.applyToPoint(new h(0,q)),bt=this.ctx.transform.applyToPoint(new h(0,0));q=Math.sqrt(Math.pow(ot.x-bt.x,2)+Math.pow(ot.y-bt.y,2))}Math.abs($-V)>=2*Math.PI&&(V=0,$=2*Math.PI),this.path.push({type:"arc",x:N,y:M,radius:q,startAngle:V,endAngle:$,counterclockwise:Q})},x.prototype.arcTo=function(N,M,q,V,$){throw new Error("arcTo not implemented.")},x.prototype.rect=function(N,M,q,V){if(isNaN(N)||isNaN(M)||isNaN(q)||isNaN(V))throw Pe.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(N,M),this.lineTo(N+q,M),this.lineTo(N+q,M+V),this.lineTo(N,M+V),this.lineTo(N,M),this.lineTo(N+q,M),this.lineTo(N,M)},x.prototype.fillRect=function(N,M,q,V){if(isNaN(N)||isNaN(M)||isNaN(q)||isNaN(V))throw Pe.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!p.call(this)){var $={};this.lineCap!=="butt"&&($.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&($.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(N,M,q,V),this.fill(),$.hasOwnProperty("lineCap")&&(this.lineCap=$.lineCap),$.hasOwnProperty("lineJoin")&&(this.lineJoin=$.lineJoin)}},x.prototype.strokeRect=function(N,M,q,V){if(isNaN(N)||isNaN(M)||isNaN(q)||isNaN(V))throw Pe.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");T.call(this)||(this.beginPath(),this.rect(N,M,q,V),this.stroke())},x.prototype.clearRect=function(N,M,q,V){if(isNaN(N)||isNaN(M)||isNaN(q)||isNaN(V))throw Pe.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(N,M,q,V))},x.prototype.save=function(N){N=typeof N!="boolean"||N;for(var M=this.pdf.internal.getCurrentPageInfo().pageNumber,q=0;q<this.pdf.internal.getNumberOfPages();q++)this.pdf.setPage(q+1),this.pdf.internal.out("q");
vendor: 4,132 bytes, line 143
143if(this.pdf.setPage(M),N){this.ctx.fontSize=this.pdf.internal.getFontSize();var V=new g(this.ctx);this.ctxStack.push(this.ctx),this.ctx=V}},x.prototype.restore=function(N){N=typeof N!="boolean"||N;for(var M=this.pdf.internal.getCurrentPageInfo().pageNumber,q=0;q<this.pdf.internal.getNumberOfPages();q++)this.pdf.setPage(q+1),this.pdf.internal.out("Q");this.pdf.setPage(M),N&&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)},x.prototype.toDataURL=function(){throw new Error("toDataUrl not implemented.")};var L=function(N){var M,q,V,$;if(N.isCanvasGradient===!0&&(N=N.getColor()),!N)return{r:0,g:0,b:0,a:0,style:N};if(/transparent|rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*0+\s*\)/.test(N))M=0,q=0,V=0,$=0;else{var Q=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/.exec(N);if(Q!==null)M=parseInt(Q[1]),q=parseInt(Q[2]),V=parseInt(Q[3]),$=1;else if((Q=/rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d.]+)\s*\)/.exec(N))!==null)M=parseInt(Q[1]),q=parseInt(Q[2]),V=parseInt(Q[3]),$=parseFloat(Q[4]);else{if($=1,typeof N=="string"&&N.charAt(0)!=="#"){var st=new Mf(N);N=st.ok?st.toHex():"#000000"}N.length===4?(M=N.substring(1,2),M+=M,q=N.substring(2,3),q+=q,V=N.substring(3,4),V+=V):(M=N.substring(1,3),q=N.substring(3,5),V=N.substring(5,7)),M=parseInt(M,16),q=parseInt(q,16),V=parseInt(V,16)}}return{r:M,g:q,b:V,a:$,style:N}},p=function(){return this.ctx.isFillTransparent||this.globalAlpha==0},T=function(){return!!(this.ctx.isStrokeTransparent||this.globalAlpha==0)};x.prototype.fillText=function(N,M,q,V){if(isNaN(M)||isNaN(q)||typeof N!="string")throw Pe.error("jsPDF.context2d.fillText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillText");if(V=isNaN(V)?void 0:V,!p.call(this)){var $=it(this.ctx.transform.rotation),Q=this.ctx.transform.scaleX;O.call(this,{text:N,x:M,y:q,scale:Q,angle:$,align:this.textAlign,maxWidth:V})}},x.prototype.strokeText=function(N,M,q,V){if(isNaN(M)||isNaN(q)||typeof N!="string")throw Pe.error("jsPDF.context2d.strokeText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeText");if(!T.call(this)){V=isNaN(V)?void 0:V;var $=it(this.ctx.transform.rotation),Q=this.ctx.transform.scaleX;O.call(this,{text:N,x:M,y:q,scale:Q,renderingMode:"stroke",angle:$,align:this.textAlign,maxWidth:V})}},x.prototype.measureText=function(N){if(typeof N!="string")throw Pe.error("jsPDF.context2d.measureText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.measureText");var M=this.pdf,q=this.pdf.internal.scaleFactor,V=M.internal.getFontSize(),$=M.getStringUnitWidth(N)*V/M.internal.scaleFactor;return new function(Q){var st=(Q=Q||{}).width||0;return Object.defineProperty(this,"width",{get:function(){return st}}),this}({width:$*=Math.round(96*q/72*1e4)/1e4})},x.prototype.scale=function(N,M){if(isNaN(N)||isNaN(M))throw Pe.error("jsPDF.context2d.scale: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.scale");var q=new u(N,0,0,M,0,0);this.ctx.transform=this.ctx.transform.multiply(q)},x.prototype.rotate=function(N){if(isNaN(N))throw Pe.error("jsPDF.context2d.rotate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rotate");var M=new u(Math.cos(N),Math.sin(N),-Math.sin(N),Math.cos(N),0,0);this.ctx.transform=this.ctx.transform.multiply(M)},x.prototype.translate=function(N,M){if(isNaN(N)||isNaN(M))throw Pe.error("jsPDF.context2d.translate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.translate");var q=new u(1,0,0,1,N,M);this.ctx.transform=this.ctx.transform.multiply(q)},x.prototype.transform=function(N,M,q,V,$,Q){if(isNaN(N)||isNaN(M)||isNaN(q)||isNaN(V)||isNaN($)||isNaN(Q))throw Pe.error("jsPDF.context2d.transform: Invalid arguments",arguments),new Error("Invalid arguments passed to 
143jsPDF.context2d.transform");var st=new u(N,M,q,V,$,Q);this.ctx.transform=this.ctx.transform.multiply(st)},x.prototype.setTransform=function(N,M,q,V,$,Q){N=isNaN(N)?1:N,M=isNaN(M)?0:M,q=isNaN(q)?0:q,V=isNaN(V)?1:V,$=isNaN($)?0:$,Q=isNaN(Q)?0:Q,this.ctx.transform=new u(N,M,q,V,$,Q)};var P=function(){return this.margin[0]>0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};x.prototype.drawImage=function(N,M,q,V,$,Q,st,ot,bt){var Nt=this.pdf.getImageProperties(N),jt=1,kt=1,qt=1,E=1;V!==void 0&&ot!==void 0&&(qt=ot/V,E=bt/$,jt=Nt.width/V*ot/V,kt=Nt.height/$*bt/$),Q===void 0&&(Q=M,st=q,M=0,q=0),V!==void 0&&ot===void 0&&(ot=V,bt=$),V===void 0&&ot===void 0&&(ot=Nt.width,bt=Nt.height);var St=this.ctx.transform.decompose(),se=it(St.rotate.shx),Wt=new u,_t=(Wt=(Wt=(Wt=Wt.multiply(St.translate)).multiply(St.skew)).multiply(St.scale)).applyToRectangle(new l(Q-M*qt,st-q*E,V*jt,$*kt));if(this.autoPaging){for(var Vt,Et=R.call(this,_t),Ht=[],Ut=0;Ut<Et.length;Ut+=1)Ht.indexOf(Et[Ut])===-1&&Ht.push(Et[Ut]);Z(Ht);for(var ye=Ht[0],he=Ht[Ht.length-1],Qt=ye;Qt<he+1;Qt++){this.pdf.setPage(Qt);var fe=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],ue=Qt===1?this.posY+this.margin[0]:this.margin[0],Rt=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],ie=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],Bt=Qt===1?0:Rt+(Qt-2)*ie;if(this.ctx.clip_path.length!==0){var Ze=this.path;Vt=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=D(Vt,this.posX+this.margin[3],-Bt+ue+this.ctx.prevPageLastElemOffset),at.call(this,"fill",!0),this.path=Ze}var be=JSON.parse(JSON.stringify(_t));be=D([be],this.posX+this.margin[3],-Bt+ue+this.ctx.prevPageLastElemOffset)[0];var oe=(Qt>ye||Qt<he)&&P.call(this);oe&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],fe,ie,null).clip().discardPath()),this.pdf.addImage(N,"JPEG",be.x,be.y,be.w,be.h,null,null,se),oe&&this.pdf.restoreGraphicsState()}}else this.pdf.addImage(N,"JPEG",_t.x,_t.y,_t.w,_t.h,null,null,se)};var R=function(N,M,q){var V=[];M=M||this.pdf.internal.pageSize.width,q=q||this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2];var $=this.posY+this.ctx.prevPageLastElemOffset;switch(N.type){default:case"mt":case"lt":V.push(Math.floor((N.y+$)/q)+1);break;case"arc":V.push(Math.floor((N.y+$-N.radius)/q)+1),V.push(Math.floor((N.y+$+N.radius)/q)+1);break;case"qct":var Q=gt(this.ctx.lastPoint.x,this.ctx.lastPoint.y,N.x1,N.y1,N.x,N.y);V.push(Math.floor((Q.y+$)/q)+1),V.push(Math.floor((Q.y+Q.h+$)/q)+1);break;case"bct":var st=At(this.ctx.lastPoint.x,this.ctx.lastPoint.y,N.x1,N.y1,N.x2,N.y2,N.x,N.y);V.push(Math.floor((st.y+$)/q)+1),V.push(Math.floor((st.y+st.h+$)/q)+1);break;case"rect":V.push(Math.floor((N.y+$)/q)+1),V.push(Math.floor((N.y+N.h+$)/q)+1)}for(var ot=0;ot<V.length;ot+=1)for(;this.pdf.internal.getNumberOfPages()<V[ot];)k.call(this);return V},k=function(){var N=this.fillStyle,M=this.strokeStyle,q=this.font,V=this.lineCap,$=this.lineWidth,Q=this.lineJoin;this.pdf.addPage(),this.fillStyle=N,this.strokeStyle=M,this.font=q,this.lineCap=V,this.lineWidth=$,this.lineJoin=Q},D=function(N,M,q){for(var V=0;V<N.length;
vendor: 45,794 bytes, lines 143-151
143V++)switch(N[V].type){case"bct":N[V].x2+=M,N[V].y2+=q;case"qct":N[V].x1+=M,N[V].y1+=q;default:N[V].x+=M,N[V].y+=q}return N},Z=function(N){return N.sort(function(M,q){return M-q})},z=function(N,M){var q=this.fillStyle,V=this.strokeStyle,$=this.lineCap,Q=this.lineWidth,st=Math.abs(Q*this.ctx.transform.scaleX),ot=this.lineJoin;if(this.autoPaging){for(var bt,Nt,jt=JSON.parse(JSON.stringify(this.path)),kt=JSON.parse(JSON.stringify(this.path)),qt=[],E=0;E<kt.length;E++)if(kt[E].x!==void 0)for(var St=R.call(this,kt[E]),se=0;se<St.length;se+=1)qt.indexOf(St[se])===-1&&qt.push(St[se]);for(var Wt=0;Wt<qt.length;Wt++)for(;this.pdf.internal.getNumberOfPages()<qt[Wt];)k.call(this);Z(qt);for(var _t=qt[0],Vt=qt[qt.length-1],Et=_t;Et<Vt+1;Et++){this.pdf.setPage(Et),this.fillStyle=q,this.strokeStyle=V,this.lineCap=$,this.lineWidth=st,this.lineJoin=ot;var Ht=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],Ut=Et===1?this.posY+this.margin[0]:this.margin[0],ye=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],he=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],Qt=Et===1?0:ye+(Et-2)*he;if(this.ctx.clip_path.length!==0){var fe=this.path;bt=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=D(bt,this.posX+this.margin[3],-Qt+Ut+this.ctx.prevPageLastElemOffset),at.call(this,N,!0),this.path=fe}if(Nt=JSON.parse(JSON.stringify(jt)),this.path=D(Nt,this.posX+this.margin[3],-Qt+Ut+this.ctx.prevPageLastElemOffset),M===!1||Et===0){var ue=(Et>_t||Et<Vt)&&P.call(this);ue&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],Ht,he,null).clip().discardPath()),at.call(this,N,M),ue&&this.pdf.restoreGraphicsState()}this.lineWidth=Q}this.path=jt}else this.lineWidth=st,at.call(this,N,M),this.lineWidth=Q},at=function(N,M){if((N!=="stroke"||M||!T.call(this))&&(N==="stroke"||M||!p.call(this))){for(var q,V,$=[],Q=this.path,st=0;st<Q.length;st++){var ot=Q[st];switch(ot.type){case"begin":$.push({begin:!0});break;case"close":$.push({close:!0});break;case"mt":$.push({start:ot,deltas:[],abs:[]});break;case"lt":var bt=$.length;if(Q[st-1]&&!isNaN(Q[st-1].x)&&(q=[ot.x-Q[st-1].x,ot.y-Q[st-1].y],bt>0)){for(;bt>=0;bt--)if($[bt-1].close!==!0&&$[bt-1].begin!==!0){$[bt-1].deltas.push(q),$[bt-1].abs.push(ot);break}}break;case"bct":q=[ot.x1-Q[st-1].x,ot.y1-Q[st-1].y,ot.x2-Q[st-1].x,ot.y2-Q[st-1].y,ot.x-Q[st-1].x,ot.y-Q[st-1].y],$[$.length-1].deltas.push(q);break;case"qct":var Nt=Q[st-1].x+2/3*(ot.x1-Q[st-1].x),jt=Q[st-1].y+2/3*(ot.y1-Q[st-1].y),kt=ot.x+2/3*(ot.x1-ot.x),qt=ot.y+2/3*(ot.y1-ot.y),E=ot.x,St=ot.y;q=[Nt-Q[st-1].x,jt-Q[st-1].y,kt-Q[st-1].x,qt-Q[st-1].y,E-Q[st-1].x,St-Q[st-1].y],$[$.length-1].deltas.push(q);break;case"arc":$.push({deltas:[],abs:[],arc:!0}),Array.isArray($[$.length-1].abs)&&$[$.length-1].abs.push(ot)}}V=M?null:N==="stroke"?"stroke":"fill";for(var se=!1,Wt=0;Wt<$.length;Wt++)if($[Wt].arc)for(var _t=$[Wt].abs,Vt=0;Vt<_t.length;Vt++){var Et=_t[Vt];Et.type==="arc"?X.call(this,Et.x,Et.y,Et.radius,Et.startAngle,Et.endAngle,Et.counterclockwise,void 0,M,!se):W.call(this,Et.x,Et.y),se=!0}else if($[Wt].close===!0)this.pdf.internal.out("h"),se=!1;else if($[Wt].begin!==!0){var Ht=$[Wt].start.x,Ut=$[Wt].start.y;H.call(this,$[Wt].deltas,Ht,Ut),se=!0}V&&B.call(this,V),M&&et.call(this)}},pt=function(N){var M=this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor,q=M*(this.pdf.internal.getLineHeightFactor()-1);switch(this.ctx.textBaseline){case"bottom":return N-q;case"top":return N+M-q;case"hanging":return N+M-2*q;case"middle":return N+M/2-q;default:return N}},lt=function(N){return N+this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor*(this.pdf.internal.getLineHeightFactor()-1)};x.prototype.createLinearGradient=function(){var N=function(){};return N.colorStops=[],N.addColorStop=function(M,q){this.colorStops.push([M,q])},N.getColor=function(){return this.colorStops.length===0?"#000000":this.colorStops[0][1]},N.isCanvasGradient=!0,N},x.prototype.createPattern=function(){return this.createLinearGradient()},x.prototype.createRadialGradient=function(){return this.createLinearGradient()};var X=function(N,M,q,V,$,Q,st,ot,bt){for(var Nt=ct.call(this,q,V,$,Q),jt=0;jt<Nt.length;jt++){var kt=Nt[jt];jt===0&&(bt?S.call(this,kt.x1+N,kt.y1+M):W.call(this,kt.x1+N,kt.y1+M)),rt.call(this,N,M,kt.x2,kt.y2,kt.x3,kt.y3,kt.x4,kt.y4)}ot?et.call(this):B.call(this,st)},B=function(N){switch(N){case"stroke":this.pdf.internal.out("S");break;case"fill":this.pdf.internal.out("f")}},et=function(){this.pdf.clip(),this.pdf.discardPath()},S=function(N,M){this.pdf.internal.out(e(N)+" "+i(M)+" m")},O=function(N){var M;switch(N.align){case"right":case"end":M="right";break;case"center":M="center";break;default:M="left"}var q,V,$,Q=this.pdf.getTextDimensions(N.text),st=pt.call(this,N.y),ot=lt.call(this,st)-Q.h,bt=this.ctx.transform.applyToPoint(new h(N.x,st));if(this.autoPaging){var Nt=this.ctx.transform.decompose(),jt=new u;jt=(jt=(jt=jt.multiply(Nt.translate)).multiply(Nt.skew)).multiply(Nt.scale);for(var kt=this.ctx.transform.applyToRectangle(new l(N.x,st,Q.w,Q.h)),qt=jt.applyToRectangle(new l(N.x,ot,Q.w,Q.h)),E=R.call(this,qt),St=[],se=0;se<E.length;se+=1)St.indexOf(E[se])===-1&&St.push(E[se]);Z(St);for(var Wt=St[0],_t=St[St.length-1],Vt=Wt;Vt<_t+1;Vt++){this.pdf.setPage(Vt);var Et=Vt===1?this.posY+this.margin[0]:this.margin[0],Ht=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],Ut=this.pdf.internal.pageSize.height-this.margin[2],ye=Ut-this.margin[0],he=this.pdf.internal.pageSize.width-this.margin[1],Qt=he-this.margin[3],fe=Vt===1?0:Ht+(Vt-2)*ye;if(this.ctx.clip_path.length!==0){var ue=this.path;q=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=D(q,this.posX+this.margin[3],-1*fe+Et),at.call(this,"fill",!0),this.path=ue}var Rt=D([JSON.parse(JSON.stringify(qt))],this.posX+this.margin[3],-fe+Et+this.ctx.prevPageLastElemOffset)[0];N.scale>=.01&&(V=this.pdf.internal.getFontSize(),this.pdf.setFontSize(V*N.scale),$=this.lineWidth,this.lineWidth=$*N.scale);var ie=this.autoPaging!=="text";if(ie||Rt.y+Rt.h<=Ut){if(ie||Rt.y>=Et&&Rt.x<=he){var Bt=ie?N.text:this.pdf.splitTextToSize(N.text,N.maxWidth||he-Rt.x)[0],Ze=D([JSON.parse(JSON.stringify(kt))],this.posX+this.margin[3],-fe+Et+this.ctx.prevPageLastElemOffset)[0],be=ie&&(Vt>Wt||Vt<_t)&&P.call(this);be&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],Qt,ye,null).clip().discardPath()),this.pdf.text(Bt,Ze.x,Ze.y,{angle:N.angle,align:M,renderingMode:N.renderingMode}),be&&this.pdf.restoreGraphicsState()}}else Rt.y<Ut&&(this.ctx.prevPageLastElemOffset+=Ut-Rt.y);N.scale>=.01&&(this.pdf.setFontSize(V),this.lineWidth=$)}}else N.scale>=.01&&(V=this.pdf.internal.getFontSize(),this.pdf.setFontSize(V*N.scale),$=this.lineWidth,this.lineWidth=$*N.scale),this.pdf.text(N.text,bt.x+this.posX,bt.y+this.posY,{angle:N.angle,align:M,renderingMode:N.renderingMode,maxWidth:N.maxWidth}),N.scale>=.01&&(this.pdf.setFontSize(V),this.lineWidth=$)},W=function(N,M,q,V){q=q||0,V=V||0,this.pdf.internal.out(e(N+q)+" "+i(M+V)+" l")},H=function(N,M,q){return this.pdf.lines(N,M,q,null,null)},rt=function(N,M,q,V,$,Q,st,ot){this.pdf.internal.out([n(r(q+N)),n(s(V+M)),n(r($+N)),n(s(Q+M)),n(r(st+N)),n(s(ot+M)),"c"].join(" "))},ct=function(N,M,q,V){for(var $=2*Math.PI,Q=Math.PI/2;M>q;)M-=$;var st=Math.abs(q-M);st<$&&V&&(st=$-st);for(var ot=[],bt=V?-1:1,Nt=M;st>1e-5;){var jt=Nt+bt*Math.min(st,Q);ot.push(ft.call(this,N,Nt,jt)),st-=Math.abs(jt-Nt),Nt=jt}return ot},ft=function(N,M,q){var V=(q-M)/2,$=N*Math.cos(V),Q=N*Math.sin(V),st=$,ot=-Q,bt=st*st+ot*ot,Nt=bt+st*$+ot*Q,jt=4/3*(Math.sqrt(2*bt*Nt)-Nt)/(st*Q-ot*$),kt=st-jt*ot,qt=ot+jt*st,E=kt,St=-qt,se=V+M,Wt=Math.cos(se),_t=Math.sin(se);return{x1:N*Math.cos(M),y1:N*Math.sin(M),x2:kt*Wt-qt*_t,y2:kt*_t+qt*Wt,x3:E*Wt-St*_t,y3:E*_t+St*Wt,x4:N*Math.cos(q),y4:N*Math.sin(q)}},it=function(N){return 180*N/Math.PI},gt=function(N,M,q,V,$,Q){var st=N+.5*(q-N),ot=M+.5*(V-M),bt=$+.5*(q-$),Nt=Q+.5*(V-Q),jt=Math.min(N,$,st,bt),kt=Math.max(N,$,st,bt),qt=Math.min(M,Q,ot,Nt),E=Math.max(M,Q,ot,Nt);return new l(jt,qt,kt-jt,E-qt)},At=function(N,M,q,V,$,Q,st,ot){var bt,Nt,jt,kt,qt,E,St,se,Wt,_t,Vt,Et,Ht,Ut,ye=q-N,he=V-M,Qt=$-q,fe=Q-V,ue=st-$,Rt=ot-Q;for(Nt=0;Nt<41;Nt++)Wt=(St=(jt=N+(bt=Nt/40)*ye)+bt*((qt=q+bt*Qt)-jt))+bt*(qt+bt*($+bt*ue-qt)-St),_t=(se=(kt=M+bt*he)+bt*((E=V+bt*fe)-kt))+bt*(E+bt*(Q+bt*Rt-E)-se),Nt==0?(Vt=Wt,Et=_t,Ht=Wt,Ut=_t):(Vt=Math.min(Vt,Wt),Et=Math.min(Et,_t),Ht=Math.max(Ht,Wt),Ut=Math.max(Ut,_t));return new l(Math.round(Vt),Math.round(Et),Math.round(Ht-Vt),Math.round(Ut-Et))},yt=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var N,M,q=(N=this.ctx.lineDash,M=this.ctx.lineDashOffset,JSON.stringify({lineDash:N,lineDashOffset:M}));this.prevLineDash!==q&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=q)}}})(Dt.API),function(t){var n=function(h){var l,u,d,g,x,L,p,T,P,R;for(u=[],d=0,g=(h+=l="\0\0\0\0".slice(h.length%4||4)).length;g>d;d+=4)(x=(h.charCodeAt(d)<<24)+(h.charCodeAt(d+1)<<16)+(h.charCodeAt(d+2)<<8)+h.charCodeAt(d+3))!==0?(L=(x=((x=((x=((x=(x-(R=x%85))/85)-(P=x%85))/85)-(T=x%85))/85)-(p=x%85))/85)%85,u.push(L+33,p+33,T+33,P+33,R+33)):u.push(122);return function(k,D){for(var Z=D;Z>0;Z--)k.pop()}(u,l.length),String.fromCharCode.apply(String,u)+"~>"},e=function(h){var l,u,d,g,x,L=String,p="length",T=255,P="charCodeAt",R="slice",k="replace";for(h[R](-2),h=h[R](0,-2)[k](/\s/g,"")[k]("z","!!!!!"),d=[],g=0,x=(h+=l="uuuuu"[R](h[p]%5||5))[p];x>g;g+=5)u=52200625*(h[P](g)-33)+614125*(h[P](g+1)-33)+7225*(h[P](g+2)-33)+85*(h[P](g+3)-33)+(h[P](g+4)-33),d.push(T&u>>24,T&u>>16,T&u>>8,T&u);return function(D,Z){for(var z=Z;z>0;z--)D.pop()}(d,l[p]),L.fromCharCode.apply(L,d)},i=function(h){return h.split("").map(function(l){return("0"+l.charCodeAt().toString(16)).slice(-2)}).join("")+">"},r=function(h){var l=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((h=h.replace(/\s/g,"")).indexOf(">")!==-1&&(h=h.substr(0,h.indexOf(">"))),h.length%2&&(h+="0"),l.test(h)===!1)return"";for(var u="",d=0;d<h.length;d+=2)u+=String.fromCharCode("0x"+(h[d]+h[d+1]));return u},s=function(h){for(var l=new Uint8Array(h.length),u=h.length;u--;)l[u]=h.charCodeAt(u);return(l=ec(l)).reduce(function(d,g){return d+String.fromCharCode(g)},"")};t.processDataByFilters=function(h,l){var u=0,d=h||"",g=[];for(typeof(l=l||[])=="string"&&(l=[l]),u=0;u<l.length;u+=1)switch(l[u]){case"ASCII85Decode":case"/ASCII85Decode":d=e(d),g.push("/ASCII85Encode");break;case"ASCII85Encode":case"/ASCII85Encode":d=n(d),g.push("/ASCII85Decode");break;case"ASCIIHexDecode":case"/ASCIIHexDecode":d=r(d),g.push("/ASCIIHexEncode");break;case"ASCIIHexEncode":case"/ASCIIHexEncode":d=i(d),g.push("/ASCIIHexDecode");break;case"FlateEncode":case"/FlateEncode":d=s(d),g.push("/FlateDecode");break;default:throw new Error('The filter: "'+l[u]+'" is not implemented')}return{data:d,reverseChain:g.reverse().join(" ")}}}(Dt.API),function(t){t.loadFile=function(n,e,i){return function(r,s,h){s=s!==!1,h=typeof h=="function"?h:function(){};var l=void 0;try{l=function(u,d,g){var x=new XMLHttpRequest,L=0,p=function(T){var P=T.length,R=[],k=String.fromCharCode;for(L=0;L<P;L+=1)R.push(k(255&T.charCodeAt(L)));return R.join("")};if(x.open("GET",u,!d),x.overrideMimeType("text/plain; charset=x-user-defined"),d===!1&&(x.onload=function(){x.status===200?g(p(this.responseText)):g(void 0)}),x.send(null),d&&x.status===200)return p(x.responseText)}(r,s,h)}catch{}return l}(n,e,i)},t.allowFsRead=void 0,t.loadImageFile=t.loadFile}(Dt.API),function(t){function n(){return(Kt.html2canvas?Promise.resolve(Kt.html2canvas):_l(()=>import("./html2canvas.esm-CBrSDip1.js"),[])).catch(function(l){return Promise.reject(new Error("Could not load html2canvas: "+l))}).then(function(l){return l.default?l.default:l})}function e(){return(Kt.DOMPurify?Promise.resolve(Kt.DOMPurify):_l(()=>import("./purify.es-C5KSVp3G.js"),[])).catch(function(l){return Promise.reject(new Error("Could not load dompurify: "+l))}).then(function(l){return l.default?l.default:l})}var i=function(l){var u=Le(l);return u==="undefined"?"undefined":u==="string"||l instanceof String?"string":u==="number"||l instanceof Number?"number":u==="function"||l instanceof Function?"function":l&&l.constructor===Array?"array":l&&l.nodeType===1?"element":u==="object"?"object":"unknown"},r=function(l,u){var d=document.createElement(l);for(var g in u.className&&(d.className=u.className),u.innerHTML&&u.dompurify&&(d.innerHTML=u.dompurify.sanitize(u.innerHTML)),u.style)d.style[g]=u.style[g];return d},s=function l(u,d){for(var g=u.nodeType===3?document.createTextNode(u.nodeValue):u.cloneNode(!1),x=u.firstChild;x;x=x.nextSibling)d!==!0&&x.nodeType===1&&x.nodeName==="SCRIPT"||g.appendChild(l(x,d));return u.nodeType===1&&(u.nodeName==="CANVAS"?(g.width=u.width,g.height=u.height,g.getContext("2d").drawImage(u,0,0)):u.nodeName!=="TEXTAREA"&&u.nodeName!=="SELECT"||(g.value=u.value),g.addEventListener("load",function(){g.scrollTop=u.scrollTop,g.scrollLeft=u.scrollLeft},!0)),g},h=function l(u){var d=Object.assign(l.convert(Promise.resolve()),JSON.parse(JSON.stringify(l.template))),g=l.convert(Promise.resolve(),d);return(g=g.setProgress(1,l,1,[l])).set(u)};(h.prototype=Object.create(Promise.prototype)).constructor=h,h.convert=function(l,u){return l.__proto__=u||h.prototype,l},h.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"}},h.prototype.from=function(l,u){return this.then(function(){switch(u=u||function(d){switch(i(d)){case"string":return"string";case"element":return d.nodeName.toLowerCase()==="canvas"?"canvas":"element";default:return"unknown"}}(l),u){case"string":return this.then(e).then(function(d){return this.set({src:r("div",{innerHTML:l,dompurify:d})})});case"element":return this.set({src:l});case"canvas":return this.set({canvas:l});case"img":return this.set({img:l});default:return this.error("Unknown source type.")}})},h.prototype.to=function(l){switch(l){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.")}},h.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 l={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},u=s(this.prop.src,this.opt.html2canvas.javascriptEnabled);u.tagName==="BODY"&&(l.height=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight)+"px"),this.prop.overlay=r("div",{className:"html2pdf__overlay",style:{position:"fixed",overflow:"hidden",zIndex:1e3,left:"-100000px",right:0,bottom:0,top:0}}),this.prop.container=r("div",{className:"html2pdf__container",style:l}),this.prop.container.appendChild(u),this.prop.container.firstChild.appendChild(r("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"})},h.prototype.toCanvas=function(){var l=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(l).then(n).then(function(u){var d=Object.assign({},this.opt.html2canvas);return delete d.onrendered,u(this.prop.container,d)}).then(function(u){(this.opt.html2canvas.onrendered||function(){})(u),this.prop.canvas=u,document.body.removeChild(this.prop.overlay)})},h.prototype.toContext2d=function(){var l=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(l).then(n).then(function(u){var d=this.opt.jsPDF,g=this.opt.fontFaces,x=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,L=Object.assign({async:!0,allowTaint:!0,scale:x,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 L.onrendered,d.context2d.autoPaging=this.opt.autoPaging===void 0||this.opt.autoPaging,d.context2d.posX=this.opt.x,d.context2d.posY=this.opt.y,d.context2d.margin=this.opt.margin,d.context2d.fontFaces=g,g)for(var p=0;p<g.length;++p){var T=g[p],P=T.src.find(function(R){return R.format==="truetype"});P&&d.addFont(P.url,T.ref.name,T.ref.style)}return L.windowHeight=L.windowHeight||0,L.windowHeight=L.windowHeight==0?Math.max(this.prop.container.clientHeight,this.prop.container.scrollHeight,this.prop.container.offsetHeight):L.windowHeight,d.context2d.save(!0),u(this.prop.container,L)}).then(function(u){this.opt.jsPDF.context2d.restore(!0),(this.opt.html2canvas.onrendered||function(){})(u),this.prop.canvas=u,document.body.removeChild(this.prop.overlay)})},h.prototype.toImg=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()}]).then(function(){var l=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=l})},h.prototype.toPdf=function(){return this.thenList([function(){return this.toContext2d()}]).then(function(){this.prop.pdf=this.prop.pdf||this.opt.jsPDF})},h.prototype.output=function(l,u,d){return(d=d||"pdf").toLowerCase()==="img"||d.toLowerCase()==="image"?this.outputImg(l,u):this.outputPdf(l,u)},h.prototype.outputPdf=function(l,u){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){return this.prop.pdf.output(l,u)})},h.prototype.outputImg=function(l){return this.thenList([function(){return this.prop.img||this.toImg()}]).then(function(){switch(l){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 "'+l+'" is not supported.'}})},h.prototype.save=function(l){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).set(l?{filename:l}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},h.prototype.doCallback=function(){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){this.prop.callback(this.prop.pdf)})},h.prototype.set=function(l){if(i(l)!=="object")return this;var u=Object.keys(l||{}).map(function(d){if(d in h.template.prop)return function(){this.prop[d]=l[d]};switch(d){case"margin":return this.setMargin.bind(this,l.margin);case"jsPDF":return function(){return this.opt.jsPDF=l.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,l.pageSize);default:return function(){this.opt[d]=l[d]}}},this);return this.then(function(){return this.thenList(u)})},h.prototype.get=function(l,u){return this.then(function(){var d=l in h.template.prop?this.prop[l]:this.opt[l];return u?u(d):d})},h.prototype.setMargin=function(l){return this.then(function(){switch(i(l)){case"number":l=[l,l,l,l];case"array":if(l.length===2&&(l=[l[0],l[1],l[0],l[1]]),l.length===4)break;default:return this.error("Invalid margin array.")}this.opt.margin=l}).then(this.setPageSize)},h.prototype.setPageSize=function(l){function u(d,g){return Math.floor(d*g/72*96)}return this.then(function(){(l=l||Dt.getPageSize(this.opt.jsPDF)).hasOwnProperty("inner")||(l.inner={width:l.width-this.opt.margin[1]-this.opt.margin[3],height:l.height-this.opt.margin[0]-this.opt.margin[2]},l.inner.px={width:u(l.inner.width,l.k),height:u(l.inner.height,l.k)},l.inner.ratio=l.inner.height/l.inner.width),this.prop.pageSize=l})},h.prototype.setProgress=function(l,u,d,g){return l!=null&&(this.progress.val=l),u!=null&&(this.progress.state=u),d!=null&&(this.progress.n=d),g!=null&&(this.progress.stack=g),this.progress.ratio=this.progress.val/this.progress.state,this},h.prototype.updateProgress=function(l,u,d,g){return this.setProgress(l?this.progress.val+l:null,u||null,d?this.progress.n+d:null,g?this.progress.stack.concat(g):null)},h.prototype.then=function(l,u){var d=this;return this.thenCore(l,u,function(g,x){return d.updateProgress(null,null,1,[g]),Promise.prototype.then.call(this,function(L){return d.updateProgress(null,g),L}).then(g,x).then(function(L){return d.updateProgress(1),L})})},h.prototype.thenCore=function(l,u,d){d=d||Promise.prototype.then;var g=this;l&&(l=l.bind(g)),u&&(u=u.bind(g));var x=Promise.toString().indexOf("[native code]")!==-1&&Promise.name==="Promise"?g:h.convert(Object.assign({},g),Promise.prototype),L=d.call(x,l,u);return h.convert(L,g.__proto__)},h.prototype.thenExternal=function(l,u){return Promise.prototype.then.call(this,l,u)},h.prototype.thenList=function(l){var u=this;return l.forEach(function(d){u=u.thenCore(d)}),u},h.prototype.catch=function(l){l&&(l=l.bind(this));var u=Promise.prototype.catch.call(this,l);return h.convert(u,this)},h.prototype.catchExternal=function(l){return Promise.prototype.catch.call(this,l)},h.prototype.error=function(l){return this.then(function(){throw new Error(l)})},h.prototype.using=h.prototype.set,h.prototype.saveAs=h.prototype.save,h.prototype.export=h.prototype.output,h.prototype.run=h.prototype.then,Dt.getPageSize=function(l,u,d){if(Le(l)==="object"){var g=l;l=g.orientation,u=g.unit||u,d=g.format||d}u=u||"mm",d=d||"a4",l=(""+(l||"P")).toLowerCase();var x,L=(""+d).toLowerCase(),p={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(u){case"pt":x=1;break;case"mm":x=72/25.4;break;case"cm":x=72/2.54;break;case"in":x=72;break;case"px":x=.75;break;case"pc":case"em":x=12;break;case"ex":x=6;break;default:throw"Invalid unit: "+u}var T,P=0,R=0;if(p.hasOwnProperty(L))P=p[L][1]/x,R=p[L][0]/x;else try{P=d[1],R=d[0]}catch{throw new Error("Invalid format: "+d)}if(l==="p"||l==="portrait")l="p",R>P&&(T=R,R=P,P=T);else{if(l!=="l"&&l!=="landscape")throw"Invalid orientation: "+l;l="l",P>R&&(T=R,R=P,P=T)}return{width:R,height:P,unit:u,k:x,orientation:l}},t.html=function(l,u){(u=u||{}).callback=u.callback||function(){},u.html2canvas=u.html2canvas||{},u.html2canvas.canvas=u.html2canvas.canvas||this.canvas,u.jsPDF=u.jsPDF||this,u.fontFaces=u.fontFaces?u.fontFaces.map(Yl):null;var d=new h(u);return u.worker?d:d.from(l).doCallback()}}(Dt.API),Dt.API.addJS=function(t){var n,e,i=function(r){for(var s="",h=0;h<r.length;h++){var l=r[h];if(l==="("||l===")"){for(var u=0,d=h-1;d>=0&&r[d]==="\\";d--)u++;s+=u%2==0?"\\"+l:l}else s+=l}return s}(t);return this.internal.events.subscribe("postPutResources",function(){n=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(n+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 ("+i+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){n!==void 0&&e!==void 0&&this.internal.out("/Names <</JavaScript "+n+" 0 R>>")}),this},function(t){var n;t.events.push(["postPutResources",function(){var e=this,i=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var r=e.outline.render().split(/\r\n/),s=0;s<r.length;s++){var h=r[s],l=i.exec(h);if(l!=null){var u=l[1];e.internal.newObjectDeferredBegin(u,!1)}e.internal.write(h)}if(this.outline.createNamedDestinations){var d=this.internal.pages.length,g=[];for(s=0;s<d;s++){var x=e.internal.newObject();g.push(x);var L=e.internal.getPageInfo(s+1);e.internal.write("<< /D["+L.objId+" 0 R /XYZ null null null]>> endobj")}var p=e.internal.newObject();for(e.internal.write("<< /Names [ "),s=0;s<g.length;s++)e.internal.write("(page_"+(s+1)+")"+g[s]+" 0 R");e.internal.write(" ] >>","endobj"),n=e.internal.newObject(),e.internal.write("<< /Dests "+p+" 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 "+n+" 0 R"))}]),t.events.push(["initialized",function(){var e=this;e.outline={createNamedDestinations:!1,root:{children:[]}},e.outline.add=function(i,r,s){var h={title:r,options:s,children:[]};return i==null&&(i=this.root),i.children.push(h),h},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(i){i.id=e.internal.newObjectDeferred();for(var r=0;r<i.children.length;r++)this.genIds_r(i.children[r])},e.outline.renderRoot=function(i){this.objStart(i),this.line("/Type /Outlines"),i.children.length>0&&(this.line("/First "+this.makeRef(i.children[0])),this.line("/Last "+this.makeRef(i.children[i.children.length-1]))),this.line("/Count "+this.count_r({count:0},i)),this.objEnd()},e.outline.renderItems=function(i){for(var r=this.ctx.pdf.internal.getVerticalCoordinateString,s=0;s<i.children.length;s++){var h=i.children[s];this.objStart(h),this.line("/Title "+this.makeString(h.title)),this.line("/Parent "+this.makeRef(i)),s>0&&this.line("/Prev "+this.makeRef(i.children[s-1])),s<i.children.length-1&&this.line("/Next "+this.makeRef(i.children[s+1])),h.children.length>0&&(this.line("/First "+this.makeRef(h.children[0])),this.line("/Last "+this.makeRef(h.children[h.children.length-1])));var l=this.count=this.count_r({count:0},h);if(l>0&&this.line("/Count "+l),h.options&&h.options.pageNumber){var u=e.internal.getPageInfo(h.options.pageNumber);this.line("/Dest ["+u.objId+" 0 R /XYZ 0 "+r(0)+" 0]")}this.objEnd()}for(var d=0;d<i.children.length;d++)this.renderItems(i.children[d])},e.outline.line=function(i){this.ctx.val+=i+`\r
144`},e.outline.makeRef=function(i){return i.id+" 0 R"},e.outline.makeString=function(i){return"("+e.internal.pdfEscape(i)+")"},e.outline.objStart=function(i){this.ctx.val+=`\r
145`+i.id+` 0 obj\r
146<<\r
147`},e.outline.objEnd=function(){this.ctx.val+=`>> \r
148endobj\r
149`},e.outline.count_r=function(i,r){for(var s=0;s<r.children.length;s++)i.count++,this.count_r(i,r.children[s]);return i.count}}])}(Dt.API),function(t){var n=[192,193,194,195,196,197,198,199];t.processJPEG=function(e,i,r,s,h,l){var u,d=this.decode.DCT_DECODE,g=null;if(typeof e=="string"||this.__addimage__.isArrayBuffer(e)||this.__addimage__.isArrayBufferView(e)){switch(e=h||e,e=this.__addimage__.isArrayBuffer(e)?new Uint8Array(e):e,u=function(x){for(var L,p=256*x.charCodeAt(4)+x.charCodeAt(5),T=x.length,P={width:0,height:0,numcomponents:1},R=4;R<T;R+=2){if(R+=p,n.indexOf(x.charCodeAt(R+1))!==-1){L=256*x.charCodeAt(R+5)+x.charCodeAt(R+6),P={width:256*x.charCodeAt(R+7)+x.charCodeAt(R+8),height:L,numcomponents:x.charCodeAt(R+9)};break}p=256*x.charCodeAt(R+2)+x.charCodeAt(R+3)}return P}(e=this.__addimage__.isArrayBufferView(e)?this.__addimage__.arrayBufferToBinaryString(e):e),u.numcomponents){case 1:l=this.color_spaces.DEVICE_GRAY;break;case 4:l=this.color_spaces.DEVICE_CMYK;break;case 3:l=this.color_spaces.DEVICE_RGB}g={data:e,width:u.width,height:u.height,colorSpace:l,bitsPerComponent:8,filter:d,index:i,alias:r}}return g}}(Dt.API),Dt.API.processPNG=function(t,n,e,i){if(this.__addimage__.isArrayBuffer(t)&&(t=new Uint8Array(t)),this.__addimage__.isArrayBufferView(t)){var r,s=b5(t,{checkCrc:!0}),h=s.width,l=s.height,u=s.channels,d=s.palette,g=s.depth;r=d&&u===1?function(X){for(var B=X.width,et=X.height,S=X.data,O=X.palette,W=X.depth,H=!1,rt=[],ct=[],ft=void 0,it=!1,gt=0,At=0;At<O.length;At++){var yt=xh(O[At],4),N=yt[0],M=yt[1],q=yt[2],V=yt[3];rt.push(N,M,q),V!=null&&(V===0?(gt++,ct.length<1&&ct.push(At)):V<255&&(it=!0))}if(it||gt>1){H=!0,ct=void 0;var $=B*et;ft=new Uint8Array($);for(var Q=new DataView(S.buffer),st=0;st<$;st++){var ot=Kl(Q,st,W),bt=xh(O[ot],4)[3];ft[st]=bt}}else gt===0&&(ct=void 0);return{colorSpace:"Indexed",colorsPerPixel:1,sMaskBitsPerComponent:H?8:void 0,colorBytes:S,alphaBytes:ft,needSMask:H,palette:rt,mask:ct}}(s):u===2||u===4?function(X){for(var B=X.data,et=X.width,S=X.height,O=X.channels,W=X.depth,H=O===2?"DeviceGray":"DeviceRGB",rt=O-1,ct=et*S,ft=rt,it=ct*ft,gt=1*ct,At=Math.ceil(it*W/8),yt=Math.ceil(gt*W/8),N=new Uint8Array(At),M=new Uint8Array(yt),q=new DataView(B.buffer),V=new DataView(N.buffer),$=new DataView(M.buffer),Q=!1,st=0;st<ct;st++){for(var ot=st*O,bt=0;bt<ft;bt++)Tu(V,Kl(q,ot+bt,W),st*ft+bt,W);var Nt=Kl(q,ot+ft,W);Nt<(1<<W)-1&&(Q=!0),Tu($,Nt,1*st,W)}return{colorSpace:H,colorsPerPixel:rt,sMaskBitsPerComponent:Q?W:void 0,colorBytes:N,alphaBytes:M,needSMask:Q}}(s):function(X){var B=X.data,et=X.channels===1?"DeviceGray":"DeviceRGB";return{colorSpace:et,colorsPerPixel:et==="DeviceGray"?1:3,colorBytes:B instanceof Uint16Array?function(S){for(var O=S.length,W=new Uint8Array(2*O),H=new DataView(W.buffer,W.byteOffset,W.byteLength),rt=0;rt<O;rt++)H.setUint16(2*rt,S[rt],!1);return W}(B):B,needSMask:!1}}(s);var x,L,p,T=r,P=T.colorSpace,R=T.colorsPerPixel,k=T.sMaskBitsPerComponent,D=T.colorBytes,Z=T.alphaBytes,z=T.needSMask,at=T.palette,pt=T.mask,lt=null;return i!==Dt.API.image_compression.NONE&&typeof ec=="function"?(lt=function(X){var B;switch(X){case Dt.API.image_compression.FAST:B=11;break;case Dt.API.image_compression.MEDIUM:B=13;break;case Dt.API.image_compression.SLOW:B=14;break;default:B=12}return B}(i),x=this.decode.FLATE_DECODE,L="/Predictor ".concat(lt," /Colors ").concat(R," /BitsPerComponent ").concat(g," /Columns ").concat(h),t=Eu(D,Math.ceil(h*R*g/8),R,g,i),z&&(p=Eu(Z,Math.ceil(h*k/8),1,k,i))):(x=void 0,L=void 0,t=D,z&&(p=Z)),(this.__addimage__.isArrayBuffer(t)||this.__addimage__.isArrayBufferView(t))&&(t=this.__addimage__.arrayBufferToBinaryString(t)),(p&&this.__addimage__.isArrayBuffer(p)||this.__addimage__.isArrayBufferView(p))&&(p=this.__addimage__.arrayBufferToBinaryString(p)),{alias:e,data:t,index:n,filter:x,decodeParameters:L,transparency:pt,palette:at,sMask:p,predictor:lt,width:h,height:l,bitsPerComponent:g,sMaskBitsPerComponent:k,colorSpace:P}}},function(t){t.processGIF89A=function(n,e,i,r){var s=new B5(n),h=s.width,l=s.height,u=[];s.decodeAndBlitFrameRGBA(0,u);var d={data:u,width:h,height:l},g=new Xl(100).encode(d,100);return t.processJPEG.call(this,g,e,i,r)},t.processGIF87A=t.processGIF89A}(Dt.API),ui.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 n=0;n<t;n++){var e=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),r=this.datav.getUint8(this.pos++,!0),s=this.datav.getUint8(this.pos++,!0);this.palette[n]={red:r,green:i,blue:e,quad:s}}}this.height<0&&(this.height*=-1,this.bottom_up=!1)},ui.prototype.parseBGR=function(){this.pos=this.offset;var t="bit"+this.bitPP,n=this.width*this.height*4;if(n>536870912)throw new Error("Image dimensions exceed 512MB, which is too large.");this.data=new Uint8Array(n);try{this[t]()}catch(e){Pe.log("bit decode error:"+e)}},ui.prototype.bit1=function(){var t,n=Math.ceil(this.width/8),e=n%4;for(t=this.height-1;t>=0;t--){for(var i=this.bottom_up?t:this.height-1-t,r=0;r<n;r++)for(var s=this.datav.getUint8(this.pos++,!0),h=i*this.width*4+8*r*4,l=0;l<8&&8*r+l<this.width;l++){var u=this.palette[s>>7-l&1];this.data[h+4*l]=u.blue,this.data[h+4*l+1]=u.green,this.data[h+4*l+2]=u.red,this.data[h+4*l+3]=255}e!==0&&(this.pos+=4-e)}},ui.prototype.bit4=function(){for(var t=Math.ceil(this.width/2),n=t%4,e=this.height-1;e>=0;e--){for(var i=this.bottom_up?e:this.height-1-e,r=0;r<t;r++){var s=this.datav.getUint8(this.pos++,!0),h=i*this.width*4+2*r*4,l=s>>4,u=15&s,d=this.palette[l];if(this.data[h]=d.blue,this.data[h+1]=d.green,this.data[h+2]=d.red,this.data[h+3]=255,2*r+1>=this.width)break;d=this.palette[u],this.data[h+4]=d.blue,this.data[h+4+1]=d.green,this.data[h+4+2]=d.red,this.data[h+4+3]=255}n!==0&&(this.pos+=4-n)}},ui.prototype.bit8=function(){for(var t=this.width%4,n=this.height-1;n>=0;n--){for(var e=this.bottom_up?n:this.height-1-n,i=0;i<this.width;i++){var r=this.datav.getUint8(this.pos++,!0),s=e*this.width*4+4*i;if(r<this.palette.length){var h=this.palette[r];this.data[s]=h.red,this.data[s+1]=h.green,this.data[s+2]=h.blue,this.data[s+3]=255}else this.data[s]=255,this.data[s+1]=255,this.data[s+2]=255,this.data[s+3]=255}t!==0&&(this.pos+=4-t)}},ui.prototype.bit15=function(){for(var t=this.width%3,n=parseInt("11111",2),e=this.height-1;e>=0;e--){for(var i=this.bottom_up?e:this.height-1-e,r=0;r<this.width;r++){var s=this.datav.getUint16(this.pos,!0);this.pos+=2;var h=(s&n)/n*255|0,l=(s>>5&n)/n*255|0,u=(s>>10&n)/n*255|0,d=s>>15?255:0,g=i*this.width*4+4*r;this.data[g]=u,this.data[g+1]=l,this.data[g+2]=h,this.data[g+3]=d}this.pos+=t}},ui.prototype.bit16=function(){for(var t=this.width%3,n=parseInt("11111",2),e=parseInt("111111",2),i=this.height-1;i>=0;i--){for(var r=this.bottom_up?i:this.height-1-i,s=0;s<this.width;s++){var h=this.datav.getUint16(this.pos,!0);this.pos+=2;var l=(h&n)/n*255|0,u=(h>>5&e)/e*255|0,d=(h>>11)/n*255|0,g=r*this.width*4+4*s;this.data[g]=d,this.data[g+1]=u,this.data[g+2]=l,this.data[g+3]=255}this.pos+=t}},ui.prototype.bit24=function(){for(var t=this.height-1;t>=0;t--){for(var n=this.bottom_up?t:this.height-1-t,e=0;e<this.width;e++){var i=this.datav.getUint8(this.pos++,!0),r=this.datav.getUint8(this.pos++,!0),s=this.datav.getUint8(this.pos++,!0),h=n*this.width*4+4*e;this.data[h]=s,this.data[h+1]=r,this.data[h+2]=i,this.data[h+3]=255}this.pos+=this.width%4}},ui.prototype.bit32=function(){for(var t=this.height-1;t>=0;t--)for(var n=this.bottom_up?t:this.height-1-t,e=0;e<this.width;e++){var i=this.datav.getUint8(this.pos++,!0),r=this.datav.getUint8(this.pos++,!0),s=this.datav.getUint8(this.pos++,!0),h=this.datav.getUint8(this.pos++,!0),l=n*this.width*4+4*e;this.data[l]=s,this.data[l+1]=r,this.data[l+2]=i,this.data[l+3]=h}},ui.prototype.getData=function(){return this.data},function(t){t.processBMP=function(n,e,i,r){var s=new ui(n,!1),h=s.width,l=s.height,u={data:s.getData(),width:h,height:l},d=new Xl(100).encode(u,100);return t.processJPEG.call(this,d,e,i,r)}}(Dt.API),Mu.prototype.getData=function(){return this.data},function(t){t.processWEBP=function(n,e,i,r){var s=new Mu(n),h=s.width,l=s.height,u={data:s.getData(),width:h,height:l},d=new Xl(100).encode(u,100);return t.processJPEG.call(this,d,e,i,r)}}(Dt.API),Dt.API.processRGBA=function(t,n,e){for(var i=t.data,r=i.length,s=new Uint8Array(r/4*3),h=new Uint8Array(r/4),l=0,u=0,d=0;d<r;d+=4){var g=i[d],x=i[d+1],L=i[d+2],p=i[d+3];s[l++]=g,s[l++]=x,s[l++]=L,h[u++]=p}var T=this.__addimage__.arrayBufferToBinaryString(s);return{alpha:this.__addimage__.arrayBufferToBinaryString(h),data:T,index:n,alias:e,colorSpace:"DeviceRGB",bitsPerComponent:8,width:t.width,height:t.height}},Dt.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},ka=Dt.API,xo=ka.getCharWidthsArray=function(t,n){var e,i,r=(n=n||{}).font||this.internal.getFont(),s=n.fontSize||this.internal.getFontSize(),h=n.charSpace||this.internal.getCharSpace(),l=n.widths?n.widths:r.metadata.Unicode.widths,u=l.fof?l.fof:1,d=n.kerning?n.kerning:r.metadata.Unicode.kerning,g=d.fof?d.fof:1,x=n.doKerning!==!1,L=0,p=t.length,T=0,P=l[0]||u,R=[];for(e=0;e<p;e++)i=t.charCodeAt(e),typeof r.metadata.widthOfString=="function"?R.push((r.metadata.widthOfGlyph(r.metadata.characterToGlyph(i))+h*(1e3/s)||0)/1e3):(L=x&&Le(d[i])==="object"&&!isNaN(parseInt(d[i][T],10))?d[i][T]/g:0,R.push((l[i]||P)/u+L)),T=i;return R},ku=ka.getStringUnitWidth=function(t,n){var e=(n=n||{}).fontSize||this.internal.getFontSize(),i=n.font||this.internal.getFont(),r=n.charSpace||this.internal.getCharSpace();return ka.processArabic&&(t=ka.processArabic(t)),typeof i.metadata.widthOfString=="function"?i.metadata.widthOfString(t,e,r)/e:xo.apply(this,arguments).reduce(function(s,h){return s+h},0)},ju=function(t,n,e,i){for(var r=[],s=0,h=t.length,l=0;s!==h&&l+n[s]<e;)l+=n[s],s++;r.push(t.slice(0,s));var u=s;for(l=0;s!==h;)l+n[s]>i&&(r.push(t.slice(u,s)),l=0,u=s),l+=n[s],s++;return u!==s&&r.push(t.slice(u,s)),r},Pu=function(t,n,e){e||(e={});var i,r,s,h,l,u,d,g=[],x=[g],L=e.textIndent||0,p=0,T=0,P=t.split(" "),R=xo.apply(this,[" ",e])[0];if(u=e.lineIndent===-1?P[0].length+2:e.lineIndent||0){var k=Array(u).join(" "),D=[];P.map(function(z){(z=z.split(/\s*\n/)).length>1?D=D.concat(z.map(function(at,pt){return(pt&&at.length?`
150`:"")+at})):D.push(z[0])}),P=D,u=ku.apply(this,[k,e])}for(s=0,h=P.length;s<h;s++){var Z=0;if(i=P[s],u&&i[0]==`
151`&&(i=i.substr(1),Z=1),L+p+(T=(r=xo.apply(this,[i,e])).reduce(function(z,at){return z+at},0))>n||Z){if(T>n){for(l=ju.apply(this,[i,r,n-(L+p),n]),g.push(l.shift()),g=[l.pop()];l.length;)x.push([l.shift()]);T=r.slice(i.length-(g[0]?g[0].length:0)).reduce(function(z,at){return z+at},0)}else g=[i];x.push(g),L=T+u,p=R}else g.push(i),L+=p+T,p=R}return d=u?function(z,at){return(at?k:"")+z.join(" ")}:function(z){return z.join(" ")},x.map(d)},ka.splitTextToSize=function(t,n,e){var i,r=(e=e||{}).fontSize||this.internal.getFontSize(),s=(function(g){if(g.widths&&g.kerning)return{widths:g.widths,kerning:g.kerning};var x=this.internal.getFont(g.fontName,g.fontStyle),L="Unicode";return x.metadata[L]?{widths:x.metadata[L].widths||{0:1},kerning:x.metadata[L].kerning||{}}:{font:x.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}).call(this,e);i=Array.isArray(t)?t:String(t).split(/\r?\n/);var h=1*this.internal.scaleFactor*n/r;s.textIndent=e.textIndent?1*e.textIndent*this.internal.scaleFactor/r:0,s.lineIndent=e.lineIndent;var l,u,d=[];for(l=0,u=i.length;l<u;l++)d=d.concat(Pu.apply(this,[i[l],h,s]));return d},function(t){t.__fontmetrics__=t.__fontmetrics__||{};for(var n="0123456789abcdef",e="klmnopqrstuvwxyz",i={},r={},s=0;s<16;s++)i[e[s]]=n[s],r[n[s]]=e[s];var h=function(L){return"0x"+parseInt(L,10).toString(16)},l=t.__fontmetrics__.compress=function(L){var p,T,P,R,k=["{"];for(var D in L){if(p=L[D],isNaN(parseInt(D,10))?T="'"+D+"'":(D=parseInt(D,10),T=(T=h(D).slice(2)).slice(0,-1)+r[T.slice(-1)]),typeof p=="number")p<0?(P=h(p).slice(3),R="-"):(P=h(p).slice(2),R=""),P=R+P.slice(0,-1)+r[P.slice(-1)];else{if(Le(p)!=="object")throw new Error("Don't know what to do with value type "+Le(p)+".");P=l(p)}k.push(T+P)}return k.push("}"),k.join("")},u=t.__fontmetrics__.uncompress=function(L){if(typeof L!="string")throw new Error("Invalid argument passed to uncompress.");for(var p,T,P,R,k={},D=1,Z=k,z=[],at="",pt="",lt=L.length-1,X=1;X<lt;X+=1)(R=L[X])=="'"?p?(P=p.join(""),p=void 0):p=[]:p?p.push(R):R=="{"?(z.push([Z,P]),Z={},P=void 0):R=="}"?((T=z.pop())[0][T[1]]=Z,P=void 0,Z=T[0]):R=="-"?D=-1:P===void 0?i.hasOwnProperty(R)?(at+=i[R],P=parseInt(at,16)*D,D=1,at=""):at+=R:i.hasOwnProperty(R)?(pt+=i[R],Z[P]=parseInt(pt,16)*D,D=1,P=void 0,pt=""):pt+=R;return k},d={codePages:["WinAnsiEncoding"],WinAnsiEncoding:u("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},g={Unicode:{Courier:d,"Courier-Bold":d,"Courier-BoldOblique":d,"Courier-Oblique":d,Helvetica:d,"Helvetica-Bold":d,"Helvetica-BoldOblique":d,"Helvetica-Oblique":d,"Times-Roman":d,"Times-Bold":d,"Times-BoldItalic":d,"Times-Italic":d}},x
vendor: 14,693 bytes, line 151
151={Unicode:{"Courier-Oblique":u("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":u("{'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":u("{'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:u("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-BoldOblique":u("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Bold":u("{'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:u("{'widths'{k3uaw4r19m3m2k1t2l2l202m2y2n3m2p5n202q6o3k3m2s2l2t2l2v3r2w1t3m3m2y1t2z1wbk2sbl3r'fof'6o3n3m3o3m3p3m3q3m3r3m3s3m3t3m3u1w3v1w3w3r3x3r3y3r3z2wbp3t3l3m5v2l5x2l5z3m2q4yfr3r7v3k7w1o7x3k}'kerning'{'fof'-6o}}"),Helvetica:u("{'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":u("{'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:u("{'widths'{k4u2k1w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-Bold":u("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Italic":u("{'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":u("{'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":u("{'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}}}")}};
vendor: 8,483 bytes, lines 151-179
151t.events.push(["addFont",function(L){var p=L.font,T=x.Unicode[p.postScriptName];T&&(p.metadata.Unicode={},p.metadata.Unicode.widths=T.widths,p.metadata.Unicode.kerning=T.kerning);var P=g.Unicode[p.postScriptName];P&&(p.metadata.Unicode.encoding=P,p.encoding=P.codePages[0])}])}(Dt.API),function(t){var n=function(e){for(var i=e.length,r=new Uint8Array(i),s=0;s<i;s++)r[s]=e.charCodeAt(s);return r};t.API.events.push(["addFont",function(e){var i=void 0,r=e.font,s=e.instance;if(!r.isStandardFont){if(s===void 0)throw new Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+r.postScriptName+"').");if(typeof(i=s.existsFileInVFS(r.postScriptName)===!1?s.loadFile(r.postScriptName):s.getFileFromVFS(r.postScriptName))!="string")throw new Error("Font is not stored as string-data in vFS, import fonts or remove declaration doc.addFont('"+r.postScriptName+"').");(function(h,l){l=/^\x00\x01\x00\x00/.test(l)?n(l):n(Lo(l)),h.metadata=t.API.TTFFont.open(l),h.metadata.Unicode=h.metadata.Unicode||{encoding:{},kerning:{},widths:[]},h.metadata.glyIdsUsed=[0]})(r,i)}}])}(Dt),Dt.API.addSvgAsImage=function(t,n,e,i,r,s,h,l){if(isNaN(n)||isNaN(e))throw Pe.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(i)||isNaN(r))throw Pe.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var u=document.createElement("canvas");u.width=i,u.height=r;var d=u.getContext("2d");d.fillStyle="#fff",d.fillRect(0,0,u.width,u.height);var g={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},x=this;return(Kt.canvg?Promise.resolve(Kt.canvg):_l(()=>import("./index.es-B-DpSNE8.js"),__vite__mapDeps([0,1,2]))).catch(function(L){return Promise.reject(new Error("Could not load canvg: "+L))}).then(function(L){return L.default?L.default:L}).then(function(L){return L.fromString(d,t,g)},function(){return Promise.reject(new Error("Could not load canvg."))}).then(function(L){return L.render(g)}).then(function(){x.addImage(u.toDataURL("image/jpeg",1),n,e,i,r,h,l)})},Dt.API.putTotalPages=function(t){var n,e=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(n=new RegExp(t,"g"),e=this.internal.getNumberOfPages()):(n=new RegExp(this.pdfEscape16(t,this.internal.getFont()),"g"),e=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var i=1;i<=this.internal.getNumberOfPages();i++)for(var r=0;r<this.internal.pages[i].length;r++)this.internal.pages[i][r]=this.internal.pages[i][r].replace(n,e);return this},Dt.API.viewerPreferences=function(t,n){var e;t=t||{},n=n||!1;var i,r,s,h={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}},l=Object.keys(h),u=[],d=0,g=0,x=0;function L(T,P){var R,k=!1;for(R=0;R<T.length;R+=1)T[R]===P&&(k=!0);return k}if(this.internal.viewerpreferences===void 0&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(h)),this.internal.viewerpreferences.isSubscribed=!1),e=this.internal.viewerpreferences.configuration,t==="reset"||n===!0){var p=l.length;for(x=0;x<p;x+=1)e[l[x]].value=e[l[x]].defaultValue,e[l[x]].explicitSet=!1}if(Le(t)==="object"){for(r in t)if(s=t[r],L(l,r)&&s!==void 0){if(e[r].type==="boolean"&&typeof s=="boolean")e[r].value=s;else if(e[r].type==="name"&&L(e[r].valueSet,s))e[r].value=s;else if(e[r].type==="integer"&&Number.isInteger(s))e[r].value=s;else if(e[r].type==="array"){for(d=0;d<s.length;d+=1)if(i=!0,s[d].length===1&&typeof s[d][0]=="number")u.push(String(s[d]-1));else if(s[d].length>1){for(g=0;g<s[d].length;g+=1)typeof s[d][g]!="number"&&(i=!1);i===!0&&u.push([s[d][0]-1,s[d][1]-1].join(" "))}e[r].value="["+u.join(" ")+"]"}else e[r].value=e[r].defaultValue;e[r].explicitSet=!0}}return this.internal.viewerpreferences.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){var T,P=[];for(T in e)e[T].explicitSet===!0&&(e[T].type==="name"?P.push("/"+T+" /"+e[T].value):P.push("/"+T+" "+e[T].value));P.length!==0&&this.internal.write(`/ViewerPreferences
152<<
153`+P.join(`
154`)+`
155>>`)}),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=e,this},Dt.API.addMetadata=function(t,n){return this.internal.__metadata__===void 0&&(this.internal.__metadata__={metadata:t,namespaceUri:n??"http://jspdf.default.namespaceuri/",rawXml:typeof n=="boolean"&&n},this.internal.events.subscribe("putCatalog",q5),this.internal.events.subscribe("postPutResources",D5)),this},function(t){var n=t.API,e=n.pdfEscape16=function(s,h){for(var l,u=h.metadata.Unicode.widths,d=["","0","00","000","0000"],g=[""],x=0,L=s.length;x<L;++x){if(l=h.metadata.characterToGlyph(s.charCodeAt(x)),h.metadata.glyIdsUsed.push(l),h.metadata.toUnicode[l]=s.charCodeAt(x),u.indexOf(l)==-1&&(u.push(l),u.push([parseInt(h.metadata.widthOfGlyph(l),10)])),l=="0")return g.join("");l=l.toString(16),g.push(d[4-l.length],l)}return g.join("")},i=function(s){var h,l,u,d,g,x,L;for(g=`/CIDInit /ProcSet findresource begin
15612 dict begin
157begincmap
158/CIDSystemInfo <<
159  /Registry (Adobe)
160  /Ordering (UCS)
161  /Supplement 0
162>> def
163/CMapName /Adobe-Identity-UCS def
164/CMapType 2 def
1651 begincodespacerange
166<0000><ffff>
167endcodespacerange`,u=[],x=0,L=(l=Object.keys(s).sort(function(p,T){return p-T})).length;x<L;x++)h=l[x],u.length>=100&&(g+=`
168`+u.length+` beginbfchar
169`+u.join(`
170`)+`
171endbfchar`,u=[]),s[h]!==void 0&&s[h]!==null&&typeof s[h].toString=="function"&&(d=("0000"+s[h].toString(16)).slice(-4),h=("0000"+(+h).toString(16)).slice(-4),u.push("<"+h+"><"+d+">"));return u.length&&(g+=`
172`+u.length+` beginbfchar
173`+u.join(`
174`)+`
175endbfchar
176`),g+`endcmap
177CMapName currentdict /CMap defineresource pop
178end
179end`};n.events.push(["putFont",function(s){(function(h){var l=h.font,u=h.out,d=h.newObject,g=h.putStream;if(l.metadata instanceof t.API.TTFFont&&l.encoding==="Identity-H"){for(var x=l.metadata.Unicode.widths,L=l.metadata.subset.encode(l.metadata.glyIdsUsed,1),p="",T=0;T<L.length;T++)p+=String.fromCharCode(L[T]);var P=d();g({data:p,addLength1:!0,objectId:P}),u("endobj");var R=d();g({data:i(l.metadata.toUnicode),addLength1:!0,objectId:R}),u("endobj");var k=d();u("<<"),u("/Type /FontDescriptor"),u("/FontName /"+Pa(l.fontName)),u("/FontFile2 "+P+" 0 R"),u("/FontBBox "+t.API.PDFObject.convert(l.metadata.bbox)),u("/Flags "+l.metadata.flags),u("/StemV "+l.metadata.stemV),u("/ItalicAngle "+l.metadata.italicAngle),u("/Asce
179nt "+l.metadata.ascender),u("/Descent "+l.metadata.decender),u("/CapHeight "+l.metadata.capHeight),u(">>"),u("endobj");var D=d();u("<<"),u("/Type /Font"),u("/BaseFont /"+Pa(l.fontName)),u("/FontDescriptor "+k+" 0 R"),u("/W "+t.API.PDFObject.convert(x)),u("/CIDToGIDMap /Identity"),u("/DW 1000"),u("/Subtype /CIDFontType2"),u("/CIDSystemInfo"),u("<<"),u("/Supplement 0"),u("/Registry (Adobe)"),u("/Ordering ("+l.encoding+")"),u(">>"),u(">>"),u("endobj"),l.objectNumber=d(),u("<<"),u("/Type /Font"),u("/Subtype /Type0"),u("/ToUnicode "+R+" 0 R"),u("/BaseFont /"+Pa(l.fontName)),u("/Encoding /"+l.encoding),u("/DescendantFonts ["+D+" 0 R]"),u(">>"),u("endobj"),l.isAlreadyPutted=!0}})(s)}]),n.events.push(["putFont",function(s){(function(h){var l=h.font,u=h.out,d=h.newObject,g=h.putStream;if(l.metadata instanceof t.API.TTFFont&&l.encoding==="WinAnsiEncoding"){for(var x=l.metadata.rawData,L="",p=0;p<x.length;p++)L+=String.fromCharCode(x[p]);var T=d();g({data:L,addLength1:!0,objectId:T}),u("endobj");var P=d();g({data:i(l.metadata.toUnicode),addLength1:!0,objectId:P}),u("endobj");var R=d();u("<<"),u("/Descent "+l.metadata.decender),u("/CapHeight "+l.metadata.capHeight),u("/StemV "+l.metadata.stemV),u("/Type /FontDescriptor"),u("/FontFile2 "+T+" 0 R"),u("/Flags 96"),u("/FontBBox "+t.API.PDFObject.convert(l.metadata.bbox)),u("/FontName /"+Pa(l.fontName)),u("/ItalicAngle "+l.metadata.italicAngle),u("/Asce
179nt "+l.metadata.ascender),u(">>"),u("endobj"),l.objectNumber=d();for(var k=0;k<l.metadata.hmtx.widths.length;k++)l.metadata.hmtx.widths[k]=parseInt(l.metadata.hmtx.widths[k]*(1e3/l.metadata.head.unitsPerEm));u("<</Subtype/TrueType/Type/Font/ToUnicode "+P+" 0 R/BaseFont/"+Pa(l.fontName)+"/FontDescriptor "+R+" 0 R/Encoding/"+l.encoding+" /FirstChar 29 /LastChar 255 /Widths "+t.API.PDFObject.convert(l.metadata.hmtx.widths)+">>"),u("endobj"),l.isAlreadyPutted=!0}})(s)}]);var r=function(s){var h,l=s.text||"",u=s.x,d=s.y,g=s.options||{},x=s.mutex||{},L=x.pdfEscape,p=x.activeFontKey,T=x.fonts,P=p,R="",k=0,D="",Z=T[P].encoding;if(T[P].encoding!=="Identity-H")return{text:l,x:u,y:d,options:g,mutex:x};for(D=l,P=p,Array.isArray(l)&&(D=l[0]),k=0;k<D.length;k+=1)T[P].metadata.hasOwnProperty("cmap")&&(h=T[P].metadata.cmap.unicode.codeMap[D[k].charCodeAt(0)]),h||D[k].charCodeAt(0)<256&&T[P].metadata.hasOwnProperty("Unicode")?R+=D[k]:R+="";var z="";return parseInt(P.slice(1))<14||Z==="WinAnsiEncoding"?z=L(R,P).split("").map(function(at){return at.charCodeAt(0).toString(16)}).join(""):Z==="Identity-H"&&(z=e(R,T[P])),x.isHex=!0,{text:z,x:u,y:d,options:g,mutex:x}};n.events.push(["postProcessText",function(s){var h=s.text||"",l=[],u={text:h,x:s.x,y:s.y,options:s.options,mutex:s.mutex};if(Array.isArray(h)){var d=0;for(d=0;d<h.length;d+=1)Array.isArray(h[d])&&h[d].length===3?l.push([r(Object.assign({},u,{text:h[d][0]})).text,h[d][1],h[d][2]]):l.push(r(Object.assign({},u,{text:h[d]})).text);s.text=l}else s.text=r(Object.assign({},u,{text:h})).text}])}(Dt),function(t){var n=function(){return this.internal.vFS===void 0&&(this.internal.vFS={}),!0};t.existsFileInVFS=function(e){return n.call(this),this.internal.vFS[e]!==void 0},t.addFileToVFS=function(e,i){return n.call(this),this.internal.vFS[e]=i,this},t.getFileFromVFS=function(e){return n.call(this),this.internal.vFS[e]!==void 0?this.internal.vFS[e]:null}}(Dt.API),function(t){t.__bidiEngine__=t.prototype.__bidiEngine__=function(i){var r,s,h,l,u,d,g,x=n,L=[[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]],p=[[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]],T={L:0,R:1,EN:2,AN:3,N:4,B:5,S:6},P={0:0,5:1,6:2,7:3,32:4,251:5,254:6,255:7},R=["(",")","(","<",">","<","[","]","[","{","}","{","«","»","«","‹","›","‹","⁅","⁆","⁅","⁽","⁾","⁽","₍","₎","₍","≤","≥","≤","〈","〉","〈","﹙","﹚","﹙","﹛","﹜","﹛","﹝","﹞","﹝","﹤","﹥","﹤"],k=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)$/),D=!1,Z=0;this.__bidiEngine__={};var z=function(S){var O=S.charCodeAt(),W=O>>8,H=P[W];return H!==void 0?x[256*H+(255&O)]:W===252||W===253?"AL":k.test(W)?"L":W===8?"R":"N"},at=function(S){for(var O,W=0;W<S.length;W++){if((O=z(S.charAt(W)))==="L")return!1;if(O==="R")return!0}return!1},pt=function(S,O,W,H){var rt,ct,ft,it,gt=O[H];switch(gt){case"L":case"R":case"LRE":case"RLE":case"LRO":case"RLO":case"PDF":D=!1;break;case"N":case"AN":break;case"EN":D&&(gt="AN");break;case"AL":D=!0,gt="R";break;case"WS":case"BN":gt="N";break;case"CS":H<1||H+1>=O.length||(rt=W[H-1])!=="EN"&&rt!=="AN"||(ct=O[H+1])!=="EN"&&ct!=="AN"?gt="N":D&&(ct="AN"),gt=ct===rt?ct:"N";break;case"ES":gt=(rt=H>0?W[H-1]:"B")==="EN"&&H+1<O.length&&O[H+1]==="EN"?"EN":"N";break;case"ET":if(H>0&&W[H-1]==="EN"){gt="EN";break}if(D){gt="N";break}for(ft=H+1,it=O.length;ft<it&&O[ft]==="ET";)ft++;gt=ft<it&&O[ft]==="EN"?"EN":"N";break;case"NSM":if(h&&!l){for(it=O.length,ft=H+1;ft<it&&O[ft]==="NSM";)ft++;if(ft<it){var At=S[H],yt=At>=1425&&At<=2303||At===64286;if(rt=O[ft],yt&&(rt==="R"||rt==="AL")){gt="R";break}}}gt=H<1||(rt=O[H-1])==="B"?"N":W[H-1];break;case"B":D=!1,r=!0,gt=Z;break;case"S":s=!0,gt="N"}return gt},lt=function(S,O,W){var H=S.split("");return W&&X(H,W,{hiLevel:Z}),H.reverse(),O&&O.reverse(),H.join("")},X=function(S,O,W){var H,rt,ct,ft,it,gt=-1,At=S.length,yt=0,N=[],M=Z?p:L,q=[];for(D=!1,r=!1,s=!1,rt=0;rt<At;rt++)q[rt]=z(S[rt]);for(ct=0;ct<At;ct++){if(it=yt,N[ct]=pt(S,q,N,ct),H=240&(yt=M[it][T[N[ct]]]),yt&=15,O[ct]=ft=M[yt][5],H>
vendor: 35,284 bytes, lines 179-180
1790)if(H===16){for(rt=gt;rt<ct;rt++)O[rt]=1;gt=-1}else gt=-1;if(M[yt][6])gt===-1&&(gt=ct);else if(gt>-1){for(rt=gt;rt<ct;rt++)O[rt]=ft;gt=-1}q[ct]==="B"&&(O[ct]=0),W.hiLevel|=ft}s&&function(V,$,Q){for(var st=0;st<Q;st++)if(V[st]==="S"){$[st]=Z;for(var ot=st-1;ot>=0&&V[ot]==="WS";ot--)$[ot]=Z}}(q,O,At)},B=function(S,O,W,H,rt){if(!(rt.hiLevel<S)){if(S===1&&Z===1&&!r)return O.reverse(),void(W&&W.reverse());for(var ct,ft,it,gt,At=O.length,yt=0;yt<At;){if(H[yt]>=S){for(it=yt+1;it<At&&H[it]>=S;)it++;for(gt=yt,ft=it-1;gt<ft;gt++,ft--)ct=O[gt],O[gt]=O[ft],O[ft]=ct,W&&(ct=W[gt],W[gt]=W[ft],W[ft]=ct);yt=it}yt++}}},et=function(S,O,W){var H=S.split(""),rt={hiLevel:Z};return W||(W=[]),X(H,W,rt),function(ct,ft,it){if(it.hiLevel!==0&&g)for(var gt,At=0;At<ct.length;At++)ft[At]===1&&(gt=R.indexOf(ct[At]))>=0&&(ct[At]=R[gt+1])}(H,W,rt),B(2,H,O,W,rt),B(1,H,O,W,rt),H.join("")};return this.__bidiEngine__.doBidiReorder=function(S,O,W){if(function(rt,ct){if(ct)for(var ft=0;ft<rt.length;ft++)ct[ft]=ft;l===void 0&&(l=at(rt)),d===void 0&&(d=at(rt))}(S,O),h||!u||d)if(h&&u&&l^d)Z=l?1:0,S=lt(S,O,W);else if(!h&&u&&d)Z=l?1:0,S=et(S,O,W),S=lt(S,O);else if(!h||l||u||d){if(h&&!u&&l^d)S=lt(S,O),l?(Z=0,S=et(S,O,W)):(Z=1,S=et(S,O,W),S=lt(S,O));else if(h&&l&&!u&&d)Z=1,S=et(S,O,W),S=lt(S,O);else if(!h&&!u&&l^d){var H=g;l?(Z=1,S=et(S,O,W),Z=0,g=!1,S=et(S,O,W),g=H):(Z=0,S=et(S,O,W),S=lt(S,O),Z=1,g=!1,S=et(S,O,W),g=H,S=lt(S,O))}}else Z=0,S=et(S,O,W);else Z=l?1:0,S=et(S,O,W);return S},this.__bidiEngine__.setOptions=function(S){S&&(h=S.isInputVisual,u=S.isOutputVisual,l=S.isInputRtl,d=S.isOutputRtl,g=S.isSymmetricSwapping)},this.__bidiEngine__.setOptions(i),this.__bidiEngine__};var n=["BN","BN","BN","BN","BN","BN","BN","BN","BN","S","B","S","WS","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","B","B","B","S","WS","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(i){var r=i.text;i.x,i.y;var s=i.options||{};i.mutex,s.lang;var h=[];if(s.isInputVisual=typeof s.isInputVisual!="boolean"||s.isInputVisual,e.setOptions(s),Object.prototype.toString.call(r)==="[object Array]"){var l=0;for(h=[],l=0;l<r.length;l+=1)Object.prototype.toString.call(r[l])==="[object Array]"?h.push([e.doBidiReorder(r[l][0]),r[l][1],r[l][2]]):h.push([e.doBidiReorder(r[l])]);i.text=h}else i.text=e.doBidiReorder(r);e.setOptions({isInputVisual:!0})}])}(Dt),Dt.API.TTFFont=function(){function t(n){var e;if(this.rawData=n,e=this.contents=new wr(n),this.contents.pos=4,e.readString(4)==="ttcf")throw new Error("TTCF not supported.");e.pos=0,this.parse(),this.subset=new ep(this),this.registerTTF()}return t.open=function(n){return new t(n)},t.prototype.parse=function(){return this.directory=new U5(this.contents),this.head=new H5(this),this.name=new Y5(this),this.cmap=new Yf(this),this.toUnicode={},this.hhea=new W5(this),this.maxp=new $5(this),this.hmtx=new K5(this),this.post=new G5(this),this.os2=new V5(this),this.loca=new tp(this),this.glyf=new X5(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 n,e,i,r,s;if(this.scaleFactor=1e3/this.head.unitsPerEm,this.bbox=(function(){var h,l,u,d;for(d=[],h=0,l=(u=this.bbox).length;h<l;h++)n=u[h],d.push(Math.round(n*this.scaleFactor));return d}).call(this),this.stemV=0,this.post.exists?(i=255&(r=this.post.italic_angle),32768&(e=r>>16)&&(e=-(1+(65535^e))),this.italicAngle=+(e+"."+i)):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=(s=this.familyClass)===1||s===2||s===3||s===4||s===5||s===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(n){var e;return((e=this.cmap.unicode)!=null?e.codeMap[n]:void 0)||0},t.prototype.widthOfGlyph=function(n){var e;return e=1e3/this.head.unitsPerEm,this.hmtx.forGlyph(n).advance*e},t.prototype.widthOfString=function(n,e,i){var r,s,h,l;for(h=0,s=0,l=(n=""+n).length;0<=l?s<l:s>l;s=0<=l?++s:--s)r=n.charCodeAt(s),h+=this.widthOfGlyph(this.characterToGlyph(r))+i*(1e3/e)||0;return h*(e/1e3)},t.prototype.lineHeight=function(n,e){var i;return e==null&&(e=!1),i=e?this.lineGap:0,(this.ascender+i-this.decender)/1e3*n},t}();var pi,wr=function(){function t(n){this.data=n??[],this.pos=0,this.length=this.data.length}return t.prototype.readByte=function(){return this.data[this.pos++]},t.prototype.writeByte=function(n){return this.data[this.pos++]=n},t.prototype.readUInt32=function(){return 16777216*this.readByte()+(this.readByte()<<16)+(this.readByte()<<8)+this.readByte()},t.prototype.writeUInt32=function(n){return this.writeByte(n>>>24&255),this.writeByte(n>>16&255),this.writeByte(n>>8&255),this.writeByte(255&n)},t.prototype.readInt32=function(){var n;return(n=this.readUInt32())>=2147483648?n-4294967296:n},t.prototype.writeInt32=function(n){return n<0&&(n+=4294967296),this.writeUInt32(n)},t.prototype.readUInt16=function(){return this.readByte()<<8|this.readByte()},t.prototype.writeUInt16=function(n){return this.writeByte(n>>8&255),this.writeByte(255&n)},t.prototype.readInt16=function(){var n;return(n=this.readUInt16())>=32768?n-65536:n},t.prototype.writeInt16=function(n){return n<0&&(n+=65536),this.writeUInt16(n)},t.prototype.readString=function(n){var e,i;for(i=[],e=0;0<=n?e<n:e>n;e=0<=n?++e:--e)i[e]=String.fromCharCode(this.readByte());return i.join("")},t.prototype.writeString=function(n){var e,i,r;for(r=[],e=0,i=n.length;0<=i?e<i:e>i;e=0<=i?++e:--e)r.push(this.writeByte(n.charCodeAt(e)));return r},t.prototype.readShort=function(){return this.readInt16()},t.prototype.writeShort=function(n){return this.writeInt16(n)},t.prototype.readLongLong=function(){var n,e,i,r,s,h,l,u;return n=this.readByte(),e=this.readByte(),i=this.readByte(),r=this.readByte(),s=this.readByte(),h=this.readByte(),l=this.readByte(),u=this.readByte(),128&n?-1*(72057594037927940*(255^n)+281474976710656*(255^e)+1099511627776*(255^i)+4294967296*(255^r)+16777216*(255^s)+65536*(255^h)+256*(255^l)+(255^u)+1):72057594037927940*n+281474976710656*e+1099511627776*i+4294967296*r+16777216*s+65536*h+256*l+u},t.prototype.writeLongLong=function(n){var e,i;return e=Math.floor(n/4294967296),i=4294967295&n,this.writeByte(e>>24&255),this.writeByte(e>>16&255),this.writeByte(e>>8&255),this.writeByte(255&e),this.writeByte(i>>24&255),this.writeByte(i>>16&255),this.writeByte(i>>8&255),this.writeByte(255&i)},t.prototype.readInt=function(){return this.readInt32()},t.prototype.writeInt=function(n){return this.writeInt32(n)},t.prototype.read=function(n){var e,i;for(e=[],i=0;0<=n?i<n:i>n;i=0<=n?++i:--i)e.push(this.readByte());return e},t.prototype.write=function(n){var e,i,r,s;for(s=[],i=0,r=n.length;i<r;i++)e=n[i],s.push(this.writeByte(e));return s},t}(),U5=function(){var t;function n(e){var i,r,s;for(this.scalarType=e.readInt(),this.tableCount=e.readShort(),this.searchRange=e.readShort(),this.entrySelector=e.readShort(),this.rangeShift=e.readShort(),this.tables={},r=0,s=this.tableCount;0<=s?r<s:r>s;r=0<=s?++r:--r)i={tag:e.readString(4),checksum:e.readInt(),offset:e.readInt(),length:e.readInt()},this.tables[i.tag]=i}return n.prototype.encode=function(e){var i,r,s,h,l,u,d,g,x,L,p,T,P;for(P in p=Object.keys(e).length,u=Math.log(2),x=16*Math.floor(Math.log(p)/u),h=Math.floor(x/u),g=16*p-x,(r=new wr).writeInt(this.scalarType),r.writeShort(p),r.writeShort(x),r.writeShort(h),r.writeShort(g),s=16*p,d=r.pos+s,l=null,T=[],e)for(L=e[P],r.writeString(P),r.writeInt(t(L)),r.writeInt(d),r.writeInt(L.length),T=T.concat(L),P==="head"&&(l=d),d+=L.length;d%4;)T.push(0),d++;return r.write(T),i=2981146554-t(r.data),r.pos=l+8,r.writeUInt32(i),r.data},t=function(e){var i,r,s,h;for(e=$f.call(e);e.length%4;)e.push(0);for(s=new wr(e),r=0,i=0,h=e.length;i<h;i=i+=4)r+=s.readUInt32();return 4294967295&r},n}(),z5={}.hasOwnProperty,Ii=function(t,n){for(var e in n)z5.call(n,e)&&(t[e]=n[e]);function i(){this.constructor=t}return i.prototype=n.prototype,t.prototype=new i,t.__super__=n.prototype,t};pi=function(){function t(n){var e;this.file=n,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 H5=function(){function t(){return t.__super__.constructor.apply(this,arguments)}return Ii(t,pi),t.prototype.tag="head",t.prototype.parse=function(n){return n.pos=this.offset,this.version=n.readInt(),this.revision=n.readInt(),this.checkSumAdjustment=n.readInt(),this.magicNumber=n.readInt(),this.flags=n.readShort(),this.unitsPerEm=n.readShort(),this.created=n.readLongLong(),this.modified=n.readLongLong(),this.xMin=n.readShort(),this.yMin=n.readShort(),this.xMax=n.readShort(),this.yMax=n.readShort(),this.macStyle=n.readShort(),this.lowestRecPPEM=n.readShort(),this.fontDirectionHint=n.readShort(),this.indexToLocFormat=n.readShort(),this.glyphDataFormat=n.readShort()},t.prototype.encode=function(n){var e;return(e=new wr).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(n),e.writeShort(this.glyphDataFormat),e.data},t}(),Bu=function(){function t(n,e){var i,r,s,h,l,u,d,g,x,L,p,T,P,R,k,D,Z;switch(this.platformID=n.readUInt16(),this.encodingID=n.readShort(),this.offset=e+n.readInt(),x=n.pos,n.pos=this.offset,this.format=n.readUInt16(),this.length=n.readUInt16(),this.language=n.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(u=0;u<256;++u)this.codeMap[u]=n.readByte();break;case 4:for(p=n.readUInt16(),L=p/2,n.pos+=6,s=function(){var z,at;for(at=[],u=z=0;0<=L?z<L:z>L;u=0<=L?++z:--z)at.push(n.readUInt16());return at}(),n.pos+=2,P=function(){var z,at;for(at=[],u=z=0;0<=L?z<L:z>L;u=0<=L?++z:--z)at.push(n.readUInt16());return at}(),d=function(){var z,at;for(at=[],u=z=0;0<=L?z<L:z>L;u=0<=L?++z:--z)at.push(n.readUInt16());return at}(),g=function(){var z,at;for(at=[],u=z=0;0<=L?z<L:z>L;u=0<=L?++z:--z)at.push(n.readUInt16());return at}(),r=(this.length-n.pos+this.offset)/2,l=function(){var z,at;for(at=[],u=z=0;0<=r?z<r:z>r;u=0<=r?++z:--z)at.push(n.readUInt16());return at}(),u=k=0,Z=s.length;k<Z;u=++k)for(R=s[u],i=D=T=P[u];T<=R?D<=R:D>=R;i=T<=R?++D:--D)g[u]===0?h=i+d[u]:(h=l[g[u]/2+(i-T)-(L-u)]||0)!==0&&(h+=d[u]),this.codeMap[i]=65535&h}n.pos=x}return t.encode=function(n,e){var i,r,s,h,l,u,d,g,x,L,p,T,P,R,k,D,Z,z,at,pt,lt,X,B,et,S,O,W,H,rt,ct,ft,it,gt,At,yt,N,M,q,V,$,Q,st,ot,bt,Nt,jt;switch(H=new wr,h=Object.keys(n).sort(function(kt,qt){return kt-qt}),e){case"macroman":for(P=0,R=function(){var kt=[];for(T=0;T<256;++T)kt.push(0);return kt}(),D={0:0},s={},rt=0,gt=h.length;rt<gt;rt++)D[ot=n[r=h[rt]]]==null&&(D[ot]=++P),s[r]={old:n[r],new:D[n[r]]},R[r]=D[n[r]];return H.writeUInt16(1),H.writeUInt16(0),H.writeUInt32(12),H.writeUInt16(0),H.writeUInt16(262),H.writeUInt16(0),H.write(R),{charMap:s,subtable:H.data,maxGlyphID:P+1};case"unicode":for(O=[],x=[],Z=0,D={},i={},k=d=null,ct=0,At=h.length;ct<At;ct++)D[at=n[r=h[ct]]]==null&&(D[at]=++Z),i[r]={old:at,new:D[at]},l=D[at]-r,k!=null&&l===d||(k&&x.push(k),O.push(r),d=l),k=r;for(k&&x.push(k),x.push(65535),O.push(65535),et=2*(B=O.length),X=2*Math.pow(Math.log(B)/Math.LN2,2),L=Math.log(X/2)/Math.LN2,lt=2*B-X,u=[],pt=[],p=[],T=ft=0,yt=O.length;ft<yt;T=++ft){if(S=O[T],g=x[T],S===65535){u.push(0),pt.push(0);break}if(S-(W=i[S].new)>=32768)for(u.push(0),pt.push(2*(p.length+B-T)),r=it=S;S<=g?it<=g:it>=g;r=S<=g?++it:--it)p.push(i[r].new);else u.push(W-S),pt.push(0)}for(H.writeUInt16(3),H.writeUInt16(1),H.writeUInt32(12),H.writeUInt16(4),H.writeUInt16(16+8*B+2*p.length),H.writeUInt16(0),H.writeUInt16(et),H.writeUInt16(X),H.writeUInt16(L),H.writeUInt16(lt),Q=0,N=x.length;Q<N;Q++)r=x[Q],H.writeUInt16(r);for(H.writeUInt16(0),st=0,M=O.length;st<M;st++)r=O[st],H.writeUInt16(r);for(bt=0,q=u.length;bt<q;bt++)l=u[bt],H.writeUInt16(l);for(Nt=0,V=pt.length;Nt<V;Nt++)z=pt[Nt],H.writeUInt16(z);for(jt=0,$=p.length;jt<$;jt++)P=p[jt],H.writeUInt16(P);return{charMap:i,subtable:H.data,maxGlyphID:Z+1}}},t}(),Yf=function(){function t(){return t.__super__.constructor.apply(this,arguments)}return Ii(t,pi),t.prototype.tag="cmap",t.prototype.parse=function(n){var e,i,r;for(n.pos=this.offset,this.version=n.readUInt16(),r=n.readUInt16(),this.tables=[],this.unicode=null,i=0;0<=r?i<r:i>r;i=0<=r?++i:--i)e=new Bu(n,this.offset),this.tables.push(e),e.isUnicode&&this.unicode==null&&(this.unicode=e);return!0},t.encode=function(n,e){var i,r;return e==null&&(e="macroman"),i=Bu.encode(n,e),(r=new wr).writeUInt16(0),r.writeUInt16(1),i.table=r.data.concat(i.subtable),i},t}(),W5=function(){function t(){return t.__super__.constructor.apply(this,arguments)}return Ii(t,pi),t.prototype.tag="hhea",t.prototype.parse=function(n){return n.pos=this.offset,this.version=n.readInt(),this.ascender=n.readShort(),this.decender=n.readShort(),this.lineGap=n.readShort(),this.advanceWidthMax=n.readShort(),this.minLeftSideBearing=n.readShort(),this.minRightSideBearing=n.readShort(),this.xMaxExtent=n.readShort(),this.caretSlopeRise=n.readShort(),this.caretSlopeRun=n.readShort(),this.caretOffset=n.readShort(),n.pos+=8,this.metricDataFormat=n.readShort(),this.numberOfMetrics=n.readUInt16()},t}(),V5=function(){function t(){return t.__super__.constructor.apply(this,arguments)}return Ii(t,pi),t.prototype.tag="OS/2",t.prototype.parse=function(n){if(n.pos=this.offset,this.version=n.readUInt16(),this.averageCharWidth=n.readShort(),this.weightClass=n.readUInt16(),this.widthClass=n.readUInt16(),this.type=n.readShort(),this.ySubscriptXSize=n.readShort(),this.ySubscriptYSize=n.readShort(),this.ySubscriptXOffset=n.readShort(),this.ySubscriptYOffset=n.readShort(),this.ySuperscriptXSize=n.readShort(),this.ySuperscriptYSize=n.readShort(),this.ySuperscriptXOffset=n.readShort(),this.ySuperscriptYOffset=n.readShort(),this.yStrikeoutSize=n.readShort(),this.yStrikeoutPosition=n.readShort(),this.familyClass=n.readShort(),this.panose=function(){var e,i;for(i=[],e=0;e<10;++e)i.push(n.readByte());return i}(),this.charRange=function(){var e,i;for(i=[],e=0;e<4;++e)i.push(n.readInt());return i}(),this.vendorID=n.readString(4),this.selection=n.readShort(),this.firstCharIndex=n.readShort(),this.lastCharIndex=n.readShort(),this.version>0&&(this.ascent=n.readShort(),this.descent=n.readShort(),this.lineGap=n.readShort(),this.winAscent=n.readShort(),this.winDescent=n.readShort(),this.codePageRange=function(){var e,i;for(i=[],e=0;e<2;e=++e)i.push(n.readInt());return i}(),this.version>1))return this.xHeight=n.readShort(),this.capHeight=n.readShort(),this.defaultChar=n.readShort(),this.breakChar=n.readShort(),this.maxContext=n.readShort()},t}(),G5=function(){function t(){return t.__super__.constructor.apply(this,arguments)}return Ii(t,pi),t.prototype.tag="post",t.prototype.parse=function(n){var e,i,r;switch(n.pos=this.offset,this.format=n.readInt(),this.italicAngle=n.readInt(),this.underlinePosition=n.readShort(),this.underlineThickness=n.readShort(),this.isFixedPitch=n.readInt(),this.minMemType42=n.readInt(),this.maxMemType42=n.readInt(),this.minMemType1=n.readInt(),this.maxMemType1=n.readInt(),this.format){case 65536:case 196608:break;case 131072:var s;for(i=n.readUInt16(),this.glyphNameIndex=[],s=0;0<=i?s<i:s>i;s=0<=i?++s:--s)this.glyphNameIndex.push(n.readUInt16());for(this.names=[],r=[];n.pos<this.offset+this.length;)e=n.readByte(),r.push(this.names.push(n.readString(e)));return r;case 151552:return i=n.readUInt16(),this.offsets=n.read(i);case 262144:return this.map=(function(){var h,l,u;for(u=[],s=h=0,l=this.file.maxp.numGlyphs;0<=l?h<l:h>l;s=0<=l?++h:--h)u.push(n.readUInt32());return u}).call(this)}},t}(),Z5=function(t,n){this.raw=t,this.length=t.length,this.platformID=n.platformID,this.encodingID=n.encodingID,this.languageID=n.languageID},Y5=function(){function t(){return t.__super__.constructor.apply(this,arguments)}return Ii(t,pi),t.prototype.tag="name",t.prototype.parse=function(n){var e,i,r,s,h,l,u,d,g,x,L;for(n.pos=this.offset,n.readShort(),e=n.readShort(),l=n.readShort(),i=[],s=0;0<=e?s<e:s>e;s=0<=e?++s:--s)i.push({platformID:n.readShort(),encodingID:n.readShort(),languageID:n.readShort(),nameID:n.readShort(),length:n.readShort(),offset:this.offset+l+n.readShort()});for(u={},s=g=0,x=i.length;g<x;s=++g)r=i[s],n.pos=r.offset,d=n.readString(r.length),h=new Z5(d,r),u[L=r.nameID]==null&&(u[L]=[]),u[r.nameID].push(h);this.strings=u,this.copyright=u[0],this.fontFamily=u[1],this.fontSubfamily=u[2],this.uniqueSubfamily=u[3],this.fontName=u[4],this.version=u[5];try{this.postscriptName=u[6][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}catch{this.postscriptName=u[4][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}return this.trademark=u[7],this.manufacturer=u[8],this.designer=u[9],this.description=u[10],this.vendorUrl=u[11],this.designerUrl=u[12],this.license=u[13],this.licenseUrl=u[14],this.preferredFamily=u[15],this.preferredSubfamily=u[17],this.compatibleFull=u[18],this.sampleText=u[19]},t}(),$5=function(){function t(){return t.__super__.constructor.apply(this,arguments)}return Ii(t,pi),t.prototype.tag="maxp",t.prototype.parse=function(n){return n.pos=this.offset,this.version=n.readInt(),this.numGlyphs=n.readUInt16(),this.maxPoints=n.readUInt16(),this.maxContours=n.readUInt16(),this.maxCompositePoints=n.readUInt16(),this.maxComponentContours=n.readUInt16(),this.maxZones=n.readUInt16(),this.maxTwilightPoints=n.readUInt16(),this.maxStorage=n.readUInt16(),this.maxFunctionDefs=n.readUInt16(),this.maxInstructionDefs=n.readUInt16(),this.maxStackElements=n.readUInt16(),this.maxSizeOfInstructions=n.readUInt16(),this.maxComponentElements=n.readUInt16(),this.maxComponentDepth=n.readUInt16()},t}(),K5=function(){function t(){return t.__super__.constructor.apply(this,arguments)}return Ii(t,pi),t.prototype.tag="hmtx",t.prototype.parse=function(n){var e,i,r,s,h,l,u;for(n.pos=this.offset,this.metrics=[],e=0,l=this.file.hhea.numberOfMetrics;0<=l?e<l:e>l;e=0<=l?++e:--e)this.metrics.push({advance:n.readUInt16(),lsb:n.readInt16()});for(r=this.file.maxp.numGlyphs-this.file.hhea.numberOfMetrics,this.leftSideBearings=function(){var d,g;for(g=[],e=d=0;0<=r?d<r:d>r;e=0<=r?++d:--d)g.push(n.readInt16());return g}(),this.widths=(function(){var d,g,x,L;for(L=[],d=0,g=(x=this.metrics).length;d<g;d++)s=x[d],L.push(s.advance);return L}).call(this),i=this.widths[this.widths.length-1],u=[],e=h=0;0<=r?h<r:h>r;e=0<=r?++h:--h)u.push(this.widths.push(i));return u},t.prototype.forGlyph=function(n){return n in this.metrics?this.metrics[n]:{advance:this.metrics[this.metrics.length-1].advance,lsb:this.leftSideBearings[n-this.metrics.length]}},t}(),$f=[].slice,X5=function(){function t(){return t.__super__.constructor.apply(this,arguments)}return Ii(t,pi),t.prototype.tag="glyf",t.prototype.parse=function(){return this.cache={}},t.prototype.glyphFor=function(n){var e,i,r,s,h,l,u,d,g,x;return n in this.cache?this.cache[n]:(s=this.file.loca,e=this.file.contents,i=s.indexOf(n),(r=s.lengthOf(n))===0?this.cache[n]=null:(e.pos=this.offset+i,h=(l=new wr(e.read(r))).readShort(),d=l.readShort(),x=l.readShort(),u=l.readShort(),g=l.readShort(),this.cache[n]=h===-1?new Q5(l,d,x,u,g):new J5(l,h,d,x,u,g),this.cache[n]))},t.prototype.encode=function(n,e,i){var r,s,h,l,u;for(h=[],s=[],l=0,u=e.length;l<u;l++)r=n[e[l]],s.push(h.length),r&&(h=h.concat(r.encode(i)));return s.push(h.length),{table:h,offsets:s}},t}(),J5=function(){function t(n,e,i,r,s,h){this.raw=n,this.numberOfContours=e,this.xMin=i,this.yMin=r,this.xMax=s,this.yMax=h,this.compound=!1}return t.prototype.encode=function(){return this.raw.data},t}(),Q5=function(){function t(n,e,i,r,s){var h,l;for(this.raw=n,this.xMin=e,this.yMin=i,this.xMax=r,this.yMax=s,this.compound=!0,this.glyphIDs=[],this.glyphOffsets=[],h=this.raw;l=h.readShort(),this.glyphOffsets.push(h.pos),this.glyphIDs.push(h.readUInt16()),32&l;)h.pos+=1&l?4:2,128&l?h.pos+=8:64&l?h.pos+=4:8&l&&(h.pos+=2)}return t.prototype.encode=function(){var n,e,i;for(e=new wr($f.call(this.raw.data)),n=0,i=this.glyphIDs.length;n<i;++n)e.pos=this.glyphOffsets[n];return e.data},t}(),tp=function(){function t(){return t.__super__.constructor.apply(this,arguments)}return Ii(t,pi),t.prototype.tag="loca",t.prototype.parse=function(n){var e,i;return n.pos=this.offset,e=this.file.head.indexToLocFormat,this.offsets=e===0?(function(){var r,s;for(s=[],i=0,r=this.length;i<r;i+=2)s.push(2*n.readUInt16());return s}).call(this):(function(){var r,s;for(s=[],i=0,r=this.length;i<r;i+=4)s.push(n.readUInt32());return s}).call(this)},t.prototype.indexOf=function(n){return this.offsets[n]},t.prototype.lengthOf=function(n){return this.offsets[n+1]-this.offsets[n]},t.prototype.encode=function(n,e){for(var i=new Uint32Array(this.offsets.length),r=0,s=0,h=0;h<i.length;++h)if(i[h]=r,s<e.length&&e[s]==h){++s,i[h]=r;var l=this.offsets[h],u=this.offsets[h+1]-l;u>0&&(r+=u)}for(var d=new Array(4*i.length),g=0;g<i.length;++g)d[4*g+3]=255&i[g],d[4*g+2]=(65280&i[g])>>8,d[4*g+1]=(16711680&i[g])>>16,d[4*g]=(4278190080&i[g])>>24;return d},t}(),ep=function(){function t(n){this.font=n,this.subset={},this.unicodes={},this.next=33}return t.prototype.generateCmap=function(){var n,e,i,r,s;for(e in r=this.font.cmap.tables[0].codeMap,n={},s=this.subset)i=s[e],n[e]=r[i];return n},t.prototype.glyphsFor=function(n){var e,i,r,s,h,l,u;for(r={},h=0,l=n.length;h<l;h++)r[s=n[h]]=this.font.glyf.glyphFor(s);for(s in e=[],r)(i=r[s])!=null&&i.compound&&e.push.apply(e,i.glyphIDs);if(e.length>0)for(s in u=this.glyphsFor(e))i=u[s],r[s]=i;return r},t.prototype.encode=function(n,e){var i,r,s,h,l,u,d,g,x,L,p,T,P,R,k;for(r in i=Yf.encode(this.generateCmap(),"unicode"),h=this.glyphsFor(n),p={0:0},k=i.charMap)p[(u=k[r]).old]=u.new;for(T in L=i.maxGlyphID,h)T in p||(p[T]=L++);return g=function(D){var Z,z;for(Z in z={},D)z[D[Z]]=Z;return z}(p),x=Object.keys(g).sort(function(D,Z){return D-Z}),P=function(){var D,Z,z;for(z=[],D=0,Z=x.length;D<Z;D++)l=x[D],z.push(g[l]);return z}(),s=this.font.glyf.encode(h,P,p),d=this.font.loca.encode(s.offsets,P),R={cmap:this.font.cmap.raw(),glyf:s.table,loca:d,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&&(R["OS/2"]=this.font.os2.raw()),this.font.directory.encode(R)},t}();Dt.API.PDFObject=function(){var t;function n(){}return t=function(e,i){return(Array(i+1).join("0")+e).slice(-i)},n.convert=function(e){var i,r,s,h;if(Array.isArray(e))return"["+function(){var l,u,d;for(d=[],l=0,u=e.length;l<u;l++)i=e[l],d.push(n.convert(i));return d}().join(" ")+"]";if(typeof e=="string")return"/"+e;if(e!=null&&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(r in s=["<<"],e)h=e[r],s.push("/"+r+" "+n.convert(h));return s.push(">>"),s.join(`
180`)}return""+e},n}();const mp=()=>{const{user:t,loading:n}=T1(),{isAdmin:e,isLoading:i}=R1(),{toast:r}=M1(),s=B1.useRef(null),h=()=>{const l=new Dt;let u=20;const d=7,g=280,x=20,L=170,p=()=>{l.addPage(),u=20},T=pt=>{u+pt>g&&p()},P=(pt,lt=16)=>{T(20),l.setFontSize(lt),l.setFont("helvetica","bold"),l.text(pt,x,u),u+=d+4},R=pt=>{T(15),l.setFontSize(12),l.setFont("helvetica","bold"),l.text(pt,x,u),u+=d+2},k=pt=>{l.setFontSize(10),l.setFont("helvetica","normal");const lt=l.splitTextToSize(pt,L);T(lt.length*d),l.text(lt,x,u),u+=lt.length*d+2},D=(pt,lt=0)=>{l.setFontSize(10),l.setFont("helvetica","normal");const X=l.splitTextToSize(`• ${pt}`,L-lt);T(X.length*d),l.text(X,x+lt,u),u+=X.length*d};l.setFontSize(24),l.setFont("helvetica","bold"),l.text("Platform Documentation",x,40),l.setFontSize(12),l.setFont("helvetica","normal"),l.text(`Generated: ${new Date().toLocaleDateString()}`,x,55),p(),P("Table of Contents",18),u+=5,["1. Overview","2. User Types & Roles","3. Core Features","4. Payment & Pricing","5. User Flows","6. Admin CMS","7. Technical Services"].forEach(pt=>k(pt)),p(),P("1. Overview",18),k("This platform is a creative professional network connecting artists, designers, and industry professionals. It provides portfolio showcasing, job opportunities, and community features."),u+=5,R("Technology Stack"),D("Frontend: React, TypeScript, Vite, Tailwind CSS, shadcn/ui"),D("Backend: Supabase (Lovable Cloud)"),D("Payments: Stripe"),D("Storage: Amazon S3"),D("Maps: Mapbox"),D("Email: Resend"),u+=10,P("2. User Types & Roles",18),R("Visitor (Non-Authenticated)"),k("Access: Public content only. Can view homepage, browse published projects and artists."),u+=3,R("Authenticated User"),k("Access: Basic member features including viewing opportunities, applying to jobs, liking content, creating collections, and contacting artists."),u+=3,R("Artist (Profile 
180Created)"),k("Access: Portfolio and opportunity management. Can manage projects, publish profile, post opportunities (€20/post), receive booking requests."),u+=3,R("Premium Artist (Subscriber)"),k("Access: Enhanced features. Gets premium badge, links & email in bio, featured placement, and priority visibility."),u+=3,R("Admin"),k("Access: Full platform management including admin dashboard, content management, user management, analytics, and site settings."),u+=10,P("3. Core Features",18),R("Portfolio System"),D("Projects: Unlimited creation, cover + gallery images, video support, metadata, visibility toggle, drag-and-drop ordering"),D("Artist Profiles: Name, tagline, bio, avatar, location, skills, social links, contact info"),u+=3,R("Opportunities System"),D("Job: Employment/freelance positions - €20"),D("Gig: Short-term paid work - €20"),D("Event: Industry events - €20"),D("Workshop: Educational sessions - €20"),D("Gathering: Community meetups - Free (requires admin review)"),u+=3,R("Engagement Features"),D("Likes: Like projects, artists, and opportunities"),D("Collections: Create custom collections with public/private visibility"),D("Booking Requests: Contact artists directly via message form"),D("Notifications: In-app bell with alerts for applications, bookings, announcements"),u+=10,P("4. Payment & Pricing",18),R("Premium Subscription"),D("Monthly: €10/month (recurring)"),D("Yearly: €99/year (recurring, save €21)"),u+=3,R("Premium Benefits"),D("Premium badge on profile"),D("Links & email addresses in bio"),D("Featured placement in listings"),D("Priority in search results"),u+=3,R("Opportunity Posting Costs"),D("All paid types: €20 per post"),D("Community Gatherings: Always free"),u+=3,u+=3,R("Opportunity Renewal"),k("Expired opportunities can be renewed for €20, extending visibility for 2 additional months."),u+=10,P("5. User Flows",18),R("New User Registration"),k("Visit Site → Sign Up → Email Confirmation → Onboarding Wizard (6 steps: Name, Photo, Location, Skills, Links, Complete) → Profile Created"),u+=3,R("Applying to Opportunities"),k("Browse Opportunities → View Details → Click Apply → External URL or In-App Form → Submit Application → Email Notifications Sent"),u+=3,R("Opportunity Posting Flow"),k("User submits opportunity → If Community Gathering: Submit for Review → Otherwise: Redirect to Stripe for €20 payment → Published"),u+=10,P("6. Admin CMS",18),R("Dashboard Sections"),D("Analytics: View counts by date range, top content, custom filtering"),D("Artists Management: View, edit, publish, feature, toggle admin, reset password, delete"),D("Projects Management: View, edit, publish, feature, delete"),D("Opportunities Management: View, filter by status, approve/reject, edit, feature, delete"),D("Articles Management: Create, edit, categorize, tag, publish, feature"),u+=3,R("Admin Tools"),D("Site Settings: Hero slides, testimonials, legal pages, invoice details, filter options"),D("Email System: Templates, logs, delivery tracking"),D("Data Management: CSV import, data export, SQL import"),D("Hero Slides Manager: Link projects to homepage carousel"),u+=10,P("7. Technical Services",18),R("Database Tables"),["artists, projects, project_images, jobs, opportunity_applications","application_messages, application_events, profiles, user_roles","user_likes, user_collections, collection_items, booking_requests","notifications, hero_slides, articles, testimonials","site_settings, email_logs, view_tracking, contact_messages"].forEach(pt=>k(pt)),u+=3,R("Edge Functions"),["check-subscription, create-checkout, verify-payment, customer-portal","send-email, send-reminders, s3-upload, s3-delete, get-mapbox-token","data-export, user-data-export, sitemap, admin-delete-user, admin-reset-password","get-stripe-invoices, cleanup-invalid-filters, og-meta"].forEach(pt=>k(pt)),u+=3,R("External Integrations"),D("Stripe: Subscription management, one-time payments, customer portal, invoice generation"),D("Amazon S3: Image storage, secure signed URLs, automatic cleanup"),D("Mapbox: Location autocomplete, interactive maps"),D("Resend: Transactional emails, template-based sending"),u+=10,R("Key Limits"),D("Projects per artist: Unlimited"),D("Gallery images per project: Unlimited"),D("Opportunity posting fee: €20"),D("Opportunity expiration: 2 months"),D("Expertise/Software tags: 10 max each"),l.save("platform-documentation.pdf"),r({title:"PDF Generated",description:"Documentation has been downloaded as PDF."})};return n||i?y.jsx("div",{className:"min-h-screen bg-background flex items-center justify-center",children:y.jsx(D1,{className:"w-8 h-8 animate-spin text-primary"})}):t?e?y.jsxs("div",{className:"min-h-screen bg-background",children:[y.jsx(q1,{}),y.jsx("div",{className:"pt-32 pb-20",children:y.jsxs("div",{className:"container mx-auto px-4 lg:px-8 max-w-6xl",children:[y.jsx(U1,{customCrumbs:[{label:"Home",path:"/"},{label:"Admin Dashboard",path:"/admin"},{label:"Documentation",path:"/admin/documentation"}]}),y.jsxs("div",{className:"flex flex-col md:flex-row md:items-center md:justify-between gap-4 mb-8",children:[y.jsxs("div",{className:"flex items-center gap-3",children:[y.jsx(z1,{className:"w-8 h-8 text-primary"}),y.jsxs("div",{children:[y.jsx("h1",{className:"font-display text-3xl md:text-4xl",children:"Platform Documentation"}),y.jsx("p",{className:"text-muted-foreground",children:"Complete overview of all functionalities and services"})]})]}),y.jsxs(H1,{onClick:h,className:"gap-2",children:[y.jsx($1,{className:"w-4 h-4"}),"Download PDF"]})]}),y.jsxs("div",{ref:s,className:"space-y-8",children:[y.jsxs(ya,{children:[y.jsx(_a,{children:y.jsxs(xa,{className:"flex items-center gap-2",children:[y.jsx(ph,{className:"w-5 h-5 text-primary"}),"Overview"]})}),y.jsxs(Na,{className:"space-y-4",children:[y.jsx("p",{className:"text-muted-foreground",children:"This platform is a creative professional network connecting artists, designers, and industry professionals. It provides portfolio showcasing, job opportunities, and community features."}),y.jsxs("div",{children:[y.jsx("h4",{className:"font-medium mb-2",children:"Technology Stack"}),y.jsxs("div",{className:"flex flex-wrap gap-2",children:[y.jsx(cn,{variant:"outline",children:"React"}),y.jsx(cn,{variant:"outline",children:"TypeScript"}),y.jsx(cn,{variant:"outline",children:"Vite"}),y.jsx(cn,{variant:"outline",children:"Tailwind CSS"}),y.jsx(cn,{variant:"outline",children:"shadcn/ui"}),y.jsx(cn,{variant:"outline",children:"Supabase"}),y.jsx(cn,{variant:"outline",children:"Stripe"}),y.jsx(cn,{variant:"outline",children:"Amazon S3"}),y.jsx(cn,{variant:"outline",children:"Mapbox"}),y.jsx(cn,{variant:"outline",children:"Resend"})]})]})]})]}),y.jsxs(ya,{children:[y.jsx(_a,{children:y.jsxs(xa,{className:"flex items-center gap-2",children:[y.jsx(xl,{className:"w-5 h-5 text-primary"}),"User Types & Roles"]})}),y.jsx(Na,{children:y.jsxs("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-4",children:[y.jsxs("div",{className:"p-4 rounded-lg border border-border bg-secondary/20",children:[y.jsxs("div",{className:"flex items-center gap-2 mb-2",children:[y.jsx(W1,{className:"w-4 h-4 text-muted-foreground"}),y.jsx("h4",{className:"font-medium",children:"Visitor"})]}),y.jsx("p",{className:"text-sm text-muted-foreground mb-3",children:"Non-authenticated users"}),y.jsxs("ul",{className:"text-sm space-y-1",children:[y.jsxs("li",{className:"flex items-center gap-2",children:[y.jsx(ze,{className:"w-3 h-3 text-green-500"})," View homepage"]}),y.jsxs("li",{className:"flex items-center gap-2",children:[y.jsx(ze,{className:"w-3 h-3 text-green-500"})," Browse projects"]}),y.jsxs("li",{className:"flex items-center gap-2",children:[y.jsx(ze,{className:"w-3 h-3 text-green-500"})," Browse artists"]}),y.jsxs("li",{className:"flex items-center gap-2",children:[y.jsx(wa,{className:"w-3 h-3 text-red-500"})," View opportunities"]}),y.jsxs("li",{className:"flex items-center gap-2",children:[y.jsx(wa,{className:"w-3 h-3 text-red-500"})," Like/Save content"]})]})]}),y.jsxs("div",{className:"p-4 rounded-lg border border-border bg-secondary/20",children:[y.jsxs("div",{className:"flex items-center gap-2 mb-2",children:[y.jsx(xl,{className:"w-4 h-4 text-blue-500"}),y.jsx("h4",{className:"font-medium",children:"Authenticated User"})]}),y.jsx("p",{className:"text-sm text-muted-foreground mb-3",children:"Logged in members"}),y.jsxs("ul",{className:"text-sm space-y-1",children:[y.jsxs("li",{className:"flex items-center gap-2",children:[y.jsx(ze,{className:"w-3 h-3 text-green-500"})," View opportunities"]}),y.jsxs("li",{className:"flex items-center gap-2",children:[y.jsx(ze,{className:"w-3 h-3 text-green-500"})," Apply to opportunities"]}),y.jsxs("li",{className:"flex items-center gap-2",children:[y.jsx(ze,{className:"w-3 h-3 text-green-500"})," Like & save content"]}),y.jsxs("li",{className:"flex items-center gap-2",children:[y.jsx(ze,{className:"w-3 h-3 text-green-500"})," Create collections"]}),y.jsxs("li",{className:"flex items-center gap-2",children:[y.jsx(ze,{className:"w-3 h-3 text-green-500"})," Contact artists"]})]})]}),y.jsxs("div",{className:"p-4 rounded-lg border border-border bg-secondary/20",children:[y.jsxs("div",{className:"flex items-center gap-2 mb-2",children:[y.jsx(mh,{className:"w-4 h-4 text-purple-500"}),y.jsx("h4",{className:"font-medium",children:"Artist"})]}),y.jsx("p",{className:"text-sm text-muted-foreground mb-3",children:"Profile created"}),y.jsxs("ul",{className:"text-sm space-y-1",children:[y.jsxs("li",{className:"flex items-center gap-2",children:[y.jsx(ze,{className:"w-3 h-3 text-green-500"})," Manage portfolio"]}),y.jsxs("li",{className:"flex items-center gap-2",children:[y.jsx(ze,{className:"w-3 h-3 text-green-500"})," Post opportunities (€20)"]}),y.jsxs("li",{className:"flex items-center gap-2",children:[y.jsx(ze,{className:"w-3 h-3 text-green-500"})," Receive bookings"]}),y.jsxs("li",{className:"flex items-center gap-2",children:[y.jsx(ze,{className:"w-3 h-3 text-green-500"})," Track applications"]}),y.jsxs("li",{className:"flex items-center gap-2",children:[y.jsx(ze,{className:"w-3 h-3 text-green-500"})," Publish profile"]})]})]}),y.jsxs("div",{className:"p-4 rounded-lg border border-primary/30 bg-primary/5",children:[y.jsxs("div",{className:"flex items-center gap-2 mb-2",children:[y.jsx(hh,{className:"w-4 h-4 text-primary"}),y.jsx("h4",{className:"font-medium",children:"Premium Artist"}),y.jsx(cn,{variant:"secondary",className:"bg-primary/10 text-primary text-xs",children:"€10/mo"})]}),y.jsx("p",{className:"text-sm text-muted-foreground mb-3",children:"Subscriber benefits"}),y.jsxs("ul",{className:"text-sm space-y-1",children:[y.jsxs("li",{className:"flex items-center gap-2",children:[y.jsx(ze,{className:"w-3 h-3 text-green-500"})," Premium badge"]}),y.jsxs("li",{className:"flex items-center gap-2",children:[y.jsx(ze,{className:"w-3 h-3 text-green-500"})," Links & email in bio"]}),y.jsxs("li",{className:"flex items-center gap-2",children:[y.jsx(ze,{className:"w-3 h-3 text-green-500"})," Featured placement"]}),y.jsxs("li",{className:"flex items-center gap-2",children:[y.jsx(ze,{className:"w-3 h-3 text-green-500"})," Priority visibility"]})]})]}),y.jsxs("div",{className:"p-4 rounded-lg border border-red-500/30 bg-red-500/5",children:[y.jsxs("div",{className:"flex items-center gap-2 mb-2",children:[y.jsx(V1,{className:"w-4 h-4 text-red-500"}),y.jsx("h4",{className:"font-medium",children:"Admin"})]}),y.jsx("p",{className:"text-sm text-muted-foreground mb-3",children:"Full platform access"}),y.jsxs("ul",{className:"text-sm space-y-1",children:[y.jsxs("li",{className:"flex items-center gap-2",children:[y.jsx(ze,{className:"w-3 h-3 text-green-500"})," Admin dashboard"]}),y.jsxs("li",{className:"flex items-center gap-2",children:[y.jsx(ze,{className:"w-3 h-3 text-green-500"})," Manage all content"]}),y.jsxs("li",{className:"flex items-center gap-2",children:[y.jsx(ze,{className:"w-3 h-3 text-green-500"})," Approve opportunities"]}),y.jsxs("li",{className:"flex items-center gap-2",children:[y.jsx(ze,{className:"w-3 h-3 text-green-500"})," View analytics"]}),y.jsxs("li",{className:"flex items-center gap-2",children:[y.jsx(ze,{className:"w-3 h-3 text-green-500"})," Site settings"]})]})]})]})})]}),y.jsxs(ya,{children:[y.jsx(_a,{children:y.jsxs(xa,{className:"flex items-center gap-2",children:[y.jsx(Nl,{className:"w-5 h-5 text-primary"}),"Core Features"]})}),y.jsxs(Na,{className:"space-y-6",children:[y.jsxs("div",{children:[y.jsxs("h4",{className:"font-medium mb-3 flex items-center gap-2",children:[y.jsx(mh,{className:"w-4 h-4"}),"Portfolio System"]}),y.jsxs("div",{className:"grid md:grid-cols-2 gap-4",children:[y.jsxs("div",{className:"p-3 rounded-lg bg-secondary/30",children:[y.jsx("h5",{className:"font-medium text-sm mb-2",children:"Projects"}),y.jsxs("ul",{className:"text-sm text-muted-foreground space-y-1",children:[y.jsx("li",{children:"• Unlimited project creation"}),y.jsx("li",{children:"• Cover image + gallery (S3 upload)"}),y.jsx("li",{children:"• Video URL support (YouTube, Vimeo)"}),y.jsx("li",{children:"• Expertise & software tags"}),y.jsx("li",{children:"• Publish/unpublish toggle"}),y.jsx("li",{children:"• Drag-and-drop ordering"})]})]}),y.jsxs("div",{className:"p-3 rounded-lg bg-secondary/30",children:[y.jsx("h5",{className:"font-medium text-sm mb-2",children:"Artist Profiles"}),y.jsxs("ul",{className:"text-sm text-muted-foreground space-y-1",children:[y.jsx("li",{children:"• Name, tagline, bio, avatar"}),y.jsx("li",{children:"• Full address with autocomplete"}),y.jsx("li",{children:"• Expertise, software, services"}),y.jsx("li",{children:"• Website, Instagram, LinkedIn, Behance"}),y.jsx("li",{children:"• Phone number, booking form"})]})]})]})]}),y.jsx(us,{}),y.jsxs("div",{children:[y.jsxs("h4",{className:"font-medium mb-3 flex items-center gap-2",children:[y.jsx(Nl,{className:"w-4 h-4"}),"Opportunity Types"]}),y.jsx("div",{className:"overflow-x-auto",children:y.jsxs("table",{className:"w-full text-sm",children:[y.jsx("thead",{children:y.jsxs("tr",{className:"border-b border-border",children:[y.jsx("th",{className:"text-left p-2 font-medium",children:"Type"}),y.jsx("th",{className:"text-left p-2 font-medium",children:"Description"}),y.jsx("th",{className:"text-left p-2 font-medium",children:"Cost"}),y.jsx("th",{className:"text-left p-2 font-medium",children:"Review"})]})}),y.jsxs("tbody",{children:[y.jsxs("tr",{className:"border-b border-border/50",children:[y.jsx("td",{className:"p-2",children:y.jsx(cn,{variant:"outline",className:"bg-gray-500/10",children:"Job"})}),y.jsx("td",{className:"p-2 text-muted-foreground",children:"Employment/freelance positions"}),y.jsx("td",{className:"p-2",children:"€20"}),y.jsx("td",{className:"p-2",children:y.jsx(wa,{className:"w-4 h-4 text-muted-foreground"})})]}),y.jsxs("tr",{className:"border-b border-border/50",children:[y.jsx("td",{className:"p-2",children:y.jsx(cn,{variant:"outline",className:"bg-orange-500/10 text-orange-600",children:"Gig"})}),y.jsx("td",{className:"p-2 text-muted-foreground",children:"Short-term paid work"}),y.jsx("td",{className:"p-2",children:"€20"}),y.jsx("td",{className:"p-2",children:y.jsx(wa,{className:"w-4 h-4 text-muted-foreground"})})]}),y.jsxs("tr",{className:"border-b border-border/50",children:[y.jsx("td",{className:"p-2",children:y.jsx(cn,{variant:"outline",className:"bg-blue-500/10 text-blue-600",children:"Event"})}),y.jsx("td",{className:"p-2 text-muted-foreground",children:"Industry events"}),y.jsx("td",{className:"p-2",children:"€20"}),y.jsx("td",{className:"p-2",children:y.jsx(wa,{className:"w-4 h-4 text-muted-foreground"})})]}),y.jsxs("tr",{className:"border-b border-border/50",children:[y.jsx("td",{className:"p-2",children:y.jsx(cn,{variant:"outline",className:"bg-purple-500/10 text-purple-600",children:"Workshop"})}),y.jsx("td",{className:"p-2 text-muted-foreground",children:"Educational sessions"}),y.jsx("td",{className:"p-2",children:"€20"}),y.jsx("td",{className:"p-2",children:y.jsx(wa,{className:"w-4 h-4 text-muted-foreground"})})]}),y.jsxs("tr",{children:[y.jsx("td",{className:"p-2",children:y.jsx(cn,{variant:"outline",className:"bg-green-500/10 text-green-600",children:"Gathering"})}),y.jsx("td",{className:"p-2 text-muted-foreground",children:"Community meetups"}),y.jsx("td",{c
vendor: 7,039 bytes, line 180
180lassName:"p-2 text-green-600 font-medium",children:"Free"}),y.jsx("td",{className:"p-2",children:y.jsx(ze,{className:"w-4 h-4 text-green-500"})})]})]})]})})]}),y.jsx(us,{}),y.jsxs("div",{children:[y.jsxs("h4",{className:"font-medium mb-3 flex items-center gap-2",children:[y.jsx(uh,{className:"w-4 h-4"}),"Engagement Features"]}),y.jsxs("div",{className:"grid md:grid-cols-4 gap-3",children:[y.jsxs("div",{className:"p-3 rounded-lg bg-secondary/30 text-center",children:[y.jsx(uh,{className:"w-5 h-5 mx-auto mb-2 text-red-500"}),y.jsx("h5",{className:"font-medium text-sm",children:"Likes"}),y.jsx("p",{className:"text-xs text-muted-foreground mt-1",children:"Like projects, artists, opportunities"})]}),y.jsxs("div",{className:"p-3 rounded-lg bg-secondary/30 text-center",children:[y.jsx(Al,{className:"w-5 h-5 mx-auto mb-2 text-blue-500"}),y.jsx("h5",{className:"font-medium text-sm",children:"Collections"}),y.jsx("p",{className:"text-xs text-muted-foreground mt-1",children:"Custom collections, public/private"})]}),y.jsxs("div",{className:"p-3 rounded-lg bg-secondary/30 text-center",children:[y.jsx(G1,{className:"w-5 h-5 mx-auto mb-2 text-green-500"}),y.jsx("h5",{className:"font-medium text-sm",children:"Booking Requests"}),y.jsx("p",{className:"text-xs text-muted-foreground mt-1",children:"Contact artists directly"})]}),y.jsxs("div",{className:"p-3 rounded-lg bg-secondary/30 text-center",children:[y.jsx(Z1,{className:"w-5 h-5 mx-auto mb-2 text-yellow-500"}),y.jsx("h5",{className:"font-medium text-sm",children:"Notifications"}),y.jsx("p",{className:"text-xs text-muted-foreground mt-1",children:"In-app alerts & updates"})]})]})]})]})]}),y.jsxs(ya,{children:[y.jsx(_a,{children:y.jsxs(xa,{className:"flex items-center gap-2",children:[y.jsx(gh,{className:"w-5 h-5 text-primary"}),"Payment & Pricing"]})}),y.jsx(Na,{className:"space-y-6",children:y.jsxs("div",{className:"grid md:grid-cols-2 gap-6",children:[y.jsxs("div",{className:"p-4 rounded-lg border border-primary/30 bg-primary/5",children:[y.jsxs("div",{className:"flex items-center gap-2 mb-3",children:[y.jsx(hh,{className:"w-5 h-5 text-primary"}),y.jsx("h4",{className:"font-medium",children:"Premium Subscription"})]}),y.jsxs("div",{className:"space-y-2 mb-4",children:[y.jsxs("div",{className:"flex justify-between items-center",children:[y.jsx("span",{children:"Monthly"}),y.jsx("span",{className:"font-bold",children:"€10/month"})]}),y.jsxs("div",{className:"flex justify-between items-center",children:[y.jsx("span",{children:"Yearly"}),y.jsxs("span",{className:"font-bold",children:["€99/year ",y.jsx("span",{className:"text-xs text-green-600",children:"(save €21)"})]})]})]}),y.jsxs("div",{className:"text-sm text-muted-foreground",children:[y.jsx("strong",{className:"text-foreground",children:"Benefits:"}),y.jsxs("ul",{className:"mt-1 space-y-1",children:[y.jsx("li",{children:"• Premium badge on profile"}),y.jsx("li",{children:"• Links & email addresses in bio"}),y.jsx("li",{children:"• Featured placement in listings"}),y.jsx("li",{children:"• Priority in search results"})]})]})]}),y.jsxs("div",{className:"p-4 rounded-lg border border-border bg-secondary/20",children:[y.jsxs("h4",{className:"font-medium mb-3 flex items-center gap-2",children:[y.jsx(X1,{className:"w-4 h-4"}),"Opportunity Posting Flow"]}),y.jsxs("div",{className:"text-sm space-y-2",children:[y.jsxs("div",{className:"flex items-start gap-2",children:[y.jsx("div",{className:"w-5 h-5 rounded-full bg-green-500/20 text-green-600 flex items-center justify-center text-xs font-bold flex-shrink-0 mt-0.5",children:"1"}),y.jsxs("p",{children:[y.jsx("strong",{children:"Community Gathering:"})," Free, requires admin review"]})]}),y.jsxs("div",{className:"flex items-start gap-2",children:[y.jsx("div",{className:"w-5 h-5 rounded-full bg-orange-500/20 text-orange-600 flex items-center justify-center text-xs font-bold flex-shrink-0 mt-0.5",children:"2"}),y.jsxs("p",{children:[y.jsx("strong",{children:"Paid types:"})," €20 via Stripe"]})]}),y.jsxs("div",{className:"flex items-start gap-2",children:[y.jsx("div",{className:"w-5 h-5 rounded-full bg-blue-500/20 text-blue-600 flex items-center justify-center text-xs font-bold flex-shrink-0 mt-0.5",children:"3"}),y.jsxs("p",{children:[y.jsx("strong",{children:"Renewal:"})," €20 for 2 more months"]})]})]})]})]})})]}),y.jsxs(ya,{children:[y.jsx(_a,{children:y.jsxs(xa,{className:"flex items-center gap-2",children:[y.jsx(fh,{className:"w-5 h-5 text-primary"}),"Admin CMS"]})}),y.jsx(Na,{className:"space-y-4",children:y.jsxs("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-4",children:[y.jsxs("div",{className:"p-3 rounded-lg bg-secondary/30",children:[y.jsxs("h5",{className:"font-medium text-sm mb-2 flex items-center gap-2",children:[y.jsx(ph,{className:"w-4 h-4 text-blue-500"}),"Analytics"]}),y.jsxs("ul",{className:"text-xs text-muted-foreground space-y-1",children:[y.jsx("li",{children:"• View counts by date range"}),y.jsx("li",{children:"• Top projects, artists, jobs"}),y.jsx("li",{children:"• Custom date filtering"})]})]}),y.jsxs("div",{className:"p-3 rounded-lg bg-secondary/30",children:[y.jsxs("h5",{className:"font-medium text-sm mb-2 flex items-center gap-2",children:[y.jsx(xl,{className:"w-4 h-4 text-purple-500"}),"Artists Management"]}),y.jsxs("ul",{className:"text-xs text-muted-foreground space-y-1",children:[y.jsx("li",{children:"• Edit, publish, feature"}),y.jsx("li",{children:"• Toggle admin role"}),y.jsx("li",{children:"• Reset password, delete"})]})]}),y.jsxs("div",{className:"p-3 rounded-lg bg-secondary/30",children:[y.jsxs("h5",{className:"font-medium text-sm mb-2 flex items-center gap-2",children:[y.jsx(Nl,{className:"w-4 h-4 text-orange-500"}),"Opportunities"]}),y.jsxs("ul",{className:"text-xs text-muted-foreground space-y-1",children:[y.jsx("li",{children:"• Filter by status"}),y.jsx("li",{children:"• Approve/reject pending"}),y.jsx("li",{children:"• Edit, feature, delete"})]})]}),y.jsxs("div",{className:"p-3 rounded-lg bg-secondary/30",children:[y.jsxs("h5",{className:"font-medium text-sm mb-2 flex items-center gap-2",children:[y.jsx(dh,{className:"w-4 h-4 text-green-500"}),"Email System"]}),y.jsxs("ul",{className:"text-xs text-muted-foreground space-y-1",children:[y.jsx("li",{children:"• Email templates"}),y.jsx("li",{children:"• Delivery logs"}),y.jsx("li",{children:"• Error tracking"})]})]}),y.jsxs("div",{className:"p-3 rounded-lg bg-secondary/30",children:[y.jsxs("h5",{className:"font-medium text-sm mb-2 flex items-center gap-2",children:[y.jsx(Al,{className:"w-4 h-4 text-cyan-500"}),"Data Management"]}),y.jsxs("ul",{className:"text-xs text-muted-foreground space-y-1",children:[y.jsx("li",{children:"• CSV import/export"}),y.jsx("li",{children:"• SQL import (admin)"}),y.jsx("li",{children:"• Bulk operations"})]})]}),y.jsxs("div",{className:"p-3 rounded-lg bg-secondary/30",children:[y.jsxs("h5",{className:"font-medium text-sm mb-2 flex items-center gap-2",children:[y.jsx(fh,{className:"w-4 h-4 text-gray-500"}
180),"Site Settings"]}),y.jsxs("ul",{className:"text-xs text-muted-foreground space-y-1",children:[y.jsx("li",{children:"• Hero slides manager"}),y.jsx("li",{children:"• Testimonials"}),y.jsx("li",{children:"• Legal pages, filters"})]})]})]})})]}),y.jsxs(ya,{children:[y.jsx(_a,{children:y.jsxs(xa,{className:"flex items-center gap-2",children:[y.jsx(Al,{className:"w-5 h-5 text-primary"}),"Technical Services"]})}),y.jsxs(Na,{className:"space-y-6",children:[y.jsxs("div",{children:[y.jsx("h4",{className:"font-medium mb-3",children:"Database Tables"}),y.jsx("div",{className:"flex flex-wrap gap-2",children:["artists","projects","project_images","jobs","opportunity_applications","application_messages","application_events","profiles","user_roles","user_likes","user_collections","collection_items","booking_requests","notifications","hero_slides","articles","testimonials","site_settings","email_logs","view_tracking","contact_messages"].map(l=>y.jsx(cn,{variant:"outline",className:"text-xs",children:l},l))})]}),y.jsx(us,{}),y.jsxs("div",{children:[y.jsx("h4",{className:"font-medium mb-3",children:"Edge Functions"}),y.jsx("div",{className:"flex flex-wrap gap-2",children:["check-subscription","create-checkout","verify-payment","customer-portal","send-email","send-reminders","s3-upload","s3-delete","get-mapbox-token","data-export","user-data-export","sitemap","admin-delete-user","admin-reset-password","cleanup-invalid-filters","get-stripe-invoices","og-meta","auth-email-hook","process-scheduled-deletions","delete-own-account","send-bulk-email","send-password-reset-batch","admin-update-email","resend-webhook"].map(l=>y.jsx(cn,{variant:"secondary",className:"text-xs",children:l},l))})]}),y.jsx(us,{}),y.jsxs("div",{children:[y.jsx("h4",{className:"font-medium mb-3",children:"External Integrations"}),y.jsxs("div",{className:"grid md:grid-cols-2 lg:grid-cols-4 gap-3",children:[y.jsxs("div",{className:"p-3 rounded-lg bg-secondary/30 text-center",children:[y.jsx(gh,{className:"w-5 h-5 mx-auto mb-2"}),y.jsx("h5",{className:"font-medium text-sm",children:"Stripe"}),y.jsx("p",{className:"text-xs text-muted-foreground",children:"Payments & subscriptions"})]}),y.jsxs("div",{className:"p-3 rounded-lg bg-secondary/30 text-center",children:[y.jsx(K1,{className:"w-5 h-5 mx-auto mb-2"}),y.jsx("h5",{className:"font-medium text-sm",children:"Amazon S3"}),y.jsx("p",{className:"text-xs text-muted-foreground",children:"File storage"})]}),y.jsxs("div",{className:"p-3 rounded-lg bg-secondary/30 text-center",children:[y.jsx(J1,{className:"w-5 h-5 mx-auto mb-2"}),y.jsx("h5",{className:"font-medium text-sm",children:"Mapbox"}),y.jsx("p",{className:"text-xs text-muted-foreground",children:"Maps & location"})]}),y.jsxs("div",{className:"p-3 rounded-lg bg-secondary/30 text-center",children:[y.jsx(dh,{className:"w-5 h-5 mx-auto mb-2"}),y.jsx("h5",{className:"font-medium text-sm",children:"Resend"}),y.jsx("p",{className:"text-xs text-muted-foreground",children:"Transactional emails"})]})]})]}),y.jsx(us,{}),y.jsxs("div",{children:[y.jsx("h4",{className:"font-medium mb-3",children:"Key Limits"}),y.jsxs("div",{className:"grid md:grid-cols-3 gap-4 text-sm",children:[y.jsxs("div",{className:"flex justify-between p-2 rounded bg-secondary/30",children:[y.jsx("span",{children:"Projects per artist"}),y.jsx("span",{className:"font-medium",children:"Unlimited"})]}),y.jsxs("div",{className:"flex justify-between p-2 rounded bg-secondary/30",children:[y.jsx("span",{children:"Gallery images"}),y.jsx("span",{className:"font-medium",children:"Unlimited"})]}),y.jsxs("div",{className:"flex justify-between p-2 rounded bg-secondary/30",children:[y.jsx("span",{children:"Free posts (premium)"}),y.jsx("span",{className:"font-medium",children:"2/month"})]}),y.jsxs("div",{className:"flex justify-between p-2 rounded bg-secondary/30",children:[y.jsx("span",{children:"Opportunity expiration"}),y.jsx("span",{className:"font-medium",children:"2 months"})]}),y.jsxs("div",{className:"flex justify-between p-2 rounded bg-secondary/30",children:[y.jsx("span",{children:"Expertise tags"}),y.jsx("span",{className:"font-medium",children:"10 max"})]}),y.jsxs("div",{className:"flex justify-between p-2 rounded bg-secondary/30",children:[y.jsx("span",{children:"Software tags"}),y.jsx("span",{className:"font-medium",children:"10 max"})]})]})]})]})]})]})]})}),y.jsx(Y1,{})]}):y.jsx(ch,{to:"/",replace:!0}):y.jsx(ch,{to:"/auth?redirect=/admin/documentation",replace:!0})};export{mp as default};

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