vendor: 14,931 bytes, lines 1-2
1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/pdf-support-B2HbQoq9.js","assets/highlight-vendor-B02IS9i6.js","assets/highlight-vendor-D0tWQueH.css"])))=>i.map(i=>d[i]); 2var xl=Object.defineProperty;var _l=(r,t,n)=>t in r?xl(r,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):r[t]=n;var Ae=(r,t,n)=>_l(r,typeof t!="symbol"?t+"":t,n);import{I as Wo,i as Sl,_ as Se,a as Ho,z as to}from"./pdf-support-B2HbQoq9.js";import{_ as Us}from"./monaco-editor-Bqmj34hQ.js";import"./highlight-vendor-B02IS9i6.js";function Vo(r,t="utf8"){return new TextDecoder(t).decode(r)}const Pl=new TextEncoder;function kl(r){return Pl.encode(r)}const Fl=1024*8,Il=(()=>{const r=new Uint8Array(4),t=new Uint32Array(r.buffer);return!((t[0]=1)&r[0])})(),zs={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 ao{constructor(t=Fl,n={}){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 a=!1;typeof t=="number"?t=new ArrayBuffer(t):(a=!0,this.lastWrittenByte=t.byteLength);const s=n.offset?n.offset>>>0:0,o=t.byteLength-s;let d=s;(ArrayBuffer.isView(t)||t instanceof ao)&&(t.byteLength!==t.buffer.byteLength&&(d=t.byteOffset+s),t=t.buffer),a?this.lastWrittenByte=o:this.lastWrittenByte=0,this.buffer=t,this.length=o,this.byteLength=o,this.byteOffset=d,this.offset=0,this.littleEndian=!0,this._data=new DataView(this.buffer,d,o),this._mark=0,this._marks=[]}available(t=1){return this.offset+t<=this.length}isLittleEndian(){return this.littleEndian}setLittleEndian(){return this.littleEndian=!0,this}isBigEndian(){return!this.littleEndian}setBigEndian(){return this.littleEndian=!1,this}skip(t=1){return this.offset+=t,this}back(t=1){return this.offset-=t,this}seek(t){return this.offset=t,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 t=this._marks.pop();if(t===void 0)throw new Error("Mark stack empty");return this.seek(t),this}rewind(){return this.offset=0,this}ensureAvailable(t=1){if(!this.available(t)){const a=(this.offset+t)*2,s=new Uint8Array(a);s.set(new Uint8Array(this.buffer)),this.buffer=s.buffer,this.length=a,this.byteLength=a,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(t=1){return this.readArray(t,"uint8")}readArray(t,n){const a=zs[n].BYTES_PER_ELEMENT*t,s=this.byteOffset+this.offset,o=this.buffer.slice(s,s+a);if(this.littleEndian===Il&&n!=="uint8"&&n!=="int8"){const h=new Uint8Array(this.buffer.slice(s,s+a));h.reverse();const c=new zs[n](h.buffer);return this.offset+=a,c.reverse(),c}const d=new zs[n](o);return this.offset+=a,d}readInt16(){const t=this._data.getInt16(this.offset,this.littleEndian);return this.offset+=2,t}readUint16(){const t=this._data.getUint16(this.offset,this.littleEndian);return this.offset+=2,t}readInt32(){const t=this._data.getInt32(this.offset,this.littleEndian);return this.offset+=4,t}readUint32(){const t=this._data.getUint32(this.offset,this.littleEndian);return this.offset+=4,t}readFloat32(){const t=this._data.getFloat32(this.offset,this.littleEndian);return this.offset+=4,t}readFloat64(){const t=this._data.getFloat64(this.offset,this.littleEndian);return this.offset+=8,t}readBigInt64(){const t=this._data.getBigInt64(this.offset,this.littleEndian);return this.offset+=8,t}readBigUint64(){const t=this._data.getBigUint64(this.offset,this.littleEndian);return this.offset+=8,t}readChar(){return String.fromCharCode(this.readInt8())}readChars(t=1){let n="";for(let a=0;a<t;a++)n+=this.readChar();return n}readUtf8(t=1){return Vo(this.readBytes(t))}decodeText(t=1,n="utf8"){return Vo(this.readBytes(t),n)}writeBoolean(t){return this.writeUint8(t?255:0),this}writeInt8(t){return this.ensureAvailable(1),this._data.setInt8(this.offset++,t),this._updateLastWrittenByte(),this}writeUint8(t){return this.ensureAvailable(1),this._data.setUint8(this.offset++,t),this._updateLastWrittenByte(),this}writeByte(t){return this.writeUint8(t)}writeBytes(t){this.ensureAvailable(t.length);for(let n=0;n<t.length;n++)this._data.setUint8(this.offset++,t[n]);return this._updateLastWrittenByte(),this}writeInt16(t){return this.ensureAvailable(2),this._data.setInt16(this.offset,t,this.littleEndian),this.offset+=2,this._updateLastWrittenByte(),this}writeUint16(t){return this.ensureAvailable(2),this._data.setUint16(this.offset,t,this.littleEndian),this.offset+=2,this._updateLastWrittenByte(),this}writeInt32(t){return this.ensureAvailable(4),this._data.setInt32(this.offset,t,this.littleEndian),this.offset+=4,this._updateLastWrittenByte(),this}writeUint32(t){return this.ensureAvailable(4),this._data.setUint32(this.offset,t,this.littleEndian),this.offset+=4,this._updateLastWrittenByte(),this}writeFloat32(t){return this.ensureAvailable(4),this._data.setFloat32(this.offset,t,this.littleEndian),this.offset+=4,this._updateLastWrittenByte(),this}writeFloat64(t){return this.ensureAvailable(8),this._data.setFloat64(this.offset,t,this.littleEndian),this.offset+=8,this._updateLastWrittenByte(),this}writeBigInt64(t){return this.ensureAvailable(8),this._data.setBigInt64(this.offset,t,this.littleEndian),this.offset+=8,this._updateLastWrittenByte(),this}writeBigUint64(t){return this.ensureAvailable(8),this._data.setBigUint64(this.offset,t,this.littleEndian),this.offset+=8,this._updateLastWrittenByte(),this}writeChar(t){return this.writeUint8(t.charCodeAt(0))}writeChars(t){for(let n=0;n<t.length;n++)this.writeUint8(t.charCodeAt(n));return this}writeUtf8(t){return this.writeBytes(kl(t))}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)}}const yu=[];for(let r=0;r<256;r++){let t=r;for(let n=0;n<8;n++)t&1?t=3988292384^t>>>1:t=t>>>1;yu[r]=t}const Go=4294967295;function Cl(r,t,n){let a=r;for(let s=0;s<n;s++)a=yu[(a^t[s])&255]^a>>>8;return a}function jl(r,t){return(Cl(Go,r,t)^Go)>>>0}function Yo(r,t,n){const a=r.readUint32(),s=jl(new Uint8Array(r.buffer,r.byteOffset+r.offset-t-4,t),t);if(s!==a)throw new Error(`CRC mismatch for chunk ${n}. Expected ${a}, found ${s}`)}function Au(r,t,n){for(let a=0;a<n;a++)t[a]=r[a]}function Nu(r,t,n,a){let s=0;for(;s<a;s++)t[s]=r[s];for(;s<n;s++)t[s]=r[s]+t[s-a]&255}function Lu(r,t,n,a){let s=0;if(n.length===0)for(;s<a;s++)t[s]=r[s];else for(;s<a;s++)t[s]=r[s]+n[s]&255}function xu(r,t,n,a,s){let o=0;if(n.length===0){for(;o<s;o++)t[o]=r[o];for(;o<a;o++)t[o]=r[o]+(t[o-s]>>1)&255}else{for(;o<s;o++)t[o]=r[o]+(n[o]>>1)&255;for(;o<a;o++)t[o]=r[o]+(t[o-s]+n[o]>>1)&255}}function _u(r,t,n,a,s){let o=0;if(n.length===0){for(;o<s;o++)t[o]=r[o];for(;o<a;o++)t[o]=r[o]+t[o-s]&255}else{for(;o<s;o++)t[o]=r[o]+n[o]&255;for(;o<a;o++)t[o]=r[o]+Ol(t[o-s],n[o],n[o-s])&255}}function Ol(r,t,n){const a=r+t-n,s=Math.abs(a-r),o=Math.abs(a-t),d=Math.abs(a-n);return s<=o&&s<=d?r:o<=d?t:n}function El(r,t,n,a,s,o){switch(r){case 0:Au(t,n,s);break;case 1:Nu(t,n,s,o);break;case 2:Lu(t,n,a,s);break;case 3:xu(t,n,a,s,o);break;case 4:_u(t,n,a,s,o);break;default:throw new Error(`Unsupported filter: ${r}`)}}const Bl=new Uint16Array([255]),Ml=new Uint8Array(Bl.buffer),Rl=Ml[0]===255;function Tl(r){const{data:t,width:n,height:a,channels:s,depth:o}=r,d=[{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}],h=Math.ceil(o/8)*s,c=new Uint8Array(a*n*h);let v=0;for(let A=0;A<7;A++){const x=d[A],O=Math.ceil((n-x.x)/x.xStep),p=Math.ceil((a-x.y)/x.yStep);if(O<=0||p<=0)continue;const R=O*h,E=new Uint8Array(R);for(let q=0;q<p;q++){const I=t[v++],$=t.subarray(v,v+R);v+=R;const Z=new Uint8Array(R);El(I,$,Z,E,R,h),E.set(Z);for(let tt=0;tt<O;tt++){const wt=x.x+tt*x.xStep,Lt=x.y+q*x.yStep;if(!(wt>=n||Lt>=a))for(let Tt=0;Tt<h;Tt++)c[(Lt*n+wt)*h+Tt]=Z[tt*h+Tt]}}}if(o===16){const A=new Uint16Array(c.buffer);if(Rl)for(let x=0;x<A.length;x++)A[x]=ql(A[x]);return A}else return c}function ql(r){return(r&255)<<8|r>>8&255}const Dl=new Uint16Array([255]),Ul=new Uint8Array(Dl.buffer),zl=Ul[0]===255,Wl=new Uint8Array(0);function Jo(r){const{data:t,width:n,height:a,channels:s,depth:o}=r,d=Math.ceil(o/8)*s,h=Math.ceil(o/8*s*n),c=new Uint8Array(a*h);let v=Wl,A=0,x,O;for(let p=0;p<a;p++){switch(x=t.subarray(A+1,A+1+h),O=c.subarray(p*h,(p+1)*h),t[A]){case 0:Au(x,O,h);break;case 1:Nu(x,O,h,d);break;case 2:Lu(x,O,v,h);break;case 3:xu(x,O,v,h,d);break;case 4:_u(x,O,v,h,d);break;default:throw new Error(`Unsupported filter: ${t[A]}`)}v=O,A+=h+1}if(o===16){const p=new Uint16Array(c.buffer);if(zl)for(let R=0;R<p.length;R++)p[R]=Hl(p[R]);return p}else return c}function Hl(r){return(r&255)<<8|r>>8&255}const $a=Uint8Array.of(137,80,78,71,13,10,26,10);function Xo(r){if(!Vl(r.readBytes($a.length)))throw new Error("wrong PNG signature")}function Vl(r){if(r.length<$a.length)return!1;for(let t=0;t<$a.length;t++)if(r[t]!==$a[t])return!1;return!0}const Gl="tEXt",Yl=0,Su=new TextDecoder("latin1");function Jl(r){if(Kl(r),r.length===0||r.length>79)throw new Error("keyword length must be between 1 and 79")}const Xl=/^[\u0000-\u00FF]*$/;function Kl(r){if(!Xl.test(r))throw new Error("invalid latin1 text")}function $l(r,t,n){const a=Pu(t);r[a]=Zl(t,n-a.length-1)}function Pu(r){for(r.mark();r.readByte()!==Yl;);const t=r.offset;r.reset();const n=Su.decode(r.readBytes(t-r.offset-1));return r.skip(1),Jl(n),n}function Zl(r,t){return Su.decode(r.readBytes(t))}const En={UNKNOWN:-1,GREYSCALE:0,TRUECOLOUR:2,INDEXED_COLOUR:3,GREYSCALE_ALPHA:4,TRUECOLOUR_ALPHA:6},Ws={UNKNOWN:-1,DEFLATE:0},Ko={UNKNOWN:-1,ADAPTIVE:0},Hs={UNKNOWN:-1,NO_INTERLACE:0,ADAM7:1},Ya={NONE:0,BACKGROUND:1,PREVIOUS:2},Vs={SOURCE:0,OVER:1};class Ql extends ao{constructor(n,a={}){super(n);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:s=!1}=a;this._checkCrc=s,this._inflator=new Wo,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=Ws.UNKNOWN,this._filterMethod=Ko.UNKNOWN,this._interlaceMethod=Hs.UNKNOWN,this._colorType=En.UNKNOWN,this._isAnimated=!1,this._numberOfFrames=1,this._numberOfPlays=0,this._frames=[],this._writingDataChunks=!1,this.setBigEndian()}decode(){for(Xo(this);!this._end;){const n=this.readUint32(),a=this.readChars(4);this.decodeChunk(n,a)}return this.decodeImage(),this._png}decodeApng(){for(Xo(this);!this._end;){const n=this.readUint32(),a=this.readChars(4);this.decodeApngChunk(n,a)}return this.decodeApngImage(),this._apng}decodeChunk(n,a){const s=this.offset;switch(a){case"IHDR":this.decodeIHDR();break;case"PLTE":this.decodePLTE(n);break;case"IDAT":this.decodeIDAT(n);break;case"IEND":this._end=!0;break;case"tRNS":this.decodetRNS(n);break;case"iCCP":this.decodeiCCP(n);break;case Gl:$l(this._png.text,this,n);break;case"pHYs":this.decodepHYs();break;default:this.skip(n);break}if(this.offset-s!==n)throw new Error(`Length mismatch while decoding chunk ${a}`);this._checkCrc?Yo(this,n+4,a):this.skip(4)}decodeApngChunk(n,a){const s=this.offset;switch(a!=="fdAT"&&a!=="IDAT"&&this._writingDataChunks&&this.pushDataToFrame(),a){case"acTL":this.decodeACTL();break;case"fcTL":this.decodeFCTL();break;case"fdAT":this.decodeFDAT(n);break;default:this.decodeChunk(n,a),this.offset=s+n;break}if(this.offset-s!==n)throw new Error(`Length mismatch while decoding chunk ${a}`);this._checkCrc?Yo(this,n+4,a):this.skip(4)}decodeIHDR(){const n=this._png;n.width=this.readUint32(),n.height=this.readUint32(),n.depth=th(this.readUint8());const a=this.readUint8();this._colorType=a;let s;switch(a){case En.GREYSCALE:s=1;break;case En.TRUECOLOUR:s=3;break;case En.INDEXED_COLOUR:s=1;break;case En.GREYSCALE_ALPHA:s=2;break;case En.TRUECOLOUR_ALPHA:s=4;break;case En.UNKNOWN:default:throw new Error(`Unknown color type: ${a}`)}if(this._png.channels=s,this._compressionMethod=this.readUint8(),this._compressionMethod!==Ws.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 n={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(n)}decodePLTE(n){if(n%3!==0)throw new RangeError(`PLTE field length must be a multiple of 3. Got ${n}`);const a=n/3;this._hasPalette=!0;const s=[];this._palette=s;for(let o=0;o<a;o++)s.push([this.readUint8(),this.readUint8(),this.readUint8()])}decodeIDAT(n){this._writingDataChunks=!0;const a=n,s=this.offset+this.byteOffset;if(this._inflator.push(new Uint8Array(this.buffer,s,a)),this._inflator.err)throw new Error(`Error while decompressing the data: ${this._inflator.err}`);this.skip(n)}decodeFDAT(n){this._writingDataChunks=!0;let a=n,s=this.offset+this.byteOffset;if(s+=4,a-=4,this._inflator.push(new Uint8Array(this.buffer,s,a)),this._inflator.err)throw new Error(`Error while decompressing the data: ${this._inflator.err}`);this.skip(n)}decodetRNS(n){switch(this._colorType){case En.GREYSCALE:case En.TRUECOLOUR:{if(n%2!==0)throw new RangeError(`tRNS chunk length must be a multiple of 2. Got ${n}`);if(n/2>this._png.width*this._png.height)throw new Error(`tRNS chunk contains more alpha values than there are pixels (${n/2} vs ${this._png.width*this._png.height})`);this._hasTransparency=!0,this._transparency=new Uint16Array(n/2);for(let a=0;a<n/2;a++)this._transparency[a]=this.readUint16();break}case En.INDEXED_COLOUR:{if(n>this._palette.length)throw new Error(`tRNS chunk contains more alph
2a values than there are palette colors (${n} vs ${this._palette.length})`);let a=0;for(;a<n;a++){const s=this.readByte();this._palette[a].push(s)}for(;a<this._palette.length;a++)this._palette[a].push(255);break}case En.UNKNOWN:case En.GREYSCALE_ALPHA:case En.TRUECOLOUR_ALPHA:default:throw new Error(`tRNS chunk is not supported for color type ${this._colorType}`)}}decodeiCCP(n){const a=Pu(this),s=this.readUint8();if(s!==Ws.DEFLATE)throw new Error(`Unsupported iCCP compression method: ${s}`);const o=this.readBytes(n-a.length-2);this._png.iccEmbeddedProfile={name:a,profile:Sl(o)}}decodepHYs(){const n=this.readUint32(),a=this.readUint32(),s=this.readByte();this._png.resolution={x:n,y:a,unit:s}}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 n=0;n<this._numberOfFrames;n++){const a={sequenceNumber:this._frames[n].sequenceNumber,delayNumber:this._frames[n].delayNumber,delayDenominator:this._frames[n].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)},s=this._frames.at(n);if(s){if(s.data=Jo({data:s.data,width:s.width,height:s.height,channels:this._apng.channels,depth:this._apng.depth}),this._hasPalette&&(this._apng.palette=this._palette),this._hasTransparency&&(this._apng.transparency=this._transparency),n===0||s.xOffset===0&&s.yOffset===0&&s.width===this._png.width&&s.height===this._png.height)a.data=s.data;else{const o=this._apng.frames.at(n-1);this.disposeFrame(s,o,a),this.addFrameDataToCanvas(a,s)}this._apng.frames.push(a)}}return this._apng}disposeFrame(n,a,s){switch(n.disposeOp){case Ya.NONE:break;case Ya.BACKGROUND:for(let o=0;o<this._png.height;o++)for(let d=0;d<this._png.width;d++){const h=(o*n.width+d)*this._png.channels;for(let c=0;c<this._png.channels;c++)s.data[h+c]=0}break;case Ya.PREVIOUS:s.data.set(a.data);break;default:throw new Error("Unknown disposeOp")}}addFrameDataToCanvas(n,a){const s=1<<this._png.depth,o=(d,h)=>{const c=((d+a.yOffset)*this._png.width+a.xOffset+h)*this._png.channels,v=(d*a.width+h)*this._png.channels;return{index:c,frameIndex:v}};switch(a.blendOp){case Vs.SOURCE:for(let d=0;d<a.height;d++)for(let h=0;h<a.width;h++){const{index:c,frameIndex:v}=o(d,h);for(let A=0;A<this._png.channels;A++)n.data[c+A]=a.data[v+A]}break;case Vs.OVER:for(let d=0;d<a.height;d++)for(let h=0;h<a.width;h++){const{index:c,frameIndex:v}=o(d,h);for(let A=0;A<this._png.channels;A++){const x=a.data[v+this._png.channels-1]/s,O=A%(this._png.channels-1)===0?1:a.data[v+A],p=Math.floor(x*O+(1-x)*n.data[c+A]);n.data[c+A]+=p}}break;default:throw new Error("Unknown blendOp")}}decodeImage(){if(this._inflator.err)throw new Error(`Error while decompressing the data: ${this._inflator.err}`);const n=this._isAnimated?(this._frames?.at(0)).data:this._inflator.result;if(this._filterMethod!==Ko.ADAPTIVE)throw new Error(`Filter method ${this._filterMethod} not supported`);if(this._interlaceMethod===Hs.NO_INTERLACE)this._png.data=Jo({data:n,width:this._png.width,height:this._png.height,channels:this._png.channels,depth:this._png.depth});else if(this._interlaceMethod===Hs.ADAM7)this._png.data=Tl({data:n,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 n=this._inflator.result,a=this._frames.at(-1);a?a.data=n:this._frames.push({sequenceNumber:0,width:this._png.width,height:this._png.height,xOffset:0,yOffset:0,delayNumber:0,delayDenominator:0,disposeOp:Ya.NONE,blendOp:Vs.SOURCE,data:n}),this._inflator=new Wo,this._writingDataChunks=!1}}function th(r){if(r!==1&&r!==2&&r!==4&&r!==8&&r!==16)throw new Error(`invalid bit depth: ${r}`);return r}var $o;(function(r){r[r.UNKNOWN=0]="UNKNOWN",r[r.METRE=1]="METRE"})($o||($o={}));function eh(r,t){return new Ql(r,t).decode()}var Xt=(function(){return typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:this})();function Gs(){Xt.console&&typeof Xt.console.log=="function"&&Xt.console.log.apply(Xt.console,arguments)}var _e={log:Gs,warn:function(r){Xt.console&&(typeof Xt.console.warn=="function"?Xt.console.warn.apply(Xt.console,arguments):Gs.call(null,arguments))},error:function(r){Xt.console&&(typeof Xt.console.error=="function"?Xt.console.error.apply(Xt.console,arguments):Gs(r))}};function Ys(r,t,n){var a=new XMLHttpRequest;a.open("GET",r),a.responseType="blob",a.onload=function(){ui(a.response,t,n
vendor: 3,517 bytes, line 2
2)},a.onerror=function(){_e.error("could not download file")},a.send()}function Zo(r){var t=new XMLHttpRequest;t.open("HEAD",r,!1);try{t.send()}catch{}return t.status>=200&&t.status<=299}function Ja(r){try{r.dispatchEvent(new MouseEvent("click"))}catch{var t=document.createEvent("MouseEvents");t.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),r.dispatchEvent(t)}}var ui=Xt.saveAs||((typeof window>"u"?"undefined":Se(window))!=="object"||window!==Xt?function(){}:typeof HTMLAnchorElement<"u"&&"download"in HTMLAnchorElement.prototype?function(r,t,n){var a=Xt.URL||Xt.webkitURL,s=document.createElement("a");t=t||r.name||"download",s.download=t,s.rel="noopener",typeof r=="string"?(s.href=r,s.origin!==location.origin?Zo(s.href)?Ys(r,t,n):Ja(s,s.target="_blank"):Ja(s)):(s.href=a.createObjectURL(r),setTimeout(function(){a.revokeObjectURL(s.href)},4e4),setTimeout(function(){Ja(s)},0))}:"msSaveOrOpenBlob"in navigator?function(r,t,n){if(t=t||r.name||"download",typeof r=="string")if(Zo(r))Ys(r,t,n);else{var a=document.createElement("a");a.href=r,a.target="_blank",setTimeout(function(){Ja(a)})}else navigator.msSaveOrOpenBlob((function(s,o){return o===void 0?o={autoBom:!1}:Se(o)!=="object"&&(_e.warn("Deprecated: Expected third argument to be a object"),o={autoBom:!o}),o.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(s.type)?new Blob(["\uFEFF",s],{type:s.type}):s})(r,n),t)}:function(r,t,n,a){if((a=a||open("","_blank"))&&(a.document.title=a.document.body.innerText="downloading..."),typeof r=="string")return Ys(r,t,n);var s=r.type==="application/octet-stream",o=/constructor/i.test(Xt.HTMLElement)||Xt.safari,d=/CriOS\/[\d]+/.test(navigator.userAgent);if((d||s&&o)&&(typeof FileReader>"u"?"undefined":Se(FileReader))==="object"){var h=new FileReader;h.onloadend=function(){var A=h.result;A=d?A:A.replace(/^data:[^;]*;/,"data:attachment/file;"),a?a.location.href=A:location=A,a=null},h.readAsDataURL(r)}else{var c=Xt.URL||Xt.webkitURL,v=c.createObjectURL(r);a?a.location=v:location.href=v,a=null,setTimeout(function(){c.revokeObjectURL(v)},4e4)}});function ku(r){var t;r=r||"",this.ok=!1,r.charAt(0)=="#"&&(r=r.substr(1,6)),r={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
20",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"}[r=(r=r.replace(/ /g,"")).toLowerCase()]||r;for(var n=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(h){return[parseInt(h[1]),parseInt(h[2]),parseInt(h[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(h){return[parseInt(h[1],16),parseInt(h[2],16),parseInt(h[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(h){return[parseInt(h[1]+h[1],16),parseInt(h[2]+h[2],16),parseInt(h[3]+h[3],16)]}}],a=0;a<n.length;a++){var s=n[a].re,o=n[a].process,d=s.exec(r);d&&(t=o(d),this.r=t[0],this.g=t[1],this.b=t[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 h=this.r.toString(16),c=this.g.toString(16),v=this.b.toString(16);return h.length==1&&(h="0"+h),c.length==1&&(c="0"+c),v.length==1&&(v="0"+v),"#"+h+c+v}}var Za=Xt.atob.bind(Xt),Qo=Xt.btoa.bind(Xt);function Js(r,t){var n=r[0],a=r[1],s=r[2],o=r[3];n=pn(n,a,s,o,t[0],7,-680876936),o=pn(o,n,a,s,t[1],12,-389564586),s=pn(s,o,n,a,t[2],17,606105819),a=pn(a,s,o,n,t[3],22,-1044525330),n=pn(n,a,s,o,t[4],7,-176418897),o=pn(o,n,a,s,t[5],12,1200080426),s=pn(s,o,n,a,t[6],17,-1473231341),a=pn(a,s,o,n,t[7],22,-45705983),n=pn(n,a,s,o,t[8],7,1770035416),o=pn(o,n,a,s,t[9],12,-1958414417),s=pn(s,o,n,a,t[10],17,-42063),a=pn(a,s,o,n,t[11],22,-1990404162),n=pn(n,a,s,o,t[12],7,1804603682),o=pn(o,n,a,s,t[13],12,-40341101),s=pn(s,o,n,a,t[14],17,-1502002290),n=gn(n,a=pn(a,s,o,n,t[15],22,1236535329),s,o,t[1],5,-165796510),o=gn(o,n,a,s,t[6],9,-1069501632),s=gn(s,o,n,a,t[11],14,643717713),a=gn(a,s,o,n,t[0],20,-373897302),n=gn(n,a,s,o,t[5],5,-701558691),o=gn(o,n,a,s,t[10],9,38016083),s=gn(s,o,n,a,t[15],14,-660478335),a=gn(a,s,o,n,t[4],20,-405537848),n=gn(n,a,s,o,t[9],5,568446438),o=gn(o,n,a,s,t[14],9,-1019803690),s=gn(s,o,n,a,t[3],14,-187363961),a=gn(a,s,o,n,t[8],20,1163531501),n=gn(n,a,s,o,t[13],5,-1444681467),o=gn(o,n,a,s,t[2],9,-51403784),s=gn(s,o,n,a,t[7],14,1735328473),n=mn(n,a=gn(a,s,o,n,t[12],20,-1926607734),s,o,t[5],4,-378558),o=mn(o,n,a,s,t[8],11,-2022574463),s=mn(s,o,n,a,t[11],16,1839030562),a=mn(a,s,o,n,t[14],23,-35309556),n=mn(n,a,s,o,t[1],4,-1530992060),o=mn(o,n,a,s,t[4],11,1272893353),s=mn(s,o,n,a,t[7],16,-155497632),a=mn(a,s,o,n,t[10],23,-1094730640),n=mn(n,a,s,o,t[13],4,681279174),o=mn(o,n,a,s,t[0],11,-358537222),s=mn(s,o,n,a,t[3],16,-722521979),a=mn(a,s,o,n,t[6],23,76029189),n=mn(n,a,s,o,t[9],4,-640364487),o=mn(o,n,a,s,t[12],11,-421815835),s=mn(s,o,n,a,t[15],16,530742520),n=vn(n,a=mn(a,s,o,n,t[2],23,-995338651),s,o,t[0],6,-198630844),o=vn(o,n,a,s,t[7],10,1126891415),s=vn(s,o,n,a,t[14],15,-1416354905),a=vn(a,s,o,n,t[5],21,-57434055),n=vn(n,a,s,o,t[12],6,1700485571),o=vn(o,n,a,s,t[3],10,-1894986606),s=vn(s,o,n,a,t[10],15,-1051523),a=vn(a,s,o,n,t[1],21,-2054922799),n=vn(n,a,s,o,t[8],6,1873313359),o=vn(o,n,a,s,t[15],10,-30611744),s=vn(s,o,n,a,t[6],15,-1560198380),a=vn(a,s,o,n,t[13],21,1309151649),n=vn(n,a,s,o,t[4],6,-145523070),o=vn(o,n,a,s,t[11],10,-1120210379),s=vn(s,o,n,a,t[2],15,718787259),a=vn(a,s,o,n,t[9],21,-343485551),r[0]=Ur(n,r[0]),r[1]=Ur(a,r[1]),r[2]=Ur(s,r[2]),r[3]=Ur(o,r[3])}function as(r,t,n,a,s,o){return t=Ur(Ur(t,r),Ur(a,o)),Ur(t<<s|t>>>32-s,n)}function pn(r,t,n,a,s,o,d){return as(t&n|~t&a,r,t,s,o,d)}function gn(r,t,n,a,s,o,d){return as(t&a|n&~a,r,t,s,o,d)}function mn(r,t,n,a,s,o,d){return as(t^n^a,r,t,s,o,d)}function vn(r,t,n,a,s,o,d){return as(n^(t|~a),r,t,s,o,d)}function Fu(r){var t,n=r.length,a=[1732584193,-271733879,-1732584194,271733878];for(t=64;t<=r.length;t+=64)Js(a,nh(r.substring(t-64,t)));r=r.substring(t-64);var s=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(t=0;t<r.length;t++)s[t>>2]|=r.charCodeAt(t)<<(t%4<<3);if(s[t>>2]|=128<<(t%4<<3),t>55)for(Js(a,s),t=0;t<16;t++)s[t]=0;return s[14]=8*n,Js(a,s),a}function nh(r){var t,n=[];for(t=0;t<64;t+=4)n[t>>2]=r.charCodeAt(t)+(r.charCodeAt(t+1)<<8)+(r.charCodeAt(t+2)<<16)+(r.charCodeAt(t+3)<<24);return n}var tu="0123456789abcdef".split("");function rh(r){for(var t="",n=0;n<4;n++)t+=tu[r>>8*n+4&15]+tu[r>>8*n&15];return t}function ih(r){return String.fromCharCode(255&r,(65280&r)>>8,(16711680&r)>>16,(4278190080&r)>>24)}function eo(r){return Fu(r).map(ih).join("")}var ah=(function(r){for(var t=0;t<r.length;t++)r[t]=rh(r[t]);return r.join("")})(Fu("hello"))!="5d41402abc4b2a76b9719d911017c592";function Ur(r,t){if(ah){var n=(65535&r)+(65535&t);return(r>>16)+(t>>16)+(n>>16)<<16|65535&n}return r+t&4294967295}function no(r,t){var n,a,s,o;
vendor: 11,294 bytes, line 2
2if(r!==n){for(var d=(s=r,o=1+(256/r.length|0),new Array(o+1).join(s)),h=[],c=0;c<256;c++)h[c]=c;var v=0;for(c=0;c<256;c++){var A=h[c];v=(v+A+d.charCodeAt(c))%256,h[c]=h[v],h[v]=A}n=r,a=h}else h=a;var x=t.length,O=0,p=0,R="";for(c=0;c<x;c++)p=(p+(A=h[O=(O+1)%256]))%256,h[O]=h[p],h[p]=A,d=h[(h[O]+h[p])%256],R+=String.fromCharCode(t.charCodeAt(c)^d);return R}var eu={print:4,modify:8,copy:16,"annot-forms":32};function Ri(r,t,n,a){this.v=1,this.r=2;var s=192;r.forEach(function(h){if(eu.perm!==void 0)throw new Error("Invalid permission: "+h);s+=eu[h]}),this.padding="(¿N^NuÂAd\0NVÿú�\b..\0¶Ãh>Â/\f©þdSiz";var o=(t+this.padding).substr(0,32),d=(n+this.padding).substr(0,32);this.O=this.processOwnerPassword(o,d),this.P=-(1+(255^s)),this.encryptionKey=eo(o+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(a)).substr(0,5),this.U=no(this.encryptionKey,this.padding)}function Ti(r){if(/[^\u0000-\u00ff]/.test(r))throw new Error("Invalid PDF Name Object: "+r+", Only accept ASCII characters.");for(var t="",n=r.length,a=0;a<n;a++){var s=r.charCodeAt(a);t+=s<33||s===35||s===37||s===40||s===41||s===47||s===60||s===62||s===91||s===93||s===123||s===125||s>126?"#"+("0"+s.toString(16)).slice(-2):r[a]}return t}function nu(r){if(Se(r)!=="object")throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var t={};this.subscribe=function(n,a,s){if(s=s||!1,typeof n!="string"||typeof a!="function"||typeof s!="boolean")throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");t.hasOwnProperty(n)||(t[n]={});var o=Math.random().toString(35);return t[n][o]=[a,!!s],o},this.unsubscribe=function(n){for(var a in t)if(t[a][n])return delete t[a][n],Object.keys(t[a]).length===0&&delete t[a],!0;return!1},this.publish=function(n){if(t.hasOwnProperty(n)){var a=Array.prototype.slice.call(arguments,1),s=[];for(var o in t[n]){var d=t[n][o];try{d[0].apply(r,a)}catch(h){Xt.console&&_e.error("jsPDF PubSub Error",h.message,h)}d[1]&&s.push(o)}s.length&&s.forEach(this.unsubscribe)}},this.getTopics=function(){return t}}function rs(r){if(!(this instanceof rs))return new rs(r);var t="opacity,stroke-opacity".split(",");for(var n in r)r.hasOwnProperty(n)&&t.indexOf(n)>=0&&(this[n]=r[n]);this.id="",this.objectNumber=-1}function Iu(r,t){this.gState=r,this.matrix=t,this.id="",this.objectNumber=-1}function li(r,t,n,a,s){if(!(this instanceof li))return new li(r,t,n,a,s);this.type=r==="axial"?2:3,this.coords=t,this.colors=n,Iu.call(this,a,s)}function qi(r,t,n,a,s){if(!(this instanceof qi))return new qi(r,t,n,a,s);this.boundingBox=r,this.xStep=t,this.yStep=n,this.stream="",this.cloneIndex=0,Iu.call(this,a,s)}function Rt(r){var t,n=typeof arguments[0]=="string"?arguments[0]:"p",a=arguments[1],s=arguments[2],o=arguments[3],d=[],h=1,c=16,v="S",A=null;Se(r=r||{})==="object"&&(n=r.orientation,a=r.unit||a,s=r.format||s,o=r.compress||r.compressPdf||o,(A=r.encryption||null)!==null&&(A.userPassword=A.userPassword||"",A.ownerPassword=A.ownerPassword||"",A.userPermissions=A.userPermissions||[]),h=typeof r.userUnit=="number"?Math.abs(r.userUnit):1,r.precision!==void 0&&(t=r.precision),r.floatPrecision!==void 0&&(c=r.floatPrecision),v=r.defaultPathOperation||"S"),d=r.filters||(o===!0?["FlateEncode"]:d),a=a||"mm",n=(""+(n||"P")).toLowerCase();var x=r.putOnlyUsedFonts||!1,O={},p={internal:{},__private__:{}};p.__private__.PubSub=nu;var R="1.3",E=p.__private__.getPdfVersion=function(){return R};p.__private__.setPdfVersion=function(u){R=u};var q={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 q};var I=p.__private__.getPageFormat=function(u){return q[u]};s=s||"a4";var $="compat",Z="advanced",tt=$;function wt(){this.saveGraphicsState(),_(new Gt(ne,0,0,-ne,0,Xr()*ne).toString()+" cm"),this.setFontSize(this.getFontSize()/ne),v="n",tt=Z}function Lt(){this.restoreGraphicsState(),v="S",tt=$}var Tt=p.__private__.combineFontStyleAndFontWeight=function(u,g){if(u=="bold"&&g=="normal"||u=="bold"&&g==400||u=="normal"&&g=="italic"||u=="bold"&&g=="italic")throw new Error("Invalid Combination of fontweight and fontstyle");return g&&(u=g==400||g==="normal"?u==="italic"?"italic":"normal":g!=700&&g!=="bold"||u!=="normal"?(g==700?"bold":g)+""+u:"bold"),u};p.advancedAPI=function(u){var g=tt===$;return g&&wt.call(this),typeof u!="function"||(u(this),g&&Lt.call(this)),this},p.compatAPI=function(u){var g=tt===Z;return g&&Lt.call(this),typeof u!="function"||(u(this),g&&wt.call(this)),this},p.isAdvancedAPI=function(){return tt===Z};var ot,Y=function(u){if(tt!==Z)throw new Error(u+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},gt=p.roundToPrecision=p.__private__.roundToPrecision=function(u,g){var S=t||g;if(isNaN(u)||isNaN(S))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return u.toFixed(S).replace(/0+$/,"")};ot=p.hpf=p.__private__.hpf=typeof c=="number"?function(u){if(isNaN(u))throw new Error("Invalid argument passed to jsPDF.hpf");return gt(u,c)}:c==="smart"?function(u){if(isNaN(u))throw new Error("Invalid argument passed to jsPDF.hpf");return gt(u,u>-1&&u<1?16:5)}:function(u){if(isNaN(u))throw new Error("Invalid argument passed to jsPDF.hpf");return gt(u,16)};var P=p.f2=p.__private__.f2=function(u){if(isNaN(u))throw new Error("Invalid argument passed to jsPDF.f2");return gt(u,2)},C=p.__private__.f3=function(u){if(isNaN(u))throw new Error("Invalid argument passed to jsPDF.f3");return gt(u,3)},D=p.scale=p.__private__.scale=function(u){if(isNaN(u))throw new Error("Invalid argument passed to jsPDF.scale");return tt===$?u*ne:tt===Z?u:void 0},U=function(u){return D((function(g){return tt===$?Xr()-g:tt===Z?g:void 0})(u))};p.__private__.setPrecision=p.setPrecision=function(u){typeof parseInt(u,10)=="number"&&(t=parseInt(u,10))};var at,lt="00000000000000000000000000000000",ft=p.__private__.getFileId=function(){return lt},Q=p.__private__.setFileId=function(u){return lt=u!==void 0&&/^[a-fA-F0-9]{32}$/.test(u)?u.toUpperCase():lt.split("").map(function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))}).join(""),A!==null&&(an=new Ri(A.userPermissions,A.userPassword,A.ownerPassword,lt)),lt};p.setFileId=function(u){return Q(u),this},p.getFileId=function(){return ft()};var ht=p.__private__.convertDateToPDFDate=function(u){var g=u.getTimezoneOffset(),S=g<0?"+":"-",M=Math.floor(Math.abs(g/60)),H=Math.abs(g%60),rt=[S,B(M),"'",B(H),"'"].join("");return["D:",u.getFullYear(),B(u.getMonth()+1),B(u.getDate()),B(u.getHours()),B(u.getMinutes()),B(u.getSeconds()),rt].join("")},At=p.__private__.convertPDFDateToDate=function(u){var g=parseInt(u.substr(2,4),10),S=parseInt(u.substr(6,2),10)-1,M=parseInt(u.substr(8,2),10),H=parseInt(u.substr(10,2),10),rt=parseInt(u.substr(12,2),10),dt=parseInt(u.substr(14,2),10);return new Date(g,S,M,H,rt,dt,0)},bt=p.__private__.setCreationDate=function(u){var g;if(u===void 0&&(u=new Date),u instanceof Date)g=ht(u);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(u))throw new Error("Invalid argument passed to jsPDF.setCreationDate");g=u}return at=g},y=p.__private__.getCreationDate=function(u){var g=at;return u==="jsDate"&&(g=At(at)),g};p.setCreationDate=function(u){return bt(u),this},p.getCreationDate=function(u){return y(u)};var j,B=p.__private__.padd2=function(u){return("0"+parseInt(u)).slice(-2)},W=p.__private__.padd2Hex=function(u){return("00"+(u=u.toString())).substr(u.length)},V=0,K=[],et=[],nt=0,ct=[],yt=[],_t=!1,St=et;p.__private__.setCustomOutputDestination=function(u){_t=!0,St=u};var zt=function(u){_t||(St=u)};p.__private__.resetCustomOutputDestination=function(){_t=!1,St=et};var _=p.__private__.out=function(u){return u=u.toString(),nt+=u.length+1,St.push(u),St},xt=p.__private__.write=function(u){return _(arguments.length===1?u.toString():Array.prototype.join.call(arguments," "))},ae=p.__private__.getArrayBuffer=function(u){for(var g=u.length,S=new ArrayBuffer(g),M=new Uint8Array(S);g--;)M[g]=u.charCodeAt(g);return S},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 mt=r.fontSize||16;p.__private__.setFontSize=p.setFontSize=function(u){return mt=tt===Z?u/ne:u,this};var Ht,kt=p.__private__.getFontSize=p.getFontSize=function(){return tt===$?mt:mt*ne},Ut=r.R2L||!1;p.__private__.setR2L=p.setR2L=function(u){return Ut=u,this},p.__private__.getR2L=p.getR2L=function(){return Ut};var qt,ve=p.__private__.setZoomMode=function(u){if(/^(?:\d+\.\d*|\d*\.\d+|\d+)%$/.test(u))Ht=u;else if(isNaN(u)){if([void 0,null,"fullwidth","fullheight","fullpage","original"].indexOf(u)===-1)throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+u+'" is not recognized.');Ht=u}else Ht=parseInt(u,10)};p.__private__.getZoomMode=function(){return Ht};var le,Zt=p.__private__.setPageMode=function(u){if([void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(u)==-1)throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+u+'" is not recognized.');qt=u};p.__private__.getPageMode=function(){return qt};var ce=p.__private__.setLayoutMode=function(u){if([void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(u)==-1)throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+u+'" is not recognized.');le=u};p.__private__.getLayoutMode=function(){return le},p.__private__.setDisplayMode=p.setDisplayMode=function(u,g,S){return ve(u),ce(g),Zt(S),this};var he={title:"",subject:"",author:"",keywords:"",creator:""};p.__private__.getDocumentProperty=function(u){if(Object.keys(he).indexOf(u)===-1)throw new Error("Invalid argument passed to
2jsPDF.getDocumentProperty");return he[u]},p.__private__.getDocumentProperties=function(){return he},p.__private__.setDocumentProperties=p.setProperties=p.setDocumentProperties=function(u){for(var g in he)he.hasOwnProperty(g)&&u[g]&&(he[g]=u[g]);return this},p.__private__.setDocumentProperty=function(u,g){if(Object.keys(he).indexOf(u)===-1)throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return he[u]=g};var Et,ne,Mt,Ue,ge,se={},oe={},Oe=[],Dt={},Pe={},Yt={},Qt={},Ee=null,ue=0,Vt=[],be=new nu(p),Wr=r.hotfixes||[],ln={},cr={},Zn=[],Gt=function u(g,S,M,H,rt,dt){if(!(this instanceof u))return new u(g,S,M,H,rt,dt);isNaN(g)&&(g=1),isNaN(S)&&(S=0),isNaN(M)&&(M=0),isNaN(H)&&(H=1),isNaN(rt)&&(rt=0),isNaN(dt)&&(dt=0),this._matrix=[g,S,M,H,rt,dt]};Object.defineProperty(Gt.prototype,"sx",{get:function(){return this._matrix[0]},set:function(u){this._matrix[0]=u}}),Object.defineProperty(Gt.prototype,"shy",{get:function(){return this._matrix[1]},set:function(u){this._matrix[1]=u}}),Object.defineProperty(Gt.prototype,"shx",{get:function(){return this._matrix[2]},set:function(u){this._matrix[2]=u}}),Object.defineProperty(Gt.prototype,"sy",{get:function(){return this._matrix[3]},set:function(u){this._matrix[3]=u}}),Object.defineProperty(Gt.prototype,"tx",{get:function(){return this._matrix[4]},set:function(u){this._matrix[4]=u}}),Object.defineProperty(Gt.prototype,"ty",{get:function(){return this._matrix[5]},set:function(u){this._matrix[5]=u}}),Object.defineProperty(Gt.prototype,"a",{get:function(){return this._matrix[0]},set:function(u){this._matrix[0]=u}}),Object.defineProperty(Gt.prototype,"b",{get:function(){return this._matrix[1]},set:function(u){this._matrix[1]=u}}),Object.defineProperty(Gt.prototype,"c",{get:function(){return this._matrix[2]},set:function(u){this._matrix[2]=u}}),Object.defineProperty(Gt.prototype,"d",{get:function(){return this._matrix[3]},set:function(u){this._matrix[3]=u}}),Object.defineProperty(Gt.prototype,"e",{get:function(){return this._matrix[4]},set:function(u){this._matrix[4]=u}}),Object.defineProperty(Gt.prototype,"f",{get:function(){return this._matrix[5]},set:function(u){this._matrix[5]=u}}),Object.defineProperty(Gt.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(Gt.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(Gt.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(Gt.prototype,"isIdentity",{get:function(){return this.sx===1&&this.shy===0&&this.shx===0&&this.sy===1&&this.tx===0&&this.ty===0}}),Gt.prototype.join=function(u){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(ot).join(u)},Gt.prototype.multiply=function(u){var g=u.sx*this.sx+u.shy*this.shx,S=u.sx*this.shy+u.shy*this.sy,M=u.shx*this.sx+u.sy*this.shx,H=u.shx*this.shy+u.sy*this.sy,rt=u.tx*this.sx+u.ty*this.shx+this.tx,dt=u.tx*this.shy+u.ty*this.sy+this.ty;return new Gt(g,S,M,H,rt,dt)},Gt.prototype.decompose=function(){var u=this.sx,g=this.shy,S=this.shx,M=this.sy,H=this.tx,rt=this.ty,dt=Math.sqrt(u*u+g*g),Ct=(u/=dt)*S+(g/=dt)*M;S-=u*Ct,M-=g*Ct;var It=Math.sqrt(S*S+M*M);return Ct/=It,u*(M/=It)<g*(S/=It)&&(u=-u,g=-g,Ct=-Ct,dt=-dt),{scale:new Gt(dt,0,0,It,0,0),translate:new Gt(1,0,0,1,H,rt),rotate:new Gt(u,g,-g,u,0,0),skew:new Gt(1,0,Ct,1,0,0)}},Gt.prototype.toString=function(u){return this.join(" ")},Gt.prototype.inversed=function(){var u=this.sx,g=this.shy,S=this.shx,M=this.sy,H=this.tx,rt=this.ty,dt=1/(u*M-g*S),Ct=M*dt,It=-g*dt,Kt=-S*dt,te=u*dt;return new Gt(Ct,It,Kt,te,-Ct*H-Kt*rt,-It*H-te*rt)},Gt.prototype.applyToPoint=function(u){var g=u.x*this.sx+u.y*this.shx+this.tx,S=u.x*this.shy+u.y*this.sy+this.ty;return new Jr(g,S)},Gt.prototype.applyToRectangle=function(u){var g=this.applyToPoint(u),S=this.applyToPoint(new Jr(u.x+u.w,u.y+u.h));return new Zi(g.x,g.y,S.x-g.x,S.y-g.y)},Gt.prototype.clone=function(){var u=this.sx,g=this.shy,S=this.shx,M=this.sy,H=this.tx,rt=this.ty;return new Gt(u,g,S,M,H,rt)},p.Matrix=Gt;var fr=p.matrixMult=function(u,g){return g.multiply(u)},dr=new Gt(1,0,0,1,0,0);p.unitMatrix=p.identityMatrix=dr;var Bn=function(u,g){if(!Pe[u]){var S=(g instanceof li?"Sh":"P")+(Object.keys(Dt).length+1).toString(10);g.id=S,Pe[u]=S,Dt[S]=g,be.publish("addPattern",g)}};p.ShadingPattern=li,p.TilingPattern=qi,p.addShadingPattern=function(u,g){return Y("addShadingPattern()"),Bn(u,g),this},p.beginTilingPattern=function(u){Y("beginTilingPattern()"),Qi(u.boundingBox[0],u.boundingBox[1],u.boundingBox[2]-u.boundingBox[0],u.boundingBox[3]-u.boundingBox[1],u.matrix)},p.endTilingPattern=function(u,g){Y("endTilingPattern()"),g.stream=yt[j].join(`
3`),Bn(u,g),be.publish("endTilingPattern",g),Zn.pop().restore()};var Mn,Re=p.__private__.newObject=function(){var u=en();return rn(u,!0),u},en=p.__private__.newObjectDeferred=function(){return V++,K[V]=function(){return nt},V},rn=function(u,g){return g=typeof g=="boolean"&&g,K[u]=nt,g&&_(u+" 0 obj"),u},Hr=p.__private__.newAdditionalObject=function(){var u={objId:en(),content:""};return ct.push(u),u},_r=en(),zn=en(),Qn=p.__private__.decodeColorString=function(u){var g=u.split(" ");if(g.length!==2||g[1]!=="g"&&g[1]!=="G")g.length!==5||g[4]!=="k"&&g[4]!=="K"||(g=[(1-g[0])*(1-g[3]),(1-g[1])*(1-g[3]),(1-g[2])*(1-g[3]),"r"]);else{var S=parseFloat(g[0]);g=[S,S,S,"r"]}for(var M="#",H=0;H<3;H++)M+=("0"+Math.floor(255*parseFloat(g[H])).toString(16)).slice(-2);return M},Wn=p.__private__.encodeColorString=function(u){var g;typeof u=="string"&&(u={ch1:u});var S=u.ch1,M=u.ch2,H=u.ch3,rt=u.ch4,dt=u.pdfColorType==="draw"?["G","RG","K"]:["g","rg","k"];if(typeof S=="string"&&S.charAt(0)!=="#"){var Ct=new ku(S);if(Ct.ok)S=Ct.toHex();else if(!/^\d*\.?\d*$/.test(S))throw new Error('Invalid color "'+S+'" passed to jsPDF.encodeColorString.')}if(typeof S=="string"&&/^#[0-9A-Fa-f]{3}$/.test(S)&&(S="#"+S[1]+S[1]+S[2]+S[2]+S[3]+S[3]),typeof S=="string"&&/^#[0-9A-Fa-f]{6}$/.test(S)){var It=parseInt(S.substr(1),16);S=It>>16&255,M=It>>8&255,H=255&It}if(M===void 0||rt===void 0&&S===M&&M===H)g=typeof S=="string"?S+" "+dt[0]:u.precision===2?P(S/255)+" "+dt[0]:C(S/255)+" "+dt[0];else if(rt===void 0||Se(rt)==="object"){if(rt&&!isNaN(rt.a)&&rt.a===0)return["1.","1.","1.",dt[1]].join(" ");g=typeof S=="string"?[S,M,H,dt[1]].join(" "):u.precision===2?[P(S/255),P(M/255),P(H/255),dt[1]].join(" "):[C(S/255),C(M/255),C(H/255),dt[1]].join(" ")}else g=typeof S=="string"?[S,M,H,rt,dt[2]].join(" "):u.precision===2?[P(S),P(M),P(H),P(rt),dt[2]].join(" "):[C(S),C(M),C(H),C(rt),dt[2]].join(" ");return g},Hn=p.__private__.getFilters=function(){return d},Rn=p.__private__.putStream=function(u){var g=(u=u||{}).data||"",S=u.filters||Hn(),M=u.alreadyAppliedFilters||[],H=u.addLength1||!1,rt=g.length,dt=u.objectId,Ct=function(Ce){return Ce};if(A!==null&&dt===void 0)throw new Error("ObjectId must be passed to putStream for file encryption");A!==null&&(Ct=an.encryptor(dt,0));var It={};S===!0&&(S=["FlateEncode"]);var Kt=u.additionalKeyValues||[],te=(It=Rt.API.processDataByFilters!==void 0?Rt.API.processDataByFilters(g,S):{data:g,reverseChain:[]}).reverseChain+(Array.isArray(M)?M.join(" "):M.toString());if(It.data.length!==0&&(Kt.push({key:"Length",value:It.data.length}),H===!0&&Kt.push({key:"Length1",value:rt})),te.length!=0)if(te.split("/").length-1==1)Kt.push({key:"Filter",value:te});else{Kt.push({key:"Filter",value:"["+te+"]"});for(var de=0;de<Kt.length;de+=1)if(Kt[de].key==="DecodeParms"){for(var Xe=[],Le=0;Le<It.reverseChain.split("/").length-1;Le+=1)Xe.push("null");Xe.push(Kt[de].value),Kt[de].value="["+Xe.join(" ")+"]"}}_("<<");for(var Ne=0;Ne<Kt.length;Ne++)_("/"+Kt[Ne].key+" "+Kt[Ne].value);_(">>"),It.data.length!==0&&(_("stream"),_(Ct(It.data)),_("endstream"))},Vr=p.__private__.putPage=function(u){var g=u.number,S=u.data,M=u.objId,H=u.contentsObjId;rn(M,!0),_("<</Type /Page"),_("/Parent "+u.rootDictionaryObjId+" 0 R"),_("/Resources "+u.resourceDictionaryObjId+" 0 R"),_("/MediaBox ["+parseFloat(ot(u.mediaBox.bottomLeftX))+" "+parseFloat(ot(u.mediaBox.bottomLeftY))+" "+ot(u.mediaBox.topRightX)+" "+ot(u.mediaBox.topRightY)+"]"),u.cropBox!==null&&_("/CropBox ["+ot(u.cropBox.bottomLeftX)+" "+ot(u.cropBox.bottomLeftY)+" "+ot(u.cropBox.topRightX)+" "+ot(u.cropBox.topRightY)+"]"),u.bleedBox!==null&&_("/BleedBox ["+ot(u.bleedBox.bottomLeftX)+" "+ot(u.bleedBox.bottomLeftY)+" "+ot(u.bleedBox.topRightX)+" "+ot(u.bleedBox.topRightY)+"]"),u.trimBox!==null&&_("/TrimBox ["+ot(u.trimBox.bottomLeftX)+" "+ot(u.trimBox.bottomLeftY)+" "+ot(u.trimBox.topRightX)+" "+ot(u.trimBox.topRightY)+"]"),u.artBox!==null&&_("/ArtBox ["+ot(u.artBox.bottomLeftX)+" "+ot(u.artBox.bottomLeftY)+" "+ot(u.artBox.topRightX)+" "+ot(u.artBox.topRightY)+"]"),typeof u.userUnit=="number"&&u.userUnit!==1&&_("/UserUnit "+u.userUnit),be.publish("putPage",{objId:M,pageContext:Vt[g],pageNumber:g,page:S}
vendor: 10,556 bytes, lines 3-7
3),_("/Contents "+H+" 0 R"),_(">>"),_("endobj");var rt=S.join(` 4`);return tt===Z&&(rt+=` 5Q`),rn(H,!0),Rn({data:rt,filters:Hn(),objectId:H}),_("endobj"),M},tr=p.__private__.putPages=function(){var u,g,S=[];for(u=1;u<=ue;u++)Vt[u].objId=en(),Vt[u].contentsObjId=en();for(u=1;u<=ue;u++)S.push(Vr({number:u,data:yt[u],objId:Vt[u].objId,contentsObjId:Vt[u].contentsObjId,mediaBox:Vt[u].mediaBox,cropBox:Vt[u].cropBox,bleedBox:Vt[u].bleedBox,trimBox:Vt[u].trimBox,artBox:Vt[u].artBox,userUnit:Vt[u].userUnit,rootDictionaryObjId:_r,resourceDictionaryObjId:zn}));rn(_r,!0),_("<</Type /Pages");var M="/Kids [";for(g=0;g<ue;g++)M+=S[g]+" 0 R ";_(M+"]"),_("/Count "+ue),_(">>"),_("endobj"),be.publish("postPutPages")},Gr=function(u){be.publish("putFont",{font:u,out:_,newObject:Re,putStream:Rn}),u.isAlreadyPutted!==!0&&(u.objectNumber=Re(),_("<<"),_("/Type /Font"),_("/BaseFont /"+Ti(u.postScriptName)),_("/Subtype /Type1"),typeof u.encoding=="string"&&_("/Encoding /"+u.encoding),_("/FirstChar 32"),_("/LastChar 255"),_(">>"),_("endobj"))},di=function(u){u.objectNumber=Re();var g=[];g.push({key:"Type",value:"/XObject"}),g.push({key:"Subtype",value:"/Form"}),g.push({key:"BBox",value:"["+[ot(u.x),ot(u.y),ot(u.x+u.width),ot(u.y+u.height)].join(" ")+"]"}),g.push({key:"Matrix",value:"["+u.matrix.toString()+"]"});var S=u.pages[1].join(` 6`);Rn({data:S,additionalKeyValues:g,objectId:u.objectNumber}),_("endobj")},pi=function(u,g){g||(g=21);var S=Re(),M=(function(dt,Ct){var It,Kt=[],te=1/(Ct-1);for(It=0;It<1;It+=te)Kt.push(It);if(Kt.push(1),dt[0].offset!=0){var de={offset:0,color:dt[0].color};dt.unshift(de)}if(dt[dt.length-1].offset!=1){var Xe={offset:1,color:dt[dt.length-1].color};dt.push(Xe)}for(var Le="",Ne=0,Ce=0;Ce<Kt.length;Ce++){for(It=Kt[Ce];It>dt[Ne+1].offset;)Ne++;var Be=dt[Ne].offset,Me=(It-Be)/(dt[Ne+1].offset-Be),hn=dt[Ne].color,wr=dt[Ne+1].color;Le+=W(Math.round((1-Me)*hn[0]+Me*wr[0]).toString(16))+W(Math.round((1-Me)*hn[1]+Me*wr[1]).toString(16))+W(Math.round((1-Me)*hn[2]+Me*wr[2]).toString(16))}return Le.trim()})(u.colors,g),H=[];H.push({key:"FunctionType",value:"0"}),H.push({key:"Domain",value:"[0.0 1.0]"}),H.push({key:"Size",value:"["+g+"]"}),H.push({key:"BitsPerSample",value:"8"}),H.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),H.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),Rn({data:M,additionalKeyValues:H,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:S}),_("endobj"),u.objectNumber=Re(),_("<< /ShadingType "+u.type),_("/ColorSpace /DeviceRGB");var rt="/Coords ["+ot(parseFloat(u.coords[0]))+" "+ot(parseFloat(u.coords[1]))+" ";u.type===2?rt+=ot(parseFloat(u.coords[2]))+" "+ot(parseFloat(u.coords[3])):rt+=ot(parseFloat(u.coords[2]))+" "+ot(parseFloat(u.coords[3]))+" "+ot(parseFloat(u.coords[4]))+" "+ot(parseFloat(u.coords[5])),_(rt+="]"),u.matrix&&_("/Matrix ["+u.matrix.toString()+"]"),_("/Function "+S+" 0 R"),_("/Extend [true true]"),_(">>"),_("endobj")},gi=function(u,g){var S=en(),M=Re();g.push({resourcesOid:S,objectOid:M}),u.objectNumber=M;var H=[];H.push({key:"Type",value:"/Pattern"}),H.push({key:"PatternType",value:"1"}),H.push({key:"PaintType",value:"1"}),H.push({key:"TilingType",value:"1"}),H.push({key:"BBox",value:"["+u.boundingBox.map(ot).join(" ")+"]"}),H.push({key:"XStep",value:ot(u.xStep)}),H.push({key:"YStep",value:ot(u.yStep)}),H.push({key:"Resources",value:S+" 0 R"}),u.matrix&&H.push({key:"Matrix",value:"["+u.matrix.toString()+"]"}),Rn({data:u.stream,additionalKeyValues:H,objectId:u.objectNumber}),_("endobj")},ss=function(u){for(var g in u.objectNumber=Re(),_("<<"),u)switch(g){case"opacity":_("/ca "+P(u[g]));break;case"stroke-opacity":_("/CA "+P(u[g]))}_(">>"),_("endobj")},Hi=function(u){rn(u.resourcesOid,!0),_("<<"),_("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),(function(){for(var g in _("/Font <<"),se)se.hasOwnProperty(g)&&(x===!1||x===!0&&O.hasOwnProperty(g))&&_("/"+g+" "+se[g].objectNumber+" 0 R");_(">>")})(),(function(){if(Object.keys(Dt).length>0){for(var g in _("/Shading <<"),Dt)Dt.hasOwnProperty(g)&&Dt[g]instanceof li&&Dt[g].objectNumber>=0&&_("/"+g+" "+Dt[g].objectNumber+" 0 R");be.publish("putShadingPatternDict"),_(">>")}})(),(function(g){if(Object.keys(Dt).length>0){for(var S in _("/Pattern <<"),Dt)Dt.hasOwnProperty(S)&&Dt[S]instanceof p.TilingPattern&&Dt[S].objectNumber>=0&&Dt[S].objectNumber<g&&_("/"+S+" "+Dt[S].objectNumber+" 0 R");be.publish("putTilingPatternDict"),_(">>")}})(u.objectOid),(function(){if(Object.keys(Yt).length>0){var g;for(g in _("/ExtGState <<"),Yt)Yt.hasOwnProperty(g)&&Yt[g].objectNumber>=0&&_("/"+g+" "+Yt[g].objectNumber+" 0 R");be.publish("putGStateDict"),_(">>")}})(),(function(){for(var g in _("/XObject <<"),ln)ln.hasOwnProperty(g)&&ln[g].objectNumber>=0&&_("/"+g+" "+ln[g].objectNumber+" 0 R");be.publish("putXobjectDict"),_(">>")})(),_(">>"),_("endobj")},da=function(u){oe[u.fontName]=oe[u.fontName]||{},oe[u.fontName][u.fontStyle]=u.id},pa=function(u,g,S,M,H){var rt={id:"F"+(Object.keys(se).length+1).toString(10),postScriptName:u,fontName:g,fontStyle:S,encoding:M,isStandardFont:H||!1,metadata:{}};return be.publish("addFont",{font:rt,instance:this}),se[rt.id]=rt,da(rt),rt.id},Tn=p.__private__.pdfEscape=p.pdfEscape=function(u,g){return(function(S,M){var H,rt,dt,Ct,It,Kt,te,de,Xe;if(dt=(M=M||{}).sourceEncoding||"Unicode",It=M.outputEncoding,(M.autoencode||It)&&se[Et].metadata&&se[Et].metadata[dt]&&se[Et].metadata[dt].encoding&&(Ct=se[Et].metadata[dt].encoding,!It&&se[Et].encoding&&(It=se[Et].encoding),!It&&Ct.codePages&&(It=Ct.codePages[0]),typeof It=="string"&&(It=Ct[It]),It)){for(te=!1,Kt=[],H=0,rt=S.length;H<rt;H++)(de=It[S.charCodeAt(H)])?Kt.push(String.fromCharCode(de)):Kt.push(S[H]),Kt[H].charCodeAt(0)>>8&&(te=!0);S=Kt.join("")}for(H=S.length;te===void 0&&H!==0;)S.charCodeAt(H-1)>>8&&(te=!0),H--;if(!te)return S;for(Kt=M.noBOM?[]:[254,255],H=0,rt=S.length;H<rt;H++){if((Xe=(de=S.charCodeAt(H))>>8)>>8)throw new Error("Character at position "+H+" of string '"+S+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");Kt.push(Xe),Kt.push(de-(Xe<<8))}return String.fromCharCode.apply(void 0,Kt)})(u,g).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},Vi=p.__private__.beginPage=function(u){yt[++ue]=[],Vt[ue]={objId:0,contentsObjId:0,userUnit:Number(h),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(u[0]),topRightY:Number(u[1])}},ma(ue),zt(yt[j])},ga=function(u,g){var S,M,H;switch(n=g||n,typeof u=="string"&&(S=I(u.toLowerCase()),Array.isArray(S)&&(M=S[0],H=S[1])),Array.isArray(u)&&(M=u[0]*ne,H=u[1]*ne),isNaN(M)&&(M=s[0],H=s[1]),(M>14400||H>14400)&&(_e.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),M=Math.min(14400,M),H=Math.min(14400,H)),s=[M,H],n.substr(0,1)){case"l":H>M&&(s=[H,M]);break;case"p":M>H&&(s=[H,M])}Vi(s),ms(Jt),_(Ai),Ki!==0&&_(Ki+" J"),kr!==0&&_(kr+" j"),be.publish("addPage",{pageNumber:ue})},Gi=function(u){u>0&&u<=ue&&(yt.splice(u,1),Vt.splice(u,1),ue--,j>ue&&(j=ue),this.setPage(j))},ma=function(u){u>0&&u<=ue&&(j=u)},va=p.__private__.getNumberOfPages=p.getNumberOfPages=function(){return yt.length-1},ba=function(u,g,S){var M,H=void 0;return S=S||{},u=u!==void 0?u:se[Et].fontName,g=g!==void 0?g:se[Et].fontStyle,M=u.toLowerCase(),oe[M]!==void 0&&oe[M][g]!==void 0?H=oe[M][g]:oe[u]!==void 0&&oe[u][g]!==void 0?H=oe[u][g]:S.disableWarning===!1&&_e.warn("Unable to look up font label for font '"+u+"', '"+g+"'. Refer to getFontList() for available fonts."),H||S.noFallback||(H=oe.times[g])==null&&(H=oe.times.normal),H},er=p.__private__.putInfo=function(){var u=Re(),g=function(M){return M};for(var S in A!==null&&(g=an.encryptor(u,0)),_("<<"),_("/Producer ("+Tn(g("jsPDF "+Rt.version))+")"),he)he.hasOwnProperty(S)&&he[S]&&_("/"+S.substr(0,1).toUpperCase()+S.substr(1)+" ("+Tn(g(he[S]))+")");_("/CreationDate ("+Tn(g(at))+")"),_(">>"),_("endobj")},mi=p.__private__.putCatalog=function(u){var g=(u=u||{}).rootDictionaryObjId||_r;switch(Re(),_("<<"),_("/Type /Catalog"),_("/Pages "+g+" 0 R"),Ht||(Ht="fullwidth"),Ht){case"fullwidth":_("/OpenAction [3 0 R /FitH null]");break;case"fullheight":_("/OpenAction [3 0 R /FitV null]");break;case"fullpage":_("/OpenAction [3 0 R /Fit]");break;case"original":_("/OpenAction [3 0 R /XYZ null null 1]");break;default:var S=""+Ht;S.substr(S.length-1)==="%"&&(Ht=parseInt(Ht)/100),typeof Ht=="number"&&_("/OpenAction [3 0 R /XYZ null null "+P(Ht)+"]")}switch(le||(le="continuous"),le){case"continuous":_("/PageLayout /OneColumn");break;case"single":_("/PageLayout /SinglePage");break;case"two":case"twoleft":_("/PageLayout /TwoColumnLeft");break;case"tworight":_("/PageLayout /TwoColumnRight")}qt&&_("/PageMode /"+qt),be.publish("putCatalog"),_(">>"),_("endobj")},os=p.__private__.putTrailer=function(){_("trailer"),_("<<"),_("/Size "+(V+1)),_("/Root "+V+" 0 R"),_("/Info "+(V-1)+" 0 R"),A!==null&&_("/Encrypt "+an.oid+" 0 R"),_("/ID [ <"+lt+"> <"+lt+"> ]"),_(">>")},Je=p.__private__.putHeader=function(){_("%PDF-"+R),_("%ºÃˆ ")},wa=p.__private__.putXRef=function(){var u="0000000000";_("xref"),_("0 "+(V+1)),_("0000000000 65535 f ");for(var g=1;g<=V;g++)typeof K[g]=="function"?_((u+K[g]()).slice(-10)+" 00000 n "):K[g]!==void 0?_((u+K[g]).slice(-10)+" 00000 n "):_("0000000000 00000 n ")},nr=p.__private__.buildDocument=function(){var u;V=0,nt=0,et=[],K=[],ct=[],_r=en(),zn=en(),zt(et),be.publish("buildDocument"),Je(),tr(),(function(){be.publish("putAdditionalObjects");for(var S=0;S<ct.length;S++){var M=ct[S];rn(M.objId,!0),_(M.content),_("endobj")}be.publish("postPutAdditionalObjects")})(),u=[],(function(){for(var S in se)se.hasOwnProperty(S)&&(x===!1||x===!0&&O.hasOwnProperty(S))&&Gr(se[S])})(),(function(){var S;for(S in Yt)Yt.hasOwnProperty(S)&&ss(Yt[S])})(),(function(){for(var S in ln)ln.hasOwnProperty(S)&&di(ln[S])})(),(function(S){var M;for(M in Dt)Dt.hasOwnProperty(M)&&(Dt[M]instanceof li?pi(Dt[M]):Dt[M]instanceof qi&&gi(Dt[M],S))})(u),be.publish("putResources"),u.forEach(Hi),Hi({resourcesOid:zn,objectOid:Number.MAX_SAFE_INTEGER}),be.publish("postPutResources"),A!==null&&(an.oid=Re(),_("<<"),_("/Filter /Standard"),_("/V "+an.v),_("/R "+an.r),_("/U <"+an.toHexString(an.U)+">"),_("/O <"+an.toHexString(an.O)+">"),_("/P "+an.P),_(">>"),_("endobj")),er(),mi();var g=nt;return wa(),os(),_("startxref"),_(""+g),_("%%EOF"),zt(yt[j]),et.join(` 7`)},vi=p.__private__.getBlob=function(u){return new Blob([ae(u)],{type:"application/pdf"})},Yi=function(u){for(;u.firstChild;)u.removeChild(u.firstChild)},Pn=function(u){var g,S=u.document,M=S.documentElement,H=S.head,rt=S.body;
7return H||(H=S.createElement("head"),M.appendChild(H)),rt||(rt=S.createElement("body"),M.appendChild(rt)),Yi(H),Yi(rt),(g=S.createElement("style")).appendChild(S.createTextNode("html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;}")),H.appendChild(g),{document:S,body:rt}},bi=p.output=p.__private__.output=(Mn=function(u,g){switch(typeof(g=g||{})=="string"?g={filename:g}:g.filename=g.filename||"generated.pdf",u){case void 0:return nr();case"save":p.save(g.filename);break;case"arraybuffer":return ae(nr());case"blob":return vi(nr());case"bloburi":case"bloburl":if(Xt.URL!==void 0&&typeof Xt.URL.createObjectURL=="function")return Xt.URL&&Xt.URL.createObjectURL(vi(nr()))||void 0;_e.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var S="",M=nr();try{S=Qo(M)}catch{S=Qo(unescape(encodeURIComponent(M)))}return"data:application/pdf;filename="+encodeURIComponent(g.filename)+";base64,"+S;case"pdfobjectnewwindow":if(Object.prototype.toString.call(Xt)==="[object Window]"){var H="https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js",rt=!g.pdfObjectUrl;rt||(H=g.pdfObjectUrl);var dt=Xt.open();if(dt!==null){var Ct=Pn(dt),It=Ct.document.createElement("script"),Kt=this;It.src=H,rt&&(It.integrity="sha512-4ze/a9/4jqu+tX9dfOqJYSvyYd5M6qum/3HpCLr+/Jqf0whc37VUbkpNGHR7/8pSnCFw47T1fmIpwBV7UySh3g==",It.crossOrigin="anonymous"),It.onload=function(){dt.PDFObject.embed(Kt.output("dataurlstring"),g)},Ct.body.appendChild(It)}return dt}throw new Error("The option pdfobjectnewwindow just works in a browser-environment.");case"pdfjsnewwindow":if(Object.prototype.toString.call(Xt)==="[object Window]"){var te=g.pdfJsUrl||"examples/PDF.js/web/viewer.html",de=Xt.open();if(de!==null){var Xe=Pn(de),Le=Xe.document.createElement("iframe"),Ne=te.indexOf("?")===-1?"?":"&";Kt=this,Le.id="pdfViewer",Le.width="500px",Le.height="400px",Le.src=te+Ne+"file=&downloadName="+encodeURIComponent(g.filename),Le.onload=function(){de.document.title=g.filename,Le.contentWindow.PDFViewerApplication.open(Kt.output("bloburl"))},Xe.body.appendChild(Le)}return de}throw new Error("The option pdfjsnewwindow just works in a browser-environment.");case"dataurlnewwindow":if(Object.prototype.toString.call(Xt)!=="[object Window]")throw new Error("The option dataurlnewwindow just works in a browser-environment.");var Ce=Xt.open();if(Ce!==null){var Be=Pn(Ce),Me=Be.document.createElement("iframe");Me.src=this.output("datauristring",g),Be.body.appendChild(Me),Ce.document.title=g.filename}if(Ce||typeof safari>"u")return Ce;break;case"datauri":case"dataurl":return Xt.document.location.href=this.output("datauristring",g);default:return null}},Mn.foo=function(){try{return Mn.apply(this,arguments)}catch(S){var u=S.stack||"";~u.indexOf(" at ")&&(u=u.split(" at ")[1]);var g="Error in function "+u.split(` 8`)[0].split("<")[0]+": "+S.message;if(!Xt.console)throw new Error(g);Xt.console.error(g,S),Xt.alert&&alert(g)}},Mn.foo.bar=Mn,Mn.foo),pr=function(u){return Array.isArray(Wr)===!0&&Wr.indexOf(u)>-1};switch(a){case"pt":ne=1;break;case"mm":ne=72/25.4;break;case"cm":ne=72/2.54;break;case"in":ne=72;break;case"px":ne=pr("px_scaling")==1?.75:96/72;break;case"pc":case"em":ne=12;break;case"ex":ne=6;break;default:if(typeof a!="number")throw new Error("Invalid unit: "+a);ne=a}var an=null;bt(),Q();var ya=p.__private__.getPageInfo=p.getPageInfo=function(u){if(isNaN(u)||u%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfo");return{objId:Vt[u].objId,pageNumber:u,pageContext:Vt[u]}},us=p.__private__.getPageInfoByObjId=function(u){if(isNaN(u)||u%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfoByObjId");for(var g in Vt)if(Vt[g].objId===u)break;return ya(g)},ls=p.__private__.getCurrentPageInfo=p.getCurrentPageInfo=function(){return{objId:Vt[j].objId,pageNumber:j,pageContext:Vt[j]}};p.addPage=function(){return ga.apply(this,arguments),this},p.setPage=function(){return ma.apply(this,arguments),zt.call(this,yt[j]),this},p.insertPage=function(u){return this.addPage(),this.movePage(j,u),this},p.movePage=function(u,g){var S,M;if(u>g){S=yt[u],M=Vt[u];for(var H=u;H>g;H--)yt[H]=yt[H-1],Vt[H]=Vt[H-1];yt[g]=S,Vt[g]=M,this.setPage(g)}else if(u<g){S=yt[u],M=Vt[u];for(var rt=u;rt<g;rt++)yt[rt]=yt[rt+1],Vt[rt]=Vt[rt+1];yt[g]=S,Vt[g]=M,this.setPage(g)}return this},p.deletePage=function(){return Gi.apply(this,arguments),this},p.__private__.text=p.text=function(u,g,S,M,H){var rt,dt,Ct,It,Kt,te,de,Xe,Le,Ne=(M=M||{}).scope||this;if(typeof u=="number"&&typeof g=="number"&&(typeof S=="string"||Array.isArray(S))){var Ce=S;S=g,g=u,u=Ce}if(arguments[3]instanceof Gt==0?(Ct=arguments[4],It=arguments[5],Se(de=
vendor: 8,373 bytes, lines 8-22
8arguments[3])==="object"&&de!==null||(typeof Ct=="string"&&(It=Ct,Ct=null),typeof de=="string"&&(It=de,de=null),typeof de=="number"&&(Ct=de,de=null),M={flags:de,angle:Ct,align:It})):(Y("The transform parameter of text() with a Matrix value"),Le=H),isNaN(g)||isNaN(S)||u==null)throw new Error("Invalid arguments passed to jsPDF.text");if(u.length===0)return Ne;var Be,Me="",hn=typeof M.lineHeightFactor=="number"?M.lineHeightFactor:Yr,wr=Ne.internal.scaleFactor;function ta(ke){return ke=ke.split(" ").join(Array(M.TabLen||9).join(" ")),Tn(ke,de)}function Kr(ke){for(var Fe,ze=ke.concat(),$e=[],Ar=ze.length;Ar--;)typeof(Fe=ze.shift())=="string"?$e.push(Fe):Array.isArray(ke)&&(Fe.length===1||Fe[1]===void 0&&Fe[2]===void 0)?$e.push(Fe[0]):$e.push([Fe[0],Fe[1],Fe[2]]);return $e}function $r(ke,Fe){var ze;if(typeof ke=="string")ze=Fe(ke)[0];else if(Array.isArray(ke)){for(var $e,Ar,sa=ke.concat(),Oi=[],Ia=sa.length;Ia--;)typeof($e=sa.shift())=="string"?Oi.push(Fe($e)[0]):Array.isArray($e)&&typeof $e[0]=="string"&&(Ar=Fe($e[0],$e[1],$e[2]),Oi.push([Ar[0],Ar[1],Ar[2]]));ze=Oi}return ze}var Fr=!1,Zr=!0;if(typeof u=="string")Fr=!0;else if(Array.isArray(u)){var _i=u.concat();dt=[];for(var Si,cn=_i.length;cn--;)(typeof(Si=_i.shift())!="string"||Array.isArray(Si)&&typeof Si[0]!="string")&&(Zr=!1);Fr=Zr}if(Fr===!1)throw new Error('Type of text must be string or Array. "'+u+'" is not recognized.');typeof u=="string"&&(u=u.match(/[\r?\n]/)?u.split(/\r\n|\r|\n/g):[u]);var Qr=mt/Ne.internal.scaleFactor,ti=Qr*(hn-1);switch(M.baseline){case"bottom":S-=ti;break;case"top":S+=Qr-ti;break;case"hanging":S+=Qr-2*ti;break;case"middle":S+=Qr/2-ti}if((te=M.maxWidth||0)>0&&(typeof u=="string"?u=Ne.splitTextToSize(u,te):Object.prototype.toString.call(u)==="[object Array]"&&(u=u.reduce(function(ke,Fe){return ke.concat(Ne.splitTextToSize(Fe,te))},[]))),rt={text:u,x:g,y:S,options:M,mutex:{pdfEscape:Tn,activeFontKey:Et,fonts:se,activeFontSize:mt}},be.publish("preProcessText",rt),u=rt.text,Ct=(M=rt.options).angle,Le instanceof Gt==0&&Ct&&typeof Ct=="number"){Ct*=Math.PI/180,M.rotationDirection===0&&(Ct=-Ct),tt===Z&&(Ct=-Ct);var ea=Math.cos(Ct),ar=Math.sin(Ct);Le=new Gt(ea,ar,-ar,ea,0,0)}else Ct&&Ct instanceof Gt&&(Le=Ct);tt!==Z||Le||(Le=dr),(Kt=M.charSpace||Ni)!==void 0&&(Me+=ot(D(Kt))+` Tc 9`,this.setCharSpace(this.getCharSpace()||0)),(Xe=M.horizontalScale)!==void 0&&(Me+=ot(100*Xe)+` Tz 10`),M.lang;var bn=-1,ka=M.renderingMode!==void 0?M.renderingMode:M.stroke,Pi=Ne.internal.getCurrentPageInfo().pageContext;switch(ka){case 0:case!1:case"fill":bn=0;break;case 1:case!0:case"stroke":bn=1;break;case 2:case"fillThenStroke":bn=2;break;case 3:case"invisible":bn=3;break;case 4:case"fillAndAddForClipping":bn=4;break;case 5:case"strokeAndAddPathForClipping":bn=5;break;case 6:case"fillThenStrokeAndAddToPathForClipping":bn=6;break;case 7:case"addToPathForClipping":bn=7}var Fa=Pi.usedRenderingMode!==void 0?Pi.usedRenderingMode:-1;bn!==-1?Me+=bn+` Tr 11`:Fa!==-1&&(Me+=`0 Tr 12`),bn!==-1&&(Pi.usedRenderingMode=bn),It=M.align||"left";var qn,ei=mt*hn,na=Ne.internal.pageSize.getWidth(),ki=se[Et];Kt=M.charSpace||Ni,te=M.maxWidth||0,de=Object.assign({autoencode:!0,noBOM:!0},M.flags);var ni=[],ra=function(ke){return Ne.getStringUnitWidth(ke,{font:ki,charSpace:Kt,fontSize:mt,doKerning:!1})*mt/wr};if(Object.prototype.toString.call(u)==="[object Array]"){var wn;dt=Kr(u),It!=="left"&&(qn=dt.map(ra));var Ln,Fi=0;if(It==="right"){g-=qn[0],u=[],cn=dt.length;for(var Ir=0;Ir<cn;Ir++)Ir===0?(Ln=gr(g),wn=mr(S)):(Ln=D(Fi-qn[Ir]),wn=-ei),u.push([dt[Ir],Ln,wn]),Fi=qn[Ir]}else if(It==="center"){g-=qn[0]/2,u=[],cn=dt.length;for(var Cr=0;Cr<cn;Cr++)Cr===0?(Ln=gr(g),wn=mr(S)):(Ln=D((Fi-qn[Cr])/2),wn=-ei),u.push([dt[Cr],Ln,wn]),Fi=qn[Cr]}else if(It==="left"){u=[],cn=dt.length;for(var Ii=0;Ii<cn;Ii++)u.push(dt[Ii])}else if(It==="justify"&&ki.encoding==="Identity-H"){u=[],cn=dt.length,te=te!==0?te:na;for(var ri=0,Ke=0;Ke<cn;Ke++)if(wn=Ke===0?mr(S):-ei,Ln=Ke===0?gr(g):ri,Ke<cn-1){var xs=D((te-qn[Ke])/(dt[Ke].split(" ").length-1)),sr=dt[Ke].split(" ");u.push([sr[0]+" ",Ln,wn]),ri=0;for(var Vn=1;Vn<sr.length;Vn++){var ii=(ra(sr[Vn-1]+" "+sr[Vn])-ra(sr[Vn]))*wr+xs;Vn==sr.length-1?u.push([sr[Vn],ii,0]):u.push([sr[Vn]+" ",ii,0]),ri-=ii}}else u.push([dt[Ke],Ln,wn]);u.push(["",ri,0])}else{if(It!=="justify")throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');for(u=[],cn=dt.length,te=te!==0?te:na,Ke=0;Ke<cn;Ke++){wn=Ke===0?mr(S):-ei,Ln=Ke===0?gr(g):0;var ia=dt[Ke].split(" ").length-1,aa=ia>0?(te-qn[Ke])/ia:0;Ke<cn-1?ni.push(ot(D(aa))):ni.push(0),u.push([dt[Ke],Ln,wn])}}}(typeof M.R2L=="boolean"?M.R2L:Ut)===!0&&(u=$r(u,function(ke,Fe,ze){return[ke.split("").reverse().join(""),Fe,ze]})),rt={text:u,x:g,y:S,options:M,mutex:{pdfEscape:Tn,activeFontKey:Et,fonts:se,activeFontSize:mt}},be.publish("postProcessText",rt),u=rt.text,Be=rt.mutex.isHex||!1;var Ci=se[Et].encoding;Ci!=="WinAnsiEncoding"&&Ci!=="StandardEncoding"||(u=$r(u,function(ke,Fe,ze){return[ta(ke),Fe,ze]})),dt=Kr(u),u=[];for(var ai,si,jr,yr=Array.isArray(dt[0])?1:0,Or="",ji=function(ke,Fe,ze){var $e="";return ze instanceof Gt?(ze=typeof M.angle=="number"?fr(ze,new Gt(1,0,0,1,ke,Fe)):fr(new Gt(1,0,0,1,ke,Fe),ze),tt===Z&&(ze=fr(new Gt(1,0,0,-1,0,0),ze)),$e=ze.join(" ")+` Tm 13`):$e=ot(ke)+" "+ot(Fe)+` Td 14`,$e},fn=0;fn<dt.length;fn++){switch(Or="",yr){case 1:jr=(Be?"<":"(")+dt[fn][0]+(Be?">":")"),ai=parseFloat(dt[fn][1]),si=parseFloat(dt[fn][2]);break;case 0:jr=(Be?"<":"(")+dt[fn]+(Be?">":")"),ai=gr(g),si=mr(S)}ni!==void 0&&ni[fn]!==void 0&&(Or=ni[fn]+` Tw 15`),fn===0?u.push(Or+ji(ai,si,Le)+jr):yr===0?u.push(Or+jr):yr===1&&u.push(Or+ji(ai,si,Le)+jr)}u=yr===0?u.join(` Tj 16T* `):u.join(` Tj 17`),u+=` Tj 18`;var or=`BT 19/`;return or+=Et+" "+mt+` Tf 20`,or+=ot(mt*hn)+` TL 21`,or+=ir+` 22`,or+=Me,or+=u,_(or+="ET"),O[Et]=!0,Ne};var hs=p.__private__.clip=p.clip=function(u){return _(u==="evenodd"?"W*":"W"),this};p.clipEvenOdd=function(){return hs("evenodd")},p.__private__.discardPath=p.discardPath=function(){return _("n"),this};var rr=p.__private__.isValidStyle=function(u){var g=!1;return[void 0,null,"S","D","F","DF","FD","f","f*","B","B*","n"].indexOf(u)!==-1&&(g=!0),g};p.__private__.setDefaultPathOperation=p.setDefaultPathOperation=function(u){return rr(u)&&(v=u),this};var Aa=p.__private__.getStyle=p.getStyle=function(u){var g=v;switch(u){case"D":case"S":g="S";break;case"F":g="f";break;case"FD":case"DF":g="B";break;case"f":case"f*":case"B":case"B*":g=u}return g},wi=p.close=function(){return _("h"),this};p.stroke=function(){return _("S"),this},p.fill=function(u){return yi("f",u),this},p.fillEvenOdd=function(u){return yi("f*",u),this},p.fillStroke=function(u){return yi("B",u),this},p.fillStrokeEvenOdd=function(u){return yi("B*",u),this};var yi=function(u,g){Se(g)==="object"?fs(g,u):_(u)},Ji=function(u){u===null||tt===Z&&u===void 0||(u=Aa(u),_(u))};function cs(u,g,S,M,H){var rt=new qi(g||this.boundingBox,S||this.xStep,M||this.yStep,this.gState,H||this.matrix);rt.stream=this.stream;var dt=u+"$$"+this.cloneIndex+++"$$";return Bn(dt,rt),rt}var fs=function(u,g){var S=Pe[u.key],M=Dt[S];if(M instanceof li)_("q"),_(ds(g)),M.gState&&p.setGState(M.gState),_(u.matrix.toString()+" cm"),_("/"+S+" sh"),_("Q");else if(M instanceof qi){var H=new Gt(1,0,0,-1,0,Xr());u.matrix&&(H=H.multiply(u.matrix||dr),S=cs.call(M,u.key,u.boundingBox,u.xStep,u.yStep,H).id),_("q"),_("/Pattern cs"),_("/"+S+" scn"),M.gState&&p.setGState(M.gState),_(g),_("Q")}},ds=function(u){switch(u){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"}},Sr=p.moveTo=function(u,g){return _(ot(D(u))+" "+ot(U(g))+" m"),this},Na=p.lineTo=function(u,g){return _(ot(D(u))+" "+ot(U(g))+" l"),this},Pr=p.curveTo=function(u,g,S,M,H,rt){return _([ot(D(u)),ot(U(g)),ot(D(S)),ot(U(M)),ot(D(H)),ot(U(rt)),"c"].join(" ")),this};p.__private__.line=p.line=function(u,g,S,M,H){if(isNaN(u)||isNaN(g)||isNaN(S)||isNaN(M)||!rr(H))throw new Error("Invalid arguments passed to jsPDF.line");return tt===$?this.lines([[S-u,M-g]],u,g,[1,1],H||"S"):this.lines([[S-u,M-g]],u,g,[1,1]).stroke()},p.__private__.lines=p.lines=function(u,g,S,M,H,rt){var dt,Ct,It,Kt,te,de,Xe,Le,Ne,Ce,Be,Me;if(typeof u=="number"&&(Me=S,S=g,g=u,u=Me),M=M||[1,1],rt=rt||!1,isNaN(g)||isNaN(S)||!Array.isArray(u)||!Array.isArray(M)||!rr(H)||typeof rt!="boolean")throw new Error("Invalid arguments passed to
22jsPDF.lines");for(Sr(g,S),dt=M[0],Ct=M[1],Kt=u.length,Ce=g,Be=S,It=0;It<Kt;It++)(te=u[It]).length===2?(Ce=te[0]*dt+Ce,Be=te[1]*Ct+Be,Na(Ce,Be)):(de=te[0]*dt+Ce,Xe=te[1]*Ct+Be,Le=te[2]*dt+Ce,Ne=te[3]*Ct+Be,Ce=te[4]*dt+Ce,Be=te[5]*Ct+Be,Pr(de,Xe,Le,Ne,Ce,Be));return rt&&wi(),Ji(H),this},p.path=function(u){for(var g=0;g<u.length;g++){var S=u[g],M=S.c;switch(S.op){case"m":Sr(M[0],M[1]);break;case"l":Na(M[0],M[1]);break;case"c":Pr.apply(this,M);break;case"h":wi()}}return this},p.__private__.rect=p.rect=function(u,g,S,M,H){if(isNaN(u)||isNaN(g)||isNaN(S)||isNaN(M)||!rr(H))throw new Error("Invalid arguments passed to jsPDF.rect");return tt===$&&(M=-M),_([ot(D(u)),ot(U(g)),ot(D(S)),ot(D(M)),"re"].join(" ")),Ji(H),this},p.__private__.triangle=p.triangle=function(u,g,S,M,H,rt,dt){if(isNaN(u)||isNaN(g)||isNaN(S)||isNaN(M)||isNaN(H)||isNaN(rt)||!rr(dt))throw new Error("Invalid arguments passed to jsPDF.triangle");return this.lines([[S-u,M-g],[H-S,rt-M],[u-H,g-rt]],u,g,[1,1],dt,!0),this},p.__private__.roundedRect=p.roundedRect=function(u,g,S,M,H,rt,dt){if(isNaN(u)||isNaN(g)||isNaN(S)||isNaN(M)||isNaN(H)||isNaN(rt)||!rr(dt))throw new Error("Invalid arguments passed to jsPDF.roundedRect");var Ct=4/3*(Math.SQRT2-1);return H=Math.min(H,.5*S),rt=Math.min(rt,.5*M),this.lines([[S-2*H,0],[H*Ct,0,H,rt-rt*Ct,H,rt],[0,M-2*rt],[0,rt*Ct,-H*Ct,rt,-H,rt],[2*H-S,0],[-H*Ct,0,-H,-rt*Ct,-H,-rt],[0,2*rt-M],[0,-rt*Ct,H*Ct,-rt,H,-rt]],u+H,g,[1,1],dt,!0),this},p.__private__.ellipse=p.ellipse=function(u,g,S,M,H){if(isNaN(u)||isNaN(g)||isNaN(S)||isNaN(M)||!rr(H))throw new Error("Invalid arguments passed to jsPDF.ellipse");var rt=4/3*(Math.SQRT2-1)*S,dt=4/3*(Math.SQRT2-1)*M;return Sr(u+S,g),Pr(u+S,g-dt,u+rt,g-M,u,g-M),Pr(u-rt,g-M,u-S,g-dt,u-S,g),Pr(u-S,g+dt,u-rt,g+M,u,g+M),Pr(u+rt,g+M,u+S,g+dt,u+S,g),Ji(H),this},p.__private__.circle=p.circle=function(u,g,S,M){if(isNaN(u)||isNaN(g)||isNaN(S)||!rr(M))throw new Error("Invalid arguments passed to jsPDF.circle");return this.ellipse(u,g,S,S,M)},p.setFont=function(u,g,S){return S&&(g=Tt(g,S)),Et=ba(u,g,{disableWarning:!1}),this};var ps=p.__private__.getFont=p.getFont=function(){return se[ba.apply(p,arguments)]};p.__private__.getFontList=p.getFontList=function(){var u,g,S={};for(u in oe)if(oe.hasOwnProperty(u))for(g in S[u]=[],oe[u])oe[u].hasOwnProperty(g)&&S[u].push(g);return S},p.addFont=function(u,g,S,M,H){var rt=["StandardEncoding","MacRomanEncoding","Identity-H","WinAnsiEncoding"];return arguments[3]&&rt.indexOf(arguments[3])!==-1?H=arguments[3]:arguments[3]&&rt.indexOf(arguments[3])==-1&&(S=Tt(S,M)),pa.call(this,u,g,S,H=H||"Identity-H")};var Yr,Jt=r.lineWidth||.200025,gs=p.__private__.getLineWidth=p.getLineWidth=function(){return Jt},ms=p.__private__.setLineWidth=p.setLineWidth=function(u){return Jt=u,_(ot(D(u))+" w"),this};p.__private__.setLineDash=Rt.API.setLineDash=Rt.API.setLineDashPattern=function(u,g){if(u=u||[],g=g||0,isNaN(g)||!Array.isArray(u))throw new Error("Invalid arguments passed to jsPDF.setLineDash");return u=u.map(function(S){return ot(D(S))}).join(" "),g=ot(D(g)),_("["+u+"] "+g+" d"),this};var vs=p.__private__.getLineHeight=p.getLineHeight=function(){return mt*Yr};p.__private__.getLineHeight=p.getLineHeight=function(){return mt*Yr};var bs=p.__private__.setLineHeightFactor=p.setLineHeightFactor=function(u){return typeof(u=u||1.15)=="number"&&(Yr=u),this},ws=p.__private__.getLineHeightFactor=p.getLineHeightFactor=function(){return Yr};bs(r.lineHeight);var gr=p.__private__.getHorizontalCoordinate=function(u){return D(u)},mr=p.__private__.getVerticalCoordinate=function(u){return tt===Z?u:Vt[j].mediaBox.topRightY-Vt[j].mediaBox.bottomLeftY-D(u)},ys=p.__private__.getHorizontalCoordinateString=p.getHorizontalCoordinateString=function(u){return ot(gr(u))},As=p.__private__.getVerticalCoordinateString=p.getVerticalCoordinateString=function(u){return ot(mr(u))},Ai=r.strokeColor||"0 G";p.__private__.getStrokeColor=p.getDrawColor=function(){return Qn(Ai)},p.__private__.setStrokeColor=p.setDrawColor=function(u,g,S,M){return Ai=Wn({ch1:u,ch2:g,ch3:S,ch4:M,pdfColorType:"draw",precision:2}),_(Ai),this};var Xi=r.fillColor||"0 g";p.__private__.getFillColor=p.getFillColor=function(){return Qn(Xi)},p.__private__.setFillColor=p.setFillColor=function(u,g,S,M){return Xi=Wn({ch1:u,ch2:g,ch3:S,ch4:M,pdfColorType:"fill",precision:2}),_(Xi),this};var ir=r.textColor||"0 g",Ns=p.__private__.getTextColor=p.getTextColor=function(){return Qn(ir)};p.__private__.setTextColor=p.setTextColor=function(u,g,S,M){return ir=Wn({ch1:u,ch2:g,ch3:S,ch4:M,pdfColorType:"text",precision:3}),this};var Ni=r.charSpace,Ls=p.__private__.getCharSpace=p.getCharSpace=function(){return parseFloat(Ni||0)};p.__private__.setCharSpace=p.setCharSpace=function(u){if(isNaN(u))throw new Error("Invalid argument passed to
22jsPDF.setCharSpace");return Ni=u,this};var Ki=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(u){var g=p.CapJoinStyles[u];if(g===void 0)throw new Error("Line cap style of '"+u+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return Ki=g,_(g+" J"),this};var kr=0;p.__private__.setLineJoin=p.setLineJoin=function(u){var g=p.CapJoinStyles[u];if(g===void 0)throw new Error("Line join style of '"+u+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return kr=g,_(g+" j"),this},p.__private__.setLineMiterLimit=p.__private__.setMiterLimit=p.setLineMiterLimit=p.setMiterLimit=function(u){if(u=u||0,isNaN(u))throw new Error("Invalid argument passed to jsPDF.setLineMiterLimit");return _(ot(D(u))+" M"),this},p.GState=rs,p.setGState=function(u){(u=typeof u=="string"?Yt[Qt[u]]:$i(null,u)).equals(Ee)||(_("/"+u.id+" gs"),Ee=u)};var $i=function(u,g){if(!u||!Qt[u]){var S=!1;for(var M in Yt)if(Yt.hasOwnProperty(M)&&Yt[M].equals(g)){S=!0;break}if(S)g=Yt[M];else{var H="GS"+(Object.keys(Yt).length+1).toString(10);Yt[H]=g,g.id=H}return u&&(Qt[u]=g.id),be.publish("addGState",g),g}};p.addGState=function(u,g){return $i(u,g),this},p.saveGraphicsState=function(){return _("q"),Oe.push({key:Et,size:mt,color:ir}),this},p.restoreGraphicsState=function(){_("Q");var u=Oe.pop();return Et=u.key,mt=u.size,ir=u.color,Ee=null,this},p.setCurrentTransformationMatrix=function(u){return _(u.toString()+" cm"),this},p.comment=function(u){return _("#"+u),this};var Jr=function(u,g){var S=u||0;Object.defineProperty(this,"x",{enumerable:!0,get:function(){return S},set:function(rt){isNaN(rt)||(S=parseFloat(rt))}});var M=g||0;Object.defineProperty(this,"y",{enumerable:!0,get:function(){return M},set:function(rt){isNaN(rt)||(M=parseFloat(rt))}});var H="pt";return Object.defineProperty(this,"type",{enumerable:!0,get:function(){return H},set:function(rt){H=rt.toString()}}),this},Zi=function(u,g,S,M){Jr.call(this,u,g),this.type="rect";var H=S||0;Object.defineProperty(this,"w",{enumerable:!0,get:function(){return H},set:function(dt){isNaN(dt)||(H=parseFloat(dt))}});var rt=M||0;return Object.defineProperty(this,"h",{enumerable:!0,get:function(){return rt},set:function(dt){isNaN(dt)||(rt=parseFloat(dt))}}),this},Li=function(){this.page=ue,this.currentPage=j,this.pages=yt.slice(0),this.pagesContext=Vt.slice(0),this.x=Mt,this.y=Ue,this.matrix=ge,this.width=La(j),this.height=br(j),this.outputDestination=St,this.id="",this.objectNumber=-1};Li.prototype.restore=function(){ue=this.page,j=this.currentPage,Vt=this.pagesContext,yt=this.pages,Mt=this.x,Ue=this.y,ge=this.matrix,vr(j,this.width),xa(j,this.height),St=this.outputDestination};var Qi=function(u,g,S,M,H){Zn.push(new Li),ue=j=0,yt=[],Mt=u,Ue=g,ge=H,Vi([S,M])};for(var xi in p.beginFormObject=function(u,g,S,M,H){return Qi(u,g,S,M,H),this},p.endFormObject=function(u){return(function(g){if(cr[g])Zn.pop().restore();else{var S=new Li,M="Xo"+(Object.keys(ln).length+1).toString(10);S.id=M,cr[g]=M,ln[M]=S,be.publish("addFormObject",S),Zn.pop().restore()}})(u),this},p.doFormObject=function(u,g){var S=ln[cr[u]];return _("q"),_(g.toString()+" cm"),_("/"+S.id+" Do"),_("Q"),this},p.getFormObject=function(u){var g=ln[cr[u]];return{x:g.x,y:g.y,width:g.width,height:g.height,matrix:g.matrix}},p.save=function(u,g){return u=u||"generated.pdf",(g=g||{}).returnPromise=g.returnPromise||!1,g.returnPromise===!1?(ui(vi(nr()),u),typeof ui.unload=="function"&&Xt.setTimeout&&setTimeout(ui.unload,911),this):new Promise(function(S,M){try{var H=ui(vi(nr()),u);typeof ui.unload=="function"&&Xt.setTimeout&&setTimeout(ui.unload,911),S(H)}catch(rt){M(rt.message)}})},Rt.API)Rt.API.hasOwnProperty(xi)&&(xi==="events"&&Rt.API.events.length?(function(u,g){var S,M,H;for(H=g.length-1;H!==-1;H--)S=g[H][0],M=g[H][1],u.subscribe.apply(u,[S].concat(typeof M=="function"?[M]:M))})(be,Rt.API.events):p[xi]=Rt.API[xi]);function La(u){return Vt[u].mediaBox.topRightX-Vt[u].mediaBox.bottomLeftX}function vr(u,g){Vt[u].mediaBox.topRightX=g+Vt[u].mediaBox.bottomLeftX}function br(u){return Vt[u].mediaBox.topRightY-Vt[u].mediaBox.bottomLeftY}function xa(u,g){Vt[u].mediaBox.topRightY=g+Vt[u].mediaBox.bottomLeftY}var _a=p.getPageWidth=function(u){return La(u=u||j)/ne},Sa=p.setPageWidth=function(u,g){vr(u,g*ne)},Xr=p.getPageHeight=function(u){return br(u=u||j)/ne},Pa=p.setPageHeight=function(u,g){xa(u,g*ne)};return p.internal={pdfEscape:Tn,getStyle:Aa,getFont:ps,getFontSize:kt,getCharSpace:Ls,getTextColor:Ns,getLineHeight:vs,getLineHeightFactor:ws,getLineWidth:gs,write:xt,getHorizontalCoordinate:gr,getVerticalCoordinate:mr,getCoordinateString:ys,getVerticalCoordinateString:As,collections:{},newObject:Re,newAdditionalObject:Hr,newObjectDeferred:en,newObjectDeferredBegin:rn,getFilters:Hn,putStream:Rn,events:be,scaleFactor:ne,pageSize:{getWidth:function(){return _a(j)},setWidth:function(u){Sa(j,u)},getHeight:function(){return Xr(j)},setHeight:function(u){Pa(j,u)}},encryptionOptions:A,encryption:an,getEncryptor:function(u){return A!==null?an.encryptor(u,0):function(g){return g}},output:bi,getNumberOfPages:va,get pages(){return yt},out:_,f2:P,f3:C,getPageInfo:ya,getPageInfoByObjId:us,getCurrentPageInfo:ls,getPDFVersion:E,Point:Jr,Rectangle:Zi,Matrix:Gt,hasHotfix:pr},Object.defineProperty(p.internal.pageSize,"width",{get:function(){return _a(j)},set:function(u){Sa(j,u)},enumerable:!0,configurable:!0}),Object.defineProperty(p.internal.pageSize,"height",{get:function(){return Xr(j)},set:function(u){Pa(j,u)},enumerable:!0,configurable:!0}),function(u){for(var g=0,S=Wt.length;g<S;g++){var M=pa.call(this,u[g][0],u[g][1],u[g][2],Wt[g][3],!0);x===!1&&(O[M]=!0);var H=u[g][0].split("-");da({id:M,fontName:H[0],fontStyle:H[1]||""})}be.publish("addFonts",{fonts:se,dictionary:oe})}.call(p,Wt),Et="F1",ga(s,n),be.publish("initialized"),p}Ri.prototype.lsbFirstWord=function(r){return String.fromCharCode(255&r,r>>8&255,r>>16&255,r>>24&255)},Ri.prototype.toHexString=function(r){return r.split("").map(function(t){return("0"+(255&t.charCodeAt(0)).toString(16)).slice(-2)}).join("")},Ri.prototype.hexToBytes=function(r){for(var t=[],n=0;n<r.length;n+=2)t.push(String.fromCharCode(parseInt(r.substr(n,2),16)));return t.join("")},Ri.prototype.processOwnerPassword=function(r,t){return no(eo(t).substr(0,5),r)},Ri.prototype.encryptor=function(r,t){var n=eo(this.encryptionKey+String.fromCharCode(255&r,r>>8&255,r>>16&255,255&t,t>>8&255)).substr(0,10);return function(a){return no(n,a)}},rs.prototype.equals=function(r){var t,n="id,objectNumber,equals";if(!r||Se(r)!==Se(this))return!1;var a=0;for(t in this)if(!(n.indexOf(t)>
vendor: 16,874 bytes, lines 22-30
22=0)){if(this.hasOwnProperty(t)&&!r.hasOwnProperty(t)||this[t]!==r[t])return!1;a++}for(t in r)r.hasOwnProperty(t)&&n.indexOf(t)<0&&a--;return a===0},Rt.API={events:[]},Rt.version="4.2.1";var De=Rt.API,so=1,fi=function(r){return r.replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},Bi=function(r){return r.replace(/\\\\/g,"\\").replace(/\\\(/g,"(").replace(/\\\)/g,")")},ci=function(r){return r.toString().replace(/#/g,"#23").replace(/[\s\n\r()<>[\]{}\/%]/g,function(t){var n=t.charCodeAt(0).toString(16).toUpperCase();return"#"+(n.length===1?"0"+n:n)})},$t=function(r){return r.toFixed(2)},Dr=function(r){return r.toFixed(5)};De.__acroform__={};var Sn=function(r,t){r.prototype=Object.create(t.prototype),r.prototype.constructor=r},ru=function(r){return r*so},ur=function(r){var t=new ju,n=Ft.internal.getHeight(r)||0,a=Ft.internal.getWidth(r)||0;return t.BBox=[0,0,Number($t(a)),Number($t(n))],t},sh=De.__acroform__.setBit=function(r,t){if(r=r||0,t=t||0,isNaN(r)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBit");return r|1<<t},oh=De.__acroform__.clearBit=function(r,t){if(r=r||0,t=t||0,isNaN(r)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBit");return r&~(1<<t)},uh=De.__acroform__.getBit=function(r,t){if(isNaN(r)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBit");return r&1<<t?1:0},Ve=De.__acroform__.getBitForPdf=function(r,t){if(isNaN(r)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBitForPdf");return uh(r,t-1)},Ge=De.__acroform__.setBitForPdf=function(r,t){if(isNaN(r)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBitForPdf");return sh(r,t-1)},Ye=De.__acroform__.clearBitForPdf=function(r,t){if(isNaN(r)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBitForPdf");return oh(r,t-1)},lh=De.__acroform__.calculateCoordinates=function(r,t){var n=t.internal.getHorizontalCoordinate,a=t.internal.getVerticalCoordinate,s=r[0],o=r[1],d=r[2],h=r[3],c={};return c.lowerLeft_X=n(s)||0,c.lowerLeft_Y=a(o+h)||0,c.upperRight_X=n(s+d)||0,c.upperRight_Y=a(o)||0,[Number($t(c.lowerLeft_X)),Number($t(c.lowerLeft_Y)),Number($t(c.upperRight_X)),Number($t(c.upperRight_Y))]},hh=function(r){if(r.appearanceStreamContent)return r.appearanceStreamContent;if(r.V||r.DV){var t=[],n=r._V||r.DV,a=ro(r,n),s=r.scope.internal.getFont(r.fontName,r.fontStyle).id;t.push("/Tx BMC"),t.push("q"),t.push("BT"),t.push(r.scope.__private__.encodeColorString(r.color)),t.push("/"+s+" "+$t(a.fontSize)+" Tf"),t.push("1 0 0 1 0 0 Tm"),t.push(a.text),t.push("ET"),t.push("Q"),t.push("EMC");var o=ur(r);return o.scope=r.scope,o.stream=t.join(` 23`),o}},ro=function(r,t){var n=r.fontSize===0?r.maxFontSize:r.fontSize,a={text:"",fontSize:""},s=(t=(t=t.substr(0,1)=="("?t.substr(1):t).substr(t.length-1)==")"?t.substr(0,t.length-1):t).split(" ");s=r.multiline?s.map(function(P){return P.split(` 24`)}):s.map(function(P){return[P]});var o=n,d=Ft.internal.getHeight(r)||0;d=d<0?-d:d;var h=Ft.internal.getWidth(r)||0;h=h<0?-h:h;var c=function(P,C,D){if(P+1<s.length){var U=C+" "+s[P+1][0];return Xa(U,r,D).width<=h-4}return!1};o++;t:for(;o>0;){t="",o--;var v,A,x=Xa("3",r,o).height,O=r.multiline?d-o:(d-x)/2,p=O+=2,R=0,E=0,q=0;if(o<=0){t=`(...) Tj 25`,t+="% Width of Text: "+Xa(t,r,o=12).width+", FieldWidth:"+h+` 26`;break}for(var I="",$=0,Z=0;Z<s.length;Z++)if(s.hasOwnProperty(Z)){var tt=!1;if(s[Z].length!==1&&q!==s[Z].length-1){if((x+2)*($+2)+2>d)continue t;I+=s[Z][q],tt=!0,E=Z,Z--}else{I=(I+=s[Z][q]+" ").substr(I.length-1)==" "?I.substr(0,I.length-1):I;var wt=parseInt(Z),Lt=c(wt,I,o),Tt=Z>=s.length-1;if(Lt&&!Tt){I+=" ",q=0;continue}if(Lt||Tt){if(Tt)E=wt;else if(r.multiline&&(x+2)*($+2)+2>d)continue t}else{if(!r.multiline||(x+2)*($+2)+2>d)continue t;E=wt}}for(var ot="",Y=R;Y<=E;Y++){var gt=s[Y];if(r.multiline){if(Y===E){ot+=gt[q]+" ",q=(q+1)%gt.length;continue}if(Y===R){ot+=gt[gt.length-1]+" ";continue}}ot+=gt[0]+" "}switch(ot=ot.substr(ot.length-1)==" "?ot.substr(0,ot.length-1):ot,A=Xa(ot,r,o).width,r.textAlign){case"right":v=h-A-2;break;case"center":v=(h-A)/2;break;default:v=2}t+=$t(v)+" "+$t(p)+` Td 27`,t+="("+fi(ot)+`) Tj 28`,t+=-$t(v)+` 0 Td 29`,p=-(o+2),A=0,R=tt?E:E+1,$++,I=""}break}return a.text=t,a.fontSize=o,a},Xa=function(r,t,n){var a=t.scope.internal.getFont(t.fontName,t.fontStyle),s=t.scope.getStringUnitWidth(r,{font:a,fontSize:parseFloat(n),charSpace:0})*parseFloat(n);return{height:t.scope.getStringUnitWidth("3",{font:a,fontSize:parseFloat(n),charSpace:0})*parseFloat(n)*1.5,width:s}},ch={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},fh=function(r,t){var n={type:"reference",object:r};t.internal.getPageInfo(r.page).pageContext.annotations.find(function(a){return a.type===n.type&&a.object===n.object})===void 0&&t.internal.getPageInfo(r.page).pageContext.annotations.push(n)},dh=function(r,t){if(t.scope=r,r.internal!==void 0&&(r.internal.acroformPlugin===void 0||r.internal.acroformPlugin.isInitialized===!1)){if(Kn.FieldNum=0,r.internal.acroformPlugin=JSON.parse(JSON.stringify(ch)),r.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");so=r.internal.scaleFactor,r.internal.acroformPlugin.acroFormDictionaryRoot=new Ou,r.internal.acroformPlugin.acroFormDictionaryRoot.scope=r,r.internal.acroformPlugin.acroFormDictionaryRoot._eventID=r.internal.events.subscribe("postPutResources",function(){(function(n){n.internal.events.unsubscribe(n.internal.acroformPlugin.acroFormDictionaryRoot._eventID),delete n.internal.acroformPlugin.acroFormDictionaryRoot._eventID,n.internal.acroformPlugin.printedOut=!0})(r)}),r.internal.events.subscribe("buildDocument",function(){(function(n){n.internal.acroformPlugin.acroFormDictionaryRoot.objId=void 0;var a=n.internal.acroformPlugin.acroFormDictionaryRoot.Fields;for(var s in a)if(a.hasOwnProperty(s)){var o=a[s];o.objId=void 0,o.hasAnnotation&&fh(o,n)}})(r)}),r.internal.events.subscribe("putCatalog",function(){(function(n){if(n.internal.acroformPlugin.acroFormDictionaryRoot===void 0)throw new Error("putCatalogCallback: Root missing.");n.internal.write("/AcroForm "+n.internal.acroformPlugin.acroFormDictionaryRoot.objId+" 0 R")})(r)}),r.internal.events.subscribe("postPutPages",function(n){(function(a,s){var o=!a;for(var d in a||(s.internal.newObjectDeferredBegin(s.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),s.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),a=a||s.internal.acroformPlugin.acroFormDictionaryRoot.Kids)if(a.hasOwnProperty(d)){var h=a[d],c=[],v=h.Rect;if(h.Rect&&(h.Rect=lh(h.Rect,s)),s.internal.newObjectDeferredBegin(h.objId,!0),h.DA=Ft.createDefaultAppearanceStream(h),Se(h)==="object"&&typeof h.getKeyValueListForStream=="function"&&(c=h.getKeyValueListForStream()),h.Rect=v,h.hasAppearanceStream&&!h.appearanceStreamContent){var A=hh(h);c.push({key:"AP",value:"<</N "+A+">>"}),s.internal.acroformPlugin.xForms.push(A)}if(h.appearanceStreamContent){var x="";for(var O in h.appearanceStreamContent)if(h.appearanceStreamContent.hasOwnProperty(O)){var p=h.appearanceStreamContent[O];if(x+="/"+O+" ",x+="<<",Object.keys(p).length>=1||Array.isArray(p)){for(var d in p)if(p.hasOwnProperty(d)){var R=p[d];typeof R=="function"&&(R=R.call(s,h)),x+="/"+d+" "+R+" ",s.internal.acroformPlugin.xForms.indexOf(R)>=0||s.internal.acroformPlugin.xForms.push(R)}}else typeof(R=p)=="function"&&(R=R.call(s,h)),x+="/"+d+" "+R,s.internal.acroformPlugin.xForms.indexOf(R)>=0||s.internal.acroformPlugin.xForms.push(R);x+=">>"}c.push({key:"AP",value:`<< 30`+x+">>"})}s.internal.putStream({additionalKeyValues:c,objectId:h.objId}),s.internal.out("endobj")}o&&(function(E,q){for(var I in E)if(E.hasOwnProperty(I)){var $=I,Z=E[I];q.internal.newObjectDeferredBegin(Z.objId,!0),Se(Z)==="object"&&typeof Z.putStream=="function"&&Z.putStream(),delete E[$]}})(s.internal.acroformPlugin.xForms,s)})(n,r)}),r.internal.acroformPlugin.isInitialized=!0}},Cu=De.__acroform__.arrayToPdfArray=function(r,t,n){var a=function(d){return d};if(Array.isArray(r)){for(var s="[",o=0;o<r.length;o++)switch(o!==0&&(s+=" "),Se(r[o])){case"boolean":case"number":case"object":s+=r[o].toString();break;case"string":r[o].substr(0,1)==="/"?s+="/"+ci(r[o].substr(1)):(t!==void 0&&n&&(a=n.internal.getEncryptor(t)),s+="("+fi(a(r[o].toString()))+")")}return s+"]"}throw new Error("Invalid argument passed to jsPDF.__acroform__.arrayToPdfArray")},Xs=function(r,t,n){var a=function(s){return s};return t!==void 0&&n&&(a=n.internal.getEncryptor(t)),(r=r||"").toString(),"("+fi(a(r))+")"},lr=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(r){this._objId=r}}),Object.defineProperty(this,"scope",{value:this._scope,writable:!0})};lr.prototype.toString=function(){return this.objId+" 0 R"},lr.prototype.putStream=function(){var r=this.getKeyValueListForStream();this.scope.internal.putStream({data:this.stream,additionalKeyValues:r,objectId:this.objId}),this.scope.internal.out("endobj")},lr.prototype.getKeyValueListForStream=function(){var r=[],t=Object.getOwnPropertyNames(this).filter(function(o){return o!="content"&&o!="appearanceStreamContent"&&o!="scope"&&o!="objId"&&o.substring(0,1)!="_"});for(var n in t)if(Object.getOwnPropertyDescriptor(this,t[n]).configurable===!1){var a=t[n],s=this[a];s&&(Array.isArray(s)?r.push({key:a,value:Cu(s,this.objId,this.scope)}):s instanceof lr?(s.scope=this.scope,r.push({key:a,value:s.objId+" 0 R"})):typeof s!="function"&&r.push({key:a,value:s}))}return r};var ju=function(){lr.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 r,t=[];Object.defineProperty(this,"BBox",{configurable:!1,get:function(){return t},set:function(n){t=n}}),Object.defineProperty(this,"Resources",{value:"2 0 R",configurable:!1,writable:!0}),Object.defineProperty(this,"stream",{enumerable:!1,configurable:!0,set:function(n){r=n.trim()},get:function(){return r||null}})};Sn(ju,lr);var Ou=function(){lr.call(this);var r,t=[];Object.defineProperty(this,"Kids",{enumerable:!1,configurable:!0,get:function(){return t.length>0?t:void 0}}),Object.defineProperty(this,"Fields",{enumerable:!1,configurable:!1,get:function(){return t}}),Object.defineProperty(this,"DA",{enumerable:!1,configurable:!1,get:function(){if(r){var n=function(a){return a};return this.scope&&(n=this.scope.internal.getEncryptor(this.objId)),"("+fi(n(r))+")"}},set:function(n){r=n}})};Sn(Ou,lr);var Kn=function r(){lr.call(this);var t=4;Object.defineProperty(this,"F",{enumerable:!1,configurable:!1,get:function(){return t},set:function(I){if(isNaN(I))throw new Error('Invalid value "'+I+'" for attribute F supplied.');t=I}}),Object.defineProperty(this,"showWhenPrinted",{enumerable:!0,configurable:!0,get:function(){return!!Ve(t,3)},set:function(I){I?this.F=Ge(t,3):this.F=Ye(t,3)}});var n=0;Object.defineProperty(this,"Ff",{enumerable:!1,configurable:!1,get:function(){return n},set:function(I){if(isNaN(I))throw new Error('Invalid value "'+I+'" for attribute Ff supplied.');n=I}});var a=[];Object.defineProperty(this,"Rect",{enumerable:!1,configurable:!1,get:function(){if(a.length!==0)return a},set:function(I){a=I!==void 0?I:[]}}),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,get:function(){return!a||isNaN(a[0])?0:a[0]},set:function(I){a[0]=I}}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,get:function(){return!a||isNaN(a[1])?0:a[1]},set:function(I){a[1]=I}}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,get:function(){return!a||isNaN(a[2])?0:a[2]},set:function(I){a[2]=I}}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,get:function(){return!a||isNaN(a[3])?0:a[3]},set:function(I){a[3]=I}});var s="";Object.defineProperty(this,"FT",{enumerable:!0,configurable:!1,get:function(){return s},set:function(I){switch(I){case"/Btn":case"/Tx":case"/Ch":case"/Sig":s=I;break;default:throw new Error('Invalid value "'+I+'" for attribute FT supplied.')}}});var o=null;Object.defineProperty(this,"T",{enumerable:!0,configurable:!1,get:function(){if(!o||o.length<1){if(this instanceof is)return;o="FieldObject"+r.FieldNum++}var I=function($){return $};return this.scope&&(I=this.scope.internal.getEncryptor(this.objId)),"("+fi(I(o))+")"},set:function(I){o=I.toString()}}),Object.defineProperty(this,"fieldName",{configurable:!0,enumerable:!0,get:function(){return o},set:function(I){o=I}});var d="helvetica";Object.defineProperty(this,"fontName",{enumerable:!0,configurable:!0,get:function(){return d},set:function(I){d=I}});var h="normal";Object.defineProperty(this,"fontStyle",{enumerable:!0,configurable:!0,get:function(){return h},set:function(I){h=I}});var c=0;Object.defineProperty(this,"fontSize",{enumerable:!0,configurable:!0,get:function(){return c},set:function(I){c=I}});var v=void 0;Object.defineProperty(this,"maxFontSize",{enumerable:!0,configurable:!0,get:function(){return v===void 0?50/so:v},set:function(I){v=I}});var A="black";Object.defineProperty(this,"color",{enumerable:!0,configurable:!0,get:function(){return A},set:function(I){A=I}});var x="/F1 0 Tf 0 g";Object.defineProperty(this,"DA",{enumerable:!0,configurable:!1,get:function(){if(!(!x||this instanceof is||this instanceof hi))return Xs(x,this.objId,this.scope)},set:function(I){I=I.toString(),x=I}});var O=null;Object.defineProperty(this,"DV",{enumerable:!1,configurable:!1,get:function(){if(O)return this instanceof nn==0?Xs(O,this.objId,this.scope):O},set:function(I){I=I.toString(),O=this instanceof nn==0?I.substr(0,1)==="("?Bi(I.substr(1,I.length-2)):Bi(I):I}}),Object.defineProperty(this,"defaultValue",{enumerable:!0,configurable:!0,get:function(){return this instanceof nn==1?Bi(O.substr(1,O.length-1)):O},set:function(I){I=I.toString(),O=this instanceof nn==1?"/"+ci(I):I}});var p=null;Object.defineProperty(this,"_V",{enumerable:!1,configurable:!1,get:function(){if(p)return p},set:function(I){this.V=I}}),Object.defineProperty(this,"V",{enumerable:!1,configurable:!1,get:function(){if(p)return this instanceof nn==0?Xs(p,this.objId,this.scope):p},set:function(I){I=I.toString(),p=this instanceof nn==0?I.substr(0,1)==="("?Bi(I.substr(1,I.length-2)):Bi(I):I}}),Object.defineProperty(this,"value",{enumerable:!0,configurable:!0,get:function(){return this instanceof nn==1?Bi(p.substr(1,p.length-1)):p},set:function(I){I=I.toString(),p=this instanceof nn==1?"/"+ci(I):I}}),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 R,E=!1;Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return E},set:function(I){I=!!I,E=I}}),Object.defineProperty(this,"page",{enumerable:!0,configurable:!0,get:function(){if(R)return R},set:function(I){R=I}}),Object.defineProperty(this,"readOnly",{enumerable:!0,configurable:!0,get:function(){return!!Ve(this.Ff,1)},set:function(I){I?this.Ff=Ge(this.Ff,1):this.Ff=Ye(this.Ff,1)}}),Object.defineProperty(this,"required",{enumerable:!0,configurable:!0,get:function(){return!!Ve(this.Ff,2)},set:function(I){I?this.Ff=Ge(this.Ff,2):this.Ff=Ye(this.Ff,2)}}),Object.defineProperty(this,"noExport",{enumerable:!0,configurable:!0,get:function(){return!!Ve(this.Ff,3)},set:function(I){I?this.Ff=Ge(this.Ff,3):this.Ff=Ye(this.Ff,3)}});var q=null;Object.defineProperty(this,"Q",{enumerable:!0,configurable:!1,get:function(){if(q!==null)return q},set:function(I){if([0,1,2].indexOf(I)===-1)throw new Error('Invalid value "'+I+'" for attribute Q supplied.');q=I}}),Object.defineProperty(this,"textAlign",{get:function(){var I;switch(q){case 0:default:I="left";break;case 1:I="center";break;case 2:I="right"}return I},configurable:!0,enumerable:!0,set:function(I){switch(I){case"right":case 2:q=2;break;case"center":case 1:q=1;break;default:q=0}}})};Sn(Kn,lr);var Di=function(){Kn.call(this),this.FT="/Ch",this.V="()",this.fontName="zapfdingbats";var r=0;Object.defineProperty(this,"TI",{enumerable:!0,configurable:!1,get:function(){return r},set:function(n){r=n}}),Object.defineProperty(this,"topIndex",{enumerable:!0,configurable:!0,get:function(){return r},set:function(n){r=n}});var t=[];Object.defineProperty(this,"Opt",{enumerable:!0,configurable:!1,get:function(){return Cu(t,this.objId,this.scope)}
30,set:function(n){var a,s;s=[],typeof(a=n)=="string"&&(s=(function(o,d,h){h||(h=1);for(var c,v=[];c=d.exec(o);)v.push(c[h]);return v})(a,/\((.*?)\)/g)),t=s}}),this.getOptions=function(){return t},this.setOptions=function(n){t=n,this.sort&&t.sort()},this.addOption=function(n){n=(n=n||"").toString(),t.push(n),this.sort&&t.sort()},this.removeOption=function(n,a){for(a=a||!1,n=(n=n||"").toString();t.indexOf(n)!==-1&&(t.splice(t.indexOf(n),1),a!==!1););},Object.defineProperty(this,"combo",{enumerable:!0,configurable:!0,get:function(){return!!Ve(this.Ff,18)},set:function(n){n?this.Ff=Ge(this.Ff,18):this.Ff=Ye(this.Ff,18)}}),Object.defineProperty(this,"edit",{enumerable:!0,configurable:!0,get:function(){return!!Ve(this.Ff,19)},set:function(n){this.combo===!0&&(n?this.Ff=Ge(this.Ff,19):this.Ff=Ye(this.Ff,19))}}),Object.defineProperty(this,"sort",{enumerable:!0,configurable:!0,get:function(){return!!Ve(this.Ff,20)},set:function(n){n?(this.Ff=Ge(this.Ff,20),t.sort()):this.Ff=Ye(this.Ff,20)}}),Object.defineProperty(this,"multiSelect",{enumerable:!0,configurable:!0,get:function(){return!!Ve(this.Ff,22)},set:function(n){n?this.Ff=Ge(this.Ff,22):this.Ff=Ye(this.Ff,22)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return!!Ve(this.Ff,23)},set:function(n){n?this.Ff=Ge(this.Ff,23):this.Ff=Ye(this.Ff,23)}}),Object.defineProperty(this,"commitOnSelChange",{enumerable:!0,configurable:!0,get:function(){return!!Ve(this.Ff,27)},set:function(n){n?this.Ff=Ge(this.Ff,27):this.Ff=Ye(this.Ff,27)}}),this.hasAppearanceStream=!1};Sn(Di,Kn);var Ui=function(){Di.call(this),this.fontName="helvetica",this.combo=!1};Sn(Ui,Di);var zi=function(){Ui.call(this),this.combo=!0};Sn(zi,Ui);var Qa=function(){zi.call(this),this.edit=!0};Sn(Qa,zi);var nn=function(){Kn.call(this),this.FT="/Btn",Object.defineProperty(this,"noToggleToOff",{enumerable:!0,configurable:!0,get:function(){return!!Ve(this.Ff,15)},set:function(n){n?this.Ff=Ge(this.Ff,15):this.Ff=Ye(this.Ff,15)}}),Object.defineProperty(this,"radio",{enumerable:!0,configurable:!0,get:function(){return!!Ve(this.Ff,16)},set:function(n){n?this.Ff=Ge(this.Ff,16):this.Ff=Ye(this.Ff,16)}}),Object.defineProperty(this,"pushButton",{enumerable:!0,configurable:!0,get:function(){return!!Ve(this.Ff,17)},set:function(n){n?this.Ff=Ge(this.Ff,17):this.Ff=Ye(this.Ff,17)}}),Object.defineProperty(this,"radioIsUnison",{enumerable:!0,configurable:!0,get:function(){return!!Ve(this.Ff,26)},set:function(n){n?this.Ff=Ge(this.Ff,26):this.Ff=Ye(this.Ff,26)}});var r,t={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var n=function(o){return o};if(this.scope&&(n=this.scope.internal.getEncryptor(this.objId)),Object.keys(t).length!==0){var a,s=[];for(a in s.push("<<"),t)s.push("/"+a+" ("+fi(n(t[a]))+")");return s.push(">>"),s.join(` 31`)}},set:function(n){Se(n)==="object"&&(t=n)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return t.CA||""},set:function(n){typeof n=="string"&&(t.CA=n)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return r},set:function(n){var a=n==null?"":n.toString();a.substr(0,1)==="/"&&(a=a.substr(1)),r="/"+ci(a)}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return r.substr(1,r.length-1)},set:function(n){r="/"+ci(n)}})};Sn(nn,Kn);var ts=function(){nn.call(this),this.pushButton=!0};Sn(ts,nn);var Wi=function(){nn.call(this),this.radio=!0,this.pushButton=!1;var r=[];Object.defineProperty(this,"Kids",{enumerable:!0,configurable:!1,get:function(){return r},set:function(t){r=t!==void 0?t:[]}})};Sn(Wi,nn);var is=function(){var r,t;Kn.call(this),Object.defineProperty(this,"Parent",{enumerable:!1,configurable:!1,get:function(){return r},set:function(s){r=s}}),Object.defineProperty(this,"optionName",{enumerable:!1,configurable:!0,get:function(){return t},set:function(s){t=s}});var n,a={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var s=function(h){return h};this.scope&&(s=this.scope.internal.getEncryptor(this.objId));var o,d=[];for(o in d.push("<<"),a)d.push("/"+o+" ("+fi(s(a[o]))+")");return d.push(">>"),d.join(` 32`)}
vendor: 9,199 bytes, lines 32-41
32,set:function(s){Se(s)==="object"&&(a=s)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return a.CA||""},set:function(s){typeof s=="string"&&(a.CA=s)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return n},set:function(s){var o=s==null?"":s.toString();o.substr(0,1)==="/"&&(o=o.substr(1)),n="/"+ci(o)}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return n.substr(1,n.length-1)},set:function(s){var o=s==null?"":s.toString();o.substr(0,1)==="/"&&(o=o.substr(1)),n="/"+ci(o)}}),this.caption="l",this.appearanceState="Off",this._AppearanceType=Ft.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(this.optionName)};Sn(is,Kn),Wi.prototype.setAppearance=function(r){if(!("createAppearanceStream"in r)||!("getCA"in r))throw new Error("Couldn't assign Appearance to RadioButton. Appearance was Invalid!");for(var t in this.Kids)if(this.Kids.hasOwnProperty(t)){var n=this.Kids[t];n.appearanceStreamContent=r.createAppearanceStream(n.optionName),n.caption=r.getCA()}},Wi.prototype.createOption=function(r){var t=new is;return t.Parent=this,t.optionName=r,this.Kids.push(t),ph.call(this.scope,t),t};var es=function(){nn.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=Ft.CheckBox.createAppearanceStream()};Sn(es,nn);var hi=function(){Kn.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return!!Ve(this.Ff,13)},set:function(t){t?this.Ff=Ge(this.Ff,13):this.Ff=Ye(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return!!Ve(this.Ff,21)},set:function(t){t?this.Ff=Ge(this.Ff,21):this.Ff=Ye(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return!!Ve(this.Ff,23)},set:function(t){t?this.Ff=Ge(this.Ff,23):this.Ff=Ye(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return!!Ve(this.Ff,24)},set:function(t){t?this.Ff=Ge(this.Ff,24):this.Ff=Ye(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return!!Ve(this.Ff,25)},set:function(t){t?this.Ff=Ge(this.Ff,25):this.Ff=Ye(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return!!Ve(this.Ff,26)},set:function(t){t?this.Ff=Ge(this.Ff,26):this.Ff=Ye(this.Ff,26)}});var r=null;Object.defineProperty(this,"MaxLen",{enumerable:!0,configurable:!1,get:function(){return r},set:function(t){r=t}}),Object.defineProperty(this,"maxLength",{enumerable:!0,configurable:!0,get:function(){return r},set:function(t){Number.isInteger(t)&&(r=t)}}),Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return this.V||this.DV}})};Sn(hi,Kn);var ns=function(){hi.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return!!Ve(this.Ff,14)},set:function(r){r?this.Ff=Ge(this.Ff,14):this.Ff=Ye(this.Ff,14)}}),this.password=!0};Sn(ns,hi);var Ft={CheckBox:{createAppearanceStream:function(){return{N:{On:Ft.CheckBox.YesNormal},D:{On:Ft.CheckBox.YesPushDown,Off:Ft.CheckBox.OffPushDown}}},YesPushDown:function(r){var t=ur(r);t.scope=r.scope;var n=[],a=r.scope.internal.getFont(r.fontName,r.fontStyle).id,s=r.scope.__private__.encodeColorString(r.color),o=ro(r,r.caption);return n.push("0.749023 g"),n.push("0 0 "+$t(Ft.internal.getWidth(r))+" "+$t(Ft.internal.getHeight(r))+" re"),n.push("f"),n.push("BMC"),n.push("q"),n.push("0 0 1 rg"),n.push("/"+a+" "+$t(o.fontSize)+" Tf "+s),n.push("BT"),n.push(o.text),n.push("ET"),n.push("Q"),n.push("EMC"),t.stream=n.join(` 33`),t},YesNormal:function(r){var t=ur(r);t.scope=r.scope;var n=r.scope.internal.getFont(r.fontName,r.fontStyle).id,a=r.scope.__private__.encodeColorString(r.color),s=[],o=Ft.internal.getHeight(r),d=Ft.internal.getWidth(r),h=ro(r,r.caption);return s.push("1 g"),s.push("0 0 "+$t(d)+" "+$t(o)+" re"),s.push("f"),s.push("q"),s.push("0 0 1 rg"),s.push("0 0 "+$t(d-1)+" "+$t(o-1)+" re"),s.push("W"),s.push("n"),s.push("0 g"),s.push("BT"),s.push("/"+n+" "+$t(h.fontSize)+" Tf "+a),s.push(h.text),s.push("ET"),s.push("Q"),t.stream=s.join(` 34`),t},OffPushDown:function(r){var t=ur(r);t.scope=r.scope;var n=[];return n.push("0.749023 g"),n.push("0 0 "+$t(Ft.internal.getWidth(r))+" "+$t(Ft.internal.getHeight(r))+" re"),n.push("f"),t.stream=n.join(` 35`),t}},RadioButton:{Circle:{createAppearanceStream:function(r){var t={D:{Off:Ft.RadioButton.Circle.OffPushDown},N:{}};return t.N[r]=Ft.RadioButton.Circle.YesNormal,t.D[r]=Ft.RadioButton.Circle.YesPushDown,t},getCA:function(){return"l"},YesNormal:function(r){var t=ur(r);t.scope=r.scope;var n=[],a=Ft.internal.getWidth(r)<=Ft.internal.getHeight(r)?Ft.internal.getWidth(r)/4:Ft.internal.getHeight(r)/4;a=Number((.9*a).toFixed(5));var s=Ft.internal.Bezier_C,o=Number((a*s).toFixed(5));return n.push("q"),n.push("1 0 0 1 "+Dr(Ft.internal.getWidth(r)/2)+" "+Dr(Ft.internal.getHeight(r)/2)+" cm"),n.push(a+" 0 m"),n.push(a+" "+o+" "+o+" "+a+" 0 "+a+" c"),n.push("-"+o+" "+a+" -"+a+" "+o+" -"+a+" 0 c"),n.push("-"+a+" -"+o+" -"+o+" -"+a+" 0 -"+a+" c"),n.push(o+" -"+a+" "+a+" -"+o+" "+a+" 0 c"),n.push("f"),n.push("Q"),t.stream=n.join(` 36`),t},YesPushDown:function(r){var t=ur(r);t.scope=r.scope;var n=[],a=Ft.internal.getWidth(r)<=Ft.internal.getHeight(r)?Ft.internal.getWidth(r)/4:Ft.internal.getHeight(r)/4;a=Number((.9*a).toFixed(5));var s=Number((2*a).toFixed(5)),o=Number((s*Ft.internal.Bezier_C).toFixed(5)),d=Number((a*Ft.internal.Bezier_C).toFixed(5));return n.push("0.749023 g"),n.push("q"),n.push("1 0 0 1 "+Dr(Ft.internal.getWidth(r)/2)+" "+Dr(Ft.internal.getHeight(r)/2)+" cm"),n.push(s+" 0 m"),n.push(s+" "+o+" "+o+" "+s+" 0 "+s+" c"),n.push("-"+o+" "+s+" -"+s+" "+o+" -"+s+" 0 c"),n.push("-"+s+" -"+o+" -"+o+" -"+s+" 0 -"+s+" c"),n.push(o+" -"+s+" "+s+" -"+o+" "+s+" 0 c"),n.push("f"),n.push("Q"),n.push("0 g"),n.push("q"),n.push("1 0 0 1 "+Dr(Ft.internal.getWidth(r)/2)+" "+Dr(Ft.internal.getHeight(r)/2)+" cm"),n.push(a+" 0 m"),n.push(a+" "+d+" "+d+" "+a+" 0 "+a+" c"),n.push("-"+d+" "+a+" -"+a+" "+d+" -"+a+" 0 c"),n.push("-"+a+" -"+d+" -"+d+" -"+a+" 0 -"+a+" c"),n.push(d+" -"+a+" "+a+" -"+d+" "+a+" 0 c"),n.push("f"),n.push("Q"),t.stream=n.join(` 37`),t},OffPushDown:function(r){var t=ur(r);t.scope=r.scope;var n=[],a=Ft.internal.getWidth(r)<=Ft.internal.getHeight(r)?Ft.internal.getWidth(r)/4:Ft.internal.getHeight(r)/4;a=Number((.9*a).toFixed(5));var s=Number((2*a).toFixed(5)),o=Number((s*Ft.internal.Bezier_C).toFixed(5));return n.push("0.749023 g"),n.push("q"),n.push("1 0 0 1 "+Dr(Ft.internal.getWidth(r)/2)+" "+Dr(Ft.internal.getHeight(r)/2)+" cm"),n.push(s+" 0 m"),n.push(s+" "+o+" "+o+" "+s+" 0 "+s+" c"),n.push("-"+o+" "+s+" -"+s+" "+o+" -"+s+" 0 c"),n.push("-"+s+" -"+o+" -"+o+" -"+s+" 0 -"+s+" c"),n.push(o+" -"+s+" "+s+" -"+o+" "+s+" 0 c"),n.push("f"),n.push("Q"),t.stream=n.join(` 38`),t}},Cross:{createAppearanceStream:function(r){var t={D:{Off:Ft.RadioButton.Cross.OffPushDown},N:{}};return t.N[r]=Ft.RadioButton.Cross.YesNormal,t.D[r]=Ft.RadioButton.Cross.YesPushDown,t},getCA:function(){return"8"},YesNormal:function(r){var t=ur(r);t.scope=r.scope;var n=[],a=Ft.internal.calculateCross(r);return n.push("q"),n.push("1 1 "+$t(Ft.internal.getWidth(r)-2)+" "+$t(Ft.internal.getHeight(r)-2)+" re"),n.push("W"),n.push("n"),n.push($t(a.x1.x)+" "+$t(a.x1.y)+" m"),n.push($t(a.x2.x)+" "+$t(a.x2.y)+" l"),n.push($t(a.x4.x)+" "+$t(a.x4.y)+" m"),n.push($t(a.x3.x)+" "+$t(a.x3.y)+" l"),n.push("s"),n.push("Q"),t.stream=n.join(` 39`),t},YesPushDown:function(r){var t=ur(r);t.scope=r.scope;var n=Ft.internal.calculateCross(r),a=[];return a.push("0.749023 g"),a.push("0 0 "+$t(Ft.internal.getWidth(r))+" "+$t(Ft.internal.getHeight(r))+" re"),a.push("f"),a.push("q"),a.push("1 1 "+$t(Ft.internal.getWidth(r)-2)+" "+$t(Ft.internal.getHeight(r)-2)+" re"),a.push("W"),a.push("n"),a.push($t(n.x1.x)+" "+$t(n.x1.y)+" m"),a.push($t(n.x2.x)+" "+$t(n.x2.y)+" l"),a.push($t(n.x4.x)+" "+$t(n.x4.y)+" m"),a.push($t(n.x3.x)+" "+$t(n.x3.y)+" l"),a.push("s"),a.push("Q"),t.stream=a.join(` 40`),t},OffPushDown:function(r){var t=ur(r);t.scope=r.scope;var n=[];return n.push("0.749023 g"),n.push("0 0 "+$t(Ft.internal.getWidth(r))+" "+$t(Ft.internal.getHeight(r))+" re"),n.push("f"),t.stream=n.join(` 41`),t}}},createDefaultAppearanceStream:function(r){var t=r.scope.internal.getFont(r.fontName,r.fontStyle).id,n=r.scope.__private__.encodeColorString(r.color);return"/"+t+" "+r.fontSize+" Tf "+n}};Ft.internal={Bezier_C:.551915024494,calculateCross:function(r){var t=Ft.internal.getWidth(r),n=Ft.internal.getHeight(r),a=Math.min(t,n);return{x1:{x:(t-a)/2,y:(n-a)/2+a},x2:{x:(t-a)/2+a,y:(n-a)/2},x3:{x:(t-a)/2,y:(n-a)/2},x4:{x:(t-a)/2+a,y:(n-a)/2+a}}}},Ft.internal.getWidth=function(r){var t=0;return Se(r)==="object"&&(t=ru(r.Rect[2])),t},Ft.internal.getHeight=function(r){var t=0;return Se(r)==="object"&&(t=ru(r.Rect[3])),t};var ph=De.addField=function(r){if(dh(this,r),!(r instanceof Kn))throw new Error("Invalid argument passed to
41jsPDF.addField.");var t;return(t=r).scope.internal.acroformPlugin.printedOut&&(t.scope.internal.acroformPlugin.printedOut=!1,t.scope.internal.acroformPlugin.acroFormDictionaryRoot=null),t.scope.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(t),r.page=r.scope.internal.getCurrentPageInfo().pageNumber,this};De.AcroFormChoiceField=Di,De.AcroFormListBox=Ui,De.AcroFormComboBox=zi,De.AcroFormEditBox=Qa,De.AcroFormButton=nn,De.AcroFormPushButton=ts,De.AcroFormRadioButton=Wi,De.AcroFormCheckBox=es,De.AcroFormTextField=hi,De.AcroFormPasswordField=ns,De.AcroFormAppearance=Ft,De.AcroForm={ChoiceField:Di,ListBox:Ui,ComboBox:zi,EditBox:Qa,Button:nn,PushButton:ts,RadioButton:Wi,CheckBox:es,TextField:hi,PasswordField:ns,Appearance:Ft},Rt.AcroForm={ChoiceField:Di,ListBox:Ui,ComboBox:zi,EditBox:Qa,Button:nn,PushButton:ts,RadioButton:Wi,CheckBox:es,TextField:hi,PasswordField:ns,Appearance:Ft};var Hh=Rt.AcroForm;function Eu(r){return r.reduce(function(t,n,a){return t[n]=a,t},{})}(function(r){var t="addImage_";r.__addimage__={};var n="UNKNOWN",a={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]]},s=r.__addimage__.getImageFileTypeByImageData=function(P,C){var D,U,at,lt,ft,Q=n;if((C=C||n)==="RGBA"||P.data!==void 0&&P.data instanceof Uint8ClampedArray&&"height"in P&&"width"in P)return"RGBA";if(Lt(P))for(ft in a)for(at=a[ft],D=0;D<at.length;D+=1){for(lt=!0,U=0;U<at[D].length;U+=1)if(at[D][U]!==void 0&&at[D][U]!==P[U]){lt=!1;break}if(lt===!0){Q=ft;break}}else for(ft in a)for(at=a[ft],D=0;D<at.length;D+=1){for(lt=!0,U=0;U<at[D].length;U+=1)if(at[D][U]!==void 0&&at[D][U]!==P.charCodeAt(U)){lt=!1;break}if(lt===!0){Q=ft;break}}return Q===n&&C!==n&&(Q=C),Q},o=function P(C){for(var D=this.internal.write,U=this.internal.putStream,at=(0,this.internal.getFilters)();at.indexOf("FlateEncode")!==-1;)at.splice(at.indexOf("FlateEncode"),1);C.objectId=this.internal.newObject();var lt=[];if(lt.push({key:"Type",value:"/XObject"}),lt.push({key:"Subtype",value:"/Image"}),lt.push({key:"Width",value:C.width}),lt.push({key:"Height",value:C.height}
vendor: 11,321 bytes, line 41
41),C.colorSpace===I.INDEXED?lt.push({key:"ColorSpace",value:"[/Indexed /DeviceRGB "+(C.palette.length/3-1)+" "+("sMask"in C&&C.sMask!==void 0?C.objectId+2:C.objectId+1)+" 0 R]"}):(lt.push({key:"ColorSpace",value:"/"+C.colorSpace}),C.colorSpace===I.DEVICE_CMYK&<.push({key:"Decode",value:"[1 0 1 0 1 0 1 0]"})),lt.push({key:"BitsPerComponent",value:C.bitsPerComponent}),"decodeParameters"in C&&C.decodeParameters!==void 0&<.push({key:"DecodeParms",value:"<<"+C.decodeParameters+">>"}),"transparency"in C&&Array.isArray(C.transparency)&&C.transparency.length>0){for(var ft="",Q=0,ht=C.transparency.length;Q<ht;Q++)ft+=C.transparency[Q]+" "+C.transparency[Q]+" ";lt.push({key:"Mask",value:"["+ft+"]"})}C.sMask!==void 0&<.push({key:"SMask",value:C.objectId+1+" 0 R"});var At=C.filter!==void 0?["/"+C.filter]:void 0;if(U({data:C.data,additionalKeyValues:lt,alreadyAppliedFilters:At,objectId:C.objectId}),D("endobj"),"sMask"in C&&C.sMask!==void 0){var bt,y=(bt=C.sMaskBitsPerComponent)!==null&&bt!==void 0?bt:C.bitsPerComponent,j={width:C.width,height:C.height,colorSpace:"DeviceGray",bitsPerComponent:y,data:C.sMask};"filter"in C&&(j.decodeParameters="/Predictor ".concat(C.predictor," /Colors 1 /BitsPerComponent ").concat(y," /Columns ").concat(C.width),j.filter=C.filter),P.call(this,j)}if(C.colorSpace===I.INDEXED){var B=this.internal.newObject();U({data:ot(new Uint8Array(C.palette)),objectId:B}),D("endobj")}},d=function(){var P=this.internal.collections[t+"images"];for(var C in P)o.call(this,P[C])},h=function(){var P,C=this.internal.collections[t+"images"],D=this.internal.write;for(var U in C)D("/I"+(P=C[U]).index,P.objectId,"0","R")},c=function(){this.internal.collections[t+"images"]||(this.internal.collections[t+"images"]={},this.internal.events.subscribe("putResources",d),this.internal.events.subscribe("putXobjectDict",h))},v=function(){var P=this.internal.collections[t+"images"];return c.call(this),P},A=function(){return Object.keys(this.internal.collections[t+"images"]).length},x=function(P){return typeof r["process"+P.toUpperCase()]=="function"},O=function(P){return Se(P)==="object"&&P.nodeType===1},p=function(P,C){if(P.nodeName==="IMG"&&P.hasAttribute("src")){var D=""+P.getAttribute("src");if(D.indexOf("data:image/")===0)return Za(unescape(D).split("base64,").pop());var U=r.loadFile(D,!0);if(U!==void 0)return U}if(P.nodeName==="CANVAS"){if(P.width===0||P.height===0)throw new Error("Given canvas must have data. Canvas width: "+P.width+", height: "+P.height);var at;switch(C){case"PNG":at="image/png";break;case"WEBP":at="image/webp";break;default:at="image/jpeg"}return Za(P.toDataURL(at,1).split("base64,").pop())}},R=function(P){var C=this.internal.collections[t+"images"];if(C){for(var D in C)if(P===C[D].alias)return C[D]}},E=function(P,C,D){return P||C||(P=-96,C=-96),P<0&&(P=-1*D.width*72/P/this.internal.scaleFactor),C<0&&(C=-1*D.height*72/C/this.internal.scaleFactor),P===0&&(P=C*D.width/D.height),C===0&&(C=P*D.height/D.width),[P,C]},q=function(P,C,D,U,at,lt){var ft=E.call(this,D,U,at),Q=this.internal.getCoordinateString,ht=this.internal.getVerticalCoordinateString,At=v.call(this);if(D=ft[0],U=ft[1],At[at.index]=at,lt){lt*=Math.PI/180;var bt=Math.cos(lt),y=Math.sin(lt),j=function(W){return W.toFixed(4)},B=[j(bt),j(y),j(-1*y),j(bt),0,0,"cm"]}this.internal.write("q"),lt?(this.internal.write([1,"0","0",1,Q(P),ht(C+U),"cm"].join(" ")),this.internal.write(B.join(" ")),this.internal.write([Q(D),"0","0",Q(U),"0","0","cm"].join(" "))):this.internal.write([Q(D),"0","0",Q(U),Q(P),ht(C+U),"cm"].join(" ")),this.isAdvancedAPI()&&this.internal.write([1,0,0,-1,0,0,"cm"].join(" ")),this.internal.write("/I"+at.index+" Do"),this.internal.write("Q")},I=r.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"};r.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 $=r.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},Z=r.__addimage__.sHashCode=function(P){var C,D,U=0;if(typeof P=="string")for(D=P.length,C=0;C<D;C++)U=(U<<5)-U+P.charCodeAt(C),U|=0;else if(Lt(P))for(D=P.byteLength/2,C=0;C<D;C++)U=(U<<5)-U+P[C],U|=0;return U},tt=r.__addimage__.validateStringAsBase64=function(P){(P=P||"").toString().trim();var C=!0;return P.length===0&&(C=!1),P.length%4!=0&&(C=!1),/^[A-Za-z0-9+/]+$/.test(P.substr(0,P.length-2))===!1&&(C=!1),/^[A-Za-z0-9/][A-Za-z0-9+/]|[A-Za-z0-9+/]=|==$/.test(P.substr(-2))===!1&&(C=!1),C},wt=r.__addimage__.extractImageFromDataUrl=function(P){if(P==null||!(P=P.trim()).startsWith("data:"))return null;var C=P.indexOf(",");return C<0?null:P.substring(0,C).trim().endsWith("base64")?P.substring(C+1):null};r.__addimage__.isArrayBuffer=function(P){return P instanceof ArrayBuffer};var Lt=r.__addimage__.isArrayBufferView=function(P){return P instanceof Int8Array||P instanceof Uint8Array||P instanceof Uint8ClampedArray||P instanceof Int16Array||P instanceof Uint16Array||P instanceof Int32Array||P instanceof Uint32Array||P instanceof Float32Array||P instanceof Float64Array},Tt=r.__addimage__.binaryStringToUint8Array=function(P){for(var C=P.length,D=new Uint8Array(C),U=0;U<C;U++)D[U]=P.charCodeAt(U);return D},ot=r.__addimage__.arrayBufferToBinaryString=function(P){for(var C="",D=Lt(P)?P:new Uint8Array(P),U=0;U<D.length;U+=8192)C+=String.fromCharCode.apply(null,D.subarray(U,U+8192));return C};r.addImage=function(){var P,C,D,U,at,lt,ft,Q,ht;if(typeof arguments[1]=="number"?(C=n,D=arguments[1],U=arguments[2],at=arguments[3],lt=arguments[4],ft=arguments[5],Q=arguments[6],ht=arguments[7]):(C=arguments[1],D=arguments[2],U=arguments[3],at=arguments[4],lt=arguments[5],ft=arguments[6],Q=arguments[7],ht=arguments[8]),Se(P=arguments[0])==="object"&&!O(P)&&"imageData"in P){var At=P;P=At.imageData,C=At.format||C||n,D=At.x||D||0,U=At.y||U||0,at=At.w||At.width||at,lt=At.h||At.height||lt,ft=At.alias||ft,Q=At.compression||Q,ht=At.rotation||At.angle||ht}var bt=this.internal.getFilters();if(Q===void 0&&bt.indexOf("FlateEncode")!==-1&&(Q="SLOW"),isNaN(D)||isNaN(U))throw new Error("Invalid coordinates passed to jsPDF.addImage");c.call(this);var y=Y.call(this,P,C,ft,Q);return q.call(this,D,U,at,lt,y,ht),this};var Y=function(P,C,D,U){var at,lt,ft;if(typeof P=="string"&&s(P)===n){P=unescape(P);var Q=gt(P,!1);(Q!==""||(Q=r.loadFile(P,!0))!==void 0)&&(P=Q)}if(O(P)&&(P=p(P,C)),C=s(P,C),!x(C))throw new Error("addImage does not support files of type '"+C+"', please ensure that a plugin for '"+C+"' support is added.");if(((ft=D)==null||ft.length===0)&&(D=(function(ht){return typeof ht=="string"||Lt(ht)?Z(ht):Lt(ht.data)?Z(ht.data):null})(P)),(at=R.call(this,D))||(P instanceof Uint8Array||C==="RGBA"||(lt=P,P=Tt(P)),at=this["process"+C.toUpperCase()](P,A.call(this),D,(function(ht){return ht&&typeof ht=="string"&&(ht=ht.toUpperCase()),ht in r.image_compression?ht:$.NONE})(U),lt)),!at)throw new Error("An unknown error occurred whilst processing the image.");return at},gt=r.__addimage__.convertBase64ToBinaryString=function(P,C){C=typeof C!="boolean"||C;var D,U="";if(typeof P=="string"){var at;D=(at=wt(P))!==null&&at!==void 0?at:P;try{U=Za(D)}catch(lt){if(C)throw tt(D)?new Error("atob-Error in jsPDF.convertBase64ToBinaryString "+lt.message):new Error("Supplied Data is not a valid base64-String jsPDF.convertBase64ToBinaryString ")}}return U};r.getImageProperties=function(P){var C,D,U="";if(O(P)&&(P=p(P)),typeof P=="string"&&s(P)===n&&((U=gt(P,!1))===""&&(U=r.loadFile(P)||""),P=U),D=s(P),!x(D))throw new Error("addImage does not support files of type '"+D+"', please ensure that a plugin for '"+D+"' support is added.");if(P instanceof Uint8Array||(P=Tt(P)),!(C=this["process"+D.toUpperCase()](P)))throw new Error("An unknown error occurred whilst processing the image");return C.fileType=D,C}})(Rt.API),(function(r){var t=function(n){if(n!==void 0&&n!="")return!0};Rt.API.events.push(["addPage",function(n){this.internal.getPageInfo(n.pageNumber).pageContext.annotations=[]}]),r.events.push(["putPage",function(n){for(var a,s,o,d=this.internal.getCoordinateString,h=this.internal.getVerticalCoordinateString,c=this.internal.getPageInfoByObjId(n.objId),v=n.pageContext.annotations,A=!1,x=0;x<v.length&&!A;x++)switch((a=v[x]).type){case"link":(t(a.options.url)||t(a.options.pageNumber))&&(A=!0);break;case"reference":case"text":case"freetext":A=!0}if(A!=0){this.internal.write("/Annots [");for(var O=0;O<v.length;O++){a=v[O];var p=this.internal.pdfEscape,R=this.internal.getEncryptor(n.objId);switch(a.type){case"reference":this.internal.write(" "+a.object.objId+" 0 R ");break;case"text":var E=this.internal.newAdditionalObject(),q=this.internal.newAdditionalObject(),I=this.internal.getEncryptor(E.objId),$=a.title||"Note";o="<</Type /Annot /Subtype /Text "+(s="/Rect ["+d(a.bounds.x)+" "+h(a.bounds.y+a.bounds.h)+" "+d(a.bounds.x+a.bounds.w)+" "+h(a.bounds.y)+"] ")+"/Contents ("+p(I(a.contents))+")",o+=" /Popup "+q.objId+" 0 R",o+=" /P "+c.objId+" 0 R",o+=" /T ("+p(I($))+") >>",E.content=o;var Z=E.objId+" 0 R";o="<</Type /Annot /Subtype /Popup "+(s="/Rect ["+d(a.bounds.x+30)+" "+h(a.bounds.y+a.bounds.h)+" "+d(a.bounds.x+a.bounds.w+30)+" "+h(a.bounds.y)+"] ")+" /Parent "+Z,a.open&&(o+=" /Open true"),o+=" >>",q.content=o,this.internal.write(E.objId,"0 R",q.objId,"0 R");break;case"freetext":s="/Rect ["+d(a.bounds.x)+" "+h(a.bounds.y)+" "+d(a.bounds.x+a.bounds.w)+" "+h(a.bounds.y+a.bounds.h)+"] ";var tt="font: Helvetica,sans-serif 12.0pt; text-align:left; color:#"+(a.color||"#000000");o="<</Type /Annot /Subtype /FreeText "+s+"/Contents ("+p(R(a.contents))+")",o+=" /DS("+p(R(tt))+")",o+=" /Border [0 0 0]",o+=" >>",this.internal.write(o);break;case"link":if(a.options.name){var wt=this.annotations._nameMap[a.options.name];a.options.pageNumber=wt.page,a.options.top=wt.y}else a.options.top||(a.options.top=0);if(s="/Rect ["+a.finalBounds.x+" "+a.finalBounds.y+" "+a.finalBounds.w+" "+a.finalBounds.h+"] ",o="",a.options.url)o="<</Type /Annot /Subtype /Link "+s+"/Border [0 0 0] /A <</S /URI /URI ("+p(R(a.options.url))+") >>";else if(a.options.pageNumber)switch(o="<</Type /Annot /Subtype /Link "+s+"/Border [0 0 0] /Dest ["+this.internal.getPageInfo(a.options.pageNumber).objId+" 0 R",a.options.magFactor=a.options.magFactor||"XYZ",a.options.magFactor){case"Fit":o+=" /Fit]";break;case"FitH":o+=" /FitH "+a.options.top+"]";break;case"FitV":a.options.left=a.options.left||0,o+=" /FitV "+a.options.left+"]";break;default:var Lt=h(a.options.top);a.options.left=a.options.left||0,a.options.zoom===void 0&&(a.options.zoom=0),o+=" /XYZ "+a.options.left+" "+Lt+" "+a.options.zoom+"]"}o!=""&&(o+=" >>",this.internal.write(o))}}this.internal.write("]")}}]),r.createAnnotation=function(n){var a=this.internal.getCurrentPageInfo();switch(n.type){case"link":this.link(n.bounds.x,n.bounds.y,n.bounds.w,n.bounds.h,n);break;case"text":case"freetext":a.pageContext.annotations.push(n)}},r.link=function(n,a,s,o,d){var h=this.internal.getCurrentPageInfo(),c=this.internal.getCoordinateString,v=this.internal.getVerticalCoordinateString;
41h.pageContext.annotations.push({finalBounds:{x:c(n),y:v(a),w:c(n+s),h:v(a+o)},options:d,type:"link"})},r.textWithLink=function(n,a,s,o){var d,h,c=this.getTextWidth(n),v=this.internal.getLineHeight()/this.internal.scaleFactor;if(o.maxWidth!==void 0){h=o.maxWidth;var A=this.splitTextToSize(n,h).length;d=Math.ceil(v*A)}else h=c,d=v;return this.text(n,a,s,o),s+=.2*v,o.align==="center"&&(a-=c/2),o.align==="right"&&(a-=c),this.link(a,s-v,h,d,o),c},r.getTextWidth=function(n){var a=this.internal.getFontSize();return this.getStringUnitWidth(n)*a/this.internal.scaleFactor}})(Rt.API),(function(r){var t={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,6437
vendor: 23,584 bytes, line 41
417],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]},n={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}},a={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},s=[1570,1571,1573,1575];r.__arabicParser__={};var o=r.__arabicParser__.isInArabicSubstitutionA=function(E){return t[E.charCodeAt(0)]!==void 0},d=r.__arabicParser__.isArabicLetter=function(E){return typeof E=="string"&&/^[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]+$/.test(E)},h=r.__arabicParser__.isArabicEndLetter=function(E){return d(E)&&o(E)&&t[E.charCodeAt(0)].length<=2},c=r.__arabicParser__.isArabicAlfLetter=function(E){return d(E)&&s.indexOf(E.charCodeAt(0))>=0};r.__arabicParser__.arabicLetterHasIsolatedForm=function(E){return d(E)&&o(E)&&t[E.charCodeAt(0)].length>=1};var v=r.__arabicParser__.arabicLetterHasFinalForm=function(E){return d(E)&&o(E)&&t[E.charCodeAt(0)].length>=2};r.__arabicParser__.arabicLetterHasInitialForm=function(E){return d(E)&&o(E)&&t[E.charCodeAt(0)].length>=3};var A=r.__arabicParser__.arabicLetterHasMedialForm=function(E){return d(E)&&o(E)&&t[E.charCodeAt(0)].length==4},x=r.__arabicParser__.resolveLigatures=function(E){var q=0,I=n,$="",Z=0;for(q=0;q<E.length;q+=1)I[E.charCodeAt(q)]!==void 0?(Z++,typeof(I=I[E.charCodeAt(q)])=="number"&&($+=String.fromCharCode(I),I=n,Z=0),q===E.length-1&&(I=n,$+=E.charAt(q-(Z-1)),q-=Z-1,Z=0)):(I=n,$+=E.charAt(q-Z),q-=Z,Z=0);return $};r.__arabicParser__.isArabicDiacritic=function(E){return E!==void 0&&a[E.charCodeAt(0)]!==void 0};var O=r.__arabicParser__.getCorrectForm=function(E,q,I){return d(E)?o(E)===!1?-1:!v(E)||!d(q)&&!d(I)||!d(I)&&h(q)||h(E)&&!d(q)||h(E)&&c(q)||h(E)&&h(q)?0:A(E)&&d(q)&&!h(q)&&d(I)&&v(I)?3:h(E)||!d(I)?1:2:-1},p=function(E){var q=0,I=0,$=0,Z="",tt="",wt="",Lt=(E=E||"").split("\\s+"),Tt=[];for(q=0;q<Lt.length;q+=1){for(Tt.push(""),I=0;I<Lt[q].length;I+=1)Z=Lt[q][I],tt=Lt[q][I-1],wt=Lt[q][I+1],d(Z)?($=O(Z,tt,wt),Tt[q]+=$!==-1?String.fromCharCode(t[Z.charCodeAt(0)][$]):Z):Tt[q]+=Z;Tt[q]=x(Tt[q])}return Tt.join(" ")},R=r.__arabicParser__.processArabic=r.processArabic=function(){var E,q=typeof arguments[0]=="string"?arguments[0]:arguments[0].text,I=[];if(Array.isArray(q)){var $=0;for(I=[],$=0;$<q.length;$+=1)Array.isArray(q[$])?I.push([p(q[$][0]),q[$][1],q[$][2]]):I.push([p(q[$])]);E=I}else E=p(q);return typeof arguments[0]=="string"?E:(arguments[0].text=E,arguments[0])};r.events.push(["preProcessText",R])})(Rt.API),Rt.API.autoPrint=function(r){var t;return(r=r||{}).variant=r.variant||"non-conform",r.variant==="javascript"?this.addJS("print({});"):(this.internal.events.subscribe("postPutResources",function(){t=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 "+t+" 0 R")})),this},(function(r){var t=function(){var n=void 0;Object.defineProperty(this,"pdf",{get:function(){return n},set:function(h){n=h}});var a=150;Object.defineProperty(this,"width",{get:function(){return a},set:function(h){a=isNaN(h)||Number.isInteger(h)===!1||h<0?150:h,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=a+1)}});var s=300;Object.defineProperty(this,"height",{get:function(){return s},set:function(h){s=isNaN(h)||Number.isInteger(h)===!1||h<0?300:h,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=s+1)}});var o=[];Object.defineProperty(this,"childNodes",{get:function(){return o},set:function(h){o=h}});var d={};Object.defineProperty(this,"style",{get:function(){return d},set:function(h){d=h}}),Object.defineProperty(this,"parentNode",{})};t.prototype.getContext=function(n,a){var s;if((n=n||"2d")!=="2d")return null;for(s in a)this.pdf.context2d.hasOwnProperty(s)&&(this.pdf.context2d[s]=a[s]);return this.pdf.context2d._canvas=this,this.pdf.context2d},t.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},r.events.push(["initialized",function(){this.canvas=new t,this.canvas.pdf=this}])})(Rt.API),(function(r){var t={left:0,top:0,bottom:0,right:0},n=!1,a=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({},t),this.internal.__cell__.margins.width=this.getPageWidth(),s.call(this))},s=function(){this.internal.__cell__.lastCell=new o,this.internal.__cell__.pages=1},o=function(){var c=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return c},set:function(E){c=E}});var v=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return v},set:function(E){v=E}});var A=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return A},set:function(E){A=E}});var x=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return x},set:function(E){x=E}});var O=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return O},set:function(E){O=E}});var p=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return p},set:function(E){p=E}});var R=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return R},set:function(E){R=E}}),this};o.prototype.clone=function(){return new o(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},o.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},r.setHeaderFunction=function(c){return a.call(this),this.internal.__cell__.headerFunction=typeof c=="function"?c:void 0,this},r.getTextDimensions=function(c,v){a.call(this);var A=(v=v||{}).fontSize||this.getFontSize(),x=v.font||this.getFont(),O=v.scaleFactor||this.internal.scaleFactor,p=0,R=0,E=0,q=this;if(!Array.isArray(c)&&typeof c!="string"){if(typeof c!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");c=String(c)}var I=v.maxWidth;I>0?typeof c=="string"?c=this.splitTextToSize(c,I):Object.prototype.toString.call(c)==="[object Array]"&&(c=c.reduce(function(Z,tt){return Z.concat(q.splitTextToSize(tt,I))},[])):c=Array.isArray(c)?c:[c];for(var $=0;$<c.length;$++)p<(E=this.getStringUnitWidth(c[$],{font:x})*A)&&(p=E);return p!==0&&(R=c.length),{w:p/=O,h:Math.max((R*A*this.getLineHeightFactor()-A*(this.getLineHeightFactor()-1))/O,0)}},r.cellAddPage=function(){a.call(this),this.addPage();var c=this.internal.__cell__.margins||t;return this.internal.__cell__.lastCell=new o(c.left,c.top,void 0,void 0),this.internal.__cell__.pages+=1,this};var d=r.cell=function(){var c;c=arguments[0]instanceof o?arguments[0]:new o(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6]),a.call(this);var v=this.internal.__cell__.lastCell,A=this.internal.__cell__.padding,x=this.internal.__cell__.margins||t,O=this.internal.__cell__.tableHeaderRow,p=this.internal.__cell__.printHeaders;return v.lineNumber!==void 0&&(v.lineNumber===c.lineNumber?(c.x=(v.x||0)+(v.width||0),c.y=v.y||0):v.y+v.height+c.height+x.bottom>this.getPageHeight()?(this.cellAddPage(),c.y=x.top,p&&O&&(this.printHeaderRow(c.lineNumber,!0),c.y+=O[0].height)):c.y=v.y+v.height||c.y),c.text[0]!==void 0&&(this.rect(c.x,c.y,c.width,c.height,n===!0?"FD":void 0),c.align==="right"?this.text(c.text,c.x+c.width-A,c.y+A,{align:"right",baseline:"top"}):c.align==="center"?this.text(c.text,c.x+c.width/2,c.y+A,{align:"center",baseline:"top",maxWidth:c.width-A-A}):this.text(c.text,c.x+A,c.y+A,{align:"left",baseline:"top",maxWidth:c.width-A-A})),this.internal.__cell__.lastCell=c,this};r.table=function(c,v,A,x,O){if(a.call(this),!A)throw new Error("No data for PDF table.");var p,R,E,q,I=[],$=[],Z=[],tt={},wt={},Lt=[],Tt=[],ot=(O=O||{}).autoSize||!1,Y=O.printHeaders!==!1,gt=O.css&&O.css["font-size"]!==void 0?16*O.css["font-size"]:O.fontSize||12,P=O.margins||Object.assign({width:this.getPageWidth()},t),C=typeof O.padding=="number"?O.padding:3,D=O.headerBackgroundColor||"#c8c8c8",U=O.headerTextColor||"#000";if(s.call(this),this.internal.__cell__.printHeaders=Y,this.internal.__cell__.margins=P,this.internal.__cell__.table_font_size=gt,this.internal.__cell__.padding=C,this.internal.__cell__.headerBackgroundColor=D,this.internal.__cell__.headerTextColor=U,this.setFontSize(gt),x==null)$=I=Object.keys(A[0]),Z=I.map(function(){return"left"});else if(Array.isArray(x)&&Se(x[0])==="object")for(I=x.map(function(At){return At.name}),$=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)wt[x[p].name]=.7499990551181103*x[p].width;else Array.isArray(x)&&typeof x[0]=="string"&&($=I=x,Z=I.map(function(){return"left"}));if(ot||Array.isArray(x)&&typeof x[0]=="string")for(p=0;p<I.length;p+=1){for(tt[q=I[p]]=A.map(function(At){return At[q]}),this.setFont(void 0,"bold"),Lt.push(this.getTextDimensions($[p],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w),R=tt[q],this.setFont(void 0,"normal"),E=0;E<R.length;E+=1)Lt.push(this.getTextDimensions(R[E],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w);wt[q]=Math.max.apply(null,Lt)+C+C,Lt=[]}if(Y){var at={};for(p=0;p<I.length;p+=1)at[I[p]]={},at[I[p]].text=$[p],at[I[p]].align=Z[p];var lt=h.call(this,at,wt);Tt=I.map(function(At){return new o(c,v,wt[At],lt,at[At].text,void 0,at[At].align)}),this.setTableHeaderRow(Tt),this.printHeaderRow(1,!1)}var ft=x.reduce(function(At,bt){return At[bt.name]=bt.align,At},{});for(p=0;p<A.length;p+=1){"rowStart"in O&&O.rowStart instanceof Function&&O.rowStart({row:p,data:A[p]},this);var Q=h.call(this,A[p],wt);for(E=0;E<I.length;E+=1){var ht=A[p][I[E]];"cellStart"in O&&O.cellStart instanceof Function&&O.cellStart({row:p,col:E,data:ht},this),d.call(this,new o(c,v,wt[I[E]],Q,ht,p+2,ft[I[E]]))}}return this.internal.__cell__.table_x=c,this.internal.__cell__.table_y=v,this};var h=function(c,v){var A=this.internal.__cell__.padding,x=this.internal.__cell__.table_font_size,O=this.internal.scaleFactor;return Object.keys(c).map(function(p){var R=c[p];return this.splitTextToSize(R.hasOwnProperty("text")?R.text:R,v[p]-A-A)},this).map(function(p){return this.getLineHeightFactor()*p.length*x/O+A+A},this).reduce(function(p,R){return Math.max(p,R)},0)};r.setTableHeaderRow=function(c){a.call(this),this.internal.__cell__.tableHeaderRow=c},r.printHeaderRow=function(c,v){if(a.call(this),!this.internal.__cell__.tableHeaderRow)throw new Error("Property tableHeaderRow does not exist.");var A;if(n=!0,typeof this.internal.__cell__.headerFunction=="function"){var x=this.internal.__cell__.headerFunction(this,this.internal.__cell__.pages);this.internal.__cell__.lastCell=new o(x[0],x[1],x[2],x[3],void 0,-1)}this.setFont(void 0,"bold");for(var O=[],p=0;p<this.internal.__cell__.tableHeaderRow.length;p+=1){A=this.internal.__cell__.tableHeaderRow[p].clone(),v&&(A.y=this.internal.__cell__.margins.top||0,O.push(A)),A.lineNumber=c;var R=this.getTextColor();this.setTextColor(this.internal.__cell__.headerTextColor),this.setFillColor(this.internal.__cell__.headerBackgroundColor),d.call(this,A),this.setTextColor(R)}O.length>0&&this.setTableHeaderRow(O),this.setFont(void 0,"normal"),n=!1}})(Rt.API);var Bu={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},Mu=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],io=Eu(Mu),Ru=[100,200,300,400,500,600,700,800,900],gh=Eu(Ru);function Ks(r){var t=r.family.replace(/"|'/g,"").toLowerCase(),n=(function(o){return Bu[o=o||"normal"]?o:"normal"})(r.style),a=(function(o){return o?typeof o=="number"?o>=100&&o<=900&&o%100==0?o:400:/^\d00$/.test(o)?parseInt(o):o==="bold"?700:400:400})(r.weight),s=(function(o){return typeof io[o=o||"normal"]=="number"?o:"normal"})(r.stretch);return{family:t,style:n,weight:a,stretch:s,src:r.src||[],ref:r.ref||{name:t,style:[s,n,a].join(" ")}}}function iu(r,t,n,a){var s;for(s=n;s>=0&&s<t.length;s+=a)if(r[t[s]])return r[t[s]];for(s=n;s>=0&&s<t.length;s-=a)if(r[t[s]])return r[t[s]]}var mh={"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 su(r){return[r.stretch,r.style,r.weight,r.family].join(" ")}function ou(r){return r.trimLeft()}function vh(r,t){for(var n=0;n<r.length;){if(r.charAt(n)===t)return[r.substring(0,n),r.substring(n+1)];n+=1}return null}function bh(r){var t=r.match(/^(-[a-z_]|[a-z_])[a-z0-9_-]*/i);return t===null?null:[t[0],r.substring(t[0].length)]}var Mi,Ka,uu,lu,hu,$s=["times"];function cu(r,t,n,a,s){var o=4,d=du;switch(s){case Rt.API.image_compression.FAST:o=1,d=fu;break;case Rt.API.image_compression.MEDIUM:o=6,d=pu;break;case Rt.API.image_compression.SLOW:o=9,d=gu}r=(function(c,v,A,x){for(var O,p=c.length/v,R=new Uint8Array(c.length+p),E=[wh,fu,du,pu,gu],q=0;q<p;q+=1){var I=q*v,$=c.subarray(I,I+v);if(x)R.set(x($,A,O),I+q);else{for(var Z=E.length,tt=[],wt=0;wt<Z;wt+=1)tt[wt]=E[wt]($,A,O);var Lt=Ah(tt.concat());R.set(tt[Lt],I+q)}O=$}return R})(r,t,Math.ceil(n*a/8),d);var h=to(r,{level:o});return Rt.API.__addimage__.arrayBufferToBinaryString(h)}function wh(r){var t=Array.apply([],r);return t.unshift(0),t}function fu(r,t){var n=r.length,a=[];a[0]=1;for(var s=0;s<n;s+=1){var o=r[s-t]||0;a[s+1]=r[s]-o+256&255}return a}function du(r,t,n){var a=r.length,s=[];s[0]=2;for(var o=0;o<a;o+=1){var d=n&&n[o]||0;s[o+1]=r[o]-d+256&255}return s}function pu(r,t,n){var a=r.length,s=[];s[0]=3;for(var o=0;o<a;o+=1){var d=r[o-t]||0,h=n&&n[o]||0;s[o+1]=r[o]+256-(d+h>>>1)&255}return s}function gu(r,t,n){var a=r.length,s=[];s[0]=4;for(var o=0;o<a;o+=1){var d=yh(r[o-t]||0,n&&n[o]||0,n&&n[o-t]||0);s[o+1]=r[o]-d+256&255}return s}function yh(r,t,n){if(r===t&&t===n)return r;var a=Math.abs(t-n),s=Math.abs(r-n),o=Math.abs(r+t-n-n);return a<=s&&a<=o?r:s<=o?t:n}function Ah(r){var t=r.map(function(n){return n.reduce(function(a,s){return a+Math.abs(s)},0)});return t.indexOf(Math.min.apply(null,t))}function Zs(r,t,n){var a=t*n,s=Math.floor(a/8),o=16-(a-8*s+n),d=(1<<n)-1;return Tu(r,s)>>o&d}function mu(r,t,n,a){var s=n*a,o=Math.floor(s/8),d=16-(s-8*o+a),h=(1<<a)-1,c=(t&h)<<d;(function(v,A,x){if(A+1<v.byteLength)v.setUint16(A,x,!1);else{var O=x>>8&255;v.setUint8(A,O)}})(r,o,Tu(r,o)&~(h<<d)&65535|c)}function Tu(r,t){return t+1<r.byteLength?r.getUint16(t,!1):r.getUint8(t)<<8}function Nh(r){var t=0;if(r[t++]!==71||r[t++]!==73||r[t++]!==70||r[t++]!==56||(r[t++]+1&253)!=56||r[t++]!==97)throw new Error("Invalid GIF 87a/89a header.");var n=r[t++]|r[t++]<<8,a=r[t++]|r[t++]<<8,s=r[t++],o=s>>7,d=1<<1+(7&s);r[t++],r[t++];var h=null,c=null;o&&(h=t,c=d,t+=3*d);var v=!0,A=[],x=0,O=null,p=0,R=null;for(this.width=n,this.height=a;v&&t<r.length;)switch(r[t++]){case 33:switch(r[t++]){case 255:if(r[t]!==11||r[t+1]==78&&r[t+2]==69&&r[t+3]==84&&r[t+4]==83&&r[t+5]==67&&r[t+6]==65&&r[t+7]==80&&r[t+8]==69&&r[t+9]==50&&r[t+10]==46&&r[t+11]==48&&r[t+12]==3&&r[t+13]==1&&r[t+16]==0)t+=14,R=r[t++]|r[t++]<<8,t++;else for(t+=12;;){if(!((P=r[t++])>=0))throw Error("Invalid block size");if(P===0)break;t+=P}break;case 249:if(r[t++]!==4||r[t+4]!==0)throw new Error("Invalid graphics extension block.");var E=r[t++];x=r[t++]|r[t++]<<8,O=r[t++],1&E||(O=null),p=E>>2&7,t++;break;case 254:for(;;){if(!((P=r[t++])>=0))throw Error("Invalid block size");if(P===0)break;t+=P}break;default:throw new Error("Unknown graphic control label: 0x"+r[t-1].toString(16))}break;case 44:var q=r[t++]|r[t++]<<8,I=r[t++]|r[t++]<<8,$=r[t++]|r[t++]<<8,Z=r[t++]|r[t++]<<8,tt=r[t++],wt=tt>>6&1,Lt=1<<1+(7&tt),Tt=h,ot=c,Y=!1;tt>>7&&(Y=!0,Tt=t,ot=Lt,t+=3*Lt);var gt=t;for(t++;;){var P;if(!((P=r[t++])>=0))throw Error("Invalid block size");if(P===0)break;t+=P}A.push({x:q,y:I,width:$,height:Z,has_local_palette:Y,palette_offset:Tt,palette_size:ot,data_offset:gt,data_length:t-gt,transparent_index:O,interlaced:!!wt,delay:x,disposal:p});break;case 59:v=!1;break;default:throw new Error("Unknown gif block: 0x"+r[t-1].toString(16))}this.numFrames=function(){return A.length},this.loopCount=function(){return R},this.frameInfo=function(C){if(C<0||C>=A.length)throw new Error("Frame index out of range.");return A[C]},this.decodeAndBlitFrameBGRA=function(C,D){var U=this.frameInfo(C),at=U.width*U.height;if(at>536870912)throw new Error("Image dimensions exceed 512MB, which is too large.");var lt=new Uint8Array(at);vu(r,U.data_offset,lt,at);var ft=U.palette_offset,Q=U.transparent_index;Q===null&&(Q=256);var ht=U.width,At=n-ht,bt=ht,y=4*(U.y*n+U.x),j=4*((U.y+U.height)*n+U.x),B=y,W=4*At;U.interlaced===!0&&(W+=4*n*7);for(var V=8,K=0,et=lt.length;K<et;++K){var nt=lt[K];if(bt===0&&(bt=ht,(B+=W)>=j&&(W=4*At+4*n*(V-1),B=y+(ht+At)*(V<<1),V>>=1)),nt===Q)B+=4;else{var ct=r[ft+3*nt],yt=r[ft+3*nt+1],_t=r[ft+3*nt+2];D[B++]=_t,D[B++]=yt,D[B++]=ct,D[B++]=255}--bt}},this.decodeAndBlitFrameRGBA=function(C,D){var U=this.frameInfo(C),at=U.width*U.height;if(at>536870912)throw new Error("Image dimensions exceed 512MB, which is too large.");var lt=new Uint8Array(at);vu(r,U.data_offset,lt,at);var ft=U.palette_offset,Q=U.transparent_index;Q===null&&(Q=256);var ht=U.width,At=n-ht,bt=ht,y=4*(U.y*n+U.x),j=4*((U.y+U.height)*n+U.x),B=y,W=4*At;U.interlaced===!0&&(W+=4*n*7);for(var V=8,K=0,et=lt.length;K<et;++K){var nt=lt[K];if(bt===0&&(bt=ht,(B+=W)>=j&&(W=4*At+4*n*(V-1),B=y+(ht+At)*(V<<1),V>>=1)),nt===Q)B+=4;else{var ct=r[ft+3*nt],yt=r[ft+3*nt+1],_t=r[ft+3*nt+2];D[B++]=ct,D[B++]=yt,D[B++]=_t,D[B++]=255}--bt}}}function vu(r,t,n,a){for(var s=r[t++],o=1<<s,d=o+1,h=d+1,c=s+1,v=(1<<c)-1,A=0,x=0,O=0,p=r[t++],R=new Int32Array(4096),E=null;;){for(;A<16&&p!==0;)x|=r[t++]<<A,A+=8,p===1?p=r[t++]:--p;if(A<c)break;var q=x&v;if(x>>=c,A-=c,q!==o){if(q===d)break;for(var I=q<h?q:E,$=0,Z=I;Z>o;)Z=R[Z]>>8,++$;var tt=Z;if(O+$+(I!==q?1:0)>a)return void _e.log("Warning, gif stream longer than expected.");n[O++]=tt;var wt=O+=$;for(I!==q&&(n[O++]=tt),Z=I;$--;)Z=R[Z],n[--wt]=255&Z,Z>>=8;E!==null&&h<4096&&(R[h++]=E<<8|tt,h>=v+1&&c<12&&(++c,v=v<<1|1)),E=q}else h=d+1,v=(1<<(c=s+1))-1,E=null}return O!==a&&_e.log("Warning, gif stream shorter than expected."),n}function Qs(r){var t,n,a,s,o,d=Math.floor,h=new Array(64),c=new Array(64),v=new Array(64),A=new Array(64),x=new Array(65535),O=new Array(65535),p=new Array(64),R=new Array(64),E=[],q=0,I=7,$=new Array(64),Z=new Array(64),tt=new Array(64),wt=new Array(256),Lt=new Array(2048),Tt=[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],ot=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],Y=[0,1,2,3,4,5,6,7,8,9,10,11],gt=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],P=[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],C=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],D=[0,1,2,3,4,5,6,7,8,9,10,11],U=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],at=[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 lt(y,j){for(var B=0,W=0,V=new Array,K=1;K<=16;K++){for(var et=1;et<=y[K];et++)V[j[W]]=[],V[j[W]][0]=B,V[j[W]][1]=K,W++,B++;B*=2}return V}function ft(y){for(var j=y[0],B=y[1]-1;B>=0;)j&1<<B&&(q|=1<<I),B--,--I<0&&(q==255?(Q(255),Q(0)):Q(q),I=7,q=0)}function Q(y){E.push(y)}function ht(y){Q(y>>8&255),Q(255&y)}function At(y,j,B,W,V){for(var K,et=V[0],nt=V[240],ct=(function(mt,Ht){var kt,Ut,qt,ve,le,Zt,ce,he,Et,ne,Mt=0;for(Et=0;Et<8;++Et){kt=mt[Mt],Ut=mt[Mt+1],qt=mt[Mt+2],ve=mt[Mt+3],le=mt[Mt+4],Zt=mt[Mt+5],ce=mt[Mt+6];var Ue=kt+(he=mt[Mt+7]),ge=kt-he,se=Ut+ce,oe=Ut-ce,Oe=qt+Zt,Dt=qt-Zt,Pe=ve+le,Yt=ve-le,Qt=Ue+Pe,Ee=Ue-Pe,ue=se+Oe,Vt=se-Oe;mt[Mt]=Qt+ue,mt[Mt+4]=Qt-ue;var be=.707106781*(Vt+Ee);mt[Mt+2]=Ee+be,mt[Mt+6]=Ee-be;var Wr=.382683433*((Qt=Yt+Dt)-(Vt=oe+ge)),ln=.5411961*Qt+Wr,cr=1.306562965*Vt+Wr,Zn=.707106781*(ue=Dt+oe),Gt=ge+Zn,fr=ge-Zn;mt[Mt+5]=fr+ln,mt[Mt+3]=fr-ln,mt[Mt+1]=Gt+cr,mt[Mt+7]=Gt-cr,Mt+=8}for(Mt=0,Et=0;Et<8;++Et){kt=mt[Mt],Ut=mt[Mt+8],qt=mt[Mt+16],ve=mt[Mt+24],le=mt[Mt+32],Zt=mt[Mt+40],ce=mt[Mt+48];var dr=kt+(he=mt[Mt+56]),Bn=kt-he,Mn=Ut+ce,Re=Ut-ce,en=qt+Zt,rn=qt-Zt,Hr=ve+le,_r=ve-le,zn=dr+Hr,Qn=dr-Hr,Wn=Mn+en,Hn=Mn-en;mt[Mt]=zn+Wn,mt[Mt+32]=zn-Wn;var Rn=.707106781*(Hn+Qn);mt[Mt+16]=Qn+Rn,mt[Mt+48]=Qn-Rn;var Vr=.382683433*((zn=_r+rn)-(Hn=Re+Bn)),tr=.5411961*zn+Vr,Gr=1.306562965*Hn+Vr,di=.707106781*(Wn=rn+Re),pi=Bn+di,gi=Bn-di;mt[Mt+40]=gi+tr,mt[Mt+24]=gi-tr,mt[Mt+8]=pi+Gr,mt[Mt+56]=pi-Gr,Mt++}for(Et=0;Et<64;++Et)ne=mt[Et]*Ht[Et],p[Et]=ne>0?ne+.5|0:ne-.5|0;return p})(y,j),yt=0;yt<64;++yt)R[Tt[yt]]=ct[yt];var _t=R[0]-B;B=R[0],_t==0?ft(W[0]):(ft(W[O[K=32767+_t]]),ft(x[K]));for(var St=63;St>0&&R[St]==0;)St--;if(St==0)return ft(et),B;for(var zt,_=1;_<=St;){for(var xt=_;R[_]==0&&_<=St;)++_;var ae=_-xt;if(ae>=16){zt=ae>>4;for(var Wt=1;Wt<=zt;++Wt)ft(nt);ae&=15}K=32767+R[_],ft(V[(ae<<4)+O[K]]),ft(x[K]),_++}return St!=63&&ft(et),B}function bt(y){y=Math.min(Math.max(y,1),100),o!=y&&((function(j){for(var B=[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],W=0;W<64;W++){var V=d((B[W]*j+50)/100);V=Math.min(Math.max(V,1),255),h[Tt[W]]=V}for(var K=[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],et=0;et<64;
41et++){var nt=d((K[et]*j+50)/100);nt=Math.min(Math.max(nt,1),255),c[Tt[et]]=nt}for(var ct=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],yt=0,_t=0;_t<8;_t++)for(var St=0;St<8;St++)v[yt]=1/(h[Tt[yt]]*ct[_t]*ct[St]*8),A[yt]=1/(c[Tt[yt]]*ct[_t]*ct[St]*8),yt++})(y<50?Math.floor(5e3/y):Math.floor(200-2*y)),o=y)}this.encode=function(y,j){j&&bt(j),E=new Array,q=0,I=7,ht(65496),ht(65504),ht(16),Q(74),Q(70),Q(73),Q(70),Q(0),Q(1),Q(1),Q(0),ht(1),ht(1),Q(0),Q(0),(function(){ht(65499),ht(132),Q(0);for(var Ut=0;Ut<64;Ut++)Q(h[Ut]);Q(1);for(var qt=0;qt<64;qt++)Q(c[qt])})(),(function(Ut,qt){ht(65472),ht(17),Q(8),ht(qt),ht(Ut),Q(3),Q(1),Q(17),Q(0),Q(2),Q(17),Q(1),Q(3),Q(17),Q(1)})(y.width,y.height),(function(){ht(65476),ht(418),Q(0);for(var Ut=0;Ut<16;Ut++)Q(ot[Ut+1]);for(var qt=0;qt<=11;qt++)Q(Y[qt]);Q(16);for(var ve=0;ve<16;ve++)Q(gt[ve+1]);for(var le=0;le<=161;le++)Q(P[le]);Q(1);for(var Zt=0;Zt<16;Zt++)Q(C[Zt+1]);for(var ce=0;ce<=11;ce++)Q(D[ce]);Q(17);for(var he=0;he<16;he++)Q(U[he+1]);for(var Et=0;Et<=161;Et++)Q(at[Et])})(),ht(65498),ht(12),Q(3),Q(1),Q(0),Q(2),Q(17),Q(3),Q(17),Q(0),Q(63),Q(0);var B=0,W=0,V=0;q=0,I=7,this.encode.displayName="_encode_";for(var K,et,nt,ct,yt,_t,St,zt,_,xt=y.data,ae=y.width,Wt=y.height,mt=4*ae,Ht=0;Ht<Wt;){for(K=0;K<mt;){for(yt=mt*Ht+K,St=-1,zt=0,_=0;_<64;_++)_t=yt+(zt=_>>3)*mt+(St=4*(7&_)),Ht+zt>=Wt&&(_t-=mt*(Ht+1+zt-Wt)),K+St>=mt&&(_t-=K+St-mt+4),et=xt[_t++],nt=xt[_t++],ct=xt[_t++],$[_]=(Lt[et]+Lt[nt+256|0]+Lt[ct+512|0]>>16)-128,Z[_]=(Lt[et+768|0]+Lt[nt+1024|0]+Lt[ct+1280|0]>>16)-128,tt[_]=(Lt[et+1280|0]+Lt[nt+1536|0]+Lt[ct+1792|0]>>16)-128;B=At($,v,B,t,a),W=At(Z,A,W,n,s),V=At(tt,A,V,n,s),K+=32}Ht+=8}if(I>=0){var kt=[];kt[1]=I+1,kt[0]=(1<<I+1)-1,ft(kt)}return ht(65497),new Uint8Array(E)},r=r||50,(function(){for(var y=String.fromCharCode,j=0;j<256;j++)wt[j]=y(j)})(),t=lt(ot,Y),n=lt(C,D),a=lt(gt,P),s=lt(U,at),(function(){for(var y=1,j=2,B=1;B<=15;B++){for(var W=y;W<j;W++)O[32767+W]=B,x[32767+W]=[],x[32767+W][1]=B,x[32767+W][0]=W;for(var V=-(j-1);V<=-y;V++)O[32767+V]=B,x[32767+V]=[],x[32767+V][1]=B,x[32767+V][0]=j-1+V;y<<=1,j<<=1}})(),(function(){for(var y=0;y<256;y++)Lt[y]=19595*y,Lt[y+256|0]=38470*y,Lt[y+512|0]=7471*y+32768,Lt[y+768|0]=-11059*y,Lt[y+1024|0]=-21709*y,Lt[y+1280|0]=32768*y+8421375,Lt[y+1536|0]=-27439*y,Lt[y+1792|0]=-5329*y})(),bt(r)}function Xn(r,t){if(this.pos=0,this.buffer=r,this.datav=new DataView(r.buffer),this.is_with_alpha=!!t,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 bu(r){function t(Y){if(!Y)throw Error("assert :P")}function n(Y,gt,P){for(var C=0;4>C;C++)if(Y[gt+C]!=P.charCodeAt(C))return!0;return!1}function a(Y,gt,P,C,D){for(var U=0;U<D;U++)Y[gt+U]=P[C+U]}function s(Y,gt,P,C){for(var D=0;D<C;D++)Y[gt+D]=P}function o(Y){return new Int32Array(Y)}function d(Y,gt){for(var P=[],C=0;C<Y;C++)P.push(new gt);return P}function h(Y,gt){var P=[];return(function C(D,U,at){for(var lt=at[U],ft=0;ft<lt&&(D.push(at.length>U+1?[]:new gt),!(at.length<U+1));ft++)C(D[ft],U+1,at)})(P,0,Y),P}var c=function(){var Y=this;
vendor: 23,722 bytes, line 41
41function gt(e,i){for(var l=1<<i-1>>>0;e&l;)l>>>=1;return l?(e&l-1)+l:e}function P(e,i,l,f,m){t(!(f%l));do e[i+(f-=l)]=m;while(0<f)}function C(e,i,l,f,m){if(t(2328>=m),512>=m)var b=o(512);else if((b=o(m))==null)return 0;return(function(w,N,L,k,T,X){var F,z,G=N,it=1<<L,J=o(16),st=o(16);for(t(T!=0),t(k!=null),t(w!=null),t(0<L),z=0;z<T;++z){if(15<k[z])return 0;++J[k[z]]}if(J[0]==T)return 0;for(st[1]=0,F=1;15>F;++F){if(J[F]>1<<F)return 0;st[F+1]=st[F]+J[F]}for(z=0;z<T;++z)F=k[z],0<k[z]&&(X[st[F]++]=z);if(st[15]==1)return(k=new D).g=0,k.value=X[0],P(w,G,1,it,k),it;var ut,vt=-1,pt=it-1,Bt=0,Pt=1,re=1,jt=1<<L;for(z=0,F=1,T=2;F<=L;++F,T<<=1){if(Pt+=re<<=1,0>(re-=J[F]))return 0;for(;0<J[F];--J[F])(k=new D).g=F,k.value=X[z++],P(w,G+Bt,T,jt,k),Bt=gt(Bt,F)}for(F=L+1,T=2;15>=F;++F,T<<=1){if(Pt+=re<<=1,0>(re-=J[F]))return 0;for(;0<J[F];--J[F]){if(k=new D,(Bt&pt)!=vt){for(G+=jt,ut=1<<(vt=F)-L;15>vt&&!(0>=(ut-=J[vt]));)++vt,ut<<=1;it+=jt=1<<(ut=vt-L),w[N+(vt=Bt&pt)].g=ut+L,w[N+vt].value=G-N-vt}k.g=F-L,k.value=X[z++],P(w,G+(Bt>>L),T,jt,k),Bt=gt(Bt,F)}}return Pt!=2*st[15]-1?0:it})(e,i,l,f,m,b)}function D(){this.value=this.g=0}function U(){this.value=this.g=0}function at(){this.G=d(5,D),this.H=o(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=d(ki,U)}function lt(e,i,l,f){t(e!=null),t(i!=null),t(2147483648>f),e.Ca=254,e.I=0,e.b=-8,e.Ka=0,e.oa=i,e.pa=l,e.Jd=i,e.Yc=l+f,e.Zc=4<=f?l+f-4+1:l,et(e)}function ft(e,i){for(var l=0;0<i--;)l|=ct(e,128)<<i;return l}function Q(e,i){var l=ft(e,i);return nt(e)?-l:l}function ht(e,i,l,f){var m,b=0;for(t(e!=null),t(i!=null),t(4294967288>f),e.Sb=f,e.Ra=0,e.u=0,e.h=0,4<f&&(f=4),m=0;m<f;++m)b+=i[l+m]<<8*m;e.Ra=b,e.bb=f,e.oa=i,e.pa=l}function At(e){for(;8<=e.u&&e.bb<e.Sb;)e.Ra>>>=8,e.Ra+=e.oa[e.pa+e.bb]<<wn-8>>>0,++e.bb,e.u-=8;W(e)&&(e.h=1,e.u=0)}function bt(e,i){if(t(0<=i),!e.h&&i<=ra){var l=B(e)&ni[i];return e.u+=i,At(e),l}return e.h=1,e.u=0}function y(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function j(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function B(e){return e.Ra>>>(e.u&wn-1)>>>0}function W(e){return t(e.bb<=e.Sb),e.h||e.bb==e.Sb&&e.u>wn}function V(e,i){e.u=i,e.h=W(e)}function K(e){e.u>=Ln&&(t(e.u>=Ln),At(e))}function et(e){t(e!=null&&e.oa!=null),e.pa<e.Zc?(e.I=(e.oa[e.pa++]|e.I<<8)>>>0,e.b+=8):(t(e!=null&&e.oa!=null),e.pa<e.Yc?(e.b+=8,e.I=e.oa[e.pa++]|e.I<<8):e.Ka?e.b=0:(e.I<<=8,e.b+=8,e.Ka=1))}function nt(e){return ft(e,1)}function ct(e,i){var l=e.Ca;0>e.b&&et(e);var f=e.b,m=l*i>>>8,b=(e.I>>>f>m)+0;for(b?(l-=m,e.I-=m+1<<f>>>0):l=m+1,f=l,m=0;256<=f;)m+=8,f>>=8;return f=7^m+Fi[f],e.b-=f,e.Ca=(l<<f)-1,b}function yt(e,i,l){e[i+0]=l>>24&255,e[i+1]=l>>16&255,e[i+2]=l>>8&255,e[i+3]=255&l}function _t(e,i){return e[i+0]|e[i+1]<<8}function St(e,i){return _t(e,i)|e[i+2]<<16}function zt(e,i){return _t(e,i)|_t(e,i+2)<<16}function _(e,i){var l=1<<i;return t(e!=null),t(0<i),e.X=o(l),e.X==null?0:(e.Mb=32-i,e.Xa=i,1)}function xt(e,i){t(e!=null),t(i!=null),t(e.Xa==i.Xa),a(i.X,0,e.X,0,1<<i.Xa)}function ae(){this.X=[],this.Xa=this.Mb=0}function Wt(e,i,l,f){t(l!=null),t(f!=null);var m=l[0],b=f[0];return m==0&&(m=(e*b+i/2)/i),b==0&&(b=(i*m+e/2)/e),0>=m||0>=b?0:(l[0]=m,f[0]=b,1)}function mt(e,i){return e+(1<<i)-1>>>i}function Ht(e,i){return((4278255360&e)+(4278255360&i)>>>0&4278255360)+((16711935&e)+(16711935&i)>>>0&16711935)>>>0}function kt(e,i){Y[i]=function(l,f,m,b,w,N,L){var k;for(k=0;k<w;++k){var T=Y[e](N[L+k-1],m,b+k);N[L+k]=Ht(l[f+k],T)}}}function Ut(){this.ud=this.hd=this.jd=0}function qt(e,i){return((4278124286&(e^i))>>>1)+(e&i)>>>0}function ve(e){return 0<=e&&256>e?e:0>e?0:255<e?255:void 0}function le(e,i){return ve(e+(e-i+.5>>1))}function Zt(e,i,l){return Math.abs(i-l)-Math.abs(e-l)}function ce(e,i,l,f,m,b,w){for(f=b[w-1],l=0;l<m;++l)b[w+l]=f=Ht(e[i+l],f)}function he(e,i,l,f,m){var b;for(b=0;b<l;++b){var w=e[i+b],N=w>>8&255,L=16711935&(L=(L=16711935&w)+((N<<16)+N));f[m+b]=(4278255360&w)+L>>>0}}function Et(e,i){i.jd=255&e,i.hd=e>>8&255,i.ud=e>>16&255}function ne(e,i,l,f,m,b){var w;for(w=0;w<f;++w){var N=i[l+w],L=N>>>8,k=N,T=255&(T=(T=N>>>16)+((e.jd<<24>>24)*(L<<24>>24)>>>5));k=255&(k=(k+=(e.hd<<24>>24)*(L<<24>>24)>>>5)+((e.ud<<24>>24)*(T<<24>>24)>>>5)),m[b+w]=(4278255360&N)+(T<<16)+k}}function Mt(e,i,l,f,m){Y[i]=function(b,w,N,L,k,T,X,F,z){for(L=X;L<F;++L)for(X=0;X<z;++X)k[T++]=m(N[f(b[w++])])},Y[e]=function(b,w,N,L,k,T,X){var F=8>>b.b,z=b.Ea,G=b.K[0],it=b.w;if(8>F)for(b=(1<<b.b)-1,it=(1<<F)-1;w<N;++w){var J,st=0;for(J=0;J<z;++J)J&b||(st=f(L[k++])),T[X++]=m(G[st&it]),st>>=F}else Y["VP8LMapColor"+l](L,k,G,it,T,X,w,N,z)}}function Ue(e,i,l,f,m){for(l=i+l;i<l;){var b=e[i++];f[m++]=b>>16&255,f[m++]=b>>8&255,f[m++]=255&b}}function ge(e,i,l,f,m){for(l=i+l;i<l;){var b=e[i++];f[m++]=b>>16&255,f[m++]=b>>8&255,f[m++]=255&b,f[m++]=b>>24&255}}function se(e,i,l,f,m){for(l=i+l;i<l;){var b=(w=e[i++])>>16&240|w>>12&15,w=240&w|w>>28&15;f[m++]=b,f[m++]=w}}function oe(e,i,l,f,m){for(l=i+l;i<l;){var b=(w=e[i++])>>16&248|w>>13&7,w=w>>5&224|w>>3&31;f[m++]=b,f[m++]=w}}function Oe(e,i,l,f,m){for(l=i+l;i<l;){var b=e[i++];f[m++]=255&b,f[m++]=b>>8&255,f[m++]=b>>16&255}}function Dt(e,i,l,f,m,b){if(b==0)for(l=i+l;i<l;)yt(f,((b=e[i++])[0]>>24|b[1]>>8&65280|b[2]<<8&16711680|b[3]<<24)>>>0),m+=32;else a(f,m,e,i,l)}function Pe(e,i){Y[i][0]=Y[e+"0"],Y[i][1]=Y[e+"1"],Y[i][2]=Y[e+"2"],Y[i][3]=Y[e+"3"],Y[i][4]=Y[e+"4"],Y[i][5]=Y[e+"5"],Y[i][6]=Y[e+"6"],Y[i][7]=Y[e+"7"],Y[i][8]=Y[e+"8"],Y[i][9]=Y[e+"9"],Y[i][10]=Y[e+"10"],Y[i][11]=Y[e+"11"],Y[i][12]=Y[e+"12"],Y[i][13]=Y[e+"13"],Y[i][14]=Y[e+"0"],Y[i][15]=Y[e+"0"]}function Yt(e){return e==Ps||e==ks||e==Ma||e==Fs}function Qt(){this.eb=[],this.size=this.A=this.fb=0}function Ee(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function ue(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new Qt,this.f.kb=new Ee,this.sd=null}function Vt(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function be(){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 Wr(e){return alert("todo:WebPSamplerProcessPlane"),e.T}function ln(e,i){var l=e.T,f=i.ba.f.RGBA,m=f.eb,b=f.fb+e.ka*f.A,w=Un[i.ba.S],N=e.y,L=e.O,k=e.f,T=e.N,X=e.ea,F=e.W,z=i.cc,G=i.dc,it=i.Mc,J=i.Nc,st=e.ka,ut=e.ka+e.T,vt=e.U,pt=vt+1>>1;for(st==0?w(N,L,null,null,k,T,X,F,k,T,X,F,m,b,null,null,vt):(w(i.ec,i.fc,N,L,z,G,it,J,k,T,X,F,m,b-f.A,m,b,vt),++l);st+2<ut;st+=2)z=k,G=T,it=X,J=F,T+=e.Rc,F+=e.Rc,b+=2*f.A,w(N,(L+=2*e.fa)-e.fa,N,L,z,G,it,J,k,T,X,F,m,b-f.A,m,b,vt);return L+=e.fa,e.j+ut<e.o?(a(i.ec,i.fc,N,L,vt),a(i.cc,i.dc,k,T,pt),a(i.Mc,i.Nc,X,F,pt),l--):1&ut||w(N,L,null,null,k,T,X,F,k,T,X,F,m,b+f.A,null,null,vt),l}function cr(e,i,l){var f=e.F,m=[e.J];if(f!=null){var b=e.U,w=i.ba.S,N=w==Ba||w==Ma;i=i.ba.f.RGBA;var L=[0],k=e.ka;L[0]=e.T,e.Kb&&(k==0?--L[0]:(--k,m[0]-=e.width),e.j+e.ka+e.T==e.o&&(L[0]=e.o-e.j-k));var T=i.eb;k=i.fb+k*i.A,e=fo(f,m[0],e.width,b,L,T,k+(N?0:3),i.A),t(l==L),e&&Yt(w)&&oa(T,k,N,b,L,i.A)}return 0}function Zn(e){var i=e.ma,l=i.ba.S,f=11>l,m=l==Oa||l==Ea||l==Ba||l==Ss||l==12||Yt(l);if(i.memory=null,i.Ib=null,i.Jb=null,i.Nd=null,!qn(i.Oa,e,m?11:12))return 0;if(m&&Yt(l)&&wr(),e.da)alert("todo:use_scaling");else{if(f){if(i.Ib=Wr,e.Kb){if(l=e.U+1>>1,i.memory=o(e.U+2*l),i.memory==null)return 0;i.ec=i.memory,i.fc=0,i.cc=i.ec,i.dc=i.fc+e.U,i.Mc=i.cc,i.Nc=i.dc+l,i.Ib=ln,wr()}}else alert("todo:EmitYUV");m&&(i.Jb=cr,f&&Me())}if(f&&!Fo){for(e=0;256>e;++e)al[e]=89858*(e-128)+Ta>>Ra,ul[e]=-22014*(e-128)+Ta,ol[e]=-45773*(e-128),sl[e]=113618*(e-128)+Ta>>Ra;for(e=la;e<js;++e)i=76283*(e-16)+Ta>>Ra,ll[e-la]=er(i,255),hl[e-la]=er(i+8>>4,15);Fo=1}return 1}function Gt(e){var i=e.ma,l=e.U,f=e.T;return t(!(1&e.ka)),0>=l||0>=f?0:(l=i.Ib(e,i),i.Jb!=null&&i.Jb(e,i,l),i.Dc+=l,1)}function fr(e){e.ma.memory=null}function dr(e,i,l,f){return bt(e,8)!=47?0:(i[0]=bt(e,14)+1,l[0]=bt(e,14)+1,f[0]=bt(e,1),bt(e,3)!=0?0:!e.h)}function Bn(e,i){if(4>e)return e+1;var l=e-2>>1;return(2+(1&e)<<l)+bt(i,l)+1}function Mn(e,i){return 120<i?i-120:1<=(l=((l=Vu[i-1])>>4)*e+(8-(15&l)))?l:1;var l}function Re(e,i,l){var f=B(l),m=e[i+=255&f].g-8;return 0<m&&(V(l,l.u+8),f=B(l),i+=e[i].value,i+=f&(1<<m)-1),V(l,l.u+e[i].g),e[i].value}function en(e,i,l){return l.g+=e.g,l.value+=e.value<<i>>>0,t(8>=l.g),e.g}function rn(e,i,l){var f=e.xc;return t((i=f==0?0:e.vc[e.md*(l>>f)+(i>>f)])<e.Wb),e.Ya[i]}function Hr(e,i,l,f){var m=e.ab,b=e.c*i,w=e.C;i=w+i;var N=l,L=f;for(f=e.Ta,l=e.Ua;0<m--;){var k=e.gc[m],T=w,X=i,F=N,z=L,G=(L=f,N=l,k.Ea);switch(t(T<X),t(X<=k.nc),k.hc){case 2:Ii(F,z,(X-T)*G,L,N);break;case 0:var it=T,J=X,st=L,ut=N,vt=(jt=k).Ea;it==0&&(Ir(F,z,null,null,1,st,ut),ce(F,z+1,0,0,vt-1,st,ut+1),z+=vt,ut+=vt,++it);for(var pt=1<<jt.b,Bt=pt-1,Pt=mt(vt,jt.b),re=jt.K,jt=jt.w+(it>>jt.b)*Pt;it<J;){var fe=re,Ze=jt,ie=1;for(Cr(F,z,st,ut-vt,1,st,ut);ie<vt;){var Ot=(ie&~Bt)+pt;Ot>vt&&(Ot=vt),(0,Vn[fe[Ze++]>>8&15])(F,z+ +ie,st,ut+ie-vt,Ot-ie,st,ut+ie),ie=Ot}z+=vt,ut+=vt,++it&Bt||(jt+=Pt)}X!=k.nc&&a(L,N-G,L,N+(X-T-1)*G,G);break;case 1:for(G=F,J=z,vt=(F=k.Ea)-(ut=F&~(st=(z=1<<k.b)-1)),it=mt(F,k.b),pt=k.K,k=k.w+(T>>k.b)*it;T<X;){for(Bt=pt,Pt=k,re=new Ut,jt=J+ut,fe=J+F;J<jt;)Et(Bt[Pt++],re),ii(re,G,J,z,L,N),J+=z,N+=z;J<fe&&(Et(Bt[Pt++],re),ii(re,G,J,vt,L,N),J+=vt,N+=vt),++T&st||(k+=it)}break;case 3:if(F==L&&z==N&&0<k.b){for(J=L,F=G=N+(X-T)*G-(ut=(X-T)*mt(k.Ea,k.b)),z=L,st=N,it=[],ut=(vt=ut)-1;0<=ut;--ut)it[ut]=z[st+ut];for(ut=vt-1;0<=ut;--ut)J[F+ut]=it[ut];ri(k,T,X,L,G,L,N)}else ri(k,T,X,F,z,L,N)}N=f,L=l}L!=l&&a(f,l,N,L,b)}function _r(e,i){var l=e.V,f=e.Ba+e.c*e.C,m=i-e.C;if(t(i<=e.l.o),t(16>=m),0<m){var b=e.l,w=e.Ta,N=e.Ua,L=b.width;if(Hr(e,m,l,f),m=N=[N],t((l=e.C)<(f=i)),t(b.v<b.va),f>b.o&&(f=b.o),l<b.j){var k=b.j-l;l=b.j,m[0]+=k*L}if(l>=f?l=0:(m[0]+=4*b.v,b.ka=l-b.j,b.U=b.va-b.v,b.T=f-l,l=1),l){if(N=N[0],11>(l=e.ca).S){var T=l.f.RGBA,X=(f=l.S,m=b.U,b=b.T,k=T.eb,T.A),F=b;for(T=T.fb+e.Ma*T.A;0<F--;){var z=w,G=N,it=m,J=k,st=T;switch(f){case ja:ia(z,G,it,J,st);break;case Oa:aa(z,G,it,J,st);break;case Ps:aa(z,G,it,J,st),oa(J,st,0,it,1,0);break;case yo:si(z,G,it,J,st);break;case Ea:Dt(z,G,it,J,st,1);break;case ks:Dt(z,G,it,J,st,1),oa(J,st,0,it,1,0);break;case Ba:Dt(z,G,it,J,st,0);break;case Ma:Dt(z,G,it,J,st,0),oa(J,st,1,it,1,0);break;case Ss:Ci(z,G,it,J,st);break;case Fs:Ci(z,G,it,J,st),co(J,st,it,1,0);break;case Ao:ai(z,G,it,J,st);break;default:t(0)}N+=L,T+=X}e.Ma+=b}else alert("todo:EmitRescaledRowsYUVA");t(e.Ma<=l.height)}}e.C=i,t(e.C<=e.i)}function zn(e){var i;if(0<e.ua)return 0;for(i=0;i<e.Wb;++i){var l=e.Ya[i].G,f=e.Ya[i].H;if(0<l[1][f[1]+0].g||0<l[2][f[2]+0].g||0<l[3][f[3]+0].g)return 0}return 1}function Qn(e,i,l,f,m,b){if(e.Z!=0){var w=e.qd,N=e.rd;for(t(Br[e.Z]!=null);i<l;++i)Br[e.Z](w,N,f,m,f,m,b),w=f,N=m,m+=b;e.qd=w,e.rd=N}}function Wn(e,i){var l=e.l.ma,f=l.Z==0||l.Z==1?e.l.j:e.C;if(f=e.C<f?f:e.C,t(i<=e.l.o),i>f){var m=e.l.width,b=l.ca,w=l.tb+m*f,N=e.V,L=e.Ba+e.c*f,k=e.gc;t(e.ab==1),t(k[0].hc==3),xs(k[0],f,i,N,L,b,w),Qn(l,f,i,b,w,m)}e.C=e.Ma=i}function Hn(e,i,l,f,m,b,w){var N=e.$/f,L=e.$%f,k=e.m,T=e.s,X=l+e.$,F=X;m=l+f*m;var z=l+f*b,G=280+T.ua,it=e.Pb?N:16777216,J=0<T.ua?T.Wa:null,st=T.wc,ut=X<z?rn(T,L,N):null;t(e.C<b),t(z<=m);var vt=!1;t:for(;;){for(;vt||X<z;){var pt=0;if(N>=it){var Bt=X-l;t((it=e).Pb),it.wd=it.m,it.xd=Bt,0<it.s.ua&&xt(it.s.Wa,it.s.vb),it=N+Yu}if(L&st||(ut=rn(T,L,N)),t(ut!=null),ut.Qb&&(i[X]=ut.qb,vt=!0),!vt)if(K(k),ut.jc){pt=k,Bt=i;var Pt=X,re=ut.pd[B(pt)&ki-1];t(ut.jc),256>re.g?(V(pt,pt.u+re.g),Bt[Pt]=re.value,pt=0):(V(pt,pt.u+re.g-256),t(256<=re.value),pt=re.value),pt==0&&(vt=!0)}else pt=Re(ut.G[0],ut.H[0],k);if(k.h)break;if(vt||256>pt){if(!vt)if(ut.nd)i[X]=(ut.qb|pt<<8)>>>0;else{if(K(k),vt=Re(ut.G[1],ut.H[1],k),K(k),Bt=Re(ut.G[2],ut.H[2],k),Pt=Re(ut.G[3],ut.H[3],k),k.h)break;i[X]=(Pt<<24|vt<<16|pt<<8|Bt)>>>0}if(vt=!1,++X,++L>=f&&(L=0,++N,w!=null&&N<=b&&!(N%16)&&w(e,N),J!=null))for(;F<X;)pt=i[F++],J.X[(506832829*pt&4294967295)>>>J.Mb]=pt}else if(280>pt){if(pt=Bn(pt-256,k),Bt=Re(ut.G[4],ut.H[4],k),K(k),Bt=Mn(f,Bt=Bn(Bt,k)),k.h)break;if(X-l<Bt||m-X<pt)break t;for(Pt=0;Pt<pt;++Pt)i[X+Pt]=i[X+Pt-Bt];for(X+=pt,L+=pt;L>=f;)L-=f,++N,w!=null&&N<=b&&!(N%16)&&w(e,N);if(t(X<=m),L&st&&(ut=rn(T,L,N)),J!=null)for(;F<X;)pt=i[F++],J.X[(506832829*pt&4294967295)>>>J.Mb]=pt}else{if(!(pt<G))break t;for(vt=pt-280,t(J!=null);F<X;)pt=i[F++],J.X[(506832829*pt&4294967295)>>>J.Mb]=pt;pt=X,t(!(vt>>>(Bt=J).Xa)),i[pt]=Bt.X[vt],vt=!0}vt||t(k.h==W(k))}if(e.Pb&&k.h&&X<m)t(e.m.h),e.a=5,e.m=e.wd,e.$=e.xd,0<e.s.ua&&xt(e.s.vb,e.s.Wa);else{if(k.h)break t;w?.(e,N>b?b:N),e.a=0,e.$=X-l}return 1}return e.a=3,0}function Rn(e){t(e!=null),e.vc=null,e.yc=null,e.Ya=null;var i=e.Wa;i!=null&&(i.X=null),e.vb=null,t(e!=null)}function Vr(){var e=new Ct;return e==null?null:(e.a=0,e.xb=xo,Pe("Predictor","VP8LPredictors"),Pe("Predictor","VP8LPredictors_C"),Pe("PredictorAdd","VP8LPredictorsAdd"),Pe("PredictorAdd","VP8LPredictorsAdd_C"),Ii=he,ii=ne,ia=Ue,aa=ge,Ci=se,ai=oe,si=Oe,Y.VP8LMapColor32b=Ke,Y.VP8LMapColor8b=sr,e)}function tr(e,i,l,f,m){var b=1,w=[e],N=[i],L=f.m,k=f.s,T=null,X=0;t:for(;;){if(l)for(;b&&bt(L,1);){var F=w,z=N,G=f,it=1,J=G.m,st=G.gc[G.ab],ut=bt(J,2);if(G.Oc&1<<ut)b=0;else{switch(G.Oc|=1<<ut,st.hc=ut,st.Ea=F[0],st.nc=z[0],st.K=[null],++G.ab,t(4>=G.ab),ut){case 0:case 1:st.b=bt(J,3)+2,it=tr(mt(st.Ea,st.b),mt(st.nc,st.b),0,G,st.K),st.K=st.K[0];break;case 3:var vt,pt=bt(J,8)+1,Bt=16<pt?0:4<pt?1:2<pt?2:3;if(F[0]=mt(st.Ea,Bt),st.b=Bt,vt=it=tr(pt,1,0,G,st.K)){var Pt,re=pt,jt=st,fe=1<<(8>>jt.b),Ze=o(fe);if(Ze==null)vt=0;else{var ie=jt.K[0],Ot=jt.w;for(Ze[0]=jt.K[0][0],Pt=1;Pt<1*re;++Pt)Ze[Pt]=Ht(ie[Ot+Pt],Ze[Pt-1]);for(;Pt<4*fe;++Pt)Ze[Pt]=0;jt.K[0]=null,jt.K[0]=Ze,vt=1}}it=vt;break;case 2:break;default:t(0)}b=it}}if(w=w[0],N=N[0],b&&bt(L,1)&&!(b=1<=(X=bt(L,4))&&11>=X)){f.a=3;break t}var Nt;if(Nt=b)e:{var We,ee,pe,je=f,sn=w,yn=N,Te=X,dn=l,An=je.m,Qe=je.s,me=[null],we=1,qe=0,ye=Gu[Te];n:for(;;){if(dn&&bt(An,1)){var on=bt(An,3)+2,Yn=mt(sn,on),He=mt(yn,on),xn=Yn*He;if(!tr(Yn,He,0,je,me))break n;for(me=me[0],Qe.xc=on,We=0;We<xn;++We){var xe=me[We]>>8&65535;me[We]=xe,xe>=we&&(we=xe+1)}}if(An.h)break n;for(ee=0;5>ee;++ee){var tn=No[ee];!ee&&0<Te&&(tn+=1<<Te),qe<tn&&(qe=tn)}var Fn=d(we*ye,D),Nn=we,In=d(Nn,at);if(In==null)var Cn=null;else t(65536>=Nn),Cn=In;var _n=o(qe);if(Cn==null||_n==null||Fn==null){je.a=1;break n}var jn=Fn;for(We=pe=0;We<we;++We){var Ie=Cn[We],On=Ie.G,Jn=Ie.H,oi=0,Lr=1,un=0;for(ee=0;5>ee;++ee){tn=No[ee],On[ee]=jn,Jn[ee]=pe,!ee&&0<Te&&(tn+=1<<Te);i:{var Da,Os=tn,Ua=je,ha=_n,dl=jn,pl=pe,Es=0,Mr=Ua.m,gl=bt(Mr,1);if(s(ha,0,0,Os),gl){var ml=bt(Mr,1)+1,vl=bt(Mr,1),jo=bt(Mr,vl==0?1:8);ha[jo]=1,ml==2&&(ha[jo=bt(Mr,8)]=1);var za=1}else{var Oo=o(19),Eo=bt(Mr,4)+4;if(19<Eo){Ua.a=3;var Wa=0;break i}for(Da=0;Da<Eo;++Da)Oo[Hu[Da]]=bt(Mr,3);var Bs=void 0,ca=void 0,Bo=Ua,bl=Oo,Ha=Os,Mo=ha,Ms=0,Rr=Bo.m,Ro=8,To=d(128,D);r:for(;C(To,0,7,bl,19);){if(bt(Rr,1)){var wl=2+2*bt(Rr,3);if((Bs=2+bt(Rr,wl))>Ha)break r}else Bs=Ha;for(ca=0;ca<Ha&&Bs--;){K(Rr);var qo=To[0+(127&B(Rr))];V(Rr,Rr.u+qo.g);var Ei=qo.value;if(16>Ei)Mo[ca++]=Ei,Ei!=0&&(Ro=Ei);else{var yl=Ei==16,Do=Ei-16,Al=zu[Do],Uo=bt(Rr,Uu[Do])+Al;if(ca+Uo>Ha)break r;for(var Nl=yl?Ro:0;0<Uo--;)Mo[ca++]=Nl}}Ms=1;break r}Ms||(Bo.a=3),za=Ms}(za=za&&!Mr.h)&&(Es=C(dl,pl,8,ha,Os)),za&&Es!=0?Wa=Es:(Ua.a=3,Wa=0)}if(Wa==0)break n;if(Lr&&Wu[ee]==1&&(Lr=jn[pe].g==0),oi+=jn[pe].g,pe+=Wa,3>=ee){var fa,Rs=_n[0];for(fa=1;fa<tn;++fa)_n[fa]>Rs&&(Rs=_n[fa]);un+=Rs}}if(Ie.nd=Lr,Ie.Qb=0,Lr&&(Ie.qb=(On[3][Jn[3]+0].value<<24|On[1][Jn[1]+0].value<<16|On[2][Jn[2]+0].value)>>>0,oi==0&&256>On[0][Jn[0]+0].value&&(Ie.Qb=1,Ie.qb+=On[0][Jn[0]+0].value<<8)),Ie.jc=!Ie.Qb&&6>un,Ie.jc){var Va,xr=Ie;for(Va=0;Va<ki;++Va){var Tr=Va,qr=xr.pd[Tr],Ga=xr.G[0][xr.H[0]+Tr];256<=Ga.value?(qr.g=Ga.g+256,qr.value=Ga.value):(qr.g=0,qr.value=0,Tr>>=en(Ga,8,qr),Tr>>=en(xr.G[1][xr.H[1]+Tr],16,qr),Tr>>=en(xr.G[2][xr.H[2]+Tr],0,qr),en(xr.G[3][xr.H[3]+Tr],24,qr))}}}Qe.vc=me,Qe.Wb=we,Qe.Ya=Cn,Qe.yc=Fn,Nt=1;break e}Nt=0}if(!(b=Nt)){f.a=3;break t}if(0<X){if(k.ua=1<<X,!_(k.Wa,X)){f.a=1,b=0;break t}}else k.ua=0;var Ts=f,zo=w,Ll=N,qs=Ts.s,Ds=qs.xc;if(Ts.c=zo,Ts.i=Ll,qs.md=mt(zo,Ds),qs.wc=Ds==0?-1:(1<<Ds)-1,l){f.xb=tl;break t}if((T=o(w*N))==null){f.a=1,b=0;break t}b=(b=Hn(f,T,0,w,N,N,null))&&!L.h;break t}return b?(m!=null?m[0]=T:(t(T==null),t(l)),f.$=0,l||Rn(k)):Rn(k),b}function Gr(e,i){var l=e.c*e.i,f=l+i+16*i;return t(e.c<=i),e.V=o(f),e.V==null?(e.Ta=null,e.Ua=0,e.a=1,0):(e.Ta=e.V,e.Ua=e.Ba+l+i,1)}function di(e,i){var l=e.C,f=i-l,m=e.V,b=e.Ba+e.c*l;for(t(i<=e.l.o);0<f;){var w=16<f?16:f,N=e.l.ma,L=e.l.width,k=L*w,T=N.ca,X=N.tb+L*l,F=e.Ta,z=e.Ua;Hr(e,w,m,b),po(F,z,T,X,k),Qn(N,l,l+w,T,X,L),f-=w,m+=w*e.c,l+=w}t(l==i),e.C=e.Ma=i}function pi(){this.ub=this.yd=this.td=this.Rb=0}function gi(){this.Kd=this.Ld=this.Ud=this.Td=this.i=this.c=0}function ss(){this.Fb=this.Bb=this.Cb=0,this.Zb=o(4),this.Lb=o(4)}function Hi(){this.Yb=(function(){var e=[];return(function i(l,f,m){for(var b=m[f],w=0;w<b&&(l.push(m.length>f+1?[]:0),!(m.length<f+1));w++)i(l[w],f+1,m)})(e,0,[3,11]),e})()}function da(){this.jb=o(3),this.Wc=h([4,8],Hi),this.Xc=h([4,17],Hi)}function pa(){this.Pc=this.wb=this.Tb=this.zd=0,this.vd=new o(4),this.od=new o(4)}function Tn(){this.ld=this.La=this.dd=this.tc=0}function Vi(){this.Na=this.la=0}function ga(){this.Sc=[0,0],this.Eb=[0,0],this.Qc=[0,0],this.ia=this.lc=0}function Gi(){this.ad=o(384),this.Za=0,this.Ob=o(16),this.$b=this.Ad=this.ia=this.Gc=this.Hc=this.Dd=0}function ma(){this.uc=this.M=this.Nb=0,this.wa=Array(new Tn),this.Y=0,this.ya=Array(new Gi),this.aa=0,this.l=new mi}function va(){this.y=o(16),this.f=o(8),this.ea=o(8)}function ba(){this.cb=this.a=0,this.sc="",this.m=new y,this.Od=new pi,this.Kc=new gi,this.ed=new pa,this.Qa=new ss,this.Ic=this.$c=this.Aa=0,this.D=new ma,this.Xb=this.Va=this.Hb=this.zb=this.yb=this.Ub=this.za=0,this.Jc=d(8,y),this.ia=0,this.pb=d(4,ga),this.Pa=new da,this.Bd=this.kc=0,this.Ac=[],this.Bc=0,this.zc=[0,0,0,0],this.Gd=Array(new va),this.Hd=0,this.rb=Array(new Vi),this.sb=0,this.wa=Array(new Tn),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 Gi),this.L=this.aa=0,this.gd=h([4,2],Tn),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 er(e,i){return 0>e?0:e>i?i:e}function mi(){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 os(){var e=new ba;return e!=null&&(e.a=0,e.sc="OK",e.cb=0,e.Xb=0,ua||(ua=vi)),e}function Je(e,i,l){return e.a==0&&(e.a=i,e.sc=l,e.cb=0),0}function wa(e,i,l){return 3<=l&&e[i+0]==157&&e[i+1]==1&&e[i+2]==42}function nr(e,i){if(e==null)return 0;if(e.a=0,e.sc="OK",i==null)return Je(e,2,"null VP8Io passed to VP8GetHeaders()");var l=i.data,f=i.w,m=i.ha;if(4>m)return Je(e,7,"Truncated header.");var b=l[f+0]|l[f+1]<<8|l[f+2]<<16,w=e.Od;if(w.Rb=!(1&b),w.td=b>>1&7,w.yd=b>>4&1,w.ub=b>>5,3<w.td)return Je(e,3,"Incorrect keyframe parameters.");if(!w.yd)return Je(e,4,"Frame not displayable.");f+=3,m-=3;var N=e.Kc;if(w.Rb){if(7>m)return Je(e,7,"cannot parse picture header");if(!wa(l,f,m))return Je(e,3,"Bad code word");N.c=16383&(l[f+4]<<8|l[f+3]),N.Td=l[f+4]>>6,N.i=16383&(l[f+6]<<8|l[f+5]),N.Ud=l[f+6]>>6,f+=7,m-=7,e.za=N.c+15>>4,e.Ub=N.i+15>>4,i.width=N.c,i.height=N.i,i.Da=0,i.j=0,i.v=0,i.va=i.width,i.o=i.height,i.da=0,i.ib=i.width,i.hb=i.height,i.U=i.width,i.T=i.height,s((b=e.Pa).jb,0,255,b.jb.length),t((b=e.Qa)!=null),b.Cb=0,b.Bb=0,b.Fb=1,s(b.Zb,0,0,b.Zb.length),s(b.Lb,0,0,b.Lb)}if(w.ub>m)return Je(e,7,"bad partition length");lt(b=e.m,l,f,w.ub),f+=w.ub,m-=w.ub,w.Rb&&(N.Ld=nt(b),N.Kd=nt(b)),N=e.Qa;var L,k=e.Pa;if(t(b!=null),t(N!=null),N.Cb=nt(b),N.Cb){if(N.Bb=nt(b),nt(b)){for(N.Fb=nt(b),L=0;4>L;++L)N.Zb[L]=nt(b)?Q(b,7):0;for(L=0;4>L;++L)N.Lb[L]=nt(b)?Q(b,6):0}if(N.Bb)for(L=0;3>L;++L)k.jb[L]=nt(b)?ft(b,8):255}else N.Bb=0;if(b.Ka)return Je(e,3,"cannot parse segment header");if((N=e.ed).zd=nt(b),N.Tb=ft(b,6),N.wb=ft(b,3),N.Pc=nt(b),N.Pc&&nt(b)){for(k=0;4>k;++k)nt(b)&&(N.vd[k]=Q(b,6));for(k=0;4>k;++k)nt(b)&&(N.od[k]=Q(b,6))}if(e.L=N.Tb==0?0:N.zd?1:2,b.Ka)return Je(e,3,"cannot parse filter header");var T=m;if(m=L=f,f=L+T,N=T,e.Xb=(1<<ft(e.m,2))-1,T<3*(k=e.Xb))l=7;else{for(L+=3*k,N-=3*k,T=0;T<k;++T){var X=l[m+0]|l[m+1]<<8|l[m+2]<<16;X>N&&(X=N),lt(e.Jc[+T],l,L,X),L+=X,N-=X,m+=3}lt(e.Jc[+k],l,L,N),l=L<f?0:5}if(l!=0)return Je(e,l,"cannot parse partitions");for(l=ft(L=e.m,7),m=nt(L)?Q(L,4):0,f=nt(L)?Q(L,4):0,N=nt(L)?Q(L,4):0,k=nt(L)?Q(L,4):0,L=nt(L)?Q(L,4):0,T=e.Qa,X=0;4>X;++X){if(T.Cb){var F=T.Zb[X];T.Fb||(F+=l)}else{if(0<X){e.pb[X]=e.pb[0];continue}F=l}var z=e.pb[X];z.Sc[0]=Is[er(F+m,127)],z.Sc[1]=Cs[er(F+0,127)],z.Eb[0]=2*Is[er(F+f,127)],z.Eb[1]=101581*Cs[er(F+N,127)]>>16,8>z.Eb[1]&&(z.Eb[1]=8),z.Qc[0]=Is[er(F+k,117)],z.Qc[1]=Cs[er(F+L,127)],z.lc=F+L}if(!w.Rb)return Je(e,4,"Not a key frame.");for(nt(b),w=e.Pa,l=0;4>l;++l){for(m=0;8>m;++m)for(f=0;3>f;++f)for(N=0;11>N;++N)k=ct(b,Zu[l][m][f][N])?ft(b,8):Ku[l][m][f][N],w.Wc[l][m].Yb[f][N]=k;for(m=0;17>m;++m)w.Xc[l][m]=w.Wc[l][Qu[m]]}return e.kc=nt(b),e.kc&&(e.Bd=ft(b,8)),e.cb=1}function vi(e,i,l,f,m,b,w){var N=i[m].Yb[l];for(l=0;16>m;++m){if(!ct(e,N[l+0]))return m;for(;!ct(e,N[l+1]);)if(N=i[++m].Yb[0],l=0,m==16)return 16;var L=i[m+1].Yb;if(ct(e,N[l+2])){var k=e,T=0;if(ct(k,(F=N)[(X=l)+3]))if(ct(k,F[X+6])){for(N=0,X=2*(T=ct(k,F[X+8]))+(F=ct(k,F[X+9+T])),T=0,F=Ju[X];F[N];++N)T+=T+ct(k,F[N]);T+=3+(8<<X)}else ct(k,F[X+7])?(T=7+2*ct(k,165),T+=ct(k,145)):T=5+ct(k,159);else T=ct(k,F[X+4])?3+ct(k,F[X+5]):2;N=L[2]}else T=1,N=L[1];L=w+Xu[m],0>(k=e).b&&et(k);var X,F=k.b,z=(X=k.Ca>>1)-(k.I>>F)>>31;--k.b,k.Ca+=z,k.Ca|=1,k.I-=(X+1&z)<<F,b[L]=((T^z)-z)*f[(0<m)+0]}return 16}function Yi(e){var i=e.rb[e.sb-1];i.la=0,i.Na=0,s(e.zc,0,0,e.zc.length),e.ja=0}function Pn(e,i,l,f,m){m=e[i+l+32*f]+(m>>3),e[i+l+32*f]=-256&m?0>m?0:255:m}function bi(e,i,l,f,m,b){Pn(e,i,0,l,f+m),Pn(e,i,1,l,f+b),Pn(e,i,2,l,f-b),Pn(e,i,3,l,f-m)}function pr(e){return(20091*e>>16)+e}function an(e,i,l,f){var m,b=0,w=o(16);for(m=0;4>m;++m){var N=e[i+0]+e[i+8],L=e[i+0]-e[i+8],k=(35468*e[i+4]>>16)-pr(e[i+12]),T=pr(e[i+4])+(35468*e[i+12]>>16);w[b+0]=N+T,w[b+1]=L+k,w[b+2]=L-k,w[b+3]=N-T,b+=4,i++}for(m=b=0;4>m;++m)N=(e=w[b+0]+4)+w[b+8],L=e-w[b+8],k=(35468*w[b+4]>>16)-pr(w[b+12]),Pn(l,f,0,0,N+(T=pr(w[b+4])+(35468*w[b+12]>>16))),Pn(l,f,1,0,L+k),Pn(l,f,2,0,L-k),Pn(l,f,3,0,N-T),b++,f+=32}function ya(e,i,l,f){var m=e[i+0]+4,b=35468*e[i+4]>>16,w=pr(e[i+4]),N=35468*e[i+1]>>16;bi(l,f,0,m+w,e=pr(e[i+1]),N),bi(l,f,1,m+b,e,N),bi(l,f,2,m-b,e,N),bi(l,f,3,m-w,e,N)}function us(e,i,l,f,m){an(e,i,l,f),m&&an(e,i+16,l,f+4)}function ls(e,i,l,f){yr(e,i+0,l,f,1),yr(e,i+32,l,f+128,1)}function hs(e,i,l,f){var m;for(e=e[i+0]+4,m=0;4>m;++m)for(i=0;4>i;++i)Pn(l,f,i,m,e)}function rr(e,i,l,f){e[i+0]&&fn(e,i+0,l,f),e[i+16]&&fn(e,i+16,l,f+4),e[i+32]&&fn(e,i+32,l,f+128),e[i+48]&&fn(e,i+48,l,f+128+4)}function Aa(e,i,l,f){var m,b=o(16);for(m=0;4>m;++m){var w=e[i+0+m]+e[i+12+m],N=e[i+4+m]+e[i+8+m],L=e[i+4+m]-e[i+8+m],k=e[i+0+m]-e[i+12+m];b[0+m]=w+N,b[8+m]=w-N,b[4+m]=k+L,b[12+m]=k-L}for(m=0;4>m;++m)w=(e=b[0+4*m]+3)+b[3+4*m],N=b[1+4*m]+b[2+4*m],L=b[1+4*m]-b[2+4*m],k=e-b[3+4*m],l[f+0]=w+N>>3,l[f+16]=k+L>>3,l[f+32]=w-N>>3,l[f+48]=k-L>>3,f+=64}function wi(e,i,l){var f,m=i-32,b=kn,w=255-e[m-1];for(f=0;f<l;++f){var N,L=b,k=w+e[i-1];for(N=0;N<l;++N)e[i+N]=L[k+e[m+N]];i+=32}}function yi(e,i){wi(e,i,4)}function Ji(e,i){wi(e,i,8)}function cs(e,i){wi(e,i,16)}function fs(e,i){var l;
vendor: 4,327 bytes, line 41
41for(l=0;16>l;++l)a(e,i+32*l,e,i-32,16)}function ds(e,i){var l;for(l=16;0<l;--l)s(e,i,e[i-1],16),i+=32}function Sr(e,i,l){var f;for(f=0;16>f;++f)s(i,l+32*f,e,16)}function Na(e,i){var l,f=16;for(l=0;16>l;++l)f+=e[i-1+32*l]+e[i+l-32];Sr(f>>5,e,i)}function Pr(e,i){var l,f=8;for(l=0;16>l;++l)f+=e[i-1+32*l];Sr(f>>4,e,i)}function ps(e,i){var l,f=8;for(l=0;16>l;++l)f+=e[i+l-32];Sr(f>>4,e,i)}function Yr(e,i){Sr(128,e,i)}function Jt(e,i,l){return e+2*i+l+2>>2}function gs(e,i){var l,f=i-32;for(f=new Uint8Array([Jt(e[f-1],e[f+0],e[f+1]),Jt(e[f+0],e[f+1],e[f+2]),Jt(e[f+1],e[f+2],e[f+3]),Jt(e[f+2],e[f+3],e[f+4])]),l=0;4>l;++l)a(e,i+32*l,f,0,f.length)}function ms(e,i){var l=e[i-1],f=e[i-1+32],m=e[i-1+64],b=e[i-1+96];yt(e,i+0,16843009*Jt(e[i-1-32],l,f)),yt(e,i+32,16843009*Jt(l,f,m)),yt(e,i+64,16843009*Jt(f,m,b)),yt(e,i+96,16843009*Jt(m,b,b))}function vs(e,i){var l,f=4;for(l=0;4>l;++l)f+=e[i+l-32]+e[i-1+32*l];for(f>>=3,l=0;4>l;++l)s(e,i+32*l,f,4)}function bs(e,i){var l=e[i-1+0],f=e[i-1+32],m=e[i-1+64],b=e[i-1-32],w=e[i+0-32],N=e[i+1-32],L=e[i+2-32],k=e[i+3-32];e[i+0+96]=Jt(f,m,e[i-1+96]),e[i+1+96]=e[i+0+64]=Jt(l,f,m),e[i+2+96]=e[i+1+64]=e[i+0+32]=Jt(b,l,f),e[i+3+96]=e[i+2+64]=e[i+1+32]=e[i+0+0]=Jt(w,b,l),e[i+3+64]=e[i+2+32]=e[i+1+0]=Jt(N,w,b),e[i+3+32]=e[i+2+0]=Jt(L,N,w),e[i+3+0]=Jt(k,L,N)}function ws(e,i){var l=e[i+1-32],f=e[i+2-32],m=e[i+3-32],b=e[i+4-32],w=e[i+5-32],N=e[i+6-32],L=e[i+7-32];e[i+0+0]=Jt(e[i+0-32],l,f),e[i+1+0]=e[i+0+32]=Jt(l,f,m),e[i+2+0]=e[i+1+32]=e[i+0+64]=Jt(f,m,b),e[i+3+0]=e[i+2+32]=e[i+1+64]=e[i+0+96]=Jt(m,b,w),e[i+3+32]=e[i+2+64]=e[i+1+96]=Jt(b,w,N),e[i+3+64]=e[i+2+96]=Jt(w,N,L),e[i+3+96]=Jt(N,L,L)}function gr(e,i){var l=e[i-1+0],f=e[i-1+32],m=e[i-1+64],b=e[i-1-32],w=e[i+0-32],N=e[i+1-32],L=e[i+2-32],k=e[i+3-32];e[i+0+0]=e[i+1+64]=b+w+1>>1,e[i+1+0]=e[i+2+64]=w+N+1>>1,e[i+2+0]=e[i+3+64]=N+L+1>>1,e[i+3+0]=L+k+1>>1,e[i+0+96]=Jt(m,f,l),e[i+0+64]=Jt(f,l,b),e[i+0+32]=e[i+1+96]=Jt(l,b,w),e[i+1+32]=e[i+2+96]=Jt(b,w,N),e[i+2+32]=e[i+3+96]=Jt(w,N,L),e[i+3+32]=Jt(N,L,k)}function mr(e,i){var l=e[i+0-32],f=e[i+1-32],m=e[i+2-32],b=e[i+3-32],w=e[i+4-32],N=e[i+5-32],L=e[i+6-32],k=e[i+7-32];e[i+0+0]=l+f+1>>1,e[i+1+0]=e[i+0+64]=f+m+1>>1,e[i+2+0]=e[i+1+64]=m+b+1>>1,e[i+3+0]=e[i+2+64]=b+w+1>>1,e[i+0+32]=Jt(l,f,m),e[i+1+32]=e[i+0+96]=Jt(f,m,b),e[i+2+32]=e[i+1+96]=Jt(m,b,w),e[i+3+32]=e[i+2+96]=Jt(b,w,N),e[i+3+64]=Jt(w,N,L),e[i+3+96]=Jt(N,L,k)}function ys(e,i){var l=e[i-1+0],f=e[i-1+32],m=e[i-1+64],b=e[i-1+96];e[i+0+0]=l+f+1>>1,e[i+2+0]=e[i+0+32]=f+m+1>>1,e[i+2+32]=e[i+0+64]=m+b+1>>1,e[i+1+0]=Jt(l,f,m),e[i+3+0]=e[i+1+32]=Jt(f,m,b),e[i+3+32]=e[i+1+64]=Jt(m,b,b),e[i+3+64]=e[i+2+64]=e[i+0+96]=e[i+1+96]=e[i+2+96]=e[i+3+96]=b}function As(e,i){var l=e[i-1+0],f=e[i-1+32],m=e[i-1+64],b=e[i-1+96],w=e[i-1-32],N=e[i+0-32],L=e[i+1-32],k=e[i+2-32];e[i+0+0]=e[i+2+32]=l+w+1>>1,e[i+0+32]=e[i+2+64]=f+l+1>>1,e[i+0+64]=e[i+2+96]=m+f+1>>1,e[i+0+96]=b+m+1>>1,e[i+3+0]=Jt(N,L,k),e[i+2+0]=Jt(w,N,L),e[i+1+0]=e[i+3+32]=Jt(l,w,N),e[i+1+32]=e[i+3+64]=Jt(f,l,w),e[i+1+64]=e[i+3+96]=Jt(m,f,l),e[i+1+96]=Jt(b,m,f)}function Ai(e,i){var l;for(l=0;8>l;++l)a(e,i+32*l,e,i-32,8)}function Xi(e,i){var l;for(l=0;8>l;++l)s(e,i,e[i-1],8),i+=32}function ir(e,i,l){var f;for(f=0;8>f;++f)s(i,l+32*f,e,8)}function Ns(e,i){var l,f=8;for(l=0;8>l;++l)f+=e[i+l-32]+e[i-1+32*l];ir(f>>4,e,i)}function Ni(e,i){var l,f=4;for(l=0;8>l;++l)f+=e[i+l-32];ir(f>>3,e,i)}function Ls(e,i){var l,f=4;for(l=0;8>l;++l)f+=e[i-1+32*l];ir(f>>3,e,i)}function Ki(e,i){ir(128,e,i)}function kr(e,i,l){var f=e[i-l],m=e[i+0],b=3*(m-f)+_s[1020+e[i-2*l]-e[i+l]],w=Ca[112+(b+4>>3)];e[i-l]=kn[255+f+Ca[112+(b+3>>3)]],e[i+0]=kn[255+m-w]}function $i(e,i,l,f){var m=e[i+0],b=e[i+l];return Dn[255+e[i-2*l]-e[i-l]]>f||Dn[255+b-m]>f}function Jr(e,i,l,f){return 4*Dn[255+e[i-l]-e[i+0]]+Dn[255+e[i-2*l]-e[i+l]]<=f}function Zi(e,i,l,f,m){var b=e[i-3*l],w=e[i-2*l],N=e[i-l],L=e[i+0],k=e[i+l],T=e[i+2*l],X=e[i+3*l];return 4*Dn[255+N-L]+Dn[255+w-k]>f?0:Dn[255+e[i-4*l]-b]<=m&&Dn[255+b-w]<=m&&Dn[255+w-N]<=m&&Dn[255+X-T]<=m&&Dn[255+T-k]<=m&&Dn[255+k-L]<=m}function Li(e,i,l,f){var m=2*f+1;for(f=0;16>f;++f)Jr(e,i+f,l,m)&&kr(e,i+f,l)}function Qi(e,i,l,f){var m=2*f+1;for(f=0;16>f;++f)Jr(e,i+f*l,1,m)&&kr(e,i+f*l,1)}function xi(e,i,l,f){var m;for(m=3;0<m;--m)Li(e,i+=4*l,l,f)}function La(e,i,l,f){var m;for(m=3;0<m;--m)Qi(e,i+=4,l,f)}function vr(e,i,l,f,m,b,w,N){for(b=2*b+1;0<m--;
vendor: 14,601 bytes, line 41
41){if(Zi(e,i,l,b,w))if($i(e,i,l,N))kr(e,i,l);else{var L=e,k=i,T=l,X=L[k-2*T],F=L[k-T],z=L[k+0],G=L[k+T],it=L[k+2*T],J=27*(ut=_s[1020+3*(z-F)+_s[1020+X-G]])+63>>7,st=18*ut+63>>7,ut=9*ut+63>>7;L[k-3*T]=kn[255+L[k-3*T]+ut],L[k-2*T]=kn[255+X+st],L[k-T]=kn[255+F+J],L[k+0]=kn[255+z-J],L[k+T]=kn[255+G-st],L[k+2*T]=kn[255+it-ut]}i+=f}}function br(e,i,l,f,m,b,w,N){for(b=2*b+1;0<m--;){if(Zi(e,i,l,b,w))if($i(e,i,l,N))kr(e,i,l);else{var L=e,k=i,T=l,X=L[k-T],F=L[k+0],z=L[k+T],G=Ca[112+(4+(it=3*(F-X))>>3)],it=Ca[112+(it+3>>3)],J=G+1>>1;L[k-2*T]=kn[255+L[k-2*T]+J],L[k-T]=kn[255+X+it],L[k+0]=kn[255+F-G],L[k+T]=kn[255+z-J]}i+=f}}function xa(e,i,l,f,m,b){vr(e,i,l,1,16,f,m,b)}function _a(e,i,l,f,m,b){vr(e,i,1,l,16,f,m,b)}function Sa(e,i,l,f,m,b){var w;for(w=3;0<w;--w)br(e,i+=4*l,l,1,16,f,m,b)}function Xr(e,i,l,f,m,b){var w;for(w=3;0<w;--w)br(e,i+=4,1,l,16,f,m,b)}function Pa(e,i,l,f,m,b,w,N){vr(e,i,m,1,8,b,w,N),vr(l,f,m,1,8,b,w,N)}function u(e,i,l,f,m,b,w,N){vr(e,i,1,m,8,b,w,N),vr(l,f,1,m,8,b,w,N)}function g(e,i,l,f,m,b,w,N){br(e,i+4*m,m,1,8,b,w,N),br(l,f+4*m,m,1,8,b,w,N)}function S(e,i,l,f,m,b,w,N){br(e,i+4,1,m,8,b,w,N),br(l,f+4,1,m,8,b,w,N)}function M(){this.ba=new ue,this.ec=[],this.cc=[],this.Mc=[],this.Dc=this.Nc=this.dc=this.fc=0,this.Oa=new be,this.memory=0,this.Ib="OutputFunc",this.Jb="OutputAlphaFunc",this.Nd="OutputRowFunc"}function H(){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 rt(){this.nc=this.Ea=this.b=this.hc=0,this.K=[],this.w=0}function dt(){this.ua=0,this.Wa=new ae,this.vb=new ae,this.md=this.xc=this.wc=0,this.vc=[],this.Wb=0,this.Ya=new at,this.yc=new D}function Ct(){this.xb=this.a=0,this.l=new mi,this.ca=new ue,this.V=[],this.Ba=0,this.Ta=[],this.Ua=0,this.m=new j,this.Pb=0,this.wd=new j,this.Ma=this.$=this.C=this.i=this.c=this.xd=0,this.s=new dt,this.ab=0,this.gc=d(4,rt),this.Oc=0}function It(){this.Lc=this.Z=this.$a=this.i=this.c=0,this.l=new mi,this.ic=0,this.ca=[],this.tb=0,this.qd=null,this.rd=0}function Kt(e,i,l,f,m,b,w){for(e=e==null?0:e[i+0],i=0;i<w;++i)m[b+i]=e+l[f+i]&255,e=m[b+i]}function te(e,i,l,f,m,b,w){var N;if(e==null)Kt(null,null,l,f,m,b,w);else for(N=0;N<w;++N)m[b+N]=e[i+N]+l[f+N]&255}function de(e,i,l,f,m,b,w){if(e==null)Kt(null,null,l,f,m,b,w);else{var N,L=e[i+0],k=L,T=L;for(N=0;N<w;++N)k=T+(L=e[i+N])-k,T=l[f+N]+(-256&k?0>k?0:255:k)&255,k=L,m[b+N]=T}}function Xe(e,i,l,f){var m=i.width,b=i.o;if(t(e!=null&&i!=null),0>l||0>=f||l+f>b)return null;if(!e.Cc){if(e.ga==null){var w;if(e.ga=new It,(w=e.ga==null)||(w=i.width*i.o,t(e.Gb.length==0),e.Gb=o(w),e.Uc=0,e.Gb==null?w=0:(e.mb=e.Gb,e.nb=e.Uc,e.rc=null,w=1),w=!w),!w){w=e.ga;var N=e.Fa,L=e.P,k=e.qc,T=e.mb,X=e.nb,F=L+1,z=k-1,G=w.l;if(t(N!=null&&T!=null&&i!=null),Br[0]=null,Br[1]=Kt,Br[2]=te,Br[3]=de,w.ca=T,w.tb=X,w.c=i.width,w.i=i.height,t(0<w.c&&0<w.i),1>=k)i=0;else if(w.$a=3&N[L+0],w.Z=N[L+0]>>2&3,w.Lc=N[L+0]>>4&3,L=N[L+0]>>6&3,0>w.$a||1<w.$a||4<=w.Z||1<w.Lc||L)i=0;else if(G.put=Gt,G.ac=Zn,G.bc=fr,G.ma=w,G.width=i.width,G.height=i.height,G.Da=i.Da,G.v=i.v,G.va=i.va,G.j=i.j,G.o=i.o,w.$a)t:{t(w.$a==1),i=Vr();e:for(;;){if(i==null){i=0;break t}if(t(w!=null),w.mc=i,i.c=w.c,i.i=w.i,i.l=w.l,i.l.ma=w,i.l.width=w.c,i.l.height=w.i,i.a=0,ht(i.m,N,F,z),!tr(w.c,w.i,1,i,null)||(i.ab==1&&i.gc[0].hc==3&&zn(i.s)?(w.ic=1,N=i.c*i.i,i.Ta=null,i.Ua=0,i.V=o(N),i.Ba=0,i.V==null?(i.a=1,i=0):i=1):(w.ic=0,i=Gr(i,w.c)),!i))break e;i=1;break t}w.mc=null,i=0}else i=z>=w.c*w.i;w=!i}if(w)return null;e.ga.Lc!=1?e.Ga=0:f=b-l}t(e.ga!=null),t(l+f<=b);t:{if(i=(N=e.ga).c,b=N.l.o,N.$a==0){if(F=e.rc,z=e.Vc,G=e.Fa,L=e.P+1+l*i,k=e.mb,T=e.nb+l*i,t(L<=e.P+e.qc),N.Z!=0)for(t(Br[N.Z]!=null),w=0;w<f;++w)Br[N.Z](F,z,G,L,k,T,i),F=k,z=T,T+=i,L+=i;else for(w=0;w<f;++w)a(k,T,G,L,i),F=k,z=T,T+=i,L+=i;e.rc=F,e.Vc=z}else{if(t(N.mc!=null),i=l+f,t((w=N.mc)!=null),t(i<=w.i),w.C>=i)i=1;else if(N.ic||Me(),N.ic){N=w.V,F=w.Ba,z=w.c;var it=w.i,J=(G=1,L=w.$/z,k=w.$%z,T=w.m,X=w.s,w.$),st=z*it,ut=z*i,vt=X.wc,pt=J<ut?rn(X,k,L):null;t(J<=st),t(i<=it),t(zn(X));e:for(;;){for(;!T.h&&J<ut;){if(k&vt||(pt=rn(X,k,L)),t(pt!=null),K(T),256>(it=Re(pt.G[0],pt.H[0],T)))N[F+J]=it,++J,++k>=z&&(k=0,++L<=i&&!(L%16)&&Wn(w,L));else{if(!(280>it)){G=0;break e}it=Bn(it-256,T);var Bt,Pt=Re(pt.G[4],pt.H[4],T);if(K(T),!(J>=(Pt=Mn(z,Pt=Bn(Pt,T)))&&st-J>=it)){G=0;break e}for(Bt=0;Bt<it;++Bt)N[F+J+Bt]=N[F+J+Bt-Pt];for(J+=it,k+=it;k>=z;)k-=z,++L<=i&&!(L%16)&&Wn(w,L);J<ut&&k&vt&&(pt=rn(X,k,L))}t(T.h==W(T))}Wn(w,L>i?i:L);break e}!G||T.h&&J<st?(G=0,w.a=T.h?5:3):w.$=J,i=G}else i=Hn(w,w.V,w.Ba,w.c,w.i,i,di);if(!i){f=0;break t}}l+f>=b&&(e.Cc=1),f=1}if(!f)return null;if(e.Cc&&((f=e.ga)!=null&&(f.mc=null),e.ga=null,0<e.Ga))return alert("todo:WebPDequantizeLevels"),null}return e.nb+l*m}function Le(e,i,l,f,m,b){for(;0<m--;){var w,N=e,L=i+(l?1:0),k=e,T=i+(l?0:3);for(w=0;w<f;++w){var X=k[T+4*w];X!=255&&(X*=32897,N[L+4*w+0]=N[L+4*w+0]*X>>23,N[L+4*w+1]=N[L+4*w+1]*X>>23,N[L+4*w+2]=N[L+4*w+2]*X>>23)}i+=b}}function Ne(e,i,l,f,m){for(;0<f--;){var b;for(b=0;b<l;++b){var w=e[i+2*b+0],N=15&(k=e[i+2*b+1]),L=4369*N,k=(240&k|k>>4)*L>>16;e[i+2*b+0]=(240&w|w>>4)*L>>16&240|(15&w|w<<4)*L>>16>>4&15,e[i+2*b+1]=240&k|N}i+=m}}function Ce(e,i,l,f,m,b,w,N){var L,k,T=255;for(k=0;k<m;++k){for(L=0;L<f;++L){var X=e[i+L];b[w+4*L]=X,T&=X}i+=l,w+=N}return T!=255}function Be(e,i,l,f,m){var b;for(b=0;b<m;++b)l[f+b]=e[i+b]>>8}function Me(){oa=Le,co=Ne,fo=Ce,po=Be}function hn(e,i,l){Y[e]=function(f,m,b,w,N,L,k,T,X,F,z,G,it,J,st,ut,vt){var pt,Bt=vt-1>>1,Pt=N[L+0]|k[T+0]<<16,re=X[F+0]|z[G+0]<<16;t(f!=null);var jt=3*Pt+re+131074>>2;for(i(f[m+0],255&jt,jt>>16,it,J),b!=null&&(jt=3*re+Pt+131074>>2,i(b[w+0],255&jt,jt>>16,st,ut)),pt=1;pt<=Bt;++pt){var fe=N[L+pt]|k[T+pt]<<16,Ze=X[F+pt]|z[G+pt]<<16,ie=Pt+fe+re+Ze+524296,Ot=ie+2*(fe+re)>>3;jt=Ot+Pt>>1,Pt=(ie=ie+2*(Pt+Ze)>>3)+fe>>1,i(f[m+2*pt-1],255&jt,jt>>16,it,J+(2*pt-1)*l),i(f[m+2*pt-0],255&Pt,Pt>>16,it,J+(2*pt-0)*l),b!=null&&(jt=ie+re>>1,Pt=Ot+Ze>>1,i(b[w+2*pt-1],255&jt,jt>>16,st,ut+(2*pt-1)*l),i(b[w+2*pt+0],255&Pt,Pt>>16,st,ut+(2*pt+0)*l)),Pt=fe,re=Ze}1&vt||(jt=3*Pt+re+131074>>2,i(f[m+vt-1],255&jt,jt>>16,it,J+(vt-1)*l),b!=null&&(jt=3*re+Pt+131074>>2,i(b[w+vt-1],255&jt,jt>>16,st,ut+(vt-1)*l)))}}function wr(){Un[ja]=el,Un[Oa]=_o,Un[yo]=nl,Un[Ea]=So,Un[Ba]=Po,Un[Ss]=ko,Un[Ao]=rl,Un[Ps]=_o,Un[ks]=So,Un[Ma]=Po,Un[Fs]=ko}function ta(e){return e&-16384?0>e?0:255:e>>il}function Kr(e,i){return ta((19077*e>>8)+(26149*i>>8)-14234)}function $r(e,i,l){return ta((19077*e>>8)-(6419*i>>8)-(13320*l>>8)+8708)}function Fr(e,i){return ta((19077*e>>8)+(33050*i>>8)-17685)}function Zr(e,i,l,f,m){f[m+0]=Kr(e,l),f[m+1]=$r(e,i,l),f[m+2]=Fr(e,i)}function _i(e,i,l,f,m){f[m+0]=Fr(e,i),f[m+1]=$r(e,i,l),f[m+2]=Kr(e,l)}function Si(e,i,l,f,m){var b=$r(e,i,l);i=b<<3&224|Fr(e,i)>>3,f[m+0]=248&Kr(e,l)|b>>5,f[m+1]=i}function cn(e,i,l,f,m){var b=240&Fr(e,i)|15;f[m+0]=240&Kr(e,l)|$r(e,i,l)>>4,f[m+1]=b}function Qr(e,i,l,f,m){f[m+0]=255,Zr(e,i,l,f,m+1)}function ti(e,i,l,f,m){_i(e,i,l,f,m),f[m+3]=255}function ea(e,i,l,f,m){Zr(e,i,l,f,m),f[m+3]=255}function ar(e,i,l){Y[e]=function(f,m,b,w,N,L,k,T,X){for(var F=T+(-2&X)*l;T!=F;)i(f[m+0],b[w+0],N[L+0],k,T),i(f[m+1],b[w+0],N[L+0],k,T+l),m+=2,++w,++L,T+=2*l;1&X&&i(f[m+0],b[w+0],N[L+0],k,T)}}function bn(e,i,l){return l==0?e==0?i==0?6:5:i==0?4:0:l}function ka(e,i,l,f,m){switch(e>>>30){case 3:yr(i,l,f,m,0);break;case 2:Or(i,l,f,m);break;case 1:fn(i,l,f,m)}}function Pi(e,i){var l,f,m=i.M,b=i.Nb,w=e.oc,N=e.pc+40,L=e.oc,k=e.pc+584,T=e.oc,X=e.pc+600;for(l=0;16>l;++l)w[N+32*l-1]=129;for(l=0;8>l;++l)L[k+32*l-1]=129,T[X+32*l-1]=129;for(0<m?w[N-1-32]=L[k-1-32]=T[X-1-32]=129:(s(w,N-32-1,127,21),s(L,k-32-1,127,9),s(T,X-32-1,127,9)),f=0;f<e.za;++f){var F=i.ya[i.aa+f];if(0<f){for(l=-1;16>l;++l)a(w,N+32*l-4,w,N+32*l+12,4);for(l=-1;8>l;++l)a(L,k+32*l-4,L,k+32*l+4,4),a(T,X+32*l-4,T,X+32*l+4,4)}var z=e.Gd,G=e.Hd+f,it=F.ad,J=F.Hc;if(0<m&&(a(w,N-32,z[G].y,0,16),a(L,k-32,z[G].f,0,8),a(T,X-32,z[G].ea,0,8)),F.Za){var st=w,ut=N-32+16;for(0<m&&(f>=e.za-1?s(st,ut,z[G].y[15],4):a(st,ut,z[G+1].y,0,4)),l=0;4>l;l++)st[ut+128+l]=st[ut+256+l]=st[ut+384+l]=st[ut+0+l];for(l=0;16>l;++l,J<<=2)st=w,ut=N+Io[l],Gn[F.Ob[l]](st,ut),ka(J,it,16*+l,st,ut)}else if(st=bn(f,m,F.Ob[0]),Er[st](w,N),J!=0)for(l=0;16>l;++l,J<<=2)ka(J,it,16*+l,w,N+Io[l]);for(l=F.Gc,st=bn(f,m,F.Dd),Nr[st](L,k),Nr[st](T,X),J=it,st=L,ut=k,255&(F=0|l)&&(170&F?ji(J,256,st,ut):or(J,256,st,ut)),F=T,J=X,255&(l>>=8)&&(170&l?ji(it,320,F,J):or(it,320,F,J)),m<e.Ub-1&&(a(z[G].y,0,w,N+480,16),a(z[G].f,0,L,k+224,8),a(z[G].ea,0,T,X+224,8)),l=8*b*e.B,z=e.sa,G=e.ta+16*f+16*b*e.R,it=e.qa,F=e.ra+8*f+l,J=e.Ha,st=e.Ia+8*f+l,l=0;16>l;++l)a(z,G+l*e.R,w,N+32*l,16);for(l=0;8>l;++l)a(it,F+l*e.B,L,k+32*l,8),a(J,st+l*e.B,T,X+32*l,8)}}function Fa(e,i,l,f,m,b,w,N,L){var k=[0],T=[0],X=0,F=L!=null?L.kd:0,z=L??new H;if(e==null||12>l)return 7;z.data=e,z.w=i,z.ha=l,i=[i],l=[l],z.gb=[z.gb];t:{var G=i,it=l,J=z.gb;if(t(e!=null),t(it!=null),t(J!=null),J[0]=0,12<=it[0]&&!n(e,G[0],"RIFF")){if(n(e,G[0]+8,"WEBP")){J=3;break t}var st=zt(e,G[0]+4);if(12>st||4294967286<st){J=3;break t}if(F&&st>it[0]-8){J=7;break t}J[0]=st,G[0]+=12,it[0]-=12}J=0}if(J!=0)return J;for(st=0<z.gb[0],l=l[0];;){t:{var ut=e;it=i,J=l;var vt=k,pt=T,Bt=G=[0];if((jt=X=[X])[0]=0,8>J[0])J=7;else{if(!n(ut,it[0],"VP8X")){if(zt(ut,it[0]+4)!=10){J=3;break t}if(18>J[0]){J=7;break t}var Pt=zt(ut,it[0]+8),re=1+St(ut,it[0]+12);if(2147483648<=re*(ut=1+St(ut,it[0]+15))){J=3;break t}Bt!=null&&(Bt[0]=Pt),vt!=null&&(vt[0]=re),pt!=null&&(pt[0]=ut),it[0]+=18,J[0]-=18,jt[0]=1}J=0}}if(X=X[0],G=G[0],J!=0)return J;if(it=!!(2&G),!st&&X)return 3;if(b!=null&&(b[0]=!!(16&G)),w!=null&&(w[0]=it),N!=null&&(N[0]=0),w=k[0],G=T[0],X&&it&&L==null){J=0;break}if(4>l){J=7;break}if(st&&X||!st&&!X&&!n(e,i[0],"ALPH")){l=[l],z.na=[z.na],z.P=[z.P],z.Sa=[z.Sa];t:{Pt=e,J=i,st=l;var jt=z.gb;vt=z.na,pt=z.P,Bt=z.Sa,re=22,t(Pt!=null),t(st!=null),ut=J[0];var fe=st[0];for(t(vt!=null),t(Bt!=null),vt[0]=null,pt[0]=null,Bt[0]=0;;){if(J[0]=ut,st[0]=fe,8>fe){J=7;break t}var Ze=zt(Pt,ut+4);if(4294967286<Ze){J=3;break t}var ie=8+Ze+1&-2;if(re+=ie,0<jt&&re>jt){J=3;break t}if(!n(Pt,ut,"VP8 ")||!n(Pt,ut,"VP8L")){J=0;break t}if(fe[0]<ie){J=7;break t}n(Pt,ut,"ALPH")||(vt[0]=Pt,pt[0]=ut+8,Bt[0]=Ze),ut+=ie,fe-=ie}}if(l=l[0],z.na=z.na[0],z.P=z.P[0],z.Sa=z.Sa[0],J!=0)break}l=[l],z.Ja=[z.Ja],z.xa=[z.xa];t:if(jt=e,J=i,st=l,vt=z.gb[0],pt=z.Ja,Bt=z.xa,Pt=J[0],ut=!n(jt,Pt,"VP8 "),re=!n(jt,Pt,"VP8L"),t(jt!=null),t(st!=null),t(pt!=null),t(Bt!=null),8>st[0])J=7;else{if(ut||re){if(jt=zt(jt,Pt+4),12<=vt&&jt>vt-12){J=3;break t}if(F&&jt>st[0]-8){J=7;break t}pt[0]=jt,J[0]+=8,st[0]-=8,Bt[0]=re}else Bt[0]=5<=st[0]&&jt[Pt+0]==47&&!(jt[Pt+4]>>5),pt[0]=st[0];J=0}if(l=l[0],z.Ja=z.Ja[0],z.xa=z.xa[0],i=i[0],J!=0)break;if(4294967286<z.Ja)return 3;if(N==null||it||(N[0]=z.xa?2:1),w=[w],G=[G],z.xa){if(5>l){J=7;break}N=w,F=G,it=b,e==null||5>l?e=0:5<=l&&e[i+0]==47&&!(e[i+4]>>5)?(st=[0],jt=[0],vt=[0],ht(pt=new j,e,i,l),dr(pt,st,jt,vt)?(N!=null&&(N[0]=st[0]),F!=null&&(F[0]=jt[0]),it!=null&&(it[0]=vt[0]),e=1):e=0):e=0}else{if(10>l){J=7;break}N=G,e==null||10>l||!wa(e,i+3,l-3)?e=0:(F=e[i+0]|e[i+1]<<8|e[i+2]<<16,it=16383&(e[i+7]<<8|e[i+6]),e=16383&(e[i+9]<<8|e[i+8]),1&F||3<(F>>1&7)||!(F>>4&1)||F>>5>=z.Ja||!it||!e?e=0:(w&&(w[0]=it),N&&(N[0]=e),e=1))}if(!e||(w=w[0],G=G[0],X&&(k[0]!=w||T[0]!=G)))return 3;L!=null&&(L[0]=z,L.offset=i-L.w,t(4294967286>i-L.w),t(L.offset==L.ha-l));break}return J==0||J==7&&X&&L==null?(b!=null&&(b[0]|=z.na!=null&&0<z.na.length),f!=null&&(f[0]=w),m!=null&&(m[0]=G),0):J}function qn(e,i,l){var f=i.width,m=i.height,b=0,w=0,N=f,L=m;if(i.Da=e!=null&&0<e.Da,i.Da&&(N=e.cd,L=e.bd,b=e.v,w=e.j,11>l||(b&=-2,w&=-2),0>b||0>w||0>=N||0>=L||b+N>f||w+L>m))return 0;if(i.v=b,i.j=w,i.va=b+N,i.o=w+L,i.U=N,i.T=L,i.da=e!=null&&0<e.da,i.da){if(!Wt(N,L,l=[e.ib],b=[e.hb]))return 0;i.ib=l[0],i.hb=b[0]}return i.ob=e!=null&&e.ob,i.Kb=e==null||!e.Sd,i.da&&(i.ob=i.ib<3*f/4&&i.hb<3*m/4,i.Kb=0),1}function ei(e){if(e==null)return 2;if(11>e.S){var i=e.f.RGBA;i.fb+=(e.height-1)*i.A,i.A=-i.A}else i=e.f.kb,e=e.height,i.O+=(e-1)*i.fa,i.fa=-i.fa,i.N+=(e-1>>1)*i.Ab,i.Ab=-i.Ab,i.W+=(e-1>>1)*i.Db,i.Db=-i.Db,i.F!=null&&(i.J+=(e-1)*i.lb,i.lb=-i.lb);return 0}function na(e,i,l,f){if(f==null||0>=e||0>=i)return 2;if(l!=null){if(l.Da){var m=l.cd,b=l.bd,w=-2&l.v,N=-2&l.j;if(0>w||0>N||0>=m||0>=b||w+m>e||N+b>i)return 2;e=m,i=b}if(l.da){if(!Wt(e,i,m=[l.ib],b=[l.hb]))return 2;e=m[0],i=b[0]}}f.width=e,f.height=i;t:{var L=f.width,k=f.height;if(e=f.S,0>=L||0>=k||!(e>=ja&&13>e))e=2;else{if(0>=f.Rd&&f.sd==null){w=b=m=i=0;var T=(N=L*Co[e])*k;if(11>e||(b=(k+1)/2*(i=(L+1)/2),e==12&&(w=(m=L)*k)),(k=o(T+2*b+w))==null){e=1;break t}f.sd=k,11>e?((L=f.f.RGBA).eb=k,L.fb=0,L.A=N,L.size=T):((L=f.f.kb).y=k,L.O=0,L.fa=N,L.Fd=T,L.f=k,L.N=0+T,L.Ab=i,L.Cd=b,L.ea=k,L.W=0+T+b,L.Db=i,L.Ed=b,e==12&&(L.F=k,L.J=0+T+2*b),L.Tc=w,L.lb=m)}if(i=1,m=f.S,b=f.width,w=f.height,m>=ja&&13>m)if(11>m)e=f.f.RGBA,i&=(N=Math.abs(e.A))*(w-1)+b<=e.size,i&=N>=b*Co[m],i&=e.eb!=null;else{e=f.f.kb,N=(b+1)/2,T=(w+1)/2,L=Math.abs(e.fa),k=Math.abs(e.Ab);var X=Math.abs(e.Db),F=Math.abs(e.lb),z=F*(w-1)+b;i&=L*(w-1)+b<=e.Fd,i&=k*(T-1)+N<=e.Cd,i=(i&=X*(T-1)+N<=e.Ed)&L>=b&k>=N&X>=N,i&=e.y!=null,i&=e.f!=null,i&=e.ea!=null,m==12&&(i&=F>=b,i&=z<=e.Tc,i&=e.F!=null)}else i=0;e=i?0:2}}return e!=0||l!=null&&l.fd&&(e=ei(f)),e}var ki=64,ni=[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],ra=24,wn=32,Ln=8,Fi=[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];kt("Predictor0","PredictorAdd0"),Y.Predictor0=function(){return 4278190080},Y.Predictor1=function(e){return e},Y.Predictor2=function(e,i,l){return i[l+0]},Y.Predictor3=function(e,i,l){return i[l+1]},Y.Predictor4=function(e,i,l){return i[l-1]},Y.Predictor5=function(e,i,l){return qt(qt(e,i[l+1]),i[l+0])},Y.Predictor6=function(e,i,l){return qt(e,i[l-1])},Y.Predictor7=function(e,i,l){return qt(e,i[l+0])},Y.Predictor8=function(e,i,l){return qt(i[l-1],i[l+0])},Y.Predictor9=function(e,i,l){return qt(i[l+0],i[l+1])},Y.Predictor10=function(e,i,l){return qt(qt(e,i[l-1]),qt(i[l+0],i[l+1]))},Y.Predictor11=function(e,i,l){var f=i[l+0];return 0>=Zt(f>>24&255,e>>24&255,(i=i[l-1])>>24&255)+Zt(f>>16&255,e>>16&255,i>>16&255)+Zt(f>>8&255,e>>8&255,i>>
vendor: 6,161 bytes, line 41
418&255)+Zt(255&f,255&e,255&i)?f:e},Y.Predictor12=function(e,i,l){var f=i[l+0];return(ve((e>>24&255)+(f>>24&255)-((i=i[l-1])>>24&255))<<24|ve((e>>16&255)+(f>>16&255)-(i>>16&255))<<16|ve((e>>8&255)+(f>>8&255)-(i>>8&255))<<8|ve((255&e)+(255&f)-(255&i)))>>>0},Y.Predictor13=function(e,i,l){var f=i[l-1];return(le((e=qt(e,i[l+0]))>>24&255,f>>24&255)<<24|le(e>>16&255,f>>16&255)<<16|le(e>>8&255,f>>8&255)<<8|le(255&e,255&f))>>>0};var Ir=Y.PredictorAdd0;Y.PredictorAdd1=ce,kt("Predictor2","PredictorAdd2"),kt("Predictor3","PredictorAdd3"),kt("Predictor4","PredictorAdd4"),kt("Predictor5","PredictorAdd5"),kt("Predictor6","PredictorAdd6"),kt("Predictor7","PredictorAdd7"),kt("Predictor8","PredictorAdd8"),kt("Predictor9","PredictorAdd9"),kt("Predictor10","PredictorAdd10"),kt("Predictor11","PredictorAdd11"),kt("Predictor12","PredictorAdd12"),kt("Predictor13","PredictorAdd13");var Cr=Y.PredictorAdd2;Mt("ColorIndexInverseTransform","MapARGB","32b",function(e){return e>>8&255},function(e){return e}),Mt("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(e){return e},function(e){return e>>8&255});var Ii,ri=Y.ColorIndexInverseTransform,Ke=Y.MapARGB,xs=Y.VP8LColorIndexInverseTransformAlpha,sr=Y.MapAlpha,Vn=Y.VP8LPredictorsAdd=[];Vn.length=16,(Y.VP8LPredictors=[]).length=16,(Y.VP8LPredictorsAdd_C=[]).length=16,(Y.VP8LPredictors_C=[]).length=16;var ii,ia,aa,Ci,ai,si,jr,yr,Or,ji,fn,or,ke,Fe,ze,$e,Ar,sa,Oi,Ia,oo,uo,lo,ho,oa,co,fo,po,go=o(511),mo=o(2041),vo=o(225),bo=o(767),wo=0,_s=mo,Ca=vo,kn=bo,Dn=go,ja=0,Oa=1,yo=2,Ea=3,Ba=4,Ss=5,Ao=6,Ps=7,ks=8,Ma=9,Fs=10,Uu=[2,3,7],zu=[3,3,11],No=[280,256,256,256,40],Wu=[0,1,1,1,0],Hu=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],Vu=[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],Gu=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],Yu=8,Is=[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],Cs=[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],ua=null,Ju=[[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]],Xu=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],Lo=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],Ku=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,25
415,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]]]],$u=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,
411,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]]],Zu=[[[[255,255,255,255,255,255,255,255,255,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: 18,148 bytes, line 41
415,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]]]],Qu=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],Er=[],Gn=[],Nr=[],tl=1,xo=2,Br=[],Un=[];hn("UpsampleRgbLinePair",Zr,3),hn("UpsampleBgrLinePair",_i,3),hn("UpsampleRgbaLinePair",ea,4),hn("UpsampleBgraLinePair",ti,4),hn("UpsampleArgbLinePair",Qr,4),hn("UpsampleRgba4444LinePair",cn,2),hn("UpsampleRgb565LinePair",Si,2);var el=Y.UpsampleRgbLinePair,nl=Y.UpsampleBgrLinePair,_o=Y.UpsampleRgbaLinePair,So=Y.UpsampleBgraLinePair,Po=Y.UpsampleArgbLinePair,ko=Y.UpsampleRgba4444LinePair,rl=Y.UpsampleRgb565LinePair,Ra=16,Ta=1<<Ra-1,la=-227,js=482,il=6,Fo=0,al=o(256),sl=o(256),ol=o(256),ul=o(256),ll=o(js-la),hl=o(js-la);ar("YuvToRgbRow",Zr,3),ar("YuvToBgrRow",_i,3),ar("YuvToRgbaRow",ea,4),ar("YuvToBgraRow",ti,4),ar("YuvToArgbRow",Qr,4),ar("YuvToRgba4444Row",cn,2),ar("YuvToRgb565Row",Si,2);var Io=[0,4,8,12,128,132,136,140,256,260,264,268,384,388,392,396],qa=[0,2,8],cl=[8,7,6,4,4,2,2,2,1,1,1,1],fl=1;this.WebPDecodeRGBA=function(e,i,l,f,m){var b=Oa,w=new M,N=new ue;w.ba=N,N.S=b,N.width=[N.width],N.height=[N.height];var L=N.width,k=N.height,T=new Vt;if(T==null||e==null)var X=2;else t(T!=null),X=Fa(e,i,l,T.width,T.height,T.Pd,T.Qd,T.format,null);if(X!=0?L=0:(L!=null&&(L[0]=T.width[0]),k!=null&&(k[0]=T.height[0]),L=1),L){N.width=N.width[0],N.height=N.height[0],f!=null&&(f[0]=N.width),m!=null&&(m[0]=N.height);t:{if(f=new mi,(m=new H).data=e,m.w=i,m.ha=l,m.kd=1,i=[0],t(m!=null),((e=Fa(m.data,m.w,m.ha,null,null,null,i,null,m))==0||e==7)&&i[0]&&(e=4),(i=e)==0){if(t(w!=null),f.data=m.data,f.w=m.w+m.offset,f.ha=m.ha-m.offset,f.put=Gt,f.ac=Zn,f.bc=fr,f.ma=w,m.xa){if((e=Vr())==null){w=1;break t}if((function(F,z){var G=[0],it=[0],J=[0];e:for(;;){if(F==null)return 0;if(z==null)return F.a=2,0;if(F.l=z,F.a=0,ht(F.m,z.data,z.w,z.ha),!dr(F.m,G,it,J)){F.a=3;break e}if(F.xb=xo,z.width=G[0],z.height=it[0],!tr(G[0],it[0],1,F,null))break e;return 1}return t(F.a!=0),0})(e,f)){if(f=(i=na(f.width,f.height,w.Oa,w.ba))==0){e:{f=e;n:for(;;){if(f==null){f=0;break e}if(t(f.s.yc!=null),t(f.s.Ya!=null),t(0<f.s.Wb),t((l=f.l)!=null),t((m=l.ma)!=null),f.xb!=0){if(f.ca=m.ba,f.tb=m.tb,t(f.ca!=null),!qn(m.Oa,l,Ea)){f.a=2;break n}if(!Gr(f,l.width)||l.da)break n;if((l.da||Yt(f.ca.S))&&Me(),11>f.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),f.ca.f.kb.F!=null&&Me()),f.Pb&&0<f.s.ua&&f.s.vb.X==null&&!_(f.s.vb,f.s.Wa.Xa)){f.a=1;break n}f.xb=0}if(!Hn(f,f.V,f.Ba,f.c,f.i,l.o,_r))break n;m.Dc=f.Ma,f=1;break e}t(f.a!=0),f=0}f=!f}f&&(i=e.a)}else i=e.a}else{if((e=new os)==null){w=1;break t}if(e.Fa=m.na,e.P=m.P,e.qc=m.Sa,nr(e,f)){if((i=na(f.width,f.height,w.Oa,w.ba))==0){if(e.Aa=0,l=w.Oa,t((m=e)!=null),l!=null){if(0<(L=0>(L=l.Md)?0:100<L?255:255*L/100)){for(k=T=0;4>k;++k)12>(X=m.pb[k]).lc&&(X.ia=L*cl[0>X.lc?0:X.lc]>>3),T|=X.ia;T&&(alert("todo:VP8InitRandom"),m.ia=1)}m.Ga=l.Id,100<m.Ga?m.Ga=100:0>m.Ga&&(m.Ga=0)}(function(F,z){if(F==null)return 0;if(z==null)return Je(F,2,"NULL VP8Io parameter in VP8Decode().");if(!F.cb&&!nr(F,z))return 0;if(t(F.cb),z.ac==null||z.ac(z)){z.ob&&(F.L=0);var G=qa[F.L];if(F.L==2?(F.yb=0,F.zb=0):(F.yb=z.v-G>>4,F.zb=z.j-G>>4,0>F.yb&&(F.yb=0),0>F.zb&&(F.zb=0)),F.Va=z.o+15+G>>4,F.Hb=z.va+15+G>>4,F.Hb>F.za&&(F.Hb=F.za),F.Va>F.Ub&&(F.Va=F.Ub),0<F.L){var it=F.ed;for(G=0;4>G;++G){var J;if(F.Qa.Cb){var st=F.Qa.Lb[G];F.Qa.Fb||(st+=it.Tb)}else st=it.Tb;for(J=0;1>=J;++J){var ut=F.gd[G][J],vt=st;if(it.Pc&&(vt+=it.vd[0],J&&(vt+=it.od[0])),0<(vt=0>vt?0:63<vt?63:vt)){var pt=vt;0<it.wb&&(pt=4<it.wb?pt>>2:pt>>1)>9-it.wb&&(pt=9-it.wb),1>pt&&(pt=1),ut.dd=pt,ut.tc=2*vt+pt,ut.ld=40<=vt?2:15<=vt?1:0}else ut.tc=0;ut.La=J}}}G=0}else Je(F,6,"Frame setup failed"),G=F.a;if(G=G==0){if(G){F.$c=0,0<F.Aa||(F.Ic=fl);e:{G=F.Ic,it=4*(pt=F.za);var Bt=32*pt,Pt=pt+1,re=0<F.L?pt*(0<F.Aa?2:1):0,jt=(F.Aa==2?2:1)*pt;if((ut=it+832+(J=3*(16*G+qa[F.L])/2*Bt)+(st=F.Fa!=null&&0<F.Fa.length?F.Kc.c*F.Kc.i:0))!=ut)G=0;else{if(ut>F.Vb){if(F.Vb=0,F.Ec=o(ut),F.Fc=0,F.Ec==null){G=Je(F,1,"no memory during frame initialization.");break e}F.Vb=ut}ut=F.Ec,vt=F.Fc,F.Ac=ut,F.Bc=vt,vt+=it,F.Gd=d(Bt,va),F.Hd=0,F.rb=d(Pt+1,Vi),F.sb=1,F.wa=re?d(re,Tn):null,F.Y=0,F.D.Nb=0,F.D.wa=F.wa,F.D.Y=F.Y,0<F.Aa&&(F.D.Y+=pt),t(!0),F.oc=ut,F.pc=vt,vt+=832,F.ya=d(jt,Gi),F.aa=0,F.D.ya=F.ya,F.D.aa=F.aa,F.Aa==2&&(F.D.aa+=pt),F.R=16*pt,F.B=8*pt,pt=(Bt=qa[F.L])*F.R,Bt=Bt/2*F.B,F.sa=ut,F.ta=vt+pt,F.qa=F.sa,F.ra=F.ta+16*G*F.R+Bt,F.Ha=F.qa,F.Ia=F.ra+8*G*F.B+Bt,F.$c=0,vt+=J,F.mb=st?ut:null,F.nb=st?vt:null,t(vt+st<=F.Fc+F.Vb),Yi(F),s(F.Ac,F.Bc,0,it),G=1}}if(G){if(z.ka=0,z.y=F.sa,z.O=F.ta,z.f=F.qa,z.N=F.ra,z.ea=F.Ha,z.Vd=F.Ia,z.fa=F.R,z.Rc=F.B,z.F=null,z.J=0,!wo){for(G=-255;255>=G;++G)go[255+G]=0>G?-G:G;for(G=-1020;1020>=G;++G)mo[1020+G]=-128>G?-128:127<G?127:G;for(G=-112;112>=G;++G)vo[112+G]=-16>G?-16:15<G?15:G;for(G=-255;510>=G;++G)bo[255+G]=0>G?0:255<G?255:G;wo=1}jr=Aa,yr=us,ji=ls,fn=hs,or=rr,Or=ya,ke=xa,Fe=_a,ze=Pa,$e=u,Ar=Sa,sa=Xr,Oi=g,Ia=S,oo=Li,uo=Qi,lo=xi,ho=La,Gn[0]=vs,Gn[1]=yi,Gn[2]=gs,Gn[3]=ms,Gn[4]=bs,Gn[5]=gr,Gn[6]=ws,Gn[7]=mr,Gn[8]=As,Gn[9]=ys,Er[0]=Na,Er[1]=cs,Er[2]=fs,Er[3]=ds,Er[4]=Pr,Er[5]=ps,Er[6]=Yr,Nr[0]=Ns,Nr[1]=Ji,Nr[2]=Ai,Nr[3]=Xi,Nr[4]=Ls,Nr[5]=Ni,Nr[6]=Ki,G=1}else G=0}G&&(G=(function(fe,Ze){for(fe.M=0;fe.M<fe.Va;++fe.M){var ie,Ot=fe.Jc[fe.M&fe.Xb],Nt=fe.m,We=fe;for(ie=0;ie<We.za;++ie){var ee=Nt,pe=We,je=pe.Ac,sn=pe.Bc+4*ie,yn=pe.zc,Te=pe.ya[pe.aa+ie];if(pe.Qa.Bb?Te.$b=ct(ee,pe.Pa.jb[0])?2+ct(ee,pe.Pa.jb[2]):ct(ee,pe.Pa.jb[1]):Te.$b=0,pe.kc&&(Te.Ad=ct(ee,pe.Bd)),Te.Za=!ct(ee,145)+0,Te.Za){var dn=Te.Ob,An=0;for(pe=0;4>pe;++pe){var Qe,me=yn[0+pe];for(Qe=0;4>Qe;++Qe){me=$u[je[sn+Qe]][me];for(var we=Lo[ct(ee,me[0])];0<we;)we=Lo[2*we+ct(ee,me[we])];me=-we,je[sn+Qe]=me}a(dn,An,je,sn,4),An+=4,yn[0+pe]=me}}else me=ct(ee,156)?ct(ee,128)?1:3:ct(ee,163)?2:0,Te.Ob[0]=me,s(je,sn,me,4),s(yn,0,me,4);Te.Dd=ct(ee,142)?ct(ee,114)?ct(ee,183)?1:3:2:0}if(We.m.Ka)return Je(fe,7,"Premature end-of-partition0 encountered.");for(;fe.ja<fe.za;++fe.ja){if(We=Ot,ee=(Nt=fe).rb[Nt.sb-1],je=Nt.rb[Nt.sb+Nt.ja],ie=Nt.ya[Nt.aa+Nt.ja],sn=Nt.kc?ie.Ad:0)ee.la=je.la=0,ie.Za||(ee.Na=je.Na=0),ie.Hc=0,ie.Gc=0,ie.ia=0;else{var qe,ye;if(ee=je,je=We,sn=Nt.Pa.Xc,yn=Nt.ya[Nt.aa+Nt.ja],Te=Nt.pb[yn.$b],pe=yn.ad,dn=0,An=Nt.rb[Nt.sb-1],me=Qe=0,s(pe,dn,0,384),yn.Za)var on=0,Yn=sn[3];else{we=o(16);var He=ee.Na+An.Na;if(He=ua(je,sn[1],He,Te.Eb,0,we,0),ee.Na=An.Na=(0<He)+0,1<He)jr(we,0,pe,dn);else{var xn=we[0]+3>>3;for(we=0;256>we;we+=16)pe[dn+we]=xn}on=1,Yn=sn[0]}var xe=15&ee.la,tn=15&An.la;for(we=0;4>we;++we){var Fn=1&tn;for(xn=ye=0;4>xn;++xn)xe=xe>>1|(Fn=(He=ua(je,Yn,He=Fn+(1&xe),Te.Sc,on,pe,dn))>on)<<7,ye=ye<<2|(3<He?3:1<He?2:pe[dn+0]!=0),dn+=16;xe>>=4,tn=tn>>1|Fn<<7,Qe=(Qe<<8|ye)>>>0}for(Yn=xe,on=tn>>4,qe=0;4>qe;qe+=2){for(ye=0,xe=ee.la>>4+qe,tn=An.la>>4+qe,we=0;2>we;++we){for(Fn=1&tn,xn=0;2>xn;++xn)He=Fn+(1&xe),xe=xe>>1|(Fn=0<(He=ua(je,sn[2],He,Te.Qc,0,pe,dn)))<<3,ye=ye<<2|(3<He?3:1<He?2:pe[dn+0]!=0),dn+=16;xe>>=2,tn=tn>>1|Fn<<5}me|=ye<<4*qe,Yn|=xe<<4<<qe,on|=(240&tn)<<qe}ee.la=Yn,An.la=on,yn.Hc=Qe,yn.Gc=me,yn.ia=43690&me?0:Te.ia,sn=!(Qe|me)}if(0<Nt.L&&(Nt.wa[Nt.Y+Nt.ja]=Nt.gd[ie.$b][ie.Za],Nt.wa[Nt.Y+Nt.ja].La|=!sn),We.Ka)return Je(fe,7,"Premature end-of-file encountered.")}if(Yi(fe),Nt=Ze,We=1,ie=(Ot=fe).D,ee=0<Ot.L&&Ot.M>=Ot.zb&&Ot.M<=Ot.Va,Ot.Aa==0)e:{if(ie.M=Ot.M,ie.uc=ee,Pi(Ot,ie),We=1,ie=(ye=Ot.D).Nb,ee=(me=qa[Ot.L])*Ot.R,je=me/2*Ot.B,we=16*ie*Ot.R,xn=8*ie*Ot.B,sn=Ot.sa,yn=Ot.ta-ee+we,Te=Ot.qa,pe=Ot.ra-je+xn,dn=Ot.Ha,An=Ot.Ia-je+xn,tn=(xe=ye.M)==0,Qe=xe>=Ot.Va-1,Ot.Aa==2&&Pi(Ot,ye),ye.uc)for(Fn=(He=Ot).D.M,t(He.D.uc),ye=He.yb;ye<He.Hb;++ye){on=ye,Yn=Fn;var Nn=(In=(un=He).D).Nb;qe=un.R;var In=In.wa[In.Y+on],Cn=un.sa,_n=un.ta+16*Nn*qe+16*on,jn=In.dd,Ie=In.tc;if(Ie!=0)if(t(3<=Ie),un.L==1)0<on&&uo(Cn,_n,qe,Ie+4),In.La&&ho(Cn,_n,qe,Ie),0<Yn&&oo(Cn,_n,qe,Ie+4),In.La&&lo(Cn,_n,qe,Ie);else{var On=un.B,Jn=un.qa,oi=un.ra+8*Nn*On+8*on,Lr=un.Ha,un=un.Ia+8*Nn*On+8*on;Nn=In.ld,0<on&&(Fe(Cn,_n,qe,Ie+4,jn,Nn),$e(Jn,oi,Lr,un,On,Ie+4,jn,Nn)),In.La&&(sa(Cn,_n,qe,Ie,jn,Nn),Ia(Jn,oi,Lr,un,On,Ie,jn,Nn)),0<Yn&&(ke(Cn,_n,qe,Ie+4,jn,Nn),ze(Jn,oi,Lr,un,On,Ie+4,jn,Nn)),In.La&&(Ar(Cn,_n,qe,Ie,jn,Nn),Oi(Jn,oi,Lr,un,On,Ie,jn,Nn))}}if(Ot.ia&&alert("todo:DitherRow"),Nt.put!=null){if(ye=16*xe,xe=16*(xe+1),tn?(Nt.y=Ot.sa,Nt.O=Ot.ta+we,Nt.f=Ot.qa,Nt.N=Ot.ra+xn,Nt.ea=Ot.Ha,Nt.W=Ot.Ia+xn):(ye-=me,Nt.y=sn,Nt.O=yn,Nt.f=Te,Nt.N=pe,Nt.ea=dn,Nt.W=An),Qe||(xe-=me),xe>Nt.o&&(xe=Nt.o),Nt.F=null,Nt.J=null,Ot.Fa!=null&&0<Ot.Fa.length&&ye<xe&&(Nt.J=Xe(Ot,Nt,ye,xe-ye),Nt.F=Ot.mb,Nt.F==null&&Nt.F.length==0)){We=Je(Ot,3,"Could not decode alpha data.");break e}ye<Nt.j&&(me=Nt.j-ye,ye=Nt.j,t(!(1&me)),Nt.O+=Ot.R*me,Nt.N+=Ot.B*(me>>1),Nt.W+=Ot.B*(me>>1),Nt.F!=null&&(Nt.J+=Nt.width*me)),ye<xe&&(Nt.O+=Nt.v,Nt.N+=Nt.v>>1,Nt.W+=Nt.v>>1,Nt.F!=null&&(Nt.J+=Nt.v),Nt.ka=ye-Nt.j,Nt.U=Nt.va-Nt.v,Nt.T=xe-ye,We=Nt.put(Nt))}ie+1!=Ot.Ic||Qe||(a(Ot.sa,Ot.ta-ee,sn,yn+16*Ot.R,ee),a(Ot.qa,Ot.ra-je,Te,pe+8*Ot.B,je),a(Ot.Ha,Ot.Ia-je,dn,An+8*Ot.B,je))}if(!We)return Je(fe,6,"Output aborted.")}return 1})(F,z)),z.bc!=null&&z.bc(z),G&=1}return G?(F.cb=0,G):0})(e,f)||(i=e.a)}}else i=e.a}i==0&&w.Oa!=null&&w.Oa.fd&&(i=ei(w.ba))}w=i}b=w!=0?null:11>b?N.f.RGBA.eb:N.f.kb.y}else b=null;return b};var Co=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function v(Y,gt){for(var P="",C=0;C<4;C++)P+=String.fromCharCode(Y[gt++]);return P}function A(Y,gt){return Y[gt+0]|Y[gt+1]<<8}function x(Y,gt){return(Y[gt+0]|Y[gt+1]<<8|Y[gt+2]<<16)>>>0}function O(Y,gt){return(Y[gt+0]|Y[gt+1]<<8|Y[gt+2]<<16|Y[gt+3]<<24)>>>0}new c;var p=[0],R=[0],E=[],q=new c,I=r,$=(function(Y,gt){var P={},C=0,D=!1,U=0,at=0;if(P.frames=[],!(function(y,j){for(var B=0;B<4;B++)if(y[j+B]!="RIFF".charCodeAt(B))return!0;return!1})(Y,gt)){for(O(Y,gt+=4),gt+=8;gt<Y.length;){var lt=v(Y,gt),ft=O(Y,gt+=4);gt+=4;var Q=ft+(1&ft);switch(lt){case"VP8 ":case"VP8L":P.frames[C]===void 0&&(P.frames[C]={}),(bt=P.frames[C]).src_off=D?at:gt-8,bt.src_size=U+ft+8,C++,D&&(D=!1,U=0,at=0);break;case"VP8X":(bt=P.header={}).feature_flags=Y[gt];var ht=gt+4;bt.canvas_width=1+x(Y,ht),ht+=3,bt.canvas_height=1+x(Y,ht),ht+=3;break;case"ALPH":D=!0,U=Q+8,at=gt-8;break;case"ANIM":(bt=P.header).bgcolor=O(Y,gt),ht=gt+4,bt.loop_count=A(Y,ht),ht+=2;break;case"ANMF":var At,bt;(bt=P.frames[C]={}).offset_x=2*x(Y,gt),gt+=3,bt.offset_y=2*x(Y,gt),gt+=3,bt.width=1+x(Y,gt),gt+=3,bt.height=1+x(Y,gt),gt+=3,bt.duration=x(Y,gt),gt+=3,At=Y[gt++],bt.dispose=1&At,bt.blend=At>>1&1}lt!="ANMF"&&(gt+=Q)}return P}})(I,0);$.response=I,$.rgbaoutput=!0,$.dataurl=!1;var Z=$.header?$.header:null,tt=$.frames?$.frames:null;if(Z){Z.loop_counter=Z.loop_count,p=[Z.canvas_height],R=[Z.canvas_width];for(var wt=0;wt<tt.length&&tt[wt].blend!=0;wt++);}var Lt=tt[0],Tt=q.WebPDecodeRGBA(I,Lt.src_off,Lt.src_size,R,p);Lt.rgba=Tt,Lt.imgwidth=R[0],Lt.imgheight=p[0];for(var ot=0;ot<R[0]*p[0]*4;ot++)E[ot]=Tt[ot];return this.width=R,this.height=p,this.data=E,this}function Lh(){var r,t=this.internal.__metadata__.metadata,n=unescape(encodeURIComponent(t));r=this.internal.__metadata__.rawXml?n:'<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>'+n.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")+"</jspdf:metadata></rdf:Description></rdf:RDF></x:xmpmeta>",this.internal.__metadata__.metadataObjectNumber=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+r.length+" >>"),this.internal.write("stream"),this.internal.write(r),this.internal.write("endstream"),this.internal.write("endobj")}function xh(){this.internal.__metadata__.metadataObjectNumber&&this.internal.write("/Metadata "+this.internal.__metadata__.metadataObjectNumber+" 0 R")}(function(r){var t,n,a,s,o,d,h,c,v,A=function(y){return y=y||{},this.isStrokeTransparent=y.isStrokeTransparent||!1,this.strokeOpacity=y.strokeOpacity||1,this.strokeStyle=y.strokeStyle||"#000000",this.fillStyle=y.fillStyle||"#000000",this.isFillTransparent=y.isFillTransparent||!1,this.fillOpacity=y.fillOpacity||1,this.font=y.font||"10px sans-serif",this.textBaseline=y.textBaseline||"alphabetic",this.textAlign=y.textAlign||"left",this.lineWidth=y.lineWidth||1,this.lineJoin=y.lineJoin||"miter",this.lineCap=y.lineCap||"butt",this.path=y.path||[],this.transform=y.transform!==void 0?y.transform.clone():new c,this.globalCompositeOperation=y.globalCompositeOperation||"normal",this.globalAlpha=y.globalAlpha||1,this.clip_path=y.clip_path||[],this.currentPoint=y.currentPoint||new d,this.miterLimit=y.miterLimit||10,this.lastPoint=y.lastPoint||new d,this.lineDashOffset=y.lineDashOffset||0,this.lineDash=y.lineDash||[],this.margin=y.margin||[0,0,0,0],this.prevPageLastElemOffset=y.prevPageLastElemOffset||0,this.ignoreClearRect=typeof y.ignoreClearRect!="boolean"||y.ignoreClearRect,this};r.events.push(["initialized",function(){this.context2d=new x(this),t=this.internal.f2,n=this.internal.getCoordinateString,a=this.internal.getVerticalCoordinateString,s=this.internal.getHorizontalCoordinate,o=this.internal.getVerticalCoordinate,d=this.internal.Point,h=this.internal.Rectangle,c=this.internal.Matrix,v=new A}]);var x=function(y){Object.defineProperty(this,"canvas",{get:function(){return{parentNode:!1,style:!1}}});var j=y;Object.defineProperty(this,"pdf",{get:function(){return j}});var B=!1;Object.defineProperty(this,"pageWrapXEnabled",{get:function(){return B},set:function(_){B=!!_}});var W=!1;Object.defineProperty(this,"pageWrapYEnabled",{get:function(){return W},set:function(_){W=!!_}});var V=0;Object.defineProperty(this,"posX",{get:function(){return V},set:function(_){isNaN(_)||(V=_)}});var K=0;Object.defineProperty(this,"posY",{get:function(){return K},set:function(_){isNaN(_)||(K=_)}}),Object.defineProperty(this,"margin",{get:function(){return v.margin},set:function(_){var xt;typeof _=="number"?xt=[_,_,_,_]:((xt=new Array(4))[0]=_[0],xt[1]=_.length>=2?_[1]:xt[0],xt[2]=_.length>=3?_[2]:xt[0],xt[3]=_.length>=4?_[3]:xt[1]),v.margin=xt}});var et=!1;Object.defineProperty(this,"autoPaging",{get:function(){return et},set:function(_){et=_}});var nt=0;Object.defineProperty(this,"lastBreak",{get:function(){return nt},set:function(_){nt=_}});var ct=[];Object.defineProperty(this,"pageBreaks",{get:function(){return ct},set:function(_){ct=_}}),Object.defineProperty(this,"ctx",{get:function(){return v},set:function(_){_ instanceof A&&(v=_)}}),Object.defineProperty(this,"path",{get:function(){return v.path},set:function(_){v.path=_}});var yt=[];Object.defineProperty(this,"ctxStack",{get:function(){return yt},set:function(_){yt=_}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(_){var xt;xt=O(_),this.ctx.fillStyle=xt.style,this.ctx.isFillTransparent=xt.a===0,this.ctx.fillOpacity=xt.a,this.pdf.setFillColor(xt.r,xt.g,xt.b,{a:xt.a}),this.pdf.setTextColor(xt.r,xt.g,xt.b,{a:xt.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(_){var xt=O(_);this.ctx.strokeStyle=xt.style,this.ctx.isStrokeTransparent=xt.a===0,this.ctx.strokeOpacity=xt.a,xt.a===0?this.pdf.setDrawColor(255,255,255):(xt.a,this.pdf.setDrawColor(xt.r,xt.g,xt.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(_){["butt","round","square"].indexOf(_)!==-1&&(this.ctx.lineCap=_,this.pdf.setLineCap(_))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(_){isNaN(_)||(this.ctx.lineWidth=_,this.pdf.setLineWidth(_))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(_){["bevel","round","miter"].indexOf(_)!==-1&&(this.ctx.lineJoin=_,this.pdf.setLineJoin(_))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(_){isNaN(_)||(this.ctx.miterLimit=_,this.pdf.setMiterLimit(_))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(_){this.ctx.textBaseline=_}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(_){["right","end","center","left","start"].indexOf(_)!==-1&&(this.ctx.textAlign=_)}});var _t=null,St=null,zt=null;Object.defineProperty(this,"fontFaces",{get:function(){return zt},set:function(_){_t=null,St=null,zt=_}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(_){var xt;if(this.ctx.font=_,(xt=/^\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(_))!==null){var ae=xt[1];xt[2];var Wt=xt[3],mt=xt[4];xt[5];var Ht=xt[6],kt=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(mt)[2];mt=Math.floor(kt==="px"?parseFloat(mt)*this.pdf.internal.scaleFactor:kt==="em"?parseFloat(mt)*this.pdf.getFontSize():parseFloat(mt)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(mt);var Ut=(function(Mt){var Ue,ge,se=[],oe=Mt.trim();if(oe==="")return $s;if(oe in au)return[au[oe]];for(;oe!=="";){switch(ge=null,Ue=(oe=ou(oe)).charAt(0)){case'"':case"'":ge=vh(oe.substring(1),Ue);break;default:ge=bh(oe)}if(ge===null||(se.push(ge[0]),(oe=ou(ge[1]))!==""&&oe.charAt(0)!==","))return $s;oe=oe.replace(/^,/,"")}return se}
41)(Ht);if(this.fontFaces){var qt=(function(Mt,Ue){var ge=Mt.getFontList(),se=JSON.stringify(ge);if(_t===null||St!==se){var oe=(function(Oe){var Dt=[];return Object.keys(Oe).forEach(function(Pe){Oe[Pe].forEach(function(Yt){var Qt=null;switch(Yt){case"bold":Qt={family:Pe,weight:"bold"};break;case"italic":Qt={family:Pe,style:"italic"};break;case"bolditalic":Qt={family:Pe,weight:"bold",style:"italic"};break;case"":case"normal":Qt={family:Pe}}Qt!==null&&(Qt.ref={name:Pe,style:Yt},Dt.push(Qt))})}),Dt})(ge);_t=(function(Oe){for(var Dt={},Pe=0;Pe<Oe.length;++Pe){var Yt=Ks(Oe[Pe]),Qt=Yt.family,Ee=Yt.stretch,ue=Yt.style,Vt=Yt.weight;Dt[Qt]=Dt[Qt]||{},Dt[Qt][Ee]=Dt[Qt][Ee]||{},Dt[Qt][Ee][ue]=Dt[Qt][Ee][ue]||{},Dt[Qt][Ee][ue][Vt]=Yt}return Dt})(oe.concat(Ue)),St=se}return _t})(this.pdf,this.fontFaces),ve=Ut.map(function(Mt){return{family:Mt,stretch:"normal",weight:Wt,style:ae}}),le=(function(Mt,Ue,ge){for(var se=(ge=ge||{}).defaultFontFamily||"times",oe=Object.assign({},mh,ge.genericFontFamilies||{}),Oe=null,Dt=null,Pe=0;Pe<Ue.length;++Pe)if(oe[(Oe=Ks(Ue[Pe])).family]&&(Oe.family=oe[Oe.family]),Mt.hasOwnProperty(Oe.family)){Dt=Mt[Oe.family];break}if(!(Dt=Dt||Mt[se]))throw new Error("Could not find a font-family for the rule '"+su(Oe)+"' and default family '"+se+"'.");if(Dt=(function(Yt,Qt){if(Qt[Yt])return Qt[Yt];var Ee=io[Yt],ue=Ee<=io.normal?-1:1,Vt=iu(Qt,Mu,Ee,ue);if(!Vt)throw new Error("Could not find a matching font-stretch value for "+Yt);return Vt})(Oe.stretch,Dt),Dt=(function(Yt,Qt){if(Qt[Yt])return Qt[Yt];for(var Ee=Bu[Yt],ue=0;ue<Ee.length;++ue)if(Qt[Ee[ue]])return Qt[Ee[ue]];throw new Error("Could not find a matching font-style for "+Yt)})(Oe.style,Dt),!(Dt=(function(Yt,Qt){if(Qt[Yt])return Qt[Yt];if(Yt===400&&Qt[500])return Qt[500];if(Yt===500&&Qt[400])return Qt[400];var Ee=gh[Yt],ue=iu(Qt,Ru,Ee,Yt<400?-1:1);if(!ue)throw new Error("Could not find a matching font-weight for value "+Yt);return ue})(Oe.weight,Dt)))throw new Error("Failed to resolve a font for the rule '"+su(Oe)+"'.");return Dt})(qt,ve);this.pdf.setFont(le.ref.name,le.ref.style)}else{var Zt="";(Wt==="bold"||parseInt(Wt,10)>=700||ae==="bold")&&(Zt="bold"),ae==="italic"&&(Zt+="italic"),Zt.length===0&&(Zt="normal");for(var ce="",he={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"},Et=0;Et<Ut.length;Et++){if(this.pdf.internal.getFont(Ut[Et],Zt,{noFallback:!0,disableWarning:!0})!==void 0){ce=Ut[Et];break}if(Zt==="bolditalic"&&this.pdf.internal.getFont(Ut[Et],"bold",{noFallback:!0,disableWarning:!0})!==void 0)ce=Ut[Et],Zt="bold";else if(this.pdf.internal.getFont(Ut[Et],"normal",{noFallback:!0,disableWarning:!0})!==void 0){ce=Ut[Et],Zt="normal";break}}if(ce===""){for(var ne=0;ne<Ut.length;ne++)if(he[Ut[ne]]){ce=he[Ut[ne]];break}}ce=ce===""?"Times":ce,this.pdf.setFont(ce,Zt)}}}}),Object.defineProperty(this,"globalCompositeOperation",{get:function(){return this.ctx.globalCompositeOperation},set:function(_){this.ctx.globalCompositeOperation=_}}),Object.defineProperty(this,"globalAlpha",{get:function(){return this.ctx.globalAlpha},set:function(_){this.ctx.globalAlpha=_}}),Object.defineProperty(this,"lineDashOffset",{get:function(){return this.ctx.lineDashOffset},set:function(_){this.ctx.lineDashOffset=_,bt.call(this)}}),Object.defineProperty(this,"lineDash",{get:function(){return this.ctx.lineDash},set:function(_){this.ctx.lineDash=_,bt.call(this)}}),Object.defineProperty(this,"ignoreClearRect",{get:function(){return this.ctx.ignoreClearRect},set:function(_){this.ctx.ignoreClearRect=!!_}})};x.prototype.setLineDash=function(y){this.lineDash=y},x.prototype.getLineDash=function(){return this.lineDash.length%2?this.lineDash.concat(this.lineDash):this.lineDash.slice()},x.prototype.fill=function(){tt.call(this,"fill",!1)},x.prototype.stroke=function(){tt.call(this,"stroke",!1)},x.prototype.beginPath=function(){this.path=[{type:"begin"}]},x.prototype.moveTo=function(y,j){if(isNaN(y)||isNaN(j))throw _e.error("jsPDF.context2d.moveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to
41jsPDF.context2d.moveTo");var B=this.ctx.transform.applyToPoint(new d(y,j));this.path.push({type:"mt",x:B.x,y:B.y}),this.ctx.lastPoint=new d(y,j)},x.prototype.closePath=function(){var y=new d(0,0),j=0;for(j=this.path.length-1;j!==-1;j--)if(this.path[j].type==="begin"&&Se(this.path[j+1])==="object"&&typeof this.path[j+1].x=="number"){y=new d(this.path[j+1].x,this.path[j+1].y);break}this.path.push({type:"close"}),this.ctx.lastPoint=new d(y.x,y.y)},x.prototype.lineTo=function(y,j){if(isNaN(y)||isNaN(j))throw _e.error("jsPDF.context2d.lineTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.lineTo");var B=this.ctx.transform.applyToPoint(new d(y,j));this.path.push({type:"lt",x:B.x,y:B.y}),this.ctx.lastPoint=new d(B.x,B.y)},x.prototype.clip=function(){this.ctx.clip_path=JSON.parse(JSON.stringify(this.path)),tt.call(this,null,!0)},x.prototype.quadraticCurveTo=function(y,j,B,W){if(isNaN(B)||isNaN(W)||isNaN(y)||isNaN(j))throw _e.error("jsPDF.context2d.quadraticCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.quadraticCurveTo");var V=this.ctx.transform.applyToPoint(new d(B,W)),K=this.ctx.transform.applyToPoint(new d(y,j));this.path.push({type:"qct",x1:K.x,y1:K.y,x:V.x,y:V.y}),this.ctx.lastPoint=new d(V.x,V.y)},x.prototype.bezierCurveTo=function(y,j,B,W,V,K){if(isNaN(V)||isNaN(K)||isNaN(y)||isNaN(j)||isNaN(B)||isNaN(W))throw _e.error("jsPDF.context2d.bezierCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.bezierCurveTo");var et=this.ctx.transform.applyToPoint(new d(V,K)),nt=this.ctx.transform.applyToPoint(new d(y,j)),ct=this.ctx.transform.applyToPoint(new d(B,W));this.path.push({type:"bct",x1:nt.x,y1:nt.y,x2:ct.x,y2:ct.y,x:et.x,y:et.y}),this.ctx.lastPoint=new d(et.x,et.y)},x.prototype.arc=function(y,j,B,W,V,K){if(isNaN(y)||isNaN(j)||isNaN(B)||isNaN(W)||isNaN(V))throw _e.error("jsPDF.context2d.arc: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.arc");if(K=!!K,!this.ctx.transform.isIdentity){var et=this.ctx.transform.applyToPoint(new d(y,j));y=et.x,j=et.y;var nt=this.ctx.transform.applyToPoint(new d(0,B)),ct=this.ctx.transform.applyToPoint(new d(0,0));B=Math.sqrt(Math.pow(nt.x-ct.x,2)+Math.pow(nt.y-ct.y,2))}Math.abs(V-W)>=2*Math.PI&&(W=0,V=2*Math.PI),this.path.push({type:"arc",x:y,y:j,radius:B,startAngle:W,endAngle:V,counterclockwise:K})},x.prototype.arcTo=function(y,j,B,W,V){throw new Error("arcTo not implemented.")},x.prototype.rect=function(y,j,B,W){if(isNaN(y)||isNaN(j)||isNaN(B)||isNaN(W))throw _e.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(y,j),this.lineTo(y+B,j),this.lineTo(y+B,j+W),this.lineTo(y,j+W),this.lineTo(y,j),this.lineTo(y+B,j),this.lineTo(y,j)},x.prototype.fillRect=function(y,j,B,W){if(isNaN(y)||isNaN(j)||isNaN(B)||isNaN(W))throw _e.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!p.call(this)){var V={};this.lineCap!=="butt"&&(V.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(V.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(y,j,B,W),this.fill(),V.hasOwnProperty("lineCap")&&(this.lineCap=V.lineCap),V.hasOwnProperty("lineJoin")&&(this.lineJoin=V.lineJoin)}},x.prototype.strokeRect=function(y,j,B,W){if(isNaN(y)||isNaN(j)||isNaN(B)||isNaN(W))throw _e.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");R.call(this)||(this.beginPath(),this.rect(y,j,B,W),this.stroke())},x.prototype.clearRect=function(y,j,B,W){if(isNaN(y)||isNaN(j)||isNaN(B)||isNaN(W))throw _e.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(y,j,B,W))},x.prototype.save=function(y){y=typeof y!="boolean"||y;for(var j=this.pdf.internal.getCurrentPageInfo().pageNumber,B=0;B<this.pdf.internal.getNumberOfPages();B++)this.pdf.setPage(B+1),this.pdf.internal.out("q");
vendor: 4,130 bytes, line 41
41if(this.pdf.setPage(j),y){this.ctx.fontSize=this.pdf.internal.getFontSize();var W=new A(this.ctx);this.ctxStack.push(this.ctx),this.ctx=W}},x.prototype.restore=function(y){y=typeof y!="boolean"||y;for(var j=this.pdf.internal.getCurrentPageInfo().pageNumber,B=0;B<this.pdf.internal.getNumberOfPages();B++)this.pdf.setPage(B+1),this.pdf.internal.out("Q");this.pdf.setPage(j),y&&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 O=function(y){var j,B,W,V;if(y.isCanvasGradient===!0&&(y=y.getColor()),!y)return{r:0,g:0,b:0,a:0,style:y};if(/transparent|rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*0+\s*\)/.test(y))j=0,B=0,W=0,V=0;else{var K=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/.exec(y);if(K!==null)j=parseInt(K[1]),B=parseInt(K[2]),W=parseInt(K[3]),V=1;else if((K=/rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d.]+)\s*\)/.exec(y))!==null)j=parseInt(K[1]),B=parseInt(K[2]),W=parseInt(K[3]),V=parseFloat(K[4]);else{if(V=1,typeof y=="string"&&y.charAt(0)!=="#"){var et=new ku(y);y=et.ok?et.toHex():"#000000"}y.length===4?(j=y.substring(1,2),j+=j,B=y.substring(2,3),B+=B,W=y.substring(3,4),W+=W):(j=y.substring(1,3),B=y.substring(3,5),W=y.substring(5,7)),j=parseInt(j,16),B=parseInt(B,16),W=parseInt(W,16)}}return{r:j,g:B,b:W,a:V,style:y}},p=function(){return this.ctx.isFillTransparent||this.globalAlpha==0},R=function(){return!!(this.ctx.isStrokeTransparent||this.globalAlpha==0)};x.prototype.fillText=function(y,j,B,W){if(isNaN(j)||isNaN(B)||typeof y!="string")throw _e.error("jsPDF.context2d.fillText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillText");if(W=isNaN(W)?void 0:W,!p.call(this)){var V=Q(this.ctx.transform.rotation),K=this.ctx.transform.scaleX;C.call(this,{text:y,x:j,y:B,scale:K,angle:V,align:this.textAlign,maxWidth:W})}},x.prototype.strokeText=function(y,j,B,W){if(isNaN(j)||isNaN(B)||typeof y!="string")throw _e.error("jsPDF.context2d.strokeText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeText");if(!R.call(this)){W=isNaN(W)?void 0:W;var V=Q(this.ctx.transform.rotation),K=this.ctx.transform.scaleX;C.call(this,{text:y,x:j,y:B,scale:K,renderingMode:"stroke",angle:V,align:this.textAlign,maxWidth:W})}},x.prototype.measureText=function(y){if(typeof y!="string")throw _e.error("jsPDF.context2d.measureText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.measureText");var j=this.pdf,B=this.pdf.internal.scaleFactor,W=j.internal.getFontSize(),V=j.getStringUnitWidth(y)*W/j.internal.scaleFactor;return new function(K){var et=(K=K||{}).width||0;return Object.defineProperty(this,"width",{get:function(){return et}}),this}({width:V*=Math.round(96*B/72*1e4)/1e4})},x.prototype.scale=function(y,j){if(isNaN(y)||isNaN(j))throw _e.error("jsPDF.context2d.scale: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.scale");var B=new c(y,0,0,j,0,0);this.ctx.transform=this.ctx.transform.multiply(B)},x.prototype.rotate=function(y){if(isNaN(y))throw _e.error("jsPDF.context2d.rotate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rotate");var j=new c(Math.cos(y),Math.sin(y),-Math.sin(y),Math.cos(y),0,0);this.ctx.transform=this.ctx.transform.multiply(j)},x.prototype.translate=function(y,j){if(isNaN(y)||isNaN(j))throw _e.error("jsPDF.context2d.translate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.translate");var B=new c(1,0,0,1,y,j);this.ctx.transform=this.ctx.transform.multiply(B)},x.prototype.transform=function(y,j,B,W,V,K){if(isNaN(y)||isNaN(j)||isNaN(B)||isNaN(W)||isNaN(V)||isNaN(K))throw _e.error("jsPDF.context2d.transform: Invalid arguments",arguments),new Error("Invalid arguments passed to
41jsPDF.context2d.transform");var et=new c(y,j,B,W,V,K);this.ctx.transform=this.ctx.transform.multiply(et)},x.prototype.setTransform=function(y,j,B,W,V,K){y=isNaN(y)?1:y,j=isNaN(j)?0:j,B=isNaN(B)?0:B,W=isNaN(W)?1:W,V=isNaN(V)?0:V,K=isNaN(K)?0:K,this.ctx.transform=new c(y,j,B,W,V,K)};var E=function(){return this.margin[0]>0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};x.prototype.drawImage=function(y,j,B,W,V,K,et,nt,ct){var yt=this.pdf.getImageProperties(y),_t=1,St=1,zt=1,_=1;W!==void 0&&nt!==void 0&&(zt=nt/W,_=ct/V,_t=yt.width/W*nt/W,St=yt.height/V*ct/V),K===void 0&&(K=j,et=B,j=0,B=0),W!==void 0&&nt===void 0&&(nt=W,ct=V),W===void 0&&nt===void 0&&(nt=yt.width,ct=yt.height);var xt=this.ctx.transform.decompose(),ae=Q(xt.rotate.shx),Wt=new c,mt=(Wt=(Wt=(Wt=Wt.multiply(xt.translate)).multiply(xt.skew)).multiply(xt.scale)).applyToRectangle(new h(K-j*zt,et-B*_,W*_t,V*St));if(this.autoPaging){for(var Ht,kt=q.call(this,mt),Ut=[],qt=0;qt<kt.length;qt+=1)Ut.indexOf(kt[qt])===-1&&Ut.push(kt[qt]);Z(Ut);for(var ve=Ut[0],le=Ut[Ut.length-1],Zt=ve;Zt<le+1;Zt++){this.pdf.setPage(Zt);var ce=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],he=Zt===1?this.posY+this.margin[0]:this.margin[0],Et=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],ne=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],Mt=Zt===1?0:Et+(Zt-2)*ne;if(this.ctx.clip_path.length!==0){var Ue=this.path;Ht=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=$(Ht,this.posX+this.margin[3],-Mt+he+this.ctx.prevPageLastElemOffset),wt.call(this,"fill",!0),this.path=Ue}var ge=JSON.parse(JSON.stringify(mt));ge=$([ge],this.posX+this.margin[3],-Mt+he+this.ctx.prevPageLastElemOffset)[0];var se=(Zt>ve||Zt<le)&&E.call(this);se&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],ce,ne,null).clip().discardPath()),this.pdf.addImage(y,"JPEG",ge.x,ge.y,ge.w,ge.h,null,null,ae),se&&this.pdf.restoreGraphicsState()}}else this.pdf.addImage(y,"JPEG",mt.x,mt.y,mt.w,mt.h,null,null,ae)};var q=function(y,j,B){var W=[];j=j||this.pdf.internal.pageSize.width,B=B||this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2];var V=this.posY+this.ctx.prevPageLastElemOffset;switch(y.type){default:case"mt":case"lt":W.push(Math.floor((y.y+V)/B)+1);break;case"arc":W.push(Math.floor((y.y+V-y.radius)/B)+1),W.push(Math.floor((y.y+V+y.radius)/B)+1);break;case"qct":var K=ht(this.ctx.lastPoint.x,this.ctx.lastPoint.y,y.x1,y.y1,y.x,y.y);W.push(Math.floor((K.y+V)/B)+1),W.push(Math.floor((K.y+K.h+V)/B)+1);break;case"bct":var et=At(this.ctx.lastPoint.x,this.ctx.lastPoint.y,y.x1,y.y1,y.x2,y.y2,y.x,y.y);W.push(Math.floor((et.y+V)/B)+1),W.push(Math.floor((et.y+et.h+V)/B)+1);break;case"rect":W.push(Math.floor((y.y+V)/B)+1),W.push(Math.floor((y.y+y.h+V)/B)+1)}for(var nt=0;nt<W.length;nt+=1)for(;this.pdf.internal.getNumberOfPages()<W[nt];)I.call(this);return W},I=function(){var y=this.fillStyle,j=this.strokeStyle,B=this.font,W=this.lineCap,V=this.lineWidth,K=this.lineJoin;this.pdf.addPage(),this.fillStyle=y,this.strokeStyle=j,this.font=B,this.lineCap=W,this.lineWidth=V,this.lineJoin=K},$=function(y,j,B){for(var W=0;W<y.length;W++)switch(y[W].type){case"bct":y[W].x2+=j,y[W].y2+=B;case"qct":y[W].x1+=j,y[W].y1+=B;default:y[W].x+=j,y[W].y+=B}return y},Z=function(y){return y.sort(function(j,B){return j-B})},tt=function(y,j){var B=this.fillStyle,W=this.strokeStyle,V=this.lineCap,K=this.lineWidth,et=Math.abs(K*this.ctx.transform.scaleX),nt=this.lineJoin;if(this.autoPaging){for(var ct,yt,_t=JSON.parse(JSON.stringify(this.path)),St=JSON.parse(JSON.stringify(this.path)),zt=[],_=0;_<St.length;_++)if(St[_].x!==void 0)for(var xt=q.call(this,St[_]),ae=0;ae<xt.length;ae+=1)zt.indexOf(xt[ae])===-1&&zt.push(xt[ae]);for(var Wt=0;Wt<zt.length;Wt++)for(;this.pdf.internal.getNumberOfPages()<zt[Wt];)I.call(this);Z(zt);for(var mt=zt[0],Ht=zt[zt.length-1],kt=mt;kt<Ht+1;kt++){this.pdf.setPage(kt),this.fillStyle=B,this.strokeStyle=W,this.lineCap=V,this.lineWidth=et,this.lineJoin=nt;var Ut=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],qt=kt===1?this.posY+this.margin[0]:this.margin[0],ve=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],le=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],Zt=kt===1?0:ve+(kt-2)*le;if(this.ctx.clip_path.length!==0){var ce=this.path;ct=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=$(ct,this.posX+this.margin[3],-Zt+qt+this.ctx.prevPageLastElemOffset),wt.call(this,y,!0),this.path=ce}if(yt=JSON.parse(JSON.stringify(_t)),this.path=$(yt,this.posX+this.margin[3],-Zt+qt+this.ctx.prevPageLastElemOffset),j===!1||kt===0){var he=(kt>mt||kt<Ht)&&E.call(this);he&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],Ut,le,null).clip().discardPath()),wt.call(this,y,j),he&&this.pdf.restoreGraphicsState()}this.lineWidth=K}this.path=_t}else this.lineWidth=et,wt.call(this,y,j),this.lineWidth=K},wt=function(y,j){if((y!=="stroke"||j||!R.call(this))&&(y==="stroke"||j||!p.call(this))){for(var B,W,V=[],K=this.path,et=0;et<K.length;et++){var nt=K[et];switch(nt.type){case"begin":V.push({begin:!0}
vendor: 9,305 bytes, line 41
41);break;case"close":V.push({close:!0});break;case"mt":V.push({start:nt,deltas:[],abs:[]});break;case"lt":var ct=V.length;if(K[et-1]&&!isNaN(K[et-1].x)&&(B=[nt.x-K[et-1].x,nt.y-K[et-1].y],ct>0)){for(;ct>=0;ct--)if(V[ct-1].close!==!0&&V[ct-1].begin!==!0){V[ct-1].deltas.push(B),V[ct-1].abs.push(nt);break}}break;case"bct":B=[nt.x1-K[et-1].x,nt.y1-K[et-1].y,nt.x2-K[et-1].x,nt.y2-K[et-1].y,nt.x-K[et-1].x,nt.y-K[et-1].y],V[V.length-1].deltas.push(B);break;case"qct":var yt=K[et-1].x+2/3*(nt.x1-K[et-1].x),_t=K[et-1].y+2/3*(nt.y1-K[et-1].y),St=nt.x+2/3*(nt.x1-nt.x),zt=nt.y+2/3*(nt.y1-nt.y),_=nt.x,xt=nt.y;B=[yt-K[et-1].x,_t-K[et-1].y,St-K[et-1].x,zt-K[et-1].y,_-K[et-1].x,xt-K[et-1].y],V[V.length-1].deltas.push(B);break;case"arc":V.push({deltas:[],abs:[],arc:!0}),Array.isArray(V[V.length-1].abs)&&V[V.length-1].abs.push(nt)}}W=j?null:y==="stroke"?"stroke":"fill";for(var ae=!1,Wt=0;Wt<V.length;Wt++)if(V[Wt].arc)for(var mt=V[Wt].abs,Ht=0;Ht<mt.length;Ht++){var kt=mt[Ht];kt.type==="arc"?ot.call(this,kt.x,kt.y,kt.radius,kt.startAngle,kt.endAngle,kt.counterclockwise,void 0,j,!ae):D.call(this,kt.x,kt.y),ae=!0}else if(V[Wt].close===!0)this.pdf.internal.out("h"),ae=!1;else if(V[Wt].begin!==!0){var Ut=V[Wt].start.x,qt=V[Wt].start.y;U.call(this,V[Wt].deltas,Ut,qt),ae=!0}W&&Y.call(this,W),j&>.call(this)}},Lt=function(y){var j=this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor,B=j*(this.pdf.internal.getLineHeightFactor()-1);switch(this.ctx.textBaseline){case"bottom":return y-B;case"top":return y+j-B;case"hanging":return y+j-2*B;case"middle":return y+j/2-B;default:return y}},Tt=function(y){return y+this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor*(this.pdf.internal.getLineHeightFactor()-1)};x.prototype.createLinearGradient=function(){var y=function(){};return y.colorStops=[],y.addColorStop=function(j,B){this.colorStops.push([j,B])},y.getColor=function(){return this.colorStops.length===0?"#000000":this.colorStops[0][1]},y.isCanvasGradient=!0,y},x.prototype.createPattern=function(){return this.createLinearGradient()},x.prototype.createRadialGradient=function(){return this.createLinearGradient()};var ot=function(y,j,B,W,V,K,et,nt,ct){for(var yt=lt.call(this,B,W,V,K),_t=0;_t<yt.length;_t++){var St=yt[_t];_t===0&&(ct?P.call(this,St.x1+y,St.y1+j):D.call(this,St.x1+y,St.y1+j)),at.call(this,y,j,St.x2,St.y2,St.x3,St.y3,St.x4,St.y4)}nt?gt.call(this):Y.call(this,et)},Y=function(y){switch(y){case"stroke":this.pdf.internal.out("S");break;case"fill":this.pdf.internal.out("f")}},gt=function(){this.pdf.clip(),this.pdf.discardPath()},P=function(y,j){this.pdf.internal.out(n(y)+" "+a(j)+" m")},C=function(y){var j;switch(y.align){case"right":case"end":j="right";break;case"center":j="center";break;default:j="left"}var B,W,V,K=this.pdf.getTextDimensions(y.text),et=Lt.call(this,y.y),nt=Tt.call(this,et)-K.h,ct=this.ctx.transform.applyToPoint(new d(y.x,et));if(this.autoPaging){var yt=this.ctx.transform.decompose(),_t=new c;_t=(_t=(_t=_t.multiply(yt.translate)).multiply(yt.skew)).multiply(yt.scale);for(var St=this.ctx.transform.applyToRectangle(new h(y.x,et,K.w,K.h)),zt=_t.applyToRectangle(new h(y.x,nt,K.w,K.h)),_=q.call(this,zt),xt=[],ae=0;ae<_.length;ae+=1)xt.indexOf(_[ae])===-1&&xt.push(_[ae]);Z(xt);for(var Wt=xt[0],mt=xt[xt.length-1],Ht=Wt;Ht<mt+1;Ht++){this.pdf.setPage(Ht);var kt=Ht===1?this.posY+this.margin[0]:this.margin[0],Ut=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],qt=this.pdf.internal.pageSize.height-this.margin[2],ve=qt-this.margin[0],le=this.pdf.internal.pageSize.width-this.margin[1],Zt=le-this.margin[3],ce=Ht===1?0:Ut+(Ht-2)*ve;if(this.ctx.clip_path.length!==0){var he=this.path;B=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=$(B,this.posX+this.margin[3],-1*ce+kt),wt.call(this,"fill",!0),this.path=he}var Et=$([JSON.parse(JSON.stringify(zt))],this.posX+this.margin[3],-ce+kt+this.ctx.prevPageLastElemOffset)[0];y.scale>=.01&&(W=this.pdf.internal.getFontSize(),this.pdf.setFontSize(W*y.scale),V=this.lineWidth,this.lineWidth=V*y.scale);var ne=this.autoPaging!=="text";if(ne||Et.y+Et.h<=qt){if(ne||Et.y>=kt&&Et.x<=le){var Mt=ne?y.text:this.pdf.splitTextToSize(y.text,y.maxWidth||le-Et.x)[0],Ue=$([JSON.parse(JSON.stringify(St))],this.posX+this.margin[3],-ce+kt+this.ctx.prevPageLastElemOffset)[0],ge=ne&&(Ht>Wt||Ht<mt)&&E.call(this);ge&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],Zt,ve,null).clip().discardPath()),this.pdf.text(Mt,Ue.x,Ue.y,{angle:y.angle,align:j,renderingMode:y.renderingMode}),ge&&this.pdf.restoreGraphicsState()}}else Et.y<qt&&(this.ctx.prevPageLastElemOffset+=qt-Et.y);y.scale>=.01&&(this.pdf.setFontSize(W),this.lineWidth=V)}}else y.scale>=.01&&(W=this.pdf.internal.getFontSize(),this.pdf.setFontSize(W*y.scale),V=this.lineWidth,this.lineWidth=V*y.scale),this.pdf.text(y.text,ct.x+this.posX,ct.y+this.posY,{angle:y.angle,align:j,renderingMode:y.renderingMode,maxWidth:y.maxWidth}),y.scale>=.01&&(this.pdf.setFontSize(W),this.lineWidth=V)},D=function(y,j,B,W){B=B||0,W=W||0,this.pdf.internal.out(n(y+B)+" "+a(j+W)+" l")},U=function(y,j,B){return this.pdf.lines(y,j,B,null,null)},at=function(y,j,B,W,V,K,et,nt){this.pdf.internal.out([t(s(B+y)),t(o(W+j)),t(s(V+y)),t(o(K+j)),t(s(et+y)),t(o(nt+j)),"c"].join(" "))},lt=function(y,j,B,W){for(var V=2*Math.PI,K=Math.PI/2;j>B;)j-=V;var et=Math.abs(B-j);et<V&&W&&(et=V-et);for(var nt=[],ct=W?-1:1,yt=j;et>1e-5;){var _t=yt+ct*Math.min(et,K);nt.push(ft.call(this,y,yt,_t)),et-=Math.abs(_t-yt),yt=_t}return nt},ft=function(y,j,B){var W=(B-j)/2,V=y*Math.cos(W),K=y*Math.sin(W),et=V,nt=-K,ct=et*et+nt*nt,yt=ct+et*V+nt*K,_t=4/3*(Math.sqrt(2*ct*yt)-yt)/(et*K-nt*V),St=et-_t*nt,zt=nt+_t*et,_=St,xt=-zt,ae=W+j,Wt=Math.cos(ae),mt=Math.sin(ae);return{x1:y*Math.cos(j),y1:y*Math.sin(j),x2:St*Wt-zt*mt,y2:St*mt+zt*Wt,x3:_*Wt-xt*mt,y3:_*mt+xt*Wt,x4:y*Math.cos(B),y4:y*Math.sin(B)}},Q=function(y){return 180*y/Math.PI},ht=function(y,j,B,W,V,K){var et=y+.5*(B-y),nt=j+.5*(W-j),ct=V+.5*(B-V),yt=K+.5*(W-K),_t=Math.min(y,V,et,ct),St=Math.max(y,V,et,ct),zt=Math.min(j,K,nt,yt),_=Math.max(j,K,nt,yt);return new h(_t,zt,St-_t,_-zt)},At=function(y,j,B,W,V,K,et,nt){var ct,yt,_t,St,zt,_,xt,ae,Wt,mt,Ht,kt,Ut,qt,ve=B-y,le=W-j,Zt=V-B,ce=K-W,he=et-V,Et=nt-K;for(yt=0;yt<41;yt++)Wt=(xt=(_t=y+(ct=yt/40)*ve)+ct*((zt=B+ct*Zt)-_t))+ct*(zt+ct*(V+ct*he-zt)-xt),mt=(ae=(St=j+ct*le)+ct*((_=W+ct*ce)-St))+ct*(_+ct*(K+ct*Et-_)-ae),yt==0?(Ht=Wt,kt=mt,Ut=Wt,qt=mt):(Ht=Math.min(Ht,Wt),kt=Math.min(kt,mt),Ut=Math.max(Ut,Wt),qt=Math.max(qt,mt));return new h(Math.round(Ht),Math.round(kt),Math.round(Ut-Ht),Math.round(qt-kt))},bt=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var y,j,B=(y=this.ctx.lineDash,j=this.ctx.lineDashOffset,JSON.stringify({lineDash:y,lineDashOffset:j}));this.prevLineDash!==B&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=B)}}})(Rt.API),(function(r){var t=function(d){var h,c,v,A,x,O,p,R,E,q;for(c=[],v=0,A=(d+=h="\0\0\0\0".slice(d.length%4||4)).length;A>v;v+=4)(x=(d.charCodeAt(v)<<24)+(d.charCodeAt(v+1)<<16)+(d.charCodeAt(v+2)<<8)+d.charCodeAt(v+3))!==0?(O=(x=((x=((x=((x=(x-(q=x%85))/85)-(E=x%85))/85)-(R=x%85))/85)-(p=x%85))/85)%85,c.push(O+33,p+33,R+33,E+33,q+33)):c.push(122);return(function(I,$){for(var Z=$;Z>0;Z--)I.pop()})(c,h.length),String.fromCharCode.apply(String,c)+"~>"},n=function(d){var h,c,v,A,x,O=String,p="length",R=255,E="charCodeAt",q="slice",I="replace";for(d[q](-2),d=d[q](0,-2)[I](/\s/g,"")[I]("z","!!!!!"),v=[],A=0,x=(d+=h="uuuuu"[q](d[p]%5||5))[p];x>A;A+=5)c=52200625*(d[E](A)-33)+614125*(d[E](A+1)-33)+7225*(d[E](A+2)-33)+85*(d[E](A+3)-33)+(d[E](A+4)-33),v.push(R&c>>24,R&c>>16,R&c>>8,R&c);return(function($,Z){for(var tt=Z;tt>0;tt--)$.pop()})(v,h[p]),O.fromCharCode.apply(O,v)},a=function(d){return d.split("").map(function(h){return("0"+h.charCodeAt().toString(16)).slice(-2)}).join("")+">"},s=function(d){var h=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((d=d.replace(/\s/g,"")).indexOf(">")!==-1&&(d=d.substr(0,d.indexOf(">"))),d.length%2&&(d+="0"),h.test(d)===!1)return"";for(var c="",v=0;v<d.length;v+=2)c+=String.fromCharCode("0x"+(d[v]+d[v+1]));return c},o=function(d){for(var h=new Uint8Array(d.length),c=d.length;c--;)h[c]=d.charCodeAt(c);return(h=to(h)).reduce(function(v,A){return v+String.fromCharCode(A)},"")};r.processDataByFilters=function(d,h){var c=0,v=d||"",A=[];for(typeof(h=h||[])=="string"&&(h=[h]),c=0;c<h.length;c+=1)switch(h[c]){case"ASCII85Decode":case"/ASCII85Decode":v=n(v),A.push("/ASCII85Encode");break;case"ASCII85Encode":case"/ASCII85Encode":v=t(v),A.push("/ASCII85Decode");break;case"ASCIIHexDecode":case"/ASCIIHexDecode":v=s(v),A.push("/ASCIIHexEncode");break;case"ASCIIHexEncode":case"/ASCIIHexEncode":v=a(v),A.push("/ASCIIHexDecode");break;case"FlateEncode":case"/FlateEncode":v=o(v),A.push("/FlateDecode");break;default:throw new Error('The filter: "'+h[c]+'" is not implemented')}return{data:v,reverseChain:A.reverse().join(" ")}}})(Rt.API),(function(r){r.loadFile=function(t,n,a){return(function(s,o,d){o=o!==!1,d=typeof d=="function"?d:function(){};var h=void 0;try{h=(function(c,v,A){var x=new XMLHttpRequest,O=0,p=function(R){var E=R.length,q=[],I=String.fromCharCode;for(O=0;O<E;O+=1)q.push(I(255&R.charCodeAt(O)));return q.join("")};if(x.open("GET",c,!v),x.overrideMimeType("text/plain;
41 charset=x-user-defined"),v===!1&&(x.onload=function(){x.status===200?A(p(this.responseText)):A(void 0)}),x.send(null),v&&x.status===200)return p(x.responseText)})(s,o,d)}catch{}return h})(t,n,a)},r.allowFsRead=void 0,r.loadImageFile=r.loadFile})(Rt.API),(function(r){function t(){return(Xt.html2canvas?Promise.resolve(Xt.html2canvas):Us(()=>import("./pdf-html2canvas-46vo68lg.js").then(h=>h.h),[])).catch(function(h){return Promise.reject(new Error("Could not load html2canvas: "+h))}).then(function(h){return h.default?h.default:h})}function n(){return(Xt.DOMPurify?Promise.resolve(Xt.DOMPurify):Us(()=>import("./sanitize-vendor-4eNOHKSq.js"),[])).catch(function(h){return Promise.reject(new Error("Could not load dompurify: "+h))}).then(function(h){return h.default?h.default:h})}var a=function(h){var c=Se(h);return c==="undefined"?"undefined":c==="string"||h instanceof String?"string":c==="number"||h instanceof Number?"number":c==="function"||h instanceof Function?"function":h&&h.constructor===Array?"array":h&&h.nodeType===1?"element":c==="object"?"object":"unknown"},s=function(h,c){var v=document.createElement(h);for(var A in c.className&&(v.className=c.className),c.innerHTML&&c.dompurify&&(v.innerHTML=c.dompurify.sanitize(c.innerHTML)),c.style)v.style[A]=c.style[A];return v},o=function h(c,v){for(var A=c.nodeType===3?document.createTextNode(c.nodeValue):c.cloneNode(!1),x=c.firstChild;x;x=x.nextSibling)v!==!0&&x.nodeType===1&&x.nodeName==="SCRIPT"||A.appendChild(h(x,v));return c.nodeType===1&&(c.nodeName==="CANVAS"?(A.width=c.width,A.height=c.height,A.getContext("2d").drawImage(c,0,0)):c.nodeName!=="TEXTAREA"&&c.nodeName!=="SELECT"||(A.value=c.value),A.addEventListener("load",function(){A.scrollTop=c.scrollTop,A.scrollLeft=c.scrollLeft},!0)),A},d=function h(c){var v=Object.assign(h.convert(Promise.resolve()),JSON.parse(JSON.stringify(h.template))),A=h.convert(Promise.resolve(),v);return(A=A.setProgress(1,h,1,[h])).set(c)};(d.prototype=Object.create(Promise.prototype)).constructor=d,d.convert=function(h,c){return h.__proto__=c||d.prototype,h},d.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"}},d.prototype.from=function(h,c){return this.then(function(){switch(c=c||(function(v){switch(a(v)){case"string":return"string";case"element":return v.nodeName.toLowerCase()==="canvas"?"canvas":"element";default:return"unknown"}})(h),c){case"string":return this.then(n).then(function(v){return this.set({src:s("div",{innerHTML:h,dompurify:v})})});case"element":return this.set({src:h});case"canvas":return this.set({canvas:h});case"img":return this.set({img:h});default:return this.error("Unknown source type.")}})},d.prototype.to=function(h){switch(h){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.")}},d.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 h={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},c=o(this.prop.src,this.opt.html2canvas.javascriptEnabled);c.tagName==="BODY"&&(h.height=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight)+"px"),this.prop.overlay=s("div",{className:"html2pdf__overlay",style:{position:"fixed",overflow:"hidden",zIndex:1e3,left:"-100000px",right:0,bottom:0,top:0}}),this.prop.container=s("div",{className:"html2pdf__container",style:h}),this.prop.container.appendChild(c),this.prop.container.firstChild.appendChild(s("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"})},d.prototype.toCanvas=function(){var h=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(h).then(t).then(function(c){var v=Object.assign({},this.opt.html2canvas);return delete v.onrendered,c(this.prop.container,v)}).then(function(c){(this.opt.html2canvas.onrendered||function(){})(c),this.prop.canvas=c,document.body.removeChild(this.prop.overlay)})},d.prototype.toContext2d=function(){var h=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(h).then(t).then(function(c){var v=this.opt.jsPDF,A=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,O=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 O.onrendered,v.context2d.autoPaging=this.opt.autoPaging===void 0||this.opt.autoPaging,v.context2d.posX=this.opt.x,v.context2d.posY=this.opt.y,v.context2d.margin=this.opt.margin,v.context2d.fontFaces=A,A)for(var p=0;p<A.length;++p){var R=A[p],E=R.src.find(function(q){return q.format==="truetype"});E&&v.addFont(E.url,R.ref.name,R.ref.style)}
vendor: 10,728 bytes, lines 41-47
41return O.windowHeight=O.windowHeight||0,O.windowHeight=O.windowHeight==0?Math.max(this.prop.container.clientHeight,this.prop.container.scrollHeight,this.prop.container.offsetHeight):O.windowHeight,v.context2d.save(!0),c(this.prop.container,O)}).then(function(c){this.opt.jsPDF.context2d.restore(!0),(this.opt.html2canvas.onrendered||function(){})(c),this.prop.canvas=c,document.body.removeChild(this.prop.overlay)})},d.prototype.toImg=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()}]).then(function(){var h=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=h})},d.prototype.toPdf=function(){return this.thenList([function(){return this.toContext2d()}]).then(function(){this.prop.pdf=this.prop.pdf||this.opt.jsPDF})},d.prototype.output=function(h,c,v){return(v=v||"pdf").toLowerCase()==="img"||v.toLowerCase()==="image"?this.outputImg(h,c):this.outputPdf(h,c)},d.prototype.outputPdf=function(h,c){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){return this.prop.pdf.output(h,c)})},d.prototype.outputImg=function(h){return this.thenList([function(){return this.prop.img||this.toImg()}]).then(function(){switch(h){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 "'+h+'" is not supported.'}})},d.prototype.save=function(h){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).set(h?{filename:h}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},d.prototype.doCallback=function(){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){this.prop.callback(this.prop.pdf)})},d.prototype.set=function(h){if(a(h)!=="object")return this;var c=Object.keys(h||{}).map(function(v){if(v in d.template.prop)return function(){this.prop[v]=h[v]};switch(v){case"margin":return this.setMargin.bind(this,h.margin);case"jsPDF":return function(){return this.opt.jsPDF=h.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,h.pageSize);default:return function(){this.opt[v]=h[v]}}},this);return this.then(function(){return this.thenList(c)})},d.prototype.get=function(h,c){return this.then(function(){var v=h in d.template.prop?this.prop[h]:this.opt[h];return c?c(v):v})},d.prototype.setMargin=function(h){return this.then(function(){switch(a(h)){case"number":h=[h,h,h,h];case"array":if(h.length===2&&(h=[h[0],h[1],h[0],h[1]]),h.length===4)break;default:return this.error("Invalid margin array.")}this.opt.margin=h}).then(this.setPageSize)},d.prototype.setPageSize=function(h){function c(v,A){return Math.floor(v*A/72*96)}return this.then(function(){(h=h||Rt.getPageSize(this.opt.jsPDF)).hasOwnProperty("inner")||(h.inner={width:h.width-this.opt.margin[1]-this.opt.margin[3],height:h.height-this.opt.margin[0]-this.opt.margin[2]},h.inner.px={width:c(h.inner.width,h.k),height:c(h.inner.height,h.k)},h.inner.ratio=h.inner.height/h.inner.width),this.prop.pageSize=h})},d.prototype.setProgress=function(h,c,v,A){return h!=null&&(this.progress.val=h),c!=null&&(this.progress.state=c),v!=null&&(this.progress.n=v),A!=null&&(this.progress.stack=A),this.progress.ratio=this.progress.val/this.progress.state,this},d.prototype.updateProgress=function(h,c,v,A){return this.setProgress(h?this.progress.val+h:null,c||null,v?this.progress.n+v:null,A?this.progress.stack.concat(A):null)},d.prototype.then=function(h,c){var v=this;return this.thenCore(h,c,function(A,x){return v.updateProgress(null,null,1,[A]),Promise.prototype.then.call(this,function(O){return v.updateProgress(null,A),O}).then(A,x).then(function(O){return v.updateProgress(1),O})})},d.prototype.thenCore=function(h,c,v){v=v||Promise.prototype.then;var A=this;h&&(h=h.bind(A)),c&&(c=c.bind(A));var x=Promise.toString().indexOf("[native code]")!==-1&&Promise.name==="Promise"?A:d.convert(Object.assign({},A),Promise.prototype),O=v.call(x,h,c);return d.convert(O,A.__proto__)},d.prototype.thenExternal=function(h,c){return Promise.prototype.then.call(this,h,c)},d.prototype.thenList=function(h){var c=this;return h.forEach(function(v){c=c.thenCore(v)}),c},d.prototype.catch=function(h){h&&(h=h.bind(this));var c=Promise.prototype.catch.call(this,h);return d.convert(c,this)},d.prototype.catchExternal=function(h){return Promise.prototype.catch.call(this,h)},d.prototype.error=function(h){return this.then(function(){throw new Error(h)})},d.prototype.using=d.prototype.set,d.prototype.saveAs=d.prototype.save,d.prototype.export=d.prototype.output,d.prototype.run=d.prototype.then,Rt.getPageSize=function(h,c,v){if(Se(h)==="object"){var A=h;h=A.orientation,c=A.unit||c,v=A.format||v}c=c||"mm",v=v||"a4",h=(""+(h||"P")).toLowerCase();var x,O=(""+v).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(c){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: "+c}var R,E=0,q=0;if(p.hasOwnProperty(O))E=p[O][1]/x,q=p[O][0]/x;else try{E=v[1],q=v[0]}catch{throw new Error("Invalid format: "+v)}if(h==="p"||h==="portrait")h="p",q>E&&(R=q,q=E,E=R);else{if(h!=="l"&&h!=="landscape")throw"Invalid orientation: "+h;h="l",E>q&&(R=q,q=E,E=R)}return{width:q,height:E,unit:c,k:x,orientation:h}},r.html=function(h,c){(c=c||{}).callback=c.callback||function(){},c.html2canvas=c.html2canvas||{},c.html2canvas.canvas=c.html2canvas.canvas||this.canvas,c.jsPDF=c.jsPDF||this,c.fontFaces=c.fontFaces?c.fontFaces.map(Ks):null;var v=new d(c);return c.worker?v:v.from(h).doCallback()}})(Rt.API),Rt.API.addJS=function(r){var t,n,a=(function(s){for(var o="",d=0;d<s.length;d++){var h=s[d];if(h==="("||h===")"){for(var c=0,v=d-1;v>=0&&s[v]==="\\";v--)c++;o+=c%2==0?"\\"+h:h}else o+=h}return o})(r);return this.internal.events.subscribe("postPutResources",function(){t=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(t+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),n=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+a+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){t!==void 0&&n!==void 0&&this.internal.out("/Names <</JavaScript "+t+" 0 R>>")}),this},(function(r){var t;r.events.push(["postPutResources",function(){var n=this,a=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var s=n.outline.render().split(/\r\n/),o=0;o<s.length;o++){var d=s[o],h=a.exec(d);if(h!=null){var c=h[1];n.internal.newObjectDeferredBegin(c,!1)}n.internal.write(d)}if(this.outline.createNamedDestinations){var v=this.internal.pages.length,A=[];for(o=0;o<v;o++){var x=n.internal.newObject();A.push(x);var O=n.internal.getPageInfo(o+1);n.internal.write("<< /D["+O.objId+" 0 R /XYZ null null null]>> endobj")}var p=n.internal.newObject();for(n.internal.write("<< /Names [ "),o=0;o<A.length;o++)n.internal.write("(page_"+(o+1)+")"+A[o]+" 0 R");n.internal.write(" ] >>","endobj"),t=n.internal.newObject(),n.internal.write("<< /Dests "+p+" 0 R"),n.internal.write(">>","endobj")}}]),r.events.push(["putCatalog",function(){var n=this;n.outline.root.children.length>0&&(n.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&n.internal.write("/Names "+t+" 0 R"))}]),r.events.push(["initialized",function(){var n=this;n.outline={createNamedDestinations:!1,root:{children:[]}},n.outline.add=function(a,s,o){var d={title:s,options:o,children:[]};return a==null&&(a=this.root),a.children.push(d),d},n.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=n,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},n.outline.genIds_r=function(a){a.id=n.internal.newObjectDeferred();for(var s=0;s<a.children.length;s++)this.genIds_r(a.children[s])},n.outline.renderRoot=function(a){this.objStart(a),this.line("/Type /Outlines"),a.children.length>0&&(this.line("/First "+this.makeRef(a.children[0])),this.line("/Last "+this.makeRef(a.children[a.children.length-1]))),this.line("/Count "+this.count_r({count:0},a)),this.objEnd()},n.outline.renderItems=function(a){for(var s=this.ctx.pdf.internal.getVerticalCoordinateString,o=0;o<a.children.length;o++){var d=a.children[o];this.objStart(d),this.line("/Title "+this.makeString(d.title)),this.line("/Parent "+this.makeRef(a)),o>0&&this.line("/Prev "+this.makeRef(a.children[o-1])),o<a.children.length-1&&this.line("/Next "+this.makeRef(a.children[o+1])),d.children.length>0&&(this.line("/First "+this.makeRef(d.children[0])),this.line("/Last "+this.makeRef(d.children[d.children.length-1])));var h=this.count=this.count_r({count:0},d);if(h>0&&this.line("/Count "+h),d.options&&d.options.pageNumber){var c=n.internal.getPageInfo(d.options.pageNumber);this.line("/Dest ["+c.objId+" 0 R /XYZ 0 "+s(0)+" 0]")}this.objEnd()}for(var v=0;v<a.children.length;v++)this.renderItems(a.children[v])},n.outline.line=function(a){this.ctx.val+=a+`\r 42`},n.outline.makeRef=function(a){return a.id+" 0 R"},n.outline.makeString=function(a){return"("+n.internal.pdfEscape(a)+")"},n.outline.objStart=function(a){this.ctx.val+=`\r 43`+a.id+` 0 obj\r 44<<\r 45`},n.outline.objEnd=function(){this.ctx.val+=`>> \r 46endobj\r 47`},n.outline.count_r=function(a,s){for(var o=0;o<s.children.length;o++)a.count++,this.count_r(a,s.children[o]);return a.count}}])})(Rt.API),(function(r){var t=[192,193,194,195,196,197,198,199];r.processJPEG=function(n,a,s,o,d,h){var c,v=this.decode.DCT_DECODE,A=null;if(typeof n=="string"||this.__addimage__.isArrayBuffer(n)||this.__addimage__.isArrayBufferView(n)){switch(n=d||n,n=this.__addimage__.isArrayBuffer(n)?new Uint8Array(n):n,c=(function(x){for(var O,p=256*x.charCo
47deAt(4)+x.charCodeAt(5),R=x.length,E={width:0,height:0,numcomponents:1},q=4;q<R;q+=2){if(q+=p,t.indexOf(x.charCodeAt(q+1))!==-1){O=256*x.charCodeAt(q+5)+x.charCodeAt(q+6),E={width:256*x.charCodeAt(q+7)+x.charCodeAt(q+8),height:O,numcomponents:x.charCodeAt(q+9)};break}p=256*x.charCodeAt(q+2)+x.charCodeAt(q+3)}return E})(n=this.__addimage__.isArrayBufferView(n)?this.__addimage__.arrayBufferToBinaryString(n):n),c.numcomponents){case 1:h=this.color_spaces.DEVICE_GRAY;break;case 4:h=this.color_spaces.DEVICE_CMYK;break;case 3:h=this.color_spaces.DEVICE_RGB}A={data:n,width:c.width,height:c.height,colorSpace:h,bitsPerComponent:8,filter:v,index:a,alias:s}}return A}})(Rt.API),Rt.API.processPNG=function(r,t,n,a){if(this.__addimage__.isArrayBuffer(r)&&(r=new Uint8Array(r)),this.__addimage__.isArrayBufferView(r)){var s,o=eh(r,{checkCrc:!0}),d=o.width,h=o.height,c=o.channels,v=o.palette,A=o.depth;s=v&&c===1?(function(ot){for(var Y=ot.width,gt=ot.height,P=ot.data,C=ot.palette,D=ot.depth,U=!1,at=[],lt=[],ft=void 0,Q=!1,ht=0,At=0;At<C.length;At++){var bt=Ho(C[At],4),y=bt[0],j=bt[1],B=bt[2],W=bt[3];at.push(y,j,B),W!=null&&(W===0?(ht++,lt.length<1&<.push(At)):W<255&&(Q=!0))}if(Q||ht>1){U=!0,lt=void 0;var V=Y*gt;ft=new Uint8Array(V);for(var K=new DataView(P.buffer),et=0;et<V;et++){var nt=Zs(K,et,D),ct=Ho(C[nt],4)[3];ft[et]=ct}}else ht===0&&(lt=void 0);return{colorSpace:"Indexed",colorsPerPixel:1,sMaskBitsPerComponent:U?8:void 0,colorBytes:P,alphaBytes:ft,needSMask:U,palette:at,mask:lt}})(o):c===2||c===4?(function(ot){for(var Y=ot.data,gt=ot.width,P=ot.height,C=ot.channels,D=ot.depth,U=C===2?"DeviceGray":"DeviceRGB",at=C-1,lt=gt*P,ft=at,Q=lt*ft,ht=1*lt,At=Math.ceil(Q*D/8),bt=Math.ceil(ht*D/8),y=new Uint8Array(At),j=new Uint8Array(bt),B=new DataView(Y.buffer),W=new DataView(y.buffer),V=new DataView(j.buffer),K=!1,et=0;et<lt;et++){for(var nt=et*C,ct=0;ct<ft;ct++)mu(W,Zs(B,nt+ct,D),et*ft+ct,D);var yt=Zs(B,nt+ft,D);yt<(1<<D)-1&&(K=!0),mu(V,yt,1*et,D)}return{colorSpace:U,colorsPerPixel:at,sMaskBitsPerComponent:K?D:void 0,colorBytes:y,alphaBytes:j,needSMask:K}})(o):(function(ot){var Y=ot.data,gt=ot.channels===1?"DeviceGray":"DeviceRGB";return{colorSpace:gt,colorsPerPixel:gt==="DeviceGray"?1:3,colorBytes:Y instanceof Uint16Array?(function(P){for(var C=P.length,D=new Uint8Array(2*C),U=new DataView(D.buffer,D.byteOffset,D.byteLength),at=0;at<C;at++)U.setUint16(2*at,P[at],!1);return D})(Y):Y,needSMask:!1}})(o);var x,O,p,R=s,E=R.colorSpace,q=R.colorsPerPixel,I=R.sMaskBitsPerComponent,$=R.colorBytes,Z=R.alphaBytes,tt=R.needSMask,wt=R.palette,Lt=R.mask,Tt=null;return a!==Rt.API.image_compression.NONE&&typeof to=="function"?(Tt=(function(ot){var Y;switch(ot){case Rt.API.image_compression.FAST:Y=11;break;case Rt.API.image_compression.MEDIUM:Y=13;break;case Rt.API.image_compression.SLOW:Y=14;break;default:Y=12}return Y})(a),x=this.decode.FLATE_DECODE,O="/Predictor ".concat(Tt," /Colors ").concat(q," /BitsPerComponent ").concat(A," /Columns ").concat(d),r=cu($,Math.ceil(d*q*A/8),q,A,a),tt&&(p=cu(Z,Math.ceil(d*I/8),1,I,a))):(x=void 0,O=void 0,r=$,tt&&(p=Z)),(this.__addimage__.isArrayBuffer(r)||this.__addimage__.isArrayBufferView(r))&&(r=this.__addimage__.arrayBufferToBinaryString(r)),(p&&this.__addimage__.isArrayBuffer(p)||this.__addimage__.isArrayBufferView(p))&&(p=this.__addimage__.arrayBufferToBinaryString(p)),{alias:n,data:r,index:t,filter:x,decodeParameters:O,transparency:Lt,palette:wt,sMask:p,predictor:Tt,width:d,height:h,bitsPerComponent:A,sMaskBitsPerComponent:I,colorSpace:E}}},(function(r){r.processGIF89A=function(t,n,a,s){var o=new Nh(t),d=o.width,h=o.height,c=[];o.decodeAndBlitFrameRGBA(0,c);var v={data:c,width:d,height:h},A=new Qs(100).encode(v,100);return r.processJPEG.call(this,A,n,a,s)},r.processGIF87A=r.processGIF89A})(Rt.API),Xn.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 r=this.colors===0?1<<this.bitPP:this.colors;this.palette=new Array(r);for(var t=0;t<r;t++){var n=this.datav.getUint8(this.pos++,!0),a=this.datav.getUint8(this.pos++,!0),s=this.datav.getUint8(this.pos++,!0),o=this.datav.getUint8(this.pos++,!0);this.palette[t]={red:s,green:a,blue:n,quad:o}}}this.height<0&&(this.height*=-1,this.bottom_up=!1)},Xn.prototype.parseBGR=function(){this.pos=this.offset;var r="bit"+this.bitPP,t=this.width*this.height*4;if(t>536870912)throw new Error("Image dimensions exceed 512MB, which is too large.");this.data=new Uint8Array(t);try{this[r]()}catch(n){_e.log("bit decode error:"+n)}},Xn.prototype.bit1=function(){var r,t=Math.ceil(this.width/8),n=t%4;
vendor: 4,884 bytes, line 47
47for(r=this.height-1;r>=0;r--){for(var a=this.bottom_up?r:this.height-1-r,s=0;s<t;s++)for(var o=this.datav.getUint8(this.pos++,!0),d=a*this.width*4+8*s*4,h=0;h<8&&8*s+h<this.width;h++){var c=this.palette[o>>7-h&1];this.data[d+4*h]=c.blue,this.data[d+4*h+1]=c.green,this.data[d+4*h+2]=c.red,this.data[d+4*h+3]=255}n!==0&&(this.pos+=4-n)}},Xn.prototype.bit4=function(){for(var r=Math.ceil(this.width/2),t=r%4,n=this.height-1;n>=0;n--){for(var a=this.bottom_up?n:this.height-1-n,s=0;s<r;s++){var o=this.datav.getUint8(this.pos++,!0),d=a*this.width*4+2*s*4,h=o>>4,c=15&o,v=this.palette[h];if(this.data[d]=v.blue,this.data[d+1]=v.green,this.data[d+2]=v.red,this.data[d+3]=255,2*s+1>=this.width)break;v=this.palette[c],this.data[d+4]=v.blue,this.data[d+4+1]=v.green,this.data[d+4+2]=v.red,this.data[d+4+3]=255}t!==0&&(this.pos+=4-t)}},Xn.prototype.bit8=function(){for(var r=this.width%4,t=this.height-1;t>=0;t--){for(var n=this.bottom_up?t:this.height-1-t,a=0;a<this.width;a++){var s=this.datav.getUint8(this.pos++,!0),o=n*this.width*4+4*a;if(s<this.palette.length){var d=this.palette[s];this.data[o]=d.red,this.data[o+1]=d.green,this.data[o+2]=d.blue,this.data[o+3]=255}else this.data[o]=255,this.data[o+1]=255,this.data[o+2]=255,this.data[o+3]=255}r!==0&&(this.pos+=4-r)}},Xn.prototype.bit15=function(){for(var r=this.width%3,t=parseInt("11111",2),n=this.height-1;n>=0;n--){for(var a=this.bottom_up?n:this.height-1-n,s=0;s<this.width;s++){var o=this.datav.getUint16(this.pos,!0);this.pos+=2;var d=(o&t)/t*255|0,h=(o>>5&t)/t*255|0,c=(o>>10&t)/t*255|0,v=o>>15?255:0,A=a*this.width*4+4*s;this.data[A]=c,this.data[A+1]=h,this.data[A+2]=d,this.data[A+3]=v}this.pos+=r}},Xn.prototype.bit16=function(){for(var r=this.width%3,t=parseInt("11111",2),n=parseInt("111111",2),a=this.height-1;a>=0;a--){for(var s=this.bottom_up?a:this.height-1-a,o=0;o<this.width;o++){var d=this.datav.getUint16(this.pos,!0);this.pos+=2;var h=(d&t)/t*255|0,c=(d>>5&n)/n*255|0,v=(d>>11)/t*255|0,A=s*this.width*4+4*o;this.data[A]=v,this.data[A+1]=c,this.data[A+2]=h,this.data[A+3]=255}this.pos+=r}},Xn.prototype.bit24=function(){for(var r=this.height-1;r>=0;r--){for(var t=this.bottom_up?r:this.height-1-r,n=0;n<this.width;n++){var a=this.datav.getUint8(this.pos++,!0),s=this.datav.getUint8(this.pos++,!0),o=this.datav.getUint8(this.pos++,!0),d=t*this.width*4+4*n;this.data[d]=o,this.data[d+1]=s,this.data[d+2]=a,this.data[d+3]=255}this.pos+=this.width%4}},Xn.prototype.bit32=function(){for(var r=this.height-1;r>=0;r--)for(var t=this.bottom_up?r:this.height-1-r,n=0;n<this.width;n++){var a=this.datav.getUint8(this.pos++,!0),s=this.datav.getUint8(this.pos++,!0),o=this.datav.getUint8(this.pos++,!0),d=this.datav.getUint8(this.pos++,!0),h=t*this.width*4+4*n;this.data[h]=o,this.data[h+1]=s,this.data[h+2]=a,this.data[h+3]=d}},Xn.prototype.getData=function(){return this.data},(function(r){r.processBMP=function(t,n,a,s){var o=new Xn(t,!1),d=o.width,h=o.height,c={data:o.getData(),width:d,height:h},v=new Qs(100).encode(c,100);return r.processJPEG.call(this,v,n,a,s)}})(Rt.API),bu.prototype.getData=function(){return this.data},(function(r){r.processWEBP=function(t,n,a,s){var o=new bu(t),d=o.width,h=o.height,c={data:o.getData(),width:d,height:h},v=new Qs(100).encode(c,100);return r.processJPEG.call(this,v,n,a,s)}})(Rt.API),Rt.API.processRGBA=function(r,t,n){for(var a=r.data,s=a.length,o=new Uint8Array(s/4*3),d=new Uint8Array(s/4),h=0,c=0,v=0;v<s;v+=4){var A=a[v],x=a[v+1],O=a[v+2],p=a[v+3];o[h++]=A,o[h++]=x,o[h++]=O,d[c++]=p}var R=this.__addimage__.arrayBufferToBinaryString(o);return{alpha:this.__addimage__.arrayBufferToBinaryString(d),data:R,index:t,alias:n,colorSpace:"DeviceRGB",bitsPerComponent:8,width:r.width,height:r.height}},Rt.API.setLanguage=function(r){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 (Canad
47a)","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"}[r]!==void 0&&(this.internal.languageSettings.languageCode=r,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},Mi=Rt.API,Ka=Mi.getCharWidthsArray=function(r,t){var n,a,s=(t=t||{}).font||this.internal.getFont(),o=t.fontSize||this.internal.getFontSize(),d=t.charSpace||this.internal.getCharSpace(),h=t.widths?t.widths:s.metadata.Unicode.widths,c=h.fof?h.fof:1,v=t.kerning?t.kerning:s.metadata.Unicode.kerning,A=v.fof?v.fof:1,x=t.doKerning!==!1,O=0,p=r.length,R=0,E=h[0]||c,q=[];for(n=0;n<p;n++)a=r.charCodeAt(n),typeof s.metadata.widthOfString=="function"?q.push((s.metadata.widthOfGlyph(s.metadata.characterToGlyph(a))+d*(1e3/o)||0)/1e3):(O=x&&Se(v[a])==="object"&&!isNaN(parseInt(v[a][R],10))?v[a][R]/A:0,q.push((h[a]||E)/c+O)),R=a;return q},uu=Mi.getStringUnitWidth=function(r,t){var n=(t=t||{}).fontSize||this.internal.getFontSize(),a=t.font||this.internal.getFont(),s=t.charSpace||this.internal.getCharSpace();return Mi.processArabic&&(r=Mi.processArabic(r)),typeof a.metadata.widthOfString=="function"?a.metadata.widthOfString(r,n,s)/n:Ka.apply(this,arguments).reduce(function(o,d){return o+d},0)},lu=function(r,t,n,a){for(var s=[],o=0,d=r.length,h=0;
vendor: 3,356 bytes, lines 47-49
47o!==d&&h+t[o]<n;)h+=t[o],o++;s.push(r.slice(0,o));var c=o;for(h=0;o!==d;)h+t[o]>a&&(s.push(r.slice(c,o)),h=0,c=o),h+=t[o],o++;return c!==o&&s.push(r.slice(c,o)),s},hu=function(r,t,n){n||(n={});var a,s,o,d,h,c,v,A=[],x=[A],O=n.textIndent||0,p=0,R=0,E=r.split(" "),q=Ka.apply(this,[" ",n])[0];if(c=n.lineIndent===-1?E[0].length+2:n.lineIndent||0){var I=Array(c).join(" "),$=[];E.map(function(tt){(tt=tt.split(/\s*\n/)).length>1?$=$.concat(tt.map(function(wt,Lt){return(Lt&&wt.length?` 48`:"")+wt})):$.push(tt[0])}),E=$,c=uu.apply(this,[I,n])}for(o=0,d=E.length;o<d;o++){var Z=0;if(a=E[o],c&&a[0]==` 49`&&(a=a.substr(1),Z=1),O+p+(R=(s=Ka.apply(this,[a,n])).reduce(function(tt,wt){return tt+wt},0))>t||Z){if(R>t){for(h=lu.apply(this,[a,s,t-(O+p),t]),A.push(h.shift()),A=[h.pop()];h.length;)x.push([h.shift()]);R=s.slice(a.length-(A[0]?A[0].length:0)).reduce(function(tt,wt){return tt+wt},0)}else A=[a];x.push(A),O=R+c,p=q}else A.push(a),O+=p+R,p=q}return v=c?function(tt,wt){return(wt?I:"")+tt.join(" ")}:function(tt){return tt.join(" ")},x.map(v)},Mi.splitTextToSize=function(r,t,n){var a,s=(n=n||{}).fontSize||this.internal.getFontSize(),o=function(A){if(A.widths&&A.kerning)return{widths:A.widths,kerning:A.kerning};var x=this.internal.getFont(A.fontName,A.fontStyle),O="Unicode";return x.metadata[O]?{widths:x.metadata[O].widths||{0:1},kerning:x.metadata[O].kerning||{}}:{font:x.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}.call(this,n);a=Array.isArray(r)?r:String(r).split(/\r?\n/);var d=1*this.internal.scaleFactor*t/s;o.textIndent=n.textIndent?1*n.textIndent*this.internal.scaleFactor/s:0,o.lineIndent=n.lineIndent;var h,c,v=[];for(h=0,c=a.length;h<c;h++)v=v.concat(hu.apply(this,[a[h],d,o]));return v},(function(r){r.__fontmetrics__=r.__fontmetrics__||{};for(var t="0123456789abcdef",n="klmnopqrstuvwxyz",a={},s={},o=0;o<16;o++)a[n[o]]=t[o],s[t[o]]=n[o];var d=function(O){return"0x"+parseInt(O,10).toString(16)},h=r.__fontmetrics__.compress=function(O){var p,R,E,q,I=["{"];for(var $ in O){if(p=O[$],isNaN(parseInt($,10))?R="'"+$+"'":($=parseInt($,10),R=(R=d($).slice(2)).slice(0,-1)+s[R.slice(-1)]),typeof p=="number")p<0?(E=d(p).slice(3),q="-"):(E=d(p).slice(2),q=""),E=q+E.slice(0,-1)+s[E.slice(-1)];else{if(Se(p)!=="object")throw new Error("Don't know what to do with value type "+Se(p)+".");E=h(p)}I.push(R+E)}return I.push("}"),I.join("")},c=r.__fontmetrics__.uncompress=function(O){if(typeof O!="string")throw new Error("Invalid argument passed to uncompress.");for(var p,R,E,q,I={},$=1,Z=I,tt=[],wt="",Lt="",Tt=O.length-1,ot=1;ot<Tt;ot+=1)(q=O[ot])=="'"?p?(E=p.join(""),p=void 0):p=[]:p?p.push(q):q=="{"?(tt.push([Z,E]),Z={},E=void 0):q=="}"?((R=tt.pop())[0][R[1]]=Z,E=void 0,Z=R[0]):q=="-"?$=-1:E===void 0?a.hasOwnProperty(q)?(wt+=a[q],E=parseInt(wt,16)*$,$=1,wt=""):wt+=q:a.hasOwnProperty(q)?(Lt+=a[q],Z[E]=parseInt(Lt,16)*$,$=1,E=void 0,Lt=""):Lt+=q;return I},v={codePages:["WinAnsiEncoding"],WinAnsiEncoding:c("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},A={Unicode:{Courier:v,"Courier-Bold":v,"Courier-BoldOblique":v,"Courier-Oblique":v,Helvetica:v,"Helvetica-Bold":v,"Helvetica-BoldOblique":v,"Helvetica-Oblique":v,"Times-Roman":v,"Times-Bold":v,"Times-BoldItalic":v,"Times-Italic":v}},x
vendor: 14,693 bytes, line 49
49={Unicode:{"Courier-Oblique":c("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":c("{'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":c("{'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:c("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-BoldOblique":c("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Bold":c("{'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:c("{'widths'{k3uaw4r19m3m2k1t2l2l202m2y2n3m2p5n202q6o3k3m2s2l2t2l2v3r2w1t3m3m2y1t2z1wbk2sbl3r'fof'6o3n3m3o3m3p3m3q3m3r3m3s3m3t3m3u1w3v1w3w3r3x3r3y3r3z2wbp3t3l3m5v2l5x2l5z3m2q4yfr3r7v3k7w1o7x3k}'kerning'{'fof'-6o}}"),Helvetica:c("{'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":c("{'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:c("{'widths'{k4u2k1w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-Bold":c("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Italic":c("{'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":c("{'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":c("{'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: 41,037 bytes, lines 49-77
49r.events.push(["addFont",function(O){var p=O.font,R=x.Unicode[p.postScriptName];R&&(p.metadata.Unicode={},p.metadata.Unicode.widths=R.widths,p.metadata.Unicode.kerning=R.kerning);var E=A.Unicode[p.postScriptName];E&&(p.metadata.Unicode.encoding=E,p.encoding=E.codePages[0])}])})(Rt.API),(function(r){var t=function(n){for(var a=n.length,s=new Uint8Array(a),o=0;o<a;o++)s[o]=n.charCodeAt(o);return s};r.API.events.push(["addFont",function(n){var a=void 0,s=n.font,o=n.instance;if(!s.isStandardFont){if(o===void 0)throw new Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+s.postScriptName+"').");if(typeof(a=o.existsFileInVFS(s.postScriptName)===!1?o.loadFile(s.postScriptName):o.getFileFromVFS(s.postScriptName))!="string")throw new Error("Font is not stored as string-data in vFS, import fonts or remove declaration doc.addFont('"+s.postScriptName+"').");(function(d,h){h=/^\x00\x01\x00\x00/.test(h)?t(h):t(Za(h)),d.metadata=r.API.TTFFont.open(h),d.metadata.Unicode=d.metadata.Unicode||{encoding:{},kerning:{},widths:[]},d.metadata.glyIdsUsed=[0]})(s,a)}}])})(Rt),Rt.API.addSvgAsImage=function(r,t,n,a,s,o,d,h){if(isNaN(t)||isNaN(n))throw _e.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(a)||isNaN(s))throw _e.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var c=document.createElement("canvas");c.width=a,c.height=s;var v=c.getContext("2d");v.fillStyle="#fff",v.fillRect(0,0,c.width,c.height);var A={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},x=this;return(Xt.canvg?Promise.resolve(Xt.canvg):Us(()=>import("./pdf-support-B2HbQoq9.js").then(O=>O.b),__vite__mapDeps([0,1,2]))).catch(function(O){return Promise.reject(new Error("Could not load canvg: "+O))}).then(function(O){return O.default?O.default:O}).then(function(O){return O.fromString(v,r,A)},function(){return Promise.reject(new Error("Could not load canvg."))}).then(function(O){return O.render(A)}).then(function(){x.addImage(c.toDataURL("image/jpeg",1),t,n,a,s,d,h)})},Rt.API.putTotalPages=function(r){var t,n=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(t=new RegExp(r,"g"),n=this.internal.getNumberOfPages()):(t=new RegExp(this.pdfEscape16(r,this.internal.getFont()),"g"),n=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var a=1;a<=this.internal.getNumberOfPages();a++)for(var s=0;s<this.internal.pages[a].length;s++)this.internal.pages[a][s]=this.internal.pages[a][s].replace(t,n);return this},Rt.API.viewerPreferences=function(r,t){var n;r=r||{},t=t||!1;var a,s,o,d={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}},h=Object.keys(d),c=[],v=0,A=0,x=0;function O(R,E){var q,I=!1;for(q=0;q<R.length;q+=1)R[q]===E&&(I=!0);return I}if(this.internal.viewerpreferences===void 0&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(d)),this.internal.viewerpreferences.isSubscribed=!1),n=this.internal.viewerpreferences.configuration,r==="reset"||t===!0){var p=h.length;for(x=0;x<p;x+=1)n[h[x]].value=n[h[x]].defaultValue,n[h[x]].explicitSet=!1}if(Se(r)==="object"){for(s in r)if(o=r[s],O(h,s)&&o!==void 0){if(n[s].type==="boolean"&&typeof o=="boolean")n[s].value=o;else if(n[s].type==="name"&&O(n[s].valueSet,o))n[s].value=o;else if(n[s].type==="integer"&&Number.isInteger(o))n[s].value=o;else if(n[s].type==="array"){for(v=0;v<o.length;v+=1)if(a=!0,o[v].length===1&&typeof o[v][0]=="number")c.push(String(o[v]-1));else if(o[v].length>1){for(A=0;A<o[v].length;A+=1)typeof o[v][A]!="number"&&(a=!1);a===!0&&c.push([o[v][0]-1,o[v][1]-1].join(" "))}n[s].value="["+c.join(" ")+"]"}else n[s].value=n[s].defaultValue;n[s].explicitSet=!0}}return this.internal.viewerpreferences.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){var R,E=[];for(R in n)n[R].explicitSet===!0&&(n[R].type==="name"?E.push("/"+R+" /"+n[R].value):E.push("/"+R+" "+n[R].value));E.length!==0&&this.internal.write(`/ViewerPreferences 50<< 51`+E.join(` 52`)+` 53>>`)}),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=n,this},Rt.API.addMetadata=function(r,t){return this.internal.__metadata__===void 0&&(this.internal.__metadata__={metadata:r,namespaceUri:t??"http://jspdf.default.namespaceuri/",rawXml:typeof t=="boolean"&&t},this.internal.events.subscribe("putCatalog",xh),this.internal.events.subscribe("postPutResources",Lh)),this},(function(r){var t=r.API,n=t.pdfEscape16=function(o,d){for(var h,c=d.metadata.Unicode.widths,v=["","0","00","000","0000"],A=[""],x=0,O=o.length;x<O;++x){if(h=d.metadata.characterToGlyph(o.charCodeAt(x)),d.metadata.glyIdsUsed.push(h),d.metadata.toUnicode[h]=o.charCodeAt(x),c.indexOf(h)==-1&&(c.push(h),c.push([parseInt(d.metadata.widthOfGlyph(h),10)])),h=="0")return A.join("");h=h.toString(16),A.push(v[4-h.length],h)}return A.join("")},a=function(o){var d,h,c,v,A,x,O;for(A=`/CIDInit /ProcSet findresource begin 5412 dict begin 55begincmap 56/CIDSystemInfo << 57 /Registry (Adobe) 58 /Ordering (UCS) 59 /Supplement 0 60>> def 61/CMapName /Adobe-Identity-UCS def 62/CMapType 2 def 631 begincodespacerange 64<0000><ffff> 65endcodespacerange`,c=[],x=0,O=(h=Object.keys(o).sort(function(p,R){return p-R})).length;x<O;x++)d=h[x],c.length>=100&&(A+=` 66`+c.length+` beginbfchar 67`+c.join(` 68`)+` 69endbfchar`,c=[]),o[d]!==void 0&&o[d]!==null&&typeof o[d].toString=="function"&&(v=("0000"+o[d].toString(16)).slice(-4),d=("0000"+(+d).toString(16)).slice(-4),c.push("<"+d+"><"+v+">"));return c.length&&(A+=` 70`+c.length+` beginbfchar 71`+c.join(` 72`)+` 73endbfchar 74`),A+`endcmap 75CMapName currentdict /CMap defineresource pop 76end 77end`};t.events.push(["putFont",function(o){(function(d){var h=d.font,c=d.out,v=d.newObject,A=d.putStream;if(h.metadata instanceof r.API.TTFFont&&h.encoding==="Identity-H"){for(var x=h.metadata.Unicode.widths,O=h.metadata.subset.encode(h.metadata.glyIdsUsed,1),p="",R=0;R<O.length;R++)p+=String.fromCharCode(O[R]);var E=v();A({data:p,addLength1:!0,objectId:E}),c("endobj");var q=v();A({data:a(h.metadata.toUnicode),addLength1:!0,objectId:q}),c("endobj");var I=v();c("<<"),c("/Type /FontDescriptor"),c("/FontName /"+Ti(h.fontName)),c("/FontFile2 "+E+" 0 R"),c("/FontBBox "+r.API.PDFObject.convert(h.metadata.bbox)),c("/Flags "+h.metadata.flags),c("/StemV "+h.metadata.stemV),c("/ItalicAngle "+h.metadata.italicAngle),c("/Ascent "+h.metadata.ascender),c("/Descent "+h.metadata.decender),c("/CapHeight "+h.metadata.capHeight),c(">>"),c("endobj");var $=v();c("<<"),c("/Type /Font"),c("/BaseFont /"+Ti(h.fontName)),c("/FontDescriptor "+I+" 0 R"),c("/W "+r.API.PDFObject.convert(x)),c("/CIDToGIDMap /Identity"),c("/DW 1000"),c("/Subtype /CIDFontType2"),c("/CIDSystemInfo"),c("<<"),c("/Supplement 0"),c("/Registry (Adobe)"),c("/Ordering ("+h.encoding+")"),c(">>"),c(">>"),c("endobj"),h.objectNumber=v(),c("<<"),c("/Type /Font"),c("/Subtype /Type0"),c("/ToUnicode "+q+" 0 R"),c("/BaseFont /"+Ti(h.fontName)),c("/Encoding /"+h.encoding),c("/DescendantFonts ["+$+" 0 R]"),c(">>"),c("endobj"),h.isAlreadyPutted=!0}})(o)}]),t.events.push(["putFont",function(o){(function(d){var h=d.font,c=d.out,v=d.newObject,A=d.putStream;if(h.metadata instanceof r.API.TTFFont&&h.encoding==="WinAnsiEncoding"){for(var x=h.metadata.rawData,O="",p=0;p<x.length;p++)O+=String.fromCharCode(x[p]);var R=v();A({data:O,addLength1:!0,objectId:R}),c("endobj");var E=v();A({data:a(h.metadata.toUnicode),addLength1:!0,objectId:E}),c("endobj");var q=v();c("<<"),c("/Descent "+h.metadata.decender),c("/CapHeight "+h.metadata.capHeight),c("/StemV "+h.metadata.stemV),c("/Type /FontDescriptor"),c("/FontFile2 "+R+" 0 R"),c("/Flags 96"),c("/FontBBox "+r.API.PDFObject.convert(h.metadata.bbox)),c("/FontName /"+Ti(h.fontName)),c("/ItalicAngle "+h.metadata.italicAngle),c("/Ascent "+h.metadata.ascender),c(">>"),c("endobj"),h.objectNumber=v();for(var I=0;I<h.metadata.hmtx.widths.length;I++)h.metadata.hmtx.widths[I]=parseInt(h.metadata.hmtx.widths[I]*(1e3/h.metadata.head.unitsPerEm));c("<</Subtype/TrueType/Type/Font/ToUnicode "+E+" 0 R/BaseFont/"+Ti(h.fontName)+"/FontDescriptor "+q+" 0 R/Encoding/"+h.encoding+" /FirstChar 29 /LastChar 255 /Widths "+r.API.PDFObject.convert(h.metadata.hmtx.widths)+">>"),c("endobj"),h.isAlreadyPutted=!0}})(o)}]);var s=function(o){var d,h=o.text||"",c=o.x,v=o.y,A=o.options||{},x=o.mutex||{},O=x.pdfEscape,p=x.activeFontKey,R=x.fonts,E=p,q="",I=0,$="",Z=R[E].encoding;if(R[E].encoding!=="Identity-H")return{text:h,x:c,y:v,options:A,mutex:x};for($=h,E=p,Array.isArray(h)&&($=h[0]),I=0;I<$.length;I+=1)R[E].metadata.hasOwnProperty("cmap")&&(d=R[E].metadata.cmap.unicode.codeMap[$[I].charCodeAt(0)]),d||$[I].charCodeAt(0)<256&&R[E].metadata.hasOwnProperty("Unicode")?q+=$[I]:q+="";var tt="";return parseInt(E.slice(1))<14||Z==="WinAnsiEncoding"?tt=O(q,E).split("").map(function(wt){return wt.charCodeAt(0).toString(16)}).join(""):Z==="Identity-H"&&(tt=n(q,R[E])),x.isHex=!0,{text:tt,x:c,y:v,options:A,mutex:x}};t.events.push(["postProcessText",function(o){var d=o.text||"",h=[],c={text:d,x:o.x,y:o.y,options:o.options,mutex:o.mutex};if(Array.isArray(d)){var v=0;for(v=0;v<d.length;v+=1)Array.isArray(d[v])&&d[v].length===3?h.push([s(Object.assign({},c,{text:d[v][0]})).text,d[v][1],d[v][2]]):h.push(s(Object.assign({},c,{text:d[v]})).text);o.text=h}else o.text=s(Object.assign({},c,{text:d})).text}])})(Rt),(function(r){var t=function(){return this.internal.vFS===void 0&&(this.internal.vFS={}),!0};r.existsFileInVFS=function(n){return t.call(this),this.internal.vFS[n]!==void 0},r.addFileToVFS=function(n,a){return t.call(this),this.internal.vFS[n]=a,this},r.getFileFromVFS=function(n){return t.call(this),this.internal.vFS[n]!==void 0?this.internal.vFS[n]:null}})(Rt.API),(function(r){r.__bidiEngine__=r.prototype.__bidiEngine__=function(a){var s,o,d,h,c,v,A,x=t,O=[[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]],R={L:0,R:1,EN:2,AN:3,N:4,B:5,S:6},E={0:0,5:1,6:2,7:3,32:4,251:5,254:6,255:7},q=["(",")","(","<",">","<","[","]","[","{","}","{","«","»","«","â¹","âº","â¹","â ","â","â ","â½","â¾","â½","â","â","â","â¤","â¥","â¤","â©","âª","â©","ï¹","ï¹","ï¹","ï¹","ï¹","ï¹","ï¹","ï¹","ï¹","﹤","ï¹¥","﹤"],I=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)$/),$=!1,Z=0;this.__bidiEngine__={};var tt=function(P){var C=P.charCodeAt(),D=C>>8,U=E[D];return U!==void 0?x[256*U+(255&C)]:D===252||D===253?"AL":I.test(D)?"L":D===8?"R":"N"},wt=function(P){for(var C,D=0;D<P.length;D++){if((C=tt(P.charAt(D)))==="L")return!1;if(C==="R")return!0}return!1},Lt=function(P,C,D,U){var at,lt,ft,Q,ht=C[U];switch(ht){case"L":case"R":case"LRE":case"RLE":case"LRO":case"RLO":case"PDF":$=!1;break;case"N":case"AN":break;case"EN":$&&(ht="AN");break;case"AL":$=!0,ht="R";break;case"WS":case"BN":ht="N";break;case"CS":U<1||U+1>=C.length||(at=D[U-1])!=="EN"&&at!=="AN"||(lt=C[U+1])!=="EN"&<!=="AN"?ht="N":$&&(lt="AN"),ht=lt===at?lt:"N";break;case"ES":ht=(at=U>0?D[U-1]:"B")==="EN"&&U+1<C.length&&C[U+1]==="EN"?"EN":"N";break;case"ET":if(U>0&&D[U-1]==="EN"){ht="EN";break}if($){ht="N";break}for(ft=U+1,Q=C.length;ft<Q&&C[ft]==="ET";)ft++;ht=ft<Q&&C[ft]==="EN"?"EN":"N";break;case"NSM":if(d&&!h){for(Q=C.length,ft=U+1;ft<Q&&C[ft]==="NSM";)ft++;if(ft<Q){var At=P[U],bt=At>=1425&&At<=2303||At===64286;if(at=C[ft],bt&&(at==="R"||at==="AL")){ht="R";break}}}ht=U<1||(at=C[U-1])==="B"?"N":D[U-1];break;case"B":$=!1,s=!0,ht=Z;break;case"S":o=!0,ht="N"}return ht},Tt=function(P,C,D){var U=P.split("");return D&&ot(U,D,{hiLevel:Z}),U.reverse(),C&&C.reverse(),U.join("")},ot=function(P,C,D){var U,at,lt,ft,Q,ht=-1,At=P.length,bt=0,y=[],j=Z?p:O,B=[];for($=!1,s=!1,o=!1,at=0;at<At;at++)B[at]=tt(P[at]);for(lt=0;lt<At;lt++){if(Q=bt,y[lt]=Lt(P,B,y,lt),U=240&(bt=j[Q][R[y[lt]]]),bt&=15,C[lt]=ft=j[bt][5],U>0)if(U===16){for(at=ht;at<lt;at++)C[at]=1;ht=-1}else ht=-1;if(j[bt][6])ht===-1&&(ht=lt);else if(ht>-1){for(at=ht;at<lt;at++)C[at]=ft;ht=-1}B[lt]==="B"&&(C[lt]=0),D.hiLevel|=ft}o&&(function(W,V,K){for(var et=0;et<K;et++)if(W[et]==="S"){V[et]=Z;for(var nt=et-1;nt>=0&&W[nt]==="WS";nt--)V[nt]=Z}})(B,C,At)},Y=function(P,C,D,U,at){if(!(at.hiLevel<P)){if(P===1&&Z===1&&!s)return C.reverse(),void(D&&D.reverse());for(var lt,ft,Q,ht,At=C.length,bt=0;bt<At;){if(U[bt]>=P){for(Q=bt+1;Q<At&&U[Q]>=P;)Q++;for(ht=bt,ft=Q-1;ht<ft;ht++,ft--)lt=C[ht],C[ht]=C[ft],C[ft]=lt,D&&(lt=D[ht],D[ht]=D[ft],D[ft]=lt);bt=Q}bt++}}},gt=function(P,C,D){var U=P.split(""),at={hiLevel:Z};return D||(D=[]),ot(U,D,at),(function(lt,ft,Q){if(Q.hiLevel!==0&&A)for(var ht,At=0;At<lt.length;At++)ft[At]===1&&(ht=q.indexOf(lt[At]))>=0&&(lt[At]=q[ht+1])})(U,D,at),Y(2,U,C,D,at),Y(1,U,C,D,at),U.join("")};return this.__bidiEngine__.doBidiReorder=function(P,C,D){if((function(at,lt){if(lt)for(var ft=0;ft<at.length;ft++)lt[ft]=ft;h===void 0&&(h=wt(at)),v===void 0&&(v=wt(at))})(P,C),d||!c||v)if(d&&c&&h^v)Z=h?1:0,P=Tt(P,C,D);else if(!d&&c&&v)Z=h?1:0,P=gt(P,C,D),P=Tt(P,C);else if(!d||h||c||v){if(d&&!c&&h^v)P=Tt(P,C),h?(Z=0,P=gt(P,C,D)):(Z=1,P=gt(P,C,D),P=Tt(P,C));else if(d&&h&&!c&&v)Z=1,P=gt(P,C,D),P=Tt(P,C);else if(!d&&!c&&h^v){var U=A;h?(Z=1,P=gt(P,C,D),Z=0,A=!1,P=gt(P,C,D),A=U):(Z=0,P=gt(P,C,D),P=Tt(P,C),Z=1,A=!1,P=gt(P,C,D),A=U,P=Tt(P,C))}}else Z=0,P=gt(P,C,D);else Z=h?1:0,P=gt(P,C,D);return P},this.__bidiEngine__.setOptions=function(P){P&&(d=P.isInputVisual,c=P.isOutputVisual,h=P.isInputRtl,v=P.isOutputRtl,A=P.isSymmetricSwapping)},this.__bidiEngine__.setOptions(a),this.__bidiEngine__};var t=["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"],n=new r.__bidiEngine__({isInputVisual:!0});r.API.events.push(["postProcessText",function(a){var s=a.text;a.x,a.y;var o=a.options||{};a.mutex,o.lang;var d=[];if(o.isInputVisual=typeof o.isInputVisual!="boolean"||o.isInputVisual,n.setOptions(o),Object.prototype.toString.call(s)==="[object Array]"){var h=0;for(d=[],h=0;h<s.length;h+=1)Object.prototype.toString.call(s[h])==="[object Array]"?d.push([n.doBidiReorder(s[h][0]),s[h][1],s[h][2]]):d.push([n.doBidiReorder(s[h])]);a.text=d}else a.text=n.doBidiReorder(s);n.setOptions({isInputVisual:!0})}])})(Rt),Rt.API.TTFFont=(function(){function r(t){var n;if(this.rawData=t,n=this.contents=new zr(t),this.contents.pos=4,n.readString(4)==="ttcf")throw new Error("TTCF not supported.");n.pos=0,this.parse(),this.subset=new qh(this),this.registerTTF()}return r.open=function(t){return new r(t)},r.prototype.parse=function(){return this.directory=new _h(this.contents),this.head=new Ph(this),this.name=new jh(this),this.cmap=new qu(this),this.toUnicode={},this.hhea=new kh(this),this.maxp=new Oh(this),this.hmtx=new Eh(this),this.post=new Ih(this),this.os2=new Fh(this),this.loca=new Th(this),this.glyf=new Bh(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]},r.prototype.registerTTF=function(){var t,n,a,s,o;if(this.scaleFactor=1e3/this.head.unitsPerEm,this.bbox=function(){var d,h,c,v;for(v=[],d=0,h=(c=this.bbox).length;d<h;d++)t=c[d],v.push(Math.round(t*this.scaleFactor));return v}.call(this),this.stemV=0,this.post.exists?(a=255&(s=this.post.italic_angle),32768&(n=s>>16)&&(n=-(1+(65535^n))),this.italicAngle=+(n+"."+a)):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=(o=this.familyClass)===1||o===2||o===3||o===4||o===5||o===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")},r.prototype.characterToGlyph=function(t){var n;return((n=this.cmap.unicode)!=null?n.codeMap[t]:void 0)||0},r.prototype.widthOfGlyph=function(t){var n;return n=1e3/this.head.unitsPerEm,this.hmtx.forGlyph(t).advance*n},r.prototype.widthOfString=function(t,n,a){var s,o,d,h;for(d=0,o=0,h=(t=""+t).length;0<=h?o<h:o>h;o=0<=h?++o:--o)s=t.charCodeAt(o),d+=this.widthOfGlyph(this.characterToGlyph(s))+a*(1e3/n)||0;return d*(n/1e3)},r.prototype.lineHeight=function(t,n){var a;return n==null&&(n=!1),a=n?this.lineGap:0,(this.ascender+a-this.decender)/1e3*t},r})();var $n,zr=(function(){function r(t){this.data=t??[],this.pos=0,this.length=this.data.length}return r.prototype.readByte=function(){return this.data[this.pos++]},r.prototype.writeByte=function(t){return this.data[this.pos++]=t},r.prototype.readUInt32=function(){return 16777216*this.readByte()+(this.readByte()<<16)+(this.readByte()<<8)+this.readByte()},r.prototype.writeUInt32=function(t){return this.writeByte(t>>>24&255),this.writeByte(t>>16&255),this.writeByte(t>>8&255),this.writeByte(255&t)},r.prototype.readInt32=function(){var t;return(t=this.readUInt32())>=2147483648?t-4294967296:t},r.prototype.writeInt32=function(t){return t<0&&(t+=4294967296),this.writeUInt32(t)},r.prototype.readUInt16=function(){return this.readByte()<<8|this.readByte()},r.prototype.writeUInt16=function(t){return this.writeByte(t>>8&255),this.writeByte(255&t)},r.prototype.readInt16=function(){var t;return(t=this.readUInt16())>=32768?t-65536:t},r.prototype.writeInt16=function(t){return t<0&&(t+=65536),this.writeUInt16(t)},r.prototype.readString=function(t){var n,a;for(a=[],n=0;0<=t?n<t:n>t;n=0<=t?++n:--n)a[n]=String.fromCharCode(this.readByte());return a.join("")},r.prototype.writeString=function(t){var n,a,s;for(s=[],n=0,a=t.length;0<=a?n<a:n>a;n=0<=a?++n:--n)s.push(this.writeByte(t.charCodeAt(n)));return s},r.prototype.readShort=function(){return this.readInt16()},r.prototype.writeShort=function(t){return this.writeInt16(t)},r.prototype.readLongLong=function(){var t,n,a,s,o,d,h,c;return t=this.readByte(),n=this.readByte(),a=this.readByte(),s=this.readByte(),o=this.readByte(),d=this.readByte(),h=this.readByte(),c=this.readByte(),128&t?-1*(72057594037927940*(255^t)+281474976710656*(255^n)+1099511627776*(255^a)+4294967296*(255^s)+16777216*(255^o)+65536*(255^d)+256*(255^h)+(255^c)+1):72057594037927940*t+281474976710656*n+1099511627776*a+4294967296*s+16777216*o+65536*d+256*h+c},r.prototype.writeLongLong=function(t){var n,a;return n=Math.floor(t/4294967296),a=4294967295&t,this.writeByte(n>>24&255),this.writeByte(n>>16&255),this.writeByte(n>>8&255),this.writeByte(255&n),this.writeByte(a>>24&255),this.writeByte(a>>16&255),this.writeByte(a>>8&255),this.writeByte(255&a)},r.prototype.readInt=function(){return this.readInt32()},r.prototype.writeInt=function(t){return this.writeInt32(t)},r.prototype.read=function(t){var n,a;for(n=[],a=0;0<=t?a<t:a>t;a=0<=t?++a:--a)n.push(this.readByte());return n},r.prototype.write=function(t){var n,a,s,o;for(o=[],a=0,s=t.length;a<s;a++)n=t[a],o.push(this.writeByte(n));return o},r})(),_h=(function(){var r;function t(n){var a,s,o;for(this.scalarType=n.readInt(),this.tableCount=n.readShort(),this.searchRange=n.readShort(),this.entrySelector=n.readShort(),this.rangeShift=n.readShort(),this.tables={},s=0,o=this.tableCount;0<=o?s<o:s>o;s=0<=o?++s:--s)a={tag:n.readString(4),checksum:n.readInt(),offset:n.readInt(),length:n.readInt()},this.tables[a.tag]=a}return t.prototype.encode=function(n){var a,s,o,d,h,c,v,A,x,O,p,R,E;for(E in p=Object.keys(n).length,c=Math.log(2),x=16*Math.floor(Math.log(p)/c),d=Math.floor(x/c),A=16*p-x,(s=new zr).writeInt(this.scalarType),s.writeShort(p),s.writeShort(x),s.writeShort(d),s.writeShort(A),o=16*p,v=s.pos+o,h=null,R=[],n)for(O=n[E],s.writeString(E),s.writeInt(r(O)),s.writeInt(v),s.writeInt(O.length),R=R.concat(O),E==="head"&&(h=v),v+=O.length;v%4;)R.push(0),v++;return s.write(R),a=2981146554-r(s.data),s.pos=h+8,s.writeUInt32(a),s.data},r=function(n){var a,s,o,d;for(n=Du.call(n);n.length%4;)n.push(0);for(o=new zr(n),s=0,a=0,d=n.length;a<d;a=a+=4)s+=o.readUInt32();return 4294967295&s},t})(),Sh={}.hasOwnProperty,hr=function(r,t){for(var n in t)Sh.call(t,n)&&(r[n]=t[n]);function a(){this.constructor=r}return a.prototype=t.prototype,r.prototype=new a,r.__super__=t.prototype,r};$n=(function(){function r(t){var n;this.file=t,n=this.file.directory.tables[this.tag],this.exists=!!n,n&&(this.offset=n.offset,this.length=n.length,this.parse(this.file.contents))}return r.prototype.parse=function(){},r.prototype.encode=function(){},r.prototype.raw=function(){return this.exists?(this.file.contents.pos=this.offset,this.file.contents.read(this.length)):null},r})();var Ph=(function(){function r(){return r.__super__.constructor.apply(this,arguments)}return hr(r,$n),r.prototype.tag="head",r.prototype.parse=function(t){return t.pos=this.offset,this.version=t.readInt(),this.revision=t.readInt(),this.checkSumAdjustment=t.readInt(),this.magicNumber=t.readInt(),this.flags=t.readShort(),this.unitsPerEm=t.readShort(),this.created=t.readLongLong(),this.modified=t.readLongLong(),this.xMin=t.readShort(),this.yMin=t.readShort(),this.xMax=t.readShort(),this.yMax=t.readShort(),this.macStyle=t.readShort(),this.lowestRecPPEM=t.readShort(),this.fontDirectionHint=t.readShort(),this.indexToLocFormat=t.readShort(),this.glyphDataFormat=t.readShort()},r.prototype.encode=function(t){var n;return(n=new zr).writeInt(this.version),n.writeInt(this.revision),n.writeInt(this.checkSumAdjustment),n.writeInt(this.magicNumber),n.writeShort(this.flags),n.writeShort(this.unitsPerEm),n.writeLongLong(this.created),n.writeLongLong(this.modified),n.writeShort(this.xMin),n.writeShort(this.yMin),n.writeShort(this.xMax),n.writeShort(this.yMax),n.writeShort(this.macStyle),n.writeShort(this.lowestRecPPEM),n.writeShort(this.fontDirectionHint),n.writeShort(t),n.writeShort(this.glyphDataFormat),n.data},r})(),wu=(function(){function r(t,n){var a,s,o,d,h,c,v,A,x,O,p,R,E,q,I,$,Z;switch(this.platformID=t.readUInt16(),this.encodingID=t.readShort(),this.offset=n+t.readInt(),x=t.pos,t.pos=this.offset,this.format=t.readUInt16(),this.length=t.readUInt16(),this.language=t.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(c=0;c<256;++c)this.codeMap[c]=t.readByte();break;case 4:for(p=t.readUInt16(),O=p/2,t.pos+=6,o=(function(){var tt,wt;for(wt=[],c=tt=0;0<=O?tt<O:tt>O;c=0<=O?++tt:--tt)wt.push(t.readUInt16());return wt})(),t.pos+=2,E=(function(){var tt,wt;for(wt=[],c=tt=0;0<=O?tt<O:tt>O;c=0<=O?++tt:--tt)wt.push(t.readUInt16());return wt})(),v=(function(){var tt,wt;for(wt=[],c=tt=0;0<=O?tt<O:tt>O;c=0<=O?++tt:--tt)wt.push(t.readUInt16());return wt})(),A=(function(){var tt,wt;for(wt=[],c=tt=0;0<=O?tt<O:tt>O;c=0<=O?++tt:--tt)wt.push(t.readUInt16());return wt})(),s=(this.length-t.pos+this.offset)/2,h=(function(){var tt,wt;for(wt=[],c=tt=0;0<=s?tt<s:tt>s;c=0<=s?++tt:--tt)wt.push(t.readUInt16());return wt})(),c=I=0,Z=o.length;I<Z;c=++I)for(q=o[c],a=$=R=E[c];R<=q?$<=q:$>=q;a=R<=q?++$:--$)A[c]===0?d=a+v[c]:(d=h[A[c]/2+(a-R)-(O-c)]||0)!==0&&(d+=v[c]),this.codeMap[a]=65535&d}t.pos=x}return r.encode=function(t,n){var a,s,o,d,h,c,v,A,x,O,p,R,E,q,I,$,Z,tt,wt,Lt,Tt,ot,Y,gt,P,C,D,U,at,lt,ft,Q,ht,At,bt,y,j,B,W,V,K,et,nt,ct,yt,_t;switch(U=new zr,d=Object.keys(t).sort(function(St,zt){return St-zt}),n){case"macroman":for(E=0,q=(function(){var St=[];for(R=0;R<256;++R)St.push(0);return St})(),$={0:0},o={},at=0,ht=d.length;at<ht;at++)$[nt=t[s=d[at]]]==null&&($[nt]=++E),o[s]={old:t[s],new:$[t[s]]},q[s]=$[t[s]];return U.writeUInt16(1),U.writeUInt16(0),U.writeUInt32(12),U.writeUInt16(0),U.writeUInt16(262),U.writeUInt16(0),U.write(q),{charMap:o,subtable:U.data,maxGlyphID:E+1};case"unicode":for(C=[],x=[],Z=0,$={},a={},I=v=null,lt=0,At=d.length;lt<At;lt++)$[wt=t[s=d[lt]]]==null&&($[wt]=++Z),a[s]={old:wt,new:$[wt]},h=$[wt]-s,I!=null&&h===v||(I&&x.push(I),C.push(s),v=h),I=s;for(I&&x.push(I),x.push(65535),C.push(65535),gt=2*(Y=C.length),ot=2*Math.pow(Math.log(Y)/Math.LN2,2),O=Math.log(ot/2)/Math.LN2,Tt=2*Y-ot,c=[],Lt=[],p=[],R=ft=0,bt=C.length;ft<bt;R=++ft){if(P=C[R],A=x[R],P===65535){c.push(0),Lt.push(0);break}if(P-(D=a[P].new)>=32768)for(c.push(0),Lt.push(2*(p.length+Y-R)),s=Q=P;P<=A?Q<=A:Q>=A;s=P<=A?++Q:--Q)p.push(a[s].new);else c.push(D-P),Lt.push(0)}for(U.writeUInt16(3),U.writeUInt16(1),U.writeUInt32(12),U.writeUInt16(4),U.writeUInt16(16+8*Y+2*p.length),U.writeUInt16(0),U.writeUInt16(gt),U.writeUInt16(ot),U.writeUInt16(O),U.writeUInt16(Tt),K=0,y=x.length;K<y;K++)s=x[K],U.writeUInt16(s);for(U.writeUInt16(0),et=0,j=C.length;et<j;et++)s=C[et],U.writeUInt16(s);for(ct=0,B=c.length;ct<B;ct++)h=c[ct],U.writeUInt16(h);for(yt=0,W=Lt.length;yt<W;yt++)tt=Lt[yt],U.writeUInt16(tt);for(_t=0,V=p.length;_t<V;_t++)E=p[_t],U.writeUInt16(E);return{charMap:a,subtable:U.data,maxGlyphID:Z+1}}},r})(),qu=(function(){function r(){return r.__super__.constructor.apply(this,arguments)}return hr(r,$n),r.prototype.tag="cmap",r.prototype.parse=function(t){var n,a,s;for(t.pos=this.offset,this.version=t.readUInt16(),s=t.readUInt16(),this.tables=[],this.unicode=null,a=0;0<=s?a<s:a>s;a=0<=s?++a:--a)n=new wu(t,this.offset),this.tables.push(n),n.isUnicode&&this.unicode==null&&(this.unicode=n);return!0},r.encode=function(t,n){var a,s;return n==null&&(n="macroman"),a=wu.encode(t,n),(s=new zr).writeUInt16(0),s.writeUInt16(1),a.table=s.data.concat(a.subtable),a},r})(),kh=(function(){function r(){return r.__super__.constructor.apply(this,arguments)}return hr(r,$n),r.prototype.tag="hhea",r.prototype.parse=function(t){return t.pos=this.offset,this.version=t.readInt(),this.ascender=t.readShort(),this.decender=t.readShort(),this.lineGap=t.readShort(),this.advanceWidthMax=t.readShort(),this.minLeftSideBearing=t.readShort(),this.minRightSideBearing=t.readShort(),this.xMaxExtent=t.readShort(),this.caretSlopeRise=t.readShort(),this.caretSlopeRun=t.readShort(),this.caretOffset=t.readShort(),t.pos+=8,this.metricDataFormat=t.readShort(),this.numberOfMetrics=t.readUInt16()},r})(),Fh=(function(){function r(){return r.__super__.constructor.apply(this,arguments)}return hr(r,$n),r.prototype.tag="OS/2",r.prototype.parse=function(t){if(t.pos=this.offset,this.version=t.readUInt16(),this.averageCharWidth=t.readShort(),this.weightClass=t.readUInt16(),this.widthClass=t.readUInt16(),this.type=t.readShort(),this.ySubscriptXSize=t.readShort(),this.ySubscriptYSize=t.readShort(),this.ySubscriptXOffset=t.readShort(),this.ySubscriptYOffset=t.readShort(),this.ySuperscriptXSize=t.readShort(),this.ySuperscriptYSize=t.readShort(),this.ySuperscriptXOffset=t.readShort(),this.ySuperscriptYOffset=t.readShort(),this.yStrikeoutSize=t.readShort(),this.yStrikeoutPosition=t.readShort(),this.familyClass=t.readShort(),this.panose=(function(){var n,a;for(a=[],n=0;n<10;++n)a.push(t.readByte());return a})(),this.charRange=(function(){var n,a;for(a=[],n=0;n<4;++n)a.push(t.readInt());return a})(),this.vendorID=t.readString(4),this.selection=t.readShort(),this.firstCharIndex=t.readShort(),this.lastCharIndex=t.readShort(),this.version>0&&(this.ascent=t.readShort(),this.descent=t.readShort(),this.lineGap=t.readShort(),this.winAscent=t.readShort(),this.winDescent=t.readShort(),this.codePageRange=(function(){var n,a;for(a=[],n=0;n<2;n=++n)a.push(t.readInt());return a})(),this.version>1))return this.xHeight=t.readShort(),this.capHeight=t.readShort(),this.defaultChar=t.readShort(),this.breakChar=t.readShort(),this.maxContext=t.readShort()},r})(),Ih=(function(){function r(){return r.__super__.constructor.apply(this,arguments)}return hr(r,$n),r.prototype.tag="post",r.prototype.parse=function(t){var n,a,s;switch(t.pos=this.offset,this.format=t.readInt(),this.italicAngle=t.readInt(),this.underlinePosition=t.readShort(),this.underlineThickness=t.readShort(),this.isFixedPitch=t.readInt(),this.minMemType42=t.readInt(),this.maxMemType42=t.readInt(),this.minMemType1=t.readInt(),this.maxMemType1=t.readInt(),this.format){case 65536:case 196608:break;case 131072:var o;for(a=t.readUInt16(),this.glyphNameIndex=[],o=0;0<=a?o<a:o>a;o=0<=a?++o:--o)this.glyphNameIndex.push(t.readUInt16());for(this.names=[],s=[];t.pos<this.offset+this.length;)n=t.readByte(),s.push(this.names.push(t.readString(n)));return s;case 151552:return a=t.readUInt16(),this.offsets=t.read(a);case 262144:return this.map=function(){var d,h,c;for(c=[],o=d=0,h=this.file.maxp.numGlyphs;0<=h?d<h:d>h;o=0<=h?++d:--d)c.push(t.readUInt32());return c}.call(this)}},r})(),Ch=function(r,t){this.raw=r,this.length=r.length,this.platformID=t.platformID,this.encodingID=t.encodingID,this.languageID=t.languageID},jh=(function(){function r(){return r.__super__.constructor.apply(this,arguments)}return hr(r,$n),r.prototype.tag="name",r.prototype.parse=function(t){var n,a,s,o,d,h,c,v,A,x,O;for(t.pos=this.offset,t.readShort(),n=t.readShort(),h=t.readShort(),a=[],o=0;0<=n?o<n:o>n;o=0<=n?++o:--o)a.push({platformID:t.readShort(),encodingID:t.readShort(),languageID:t.readShort(),nameID:t.readShort(),length:t.readShort(),offset:this.offset+h+t.readShort()});for(c={},o=A=0,x=a.length;A<x;o=++A)s=a[o],t.pos=s.offset,v=t.readString(s.length),d=new Ch(v,s),c[O=s.nameID]==null&&(c[O]=[]),c[s.nameID].push(d);this.strings=c,this.copyright=c[0],this.fontFamily=c[1],this.fontSubfam
77ily=c[2],this.uniqueSubfamily=c[3],this.fontName=c[4],this.version=c[5];try{this.postscriptName=c[6][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}catch{this.postscriptName=c[4][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}return this.trademark=c[7],this.manufacturer=c[8],this.designer=c[9],this.description=c[10],this.vendorUrl=c[11],this.designerUrl=c[12],this.license=c[13],this.licenseUrl=c[14],this.preferredFamily=c[15],this.preferredSubfamily=c[17],this.compatibleFull=c[18],this.sampleText=c[19]},r})(),Oh=(function(){function r(){return r.__super__.constructor.apply(this,arguments)}return hr(r,$n),r.prototype.tag="maxp",r.prototype.parse=function(t){return t.pos=this.offset,this.version=t.readInt(),this.numGlyphs=t.readUInt16(),this.maxPoints=t.readUInt16(),this.maxContours=t.readUInt16(),this.maxCompositePoints=t.readUInt16(),this.maxComponentContours=t.readUInt16(),this.maxZones=t.readUInt16(),this.maxTwilightPoints=t.readUInt16(),this.maxStorage=t.readUInt16(),this.maxFunctionDefs=t.readUInt16(),this.maxInstructionDefs=t.readUInt16(),this.maxStackElements=t.readUInt16(),this.maxSizeOfInstructions=t.readUInt16(),this.maxComponentElements=t.readUInt16(),this.maxComponentDepth=t.readUInt16()},r})(),Eh=(function(){function r(){return r.__super__.constructor.apply(this,arguments)}return hr(r,$n),r.prototype.tag="hmtx",r.prototype.parse=function(t){var n,a,s,o,d,h,c;for(t.pos=this.offset,this.metrics=[],n=0,h=this.file.hhea.numberOfMetrics;0<=h?n<h:n>h;n=0<=h?++n:--n)this.metrics.push({advance:t.readUInt16(),lsb:t.readInt16()});for(s=this.file.maxp.numGlyphs-this.file.hhea.numberOfMetrics,this.leftSideBearings=(function(){var v,A;for(A=[],n=v=0;0<=s?v<s:v>s;n=0<=s?++v:--v)A.push(t.readInt16());return A})(),this.widths=function(){var v,A,x,O;for(O=[],v=0,A=(x=this.metrics).length;v<A;v++)o=x[v],O.push(o.advance);return O}.call(this),a=this.widths[this.widths.length-1],c=[],n=d=0;0<=s?d<s:d>s;n=0<=s?++d:--d)c.push(this.widths.push(a));return c},r.prototype.forGlyph=function(t){return t in this.metrics?this.metrics[t]:{advance:this.metrics[this.metrics.length-1].advance,lsb:this.leftSideBearings[t-this.metrics.length]}},r})(),Du=[].slice,Bh=(function(){function r(){return r.__super__.constructor.apply(this,arguments)}return hr(r,$n),r.prototype.tag="glyf",r.prototype.parse=function(){return this.cache={}},r.prototype.glyphFor=function(t){var n,a,s,o,d,h,c,v,A,x;return t in this.cache?this.cache[t]:(o=this.file.loca,n=this.file.contents,a=o.indexOf(t),(s=o.lengthOf(t))===0?this.cache[t]=null:(n.pos=this.offset+a,d=(h=new zr(n.read(s))).readShort(),v=h.readShort(),x=h.readShort(),c=h.readShort(),A=h.readShort(),this.cache[t]=d===-1?new Rh(h,v,x,c,A):new Mh(h,d,v,x,c,A),this.cache[t]))},r.prototype.encode=function(t,n,a){var s,o,d,h,c;for(d=[],o=[],h=0,c=n.length;h<c;h++)s=t[n[h]],o.push(d.length),s&&(d=d.concat(s.encode(a)));return o.push(d.length),{table:d,offsets:o}},r})(),Mh=(function(){function r(t,n,a,s,o,d){this.raw=t,this.numberOfContours=n,this.xMin=a,this.yMin=s,this.xMax=o,this.yMax=d,this.compound=!1}return r.prototype.encode=function(){return this.raw.data},r})(),Rh=(function(){function r(t,n,a,s,o){var d,h;for(this.raw=t,this.xMin=n,this.yMin=a,this.xMax=s,this.yMax=o,this.compound=!0,this.glyphIDs=[],this.glyphOffsets=[],d=this.raw;h=d.readShort(),this.glyphOffsets.push(d.pos),this.glyphIDs.push(d.readUInt16()),32&h;)d.pos+=1&h?4:2,128&h?d.pos+=8:64&h?d.pos+=4:8&h&&(d.pos+=2)}return r.prototype.encode=function(){var t,n,a;for(n=new zr(Du.call(this.raw.data)),t=0,a=this.glyphIDs.length;t<a;++t)n.pos=this.glyphOffsets[t];return n.data},r})(),Th=(function(){function r(){return r.__super__.constructor.apply(this,arguments)}return hr(r,$n),r.prototype.tag="loca",r.prototype.parse=function(t){var n,a;return t.pos=this.offset,n=this.file.head.indexToLocFormat,this.offsets=n===0?function(){var s,o;for(o=[],a=0,s=this.length;a<s;a+=2)o.push(2*t.readUInt16());return o}.call(this):function(){var s,o;for(o=[],a=0,s=this.length;a<s;a+=4)o.push(t.readUInt32());return o}.call(this)},r.prototype.indexOf=function(t){return this.offsets[t]},r.prototype.lengthOf=function(t){return this.offsets[t+1]-this.offsets[t]},r.prototype.encode=function(t,n){for(var a=new Uint32Array(this.offsets.length),s=0,o=0,d=0;d<a.length;++d)if(a[d]=s,o<n.length&&n[o]==d){++o,a[d]=s;var h=this.offsets[d],c=this.offsets[d+1]-h;c>0&&(s+=c)}for(var v=new Array(4*a.length),A=0;A<a.length;++A)v[4*A+3]=255&a[A],v[4*A+2]=(65280&a[A])>>8,v[4*A+1]=(16711680&a[A])>>16,v[4*A]=(4278190080&a[A])>>24;return v},r})(),qh=(function(){function r(t){this.font=t,this.subset={},this.unicodes={},this.next=33}return r.prototype.generateCmap=function(){var t,n,a,s,o;for(n in s=this.font.cmap.tables[0].codeMap,t={},o=this.subset)a=o[n],t[n]=s[a];return t},r.prototype.glyphsFor=function(t){var n,a,s,o,d,h,c;for(s={},d=0,h=t.length;d<h;d++)s[o=t[d]]=this.font.glyf.glyphFor(o);for(o in n=[],s)(a=s[o])!=null&&a.compound&&n.push.apply(n,a.glyphIDs);if(n.length>0)for(o in c=this.glyphsFor(n))a=c[o],s[o]=a;return s},r.prototype.encode=function(t,n){var a,s,o,d,h,c,v,A,x,O,p,R,E,q,I;for(s in a=qu.encode(this.generateCmap(),"unicode"),d=this.glyphsFor(t),p={0:0},I=a.charMap)p[(c=I[s]).old]=c.new;for(R in O=a.maxGlyphID,d)R in p||(p[R]=O++);return A=(function($){var Z,tt;for(Z in tt={},$)tt[$[Z]]=Z;return tt})(p),x=Object.keys(A).sort(function($,Z){return $-Z}),E=(function(){var $,Z,tt;for(tt=[],$=0,Z=x.length;$<Z;$++)h=x[$],tt.push(A[h]);return tt})(),o=this.font.glyf.encode(d,E,p),v=this.font.loca.encode(o.offsets,E),q={cmap:this.font.cmap.raw(),glyf:o.table,loca:v,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(n)},this.font.os2.exists&&(q["OS/2"]=this.font.os2.raw()),this.font.directory.encode(q)},r})();Rt.API.PDFObject=(function(){var r;function t(){}return r=function(n,a){return(Array(a+1).join("0")+n).slice(-a)},t.convert=function(n){var a,s,o,d;if(Array.isArray(n))return"["+(function(){var h,c,v;
77for(v=[],h=0,c=n.length;h<c;h++)a=n[h],v.push(t.convert(a));return v})().join(" ")+"]";if(typeof n=="string")return"/"+n;if(n?.isString)return"("+n+")";if(n instanceof Date)return"(D:"+r(n.getUTCFullYear(),4)+r(n.getUTCMonth(),2)+r(n.getUTCDate(),2)+r(n.getUTCHours(),2)+r(n.getUTCMinutes(),2)+r(n.getUTCSeconds(),2)+"Z)";if({}.toString.call(n)==="[object Object]"){for(s in o=["<<"],n)d=n[s],o.push("/"+s+" "+t.convert(d));return o.push(">>"),o.join(` 78`)}return""+n},t})();export{Hh as AcroForm,Ft as AcroFormAppearance,nn as AcroFormButton,es as AcroFormCheckBox,Di as AcroFormChoiceField,zi as AcroFormComboBox,Qa as AcroFormEditBox,Ui as AcroFormListBox,ns as AcroFormPasswordField,ts as AcroFormPushButton,Wi as AcroFormRadioButton,hi as AcroFormTextField,rs as GState,li as ShadingPattern,qi as TilingPattern,Rt as default,Rt as jsPDF};
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.