vendor: 4,707 bytes, lines 1-2
1const __vite__fileDeps=["assets/index.es-DhoWnMGf.js","assets/index-C-BAs4E-.js","assets/index-7CQuqmcz.css","assets/_plugin-vue_export-helper-DlAUqK2U.js"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]); 2import{_ as vl,d as Of,r as ue,c as Vs,o as jf,a as Ef,w as Tf,b as _r,e as jt,u as Ft,f as rn,g as Bt,I as Rf,h as To,i as Df,j as ui,k as Gs,F as Js,l as Wr,m as $e,n as Ys,p as Ks,q as Ro,s as Bf,t as Xs,v as xe,x as Mf,y as Yi,z as jn,A as $s,B as Qs,C as Zs,D as tl,E as Ia,G as el,H as qf,J as Do,K as Kn,L as zf,M as nl,N as Ki,O as Uf,P as Nu,Q as Hf,R as Wf,S as Vf,T as _u,U as Gf,V as Jf}from"./index-C-BAs4E-.js";import{_ as Yf}from"./_plugin-vue_export-helper-DlAUqK2U.js";function sc(e,t){return function(){return e.apply(t,arguments)}}const{toString:Kf}=Object.prototype,{getPrototypeOf:Bl}=Object,Jo=(e=>t=>{const n=Kf.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Qn=e=>(e=e.toLowerCase(),t=>Jo(t)===e),Yo=e=>t=>typeof t===e,{isArray:ta}=Array,qa=Yo("undefined");function Xf(e){return e!==null&&!qa(e)&&e.constructor!==null&&!qa(e.constructor)&&Nn(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const lc=Qn("ArrayBuffer");function $f(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&lc(e.buffer),t}const Qf=Yo("string"),Nn=Yo("function"),uc=Yo("number"),Ko=e=>e!==null&&typeof e=="object",Zf=e=>e===!0||e===!1,Uo=e=>{if(Jo(e)!=="object")return!1;const t=Bl(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},th=Qn("Date"),eh=Qn("File"),nh=Qn("Blob"),rh=Qn("FileList"),ih=e=>Ko(e)&&Nn(e.pipe),ah=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Nn(e.append)&&((t=Jo(e))==="formdata"||t==="object"&&Nn(e.toString)&&e.toString()==="[object FormData]"))},oh=Qn("URLSearchParams"),[sh,lh,uh,ch]=["ReadableStream","Request","Response","Headers"].map(Qn),fh=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Wa(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let i,o;if(typeof e!="object"&&(e=[e]),ta(e))for(i=0,o=e.length;i<o;i++)t.call(null,e[i],i,e);else{const a=n?Object.getOwnPropertyNames(e):Object.keys(e),l=a.length;let c;for(i=0;i<l;i++)c=a[i],t.call(null,e[c],c,e)}}function cc(e,t){t=t.toLowerCase();const n=Object.keys(e);let i=n.length,o;for(;i-- >0;)if(o=n[i],t===o.toLowerCase())return o;return null}const fi=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,fc=e=>!qa(e)&&e!==fi;function yl(){const{caseless:e}=fc(this)&&this||{},t={},n=(i,o)=>{const a=e&&cc(t,o)||o;Uo(t[a])&&Uo(i)?t[a]=yl(t[a],i):Uo(i)?t[a]=yl({},i):ta(i)?t[a]=i.slice():t[a]=i};for(let i=0,o=arguments.length;i<o;i++)arguments[i]&&Wa(arguments[i],n);return t}const hh=(e,t,n,{allOwnKeys:i}={})=>(Wa(t,(o,a)=>{n&&Nn(o)?e[a]=sc(o,n):e[a]=o},{allOwnKeys:i}),e),dh=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),ph=(e,t,n,i)=>{e.prototype=Object.create(t.prototype,i),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},gh=(e,t,n,i)=>{let o,a,l;const c={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),a=o.length;a-- >0;)l=o[a],(!i||i(l,e,t))&&!c[l]&&(t[l]=e[l],c[l]=!0);e=n!==!1&&Bl(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},mh=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const i=e.indexOf(t,n);return i!==-1&&i===n},vh=e=>{if(!e)return null;if(ta(e))return e;let t=e.length;if(!uc(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},yh=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Bl(Uint8Array)),bh=(e,t)=>{const i=(e&&e[Symbol.iterator]).call(e);let o;for(;(o=i.next())&&!o.done;){const a=o.value;t.call(e,a[0],a[1])}},wh=(e,t)=>{let n;const i=[];for(;(n=e.exec(t))!==null;)i.push(n);return i},Ah=Qn("HTMLFormElement"),Sh=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,i,o){return i.toUpperCase()+o}),Pu=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),xh=Qn("RegExp"),hc=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),i={};Wa(n,(o,a)=>{let l;(l=t(o,a,e))!==!1&&(i[a]=l||o)}),Object.defineProperties(e,i)},Lh=e=>{hc(e,(t,n)=>{if(Nn(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const i=e[n];if(Nn(i)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},Nh=(e,t)=>{const n={},i=o=>{o.forEach(a=>{n[a]=!0})};return ta(e)?i(e):i(String(e).split(t)),n},_h=()=>{},Ph=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,rl="abcdefghijklmnopqrstuvwxyz",ku="0123456789",dc={DIGIT
2:ku,ALPHA:rl,ALPHA_DIGIT:rl+rl.toUpperCase()+ku},kh=(e=16,t=dc.ALPHA_DIGIT)=>{let n="";const{length:i}=t;for(;e--;)n+=t[Math.random()*i|0];return n};function Ch(e){return!!(e&&Nn(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const Fh=e=>{const t=new Array(10),n=(i,o)=>{if(Ko(i)){if(t.indexOf(i)>=0)return;if(!("toJSON"in i)){t[o]=i;const a=ta(i)?[]:{};return Wa(i,(l,c)=>{const f=n(l,o+1);!qa(f)&&(a[c]=f)}),t[o]=void 0,a}}return i};return n(e,0)},Ih=Qn("AsyncFunction"),Oh=e=>e&&(Ko(e)||Nn(e))&&Nn(e.then)&&Nn(e.catch),pc=((e,t)=>e?setImmediate:t?((n,i)=>(fi.addEventListener("message",({source:o,data:a})=>{o===fi&&a===n&&i.length&&i.shift()()},!1),o=>{i.push(o),fi.postMessage(n,"*")}))("axios@".concat(Math.random()),[]):n=>setTimeout(n))(typeof setImmediate=="function",Nn(fi.postMessage)),jh=typeof queueMicrotask<"u"?queueMicrotask.bind(fi):typeof process<"u"&&process.nextTick||pc,mt={isArray:ta,isArrayBuffer:lc,isBuffer:Xf,isFormData:ah,isArrayBufferView:$f,isString:Qf,isNumber:uc,isBoolean:Zf,isObject:Ko,isPlainObject:Uo,isReadableStream:sh,isRequest:lh,isResponse:uh,isHeaders:ch,isUndefined:qa,isDate:th,isFile:eh,isBlob:nh,isRegExp:xh,isFunction:Nn,isStream:ih,isURLSearchParams:oh,isTypedArray:yh,isFileList:rh,forEach:Wa,merge:yl,extend:hh,trim:fh,stripBOM:dh,inherits:ph,toFlatObject:gh,kindOf:Jo,kindOfTest:Qn,endsWith:mh,toArray:vh,forEachEntry:bh,matchAll:wh,isHTMLForm:Ah,hasOwnProperty:Pu,hasOwnProp:Pu,reduceDescriptors:hc,freezeMethods:Lh,toObjectSet:Nh,toCamelCase:Sh,noop:_h,toFiniteNumber:Ph,findKey:cc,global:fi,isContextDefined:fc,ALPHABET:dc,generateString:kh,isSpecCompliantForm:Ch,toJSONObject:Fh,isAsyncFn:Ih,isThenable:Oh,setImmediate:pc,asap:jh};function re(e,t,n,i,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),i&&(this.request=i),o&&(this.response=o,this.status=o.status?o.status:null)}mt.inherits(re,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:mt.toJSONObject(this.config),code:this.code,status:this.status}}});const gc=re.prototype,mc={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{mc[e]={value:e}});Object.defineProperties(re,mc);Object.defineProperty(gc,"isAxiosError",{value:!0});re.from=(e,t,n,i,o,a)=>{const l=Object.create(gc);return mt.toFlatObject(e,l,function(f){return f!==Error.prototype},c=>c!=="isAxiosError"),re.call(l,e.message,t,n,i,o),l.cause=e,l.name=e.name,a&&Object.assign(l,a),l};const Eh=null;function bl(e){return mt.isPlainObject(e)||mt.isArray(e)}function vc(e){return mt.endsWith(e,"[]")?e.slice(0,-2):e}function Cu(e,t,n){return e?e.concat(t).map(function(o,a){return o=vc(o),!n&&a?"["+o+"]":o}).join(n?".":""):t}function Th(e){return mt.isArray(e)&&!e.some(bl)}const Rh=mt.toFlatObject(mt,{},null,function(t){return/^is[A-Z]/.test(t)});function Xo(e,t,n){if(!mt.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=mt.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(_,k){return!mt.isUndefined(k[_])});const i=n.metaTokens,o=n.visitor||m,a=n.dots,l=n.indexes,f=(n.Blob||typeof Blob<"u"&&Blob)&&mt.isSpecCompliantForm(t);if(!mt.isFunction(o))throw new TypeError("visitor must be a function");function p(y){if(y===null)return"";if(mt.isDate(y))return y.toISOString();if(!f&&mt.isBlob(y))throw new re("Blob is not supported. Use a Buffer instead.");return mt.isArrayBuffer(y)||mt.isTypedArray(y)?f&&typeof Blob=="function"?new Blob([y]):Buffer.from(y):y}function m(y,_,k){let b=y;if(y&&!k&&typeof y=="object"){if(mt.endsWith(_,"{}"))_=i?_:_.slice(0,-2),y=JSON.stringify(y);else if(mt.isArray(y)&&Th(y)||(mt.isFileList(y)||mt.endsWith(_,"[]"))&&(b=mt.toArray(y)))return _=vc(_),b.forEach(function(C,R){!(mt.isUndefined(C)||C===null)&&t.append(l===!0?Cu([_],R,a):l===null?_:_+"[]",p(C))}),!1}return bl(y)?!0:(t.append(Cu(k,_,a),p(y)),!1)}const v=[],w=Object.assign(Rh,{defaultVisitor:m,convertValue:p,isVisitable:bl});function d(y,_){if(!mt.isUndefined(y)){if(v.indexOf(y)!==-1)throw Error("Circular reference detected in "+_.join("."));v.push(y),mt.forEach(y,function(b,L){(!(mt.isUndefined(b)||b===null)&&o.call(t,b,mt.isString(L)?L.trim():L,_,w))===!0&&d(b,_?_.concat(L):[L])}),v.pop()}}if(!mt.isObject(e))throw new TypeError("data must be an object");return d(e),t}
vendor: 5,402 bytes, line 2
2function Fu(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(i){return t[i]})}function Ml(e,t){this._pairs=[],e&&Xo(e,this,t)}const yc=Ml.prototype;yc.append=function(t,n){this._pairs.push([t,n])};yc.toString=function(t){const n=t?function(i){return t.call(this,i,Fu)}:Fu;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function Dh(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function bc(e,t,n){if(!t)return e;const i=n&&n.encode||Dh,o=n&&n.serialize;let a;if(o?a=o(t,n):a=mt.isURLSearchParams(t)?t.toString():new Ml(t,n).toString(i),a){const l=e.indexOf("#");l!==-1&&(e=e.slice(0,l)),e+=(e.indexOf("?")===-1?"?":"&")+a}return e}class Iu{constructor(){this.handlers=[]}use(t,n,i){return this.handlers.push({fulfilled:t,rejected:n,synchronous:i?i.synchronous:!1,runWhen:i?i.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){mt.forEach(this.handlers,function(i){i!==null&&t(i)})}}const wc={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Bh=typeof URLSearchParams<"u"?URLSearchParams:Ml,Mh=typeof FormData<"u"?FormData:null,qh=typeof Blob<"u"?Blob:null,zh={isBrowser:!0,classes:{URLSearchParams:Bh,FormData:Mh,Blob:qh},protocols:["http","https","file","blob","url","data"]},ql=typeof window<"u"&&typeof document<"u",wl=typeof navigator=="object"&&navigator||void 0,Uh=ql&&(!wl||["ReactNative","NativeScript","NS"].indexOf(wl.product)<0),Hh=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Wh=ql&&window.location.href||"http://localhost",Vh=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:ql,hasStandardBrowserEnv:Uh,hasStandardBrowserWebWorkerEnv:Hh,navigator:wl,origin:Wh},Symbol.toStringTag,{value:"Module"})),_n={...Vh,...zh};function Gh(e,t){return Xo(e,new _n.classes.URLSearchParams,Object.assign({visitor:function(n,i,o,a){return _n.isNode&&mt.isBuffer(n)?(this.append(i,n.toString("base64")),!1):a.defaultVisitor.apply(this,arguments)}},t))}function Jh(e){return mt.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Yh(e){const t={},n=Object.keys(e);let i;const o=n.length;let a;for(i=0;i<o;i++)a=n[i],t[a]=e[a];return t}function Ac(e){function t(n,i,o,a){let l=n[a++];if(l==="__proto__")return!0;const c=Number.isFinite(+l),f=a>=n.length;return l=!l&&mt.isArray(o)?o.length:l,f?(mt.hasOwnProp(o,l)?o[l]=[o[l],i]:o[l]=i,!c):((!o[l]||!mt.isObject(o[l]))&&(o[l]=[]),t(n,i,o[l],a)&&mt.isArray(o[l])&&(o[l]=Yh(o[l])),!c)}if(mt.isFormData(e)&&mt.isFunction(e.entries)){const n={};return mt.forEachEntry(e,(i,o)=>{t(Jh(i),o,n,0)}),n}return null}function Kh(e,t,n){if(mt.isString(e))try{return(t||JSON.parse)(e),mt.trim(e)}catch(i){if(i.name!=="SyntaxError")throw i}return(n||JSON.stringify)(e)}const Va={transitional:wc,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const i=n.getContentType()||"",o=i.indexOf("application/json")>-1,a=mt.isObject(t);if(a&&mt.isHTMLForm(t)&&(t=new FormData(t)),mt.isFormData(t))return o?JSON.stringify(Ac(t)):t;if(mt.isArrayBuffer(t)||mt.isBuffer(t)||mt.isStream(t)||mt.isFile(t)||mt.isBlob(t)||mt.isReadableStream(t))return t;if(mt.isArrayBufferView(t))return t.buffer;if(mt.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let c;if(a){if(i.indexOf("application/x-www-form-urlencoded")>-1)return Gh(t,this.formSerializer).toString();if((c=mt.isFileList(t))||i.indexOf("multipart/form-data")>-1){const f=this.env&&this.env.FormData;return Xo(c?{"files[]":t}:t,f&&new f,this.formSerializer)}}return a||o?(n.setContentType("application/json",!1),Kh(t)):t}],transformResponse:[function(t){const n=this.transitional||Va.transitional,i=n&&n.forcedJSONParsing,o=this.responseType==="json";if(mt.isResponse(t)||mt.isReadableStream(t))return t;if(t&&mt.isString(t)&&(i&&!this.responseType||o)){const l=!(n&&n.silentJSONParsing)&&o;try{return JSON.parse(t)}catch(c){if(l)throw c.name==="SyntaxError"?re.from(c,re.ERR_BAD_RESPONSE,this,null,this.response):c}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:_n.classes.FormData,Blob:_n.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};mt.forEach(["delete","get","head","post","put","patch"],e=>{Va.headers[e]={}});const Xh=mt.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),$h=e=>{const t={};let n,i,o;return e&&e.split("\n").forEach(function(l){o=l.indexOf(":"),n=l.substring(0,o).trim().toLowerCase(),i=l.substring(o+1).trim(),!(!n||t[n]&&Xh[n])&&(n==="set-cookie"?t[n]?t[n].push(i):t[n]=[i]:t[n]=t[n]?t[n]+", "+i:i)}),t},Ou=Symbol("internals");function Oa(e){return e&&String(e).trim().toLowerCase()}function Ho(e){return e===!1||e==null?e:mt.isArray(e)?e.map(Ho):String(e)}function Qh(e){const t=Object.create(null),n=/([^\s,;
2=]+)\s*(?:=\s*([^,;]+))?/g;let i;for(;i=n.exec(e);)t[i[1]]=i[2];return t}const Zh=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function il(e,t,n,i,o){if(mt.isFunction(i))return i.call(this,t,n);if(o&&(t=n),!!mt.isString(t)){if(mt.isString(i))return t.indexOf(i)!==-1;if(mt.isRegExp(i))return i.test(t)}}function t1(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,i)=>n.toUpperCase()+i)}function e1(e,t){const n=mt.toCamelCase(" "+t);["get","set","has"].forEach(i=>{Object.defineProperty(e,i+n,{value:function(o,a,l){return this[i].call(this,t,o,a,l)},configurable:!0})})}class yn{constructor(t){t&&this.set(t)}set(t,n,i){const o=this;function a(c,f,p){const m=Oa(f);if(!m)throw new Error("header name must be a non-empty string");const v=mt.findKey(o,m);(!v||o[v]===void 0||p===!0||p===void 0&&o[v]!==!1)&&(o[v||f]=Ho(c))}const l=(c,f)=>mt.forEach(c,(p,m)=>a(p,m,f));if(mt.isPlainObject(t)||t instanceof this.constructor)l(t,n);else if(mt.isString(t)&&(t=t.trim())&&!Zh(t))l($h(t),n);else if(mt.isHeaders(t))for(const[c,f]of t.entries())a(f,c,i);else t!=null&&a(n,t,i);return this}get(t,n){if(t=Oa(t),t){const i=mt.findKey(this,t);if(i){const o=this[i];if(!n)return o;if(n===!0)return Qh(o);if(mt.isFunction(n))return n.call(this,o,i);if(mt.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Oa(t),t){const i=mt.findKey(this,t);return!!(i&&this[i]!==void 0&&(!n||il(this,this[i],i,n)))}return!1}delete(t,n){const i=this;let o=!1;function a(l){if(l=Oa(l),l){const c=mt.findKey(i,l);c&&(!n||il(i,i[c],c,n))&&(delete i[c],o=!0)}}return mt.isArray(t)?t.forEach(a):a(t),o}clear(t){const n=Object.keys(this);let i=n.length,o=!1;for(;i--;){const a=n[i];(!t||il(this,this[a],a,t,!0))&&(delete this[a],o=!0)}return o}normalize(t){const n=this,i={};return mt.forEach(this,(o,a)=>{const l=mt.findKey(i,a);if(l){n[l]=Ho(o),delete n[a];return}const c=t?t1(a):String(a).trim();c!==a&&delete n[a],n[c]=Ho(o),i[c]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return mt.forEach(this,(i,o)=>{i!=null&&i!==!1&&(n[o]=t&&mt.isArray(i)?i.join(", "):i)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const i=new this(t);return n.forEach(o=>i.set(o)),i}static accessor(t){const i=(this[Ou]=this[Ou]={accessors:{}}).accessors,o=this.prototype;function a(l){const c=Oa(l);i[c]||(e1(o,l),i[c]=!0)}return mt.isArray(t)?t.forEach(a):a(t),this}}yn.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);mt.reduceDescriptors(yn.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(i){this[n]=i}}});mt.freezeMethods(yn);function al(e,t){const n=this||Va,i=t||n,o=yn.from(i.headers);let a=i.data;return mt.forEach(e,function(c){a=c.call(n,a,o.normalize(),t?t.status:void 0)}),o.normalize(),a}function Sc(e){return!!(e&&e.__CANCEL__)}function ea(e,t,n){re.call(this,e==null?"canceled":e,re.ERR_CANCELED,t,n),this.name="CanceledError"}mt.inherits(ea,re,{__CANCEL__:!0});function xc(e,t,n){const i=n.config.validateStatus;!n.status||!i||i(n.status)?e(n):t(new re("Request failed with status code "+n.status,[re.ERR_BAD_REQUEST,re.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function n1(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function r1(e,t){e=e||10;const n=new Array(e),i=new Array(e);let o=0,a=0,l;return t=t!==void 0?t:1e3,function(f){const p=Date.now(),m=i[a];l||(l=p),n[o]=f,i[o]=p;let v=a,w=0;for(;v!==o;)w+=n[v++],v=v%e;if(o=(o+1)%e,o===a&&(a=(a+1)%e),p-l<t)return;const d=m&&p-m;return d?Math.round(w*1e3/d):void 0}}function i1(e,t){let n=0,i=1e3/t,o,a;const l=(p,m=Date.now())=>{n=m,o=null,a&&(clearTimeout(a),a=null),e.apply(null,p)};return[(...p)=>{const m=Date.now(),v=m-n;v>=i?l(p,m):(o=p,a||(a=setTimeout(()=>{a=null,l(o)},i-v)))},()=>o&&l(o)]}const Wo=(e,t,n=3)=>{let i=0;const o=r1(50,250);return i1(a=>{const l=a.loaded,c=a.lengthComputable?a.total:void 0,f=l-i,p=o(f),m=l<=c;i=l;const v={loaded:l,total:c,progress:c?l/c:void 0,bytes:f,rate:p||void 0,estimated:p&&c&&m?(c-l)/p:void 0,event:a,lengthComputable:c!=null,[t?"download":"upload"]:!0};e(v)},n)},ju=(e,t)=>{const n=e!=null;return[i=>t[0]({lengthComputable:n,total:e,loaded:i}),t[1]]},Eu=e=>(...t)=>mt.asap(()=>e(...t)),a1=_n.hasStandardBrowserEnv?function(){const t=_n.navigator&&/(msie|trident)/i.test(_n.navigator.userAgent),n=document.createElement("a");let i;function o(a){let l=a;return t&&(n.setAttribute("href",l),l=n.href),n.setAttribute("href",l),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return i=o(window.location.href),function(l){const c=mt.isString(l)?o(l):l;return c.protocol===i.protocol&&c.host===i.host}}():function(){return function(){return!0}}(),o1=_n.hasStandardBrowserEnv?{write(e,t,n,i,o,a){const l=[e+"="+encodeURIComponent(t)];mt.isNumber(n)&&l.push("expires="+new Date(n).toGMTString()),mt.isString(i)&&l.push("path="+i),mt.isString(o)&&l.push("domain="+o),a===!0&&l.push("secure"),document.cookie=l.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function s1(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function l1(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Lc(e,t){return e&&!s1(t)?l1(e,t):t}const Tu=e=>e instanceof yn?{...e}:e;function yi(e,t){t=t||{};const n={};function i(p,m,v){return mt.isPlainObject(p)&&mt.isPlainObject(m)?mt.merge.call({caseless:v},p,m):mt.isPlainObject(m)?mt.merge({},m):mt.isArray(m)?m.slice():m}function o(p,m,v){if(mt.isUndefined(m)){if(!mt.isUndefined(p))return i(void 0,p,v)}else return i(p,m,v)}function a(p,m){if(!mt.isUndefined(m))return i(void 0,m)}function l(p,m){if(mt.isUndefined(m)){if(!mt.isUndefined(p))return i(void 0,p)}else return i(void 0,m)}function c(p,m,v){if(v in t)return i(p,m);if(v in e)return i(void 0,p)}const f={url:a,method:a,data:a,baseURL:l,transformRequest:l,transformResponse:l,paramsSerializer:l,timeout:l,timeoutMessage:l,withCredentials:l,withXSRFToken:l,adapter:l,responseType:l,xsrfCookieName:l,xsrfHeaderName:l,onUploadProgress:l,onDownloadProgress:l,decompress:l,maxContentLength:l,maxBodyLength:l,beforeRedirect:l,transport:l,httpAgent:l,httpsAgent:l,cancelToken:l,socketPath:l,responseEncoding:l,validateStatus:c,headers:(p,m)=>o(Tu(p),Tu(m),!0)};return mt.forEach(Object.keys(Object.assign({},e,t)),function(m){const v=f[m]||o,w=v(e[m],t[m],m);mt.isUndefined(w)&&v!==c||(n[m]=w)}),n}const Nc=e=>{const t=yi({},e);let{data:n,withXSRFToken:i,xsrfHeaderName:o,xsrfCookieName:a,headers:l,auth:c}=t;t.headers=l=yn.from(l),t.url=bc(Lc(t.baseURL,t.url),e.params,e.paramsSerializer),c&&l.set("Authorization","Basic "+btoa((c.username||"")+":"+(c.password?unescape(encodeURIComponent(c.password)):"")));let f;if(mt.isFormData(n)){if(_n.hasStandardBrowserEnv||_n.hasStandardBrowserWebWorkerEnv)l.setContentType(void 0);else if((f=l.getContentType())!==!1){const[p,...m]=f?f.split(";").map(v=>
2v.trim()).filter(Boolean):[];l.setContentType([p||"multipart/form-data",...m].join("; "))}}if(_n.hasStandardBrowserEnv&&(i&&mt.isFunction(i)&&(i=i(t)),i||i!==!1&&a1(t.url))){const p=o&&a&&o1.read(a);p&&l.set(o,p)}return t},u1=typeof XMLHttpRequest<"u",c1=u1&&function(e){return new Promise(function(n,i){const o=Nc(e);let a=o.data;const l=yn.from(o.headers).normalize();let{responseType:c,onUploadProgress:f,onDownloadProgress:p}=o,m,v,w,d,y;function _(){d&&d(),y&&y(),o.cancelToken&&o.cancelToken.unsubscribe(m),o.signal&&o.signal.removeEventListener("abort",m)}let k=new XMLHttpRequest;k.open(o.method.toUpperCase(),o.url,!0),k.timeout=o.timeout;function b(){if(!k)return;const C=yn.from("getAllResponseHeaders"in k&&k.getAllResponseHeaders()),U={data:!c||c==="text"||c==="json"?k.responseText:k.response,status:k.status,statusText:k.statusText,headers:C,config:e,request:k};xc(function(E){n(E),_()},function(E){i(E),_()},U),k=null}"onloadend"in k?k.onloadend=b:k.onreadystatechange=function(){!k||k.readyState!==4||k.status===0&&!(k.responseURL&&k.responseURL.indexOf("file:")===0)||setTimeout(b)},k.onabort=function(){k&&(i(new re("Request aborted",re.ECONNABORTED,e,k)),k=null)},k.onerror=function(){i(new re("Network Error",re.ERR_NETWORK,e,k)),k=null},k.ontimeout=function(){let R=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const U=o.transitional||wc;o.timeoutErrorMessage&&(R=o.timeoutErrorMessage),i(new re(R,U.clarifyTimeoutError?re.ETIMEDOUT:re.ECONNABORTED,e,k)),k=null},a===void 0&&l.setContentType(null),"setRequestHeader"in k&&mt.forEach(l.toJSON(),function(R,U){k.setRequestHeader(U,R)}),mt.isUndefined(o.withCredentials)||(k.withCredentials=!!o.withCredentials),c&&c!=="json"&&(k.responseType=o.responseType),p&&([w,y]=Wo(p,!0),k.addEventListener("progress",w)),f&&k.upload&&([v,d]=Wo(f),k.upload.addEventListener("progress",v),k.upload.addEventListener("loadend",d)),(o.cancelToken||o.signal)&&(m=C=>{k&&(i(!C||C.type?new ea(null,e,k):C),k.abort(),k=null)},o.cancelToken&&o.cancelToken.subscribe(m),o.signal&&(o.signal.aborted?m():o.signal.addEventListener("abort",m)));const L=n1(o.url);if(L&&_n.protocols.indexOf(L)===-1){i(new re("Unsupported protocol "+L+":",re.ERR_BAD_REQUEST,e));return}k.send(a||null)})},f1=(e,t)=>{let n=new AbortController,i;const o=function(f){if(!i){i=!0,l();const p=f instanceof Error?f:this.reason;n.abort(p instanceof re?p:new ea(p instanceof Error?p.message:p))}};let a=t&&setTimeout(()=>{o(new re("timeout ".concat(t," of ms exceeded"),re.ETIMEDOUT))},t);const l=()=>{e&&(a&&clearTimeout(a),a=null,e.forEach(f=>{f&&(f.removeEventListener?f.removeEventListener("abort",o):f.unsubscribe(o))}),e=null)};e.forEach(f=>f&&f.addEventListener&&f.addEventListener("abort",o));const{signal:c}=n;return c.unsubscribe=l,[c,()=>{a&&clearTimeout(a),a=null}]},h1=function*(e,t){let n=e.byteLength;if(!t||n<t){yield e;return}let i=0,o;for(;i<n;)o=i+t,yield e.slice(i,o),i=o},d1=async function*(e,t,n){for await(const i of e)yield*h1(ArrayBuffer.isView(i)?i:await n(String(i)),t)},Ru=(e,t,n,i,o)=>{const a=d1(e,t,o);let l=0,c,f=p=>{c||(c=!0,i&&i(p))};return new ReadableStream({async pull(p){try{const{done:m,value:v}=await a.next();if(m){f(),p.close();return}let w=v.byteLength;if(n){let d=l+=w;n(d)}p.enqueue(new Uint8Array(v))}catch(m){throw f(m),m}},cancel(p){return f(p),a.return()}},{highWaterMark:2})},$o=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",_c=$o&&typeof ReadableStream=="function",Al=$o&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),Pc=(e,...t)=>{try{return!!e(...t)}catch(n){return!1}},p1=_c&&Pc(()=>{let e=!1;const t=new Request(_n.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),Du=64*1024,Sl=_c&&Pc(()=>mt.isReadableStream(new Response("").body)),Vo={stream:Sl&&(e=>e.body)};$o&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!Vo[t]&&(Vo[t]=mt.isFunction(e[t])?n=>n[t]():(n,i)=>{throw new re("Response type '".concat(t,"' is not supported"),re.ERR_NOT_SUPPORT,i)})})})(new Response);const g1=async e=>{if(e==null)return 0;if(mt.isBlob(e))return e.size;
2if(mt.isSpecCompliantForm(e))return(await new Request(e).arrayBuffer()).byteLength;if(mt.isArrayBufferView(e)||mt.isArrayBuffer(e))return e.byteLength;if(mt.isURLSearchParams(e)&&(e=e+""),mt.isString(e))return(await Al(e)).byteLength},m1=async(e,t)=>{const n=mt.toFiniteNumber(e.getContentLength());return n==null?g1(t):n},v1=$o&&(async e=>{let{url:t,method:n,data:i,signal:o,cancelToken:a,timeout:l,onDownloadProgress:c,onUploadProgress:f,responseType:p,headers:m,withCredentials:v="same-origin",fetchOptions:w}=Nc(e);p=p?(p+"").toLowerCase():"text";let[d,y]=o||a||l?f1([o,a],l):[],_,k;const b=()=>{!_&&setTimeout(()=>{d&&d.unsubscribe()}),_=!0};let L;try{if(f&&p1&&n!=="get"&&n!=="head"&&(L=await m1(m,i))!==0){let E=new Request(t,{method:"POST",body:i,duplex:"half"}),O;if(mt.isFormData(i)&&(O=E.headers.get("content-type"))&&m.setContentType(O),E.body){const[$,Q]=ju(L,Wo(Eu(f)));i=Ru(E.body,Du,$,Q,Al)}}mt.isString(v)||(v=v?"include":"omit");const C="credentials"in Request.prototype;k=new Request(t,{...w,signal:d,method:n.toUpperCase(),headers:m.normalize().toJSON(),body:i,duplex:"half",credentials:C?v:void 0});let R=await fetch(k);const U=Sl&&(p==="stream"||p==="response");if(Sl&&(c||U)){const E={};["status","statusText","headers"].forEach(P=>{E[P]=R[P]});const O=mt.toFiniteNumber(R.headers.get("content-length")),[$,Q]=c&&ju(O,Wo(Eu(c),!0))||[];R=new Response(Ru(R.body,Du,$,()=>{Q&&Q(),U&&b()},Al),E)}p=p||"text";let J=await Vo[mt.findKey(Vo,p)||"text"](R,e);return!U&&b(),y&&y(),await new Promise((E,O)=>{xc(E,O,{data:J,headers:yn.from(R.headers),status:R.status,statusText:R.statusText,config:e,request:k})})}catch(C){throw b(),C&&C.name==="TypeError"&&/fetch/i.test(C.message)?Object.assign(new re("Network Error",re.ERR_NETWORK,e,k),{cause:C.cause||C}):re.from(C,C&&C.code,e,k)}}),xl={http:Eh,xhr:c1,fetch:v1};mt.forEach(xl,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(n){}Object.defineProperty(e,"adapterName",{value:t})}});const Bu=e=>"- ".concat(e),y1=e=>mt.isFunction(e)||e===null||e===!1,kc={getAdapter:e=>{e=mt.isArray(e)?e:[e];const{length:t}=e;let n,i;const o={};for(let a=0;a<t;a++){n=e[a];let l;if(i=n,!y1(n)&&(i=xl[(l=String(n)).toLowerCase()],i===void 0))throw new re("Unknown adapter '".concat(l,"'"));if(i)break;o[l||"#"+a]=i}if(!i){const a=Object.entries(o).map(([c,f])=>"adapter ".concat(c," ")+(f===!1?"is not supported by the environment":"is not available in the build"));let l=t?a.length>1?"since :\n"+a.map(Bu).join("\n"):" "+Bu(a[0]):"as no adapter specified";throw new re("There is no suitable adapter to dispatch the request "+l,"ERR_NOT_SUPPORT")}return i},adapters:xl};function ol(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new ea(null,e)}function Mu(e){return ol(e),e.headers=yn.from(e.headers),e.data=al.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),kc.getAdapter(e.adapter||Va.adapter)(e).then(function(i){return ol(e),i.data=al.call(e,e.transformResponse,i),i.headers=yn.from(i.headers),i},function(i){return Sc(i)||(ol(e),i&&i.response&&(i.response.data=al.call(e,e.transformResponse,i.response),i.response.headers=yn.from(i.response.headers))),Promise.reject(i)})}const Cc="1.7.5",zl={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{zl[e]=function(i){return typeof i===e||"a"+(t<1?"n ":" ")+e}});const qu={};zl.transitional=function(t,n,i){function o(a,l){return"[Axios v"+Cc+"] Transitional option '"+a+"'"+l+(i?". "+i:"")}return(a,l,c)=>{if(t===!1)throw new re(o(l," has been removed"+(n?" in "+n:"")),re.ERR_DEPRECATED);return n&&!qu[l]&&(qu[l]=!0,console.warn(o(l," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(a,l,c):!0}};function b1(e,t,n){if(typeof e!="object")throw new re("options must be an object",re.ERR_BAD_OPTION_VALUE);const i=Object.keys(e);let o=i.length;for(;o-- >0;){const a=i[o],l=t[a];if(l){const c=e[a],f=c===void 0||l(c,a,e);if(f!==!0)throw new re("option "+a+" must be "+f,re.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new re("Unknown option "+a,re.ERR_BAD_OPTION)}}const Ll={assertOptions:b1,validators:zl},Vr=Ll.validators;class di{constructor(t){this.defaults=t,this.interceptors={request:new Iu,response:new Iu}}async request(t,n){try{return await this._request(t,n)}catch(i){if(i instanceof Error){let o;Error.captureStackTrace?Error.captureStackTrace(o={}):o=new Error;const a=o.stack?o.stack.replace(/^.+\n/,""):"";try{i.stack?a&&!String(i.stack).endsWith(a.replace(/^.+\n.+\n/,""))&&(i.stack+="\n"+a):i.stack=a}catch(l){}}throw i}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=yi(this.defaults,n);const{transitional:i,paramsSerializer:o,headers:a}=n;i!==void 0&&Ll.assertOptions(i,{silentJSONParsing:Vr.transitional(Vr.boolean),forcedJSONParsing:Vr.transitional(Vr.boolean),clarifyTimeoutError:Vr.transitional(Vr.boolean)}
vendor: 2,605 bytes, line 2
2,!1),o!=null&&(mt.isFunction(o)?n.paramsSerializer={serialize:o}:Ll.assertOptions(o,{encode:Vr.function,serialize:Vr.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let l=a&&mt.merge(a.common,a[n.method]);a&&mt.forEach(["delete","get","head","post","put","patch","common"],y=>{delete a[y]}),n.headers=yn.concat(l,a);const c=[];let f=!0;this.interceptors.request.forEach(function(_){typeof _.runWhen=="function"&&_.runWhen(n)===!1||(f=f&&_.synchronous,c.unshift(_.fulfilled,_.rejected))});const p=[];this.interceptors.response.forEach(function(_){p.push(_.fulfilled,_.rejected)});let m,v=0,w;if(!f){const y=[Mu.bind(this),void 0];for(y.unshift.apply(y,c),y.push.apply(y,p),w=y.length,m=Promise.resolve(n);v<w;)m=m.then(y[v++],y[v++]);return m}w=c.length;let d=n;for(v=0;v<w;){const y=c[v++],_=c[v++];try{d=y(d)}catch(k){_.call(this,k);break}}try{m=Mu.call(this,d)}catch(y){return Promise.reject(y)}for(v=0,w=p.length;v<w;)m=m.then(p[v++],p[v++]);return m}getUri(t){t=yi(this.defaults,t);const n=Lc(t.baseURL,t.url);return bc(n,t.params,t.paramsSerializer)}}mt.forEach(["delete","get","head","options"],function(t){di.prototype[t]=function(n,i){return this.request(yi(i||{},{method:t,url:n,data:(i||{}).data}))}});mt.forEach(["post","put","patch"],function(t){function n(i){return function(a,l,c){return this.request(yi(c||{},{method:t,headers:i?{"Content-Type":"multipart/form-data"}:{},url:a,data:l}))}}di.prototype[t]=n(),di.prototype[t+"Form"]=n(!0)});class Ul{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(a){n=a});const i=this;this.promise.then(o=>{if(!i._listeners)return;let a=i._listeners.length;for(;a-- >0;)i._listeners[a](o);i._listeners=null}),this.promise.then=o=>{let a;const l=new Promise(c=>{i.subscribe(c),a=c}).then(o);return l.cancel=function(){i.unsubscribe(a)},l},t(function(a,l,c){i.reason||(i.reason=new ea(a,l,c),n(i.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new Ul(function(o){t=o}),cancel:t}}}function w1(e){return function(n){return e.apply(null,n)}}function A1(e){return mt.isObject(e)&&e.isAxiosError===!0}const Nl={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,Parti
2alContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Nl).forEach(([e,t])=>{Nl[t]=e});function Fc(e){const t=new di(e),n=sc(di.prototype.request,t);return mt.extend(n,di.prototype,t,{allOwnKeys:!0}),mt.extend(n,t,null,{allOwnKeys:!0}),n.create=function(o){return Fc(yi(e,o))},n}const We=Fc(Va);We.Axios=di;We.CanceledError=ea;We.CancelToken=Ul;We.isCancel=Sc;We.VERSION=Cc;We.toFormData=Xo;We.AxiosError=re;We.Cancel=We.CanceledError;We.all=function(t){return Promise.all(t)};We.spread=w1;We.isAxiosError=A1;We.mergeConfig=yi;We.AxiosHeaders=yn;We.formToJSON=e=>Ac(mt.isHTMLForm(e)?new FormData(e):e);We.getAdapter=kc.getAdapter;We.HttpStatusCode=Nl;We.default=We;function ye(e){"@babel/helpers - typeof";return ye=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ye(e)}var vn=Uint8Array,cn=Uint16Array,za=Uint32Array,Qo=new vn([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),Zo=new vn([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),_l=new vn([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),Ic=function(e,t){for(var n=new cn(31),i=0;i<31;++i)n[i]=t+=1<<e[i-1];for(var o=new za(n[30]),i=1;i<30;++i)for(var a=n[i];a<n[i+1];++a)o[a]=a-n[i]<<5|i;return[n,o]},Oc=Ic(Qo,2),jc=Oc[0],Pl=Oc[1];jc[28]=258,Pl[258]=28;var Ec=Ic(Zo,0),S1=Ec[0],zu=Ec[1],kl=new cn(32768);for(var Pe=0;Pe<32768;++Pe){var Gr=(Pe&43690)>>>1|(Pe&21845)<<1;Gr=(Gr&52428)>>>2|(Gr&13107)<<2,Gr=(Gr&61680)>>>4|(Gr&3855)<<4,kl[Pe]=((Gr&65280)>>>8|(Gr&255)<<8)>>>1}var hr=function(e,t,n){for(var i=e.length,o=0,a=new cn(t);o<i;++o)++a[e[o]-1];var l=new cn(t);for(o=0;o<t;
vendor: 4,820 bytes, line 2
2++o)l[o]=l[o-1]+a[o-1]<<1;var c;if(n){c=new cn(1<<t);var f=15-t;for(o=0;o<i;++o)if(e[o])for(var p=o<<4|e[o],m=t-e[o],v=l[e[o]-1]++<<m,w=v|(1<<m)-1;v<=w;++v)c[kl[v]>>>f]=p}else for(c=new cn(i),o=0;o<i;++o)c[o]=kl[l[e[o]-1]++]>>>15-e[o];return c},$r=new vn(288);for(var Pe=0;Pe<144;++Pe)$r[Pe]=8;for(var Pe=144;Pe<256;++Pe)$r[Pe]=9;for(var Pe=256;Pe<280;++Pe)$r[Pe]=7;for(var Pe=280;Pe<288;++Pe)$r[Pe]=8;var Ua=new vn(32);for(var Pe=0;Pe<32;++Pe)Ua[Pe]=5;var x1=hr($r,9,0),L1=hr($r,9,1),N1=hr(Ua,5,0),_1=hr(Ua,5,1),sl=function(e){for(var t=e[0],n=1;n<e.length;++n)e[n]>t&&(t=e[n]);return t},Xn=function(e,t,n){var i=t/8>>0;return(e[i]|e[i+1]<<8)>>>(t&7)&n},ll=function(e,t){var n=t/8>>0;return(e[n]|e[n+1]<<8|e[n+2]<<16)>>>(t&7)},Hl=function(e){return(e/8>>0)+(e&7&&1)},Tc=function(e,t,n){(n==null||n>e.length)&&(n=e.length);var i=new(e instanceof cn?cn:e instanceof za?za:vn)(n-t);return i.set(e.subarray(t,n)),i},P1=function(e,t,n){var i=e.length,o=!t||n,a=!n||n.i;n||(n={}),t||(t=new vn(i*3));var l=function(Z){var st=t.length;if(Z>st){var ut=new vn(Math.max(st*2,Z));ut.set(t),t=ut}},c=n.f||0,f=n.p||0,p=n.b||0,m=n.l,v=n.d,w=n.m,d=n.n,y=i*8;do{if(!m){n.f=c=Xn(e,f,1);var _=Xn(e,f+1,3);if(f+=3,_)if(_==1)m=L1,v=_1,w=9,d=5;else if(_==2){var C=Xn(e,f,31)+257,R=Xn(e,f+10,15)+4,U=C+Xn(e,f+5,31)+1;f+=14;for(var J=new vn(U),E=new vn(19),O=0;O<R;++O)E[_l[O]]=Xn(e,f+O*3,7);f+=R*3;var $=sl(E),Q=(1<<$)-1;if(!a&&f+U*($+7)>y)break;for(var P=hr(E,$,1),O=0;O<U;){var A=P[Xn(e,f,Q)];f+=A&15;var k=A>>>4;if(k<16)J[O++]=k;else{var z=0,B=0;for(k==16?(B=3+Xn(e,f,3),f+=2,z=J[O-1]):k==17?(B=3+Xn(e,f,7),f+=3):k==18&&(B=11+Xn(e,f,127),f+=7);B--;)J[O++]=z}}var ot=J.subarray(0,C),W=J.subarray(C);w=sl(ot),d=sl(W),m=hr(ot,w,1),v=hr(W,d,1)}else throw"invalid block type";else{var k=Hl(f)+4,b=e[k-4]|e[k-3]<<8,L=k+b;if(L>i){if(a)throw"unexpected EOF";break}o&&l(p+b),t.set(e.subarray(k,L),p),n.b=p+=b,n.p=f=L*8;continue}if(f>y)throw"unexpected EOF"}o&&l(p+131072);for(var H=(1<<w)-1,Y=(1<<d)-1,K=w+d+18;a||f+K<y;){var z=m[ll(e,f)&H],et=z>>>4;if(f+=z&15,f>y)throw"unexpected EOF";if(!z)throw"invalid length/literal";if(et<256)t[p++]=et;else if(et==256){m=null;break}else{var dt=et-254;if(et>264){var O=et-257,S=Qo[O];dt=Xn(e,f,(1<<S)-1)+jc[O],f+=S}var D=v[ll(e,f)&Y],M=D>>>4;if(!D)throw"invalid distance";f+=D&15;var W=S1[M];if(M>3){var S=Zo[M];W+=ll(e,f)&(1<<S)-1,f+=S}if(f>y)throw"unexpected EOF";o&&l(p+131072);for(var G=p+dt;p<G;p+=4)t[p]=t[p-W],t[p+1]=t[p+1-W],t[p+2]=t[p+2-W],t[p+3]=t[p+3-W];p=G}}n.l=m,n.p=f,n.b=p,m&&(c=1,n.m=w,n.d=v,n.n=d)}while(!c);return p==t.length?t:Tc(t,0,p)},Pr=function(e,t,n){n<<=t&7;var i=t/8>>0;e[i]|=n,e[i+1]|=n>>>8},ja=function(e,t,n){n<<=t&7;var i=t/8>>0;e[i]|=n,e[i+1]|=n>>>8,e[i+2]|=n>>>16},ul=function(e,t){for(var n=[],i=0;i<e.length;++i)e[i]&&n.push({s:i,f:e[i]});var o=n.length,a=n.slice();if(!o)return[new vn(0),0];if(o==1){var l=new vn(n[0].s+1);return l[n[0].s]=1,[l,1]}n.sort(function(U,J){return U.f-J.f}),n.push({s:-1,f:25001});var c=n[0],f=n[1],p=0,m=1,v=2;for(n[0]={s:-1,f:c.f+f.f,l:c,r:f};m!=o-1;)c=n[n[p].f<n[v].f?p++:v++],f=n[p!=m&&n[p].f<n[v].f?p++:v++],n[m++]={s:-1,f:c.f+f.f,l:c,r:f};for(var w=a[0].s,i=1;i<o;++i)a[i].s>w&&(w=a[i].s);var d=new cn(w+1),y=Cl(n[m-1],d,0);if(y>t){var i=0,_=0,k=y-t,b=1<<k;for(a.sort(function(J,E){return d[E.s]-d[J.s]||J.f-E.f});i<o;++i){var L=a[i].s;if(d[L]>t)_+=b-(1<<y-d[L]),d[L]=t;else break}for(_>>>=k;_>0;){var C=a[i].s;d[C]<t?_-=1<<t-d[C]++-1:++i}for(;i>=0&&_;--i){var R=a[i].s;d[R]==t&&(--d[R],++_)}y=t}return[new vn(d),y]},Cl=function(e,t,n){return e.s==-1?Math.max(Cl(e.l,t,n+1),Cl(e.r,t,n+1)):t[e.s]=n},Uu=function(e){for(var t=e.length;t&&!e[--t];);for(var n=new cn(++t),i=0,o=e[0],a=1,l=function(f){n[i++]=f},c=1;c<=t;++c)if(e[c]==o&&c!=t)++a;else{if(!o&&a>2){for(;a>138;a-=138)l(32754);a>2&&(l(a>10?a-11<<5|28690:a-3<<5|12305),a=0)}else if(a>3){for(l(o),--a;a>6;a-=6)l(8304);a>2&&(l(a-3<<5|8208),a=0)}for(;a--;)l(o);a=1,o=e[c]}return[n.subarray(0,i),t]},Ea=function(e,t){for(var n=0,i=0;i<t.length;++i)n+=e[i]*t[i];return n},Fl=function(e,t,n){var i=n.length,o=Hl(t+2);e[o]=i&255,e[o+1]=i>>>8,e[o+2]=e[o]^255,e[o+3]=e[o+1]^255;for(var a=0;a<i;++a)e[o+a+4]=n[a];return(o+4+i)*8},Hu=function(e,t,n,i,o,a,l,c,f,p,m){Pr(t,m++,n),++o[256];for(var v=ul(o,15),w=v[0],d=v[1],y=ul(a,15),_=y[0],k=y[1],b=Uu(w),L=b[0],C=b[1],R=Uu(_),U=R[0],J=R[1],E=new cn(19),O=0;O<L.length;++O)E[L[O]&31]++;for(var O=0;O<U.length;++O)E[U[O]&31]++;for(var $=ul(E,7),Q=$[0],P=$[1],A=19;A>4&&!Q[_l[A-1]];--A);var z=p+5<<3,B=Ea(o,$r)+Ea(a,Ua)+l,ot=Ea(o,w)+Ea(a,_)+l+14+3*A+Ea(E,Q)+(2*E[16]+3*E[17]+7*E[18]);if(z<=B&&z<=ot)return Fl(t,m,e.subarray(f,f+p));var W,H,Y,K;if(Pr(t,m,1+(ot<B)),m+=2,ot<B){W=hr(w,d,0),H=w,Y=hr(_,k,0),K=_;var et=hr(Q,P,0);Pr(t,m,C-257),Pr(t,m+5,J-1),Pr(t,m+10,A-4),m+=14;for(var O=0;O<A;++O)Pr(t,m+3*O,Q[_l[O]]);m+=3*A;for(var dt=[L,U],S=0;S<2;
2++S)for(var D=dt[S],O=0;O<D.length;++O){var M=D[O]&31;Pr(t,m,et[M]),m+=Q[M],M>15&&(Pr(t,m,D[O]>>>5&127),m+=D[O]>>>12)}}else W=x1,H=$r,Y=N1,K=Ua;for(var O=0;O<c;++O)if(i[O]>255){var M=i[O]>>>18&31;ja(t,m,W[M+257]),m+=H[M+257],M>7&&(Pr(t,m,i[O]>>>23&31),m+=Qo[M]);var G=i[O]&31;ja(t,m,Y[G]),m+=K[G],G>3&&(ja(t,m,i[O]>>>5&8191),m+=Zo[G])}else ja(t,m,W[i[O]]),m+=H[i[O]];return ja(t,m,W[256]),m+H[256]},k1=new za([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),C1=function(e,t,n,i,o,a){var l=e.length,c=new vn(i+l+5*(1+Math.floor(l/7e3))+o),f=c.subarray(i,c.length-o),p=0;if(!t||l<8)for(var m=0;m<=l;m+=65535){var v=m+65535;v<l?p=Fl(f,p,e.subarray(m,v)):(f[m]=a,p=Fl(f,p,e.subarray(m,l)))}else{for(var w=k1[t-1],d=w>>>13,y=w&8191,_=(1<<n)-1,k=new cn(32768),b=new cn(_+1),L=Math.ceil(n/3),C=2*L,R=function(Vt){return(e[Vt]^e[Vt+1]<<L^e[Vt+2]<<C)&_},U=new za(25e3),J=new cn(288),E=new cn(32),O=0,$=0,m=0,Q=0,P=0,A=0;m<l;++m){var z=R(m),B=m&32767,ot=b[z];if(k[B]=ot,b[z]=B,P<=m){var W=l-m;if((O>7e3||Q>24576)&&W>423){p=Hu(e,f,0,U,J,E,$,Q,A,m-A,p),Q=O=$=0,A=m;for(var H=0;H<286;++H)J[H]=0;for(var H=0;H<30;++H)E[H]=0}var Y=2,K=0,et=y,dt=B-ot&32767;if(W>2&&z==R(m-dt))for(var S=Math.min(d,W)-1,D=Math.min(32767,m),M=Math.min(258,W);dt<=D&&--et&&B!=ot;){if(e[m+Y]==e[m+Y-dt]){for(var G=0;G<M&&e[m+G]==e[m+G-dt];++G);if(G>Y){if(Y=G,K=dt,G>S)break;for(var Z=Math.min(dt,G-2),st=0,H=0;H<Z;++H){var ut=m-dt+H+32768&32767,ht=k[ut],kt=ut-ht+32768&32767;kt>st&&(st=kt,ot=ut)}}}B=ot,ot=k[B],dt+=B-ot+32768&32767}if(K){U[Q++]=268435456|Pl[Y]<<18|zu[K];var _t=Pl[Y]&31,It=zu[K]&31;$+=Qo[_t]+Zo[It],++J[257+_t],++E[It],P=m+Y,++O}else U[Q++]=e[m],++J[e[m]]}}p=Hu(e,f,a,U,J,E,$,Q,A,m-A,p)}return Tc(c,0,i+Hl(p)+o)},F1=function(){var e=1,t=0;return{p:function(n){for(var i=e,o=t,a=n.length,l=0;l!=a;){for(var c=Math.min(l+5552,a);l<c;++l)i+=n[l],o+=i;i%=65521,o%=65521}e=i,t=o},d:function(){return(e>>>8<<16|(t&255)<<8|t>>>8)+((e&255)<<23)*2}}},I1=function(e,t,n,i,o){return C1(e,t.level==null?6:t.level,t.mem==null?Math.ceil(Math.max(8,Math.min(13,Math.log(e.length)))*1.5):12+t.mem,n,i,!o)},O1=function(e,t,n){for(;n;++t)e[t]=n,n>>>=8},j1=function(e,t){var n=t.level,i=n==0?0:n<6?1:n==9?3:2;e[0]=120,e[1]=i<<6|(i?32-2*i:1)},E1=function(e){if((e[0]&15)!=8||e[0]>>>4>7||(e[0]<<8|e[1])%31)throw"invalid zlib data";if(e[1]&32)throw"invalid zlib data: preset dictionaries not supported"};function Il(e,t){t===void 0&&(t={});var n=F1();n.p(e);var i=I1(e,t,2,4);return j1(i,t),O1(i,i.length-4,n.d()),i}function T1(e,t){return P1((E1(e),e.subarray(2,-4)),t)}var Jt=function(){return typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:this}();function cl(){Jt.console&&typeof Jt.console.log=="function"&&Jt.console.log.apply(Jt.console,arguments)}var Le={log:cl,warn:function(e){Jt.console&&(typeof Jt.console.warn=="function"?Jt.console.warn.apply(Jt.console,arguments):cl.call(null,arguments))},error:function(e){Jt.console&&(typeof Jt.console.error=="function"?Jt.console.error.apply(Jt.console,arguments):cl(e))}};function fl(e,t,n){var i=new XMLHttpRequest;i.open("GET",e),i.responseType="blob",i.onload=function(){ci(i.response,t,n)},i.onerror=function(){Le.error("could not download file")},i.send()}function Wu(e){var t=new XMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch(n){}return t.status>=200&&t.status<=299}function Bo(e){try{e.dispatchEvent(new MouseEvent("click"))}catch(n){var t=document.createEvent("MouseEvents");
vendor: 3,413 bytes, lines 2-7
2t.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(t)}}var Ta,Ol,ci=Jt.saveAs||((typeof window>"u"?"undefined":ye(window))!=="object"||window!==Jt?function(){}:typeof HTMLAnchorElement<"u"&&"download"in HTMLAnchorElement.prototype?function(e,t,n){var i=Jt.URL||Jt.webkitURL,o=document.createElement("a");t=t||e.name||"download",o.download=t,o.rel="noopener",typeof e=="string"?(o.href=e,o.origin!==location.origin?Wu(o.href)?fl(e,t,n):Bo(o,o.target="_blank"):Bo(o)):(o.href=i.createObjectURL(e),setTimeout(function(){i.revokeObjectURL(o.href)},4e4),setTimeout(function(){Bo(o)},0))}:"msSaveOrOpenBlob"in navigator?function(e,t,n){if(t=t||e.name||"download",typeof e=="string")if(Wu(e))fl(e,t,n);else{var i=document.createElement("a");i.href=e,i.target="_blank",setTimeout(function(){Bo(i)})}else navigator.msSaveOrOpenBlob(function(o,a){return a===void 0?a={autoBom:!1}:ye(a)!=="object"&&(Le.warn("Deprecated: Expected third argument to be a object"),a={autoBom:!a}),a.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(o.type)?new Blob(["\uFEFF",o],{type:o.type}):o}(e,n),t)}:function(e,t,n,i){if((i=i||open("","_blank"))&&(i.document.title=i.document.body.innerText="downloading..."),typeof e=="string")return fl(e,t,n);var o=e.type==="application/octet-stream",a=/constructor/i.test(Jt.HTMLElement)||Jt.safari,l=/CriOS\/[\d]+/.test(navigator.userAgent);if((l||o&&a)&&(typeof FileReader>"u"?"undefined":ye(FileReader))==="object"){var c=new FileReader;c.onloadend=function(){var m=c.result;m=l?m:m.replace(/^data:[^;]*;/,"data:attachment/file;"),i?i.location.href=m:location=m,i=null},c.readAsDataURL(e)}else{var f=Jt.URL||Jt.webkitURL,p=f.createObjectURL(e);i?i.location=p:location.href=p,i=null,setTimeout(function(){f.revokeObjectURL(p)},4e4)}});/** 3 * A class to parse color values 4 * @author Stoyan Stefanov <[email protected]> 5 * {@link http://www.phpied.com/rgb-color-parser-in-javascript/} 6 * @license Use it if you like it 7 */function Rc(e){var t;e=e||"",this.ok=!1,e.charAt(0)=="#"&&(e=e.substr(1,6)),e={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee9
70",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"}[e=(e=e.replace(/ /g,"")).toLowerCase()]||e;for(var n=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(c){return[parseInt(c[1]),parseInt(c[2]),parseInt(c[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(c){return[parseInt(c[1],16),parseInt(c[2],16),parseInt(c[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(c){return[parseInt(c[1]+c[1],16),parseInt(c[2]+c[2],16),parseInt(c[3]+c[3],16)]}}],i=0;i<n.length;i++){var o=n[i].re,a=n[i].process,l=o.exec(e);l&&(t=a(l),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 c=this.r.toString(16),f=this.g.toString(16),p=this.b.toString(16);return c.length==1&&(c="0"+c),f.length==1&&(f="0"+f),p.length==1&&(p="0"+p),"#"+c+f+p}}/** 8 * @license 9 * Joseph Myers does not specify a particular license for his work. 10 * 11 * Author: Joseph Myers 12 * Accessed from: http://www.myersdaily.org/joseph/javascript/md5.js 13 * 14 * Modified by: Owen Leong 15 */function hl(e,t){var n=e[0],i=e[1],o=e[2],a=e[3];n=an(n,i,o,a,t[0],7,-680876936),a=an(a,n,i,o,t[1],12,-389564586),o=an(o,a,n,i,t[2],17,606105819),i=an(i,o,a,n,t[3],22,-1044525330),n=an(n,i,o,a,t[4],7,-176418897),a=an(a,n,i,o,t[5],12,1200080426),o=an(o,a,n,i,t[6],17,-1473231341),i=an(i,o,a,n,t[7],22,-45705983),n=an(n,i,o,a,t[8],7,1770035416),a=an(a,n,i,o,t[9],12,-1958414417),o=an(o,a,n,i,t[10],17,-42063),i=an(i,o,a,n,t[11],22,-1990404162),n=an(n,i,o,a,t[12],7,1804603682),a=an(a,n,i,o,t[13],12,-40341101),o=an(o,a,n,i,t[14],17,-1502002290),n=on(n,i=an(i,o,a,n,t[15],22,1236535329),o,a,t[1],5,-165796510),a=on(a,n,i,o,t[6],9,-1069501632),o=on(o,a,n,i,t[11],14,643717713),i=on(i,o,a,n,t[0],20,-373897302),n=on(n,i,o,a,t[5],5,-701558691),a=on(a,n,i,o,t[10],9,38016083),o=on(o,a,n,i,t[15],14,-660478335),i=on(i,o,a,n,t[4],20,-405537848),n=on(n,i,o,a,t[9],5,568446438),a=on(a,n,i,o,t[14],9,-1019803690),o=on(o,a,n,i,t[3],14,-187363961),i=on(i,o,a,n,t[8],20,1163531501),n=on(n,i,o,a,t[13],5,-1444681467),a=on(a,n,i,o,t[2],9,-51403784),o=on(o,a,n,i,t[7],14,1735328473),n=sn(n,i=on(i,o,a,n,t[12],20,-1926607734),o,a,t[5],4,-378558),a=sn(a,n,i,o,t[8],11,-2022574463),o=sn(o,a,n,i,t[11],16,1839030562),i=sn(i,o,a,n,t[14],23,-35309556),n=sn(n,i,o,a,t[1],4,-1530992060),a=sn(a,n,i,o,t[4],11,1272893353),o=sn(o,a,n,i,t[7],16,-155497632),i=sn(i,o,a,n,t[10],23,-1094730640),n=sn(n,i,o,a,t[13],4,681279174),a=sn(a,n,i,o,t[0],11,-358537222),o=sn(o,a,n,i,t[3],16,-722521979),i=sn(i,o,a,n,t[6],23,76029189),n=sn(n,i,o,a,t[9],4,-640364487),a=sn(a,n,i,o,t[12],11,-421815835),o=sn(o,a,n,i,t[15],16,530742520),n=ln(n,i=sn(i,o,a,n,t[2],23,-995338651),o,a,t[0],6,-198630844),a=ln(a,n,i,o,t[7],10,1126891415),o=ln(o,a,n,i,t[14],15,-1416354905),i=ln(i,o,a,n,t[5],21,-57434055),n=ln(n,i,o,a,t[12],6,1700485571),a=ln(a,n,i,o,t[3],10,-1894986606),o=ln(o,a,n,i,t[10],15,-1051523),i=ln(i,o,a,n,t[1],21,-2054922799),n=ln(n,i,o,a,t[8],6,1873313359),a=ln(a,n,i,o,t[15],10,-30611744),o=ln(o,a,n,i,t[6],15,-1560198380),i=ln(i,o,a,n,t[13],21,1309151649),n=ln(n,i,o,a,t[4],6,-145523070),a=ln(a,n,i,o,t[11],10,-1120210379),o=ln(o,a,n,i,t[2],15,718787259),i=ln(i,o,a,n,t[9],21,-343485551),e[0]=Kr(n,e[0]),e[1]=Kr(i,e[1]),e[2]=Kr(o,e[2]),e[3]=Kr(a,e[3])}function ts(e,t,n,i,o,a){return t=Kr(Kr(t,e),Kr(i,a)),Kr(t<<o|t>>>32-o,n)}function an(e,t,n,i,o,a,l){return ts(t&n|~t&i,e,t,o,a,l)}function on(e,t,n,i,o,a,l){return ts(t&i|n&~i,e,t,o,a,l)}function sn(e,t,n,i,o,a,l){return ts(t^n^i,e,t,o,a,l)}function ln(e,t,n,i,o,a,l){return ts(n^(t|~i),e,t,o,a,l)}function Dc(e){var t,n=e.length,i=[1732584193,-271733879,-1732584194,271733878];for(t=64;t<=e.length;t+=64)hl(i,R1(e.substring(t-64,t)));e=e.substring(t-64);var o=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(t=0;t<e.length;t++)o[t>>2]|=e.charCodeAt(t)<<(t%4<<3);if(o[t>>2]|=128<<(t%4<<3),t>55)for(hl(i,o),t=0;t<16;t++)o[t]=0;return o[14]=8*n,hl(i,o),i}function R1(e){var t,n=[];for(t=0;t<64;t+=4)n[t>>2]=e.charCodeAt(t)+(e.charCodeAt(t+1)<<8)+(e.charCodeAt(t+2)<<16)+(e.charCodeAt(t+3)<<24);return n}Ta=Jt.atob.bind(Jt),Ol=Jt.btoa.bind(Jt);var Vu="0123456789abcdef".split("");function D1(e){for(var t="",n=0;n<4;n++)t+=Vu[e>>8*n+4&15]+Vu[e>>8*n&15];return t}function B1(e){return String.fromCharCode((255&e)>>0,(65280&e)>>8,(16711680&e)>>16,(4278190080&e)>>24)}function jl(e){return Dc(e).map(B1).join("")}var M1=function(e){for(var t=0;t<e.length;t++)e[t]=D1(e[t]);return e.join("")}(Dc("hello"))!="5d41402abc4b2a76b9719d911017c592";function Kr(e,t){if(M1){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}return e+t&4294967295}/** 16 * @license 17 * FPDF is released under a permissive license: there is no usage restriction. 18 * You may embed it freely in your application (commercial or not), with or 19 * without modifications. 20 * 21 * Reference: http://www.fpdf.org/en/script/script37.php 22 */function El(e,t){var n,i,o,a;if(e!==n){for(var l=(o=e,a=1+(256/e.length>>0),new Array(a+1).join(o)),c=[],f=0;f<256;f++)c[f]=f;var p=0;for(f=0;f<256;f++){var m=c[f];p=(p+m+l.charCodeAt(f))%256,c[f]=c[p],c[p]=m}n=e,i=c}else c=i;var v=t.length,w=0,d=0,y="";for(f=0;f<v;f++)d=(d+(m=c[w=(w+1)%256]))%256,c[w]=c[d],c[d]=m,l=c[(c[w]+c[d])%256],y+=String.fromCharCode(t.charCodeAt(f)^l);return y}/** 23 * @license 24 * Licensed under the MIT License. 25 * http://opensource.org/licenses/mit-license 26 * Author: Owen Leong (@owenl131) 27 * Date: 15 Oct 2020 28 * References: 29 * https://www.cs.cmu.edu/~dst/Adobe/Gallery/anon21jul01-pdf-encryption.txt 30 * https://github.com/foliojs/pdfkit/blob/master/lib/security.js 31 * http://www.fpdf.org/en/script/script37.php 32 */var Gu={print:4,modify:8,copy:16,"annot-forms":32};function Qi(e,t,n,i){this.v=1,this.r=2;var o=192;e.forEach(function(c){if(Gu.perm!==void 0)throw new Error("Invalid permission: "+c);o+=Gu[c]}),this.padding="(¿N^NuÂAd\0NVÿú�\b..\0¶Ãh>Â/\f©þdSiz";
vendor: 4,162 bytes, line 32
32var a=(t+this.padding).substr(0,32),l=(n+this.padding).substr(0,32);this.O=this.processOwnerPassword(a,l),this.P=-(1+(255^o)),this.encryptionKey=jl(a+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(i)).substr(0,5),this.U=El(this.encryptionKey,this.padding)}function Zi(e){if(/[^\u0000-\u00ff]/.test(e))throw new Error("Invalid PDF Name Object: "+e+", Only accept ASCII characters.");for(var t="",n=e.length,i=0;i<n;i++){var o=e.charCodeAt(i);o<33||o===35||o===37||o===40||o===41||o===47||o===60||o===62||o===91||o===93||o===123||o===125||o>126?t+="#"+("0"+o.toString(16)).slice(-2):t+=e[i]}return t}function Ju(e){if(ye(e)!=="object")throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var t={};this.subscribe=function(n,i,o){if(o=o||!1,typeof n!="string"||typeof i!="function"||typeof o!="boolean")throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");t.hasOwnProperty(n)||(t[n]={});var a=Math.random().toString(35);return t[n][a]=[i,!!o],a},this.unsubscribe=function(n){for(var i in t)if(t[i][n])return delete t[i][n],Object.keys(t[i]).length===0&&delete t[i],!0;return!1},this.publish=function(n){if(t.hasOwnProperty(n)){var i=Array.prototype.slice.call(arguments,1),o=[];for(var a in t[n]){var l=t[n][a];try{l[0].apply(e,i)}catch(c){Jt.console&&Le.error("jsPDF PubSub Error",c.message,c)}l[1]&&o.push(a)}o.length&&o.forEach(this.unsubscribe)}},this.getTopics=function(){return t}}function Ha(e){if(!(this instanceof Ha))return new Ha(e);var t="opacity,stroke-opacity".split(",");for(var n in e)e.hasOwnProperty(n)&&t.indexOf(n)>=0&&(this[n]=e[n]);this.id="",this.objectNumber=-1}function Bc(e,t){this.gState=e,this.matrix=t,this.id="",this.objectNumber=-1}function Yr(e,t,n,i,o){if(!(this instanceof Yr))return new Yr(e,t,n,i,o);this.type=e==="axial"?2:3,this.coords=t,this.colors=n,Bc.call(this,i,o)}function hi(e,t,n,i,o){if(!(this instanceof hi))return new hi(e,t,n,i,o);this.boundingBox=e,this.xStep=t,this.yStep=n,this.stream="",this.cloneIndex=0,Bc.call(this,i,o)}function Wt(e){var t,n=typeof arguments[0]=="string"?arguments[0]:"p",i=arguments[1],o=arguments[2],a=arguments[3],l=[],c=1,f=16,p="S",m=null;ye(e=e||{})==="object"&&(n=e.orientation,i=e.unit||i,o=e.format||o,a=e.compress||e.compressPdf||a,(m=e.encryption||null)!==null&&(m.userPassword=m.userPassword||"",m.ownerPassword=m.ownerPassword||"",m.userPermissions=m.userPermissions||[]),c=typeof e.userUnit=="number"?Math.abs(e.userUnit):1,e.precision!==void 0&&(t=e.precision),e.floatPrecision!==void 0&&(f=e.floatPrecision),p=e.defaultPathOperation||"S"),l=e.filters||(a===!0?["FlateEncode"]:l),i=i||"mm",n=(""+(n||"P")).toLowerCase();var v=e.putOnlyUsedFonts||!1,w={},d={internal:{},__private__:{}};d.__private__.PubSub=Ju;var y="1.3",_=d.__private__.getPdfVersion=function(){return y};d.__private__.setPdfVersion=function(u){y=u};var k={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]};d.__private__.getPageFormats=function(){return k};var b=d.__private__.getPageFormat=function(u){return k[u]};o=o||"a4";var L={COMPAT:"compat",ADVANCED:"advanced"},C=L.COMPAT;function R(){this.saveGraphicsState(),X(new Gt(Et,0,0,-Et,0,Ir()*Et).toString()+" cm"),this.setFontSize(this.getFontSize()/Et),p="n",C=L.ADVANCED}function U(){this.restoreGraphicsState(),p="S",C=L.COMPAT}var J=d.__private__.combineFontStyleAndFontWeight=function(u,N){if(u=="bold"&&N=="normal"||u=="bold"&&N==4
3200||u=="normal"&&N=="italic"||u=="bold"&&N=="italic")throw new Error("Invalid Combination of fontweight and fontstyle");return N&&(u=N==400||N==="normal"?u==="italic"?"italic":"normal":N!=700&&N!=="bold"||u!=="normal"?(N==700?"bold":N)+""+u:"bold"),u};d.advancedAPI=function(u){var N=C===L.COMPAT;return N&&R.call(this),typeof u!="function"||(u(this),N&&U.call(this)),this},d.compatAPI=function(u){var N=C===L.ADVANCED;return N&&U.call(this),typeof u!="function"||(u(this),N&&R.call(this)),this},d.isAdvancedAPI=function(){return C===L.ADVANCED};var E,O=function(u){if(C!==L.ADVANCED)throw new Error(u+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},$=d.roundToPrecision=d.__private__.roundToPrecision=function(u,N){var V=t||N;if(isNaN(u)||isNaN(V))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return u.toFixed(V).replace(/0+$/,"")};E=d.hpf=d.__private__.hpf=typeof f=="number"?function(u){if(isNaN(u))throw new Error("Invalid argument passed to jsPDF.hpf");return $(u,f)}:f==="smart"?function(u){if(isNaN(u))throw new Error("Invalid argument passed to jsPDF.hpf");return $(u,u>-1&&u<1?16:5)}:function(u){if(isNaN(u))throw new Error("Invalid argument passed to jsPDF.hpf");return $(u,16)};var Q=d.f2=d.__private__.f2=function(u){if(isNaN(u))throw new Error("Invalid argument passed to jsPDF.f2");return $(u,2)},P=d.__private__.f3=function(u){if(isNaN(u))throw new Error("Invalid argument passed to jsPDF.f3");return $(u,3)},A=d.scale=d.__private__.scale=function(u){if(isNaN(u))throw new Error("Invalid argument passed to jsPDF.scale");return C===L.COMPAT?u*Et:C===L.ADVANCED?u:void 0},z=function(u){return C===L.COMPAT?Ir()-u:C===L.ADVANCED?u:void 0},B=function(u){return A(z(u))};d.__private__.setPrecision=d.setPrecision=function(u){typeof parseInt(u,10)=="number"&&(t=parseInt(u,10))};var ot,W="00000000000000000000000000000000",H=d.__private__.getFileId=function(){return W},Y=d.__private__.setFileId=function(u){return W=u!==void 0&&/^[a-fA-F0-9]{32}$/.test(u)?u.toUpperCase():W.split("").map(function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))}).join(""),m!==null&&(en=new Qi(m.userPermissions,m.userPassword,m.ownerPassword,W)),W};d.setFileId=function(u){return Y(u),this},d.getFileId=function(){return H()};var K=d.__private__.convertDateToPDFDate=function(u){var N=u.getTimezoneOffset(),V=N<0?"+":"-",tt=Math.floor(Math.abs(N/60)),lt=Math.abs(N%60),vt=[V,M(tt),"'",M(lt),"'"].join("");return["D:",u.getFullYear(),M(u.getMonth()+1),M(u.getDate()),M(u.getHours()),M(u.getMinutes()),M(u.getSeconds()),vt].join("")},et=d.__private__.convertPDFDateToDate=function(u){var N=parseInt(u.substr(2,4),10),V=parseInt(u.substr(6,2),10)-1,tt=parseInt(u.substr(8,2),10),lt=parseInt(u.substr(10,2),10),vt=parseInt(u.substr(12,2),10),Pt=parseInt(u.substr(14,2),10);return new Date(N,V,tt,lt,vt,Pt,0)},dt=d.__private__.setCreationDate=function(u){var N;if(u===void 0&&(u=new Date),u instanceof Date)N=K(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");N=u}return ot=N},S=d.__private__.getCreationDate=function(u){var N=ot;return u==="jsDate"&&(N=et(ot)),N};d.setCreationDate=function(u){return dt(u),this},d.getCreationDate=function(u){return S(u)};var D,M=d.__private__.padd2=function(u){return("0"+parseInt(u)).slice(-2)},G=d.__private__.padd2Hex=function(u){return("00"+(u=u.toString())).substr(u.length)},Z=0,st=[],ut=[],ht=0,kt=[],_t=[],It=!1,Tt=ut,Vt=function(){Z=0,ht=0,ut=[],st=[],kt=[],gr=qe(),Dn=qe()};d.__private__.setCustomOutputDestination=function(u){It=!0,Tt=u};var yt=function(u){It||(Tt=u)};d.__private__.resetCustomOutputDestination=function(){It=!1,Tt=ut};var X=d.__private__.out=function(u){return u=u.toString(),ht+=u.length+1,Tt.push(u),Tt},Xt=d.__private__.write=function(u){return X(arguments.length===1?u.toString():Array.prototype.join.call(arguments," "))},Mt=d.__private__.getArrayBuffer=function(u){for(var N=u.length,V=new ArrayBuffer(N),tt=new
vendor: 1,305 bytes, line 32
32Uint8Array(V);N--;)tt[N]=u.charCodeAt(N);return V},gt=[["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]];d.__private__.getStandardFonts=function(){return gt};var bt=e.fontSize||16;d.__private__.setFontSize=d.setFontSize=function(u){return bt=C===L.ADVANCED?u/Et:u,this};var xt,Nt=d.__private__.getFontSize=d.getFontSize=function(){return C===L.COMPAT?bt:bt*Et},zt=e.R2L||!1;d.__private__.setR2L=d.setR2L=function(u){return zt=u,this},d.__private__.getR2L=d.getR2L=function(){return zt};var Kt,$t=d.__private__.setZoomMode=function(u){var N=[void 0,null,"fullwidth","fullheight","fullpage","original"];
vendor: 4,294 bytes, line 32
32if(/^(?:\d+\.\d*|\d*\.\d+|\d+)%$/.test(u))xt=u;else if(isNaN(u)){if(N.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.');xt=u}else xt=parseInt(u,10)};d.__private__.getZoomMode=function(){return xt};var ae,ce=d.__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.');Kt=u};d.__private__.getPageMode=function(){return Kt};var be=d.__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.');ae=u};d.__private__.getLayoutMode=function(){return ae},d.__private__.setDisplayMode=d.setDisplayMode=function(u,N,V){return $t(u),be(N),ce(V),this};var Yt={title:"",subject:"",author:"",keywords:"",creator:""};d.__private__.getDocumentProperty=function(u){if(Object.keys(Yt).indexOf(u)===-1)throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return Yt[u]},d.__private__.getDocumentProperties=function(){return Yt},d.__private__.setDocumentProperties=d.setProperties=d.setDocumentProperties=function(u){for(var N in Yt)Yt.hasOwnProperty(N)&&u[N]&&(Yt[N]=u[N]);return this},d.__private__.setDocumentProperty=function(u,N){if(Object.keys(Yt).indexOf(u)===-1)throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return Yt[u]=N};var oe,Et,tn,he,En,Ae={},ke={},er=[],pe={},Zr={},Fe={},Tn={},pr=null,Ie=0,Zt=[],ge=new Ju(d),ti=e.hotfixes||[],Qe={},nr={},rr=[],Gt=function u(N,V,tt,lt,vt,Pt){if(!(this instanceof u))return new u(N,V,tt,lt,vt,Pt);isNaN(N)&&(N=1),isNaN(V)&&(V=0),isNaN(tt)&&(tt=0),isNaN(lt)&&(lt=1),isNaN(vt)&&(vt=0),isNaN(Pt)&&(Pt=0),this._matrix=[N,V,tt,lt,vt,Pt]};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(E).join(u)},Gt.prototype.multiply=function(u){var N=u.sx*this.sx+u.shy*this.shx,V=u.sx*this.shy+u.shy*this.sy,tt=u.shx*this.sx+u.sy*this.shx,lt=u.shx*this.shy+u.sy*this.sy,vt=u.tx*this.sx+u.ty*this.shx+this.tx,Pt=u.tx*this.shy+u.ty*this.sy+this.ty;return new Gt(N,V,tt,lt,vt,Pt)},Gt.prototype.decompose=function(){var u=this.sx,N=this.shy,V=this.shx,tt=this.sy,lt=this.tx,vt=this.t
32y,Pt=Math.sqrt(u*u+N*N),Rt=(u/=Pt)*V+(N/=Pt)*tt;V-=u*Rt,tt-=N*Rt;var Ut=Math.sqrt(V*V+tt*tt);return Rt/=Ut,u*(tt/=Ut)<N*(V/=Ut)&&(u=-u,N=-N,Rt=-Rt,Pt=-Pt),{scale:new Gt(Pt,0,0,Ut,0,0),translate:new Gt(1,0,0,1,lt,vt),rotate:new Gt(u,N,-N,u,0,0),skew:new Gt(1,0,Rt,1,0,0)}},Gt.prototype.toString=function(u){return this.join(" ")},Gt.prototype.inversed=function(){var u=this.sx,N=this.shy,V=this.shx,tt=this.sy,lt=this.tx,vt=this.ty,Pt=1/(u*tt-N*V),Rt=tt*Pt,Ut=-N*Pt,ee=-V*Pt,ie=u*Pt;return new Gt(Rt,Ut,ee,ie,-Rt*lt-ee*vt,-Ut*lt-ie*vt)},Gt.prototype.applyToPoint=function(u){var N=u.x*this.sx+u.y*this.shx+this.tx,V=u.x*this.shy+u.y*this.sy+this.ty;return new ji(N,V)},Gt.prototype.applyToRectangle=function(u){var N=this.applyToPoint(u),V=this.applyToPoint(new ji(u.x+u.w,u.y+u.h));return new ha(N.x,N.y,V.x-N.x,V.y-N.y)},Gt.prototype.clone=function(){var u=this.sx,N=this.shy,V=this.shx,tt=this.sy,lt=this.tx,vt=this.ty;return new Gt(u,N,V,tt,lt,vt)},d.Matrix=Gt;var Rn=d.matrixMult=function(u,N){return N.multiply(u)},ir=new Gt(1,0,0,1,0,0);d.unitMatrix=d.identityMatrix=ir;var fn=function(u,N){if(!Zr[u]){var V=(N instanceof Yr?"Sh":"P")+(Object.keys(pe).length+1).toString(10);N.id=V,Zr[u]=V,pe[V]=N,ge.publish("addPattern",N)}};d.ShadingPattern=Yr,d.TilingPattern=hi,d.addShadingPattern=function(u,N){return O("addShadingPattern()"),fn(u,N),this},d.beginTilingPattern=function(u){O("beginTilingPattern()"),fo(u.boundingBox[0],u.boundingBox[1],u.boundingBox[2]-u.boundingBox[0],u.boundingBox[3]-u.boundingBox[1],u.matrix)},d.endTilingPattern=function(u,N){O("endTilingPattern()"),N.stream=_t[D].join("\n"),fn(u,N),ge.publish("endTilingPattern",N),rr.pop().restore()};var Ve=d.__private__.newObject=function(){var u=qe();return wn(u,!0),u},qe=d.__private__.newObjectDeferred=function(){return Z++,st[Z]=function(){return ht},Z},wn=function(u,N){return N=typeof N=="boolean"&&N,st[u]=ht,N&&X(u+" 0 obj"),u},wi=d.__private__.newAdditionalObject=function(){var u={objId:qe(),content:""};return kt.push(u),u},gr=qe(),Dn=qe(),Bn=d.__private__.decodeColorString=function(u){var N=u.split(" ");if(N.length!==2||N[1]!=="g"&&N[1]!=="G")N.length===5&&(N[4]==="k"||N[4]==="K")&&(N=[(1-N[0])*(1-N[3]),(1-N[1])*(1-N[3]),(1-N[2])*(1-N[3]),"r"]);else{var V=parseFloat(N[0]);N=[V,V,V,"r"]}for(var tt="#",lt=0;lt<3;lt++)tt+=("0"+Math.floor(255*parseFloat(N[lt])).toString(16)).slice(-2);return tt},Mn=d.__private__.encodeColorString=function(u){var N;typeof u=="string"&&(u={ch1:u});var V=u.ch1,tt=u.ch2,lt=u.ch3,vt=u.ch4,Pt=u.pdfColorType==="draw"?["G","RG","K"]:["g","rg","k"];if(typeof V=="string"&&V.charAt(0)!=="#"){var Rt=new Rc(V);if(Rt.ok)V=Rt.toHex();else if(!/^\d*\.?\d*$/.test(V))throw new Error('Invalid color "'+V+'" passed to jsPDF.encodeColorString.')}if(typeof V=="string"&&/^#[0-9A-Fa-f]{3}$/.test(V)&&(V="#"+V[1]+V[1]+V[2]+V[2]+V[3]+V[3]),typeof V=="string"&&/^#[0-9A-Fa-f]{6}$/.test(V)){var Ut=parseInt(V.substr(1),16);V=Ut>>16&255,tt=Ut>>8&255,lt=255&Ut}if(tt===void 0||vt===void 0&&V===tt&&tt===lt)if(typeof V=="string")N=V+" "+Pt[0];else switch(u.precision){case 2:N=Q(V/255)+" "+Pt[0];break;case 3:default:N=P(V/255)+" "+Pt[0]}else if(vt===void 0||ye(vt)==="object"){if(vt&&!isNaN(vt.a)&&vt.a===0)return N=["1.","1.","1.",Pt[1]].join(" ");if(typeof V=="string")N=[V,tt,lt,Pt[1]].join(" ");else switch(u.precision){case 2:N=[Q(V/255),Q(tt/255),Q(lt/255),Pt[1]].join(" ");break;default:case 3:N=[P(V/255),P(tt/255),P(lt/255),Pt[1]].join(" ")}}else if(typeof V=="string")N=[V,tt,lt,vt,Pt[2]].join(" ");else switch(u.precision){case 2:N=[Q(V),Q(tt),Q(lt),Q(vt),Pt[2]].join(" ");break;case 3:default:N=[P(V),P(tt),P(lt),P(vt),Pt[2]].join(" ")}return N},ar=d.__private__.getFilters=function(){return l},Pn=d.__private__.putStream=function(u){var N=(u=u||{}).data||"",V=u.filters||ar(),tt=u.alreadyAppliedFilters||[],lt=u.addLength1||!1,vt=N.length,Pt=u.objectId,Rt=function(nn){return nn};if(m!==null&&Pt===void 0)throw new Error("ObjectId must be passed to putStream for file encryption");m!==null&&(Rt=en.encryptor(Pt,0));var Ut={};V===!0&&(V=["FlateEncode"]);var ee=u.additionalKeyValues||[],ie=(Ut=Wt.API.processDataByFilters!==void 0?Wt.API.processDataByFilters(N,
vendor: 10,738 bytes, line 32
32V):{data:N,reverseChain:[]}).reverseChain+(Array.isArray(tt)?tt.join(" "):tt.toString());if(Ut.data.length!==0&&(ee.push({key:"Length",value:Ut.data.length}),lt===!0&&ee.push({key:"Length1",value:vt})),ie.length!=0)if(ie.split("/").length-1==1)ee.push({key:"Filter",value:ie});else{ee.push({key:"Filter",value:"["+ie+"]"});for(var le=0;le<ee.length;le+=1)if(ee[le].key==="DecodeParms"){for(var Ce=[],Oe=0;Oe<Ut.reverseChain.split("/").length-1;Oe+=1)Ce.push("null");Ce.push(ee[le].value),ee[le].value="["+Ce.join(" ")+"]"}}X("<<");for(var ze=0;ze<ee.length;ze++)X("/"+ee[ze].key+" "+ee[ze].value);X(">>"),Ut.data.length!==0&&(X("stream"),X(Rt(Ut.data)),X("endstream"))},or=d.__private__.putPage=function(u){var N=u.number,V=u.data,tt=u.objId,lt=u.contentsObjId;wn(tt,!0),X("<</Type /Page"),X("/Parent "+u.rootDictionaryObjId+" 0 R"),X("/Resources "+u.resourceDictionaryObjId+" 0 R"),X("/MediaBox ["+parseFloat(E(u.mediaBox.bottomLeftX))+" "+parseFloat(E(u.mediaBox.bottomLeftY))+" "+E(u.mediaBox.topRightX)+" "+E(u.mediaBox.topRightY)+"]"),u.cropBox!==null&&X("/CropBox ["+E(u.cropBox.bottomLeftX)+" "+E(u.cropBox.bottomLeftY)+" "+E(u.cropBox.topRightX)+" "+E(u.cropBox.topRightY)+"]"),u.bleedBox!==null&&X("/BleedBox ["+E(u.bleedBox.bottomLeftX)+" "+E(u.bleedBox.bottomLeftY)+" "+E(u.bleedBox.topRightX)+" "+E(u.bleedBox.topRightY)+"]"),u.trimBox!==null&&X("/TrimBox ["+E(u.trimBox.bottomLeftX)+" "+E(u.trimBox.bottomLeftY)+" "+E(u.trimBox.topRightX)+" "+E(u.trimBox.topRightY)+"]"),u.artBox!==null&&X("/ArtBox ["+E(u.artBox.bottomLeftX)+" "+E(u.artBox.bottomLeftY)+" "+E(u.artBox.topRightX)+" "+E(u.artBox.topRightY)+"]"),typeof u.userUnit=="number"&&u.userUnit!==1&&X("/UserUnit "+u.userUnit),ge.publish("putPage",{objId:tt,pageContext:Zt[N],pageNumber:N,page:V}),X("/Contents "+lt+" 0 R"),X(">>"),X("endobj");var vt=V.join("\n");return C===L.ADVANCED&&(vt+="\nQ"),wn(lt,!0),Pn({data:vt,filters:ar(),objectId:lt}),X("endobj"),tt},ei=d.__private__.putPages=function(){var u,N,V=[];for(u=1;u<=Ie;u++)Zt[u].objId=qe(),Zt[u].contentsObjId=qe();for(u=1;u<=Ie;u++)V.push(or({number:u,data:_t[u],objId:Zt[u].objId,contentsObjId:Zt[u].contentsObjId,mediaBox:Zt[u].mediaBox,cropBox:Zt[u].cropBox,bleedBox:Zt[u].bleedBox,trimBox:Zt[u].trimBox,artBox:Zt[u].artBox,userUnit:Zt[u].userUnit,rootDictionaryObjId:gr,resourceDictionaryObjId:Dn}));wn(gr,!0),X("<</Type /Pages");var tt="/Kids [";for(N=0;N<Ie;N++)tt+=V[N]+" 0 R ";X(tt+"]"),X("/Count "+Ie),X(">>"),X("endobj"),ge.publish("postPutPages")},Ai=function(u){ge.publish("putFont",{font:u,out:X,newObject:Ve,putStream:Pn}),u.isAlreadyPutted!==!0&&(u.objectNumber=Ve(),X("<<"),X("/Type /Font"),X("/BaseFont /"+Zi(u.postScriptName)),X("/Subtype /Type1"),typeof u.encoding=="string"&&X("/Encoding /"+u.encoding),X("/FirstChar 32"),X("/LastChar 255"),X(">>"),X("endobj"))},Si=function(){for(var u in Ae)Ae.hasOwnProperty(u)&&(v===!1||v===!0&&w.hasOwnProperty(u))&&Ai(Ae[u])},xi=function(u){u.objectNumber=Ve();var N=[];N.push({key:"Type",value:"/XObject"}),N.push({key:"Subtype",value:"/Form"}),N.push({key:"BBox",value:"["+[E(u.x),E(u.y),E(u.x+u.width),E(u.y+u.height)].join(" ")+"]"}),N.push({key:"Matrix",value:"["+u.matrix.toString()+"]"});var V=u.pages[1].join("\n");Pn({data:V,additionalKeyValues:N,objectId:u.objectNumber}),X("endobj")},Li=function(){for(var u in Qe)Qe.hasOwnProperty(u)&&xi(Qe[u])},Ja=function(u,N){var V,tt=[],lt=1/(N-1);for(V=0;V<1;V+=lt)tt.push(V);if(tt.push(1),u[0].offset!=0){var vt={offset:0,color:u[0].color};u.unshift(vt)}if(u[u.length-1].offset!=1){var Pt={offset:1,color:u[u.length-1].color};u.push(Pt)}for(var Rt="",Ut=0,ee=0;ee<tt.length;ee++){for(V=tt[ee];V>u[Ut+1].offset;)Ut++;var ie=u[Ut].offset,le=(V-ie)/(u[Ut+1].offset-ie),Ce=u[Ut].color,Oe=u[Ut+1].color;Rt+=G(Math.round((1-le)*Ce[0]+le*Oe[0]).toString(16))+G(Math.round((1-le)*Ce[1]+le*Oe[1]).toString(16))+G(Math.round((1-le)*Ce[2]+le*Oe[2]).toString(16))}return Rt.trim()},es=function(u,N){N||(N=21);var V=Ve(),tt=Ja(u.colors,N),lt=[];lt.push({key:"FunctionType",value:"0"}),lt.push({key:"Domain",value:"[0.0 1.0]"}),lt.push({key:"Size",value:"["+N+"]"}),lt.push({key:"BitsPerSample",value:"8"}),lt.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),lt.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),Pn({data:tt,additionalKeyValues:lt,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:V}),X("endobj"),u.objectNumber=Ve(),X("<< /ShadingType "+u.type),X("/ColorSpace /DeviceRGB");var vt="/Coords ["+E(parseFloat(u.coords[0]))+" "+E(parseFloat(u.coords[1]))+" ";u.type===2?vt+=E(parseFloat(u.coords[2]))+" "+E(parseFloat(u.coords[3])):vt+=E(parseFloat(u.coords[2]))+" "+E(parseFloat(u.coords[3]))+" "+E(parseFloat(u.coords[4]))+" "+E(parseFloat(u.coords[5])),X(vt+="]"),u.matrix&&X("/Matrix ["+u.matrix.toString()+"]"),X("/Function "+V+" 0 R"),X("/Extend [true true]"),X(">>"),X("endobj")},ns=function(u,N){var V=qe(),tt=Ve();N.push({resourcesOid:V,objectOid:tt}),u.objectNumber=tt;var lt=[];lt.push({key:"Type",value:"/Pattern"}),lt.push({key:"PatternType",value:"1"}),lt.push({key:"PaintType",value:"1"}),lt.push({key:"TilingType",value:"1"}),lt.push({key:"BBox",value:"["+u.boundingBox.map(E).join(" ")+"]"}),lt.push({key:"XStep",value:E(u.xStep)}),lt.push({key:"YStep",value:E(u.yStep)}),lt.push({key:"Resources",value:V+" 0 R"}),u.matrix&<.push({key:"Matrix",value:"["+u.matrix.toString()+"]"}),Pn({data:u.stream,additionalKeyValues:lt,objectId:u.objectNumber}),X("endobj")},Ni=function(u){var N;for(N in pe)pe.hasOwnProperty(N)&&(pe[N]instanceof Yr?es(pe[N]):pe[N]instanceof hi&&ns(pe[N],u))},Ya=function(u){for(var N in u.objectNumber=Ve(),X("<<"),u)switch(N){case"opacity":X("/ca "+Q(u[N]));break;case"stroke-opacity":X("/CA "+Q(u[N]))}X(">>"),X("endobj")},rs=function(){var u;for(u in Fe)Fe.hasOwnProperty(u)&&Ya(Fe[u])},na=function(){for(var u in X("/XObject <<"),Qe)Qe.hasOwnProperty(u)&&Qe[u].objectNumber>=0&&X("/"+u+" "+Qe[u].objectNumber+" 0 R");ge.publish("putXobjectDict"),X(">>")},is=function(){en.oid=Ve(),X("<<"),X("/Filter /Standard"),X("/V "+en.v),X("/R "+en.r),X("/U <"+en.toHexString(en.U)+">"),X("/O <"+en.toHexString(en.O)+">"),X("/P "+en.P),X(">>"),X("endobj")},Ka=function(){for(var u in X("/Font <<"),Ae)Ae.hasOwnProperty(u)&&(v===!1||v===!0&&w.hasOwnProperty(u))&&X("/"+u+" "+Ae[u].objectNumber+" 0 R");X(">>")},as=function(){if(Object.keys(pe).length>0){for(var u in X("/Shading <<"),pe)pe.hasOwnProperty(u)&&pe[u]instanceof Yr&&pe[u].objectNumber>=0&&X("/"+u+" "+pe[u].objectNumber+" 0 R");ge.publish("putShadingPatternDict"),X(">>")}},_i=function(u){if(Object.keys(pe).length>0){for(var N in X("/Pattern <<"),pe)pe.hasOwnProperty(N)&&pe[N]instanceof d.TilingPattern&&pe[N].objectNumber>=0&&pe[N].objectNumber<u&&X("/"+N+" "+pe[N].objectNumber+" 0 R");ge.publish("putTilingPatternDict"),X(">>")}},os=function(){if(Object.keys(Fe).length>0){var u;for(u in X("/ExtGState <<"),Fe)Fe.hasOwnProperty(u)&&Fe[u].objectNumber>=0&&X("/"+u+" "+Fe[u].objectNumber+" 0 R");ge.publish("putGStateDict"),X(">>")}},Te=function(u){wn(u.resourcesOid,!0),X("<<"),X("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),Ka(),as(),_i(u.objectOid),os(),na(),X(">>"),X("endobj")},Xa=function(){var u=[];Si(),rs(),Li(),Ni(u),ge.publish("putResources"),u.forEach(Te),Te({resourcesOid:Dn,objectOid:Number.MAX_SAFE_INTEGER}),ge.publish("postPutResources")},$a=function(){ge.publish("putAdditionalObjects");for(var u=0;u<kt.length;u++){var N=kt[u];wn(N.objId,!0),X(N.content),X("endobj")}ge.publish("postPutAdditionalObjects")},Qa=function(u){ke[u.fontName]=ke[u.fontName]||{},ke[u.fontName][u.fontStyle]=u.id},ra=function(u,N,V,tt,lt){var vt={id:"F"+(Object.keys(Ae).length+1).toString(10),postScriptName:u,fontName:N,fontStyle:V,encoding:tt,isStandardFont:lt||!1,metadata:{}};return ge.publish("addFont",{font:vt,instance:this}),Ae[vt.id]=vt,Qa(vt),vt.id},ss=function(u){for(var N=0,V=gt.length;N<V;N++){var tt=ra.call(this,u[N][0],u[N][1],u[N][2],gt[N][3],!0);v===!1&&(w[tt]=!0);var lt=u[N][0].split("-");Qa({id:tt,fontName:lt[0],fontStyle:lt[1]||""})}ge.publish("addFonts",{fonts:Ae,dictionary:ke})},qn=function(u){return u.foo=function(){try{return u.apply(this,arguments)}catch(tt){var N=tt.stack||"";~N.indexOf(" at ")&&(N=N.split(" at ")[1]);var V="Error in function "+N.split("\n")[0].split("<")[0]+": "+tt.message;if(!Jt.console)throw new Error(V);Jt.console.error(V,tt),Jt.alert&&alert(V)}},u.foo.bar=u,u.foo},Pi=function(u,N){var V,tt,lt,vt,Pt,Rt,Ut,ee,ie;if(lt=(N=N||{}).sourceEncoding||"Unicode",Pt=N.outputEncoding,(N.autoencode||Pt)&&Ae[oe].metadata&&Ae[oe].metadata[lt]&&Ae[oe].metadata[lt].encoding&&(vt=Ae[oe].metadata[lt].encoding,!Pt&&Ae[oe].encoding&&(Pt=Ae[oe].encoding),!Pt&&vt.codePages&&(Pt=vt.codePages[0]),typeof Pt=="string"&&(Pt=vt[Pt]),Pt)){for(Ut=!1,Rt=[],V=0,tt=u.length;V<tt;V++)(ee=Pt[u.charCodeAt(V)])?Rt.push(String.fromCharCode(ee)):Rt.push(u[V]),Rt[V].charCodeAt(0)>>8&&(Ut=!0);u=Rt.join("")}for(V=u.length;Ut===void 0&&V!==0;)u.charCodeAt(V-1)>>8&&(Ut=!0),V--;if(!Ut)return u;for(Rt=N.noBOM?[]:[254,255],V=0,tt=u.length;V<tt;V++){if((ie=(ee=u.charCodeAt(V))>>8)>>8)throw new Error("Character at position "+V+" of string '"+u+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");Rt.push(ie),Rt.push(ee-(ie<<8))}return String.fromCharCode.apply(void 0,Rt)},hn=d.__private__.pdfEscape=d.pdfEscape=function(u,N){return Pi(u,N).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},ia=d.__private__.beginPage=function(u){_t[++Ie]=[],Zt[Ie]={objId:0,contentsObjId:0,userUnit:Number(c),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(u[0]),topRightY:Number(u[1])}},to(Ie),yt(_t[D])},Za=function(u,N){var V,tt,lt;switch(n=N||n,typeof u=="string"&&(V=b(u.toLowerCase()),Array.isArray(V)&&(tt=V[0],lt=V[1])),Array.isArray(u)&&(tt=u[0]*Et,lt=u[1]*Et),isNaN(tt)&&(tt=o[0],lt=o[1]),(tt>14400||lt>14400)&&(Le.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),tt=Math.min(14400,tt),lt=Math.min(14400,lt)),o=[tt,lt],n.substr(0,1)){case"l":lt>tt&&(o=[lt,tt]);break;case"p":tt>lt&&(o=[lt,tt])}ia(o),oo(la),X(zn),ca!==0&&X(ca+" J"),fa!==0&&X(fa+" j"),ge.publish("addPage",{pageNumber:Ie})},ls=function(u){u>0&&u<=Ie&&(_t.splice(u,1),Zt.splice(u,1),Ie--,D>Ie&&(D=Ie),this.setPage(D))},to=function(u){u>0&&u<=Ie&&(D=u)},us=d.__private__.getNumberOfPages=d.getNumberOfPages=function(){return _t.length-1},eo=function(u,N,V){var tt,lt=void 0;return V=V||{},u=u!==void 0?u:Ae[oe].fontName,N=N!==void 0?N:Ae[oe].fontStyle,tt=u.toLowerCase(),ke[tt]!==void 0&&ke[tt][N]!==void 0?lt=ke[tt][N]:ke[u]!==void 0&&ke[u][N]!==void 0?lt=ke[u][N]:V.disableWarning===!1&&Le.warn("Unable to look up font label for font '"+u+"', '"+N+"'. Refer to getFontList(
32) for available fonts."),lt||V.noFallback||(lt=ke.times[N])==null&&(lt=ke.times.normal),lt},cs=d.__private__.putInfo=function(){var u=Ve(),N=function(tt){return tt};for(var V in m!==null&&(N=en.encryptor(u,0)),X("<<"),X("/Producer ("+hn(N("jsPDF "+Wt.version))+")"),Yt)Yt.hasOwnProperty(V)&&Yt[V]&&X("/"+V.substr(0,1).toUpperCase()+V.substr(1)+" ("+hn(N(Yt[V]))+")");X("/CreationDate ("+hn(N(ot))+")"),X(">>"),X("endobj")},aa=d.__private__.putCatalog=function(u){var N=(u=u||{}).rootDictionaryObjId||gr;switch(Ve(),X("<<"),X("/Type /Catalog"),X("/Pages "+N+" 0 R"),xt||(xt="fullwidth"),xt){case"fullwidth":X("/OpenAction [3 0 R /FitH null]");break;case"fullheight":X("/OpenAction [3 0 R /FitV null]");break;case"fullpage":X("/OpenAction [3 0 R /Fit]");break;case"original":X("/OpenAction [3 0 R /XYZ null null 1]");break;default:var V=""+xt;V.substr(V.length-1)==="%"&&(xt=parseInt(xt)/100),typeof xt=="number"&&X("/OpenAction [3 0 R /XYZ null null "+Q(xt)+"]")}switch(ae||(ae="continuous"),ae){case"continuous":X("/PageLayout /OneColumn");break;case"single":X("/PageLayout /SinglePage");break;case"two":case"twoleft":X("/PageLayout /TwoColumnLeft");break;case"tworight":X("/PageLayout /TwoColumnRight")}Kt&&X("/PageMode /"+Kt),ge.publish("putCatalog"),X(">>"),X("endobj")},fs=d.__private__.putTrailer=function(){X("trailer"),X("<<"),X("/Size "+(Z+1)),X("/Root "+Z+" 0 R"),X("/Info "+(Z-1)+" 0 R"),m!==null&&X("/Encrypt "+en.oid+" 0 R"),X("/ID [ <"+W+"> <"+W+"> ]"),X(">>")},hs=d.__private__.putHeader=function(){X("%PDF-"+y),X("%ºÃˆ ")},ds=d.__private__.putXRef=function(){var u="0000000000";X("xref"),X("0 "+(Z+1)),X("0000000000 65535 f ");for(var N=1;N<=Z;N++)typeof st[N]=="function"?X((u+st[N]()).slice(-10)+" 00000 n "):st[N]!==void 0?X((u+st[N]).slice(-10)+" 00000 n "):X("0000000000 00000 n ")},mr=d.__private__.buildDocument=function(){Vt(),yt(ut),ge.publish("buildDocument"),hs(),ei(),$a(),Xa(),m!==null&&is(),cs(),aa();var u=ht;return ds(),fs(),X("startxref"),X(""+u),X("%%EOF"),yt(_t[D]),ut.join("\n")},ki=d.__private__.getBlob=function(u){return new Blob([Mt(u)],{type:"application/pdf"})},Ci=d.output=d.__private__.output=qn(function(u,N){switch(typeof(N=N||{})=="string"?N={filename:N}:N.filename=N.filename||"generated.pdf",u){case void 0:return mr();case"save":d.save(N.filename);break;case"arraybuffer":return Mt(mr());case"blob":return ki(mr());case"bloburi":case"bloburl":if(Jt.URL!==void 0&&typeof Jt.URL.createObjectURL=="function")return Jt.URL&&Jt.URL.createObjectURL(ki(mr()))||void 0;Le.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var V="",tt=mr();try{V=Ol(tt)}catch(Oe){V=Ol(unescape(encodeURIComponent(tt)))}return"data:application/pdf;filename="+N.filename+";base64,"+V;case"pdfobjectnewwindow":if(Object.prototype.toString.call(Jt)==="[object Window]"){var lt="https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js",vt=' integrity="sha512-4ze/a9/4jqu+tX9dfOqJYSvyYd5M6qum/3HpCLr+/Jqf0whc37VUbkpNGHR7/8pSnCFw47T1fmIpwBV7UySh3g==" crossorigin="anonymous"';N.pdfObjectUrl&&(lt=N.pdfObjectUrl,vt="");var Pt='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><script src="'+lt+'"'+vt+'><\/script><script >PDFObject.embed("'+this.output("dataurlstring")+'", '+JSON.stringify(N)+");<\/script></body></html>",Rt=Jt.open();return Rt!==null&&Rt.document.write(Pt),Rt}throw new Error("The option pdfobjectnewwindow just works in a browser-environment.");case"pdfjsnewwindow":if(Object.prototype.toString.call(Jt)==="[object Window]"){var Ut='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe id="pdfViewer" src="'+(N.pdfJsUrl||"examples/PDF.js/web/viewer.html")+"?file=&downloadName="+N.filename+'" width="500px" height="400px" /></body></html>',ee=Jt.open();if(ee!==null){ee.document.write(Ut);var ie=this;ee.document.documentElement.querySelector("#pdfViewer").onload=function(){ee.document.title=N.filename,ee.document.documentElement.querySelector("#pdfViewer").contentWindow.PDFViewerApplication.open(ie.output("bloburl"))}}return ee}throw new Error("The option pdfjsnewwindow just works in a browser-environment.");case"dataurlnewwindow":if(Object.prototype.toString.call(Jt)!=="[object Window]")throw new Error("The option dataurlnewwindow just works in a browser-environment.");var le='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe src="'+this.output("datauristring",N)+'"></iframe></body></html>',Ce=Jt.open();if(Ce!==null&&(Ce.document.write(le),Ce.document.title=N.filename),Ce||typeof safari>"u")return Ce;break;case"datauri":case"dataurl":return Jt.document.location.href=this.output("datauristring",N);default:return null}}),no=function(u){return Array.isArray(ti)===!0&&ti.indexOf(u)>-1};switch(i){case"pt":Et=1;break;case"mm":Et=72/25.4;break;case"cm":Et=72/2.54;break;case"in":Et=72;break;case"px":Et=no("px_scaling")==1?.75:96/72;break;case"pc":case"em":Et=12;break;case"ex":Et=6;break;default:if(typeof i!="number")throw new Error("Invalid unit: "+i);Et=i}var en=null;dt(),Y();var ps=function(u){return m!==null?en.encryptor(u,0):function(N){return N}},ro=d.__private__.getPageInfo=d.getPageInfo=function(u){if(isNaN(u)||u%1!=0)throw new Error("Invalid argument passed to
32jsPDF.getPageInfo");return{objId:Zt[u].objId,pageNumber:u,pageContext:Zt[u]}},Qt=d.__private__.getPageInfoByObjId=function(u){if(isNaN(u)||u%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfoByObjId");for(var N in Zt)if(Zt[N].objId===u)break;return ro(N)},gs=d.__private__.getCurrentPageInfo=d.getCurrentPageInfo=function(){return{objId:Zt[D].objId,pageNumber:D,pageContext:Zt[D]}};d.addPage=function(){return Za.apply(this,arguments),this},d.setPage=function(){return to.apply(this,arguments),yt.call(this,_t[D]),this},d.insertPage=function(u){return this.addPage(),this.movePage(D,u),this},d.movePage=function(u,N){var V,tt;if(u>N){V=_t[u],tt=Zt[u];for(var lt=u;lt>N;lt--)_t[lt]=_t[lt-1],Zt[lt]=Zt[lt-1];_t[N]=V,Zt[N]=tt,this.setPage(N)}else if(u<N){V=_t[u],tt=Zt[u];for(var vt=u;vt<N;vt++)_t[vt]=_t[vt+1],Zt[vt]=Zt[vt+1];_t[N]=V,Zt[N]=tt,this.setPage(N)}return this},d.deletePage=function(){return ls.apply(this,arguments),this},d.__private__.text=d.text=function(u,N,V,tt,lt){var vt,Pt,Rt,Ut,ee,ie,le,Ce,Oe,ze=(tt=tt||{}).scope||this;if(typeof u=="number"&&typeof N=="number"&&(typeof V=="string"||Array.isArray(V))){var nn=V;V=N,N=u,u=nn}if(arguments[3]instanceof Gt?(O("The transform parameter of text() with a Matrix value"),Oe=lt):(Rt=arguments[4],Ut=arguments[5],ye(le=arguments[3])==="object"&&le!==null||(typeof Rt=="string"&&(Ut=Rt,Rt=null),typeof le=="string"&&(Ut=le,le=null),typeof le=="number"&&(Rt=le,le=null),tt={flags:le,angle:Rt,align:Ut})),isNaN(N)||isNaN(V)||u==null)throw new Error("Invalid arguments passed to jsPDF.text");if(u.length===0)return ze;var Ye="",Un=!1,An=typeof tt.lineHeightFactor=="number"?tt.lineHeightFactor:ri,yr=ze.internal.scaleFactor;function ho(Ne){return Ne=Ne.split(" ").join(Array(tt.TabLen||9).join(" ")),hn(Ne,le)}function ma(Ne){for(var _e,Re=Ne.concat(),Ge=[],Sr=Re.length;Sr--;)typeof(_e=Re.shift())=="string"?Ge.push(_e):Array.isArray(Ne)&&(_e.length===1||_e[1]===void 0&&_e[2]===void 0)?Ge.push(_e[0]):Ge.push([_e[0],_e[1],_e[2]]);return Ge}function va(Ne,_e){var Re;if(typeof Ne=="string")Re=_e(Ne)[0];else if(Array.isArray(Ne)){for(var Ge,Sr,Rr=Ne.concat(),Hi=[],go=Rr.length;go--;)typeof(Ge=Rr.shift())=="string"?Hi.push(_e(Ge)[0]):Array.isArray(Ge)&&typeof Ge[0]=="string"&&(Sr=_e(Ge[0],Ge[1],Ge[2]),Hi.push([Sr[0],Sr[1],Sr[2]]));Re=Hi}return Re}var Ti=!1,ya=!0;if(typeof u=="string")Ti=!0;else if(Array.isArray(u)){var ba=u.concat();Pt=[];for(var Ri,dn=ba.length;dn--;)(typeof(Ri=ba.shift())!="string"||Array.isArray(Ri)&&typeof Ri[0]!="string")&&(ya=!1);Ti=ya}if(Ti===!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 Di=bt/ze.internal.scaleFactor,Bi=Di*(An-1);switch(tt.baseline){case"bottom":V-=Bi;break;case"top":V+=Di-Bi;break;case"hanging":V+=Di-2*Bi;break;case"middle":V+=Di/2-Bi}if((ie=tt.maxWidth||0)>0&&(typeof u=="string"?u=ze.splitTextToSize(u,ie):Object.prototype.toString.call(u)==="[object Array]"&&(u=u.reduce(function(Ne,_e){return Ne.concat(ze.splitTextToSize(_e,ie))},[]))),vt={text:u,x:N,y:V,options:tt,mutex:{pdfEscape:hn,activeFontKey:oe,fonts:Ae,activeFontSize:bt}},ge.publish("preProcessText",vt),u=vt.text,Rt=(tt=vt.options).angle,!(Oe instanceof Gt)&&Rt&&typeof Rt=="number"){Rt*=Math.PI/180,tt.rotationDirection===0&&(Rt=-Rt),C===L.ADVANCED&&(Rt=-Rt);var Mi=Math.cos(Rt),wa=Math.sin(Rt);Oe=new Gt(Mi,wa,-wa,Mi,0,0)}else Rt&&Rt instanceof Gt&&(Oe=Rt);C!==L.ADVANCED||Oe||(Oe=ir),(ee=tt.charSpace||Oi)!==void 0&&(Ye+=E(A(ee))+" Tc\n",this.setCharSpace(this.getCharSpace()||0)),(Ce=tt.horizontalScale)!==void 0&&(Ye+=E(100*Ce)+" Tz\n"),tt.lang;var pn=-1,Ns=tt.renderingMode!==void 0?tt.renderingMode:tt.stroke,Aa=ze.internal.getCurrentPageInfo().pageContext;switch(Ns){case 0:case!1:case"fill":pn=0;break;case 1:case!0:case"stroke":pn=1;break;case 2:case"fillThenStroke":pn=2;break;case 3:case"invisible":pn=3;break;case 4:case"fillAndAddForClipping":pn=4;break;case 5:case"strokeAndAddPathForClipping":pn=5;break;case 6:case"fillThenStrokeAndAddToPathForClipping":pn=6;break;
32case 7:case"addToPathForClipping":pn=7}var po=Aa.usedRenderingMode!==void 0?Aa.usedRenderingMode:-1;pn!==-1?Ye+=pn+" Tr\n":po!==-1&&(Ye+="0 Tr\n"),pn!==-1&&(Aa.usedRenderingMode=pn),Ut=tt.align||"left";var Hn,Sa=bt*An,_s=ze.internal.pageSize.getWidth(),Ps=Ae[oe];ee=tt.charSpace||Oi,ie=tt.maxWidth||0,le=Object.assign({autoencode:!0,noBOM:!0},tt.flags);var Or=[];if(Object.prototype.toString.call(u)==="[object Array]"){var kn;Pt=ma(u),Ut!=="left"&&(Hn=Pt.map(function(Ne){return ze.getStringUnitWidth(Ne,{font:Ps,charSpace:ee,fontSize:bt,doKerning:!1})*bt/yr}));var Wn,jr=0;if(Ut==="right"){N-=Hn[0],u=[],dn=Pt.length;for(var lr=0;lr<dn;lr++)lr===0?(Wn=vr(N),kn=Cr(V)):(Wn=A(jr-Hn[lr]),kn=-Sa),u.push([Pt[lr],Wn,kn]),jr=Hn[lr]}else if(Ut==="center"){N-=Hn[0]/2,u=[],dn=Pt.length;for(var br=0;br<dn;br++)br===0?(Wn=vr(N),kn=Cr(V)):(Wn=A((jr-Hn[br])/2),kn=-Sa),u.push([Pt[br],Wn,kn]),jr=Hn[br]}else if(Ut==="left"){u=[],dn=Pt.length;for(var qi=0;qi<dn;qi++)u.push(Pt[qi])}else{if(Ut!=="justify")throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');u=[],dn=Pt.length,ie=ie!==0?ie:_s;for(var Vn=0;Vn<dn;Vn++)kn=Vn===0?Cr(V):-Sa,Wn=Vn===0?vr(N):0,Vn<dn-1?Or.push(E(A((ie-Hn[Vn])/(Pt[Vn].split(" ").length-1)))):Or.push(0),u.push([Pt[Vn],Wn,kn])}}var zi=typeof tt.R2L=="boolean"?tt.R2L:zt;zi===!0&&(u=va(u,function(Ne,_e,Re){return[Ne.split("").reverse().join(""),_e,Re]})),vt={text:u,x:N,y:V,options:tt,mutex:{pdfEscape:hn,activeFontKey:oe,fonts:Ae,activeFontSize:bt}},ge.publish("postProcessText",vt),u=vt.text,Un=vt.mutex.isHex||!1;var xa=Ae[oe].encoding;xa!=="WinAnsiEncoding"&&xa!=="StandardEncoding"||(u=va(u,function(Ne,_e,Re){return[ho(Ne),_e,Re]})),Pt=ma(u),u=[];for(var Er,Gn,wr,oi=0,Ui=1,si=Array.isArray(Pt[0])?Ui:oi,Tr="",La=function(Ne,_e,Re){var Ge="";return Re instanceof Gt?(Re=typeof tt.angle=="number"?Rn(Re,new Gt(1,0,0,1,Ne,_e)):Rn(new Gt(1,0,0,1,Ne,_e),Re),C===L.ADVANCED&&(Re=Rn(new Gt(1,0,0,-1,0,0),Re)),Ge=Re.join(" ")+" Tm\n"):Ge=E(Ne)+" "+E(_e)+" Td\n",Ge},Cn=0;Cn<Pt.length;Cn++){switch(Tr="",si){case Ui:wr=(Un?"<":"(")+Pt[Cn][0]+(Un?">":")"),Er=parseFloat(Pt[Cn][1]),Gn=parseFloat(Pt[Cn][2]);break;case oi:wr=(Un?"<":"(")+Pt[Cn]+(Un?">":")"),Er=vr(N),Gn=Cr(V)}Or!==void 0&&Or[Cn]!==void 0&&(Tr=Or[Cn]+" Tw\n"),Cn===0?u.push(Tr+La(Er,Gn,Oe)+wr):si===oi?u.push(Tr+wr):si===Ui&&u.push(Tr+La(Er,Gn,Oe)+wr)}u=si===oi?u.join(" Tj\nT* "):u.join(" Tj\n"),u+=" Tj\n";var Ar="BT\n/";return Ar+=oe+" "+bt+" Tf\n",Ar+=E(bt*An)+" TL\n",Ar+=ii+"\n",Ar+=Ye,Ar+=u,X(Ar+="ET"),w[oe]=!0,ze};var ms=d.__private__.clip=d.clip=function(u){return X(u==="evenodd"?"W*":"W"),this};d.clipEvenOdd=function(){return ms("evenodd")},d.__private__.discardPath=d.discardPath=function(){return X("n"),this};var sr=d.__private__.isValidStyle=function(u){var N=!1;return[void 0,null,"S","D","F","DF","FD","f","f*","B","B*","n"].indexOf(u)!==-1&&(N=!0),N};d.__private__.setDefaultPathOperation=d.setDefaultPathOperation=function(u){return sr(u)&&(p=u),this};var io=d.__private__.getStyle=d.getStyle=function(u){var N=p;switch(u){case"D":case"S":N="S";break;case"F":N="f";break;case"FD":case"DF":N="B";break;case"f":case"f*":case"B":case"B*":N=u}return N},ao=d.close=function(){return X("h"),this};d.stroke=function(){return X("S"),this},d.fill=function(u){return Fi("f",u),this},d.fillEvenOdd=function(u){return Fi("f*",u),this},d.fillStroke=function(u){return Fi("B",u),this},d.fillStrokeEvenOdd=function(u){return Fi("B*",u),this};var Fi=function(u,N){ye(N)==="object"?ys(N,u):X(u)},oa=function(u){u===null||C===L.ADVANCED&&u===void 0||(u=io(u),X(u))};function vs(u,N,V,tt,lt){var vt=new hi(N||this.boundingBox,V||this.xStep,tt||this.yStep,this.gState,lt||this.matrix);vt.stream=this.stream;var Pt=u+"$$"+this.cloneIndex+++"$$";return fn(Pt,vt),vt}var ys=function(u,N){var V=Zr[u.key],tt=pe[V];if(tt instanceof Yr)X("q"),X(bs(N)),tt.gState&&d.setGState(tt.gState),X(u.matrix.toString()+" cm"),X("/"+V+" sh"),X("Q");else if(tt instanceof hi){var lt=new Gt(1,0,0,-1,0,Ir());u.matrix&&(lt=lt.multiply(u.matrix||ir),V=vs.call(tt,u.key,u.boundingBox,u.xStep,u.yStep,lt).id),X("q"),X("/Pattern cs"),X("/"+V+" scn"),tt.gState&&d.setGState(tt.gState),X(N),X("Q")}},bs=function(u){switch(u){case"f":case"F":return"W n";case"f*":return"W* n";case"B":return"W S";case"B*":return"W* S";case"S":return"W S";case"n":return"W n"}},sa=d.moveTo=function(u,N){return X(E(A(u))+" "+E(B(N))+" m"),this},ni=d.lineTo=function(u,N){return X(E(A(u))+" "+E(B(N))+" l"),this},kr=d.curveTo=function(u,N,V,tt,lt,vt){return X([E(A(u)),E(B(N)),E(A(V)),E(B(tt)),E(A(lt)),E(B(vt)),"c"].join(" ")),this};d.__private__.line=d.line=function(u,N,V,tt,lt){if(isNaN(u)||isNaN(N)||isNaN(V)||isNaN(tt)||!sr(lt))throw new Error("Invalid arguments passed to
32jsPDF.line");return C===L.COMPAT?this.lines([[V-u,tt-N]],u,N,[1,1],lt||"S"):this.lines([[V-u,tt-N]],u,N,[1,1]).stroke()},d.__private__.lines=d.lines=function(u,N,V,tt,lt,vt){var Pt,Rt,Ut,ee,ie,le,Ce,Oe,ze,nn,Ye,Un;if(typeof u=="number"&&(Un=V,V=N,N=u,u=Un),tt=tt||[1,1],vt=vt||!1,isNaN(N)||isNaN(V)||!Array.isArray(u)||!Array.isArray(tt)||!sr(lt)||typeof vt!="boolean")throw new Error("Invalid arguments passed to jsPDF.lines");for(sa(N,V),Pt=tt[0],Rt=tt[1],ee=u.length,nn=N,Ye=V,Ut=0;Ut<ee;Ut++)(ie=u[Ut]).length===2?(nn=ie[0]*Pt+nn,Ye=ie[1]*Rt+Ye,ni(nn,Ye)):(le=ie[0]*Pt+nn,Ce=ie[1]*Rt+Ye,Oe=ie[2]*Pt+nn,ze=ie[3]*Rt+Ye,nn=ie[4]*Pt+nn,Ye=ie[5]*Rt+Ye,kr(le,Ce,Oe,ze,nn,Ye));return vt&&ao(),oa(lt),this},d.path=function(u){for(var N=0;N<u.length;N++){var V=u[N],tt=V.c;switch(V.op){case"m":sa(tt[0],tt[1]);break;case"l":ni(tt[0],tt[1]);break;case"c":kr.apply(this,tt);break;case"h":ao()}}return this},d.__private__.rect=d.rect=function(u,N,V,tt,lt){if(isNaN(u)||isNaN(N)||isNaN(V)||isNaN(tt)||!sr(lt))throw new Error("Invalid arguments passed to jsPDF.rect");return C===L.COMPAT&&(tt=-tt),X([E(A(u)),E(B(N)),E(A(V)),E(A(tt)),"re"].join(" ")),oa(lt),this},d.__private__.triangle=d.triangle=function(u,N,V,tt,lt,vt,Pt){if(isNaN(u)||isNaN(N)||isNaN(V)||isNaN(tt)||isNaN(lt)||isNaN(vt)||!sr(Pt))throw new Error("Invalid arguments passed to jsPDF.triangle");return this.lines([[V-u,tt-N],[lt-V,vt-tt],[u-lt,N-vt]],u,N,[1,1],Pt,!0),this},d.__private__.roundedRect=d.roundedRect=function(u,N,V,tt,lt,vt,Pt){if(isNaN(u)||isNaN(N)||isNaN(V)||isNaN(tt)||isNaN(lt)||isNaN(vt)||!sr(Pt))throw new Error("Invalid arguments passed to jsPDF.roundedRect");var Rt=4/3*(Math.SQRT2-1);return lt=Math.min(lt,.5*V),vt=Math.min(vt,.5*tt),this.lines([[V-2*lt,0],[lt*Rt,0,lt,vt-vt*Rt,lt,vt],[0,tt-2*vt],[0,vt*Rt,-lt*Rt,vt,-lt,vt],[2*lt-V,0],[-lt*Rt,0,-lt,-vt*Rt,-lt,-vt],[0,2*vt-tt],[0,-vt*Rt,lt*Rt,-vt,lt,-vt]],u+lt,N,[1,1],Pt,!0),this},d.__private__.ellipse=d.ellipse=function(u,N,V,tt,lt){if(isNaN(u)||isNaN(N)||isNaN(V)||isNaN(tt)||!sr(lt))throw new Error("Invalid arguments passed to jsPDF.ellipse");var vt=4/3*(Math.SQRT2-1)*V,Pt=4/3*(Math.SQRT2-1)*tt;return sa(u+V,N),kr(u+V,N-Pt,u+vt,N-tt,u,N-tt),kr(u-vt,N-tt,u-V,N-Pt,u-V,N),kr(u-V,N+Pt,u-vt,N+tt,u,N+tt),kr(u+vt,N+tt,u+V,N+Pt,u+V,N),oa(lt),this},d.__private__.circle=d.circle=function(u,N,V,tt){if(isNaN(u)||isNaN(N)||isNaN(V)||!sr(tt))throw new Error("Invalid arguments passed to jsPDF.circle");return this.ellipse(u,N,V,V,tt)},d.setFont=function(u,N,V){return V&&(N=J(N,V)),oe=eo(u,N,{disableWarning:!1}),this};var ws=d.__private__.getFont=d.getFont=function(){return Ae[eo.apply(d,arguments)]};d.__private__.getFontList=d.getFontList=function(){var u,N,V={};for(u in ke)if(ke.hasOwnProperty(u))for(N in V[u]=[],ke[u])ke[u].hasOwnProperty(N)&&V[u].push(N);return V},d.addFont=function(u,N,V,tt,lt){var vt=["StandardEncoding","MacRomanEncoding","Identity-H","WinAnsiEncoding"];return arguments[3]&&vt.indexOf(arguments[3])!==-1?lt=arguments[3]:arguments[3]&&vt.indexOf(arguments[3])==-1&&(V=J(V,tt)),lt=lt||"Identity-H",ra.call(this,u,N,V,lt)};var ri,la=e.lineWidth||.200025,Ii=d.__private__.getLineWidth=d.getLineWidth=function(){return la},oo=d.__private__.setLineWidth=d.setLineWidth=function(u){return la=u,X(E(A(u))+" w"),this};d.__private__.setLineDash=Wt.API.setLineDash=Wt.API.setLineDashPattern=function(u,N){if(u=u||[],N=N||0,isNaN(N)||!Array.isArray(u))throw new Error("Invalid arguments passed to jsPDF.setLineDash");return u=u.map(function(V){return E(A(V))}).join(" "),N=E(A(N)),X("["+u+"] "+N+" d"),this};var so=d.__private__.getLineHeight=d.getLineHeight=function(){return bt*ri};d.__private__.getLineHeight=d.getLineHeight=function(){return bt*ri};var lo=d.__private__.setLineHeightFactor=d.setLineHeightFactor=function(u){return typeof(u=u||1.15)=="number"&&(ri=u),this},uo=d.__private__.getLineHeightFactor=d.getLineHeightFactor=function(){return ri};lo(e.lineHeight);var vr=d.__private__.getHorizontalCoordinate=function(u){return A(u)},Cr=d.__private__.getVerticalCoordinate=function(u){return C===L.ADVANCED?u:Zt[D].mediaBox.topRightY-Zt[D].mediaBox.bottomLeftY-A(u)},As=d.__private__.getHorizontalCoordinateString=d.getHorizontalCoordinateString=function(u){return E(vr(u))},Fr=d.__private__.getVerticalCoordinateString=d.getVerticalCoordinateString=function(u){return E(Cr(u))},zn=e.strokeColor||"0 G";d.__private__.getStrokeColor=d.getDrawColor=function(){return Bn(zn)},d.__private__.setStrokeColor=d.setDrawColor=function(u,N,V,tt){return zn=Mn({ch1:u,ch2:N,ch3:V,ch4:tt,pdfColorType:"draw",precision:2}),X(zn),this};var ua=e.fillColor||"0 g";d.__private__.getFillColor=d.getFillColor=function(){return Bn(ua)},d.__private__.setFillColor=d.setFillColor=function(u,N,V,tt){return ua=Mn({ch1:u,ch2:N,ch3:V,ch4:tt,pdfColorType:"fill",precision:2}),X(ua),this};var ii=e.textColor||"0 g",Ss=d.__private__.getTextColor=d.getTextColor=function(){return Bn(ii)};d.__private__.setTextColor=d.setTextColor=function(u,N,V,tt){return ii=Mn({ch1:u,ch2:N,ch3:V,ch4:tt,pdfColorType:"text",precision:3}),this};var Oi=e.charSpace,xs=d.__private__.getCharSpace=d.getCharSpace=function(){return parseFloat(Oi||0)};d.__private__.setCharSpace=d.setCharSpace=function(u){if(isNaN(u))throw new Error("Invalid argument passed to
32jsPDF.setCharSpace");return Oi=u,this};var ca=0;d.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},d.__private__.setLineCap=d.setLineCap=function(u){var N=d.CapJoinStyles[u];if(N===void 0)throw new Error("Line cap style of '"+u+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return ca=N,X(N+" J"),this};var fa=0;d.__private__.setLineJoin=d.setLineJoin=function(u){var N=d.CapJoinStyles[u];if(N===void 0)throw new Error("Line join style of '"+u+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return fa=N,X(N+" j"),this},d.__private__.setLineMiterLimit=d.__private__.setMiterLimit=d.setLineMiterLimit=d.setMiterLimit=function(u){if(u=u||0,isNaN(u))throw new Error("Invalid argument passed to jsPDF.setLineMiterLimit");return X(E(A(u))+" M"),this},d.GState=Ha,d.setGState=function(u){(u=typeof u=="string"?Fe[Tn[u]]:co(null,u)).equals(pr)||(X("/"+u.id+" gs"),pr=u)};var co=function(u,N){if(!u||!Tn[u]){var V=!1;for(var tt in Fe)if(Fe.hasOwnProperty(tt)&&Fe[tt].equals(N)){V=!0;break}if(V)N=Fe[tt];else{var lt="GS"+(Object.keys(Fe).length+1).toString(10);Fe[lt]=N,N.id=lt}return u&&(Tn[u]=N.id),ge.publish("addGState",N),N}};d.addGState=function(u,N){return co(u,N),this},d.saveGraphicsState=function(){return X("q"),er.push({key:oe,size:bt,color:ii}),this},d.restoreGraphicsState=function(){X("Q");var u=er.pop();return oe=u.key,bt=u.size,ii=u.color,pr=null,this},d.setCurrentTransformationMatrix=function(u){return X(u.toString()+" cm"),this},d.comment=function(u){return X("#"+u),this};var ji=function(u,N){var V=u||0;Object.defineProperty(this,"x",{enumerable:!0,get:function(){return V},set:function(vt){isNaN(vt)||(V=parseFloat(vt))}});var tt=N||0;Object.defineProperty(this,"y",{enumerable:!0,get:function(){return tt},set:function(vt){isNaN(vt)||(tt=parseFloat(vt))}});var lt="pt";return Object.defineProperty(this,"type",{enumerable:!0,get:function(){return lt},set:function(vt){lt=vt.toString()}}),this},ha=function(u,N,V,tt){ji.call(this,u,N),this.type="rect";var lt=V||0;Object.defineProperty(this,"w",{enumerable:!0,get:function(){return lt},set:function(Pt){isNaN(Pt)||(lt=parseFloat(Pt))}});var vt=tt||0;return Object.defineProperty(this,"h",{enumerable:!0,get:function(){return vt},set:function(Pt){isNaN(Pt)||(vt=parseFloat(Pt))}}),this},da=function(){this.page=Ie,this.currentPage=D,this.pages=_t.slice(0),this.pagesContext=Zt.slice(0),this.x=tn,this.y=he,this.matrix=En,this.width=ai(D),this.height=Ir(D),this.outputDestination=Tt,this.id="",this.objectNumber=-1};da.prototype.restore=function(){Ie=this.page,D=this.currentPage,Zt=this.pagesContext,_t=this.pages,tn=this.x,he=this.y,En=this.matrix,pa(D,this.width),ga(D,this.height),Tt=this.outputDestination};var fo=function(u,N,V,tt,lt){rr.push(new da),Ie=D=0,_t=[],tn=u,he=N,En=lt,ia([V,tt])},Ls=function(u){if(nr[u])rr.pop().restore();else{var N=new da,V="Xo"+(Object.keys(Qe).length+1).toString(10);N.id=V,nr[u]=V,Qe[V]=N,ge.publish("addFormObject",N),rr.pop().restore()}};for(var Ei in d.beginFormObject=function(u,N,V,tt,lt){return fo(u,N,V,tt,lt),this},d.endFormObject=function(u){return Ls(u),this},d.doFormObject=function(u,N){var V=Qe[nr[u]];return X("q"),X(N.toString()+" cm"),X("/"+V.id+" Do"),X("Q"),this},d.getFormObject=function(u){var N=Qe[nr[u]];return{x:N.x,y:N.y,width:N.width,height:N.height,matrix:N.matrix}},d.save=function(u,N){return u=u||"generated.pdf",(N=N||{}).returnPromise=N.returnPromise||!1,N.returnPromise===!1?(ci(ki(mr()),u),typeof ci.unload=="function"&&Jt.setTimeout&&setTimeout(ci.unload,911),this):new Promise(function(V,tt){try{var lt=ci(ki(mr()),u);typeof ci.unload=="function"&&Jt.setTimeout&&setTimeout(ci.unload,911),V(lt)}catch(vt){tt(vt.message)}})},Wt.API)Wt.API.hasOwnProperty(Ei)&&(Ei==="events"&&Wt.API.events.length?function(u,N){var V,tt,lt;for(lt=N.length-1;lt!==-1;lt--)V=N[lt][0],tt=N[lt][1],u.subscribe.apply(u,[V].concat(typeof tt=="function"?[tt]:tt))}(ge,Wt.API.events):d[Ei]=Wt.API[Ei]);var ai=d.getPageWidth=function(u){return(Zt[u=u||D].mediaBox.topRightX-Zt[u].mediaBox.bottomLeftX)/Et},pa=d.setPageWidth=function(u,N){Zt[u].mediaBox.topRightX=N*Et+Zt[u].mediaBox.bottomLeftX},Ir=d.getPageHeight=function(u){return(Zt[u=u||D].mediaBox.topRightY-Zt[u].mediaBox.bottomLeftY)/Et},ga=d.setPageHeight=function(u,N){Zt[u].mediaBox.topRightY=N*Et+Zt[u].mediaBox.bottomLeftY};return d.internal={pdfEscape:hn,getStyle:io,getFont:ws,getFontSize:Nt,getCharSpace:xs,getTextColor:Ss,getLineHeight:so,getLineHeightFactor:uo,getLineWidth:Ii,write:Xt,getHorizontalCoordinate:vr,getVerticalCoordinate:Cr,getCoordinateString:As,getVerticalCoordinateString:Fr,collections:{},newObject:Ve,newAdditionalObject:wi,newObjectDeferred:qe,newObjectDeferredBegin:wn,getFilters:ar,putStream:Pn,events:ge,scaleFactor:Et,pageSize:{getWidth:function(){return ai(D)},setWidth:function(u){pa(D,u)},getHeight:function(){return Ir(D)},setHeight:function(u){ga(D,u)}},encryptionOptions:m,encryption:en,getEncryptor:ps,output:Ci,getNumberOfPages:us,pages:_t,out:X,f2:Q,f3:P,getPageInfo:ro,getPageInfoByObjId:Qt,getCurrentPageInfo:gs,getPDFVersion:_,Point:ji,Rectangle:ha,Matrix:Gt,hasHotfix:no},Object.defineProperty(d.internal.pageSize,"width",{get:function(){return ai(D)},set:function(u){pa(D,u)},enumerable:!0,configurable:!0}),Object.defineProperty(d.internal.pageSize,"height",{get:function(){return Ir(D)},set:function(u){ga(D,u)},enumerable:!0,configurable:!0}
vendor: 13,420 bytes, line 32
32),ss.call(d,gt),oe="F1",Za(o,n),ge.publish("initialized"),d}Qi.prototype.lsbFirstWord=function(e){return String.fromCharCode(e>>0&255,e>>8&255,e>>16&255,e>>24&255)},Qi.prototype.toHexString=function(e){return e.split("").map(function(t){return("0"+(255&t.charCodeAt(0)).toString(16)).slice(-2)}).join("")},Qi.prototype.hexToBytes=function(e){for(var t=[],n=0;n<e.length;n+=2)t.push(String.fromCharCode(parseInt(e.substr(n,2),16)));return t.join("")},Qi.prototype.processOwnerPassword=function(e,t){return El(jl(t).substr(0,5),e)},Qi.prototype.encryptor=function(e,t){var n=jl(this.encryptionKey+String.fromCharCode(255&e,e>>8&255,e>>16&255,255&t,t>>8&255)).substr(0,10);return function(i){return El(n,i)}},Ha.prototype.equals=function(e){var t,n="id,objectNumber,equals";if(!e||ye(e)!==ye(this))return!1;var i=0;for(t in this)if(!(n.indexOf(t)>=0)){if(this.hasOwnProperty(t)&&!e.hasOwnProperty(t)||this[t]!==e[t])return!1;i++}for(t in e)e.hasOwnProperty(t)&&n.indexOf(t)<0&&i--;return i===0},Wt.API={events:[]},Wt.version="2.5.1";var Ee=Wt.API,Wl=1,bi=function(e){return e.replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},Xi=function(e){return e.replace(/\\\\/g,"\\").replace(/\\\(/g,"(").replace(/\\\)/g,")")},te=function(e){return e.toFixed(2)},Jr=function(e){return e.toFixed(5)};Ee.__acroform__={};var bn=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e},Yu=function(e){return e*Wl},cr=function(e){var t=new qc,n=qt.internal.getHeight(e)||0,i=qt.internal.getWidth(e)||0;return t.BBox=[0,0,Number(te(i)),Number(te(n))],t},q1=Ee.__acroform__.setBit=function(e,t){if(e=e||0,t=t||0,isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBit");return e|=1<<t},z1=Ee.__acroform__.clearBit=function(e,t){if(e=e||0,t=t||0,isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBit");return e&=~(1<<t)},U1=Ee.__acroform__.getBit=function(e,t){if(isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBit");return e&1<<t?1:0},De=Ee.__acroform__.getBitForPdf=function(e,t){if(isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBitForPdf");return U1(e,t-1)},Be=Ee.__acroform__.setBitForPdf=function(e,t){if(isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBitForPdf");return q1(e,t-1)},Me=Ee.__acroform__.clearBitForPdf=function(e,t){if(isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBitForPdf");return z1(e,t-1)},H1=Ee.__acroform__.calculateCoordinates=function(e,t){var n=t.internal.getHorizontalCoordinate,i=t.internal.getVerticalCoordinate,o=e[0],a=e[1],l=e[2],c=e[3],f={};return f.lowerLeft_X=n(o)||0,f.lowerLeft_Y=i(a+c)||0,f.upperRight_X=n(o+l)||0,f.upperRight_Y=i(a)||0,[Number(te(f.lowerLeft_X)),Number(te(f.lowerLeft_Y)),Number(te(f.upperRight_X)),Number(te(f.upperRight_Y))]},W1=function(e){if(e.appearanceStreamContent)return e.appearanceStreamContent;if(e.V||e.DV){var t=[],n=e._V||e.DV,i=Tl(e,n),o=e.scope.internal.getFont(e.fontName,e.fontStyle).id;t.push("/Tx BMC"),t.push("q"),t.push("BT"),t.push(e.scope.__private__.encodeColorString(e.color)),t.push("/"+o+" "+te(i.fontSize)+" Tf"),t.push("1 0 0 1 0 0 Tm"),t.push(i.text),t.push("ET"),t.push("Q"),t.push("EMC");var a=cr(e);return a.scope=e.scope,a.stream=t.join("\n"),a}},Tl=function(e,t){var n=e.fontSize===0?e.maxFontSize:e.fontSize,i={text:"",fontSize:""},o=(t=(t=t.substr(0,1)=="("?t.substr(1):t).substr(t.length-1)==")"?t.substr(0,t.length-1):t).split(" ");o=e.multiline?o.map(function(P){return P.split("\n")}):o.map(function(P){return[P]});var a=n,l=qt.internal.getHeight(e)||0;l=l<0?-l:l;var c=qt.internal.getWidth(e)||0;c=c<0?-c:c;var f=function(P,A,z){if(P+1<o.length){var B=A+" "+o[P+1][0];return Mo(B,e,z).width<=c-4}return!1};a++;t:for(;a>0;){t="",a--;var p,m,v=Mo("3",e,a).height,w=e.multiline?l-a:(l-v)/2,d=w+=2,y=0,_=0,k=0;if(a<=0){t="(...) Tj\n",t+="% Width of Text: "+Mo(t,e,a=12).width+", FieldWidth:"+c+"\n";break}for(var b="",L=0,C=0;C<o.length;C++)if(o.hasOwnProperty(C)){var R=!1;if(o[C].length!==1&&k!==o[C].length-1){if((v+2)*(L+2)+2>l)continue t;b+=o[C][k],R=!0,_=C,C--}else{b=(b+=o[C][k]+" ").substr(b.length-1)==" "?b.substr(0,b.length-1):b;var U=parseInt(C),J=f(U,b,a),E=C>=o.length-1;if(J&&!E){b+=" ",k=0;continue}if(J||E){if(E)_=U;else if(e.multiline&&(v+2)*(L+2)+2>l)continue t}else{if(!e.multiline||(v+2)*(L+2)+2>l)continue t;_=U}}for(var O="",$=y;$<=_;$++){var Q=o[$];if(e.multiline){if($===_){O+=Q[k]+" ",k=(k+1)%Q.length;continue}if($===y){O+=Q[Q.length-1]+" ";continue}}O+=Q[0]+" "}switch(O=O.substr(O.length-1)==" "?O.substr(0,O.length-1):O,m=Mo(O,e,a).width,e.textAlign){case"right":p=c-m-2;break;case"center":p=(c-m)/2;break;case"left":default:p=2}t+=te(p)+" "+te(d)+" Td\n",t+="("+bi(O)+") Tj\n",t+=-te(p)+" 0 Td\n",d=-(a+2),m=0,y=R?_:_+1,L++,b=""}break}return i.text=t,i.fontSize=a,i},Mo=function(e,t,n){var i=t.scope.internal.getFont(t.fontName,t.fontStyle),o=t.scope.getStringUnitWidth(e,{font:i,fontSize:parseFloat(n),charSpace:0})*parseFloat(n);return{height:t.scope.getStringUnitWidth("3",{font:i,fontSize:parseFloat(n),charSpace:0})*parseFloat(n)*1.5,width:o}},V1={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},G1=function(e,t){var n={type:"reference",object:e};t.internal.getPageInfo(e.page).pageContext.annotations.find(function(i){return i.type===n.type&&i.object===n.object})===void 0&&t.internal.getPageInfo(e.page).pageContext.annotations.push(n)},J1=function(e,t){for(var n in e)if(e.hasOwnProperty(n)){var i=n,o=e[n];t.internal.newObjectDeferredBegin(o.objId,!0),ye(o)==="object"&&typeof o.putStream=="function"&&o.putStream(),delete e[i]}},Y1=function(e,t){if(t.scope=e,e.internal!==void 0&&(e.internal.acroformPlugin===void 0||e.internal.acroformPlugin.isInitialized===!1)){if(Zn.FieldNum=0,e.internal.acroformPlugin=JSON.parse(JSON.stringify(V1)),e.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");Wl=e.internal.scaleFactor,e.internal.acroformPlugin.acroFormDictionaryRoot=new zc,e.internal.acroformPlugin.acroFormDictionaryRoot.scope=e,e.internal.acroformPlugin.acroFormDictionaryRoot._eventID=e.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})(e)}),e.internal.events.subscribe("buildDocument",function(){(function(n){n.internal.acroformPlugin.acroFormDictionaryRoot.objId=void 0;var i=n.internal.acroformPlugin.acroFormDictionaryRoot.Fields;for(var o in i)if(i.hasOwnProperty(o)){var a=i[o];a.objId=void 0,a.hasAnnotation&&G1(a,n)}})(e)}),e.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")})(e)}),e.internal.events.subscribe("postPutPages",function(n){(function(i,o){var a=!i;for(var l in i||(o.internal.newObjectDeferredBegin(o.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),o.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),i=i||o.internal.acroformPlugin.acroFormDictionaryRoot.Kids)if(i.hasOwnProperty(l)){var c=i[l],f=[],p=c.Rect;if(c.Rect&&(c.Rect=H1(c.Rect,o)),o.internal.newObjectDeferredBegin(c.objId,!0),c.DA=qt.createDefaultAppearanceStream(c),ye(c)==="object"&&typeof c.getKeyValueListForStream=="function"&&(f=c.getKeyValueListForStream()),c.Rect=p,c.hasAppearanceStream&&!c.appearanceStreamContent){var m=W1(c);f.push({key:"AP",value:"<</N "+m+">>"}),o.internal.acroformPlugin.xForms.push(m)}if(c.appearanceStreamContent){var v="";for(var w in c.appearanceStreamContent)if(c.appearanceStreamContent.hasOwnProperty(w)){var d=c.appearanceStreamContent[w];if(v+="/"+w+" ",v+="<<",Object.keys(d).length>=1||Array.isArray(d)){for(var l in d)if(d.hasOwnProperty(l)){var y=d[l];typeof y=="function"&&(y=y.call(o,c)),v+="/"+l+" "+y+" ",o.internal.acroformPlugin.xForms.indexOf(y)>=0||o.internal.acroformPlugin.xForms.push(y)}}else typeof(y=d)=="function"&&(y=y.call(o,c)),v+="/"+l+" "+y,o.internal.acroformPlugin.xForms.indexOf(y)>=0||o.internal.acroformPlugin.xForms.push(y);v+=">>"}f.push({key:"AP",value:"<<\n"+v+">>"})}o.internal.putStream({additionalKeyValues:f,objectId:c.objId}),o.internal.out("endobj")}a&&J1(o.internal.acroformPlugin.xForms,o)})(n,e)}),e.internal.acroformPlugin.isInitialized=!0}},Mc=Ee.__acroform__.arrayToPdfArray=function(e,t,n){var i=function(l){return l};if(Array.isArray(e)){for(var o="[",a=0;a<e.length;a++)switch(a!==0&&(o+=" "),ye(e[a])){case"boolean":case"number":case"object":o+=e[a].toString();break;case"string":e[a].substr(0,1)!=="/"?(t!==void 0&&n&&(i=n.internal.getEncryptor(t)),o+="("+bi(i(e[a].toString()))+")"):o+=e[a].toString()}return o+="]"}throw new Error("Invalid argument passed to jsPDF.__acroform__.arrayToPdfArray")},dl=function(e,t,n){var i=function(o){return o};return t!==void 0&&n&&(i=n.internal.getEncryptor(t)),(e=e||"").toString(),e="("+bi(i(e))+")"},fr=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(e){this._objId=e}}),Object.defineProperty(this,"scope",{value:this._scope,writable:!0})};fr.prototype.toString=function(){return this.objId+" 0 R"},fr.prototype.putStream=function(){var e=this.getKeyValueListForStream();this.scope.internal.putStream({data:this.stream,additionalKeyValues:e,objectId:this.objId}),this.scope.internal.out("endobj")},fr.prototype.getKeyValueListForStream=function(){var e=[],t=Object.getOwnPropertyNames(this).filter(function(a){return a!="content"&&a!="appearanceStreamContent"&&a!="scope"&&a!="objId"&&a.substring(0,1)!="_"});for(var n in t)if(Object.getOwnPropertyDescriptor(this,t[n]).configurable===!1){var i=t[n],o=this[i];o&&(Array.isArray(o)?e.push({key:i,value:Mc(o,this.objId,this.scope)}):o instanceof fr?(o.scope=this.scope,e.push({key:i,value:o.objId+" 0 R"})):typeof o!="function"&&e.push({key:i,value:o}))}return e};var qc=function(){fr.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 e,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){e=n.trim()},get:function(){return e||null}})};bn(qc,fr);var zc=function(){fr.call(this);var e,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(e){var n=function(i){return i};return this.scope&&(n=this.scope.internal.getEncryptor(this.objId)),"("+bi(n(e))+")"}},set:function(n){e=n}})};bn(zc,fr);var Zn=function e(){fr.call(this);var t=4;Object.defineProperty(this,"F",{enumerable:!1,configurable:!1,get:function(){return t},set:function(b){if(isNaN(b))throw new Error('Invalid value "'+b+'" for attribute F supplied.');t=b}}),Object.defineProperty(this,"showWhenPrinted",{enumerable:!0,configurable:!0,get:function(){return!!De(t,3)},set:function(b){b?this.F=Be(t,3):this.F=Me(t,3)}});var n=0;Object.defineProperty(this,"Ff",{enumerable:!1,configurable:!1,get:function(){return n},set:function(b){if(isNaN(b))throw new Error('Invalid value "'+b+'" for attribute Ff supplied.');n=b}});var i=[];Object.defineProperty(this,"Rect",{enumerable:!1,configurable:!1,get:function(){if(i.length!==0)return i},set:function(b){i=b!==void 0?b:[]}}),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,get:function(){return!i||isNaN(i[0])?0:i[0]},set:function(b){i[0]=b}}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,get:function(){return!i||isNaN(i[1])?0:i[1]},set:function(b){i[1]=b}}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,get:function(){return!i||isNaN(i[2])?0:i[2]},set:function(b){i[2]=b}}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,get:function(){return!i||isNaN(i[3])?0:i[3]},set:function(b){i[3]=b}});var o="";Object.defineProperty(this,"FT",{enumerable:!0,configurable:!1,get:function(){return o},set:function(b){switch(b){case"/Btn":case"/Tx":case"/Ch":case"/Sig":o=b;break;default:throw new Error('Invalid value "'+b+'" for attribute FT supplied.')}}});var a=null;Object.defineProperty(this,"T",{enumerable:!0,configurable:!1,get:function(){if(!a||a.length<1){if(this instanceof Go)return;a="FieldObject"+e.FieldNum++}var b=function(L){return L};return this.scope&&(b=this.scope.internal.getEncryptor(this.objId)),"("+bi(b(a))+")"},set:function(b){a=b.toString()}}),Object.defineProperty(this,"fieldName",{configurable:!0,enumerable:!0,get:function(){return a}
32,set:function(b){a=b}});var l="helvetica";Object.defineProperty(this,"fontName",{enumerable:!0,configurable:!0,get:function(){return l},set:function(b){l=b}});var c="normal";Object.defineProperty(this,"fontStyle",{enumerable:!0,configurable:!0,get:function(){return c},set:function(b){c=b}});var f=0;Object.defineProperty(this,"fontSize",{enumerable:!0,configurable:!0,get:function(){return f},set:function(b){f=b}});var p=void 0;Object.defineProperty(this,"maxFontSize",{enumerable:!0,configurable:!0,get:function(){return p===void 0?50/Wl:p},set:function(b){p=b}});var m="black";Object.defineProperty(this,"color",{enumerable:!0,configurable:!0,get:function(){return m},set:function(b){m=b}});var v="/F1 0 Tf 0 g";Object.defineProperty(this,"DA",{enumerable:!0,configurable:!1,get:function(){if(!(!v||this instanceof Go||this instanceof Xr))return dl(v,this.objId,this.scope)},set:function(b){b=b.toString(),v=b}});var w=null;Object.defineProperty(this,"DV",{enumerable:!1,configurable:!1,get:function(){if(w)return this instanceof Je?w:dl(w,this.objId,this.scope)},set:function(b){b=b.toString(),w=this instanceof Je?b:b.substr(0,1)==="("?Xi(b.substr(1,b.length-2)):Xi(b)}}),Object.defineProperty(this,"defaultValue",{enumerable:!0,configurable:!0,get:function(){return this instanceof Je?Xi(w.substr(1,w.length-1)):w}
vendor: 22,744 bytes, line 32
32,set:function(b){b=b.toString(),w=this instanceof Je?"/"+b:b}});var d=null;Object.defineProperty(this,"_V",{enumerable:!1,configurable:!1,get:function(){if(d)return d},set:function(b){this.V=b}}),Object.defineProperty(this,"V",{enumerable:!1,configurable:!1,get:function(){if(d)return this instanceof Je?d:dl(d,this.objId,this.scope)},set:function(b){b=b.toString(),d=this instanceof Je?b:b.substr(0,1)==="("?Xi(b.substr(1,b.length-2)):Xi(b)}}),Object.defineProperty(this,"value",{enumerable:!0,configurable:!0,get:function(){return this instanceof Je?Xi(d.substr(1,d.length-1)):d},set:function(b){b=b.toString(),d=this instanceof Je?"/"+b:b}}),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 y,_=!1;Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return _},set:function(b){b=!!b,_=b}}),Object.defineProperty(this,"page",{enumerable:!0,configurable:!0,get:function(){if(y)return y},set:function(b){y=b}}),Object.defineProperty(this,"readOnly",{enumerable:!0,configurable:!0,get:function(){return!!De(this.Ff,1)},set:function(b){b?this.Ff=Be(this.Ff,1):this.Ff=Me(this.Ff,1)}}),Object.defineProperty(this,"required",{enumerable:!0,configurable:!0,get:function(){return!!De(this.Ff,2)},set:function(b){b?this.Ff=Be(this.Ff,2):this.Ff=Me(this.Ff,2)}}),Object.defineProperty(this,"noExport",{enumerable:!0,configurable:!0,get:function(){return!!De(this.Ff,3)},set:function(b){b?this.Ff=Be(this.Ff,3):this.Ff=Me(this.Ff,3)}});var k=null;Object.defineProperty(this,"Q",{enumerable:!0,configurable:!1,get:function(){if(k!==null)return k},set:function(b){if([0,1,2].indexOf(b)===-1)throw new Error('Invalid value "'+b+'" for attribute Q supplied.');k=b}}),Object.defineProperty(this,"textAlign",{get:function(){var b;switch(k){case 0:default:b="left";break;case 1:b="center";break;case 2:b="right"}return b},configurable:!0,enumerable:!0,set:function(b){switch(b){case"right":case 2:k=2;break;case"center":case 1:k=1;break;case"left":case 0:default:k=0}}})};bn(Zn,fr);var pi=function(){Zn.call(this),this.FT="/Ch",this.V="()",this.fontName="zapfdingbats";var e=0;Object.defineProperty(this,"TI",{enumerable:!0,configurable:!1,get:function(){return e},set:function(n){e=n}}),Object.defineProperty(this,"topIndex",{enumerable:!0,configurable:!0,get:function(){return e},set:function(n){e=n}});var t=[];Object.defineProperty(this,"Opt",{enumerable:!0,configurable:!1,get:function(){return Mc(t,this.objId,this.scope)},set:function(n){var i,o;o=[],typeof(i=n)=="string"&&(o=function(a,l,c){c||(c=1);for(var f,p=[];f=l.exec(a);)p.push(f[c]);return p}(i,/\((.*?)\)/g)),t=o}}),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,i){for(i=i||!1,n=(n=n||"").toString();t.indexOf(n)!==-1&&(t.splice(t.indexOf(n),1),i!==!1););},Object.defineProperty(this,"combo",{enumerable:!0,configurable:!0,get:function(){return!!De(this.Ff,18)},set:function(n){n?this.Ff=Be(this.Ff,18):this.Ff=Me(this.Ff,18)}}),Object.defineProperty(this,"edit",{enumerable:!0,configurable:!0,get:function(){return!!De(this.Ff,19)},set:function(n){this.combo===!0&&(n?this.Ff=Be(this.Ff,19):this.Ff=Me(this.Ff,19))}}),Object.defineProperty(this,"sort",{enumerable:!0,configurable:!0,get:function(){return!!De(this.Ff,20)},set:function(n){n?(this.Ff=Be(this.Ff,20),t.sort()):this.Ff=Me(this.Ff,20)}}),Object.defineProperty(this,"multiSelect",{enumerable:!0,configurable:!0,get:function(){return!!De(this.Ff,22)},set:function(n){n?this.Ff=Be(this.Ff,22):this.Ff=Me(this.Ff,22)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return!!De(this.Ff,23)},set:function(n){n?this.Ff=Be(this.Ff,23):this.Ff=Me(this.Ff,23)}}),Object.defineProperty(this,"commitOnSelChange",{enumerable:!0,configurable:!0,get:function(){return!!De(this.Ff,27)},set:function(n){n?this.Ff=Be(this.Ff,27):this.Ff=Me(this.Ff,27)}}),this.hasAppearanceStream=!1};bn(pi,Zn);var gi=function(){pi.call(this),this.fontName="helvetica",this.combo=!1};bn(gi,pi);var mi=function(){gi.call(this),this.combo=!0};bn(mi,gi);var Ra=function(){mi.call(this),this.edit=!0};bn(Ra,mi);var Je=function(){Zn.call(this),this.FT="/Btn",Object.defineProperty(this,"noToggleToOff",{enumerable:!0,configurable:!0,get:function(){return!!De(this.Ff,15)},set:function(n){n?this.Ff=Be(this.Ff,15):this.Ff=Me(this.Ff,15)}}),Object.defineProperty(this,"radio",{enumerable:!0,configurable:!0,get:function(){return!!De(this.Ff,16)},set:function(n){n?this.Ff=Be(this.Ff,16):this.Ff=Me(this.Ff,16)}}),Object.defineProperty(this,"pushButton",{enumerable:!0,configurable:!0,get:function(){return!!De(this.Ff,17)},set:function(n){n?this.Ff=Be(this.Ff,17):this.Ff=Me(this.Ff,17)}}),Object.defineProperty(this,"radioIsUnison",{enumerable:!0,configurable:!0,get:function(){return!!De(this.Ff,26)},set:function(n){n?this.Ff=Be(this.Ff,26):this.Ff=Me(this.Ff,26)}});var e,t={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var n=function(a){return a};if(this.scope&&(n=this.scope.internal.getEncryptor(this.objId)),Object.keys(t).length!==0){var i,o=[];for(i in o.push("<<"),t)o.push("/"+i+" ("+bi(n(t[i]))+")");return o.push(">>"),o.join("\n")}},set:function(n){ye(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 e},set:function(n){e=n}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return e.substr(1,e.length-1)},set:function(n){e="/"+n}})};bn(Je,Zn);var Da=function(){Je.call(this),this.pushButton=!0};bn(Da,Je);var vi=function(){Je.call(this),this.radio=!0,this.pushButton=!1;var e=[];Object.defineProperty(this,"Kids",{enumerable:!0,configurable:!1,get:function(){return e},set:function(t){e=t!==void 0?t:[]}})};bn(vi,Je);var Go=function(){var e,t;Zn.call(this),Object.defineProperty(this,"Parent",{enumerable:!1,configurable:!1,get:function(){return e},set:function(o){e=o}}),Object.defineProperty(this,"optionName",{enumerable:!1,configurable:!0,get:function(){return t},set:function(o){t=o}});var n,i={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var o=function(c){return c};this.scope&&(o=this.scope.internal.getEncryptor(this.objId));var a,l=[];for(a in l.push("<<"),i)l.push("/"+a+" ("+bi(o(i[a]))+")");return l.push(">>"),l.join("\n")},set:function(o){ye(o)==="object"&&(i=o)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return i.CA||""},set:function(o){typeof o=="string"&&(i.CA=o)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return n},set:function(o){n=o}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return n.substr(1,n.length-1)},set:function(o){n="/"+o}}),this.caption="l",this.appearanceState="Off",this._AppearanceType=qt.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(this.optionName)};bn(Go,Zn),vi.prototype.setAppearance=function(e){if(!("createAppearanceStream"in e)||!("getCA"in e))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=e.createAppearanceStream(n.optionName),n.caption=e.getCA()}},vi.prototype.createOption=function(e){var t=new Go;return t.Parent=this,t.optionName=e,this.Kids.push(t),K1.call(this.scope,t),t};var Ba=function(){Je.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=qt.CheckBox.createAppearanceStream()};bn(Ba,Je);var Xr=function(){Zn.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return!!De(this.Ff,13)},set:function(t){t?this.Ff=Be(this.Ff,13):this.Ff=Me(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return!!De(this.Ff,21)},set:function(t){t?this.Ff=Be(this.Ff,21):this.Ff=Me(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return!!De(this.Ff,23)},set:function(t){t?this.Ff=Be(this.Ff,23):this.Ff=Me(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return!!De(this.Ff,24)},set:function(t){t?this.Ff=Be(this.Ff,24):this.Ff=Me(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return!!De(this.Ff,25)},set:function(t){t?this.Ff=Be(this.Ff,25):this.Ff=Me(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return!!De(this.Ff,26)},set:function(t){t?this.Ff=Be(this.Ff,26):this.Ff=Me(this.Ff,26)}});var e=null;Object.defineProperty(this,"MaxLen",{enumerable:!0,configurable:!1,get:function(){return e},set:function(t){e=t}}),Object.defineProperty(this,"maxLength",{enumerable:!0,configurable:!0,get:function(){return e},set:function(t){Number.isInteger(t)&&(e=t)}}),Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return this.V||this.DV}})};bn(Xr,Zn);var Ma=function(){Xr.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return!!De(this.Ff,14)},set:function(e){e?this.Ff=Be(this.Ff,14):this.Ff=Me(this.Ff,14)}}),this.password=!0};bn(Ma,Xr);var qt={CheckBox:{createAppearanceStream:function(){return{N:{On:qt.CheckBox.YesNormal},D:{On:qt.CheckBox.YesPushDown,Off:qt.CheckBox.OffPushDown}}},YesPushDown:function(e){var t=cr(e);t.scope=e.scope;var n=[],i=e.scope.internal.getFont(e.fontName,e.fontStyle).id,o=e.scope.__private__.encodeColorString(e.color),a=Tl(e,e.caption);return n.push("0.749023 g"),n.push("0 0 "+te(qt.internal.getWidth(e))+" "+te(qt.internal.getHeight(e))+" re"),n.push("f"),n.push("BMC"),n.push("q"),n.push("0 0 1 rg"),n.push("/"+i+" "+te(a.fontSize)+" Tf "+o),n.push("BT"),n.push(a.text),n.push("ET"),n.push("Q"),n.push("EMC"),t.stream=n.join("\n"),t},YesNormal:function(e){var t=cr(e);t.scope=e.scope;var n=e.scope.internal.getFont(e.fontName,e.fontStyle).id,i=e.scope.__private__.encodeColorString(e.color),o=[],a=qt.internal.getHeight(e),l=qt.internal.getWidth(e),c=Tl(e,e.caption);return o.push("1 g"),o.push("0 0 "+te(l)+" "+te(a)+" re"),o.push("f"),o.push("q"),o.push("0 0 1 rg"),o.push("0 0 "+te(l-1)+" "+te(a-1)+" re"),o.push("W"),o.push("n"),o.push("0 g"),o.push("BT"),o.push("/"+n+" "+te(c.fontSize)+" Tf "+i),o.push(c.text),o.push("ET"),o.push("Q"),t.stream=o.join("\n"),t},OffPushDown:function(e){var t=cr(e);t.scope=e.scope;var n=[];return n.push("0.749023 g"),n.push("0 0 "+te(qt.internal.getWidth(e))+" "+te(qt.internal.getHeight(e))+" re"),n.push("f"),t.stream=n.join("\n"),t}},RadioButton:{Circle:{createAppearanceStream:function(e){var t={D:{Off:qt.RadioButton.Circle.OffPushDown},N:{}};return t.N[e]=qt.RadioButton.Circle.YesNormal,t.D[e]=qt.RadioButton.Circle.YesPushDown,t},getCA:function(){return"l"},YesNormal:function(e){var t=cr(e);t.scope=e.scope;var n=[],i=qt.internal.getWidth(e)<=qt.internal.getHeight(e)?qt.internal.getWidth(e)/4:qt.internal.getHeight(e)/4;i=Number((.9*i).toFixed(5));var o=qt.internal.Bezier_C,a=Number((i*o).toFixed(5));return n.push("q"),n.push("1 0 0 1 "+Jr(qt.internal.getWidth(e)/2)+" "+Jr(qt.internal.getHeight(e)/2)+" cm"),n.push(i+" 0 m"),n.push(i+" "+a+" "+a+" "+i+" 0 "+i+" c"),n.push("-"+a+" "+i+" -"+i+" "+a+" -"+i+" 0 c"),n.push("-"+i+" -"+a+" -"+a+" -"+i+" 0 -"+i+" c"),n.push(a+" -"+i+" "+i+" -"+a+" "+i+" 0 c"),n.push("f"),n.push("Q"),t.stream=n.join("\n"),t},YesPushDown:function(e){var t=cr(e);t.scope=e.scope;var n=[],i=qt.internal.getWidth(e)<=qt.internal.getHeight(e)?qt.internal.getWidth(e)/4:qt.internal.getHeight(e)/4;i=Number((.9*i).toFixed(5));var o=Number((2*i).toFixed(5)),a=Number((o*qt.internal.Bezier_C).toFixed(5)),l=Number((i*qt.internal.Bezier_C).toFixed(5));return n.push("0.749023 g"),n.push("q"),n.push("1 0 0 1 "+Jr(qt.internal.getWidth(e)/2)+" "+Jr(qt.internal.getHeight(e)/2)+" cm"),n.push(o+" 0 m"),n.push(o+" "+a+" "+a+" "+o+" 0 "+o+" c"),n.push("-"+a+" "+o+" -"+o+" "+a+" -"+o+" 0 c"),n.push("-"+o+" -"+a+" -"+a+" -"+o+" 0 -"+o+" c"),n.push(a+" -"+o+" "+o+" -"+a+" "+o+" 0 c"),n.push("f"),n.push("Q"),n.push("0 g"),n.push("q"),n.push("1 0 0 1 "+Jr(qt.internal.getWidth(e)/2)+" "+Jr(qt.internal.getHeight(e)/2)+" cm"),n.push(i+" 0 m"),n.push(i+" "+l+" "+l+" "+i+" 0 "+i+" c"),n.push("-"+l+" "+i+" -"+i+" "+l+" -"+i+" 0 c"),n.push("-"+i+" -"+l+" -"+l+" -"+i+" 0 -"+i+" c"),n.push(l+" -"+i+" "+i+" -"+l+" "+i+" 0 c"),n.push("f"),n.push("Q"),t.stream=n.join("\n"),t},OffPushDown:function(e){var t=cr(e);t.scope=e.scope;var n=[],i=qt.internal.getWidth(e)<=qt.internal.getHeight(e)?qt.internal.getWidth(e)/4:qt.internal.getHeight(e)/4;i=Number((.9*i).toFixed(5));var o=Number((2*i).toFixed(5)),a=Number((o*qt.internal.Bezier_C).toFixed(5));return n.push("0.749023 g"),n.push("q"),n.push("1 0 0 1 "+Jr(qt.internal.getWidth(e)/2)+" "+Jr(qt.internal.getHeight(e)/2)+" cm"),n.push(o+" 0 m"),n.push(o+" "+a+" "+a+" "+o+" 0 "+o+" c"),n.push("-"+a+" "+o+" -"+o+" "+a+" -"+o+" 0 c"),n.push("-"+o+" -"+a+" -"+a+" -"+o+" 0 -"+o+" c"),n.push(a+" -"+o+" "+o+" -"+a+" "+o+" 0 c"),n.push("f"),n.push("Q"),t.stream=n.join("\n"),t}},Cross:{createAppearanceStream:function(e){var t={D:{Off:qt.RadioButton.Cross.OffPushDown},N:{}};return t.N[e]=qt.RadioButton.Cross.YesNormal,t.D[e]=qt.RadioButton.Cross.YesPushDown,t},getCA:function(){return"8"},YesNormal:function(e){var t=cr(e);t.scope=e.scope;var n=[],i=qt.internal.calculateCross(e);return n.push("q"),n.push("1 1 "+te(qt.internal.getWidth(e)-2)+" "+te(qt.internal.getHeight(e)-2)+" re"),n.push("W"),n.push("n"),n.push(te(i.x1.x)+" "+te(i.x1.y)+" m"),n.push(te(i.x2.x)+" "+te(i.x2.y)+" l"),n.push(te(i.x4.x)+" "+te(i.x4.y)+" m"),n.push(te(i.x3.x)+" "+te(i.x3.y)+" l"),n.push("s"),n.push("Q"),t.stream=n.join("\n"),t},YesPushDown:function(e){var t=cr(e);t.scope=e.scope;var n=qt.internal.calculateCross(e),i=[];return i.push("0.749023 g"),i.push("0 0 "+te(qt.internal.getWidth(e))+" "+te(qt.internal.getHeight(e))+" re"),i.push("f"),i.push("q"),i.push("1 1 "+te(qt.internal.getWidth(e)-2)+" "+te(qt.internal.getHeight(e)-2)+" re"),i.push("W"),i.push("n"),i.push(te(n.x1.x)+" "+te(n.x1.y)+" m"),i.push(te(n.x2.x)+" "+te(n.x2.y)+" l"),i.push(te(n.x4.x)+" "+te(n.x4.y)+" m"),i.push(te(n.x3.x)+" "+te(n.x3.y)+" l"),i.push("s"),i.push("Q"),t.stream=i.join("\n"),t},OffPushDown:function(e){var t=cr(e);t.scope=e.scope;var n=[];return n.push("0.749023 g"),n.push("0 0 "+te(qt.internal.getWidth(e))+" "+te(qt.internal.getHeight(e))+" re"),n.push("f"),t.stream=n.join("\n"),t}}},createDefaultAppearanceStream:function(e){var t=e.scope.internal.getFont(e.fontName,e.fontStyle).id,n=e.scope.__private__.encodeColorString(e.color);return"/"+t+" "+e.fontSize+" Tf "+n}};qt.internal={Bezier_C:.551915024494,calculateCross:function(e){var t=qt.internal.getWidth(e),n=qt.internal.getHeight(e),i=Math.min(t,n);return{x1:{x:(t-i)/2,y:(n-i)/2+i},x2:{x:(t-i)/2+i,y:(n-i)/2},x3:{x:(t-i)/2,y:(n-i)/2},x4:{x:(t-i)/2+i,y:(n-i)/2+i}}}},qt.internal.getWidth=function(e){var t=0;return ye(e)==="object"&&(t=Yu(e.Rect[2])),t},qt.internal.getHeight=function(e){var t=0;return ye(e)==="object"&&(t=Yu(e.Rect[3])),t};var K1=Ee.addField=function(e){if(Y1(this,e),!(e instanceof Zn))throw new Error("Invalid argument passed to jsPDF.addField.");var t;return(t=e).scope.internal.acroformPlugin.printedOut&&(t.scope.internal.acroformPlugin.printedOut=!1,t.scope.internal.acroformPlugin.acroFormDictionaryRoot=null),t.scope.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(t),e.page=e.scope.internal.getCurrentPageInfo().pageNumber,this};Ee.AcroFormChoiceField=pi,Ee.AcroFormListBox=gi,Ee.AcroFormComboBox=mi,Ee.AcroFormEditBox=Ra,Ee.AcroFormButton=Je,Ee.AcroFormPushButton=Da,Ee.AcroFormRadioButton=vi,Ee.AcroFormCheckBox=Ba,Ee.AcroFormTextField=Xr,Ee.AcroFormPasswordField=Ma,Ee.AcroFormAppearance=qt,Ee.AcroForm={ChoiceField:pi,ListBox:gi,ComboBox:mi,EditBox:Ra,Button:Je,PushButton:Da,RadioButton:vi,CheckBox:Ba,TextField:Xr,PasswordField:Ma,Appearance:qt},Wt.AcroForm={ChoiceField:pi,ListBox:gi,ComboBox:mi,EditBox:Ra,Button:Je,PushButton:Da,RadioButton:vi,CheckBox:Ba,TextField:Xr,PasswordField:Ma,Appearance:qt};var X1=Wt.AcroForm;function Uc(e){return e.reduce(function(t,n,i){return t[n]=i,t},{})}(function(e){e.__addimage__={};var t="UNKNOWN",n={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]]},i=e.__addimage__.getImageFileTypeByImageData=function(P,A){var z,B,ot,W,H,Y=t;if((A=A||t)==="RGBA"||P.data!==void 0&&P.data instanceof Uint8ClampedArray&&"height"in P&&"width"in P)return"RGBA";if(J(P))for(H in n)for(ot=n[H],z=0;z<ot.length;z+=1){for(W=!0,B=0;B<ot[z].length;B+=1)if(ot[z][B]!==void 0&&ot[z][B]!==P[B]){W=!1;break}if(W===!0){Y=H;break}}else for(H in n)for(ot=n[H],z=0;z<ot.length;z+=1){for(W=!0,B=0;B<ot[z].length;B+=1)if(ot[z][B]!==void 0&&ot[z][B]!==P.charCodeAt(B)){W=!1;break}if(W===!0){Y=H;break}}return Y===t&&A!==t&&(Y=A),Y},o=function P(A){for(var z=this.internal.write,B=this.internal.putStream,ot=(0,this.internal.getFilters)();ot.indexOf("FlateEncode")!==-1;)ot.splice(ot.indexOf("FlateEncode"),1);A.objectId=this.internal.newObject();var W=[];if(W.push({key:"Type",value:"/XObject"}),W.push({key:"Subtype",value:"/Image"}),W.push({key:"Width",value:A.width}),W.push({key:"Height",value:A.height}),A.colorSpace===k.INDEXED?W.push({key:"ColorSpace",value:"[/Indexed /DeviceRGB "+(A.palette.length/3-1)+" "+("sMask"in A&&A.sMask!==void 0?A.objectId+2:A.objectId+1)+" 0 R]"}):(W.push({key:"ColorSpace",value:"/"+A.colorSpace}),A.colorSpace===k.DEVICE_CMYK&&W.push({key:"Decode",value:"[1 0 1 0 1 0 1 0]"})),W.push({key:"BitsPerComponent",value:A.bitsPerComponent}),"decodeParameters"in A&&A.decodeParameters!==void 0&&W.push({key:"DecodeParms",value:"<<"+A.decodeParameters+">>"}),"transparency"in A&&Array.isArray(A.transparency)){for(var H="",Y=0,K=A.transparency.length;Y<K;Y++)H+=A.transparency[Y]+" "+A.transparency[Y]+" ";W.push({key:"Mask",value:"["+H+"]"})}A.sMask!==void 0&&W.push({key:"SMask",value:A.objectId+1+" 0 R"});var et=A.filter!==void 0?["/"+A.filter]:void 0;if(B({data:A.data,additionalKeyValues:W,alreadyAppliedFilters:et,objectId:A.objectId}),z("endobj"),"sMask"in A&&A.sMask!==void 0){var dt="/Predictor "+A.predictor+" /Colors 1 /BitsPerComponent "+A.bitsPerComponent+" /Columns "+A.width,S={width:A.width,height:A.height,colorSpace:"DeviceGray",bitsPerComponent:A.bitsPerComponent,decodeParameters:dt,data:A.sMask};"filter"in A&&(S.filter=A.filter),P.call(this,S)}if(A.colorSpace===k.INDEXED){var D=this.internal.newObject();B({data:O(new Uint8Array(A.palette)),objectId:D}),z("endobj")}},a=function(){var P=this.internal.collections.addImage_images;for(var A in P)o.call(this,P[A])},l=function(){var P,A=this.internal.collections.addImage_images,z=this.internal.write;for(var B in A)z("/I"+(P=A[B]).index,P.objectId,"0","R")},c=function(){this.internal.collections.addImage_images||(this.internal.collections.addImage_images={},this.internal.events.subscribe("putResources",a),this.internal.events.subscribe("putXobjectDict",l))},f=function(){var P=this.internal.collections.addImage_images;return c.call(this),P},p=function(){return Object.keys(this.internal.collections.addImage_images).length},m=function(P){return typeof e["process"+P.toUpperCase()]=="function"},v=function(P){return ye(P)==="object"&&P.nodeType===1},w=function(P,A){if(P.nodeName==="IMG"&&P.hasAttribute("src")){var z=""+P.getAttribute("src");if(z.indexOf("data:image/")===0)return Ta(unescape(z).split("base64,").pop());var B=e.loadFile(z,!0);if(B!==void 0)return B}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 ot;switch(A){case"PNG":ot="image/png";break;case"WEBP":ot="image/webp";break;case"JPEG":case"JPG":default:ot="image/jpeg"}return Ta(P.toDataURL(ot,1).split("base64,").pop())}},d=function(P){var A=this.internal.collections.addImage_images;if(A){for(var z in A)if(P===A[z].alias)return A[z]}},y=function(P,A,z){return P||A||(P=-96,A=-96),P<0&&(P=-1*z.width*72/P/this.internal.scaleFactor),A<0&&(A=-1*z.height*72/A/this.internal.scaleFactor),P===0&&(P=A*z.width/z.height),A===0&&(A=P*z.height/z.width),[P,A]},_=function(P,A,z,B,ot,W){var H=y.call(this,z,B,ot),Y=this.internal.getCoordinateString,K=this.internal.getVerticalCoordinateString,et=f.call(this);if(z=H[0],B=H[1],et[ot.index]=ot,W){W*=Math.PI/180;var dt=Math.cos(W),S=Math.sin(W),D=function(G){return G.toFixed(4)},M=[D(dt),D(S),D(-1*S),D(dt),0,0,"cm"]}this.internal.write("q"),W?(this.internal.write([1,"0","0",1,Y(P),K(A+B),"cm"].join(" ")),this.internal.write(M.join(" ")),this.internal.write([Y(z),"0","0",Y(B),"0","0","cm"].join(" "))):this.internal.write([Y(z),"0","0",Y(B),Y(P),K(A+B),"cm"].join(" ")),this.isAdvancedAPI()&&this.internal.write([1,0,0,-1,0,0,"cm"].join(" ")),this.internal.write("/I"+ot.index+" Do"),this.internal.write("Q")},k=e.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"};e.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 b=e.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},L=e.__addimage__.sHashCode=function(P){var A,z,B=0;if(typeof P=="string")for(z=P.length,A=0;A<z;A++)B=(B<<5)-B+P.charCodeAt(A),B|=0;else if(J(P))for(z=P.byteLength/2,A=0;A<z;A++)B=(B<<5)-B+P[A],B|=0;return B}
32,C=e.__addimage__.validateStringAsBase64=function(P){(P=P||"").toString().trim();var A=!0;return P.length===0&&(A=!1),P.length%4!=0&&(A=!1),/^[A-Za-z0-9+/]+$/.test(P.substr(0,P.length-2))===!1&&(A=!1),/^[A-Za-z0-9/][A-Za-z0-9+/]|[A-Za-z0-9+/]=|==$/.test(P.substr(-2))===!1&&(A=!1),A},R=e.__addimage__.extractImageFromDataUrl=function(P){var A=(P=P||"").split("base64,"),z=null;if(A.length===2){var B=/^data:(\w*\/\w*);*(charset=(?!charset=)[\w=-]*)*;*$/.exec(A[0]);Array.isArray(B)&&(z={mimeType:B[1],charset:B[2],data:A[1]})}return z},U=e.__addimage__.supportsArrayBuffer=function(){return typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"};e.__addimage__.isArrayBuffer=function(P){return U()&&P instanceof ArrayBuffer};var J=e.__addimage__.isArrayBufferView=function(P){return U()&&typeof Uint32Array<"u"&&(P instanceof Int8Array||P instanceof Uint8Array||typeof Uint8ClampedArray<"u"&&P instanceof Uint8ClampedArray||P instanceof Int16Array||P instanceof Uint16Array||P instanceof Int32Array||P instanceof Uint32Array||P instanceof Float32Array||P instanceof Float64Array)},E=e.__addimage__.binaryStringToUint8Array=function(P){for(var A=P.length,z=new Uint8Array(A),B=0;B<A;B++)z[B]=P.charCodeAt(B);return z},O=e.__addimage__.arrayBufferToBinaryString=function(P){for(var A="",z=J(P)?P:new Uint8Array(P),B=0;B<z.length;B+=8192)A+=String.fromCharCode.apply(null,z.subarray(B,B+8192));return A};e.addImage=function(){var P,A,z,B,ot,W,H,Y,K;if(typeof arguments[1]=="number"?(A=t,z=arguments[1],B=arguments[2],ot=arguments[3],W=arguments[4],H=arguments[5],Y=arguments[6],K=arguments[7]):(A=arguments[1],z=arguments[2],B=arguments[3],ot=arguments[4],W=arguments[5],H=arguments[6],Y=arguments[7],K=arguments[8]),ye(P=arguments[0])==="object"&&!v(P)&&"imageData"in P){var et=P;P=et.imageData,A=et.format||A||t,z=et.x||z||0,B=et.y||B||0,ot=et.w||et.width||ot,W=et.h||et.height||W,H=et.alias||H,Y=et.compression||Y,K=et.rotation||et.angle||K}var dt=this.internal.getFilters();if(Y===void 0&&dt.indexOf("FlateEncode")!==-1&&(Y="SLOW"),isNaN(z)||isNaN(B))throw new Error("Invalid coordinates passed to jsPDF.addImage");c.call(this);var S=$.call(this,P,A,H,Y);return _.call(this,z,B,ot,W,S,K),this};var $=function(P,A,z,B){var ot,W,H;if(typeof P=="string"&&i(P)===t){P=unescape(P);var Y=Q(P,!1);(Y!==""||(Y=e.loadFile(P,!0))!==void 0)&&(P=Y)}if(v(P)&&(P=w(P,A)),A=i(P,A),!m(A))throw new Error("addImage does not support files of type '"+A+"', please ensure that a plugin for '"+A+"' support is added.");if(((H=z)==null||H.length===0)&&(z=function(K){return typeof K=="string"||J(K)?L(K):J(K.data)?L(K.data):null}(P)),(ot=d.call(this,z))||(U()&&(P instanceof Uint8Array||A==="RGBA"||(W=P,P=E(P))),ot=this["process"+A.toUpperCase()](P,p.call(this),z,function(K){return K&&typeof K=="string"&&(K=K.toUpperCase()),K in e.image_compression?K:b.NONE}(B),W)),!ot)throw new Error("An unknown error occurred whilst processing the image.");return ot},Q=e.__addimage__.convertBase64ToBinaryString=function(P,A){var z;A=typeof A!="boolean"||A;var B,ot="";if(typeof P=="string"){B=(z=R(P))!==null?z.data:P;try{ot=Ta(B)}catch(W){if(A)throw C(B)?new Error("atob-Error in jsPDF.convertBase64ToBinaryString "+W.message):new Error("Supplied Data is not a valid base64-String jsPDF.convertBase64ToBinaryString ")}}return ot};e.getImageProperties=function(P){var A,z,B="";if(v(P)&&(P=w(P)),typeof P=="string"&&i(P)===t&&((B=Q(P,!1))===""&&(B=e.loadFile(P)||""),P=B),z=i(P),!m(z))throw new Error("addImage does not support files of type '"+z+"', please ensure that a plugin for '"+z+"' support is added.");if(!U()||P instanceof Uint8Array||(P=E(P)),!(A=this["process"+z.toUpperCase()](P)))throw new Error("An unknown error occurred whilst processing the image");return A.fileType=z,A}})(Wt.API),function(e){var t=function(n){if(n!==void 0&&n!="")return!0};Wt.API.events.push(["addPage",function(n){this.internal.getPageInfo(n.pageNumber).pageContext.annotations=[]}]),e.events.push(["putPage",function(n){for(var i,o,a,l=this.internal.getCoordinateString,c=this.internal.getVerticalCoordinateString,f=this.internal.getPageInfoByObjId(n.objId),p=n.pageContext.annotations,m=!1,v=0;v<p.length&&!m;v++)switch((i=p[v]).type){case"link":(t(i.options.url)||t(i.options.pageNumber))&&(m=!0);break;case"reference":case"text":case"freetext":m=!0}if(m!=0){this.internal.write("/Annots [");for(var w=0;w<p.length;w++){i=p[w];var d=this.internal.pdfEscape,y=this.internal.getEncryptor(n.objId);switch(i.type){case"reference":this.internal.write(" "+i.object.objId+" 0 R ");break;case"text":var _=this.internal.newAdditionalObject(),k=this.internal.newAdditionalObject(),b=this.internal.getEncryptor(_.objId),L=i.title||"Note";a="<</Type /Annot /Subtype /Text "+(o="/Rect ["+l(i.bounds.x)+" "+c(i.bounds.y+i.bounds.h)+" "+l(i.bounds.x+i.bounds.w)+" "+c(i.bounds.y)+"] ")+"/Contents ("+d(b(i.contents))+")",a+=" /Popup "+k.objId+" 0 R",a+=" /P "+f.objId+" 0 R",a+=" /T ("+d(b(L))+") >>",_.content=a;var C=_.objId+" 0 R";a="<</Type /Annot /Subtype /Popup "+(o="/Rect ["+l(i.bounds.x+30)+" "+c(i.bounds.y+i.bounds.h)+" "+l(i.bounds.x+i.bounds.w+30)+" "+c(i.bounds.y)+"] ")+" /Parent "+C,i.open&&(a+=" /Open true"),a+=" >>
32",k.content=a,this.internal.write(_.objId,"0 R",k.objId,"0 R");break;case"freetext":o="/Rect ["+l(i.bounds.x)+" "+c(i.bounds.y)+" "+l(i.bounds.x+i.bounds.w)+" "+c(i.bounds.y+i.bounds.h)+"] ";var R=i.color||"#000000";a="<</Type /Annot /Subtype /FreeText "+o+"/Contents ("+d(y(i.contents))+")",a+=" /DS(font: Helvetica,sans-serif 12.0pt; text-align:left; color:#"+R+")",a+=" /Border [0 0 0]",a+=" >>",this.internal.write(a);break;case"link":if(i.options.name){var U=this.annotations._nameMap[i.options.name];i.options.pageNumber=U.page,i.options.top=U.y}else i.options.top||(i.options.top=0);if(o="/Rect ["+i.finalBounds.x+" "+i.finalBounds.y+" "+i.finalBounds.w+" "+i.finalBounds.h+"] ",a="",i.options.url)a="<</Type /Annot /Subtype /Link "+o+"/Border [0 0 0] /A <</S /URI /URI ("+d(y(i.options.url))+") >>";else if(i.options.pageNumber)switch(a="<</Type /Annot /Subtype /Link "+o+"/Border [0 0 0] /Dest ["+this.internal.getPageInfo(i.options.pageNumber).objId+" 0 R",i.options.magFactor=i.options.magFactor||"XYZ",i.options.magFactor){case"Fit":a+=" /Fit]";break;case"FitH":a+=" /FitH "+i.options.top+"]";break;case"FitV":i.options.left=i.options.left||0,a+=" /FitV "+i.options.left+"]";break;case"XYZ":default:var J=c(i.options.top);i.options.left=i.options.left||0,i.options.zoom===void 0&&(i.options.zoom=0),a+=" /XYZ "+i.options.left+" "+J+" "+i.options.zoom+"]"}a!=""&&(a+=" >>",this.internal.write(a))}}this.internal.write("]")}}]),e.createAnnotation=function(n){var i=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":i.pageContext.annotations.push(n)}},e.link=function(n,i,o,a,l){var c=this.internal.getCurrentPageInfo(),f=this.internal.getCoordinateString,p=this.internal.getVerticalCoordinateString;c.pageContext.annotations.push({finalBounds:{x:f(n),y:p(i),w:f(n+o),h:p(i+a)},options:l,type:"link"})},e.textWithLink=function(n,i,o,a){var l,c,f=this.getTextWidth(n),p=this.internal.getLineHeight()/this.internal.scaleFactor;if(a.maxWidth!==void 0){c=a.maxWidth;var m=this.splitTextToSize(n,c).length;l=Math.ceil(p*m)}else c=f,l=p;return this.text(n,i,o,a),o+=.2*p,a.align==="center"&&(i-=f/2),a.align==="right"&&(i-=f),this.link(i,o-p,c,l,a),f},e.getTextWidth=function(n){var i=this.internal.getFontSize();return this.getStringUnitWidth(n)*i/this.internal.scaleFactor}}(Wt.API),function(e){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,599 bytes, line 32
327],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}},i={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},o=[1570,1571,1573,1575];e.__arabicParser__={};var a=e.__arabicParser__.isInArabicSubstitutionA=function(_){return t[_.charCodeAt(0)]!==void 0},l=e.__arabicParser__.isArabicLetter=function(_){return typeof _=="string"&&/^[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]+$/.test(_)},c=e.__arabicParser__.isArabicEndLetter=function(_){return l(_)&&a(_)&&t[_.charCodeAt(0)].length<=2},f=e.__arabicParser__.isArabicAlfLetter=function(_){return l(_)&&o.indexOf(_.charCodeAt(0))>=0};e.__arabicParser__.arabicLetterHasIsolatedForm=function(_){return l(_)&&a(_)&&t[_.charCodeAt(0)].length>=1};var p=e.__arabicParser__.arabicLetterHasFinalForm=function(_){return l(_)&&a(_)&&t[_.charCodeAt(0)].length>=2};e.__arabicParser__.arabicLetterHasInitialForm=function(_){return l(_)&&a(_)&&t[_.charCodeAt(0)].length>=3};var m=e.__arabicParser__.arabicLetterHasMedialForm=function(_){return l(_)&&a(_)&&t[_.charCodeAt(0)].length==4},v=e.__arabicParser__.resolveLigatures=function(_){var k=0,b=n,L="",C=0;for(k=0;k<_.length;k+=1)b[_.charCodeAt(k)]!==void 0?(C++,typeof(b=b[_.charCodeAt(k)])=="number"&&(L+=String.fromCharCode(b),b=n,C=0),k===_.length-1&&(b=n,L+=_.charAt(k-(C-1)),k-=C-1,C=0)):(b=n,L+=_.charAt(k-C),k-=C,C=0);return L};e.__arabicParser__.isArabicDiacritic=function(_){return _!==void 0&&i[_.charCodeAt(0)]!==void 0};var w=e.__arabicParser__.getCorrectForm=function(_,k,b){return l(_)?a(_)===!1?-1:!p(_)||!l(k)&&!l(b)||!l(b)&&c(k)||c(_)&&!l(k)||c(_)&&f(k)||c(_)&&c(k)?0:m(_)&&l(k)&&!c(k)&&l(b)&&p(b)?3:c(_)||!l(b)?1:2:-1},d=function(_){var k=0,b=0,L=0,C="",R="",U="",J=(_=_||"").split("\\s+"),E=[];for(k=0;k<J.length;k+=1){for(E.push(""),b=0;b<J[k].length;b+=1)C=J[k][b],R=J[k][b-1],U=J[k][b+1],l(C)?(L=w(C,R,U),E[k]+=L!==-1?String.fromCharCode(t[C.charCodeAt(0)][L]):C):E[k]+=C;E[k]=v(E[k])}return E.join(" ")},y=e.__arabicParser__.processArabic=e.processArabic=function(){var _,k=typeof arguments[0]=="string"?arguments[0]:arguments[0].text,b=[];if(Array.isArray(k)){var L=0;for(b=[],L=0;L<k.length;L+=1)Array.isArray(k[L])?b.push([d(k[L][0]),k[L][1],k[L][2]]):b.push([d(k[L])]);_=b}else _=d(k);return typeof arguments[0]=="string"?_:(arguments[0].text=_,arguments[0])};e.events.push(["preProcessText",y])}(Wt.API),Wt.API.autoPrint=function(e){var t;switch((e=e||{}).variant=e.variant||"non-conform",e.variant){case"javascript":this.addJS("print({});");break;case"non-conform":default: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")})}return this},function(e){var t=function(){var n=void 0;Object.defineProperty(this,"pdf",{get:function(){return n},set:function(c){n=c}});var i=150;Object.defineProperty(this,"width",{get:function(){return i},set:function(c){i=isNaN(c)||Number.isInteger(c)===!1||c<0?150:c,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=i+1)}});var o=300;Object.defineProperty(this,"height",{get:function(){return o},set:function(c){o=isNaN(c)||Number.isInteger(c)===!1||c<0?300:c,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=o+1)}});var a=[];Object.defineProperty(this,"childNodes",{get:function(){return a},set:function(c){a=c}});var l={};Object.defineProperty(this,"style",{get:function(){return l},set:function(c){l=c}}),Object.defineProperty(this,"parentNode",{})};t.prototype.getContext=function(n,i){var o;if((n=n||"2d")!=="2d")return null;for(o in i)this.pdf.context2d.hasOwnProperty(o)&&(this.pdf.context2d[o]=i[o]);return this.pdf.context2d._canvas=this,this.pdf.context2d},t.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},e.events.push(["initialized",function(){this.canvas=new t,this.canvas.pdf=this}])}(Wt.API),function(e){var t={left:0,top:0,bottom:0,right:0},n=!1,i=function(){this.internal.__cell__===void 0&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},t),this.internal.__cell__.margins.width=this.getPageWidth(),o.call(this))},o=function(){this.internal.__cell__.lastCell=new a,this.internal.__cell__.pages=1},a=function(){var f=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return f},set:function(_){f=_}});var p=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return p},set:function(_){p=_}});var m=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return m},set:function(_){m=_}});var v=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return v},set:function(_){v=_}});var w=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return w},set:function(_){w=_}});var d=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return d},set:function(_){d=_}});var y=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return y},set:function(_){y=_}}),this};a.prototype.clone=function(){return new a(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},a.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},e.setHeaderFunction=function(f){return i.call(this),this.internal.__cell__.headerFunction=typeof f=="function"?f:void 0,this},e.getTextDimensions=function(f,p){i.call(this);var m=(p=p||{}).fontSize||this.getFontSize(),v=p.font||this.getFont(),w=p.scaleFactor||this.internal.scaleFactor,d=0,y=0,_=0,k=this;if(!Array.isArray(f)&&typeof f!="string"){if(typeof f!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");f=String(f)}var b=p.maxWidth;b>0?typeof f=="string"?f=this.splitTextToSize(f,b):Object.prototype.toString.call(f)==="[object Array]"&&(f=f.reduce(function(C,R){return C.concat(k.splitTextToSize(R,b))},[])):f=Array.isArray(f)?f:[f];for(var L=0;L<f.length;L++)d<(_=this.getStringUnitWidth(f[L],{font:v})*m)&&(d=_);return d!==0&&(y=f.length),{w:d/=w,h:Math.max((y*m*this.getLineHeightFactor()-m*(this.getLineHeightFactor()-1))/w,0)}},e.cellAddPage=function(){i.call(this),this.addPage();var f=this.internal.__cell__.margins||t;return this.internal.__cell__.lastCell=new a(f.left,f.top,void 0,void 0),this.internal.__cell__.pages+=1,this};var l=e.cell=function(){var f;f=arguments[0]instanceof a?arguments[0]:new a(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]),i.call(this);var p=this.internal.__cell__.lastCell,m=this.internal.__cell__.padding,v=this.internal.__cell__.margins||t,w=this.internal.__cell__.tableHeaderRow,d=this.internal.__cell__.printHeaders;return p.lineNumber!==void 0&&(p.lineNumber===f.lineNumber?(f.x=(p.x||0)+(p.width||0),f.y=p.y||0):p.y+p.height+f.height+v.bottom>this.getPageHeight()?(this.cellAddPage(),f.y=v.top,d&&w&&(this.printHeaderRow(f.lineNumber,!0),f.y+=w[0].height)):f.y=p.y+p.height||f.y),f.text[0]!==void 0&&(this.rect(f.x,f.y,f.width,f.height,n===!0?"FD":void 0),f.align==="right"?this.text(f.text,f.x+f.width-m,f.y+m,{align:"right",baseline:"top"}):f.align==="center"?this.text(f.text,f.x+f.width/2,f.y+m,{align:"center",baseline:"top",maxWidth:f.width-m-m}):this.text(f.text,f.x+m,f.y+m,{align:"left",baseline:"top",maxWidth:f.width-m-m})),this.internal.__cell__.lastCell=f,this};e.table=function(f,p,m,v,w){if(i.call(this),!m)throw new Error("No data for PDF table.");var d,y,_,k,b=[],L=[],C=[],R={},U={},J=[],E=[],O=(w=w||{}).autoSize||!1,$=w.printHeaders!==!1,Q=w.css&&w.css["font-size"]!==void 0?16*w.css["font-size"]:w.fontSize||12,P=w.margins||Object.assign({width:this.getPageWidth()},t),A=typeof w.padding=="number"?w.padding:3,z=w.headerBackgroundColor||"#c8c8c8",B=w.headerTextColor||"#000";if(o.call(this),this.internal.__cell__.printHeaders=$,this.internal.__cell__.margins=P,this.internal.__cell__.table_font_size=Q,this.internal.__cell__.padding=A,this.internal.__cell__.headerBackgroundColor=z,this.internal.__cell__.headerTextColor=B,this.setFontSize(Q),v==null)L=b=Object.keys(m[0]),C=b.map(function(){return"left"});else if(Array.isArray(v)&&ye(v[0])==="object")for(b=v.map(function(et){return et.name}),L=v.map(function(et){return et.prompt||et.name||""}),C=v.map(function(et){return et.align||"left"}),d=0;d<v.length;d+=1)U[v[d].name]=v[d].width*(19.049976/25.4);else Array.isArray(v)&&typeof v[0]=="string"&&(L=b=v,C=b.map(function(){return"left"}));if(O||Array.isArray(v)&&typeof v[0]=="string")for(d=0;d<b.length;d+=1){for(R[k=b[d]]=m.map(function(et){return et[k]}),this.setFont(void 0,"bold"),J.push(this.getTextDimensions(L[d],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w),y=R[k],this.setFont(void 0,"normal"),_=0;_<y.length;_+=1)J.push(this.getTextDimensions(y[_],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w);U[k]=Math.max.apply(null,J)+A+A,J=[]}if($){var ot={};for(d=0;d<b.length;d+=1)ot[b[d]]={},ot[b[d]].text=L[d],ot[b[d]].align=C[d];var W=c.call(this,ot,U);E=b.map(function(et){return new a(f,p,U[et],W,ot[et].text,void 0,ot[et].align)}),this.setTableHeaderRow(E),this.printHeaderRow(1,!1)}var H=v.reduce(function(et,dt){return et[dt.name]=dt.align,et},{});for(d=0;d<m.length;d+=1){"rowStart"in w&&w.rowStart instanceof Function&&w.rowStart({row:d,data:m[d]},this);var Y=c.call(this,m[d],U);for(_=0;_<b.length;_+=1){var K=m[d][b[_]];"cellStart"in w&&w.cellStart instanceof Function&&w.cellStart({row:d,col:_,data:K},this),l.call(this,new a(f,p,U[b[_]],Y,K,d+2,H[b[_]]))}}return this.internal.__cell__.table_x=f,this.internal.__cell__.table_y=p,this};var c=function(f,p){var m=this.internal.__cell__.padding,v=this.internal.__cell__.table_font_size,w=this.internal.scaleFactor;return Object.keys(f).map(function(d){var y=f[d];return this.splitTextToSize(y.hasOwnProperty("text")?y.text:y,p[d]-m-m)},this).map(function(d){return this.getLineHeightFactor()*d.length*v/w+m+m},this).reduce(function(d,y){return Math.max(d,y)},0)};e.setTableHeaderRow=function(f){i.call(this),this.internal.__cell__.tableHeaderRow=f},e.printHeaderRow=function(f,p){if(i.call(this),!this.internal.__cell__.tableHeaderRow)throw new Error("Property tableHeaderRow does not exist.");var m;if(n=!0,typeof this.internal.__cell__.headerFunction=="function"){var v=this.internal.__cell__.headerFunction(this,this.internal.__cell__.pages);this.internal.__cell__.lastCell=new a(v[0],v[1],v[2],v[3],void 0,-1)}this.setFont(void 0,"bold");for(var w=[],d=0;d<this.internal.__cell__.tableHeaderRow.length;d+=1){m=this.internal.__cell__.tableHeaderRow[d].clone(),p&&(m.y=this.internal.__cell__.margins.top||0,w.push(m)),m.lineNumber=f;var y=this.getTextColor();this.setTextColor(this.internal.__cell__.headerTextColor),this.setFillColor(this.internal.__cell__.headerBackgroundColor),l.call(this,m),this.setTextColor(y)}w.length>0&&this.setTableHeaderRow(w),this.setFont(void 0,"normal"),n=!1}}(Wt.API);var Hc={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},Wc=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],Rl=Uc(Wc),Vc=[100,200,300,400,500,600,700,800,900],$1=Uc(Vc);function Dl(e){var t=e.family.replace(/"|'/g,"").toLowerCase(),n=function(a){return Hc[a=a||"normal"]?a:"normal"}(e.style),i=function(a){if(!a)return 400;if(typeof a=="number")return a>=100&&a<=900&&a%100==0?a:400;if(/^\d00$/.test(a))return parseInt(a);switch(a){case"bold":return 700;case"normal":default:return 400}}(e.weight),o=function(a){return typeof Rl[a=a||"normal"]=="number"?a:"normal"}(e.stretch);return{family:t,style:n,weight:i,stretch:o,src:e.src||[],ref:e.ref||{name:t,style:[o,n,i].join(" ")}}}function Ku(e,t,n,i){var o;for(o=n;o>=0&&o<t.length;o+=i)if(e[t[o]])return e[t[o]];for(o=n;o>=0&&o<t.length;o-=i)if(e[t[o]])return e[t[o]]}var Q1={"sans-serif":"helvetica",fixed:"courier",monospace:"courier",terminal:"courier",cursive:"times",fantasy:"times",serif:"times"},Xu={caption:"times",icon:"times",menu:"times","message-box":"times","small-caption":"times","status-bar":"times"};function $u(e){return[e.stretch,e.style,e.weight,e.family].join(" ")}function Z1(e,t,n){for(var i=(n=n||{}).defaultFontFamily||"times",o=Object.assign({},Q1,n.genericFontFamilies||{}),a=null,l=null,c=0;c<t.length;++c)if(o[(a=Dl(t[c])).family]&&(a.family=o[a.family]),e.hasOwnProperty(a.family)){l=e[a.family];break}if(!(l=l||e[i]))throw new Error("Could not find a font-family for the rule '"+$u(a)+"' and default family '"+i+"'.");if(l=function(f,p){if(p[f])return p[f];var m=Rl[f],v=m<=Rl.normal?-1:1,w=Ku(p,Wc,m,v);if(!w)throw new Error("Could not find a matching font-stretch value for "+f);return w}(a.stretch,l),l=function(f,p){if(p[f])return p[f];for(var m=Hc[f],v=0;v<m.length;++v)if(p[m[v]])return p[m[v]];throw new Error("Could not find a matching font-style for "+f)}(a.style,l),!(l=function(f,p){if(p[f])return p[f];if(f===400&&p[500])return p[500];if(f===500&&p[400])return p[400];var m=$1[f],v=Ku(p,Vc,m,f<400?-1:1);if(!v)throw new Error("Could not find a matching font-weight for value "+f);return v}(a.weight,l)))throw new Error("Failed to resolve a font for the rule '"+$u(a)+"'.");return l}function Qu(e){return e.trimLeft()}function t2(e,t){for(var n=0;n<e.length;){if(e.charAt(n)===t)return[e.substring(0,n),e.substring(n+1)];n+=1}return null}function e2(e){var t=e.match(/^(-[a-z_]|[a-z_])[a-z0-9_-]*/i);return t===null?null:[t[0],e.substring(t[0].length)]}var qo,Zu,tc,pl=["times"];(function(e){var t,n,i,o,a,l,c,f,p,m=function(S){return S=S||{},this.isStrokeTransparent=S.isStrokeTransparent||!1,this.strokeOpacity=S.strokeOpacity||1,this.strokeStyle=S.strokeStyle||"#000000",this.fillStyle=S.fillStyle||"#000000",this.isFillTransparent=S.isFillTransparent||!1,this.fillOpacity=S.fillOpacity||1,this.font=S.font||"10px sans-serif",this.textBaseline=S.textBaseline||"alphabetic",this.textAlign=S.textAlign||"left",this.lineWidth=S.lineWidth||1,this.lineJoin=S.lineJoin||"miter",this.lineCap=S.lineCap||"butt",this.path=S.path||[],this.transform=S.transform!==void 0?S.transform.clone():new f,this.globalCompositeOperation=S.globalCompositeOperation||"normal",this.globalAlpha=S.globalAlpha||1,this.clip_path=S.clip_path||[],this.currentPoint=S.currentPoint||new l,this.miterLimit=S.miterLimit||10,this.lastPoint=S.lastPoint||new l,this.lineDashOffset=S.lineDashOffset||0,this.lineDash=S.lineDash||[],this.margin=S.margin||[0,0,0,0],this.prevPageLastElemOffset=S.prevPageLastElemOffset||0,this.ignoreClearRect=typeof S.ignoreClearRect!="boolean"||S.ignoreClearRect,this};e.events.push(["initialized",function(){this.context2d=new v(this),t=this.internal.f2,n=this.internal.getCoordinateString,i=this.internal.getVerticalCoordinateString,o=this.internal.getHorizontalCoordinate,a=this.internal.getVerticalCoordinate,l=this.internal.Point,c=this.internal.Rectangle,f=this.internal.Matrix,p=new m}]);var v=function(S){Object.defineProperty(this,"canvas",{get:function(){return{parentNode:!1,style:!1}}});var D=S;Object.defineProperty(this,"pdf",{get:function(){return D}});var M=!1;Object.defineProperty(this,"pageWrapXEnabled",{get:function(){return M},set:function(yt){M=!!yt}});var G=!1;Object.defineProperty(this,"pageWrapYEnabled",{get:function(){return G},set:function(yt){G=!!yt}});var Z=0;Object.defineProperty(this,"posX",{get:function(){return Z},set:function(yt){isNaN(yt)||(Z=yt)}});var st=0;Object.defineProperty(this,"posY",{get:function(){return st},set:function(yt){isNaN(yt)||(st=yt)}}),Object.defineProperty(this,"margin",{get:function(){return p.margin},set:function(yt){var X;typeof yt=="number"?X=[yt,yt,yt,yt]:((X=new Array(4))[0]=yt[0],X[1]=yt.length>=2?yt[1]:X[0],X[2]=yt.length>=3?yt[2]:X[0],X[3]=yt.length>=4?yt[3]:X[1]),p.margin=X}});var ut=!1;Object.defineProperty(this,"autoPaging",{get:function(){return ut},set:function(yt){ut=yt}});var ht=0;Object.defineProperty(this,"lastBreak",{get:function(){return ht},set:function(yt){ht=yt}});var kt=[];Object.defineProperty(this,"pageBreaks",{get:function(){return kt},set:function(yt){kt=yt}}),Object.defineProperty(this,"ctx",{get:function(){return p},set:function(yt){yt instanceof m&&(p=yt)}}),Object.defineProperty(this,"path",{get:function(){return p.path},set:function(yt){p.path=yt}});var _t=[];Object.defineProperty(this,"ctxStack",{get:function(){return _t},set:function(yt){_t=yt}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(yt){var X;X=w(yt),this.ctx.fillStyle=X.style,this.ctx.isFillTransparent=X.a===0,this.ctx.fillOpacity=X.a,this.pdf.setFillColor(X.r,X.g,X.b,{a:X.a}),this.pdf.setTextColor(X.r,X.g,X.b,{a:X.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(yt){var X=w(yt);this.ctx.strokeStyle=X.style,this.ctx.isStrokeTransparent=X.a===0,this.ctx.strokeOpacity=X.a,X.a===0?this.pdf.setDrawColor(255,255,255):(X.a,this.pdf.setDrawColor(X.r,X.g,X.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(yt){["butt","round","square"].indexOf(yt)!==-1&&(this.ctx.lineCap=yt,this.pdf.setLineCap(yt))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(yt){isNaN(yt)||(this.ctx.lineWidth=yt,this.pdf.setLineWidth(yt))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(yt){["bevel","round","miter"].indexOf(yt)!==-1&&(this.ctx.lineJoin=yt,this.pdf.setLineJoin(yt))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(yt){isNaN(yt)||(this.ctx.miterLimit=yt,this.pdf.setMiterLimit(yt))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(yt){this.ctx.textBaseline=yt}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(yt){["right","end","center","left","start"].indexOf(yt)!==-1&&(this.ctx.textAlign=yt)}});var It=null;function Tt(yt,X){if(It===null){var Xt=function(Mt){var gt=[];return Object.keys(Mt).forEach(function(bt){Mt[bt].forEach(function(xt){var Nt=null;switch(xt){case"bold":Nt={family:bt,weight:"bold"};break;case"italic":Nt={family:bt,style:"italic"};break;case"bolditalic":Nt={family:bt,weight:"bold",style:"italic"};break;case"":case"normal":Nt={family:bt}}Nt!==null&&(Nt.ref={name:bt,style:xt},gt.push(Nt))})}),gt}(yt.getFontList());It=function(Mt){for(var gt={},bt=0;bt<Mt.length;++bt){var xt=Dl(Mt[bt]),Nt=xt.family,zt=xt.stretch,Kt=xt.style,$t=xt.weight;gt[Nt]=gt[Nt]||{},gt[Nt][zt]=gt[Nt][zt]||{},gt[Nt][zt][Kt]=gt[Nt][zt][Kt]||{},gt[Nt][zt][Kt][$t]=xt}return gt}(Xt.concat(X))}return It}var Vt=null;Object.defineProperty(this,"fontFaces",{get:function(){return Vt},set:function(yt){It=null,Vt=yt}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(yt){var X;if(this.ctx.font=yt,(X=/^\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-z]+?)\s*$/i.exec(yt))!==null){var Xt=X[1],Mt=(X[2],X[3]),gt=X[4],bt=(X[5],X[6]),xt=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(gt)[2];gt=Math.floor(xt==="px"?parseFloat(gt)*this.pdf.internal.scaleFactor:xt==="em"?parseFloat(gt)*this.pdf.getFontSize():parseFloat(gt)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(gt);var Nt=function(Yt){var oe,Et,tn=[],he=Yt.trim();if(he==="")return pl;if(he in Xu)return[Xu[he]];for(;he!=="";){switch(Et=null,oe=(he=Qu(he)).charAt(0)){case'"':case"'":Et=t2(he.substring(1),oe);break;default:Et=e2(he)}if(Et===null||(tn.push(Et[0]),(he=Qu(Et[1]))!==""&&he.charAt(0)!==","))return pl;he=he.replace(/^,/,"")}return tn}(bt);if(this.fontFaces){var zt=Z1(Tt(this.pdf,this.fontFaces),Nt.map(function(Yt){return{family:Yt,stretch:"normal",weight:Mt,style:Xt}}));this.pdf.setFont(zt.ref.name,zt.ref.style)}else{var Kt="";(Mt==="bold"||parseInt(Mt,10)>=700||Xt==="bold")&&(Kt="bold"),Xt==="italic"&&(Kt+="italic"),Kt.length===0&&(Kt="normal");for(var $t="",ae={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"},ce=0;ce<Nt.length;ce++){if(this.pdf.internal.getFont(Nt[ce],Kt,{noFallback:!0,disableWarning:!0})!==void 0){$t=Nt[ce];break}if(Kt==="bolditalic"&&this.pdf.internal.getFont(Nt[ce],"bold",{noFallback:!0,disableWarning:!0})!==void 0)$t=Nt[ce],Kt="bold";else if(this.pdf.internal.getFont(Nt[ce],"normal",{noFallback:!0,disableWarning:!0})!==void 0){$t=Nt[ce],Kt="normal";break}}if($t===""){for(var be=0;be<Nt.length;be++)if(ae[Nt[be]]){$t=ae[Nt[be]];break}}$t=$t===""?"Times":$t,this.pdf.setFont($t,Kt)}}}}),Object.defineProperty(this,"globalCompositeOperation",{get:function(){return this.ctx.globalCompositeOperation},set:function(yt){this.ctx.globalCompositeOperation=yt}}),Object.defineProperty(this,"globalAlpha",{get:function(){return this.ctx.globalAlpha},set:function(yt){this.ctx.globalAlpha=yt}}),Object.defineProperty(this,"lineDashOffset",{get:function(){return this.ctx.lineDashOffset},set:function(yt){this.ctx.lineDashOffset=yt,dt.call(this)}}),Object.defineProperty(this,"lineDash",{get:function(){return this.ctx.lineDash},set:function(yt){this.ctx.lineDash=yt,dt.call(this)}}),Object.defineProperty(this,"ignoreClearRect",{get:function(){return this.ctx.ignoreClearRect},set:function(yt){this.ctx.ignoreClearRect=!!yt}})};v.prototype.setLineDash=function(S){this.lineDash=S},v.prototype.getLineDash=function(){return this.lineDash.length%2?this.lineDash.concat(this.lineDash):this.lineDash.slice()},v.prototype.fill=function(){R.call(this,"fill",!1)},v.prototype.stroke=function(){R.call(this,"stroke",!1)},v.prototype.beginPath=function(){this.path=[{type:"begin"}]},v.prototype.moveTo=function(S,D){if(isNaN(S)||isNaN(D))throw Le.error("jsPDF.context2d.moveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to
32jsPDF.context2d.moveTo");var M=this.ctx.transform.applyToPoint(new l(S,D));this.path.push({type:"mt",x:M.x,y:M.y}),this.ctx.lastPoint=new l(S,D)},v.prototype.closePath=function(){var S=new l(0,0),D=0;for(D=this.path.length-1;D!==-1;D--)if(this.path[D].type==="begin"&&ye(this.path[D+1])==="object"&&typeof this.path[D+1].x=="number"){S=new l(this.path[D+1].x,this.path[D+1].y);break}this.path.push({type:"close"}),this.ctx.lastPoint=new l(S.x,S.y)},v.prototype.lineTo=function(S,D){if(isNaN(S)||isNaN(D))throw Le.error("jsPDF.context2d.lineTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.lineTo");var M=this.ctx.transform.applyToPoint(new l(S,D));this.path.push({type:"lt",x:M.x,y:M.y}),this.ctx.lastPoint=new l(M.x,M.y)},v.prototype.clip=function(){this.ctx.clip_path=JSON.parse(JSON.stringify(this.path)),R.call(this,null,!0)},v.prototype.quadraticCurveTo=function(S,D,M,G){if(isNaN(M)||isNaN(G)||isNaN(S)||isNaN(D))throw Le.error("jsPDF.context2d.quadraticCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.quadraticCurveTo");var Z=this.ctx.transform.applyToPoint(new l(M,G)),st=this.ctx.transform.applyToPoint(new l(S,D));this.path.push({type:"qct",x1:st.x,y1:st.y,x:Z.x,y:Z.y}),this.ctx.lastPoint=new l(Z.x,Z.y)},v.prototype.bezierCurveTo=function(S,D,M,G,Z,st){if(isNaN(Z)||isNaN(st)||isNaN(S)||isNaN(D)||isNaN(M)||isNaN(G))throw Le.error("jsPDF.context2d.bezierCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.bezierCurveTo");var ut=this.ctx.transform.applyToPoint(new l(Z,st)),ht=this.ctx.transform.applyToPoint(new l(S,D)),kt=this.ctx.transform.applyToPoint(new l(M,G));this.path.push({type:"bct",x1:ht.x,y1:ht.y,x2:kt.x,y2:kt.y,x:ut.x,y:ut.y}),this.ctx.lastPoint=new l(ut.x,ut.y)},v.prototype.arc=function(S,D,M,G,Z,st){if(isNaN(S)||isNaN(D)||isNaN(M)||isNaN(G)||isNaN(Z))throw Le.error("jsPDF.context2d.arc: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.arc");if(st=!!st,!this.ctx.transform.isIdentity){var ut=this.ctx.transform.applyToPoint(new l(S,D));S=ut.x,D=ut.y;var ht=this.ctx.transform.applyToPoint(new l(0,M)),kt=this.ctx.transform.applyToPoint(new l(0,0));M=Math.sqrt(Math.pow(ht.x-kt.x,2)+Math.pow(ht.y-kt.y,2))}Math.abs(Z-G)>=2*Math.PI&&(G=0,Z=2*Math.PI),this.path.push({type:"arc",x:S,y:D,radius:M,startAngle:G,endAngle:Z,counterclockwise:st})},v.prototype.arcTo=function(S,D,M,G,Z){throw new Error("arcTo not implemented.")},v.prototype.rect=function(S,D,M,G){if(isNaN(S)||isNaN(D)||isNaN(M)||isNaN(G))throw Le.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(S,D),this.lineTo(S+M,D),this.lineTo(S+M,D+G),this.lineTo(S,D+G),this.lineTo(S,D),this.lineTo(S+M,D),this.lineTo(S,D)},v.prototype.fillRect=function(S,D,M,G){if(isNaN(S)||isNaN(D)||isNaN(M)||isNaN(G))throw Le.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!d.call(this)){var Z={};this.lineCap!=="butt"&&(Z.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(Z.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(S,D,M,G),this.fill(),Z.hasOwnProperty("lineCap")&&(this.lineCap=Z.lineCap),Z.hasOwnProperty("lineJoin")&&(this.lineJoin=Z.lineJoin)}},v.prototype.strokeRect=function(S,D,M,G){if(isNaN(S)||isNaN(D)||isNaN(M)||isNaN(G))throw Le.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");y.call(this)||(this.beginPath(),this.rect(S,D,M,G),this.stroke())},v.prototype.clearRect=function(S,D,M,G){if(isNaN(S)||isNaN(D)||isNaN(M)||isNaN(G))throw Le.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(S,D,M,G))},v.prototype.save=function(S){S=typeof S!="boolean"||S;for(var D=this.pdf.internal.getCurrentPageInfo().pageNumber,M=0;M<this.pdf.internal.getNumberOfPages();M++)this.pdf.setPage(M+1),this.pdf.internal.out("q");
vendor: 4,155 bytes, line 32
32if(this.pdf.setPage(D),S){this.ctx.fontSize=this.pdf.internal.getFontSize();var G=new m(this.ctx);this.ctxStack.push(this.ctx),this.ctx=G}},v.prototype.restore=function(S){S=typeof S!="boolean"||S;for(var D=this.pdf.internal.getCurrentPageInfo().pageNumber,M=0;M<this.pdf.internal.getNumberOfPages();M++)this.pdf.setPage(M+1),this.pdf.internal.out("Q");this.pdf.setPage(D),S&&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)},v.prototype.toDataURL=function(){throw new Error("toDataUrl not implemented.")};var w=function(S){var D,M,G,Z;if(S.isCanvasGradient===!0&&(S=S.getColor()),!S)return{r:0,g:0,b:0,a:0,style:S};if(/transparent|rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*0+\s*\)/.test(S))D=0,M=0,G=0,Z=0;else{var st=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/.exec(S);if(st!==null)D=parseInt(st[1]),M=parseInt(st[2]),G=parseInt(st[3]),Z=1;else if((st=/rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d.]+)\s*\)/.exec(S))!==null)D=parseInt(st[1]),M=parseInt(st[2]),G=parseInt(st[3]),Z=parseFloat(st[4]);else{if(Z=1,typeof S=="string"&&S.charAt(0)!=="#"){var ut=new Rc(S);S=ut.ok?ut.toHex():"#000000"}S.length===4?(D=S.substring(1,2),D+=D,M=S.substring(2,3),M+=M,G=S.substring(3,4),G+=G):(D=S.substring(1,3),M=S.substring(3,5),G=S.substring(5,7)),D=parseInt(D,16),M=parseInt(M,16),G=parseInt(G,16)}}return{r:D,g:M,b:G,a:Z,style:S}},d=function(){return this.ctx.isFillTransparent||this.globalAlpha==0},y=function(){return!!(this.ctx.isStrokeTransparent||this.globalAlpha==0)};v.prototype.fillText=function(S,D,M,G){if(isNaN(D)||isNaN(M)||typeof S!="string")throw Le.error("jsPDF.context2d.fillText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillText");if(G=isNaN(G)?void 0:G,!d.call(this)){var Z=Y(this.ctx.transform.rotation),st=this.ctx.transform.scaleX;A.call(this,{text:S,x:D,y:M,scale:st,angle:Z,align:this.textAlign,maxWidth:G})}},v.prototype.strokeText=function(S,D,M,G){if(isNaN(D)||isNaN(M)||typeof S!="string")throw Le.error("jsPDF.context2d.strokeText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeText");if(!y.call(this)){G=isNaN(G)?void 0:G;var Z=Y(this.ctx.transform.rotation),st=this.ctx.transform.scaleX;A.call(this,{text:S,x:D,y:M,scale:st,renderingMode:"stroke",angle:Z,align:this.textAlign,maxWidth:G})}},v.prototype.measureText=function(S){if(typeof S!="string")throw Le.error("jsPDF.context2d.measureText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.measureText");var D=this.pdf,M=this.pdf.internal.scaleFactor,G=D.internal.getFontSize(),Z=D.getStringUnitWidth(S)*G/D.internal.scaleFactor,st=function(ut){var ht=(ut=ut||{}).width||0;return Object.defineProperty(this,"width",{get:function(){return ht}}),this};return new st({width:Z*=Math.round(96*M/72*1e4)/1e4})},v.prototype.scale=function(S,D){if(isNaN(S)||isNaN(D))throw Le.error("jsPDF.context2d.scale: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.scale");var M=new f(S,0,0,D,0,0);this.ctx.transform=this.ctx.transform.multiply(M)},v.prototype.rotate=function(S){if(isNaN(S))throw Le.error("jsPDF.context2d.rotate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rotate");var D=new f(Math.cos(S),Math.sin(S),-Math.sin(S),Math.cos(S),0,0);this.ctx.transform=this.ctx.transform.multiply(D)},v.prototype.translate=function(S,D){if(isNaN(S)||isNaN(D))throw Le.error("jsPDF.context2d.translate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.translate");var M=new f(1,0,0,1,S,D);this.ctx.transform=this.ctx.transform.multiply(M)},v.prototype.transform=function(S,D,M,G,Z,st){if(isNaN(S)||isNaN(D)||isNaN(M)||isNaN(G)||isNaN(Z)||isNaN(st))throw Le.error("jsPDF.context2d.transform: Invalid arguments",arguments),new Error("Invalid arguments passed to
32jsPDF.context2d.transform");var ut=new f(S,D,M,G,Z,st);this.ctx.transform=this.ctx.transform.multiply(ut)},v.prototype.setTransform=function(S,D,M,G,Z,st){S=isNaN(S)?1:S,D=isNaN(D)?0:D,M=isNaN(M)?0:M,G=isNaN(G)?1:G,Z=isNaN(Z)?0:Z,st=isNaN(st)?0:st,this.ctx.transform=new f(S,D,M,G,Z,st)};var _=function(){return this.margin[0]>0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};v.prototype.drawImage=function(S,D,M,G,Z,st,ut,ht,kt){var _t=this.pdf.getImageProperties(S),It=1,Tt=1,Vt=1,yt=1;G!==void 0&&ht!==void 0&&(Vt=ht/G,yt=kt/Z,It=_t.width/G*ht/G,Tt=_t.height/Z*kt/Z),st===void 0&&(st=D,ut=M,D=0,M=0),G!==void 0&&ht===void 0&&(ht=G,kt=Z),G===void 0&&ht===void 0&&(ht=_t.width,kt=_t.height);for(var X,Xt=this.ctx.transform.decompose(),Mt=Y(Xt.rotate.shx),gt=new f,bt=(gt=(gt=(gt=gt.multiply(Xt.translate)).multiply(Xt.skew)).multiply(Xt.scale)).applyToRectangle(new c(st-D*Vt,ut-M*yt,G*It,Z*Tt)),xt=k.call(this,bt),Nt=[],zt=0;zt<xt.length;zt+=1)Nt.indexOf(xt[zt])===-1&&Nt.push(xt[zt]);if(C(Nt),this.autoPaging)for(var Kt=Nt[0],$t=Nt[Nt.length-1],ae=Kt;ae<$t+1;ae++){this.pdf.setPage(ae);var ce=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],be=ae===1?this.posY+this.margin[0]:this.margin[0],Yt=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],oe=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],Et=ae===1?0:Yt+(ae-2)*oe;if(this.ctx.clip_path.length!==0){var tn=this.path;X=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=L(X,this.posX+this.margin[3],-Et+be+this.ctx.prevPageLastElemOffset),U.call(this,"fill",!0),this.path=tn}var he=JSON.parse(JSON.stringify(bt));he=L([he],this.posX+this.margin[3],-Et+be+this.ctx.prevPageLastElemOffset)[0];var En=(ae>Kt||ae<$t)&&_.call(this);En&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],ce,oe,null).clip().discardPath()),this.pdf.addImage(S,"JPEG",he.x,he.y,he.w,he.h,null,null,Mt),En&&this.pdf.restoreGraphicsState()}else this.pdf.addImage(S,"JPEG",bt.x,bt.y,bt.w,bt.h,null,null,Mt)};var k=function(S,D,M){var G=[];D=D||this.pdf.internal.pageSize.width,M=M||this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2];var Z=this.posY+this.ctx.prevPageLastElemOffset;switch(S.type){default:case"mt":case"lt":G.push(Math.floor((S.y+Z)/M)+1);break;case"arc":G.push(Math.floor((S.y+Z-S.radius)/M)+1),G.push(Math.floor((S.y+Z+S.radius)/M)+1);break;case"qct":var st=K(this.ctx.lastPoint.x,this.ctx.lastPoint.y,S.x1,S.y1,S.x,S.y);G.push(Math.floor((st.y+Z)/M)+1),G.push(Math.floor((st.y+st.h+Z)/M)+1);break;case"bct":var ut=et(this.ctx.lastPoint.x,this.ctx.lastPoint.y,S.x1,S.y1,S.x2,S.y2,S.x,S.y);G.push(Math.floor((ut.y+Z)/M)+1),G.push(Math.floor((ut.y+ut.h+Z)/M)+1);break;case"rect":G.push(Math.floor((S.y+Z)/M)+1),G.push(Math.floor((S.y+S.h+Z)/M)+1)}for(var ht=0;ht<G.length;ht+=1)for(;this.pdf.internal.getNumberOfPages()<G[ht];)b.call(this);return G},b=function(){var S=this.fillStyle,D=this.strokeStyle,M=this.font,G=this.lineCap,Z=this.lineWidth,st=this.lineJoin;this.pdf.addPage(),this.fillStyle=S,this.strokeStyle=D,this.font=M,this.lineCap=G,this.lineWidth=Z,this.lineJoin=st},L=function(S,D,M){for(var G=0;G<S.length;G++)switch(S[G].type){case"bct":S[G].x2+=D,S[G].y2+=M;case"qct":S[G].x1+=D,S[G].y1+=M;case"mt":case"lt":case"arc":default:S[G].x+=D,S[G].y+=M}return S},C=function(S){return S.sort(function(D,M){return D-M})},R=function(S,D){for(var M,G,Z=this.fillStyle,st=this.strokeStyle,ut=this.lineCap,ht=this.lineWidth,kt=Math.abs(ht*this.ctx.transform.scaleX),_t=this.lineJoin,It=JSON.parse(JSON.stringify(this.path)),Tt=JSON.parse(JSON.stringify(this.path)),Vt=[],yt=0;yt<Tt.length;yt++)if(Tt[yt].x!==void 0)for(var X=k.call(this,Tt[yt]),Xt=0;Xt<X.length;Xt+=1)Vt.indexOf(X[Xt])===-1&&Vt.push(X[Xt]);for(var Mt=0;Mt<Vt.length;Mt++)for(;this.pdf.internal.getNumberOfPages()<Vt[Mt];)b.call(this);if(C(Vt),this.autoPaging)for(var gt=Vt[0],bt=Vt[Vt.length-1],xt=gt;xt<bt+1;xt++){this.pdf.setPage(xt),this.fillStyle=Z,this.strokeStyle=st,this.lineCap=ut,this.lineWidth=kt,this.lineJoin=_t;var Nt=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],zt=xt===1?this.posY+this.margin[0]:this.margin[0],Kt=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],$t=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],ae=xt===1?0:Kt+(xt-2)*$t;if(this.ctx.clip_path.length!==0){var ce=this.path;M=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=L(M,this.posX+this.margin[3],-ae+zt+this.ctx.prevPageLastElemOffset),U.call(this,S,!0),this.path=ce}if(G=JSON.parse(JSON.stringify(It)),this.path=L(G,this.posX+this.margin[3],-ae+zt+this.ctx.prevPageLastElemOffset),D===!1||xt===0){var be=(xt>gt||xt<bt)&&_.call(this);be&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],Nt,$t,null).clip().discardPath()),U.call(this,S,D),be&&this.pdf.restoreGraphicsState()}this.lineWidth=ht}else this.lineWidth=kt,U.call(this,S,D),this.lineWidth=ht;this.path=It},U=function(S,D){if((S!=="stroke"||D||!y.call(this))&&(S==="stroke"||D||!d.call(this))){for(var M,G,Z=[],st=this.path,ut=0;ut<st.length;ut++){var ht=st[ut];switch(ht.type){case"begin":Z.push({begin:!0}
vendor: 24,959 bytes, line 32
32);break;case"close":Z.push({close:!0});break;case"mt":Z.push({start:ht,deltas:[],abs:[]});break;case"lt":var kt=Z.length;if(st[ut-1]&&!isNaN(st[ut-1].x)&&(M=[ht.x-st[ut-1].x,ht.y-st[ut-1].y],kt>0)){for(;kt>=0;kt--)if(Z[kt-1].close!==!0&&Z[kt-1].begin!==!0){Z[kt-1].deltas.push(M),Z[kt-1].abs.push(ht);break}}break;case"bct":M=[ht.x1-st[ut-1].x,ht.y1-st[ut-1].y,ht.x2-st[ut-1].x,ht.y2-st[ut-1].y,ht.x-st[ut-1].x,ht.y-st[ut-1].y],Z[Z.length-1].deltas.push(M);break;case"qct":var _t=st[ut-1].x+2/3*(ht.x1-st[ut-1].x),It=st[ut-1].y+2/3*(ht.y1-st[ut-1].y),Tt=ht.x+2/3*(ht.x1-ht.x),Vt=ht.y+2/3*(ht.y1-ht.y),yt=ht.x,X=ht.y;M=[_t-st[ut-1].x,It-st[ut-1].y,Tt-st[ut-1].x,Vt-st[ut-1].y,yt-st[ut-1].x,X-st[ut-1].y],Z[Z.length-1].deltas.push(M);break;case"arc":Z.push({deltas:[],abs:[],arc:!0}),Array.isArray(Z[Z.length-1].abs)&&Z[Z.length-1].abs.push(ht)}}G=D?null:S==="stroke"?"stroke":"fill";for(var Xt=!1,Mt=0;Mt<Z.length;Mt++)if(Z[Mt].arc)for(var gt=Z[Mt].abs,bt=0;bt<gt.length;bt++){var xt=gt[bt];xt.type==="arc"?O.call(this,xt.x,xt.y,xt.radius,xt.startAngle,xt.endAngle,xt.counterclockwise,void 0,D,!Xt):z.call(this,xt.x,xt.y),Xt=!0}else if(Z[Mt].close===!0)this.pdf.internal.out("h"),Xt=!1;else if(Z[Mt].begin!==!0){var Nt=Z[Mt].start.x,zt=Z[Mt].start.y;B.call(this,Z[Mt].deltas,Nt,zt),Xt=!0}G&&$.call(this,G),D&&Q.call(this)}},J=function(S){var D=this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor,M=D*(this.pdf.internal.getLineHeightFactor()-1);switch(this.ctx.textBaseline){case"bottom":return S-M;case"top":return S+D-M;case"hanging":return S+D-2*M;case"middle":return S+D/2-M;case"ideographic":return S;case"alphabetic":default:return S}},E=function(S){return S+this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor*(this.pdf.internal.getLineHeightFactor()-1)};v.prototype.createLinearGradient=function(){var S=function(){};return S.colorStops=[],S.addColorStop=function(D,M){this.colorStops.push([D,M])},S.getColor=function(){return this.colorStops.length===0?"#000000":this.colorStops[0][1]},S.isCanvasGradient=!0,S},v.prototype.createPattern=function(){return this.createLinearGradient()},v.prototype.createRadialGradient=function(){return this.createLinearGradient()};var O=function(S,D,M,G,Z,st,ut,ht,kt){for(var _t=W.call(this,M,G,Z,st),It=0;It<_t.length;It++){var Tt=_t[It];It===0&&(kt?P.call(this,Tt.x1+S,Tt.y1+D):z.call(this,Tt.x1+S,Tt.y1+D)),ot.call(this,S,D,Tt.x2,Tt.y2,Tt.x3,Tt.y3,Tt.x4,Tt.y4)}ht?Q.call(this):$.call(this,ut)},$=function(S){switch(S){case"stroke":this.pdf.internal.out("S");break;case"fill":this.pdf.internal.out("f")}},Q=function(){this.pdf.clip(),this.pdf.discardPath()},P=function(S,D){this.pdf.internal.out(n(S)+" "+i(D)+" m")},A=function(S){var D;switch(S.align){case"right":case"end":D="right";break;case"center":D="center";break;case"left":case"start":default:D="left"}var M=this.pdf.getTextDimensions(S.text),G=J.call(this,S.y),Z=E.call(this,G)-M.h,st=this.ctx.transform.applyToPoint(new l(S.x,G)),ut=this.ctx.transform.decompose(),ht=new f;ht=(ht=(ht=ht.multiply(ut.translate)).multiply(ut.skew)).multiply(ut.scale);for(var kt,_t,It,Tt=this.ctx.transform.applyToRectangle(new c(S.x,G,M.w,M.h)),Vt=ht.applyToRectangle(new c(S.x,Z,M.w,M.h)),yt=k.call(this,Vt),X=[],Xt=0;Xt<yt.length;Xt+=1)X.indexOf(yt[Xt])===-1&&X.push(yt[Xt]);if(C(X),this.autoPaging)for(var Mt=X[0],gt=X[X.length-1],bt=Mt;bt<gt+1;bt++){this.pdf.setPage(bt);var xt=bt===1?this.posY+this.margin[0]:this.margin[0],Nt=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],zt=this.pdf.internal.pageSize.height-this.margin[2],Kt=zt-this.margin[0],$t=this.pdf.internal.pageSize.width-this.margin[1],ae=$t-this.margin[3],ce=bt===1?0:Nt+(bt-2)*Kt;if(this.ctx.clip_path.length!==0){var be=this.path;kt=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=L(kt,this.posX+this.margin[3],-1*ce+xt),U.call(this,"fill",!0),this.path=be}var Yt=L([JSON.parse(JSON.stringify(Vt))],this.posX+this.margin[3],-ce+xt+this.ctx.prevPageLastElemOffset)[0];S.scale>=.01&&(_t=this.pdf.internal.getFontSize(),this.pdf.setFontSize(_t*S.scale),It=this.lineWidth,this.lineWidth=It*S.scale);var oe=this.autoPaging!=="text";if(oe||Yt.y+Yt.h<=zt){if(oe||Yt.y>=xt&&Yt.x<=$t){var Et=oe?S.text:this.pdf.splitTextToSize(S.text,S.maxWidth||$t-Yt.x)[0],tn=L([JSON.parse(JSON.stringify(Tt))],this.posX+this.margin[3],-ce+xt+this.ctx.prevPageLastElemOffset)[0],he=oe&&(bt>Mt||bt<gt)&&_.call(this);he&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],ae,Kt,null).clip().discardPath()),this.pdf.text(Et,tn.x,tn.y,{angle:S.angle,align:D,renderingMode:S.renderingMode}),he&&this.pdf.restoreGraphicsState()}}else Yt.y<zt&&(this.ctx.prevPageLastElemOffset+=zt-Yt.y);S.scale>=.01&&(this.pdf.setFontSize(_t),this.lineWidth=It)}else S.scale>=.01&&(_t=this.pdf.internal.getFontSize(),this.pdf.setFontSize(_t*S.scale),It=this.lineWidth,this.lineWidth=It*S.scale),this.pdf.text(S.text,st.x+this.posX,st.y+this.posY,{angle:S.angle,align:D,renderingMode:S.renderingMode,maxWidth:S.maxWidth}),S.scale>=.01&&(this.pdf.setFontSize(_t),this.lineWidth=It)},z=function(S,D,M,G){M=M||0,G=G||0,this.pdf.internal.out(n(S+M)+" "+i(D+G)+" l")},B=function(S,D,M){return this.pdf.lines(S,D,M,null,null)},ot=function(S,D,M,G,Z,st,ut,ht){this.pdf.internal.out([t(o(M+S)),t(a(G+D)),t(o(Z+S)),t(a(st+D)),t(o(ut+S)),t(a(ht+D)),"c"].join(" "))},W=function(S,D,M,G){for(var Z=2*Math.PI,st=Math.PI/2;D>M;)D-=Z;var ut=Math.abs(M-D);ut<Z&&G&&(ut=Z-ut);for(var ht=[],kt=G?-1:1,_t=D;ut>1e-5;){var It=_t+kt*Math.min(ut,st);ht.push(H.call(this,S,_t,It)),ut-=Math.abs(It-_t),_t=It}return ht},H=function(S,D,M){var G=(M-D)/2,Z=S*Math.cos(G),st=S*Math.sin(G),ut=Z,ht=-st,kt=ut*ut+ht*ht,_t=kt+ut*Z+ht*st,It=4/3*(Math.sqrt(2*kt*_t)-_t)/(ut*st-ht*Z),Tt=ut-It*ht,Vt=ht+It*ut,yt=Tt,X=-Vt,Xt=G+D,Mt=Math.cos(Xt),gt=Math.sin(Xt);return{x1:S*Math.cos(D),y1:S*Math.sin(D),x2:Tt*Mt-Vt*gt,y2:Tt*gt+Vt*Mt,x3:yt*Mt-X*gt,y3:yt*gt+X*Mt,x4:S*Math.cos(M),y4:S*Math.sin(M)}},Y=function(S){return 180*S/Math.PI},K=function(S,D,M,G,Z,st){var ut=S+.5*(M-S),ht=D+.5*(G-D),kt=Z+.5*(M-Z),_t=st+.5*(G-st),It=Math.min(S,Z,ut,kt),Tt=Math.max(S,Z,ut,kt),Vt=Math.min(D,st,ht,_t),yt=Math.max(D,st,ht,_t);return new c(It,Vt,Tt-It,yt-Vt)},et=function(S,D,M,G,Z,st,ut,ht){var kt,_t,It,Tt,Vt,yt,X,Xt,Mt,gt,bt,xt,Nt,zt,Kt=M-S,$t=G-D,ae=Z-M,ce=st-G,be=ut-Z,Yt=ht-st;for(_t=0;_t<41;_t++)Mt=(X=(It=S+(kt=_t/40)*Kt)+kt*((Vt=M+kt*ae)-It))+kt*(Vt+kt*(Z+kt*be-Vt)-X),gt=(Xt=(Tt=D+kt*$t)+kt*((yt=G+kt*ce)-Tt))+kt*(yt+kt*(st+kt*Yt-yt)-Xt),_t==0?(bt=Mt,xt=gt,Nt=Mt,zt=gt):(bt=Math.min(bt,Mt),xt=Math.min(xt,gt),Nt=Math.max(Nt,Mt),zt=Math.max(zt,gt));return new c(Math.round(bt),Math.round(xt),Math.round(Nt-bt),Math.round(zt-xt))},dt=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var S,D,M=(S=this.ctx.lineDash,D=this.ctx.lineDashOffset,JSON.stringify({lineDash:S,lineDashOffset:D}));this.prevLineDash!==M&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=M)}}})(Wt.API),function(e){var t=function(a){var l,c,f,p,m,v,w,d,y,_;for(c=[],f=0,p=(a+=l="\0\0\0\0".slice(a.length%4||4)).length;p>f;f+=4)(m=(a.charCodeAt(f)<<24)+(a.charCodeAt(f+1)<<16)+(a.charCodeAt(f+2)<<8)+a.charCodeAt(f+3))!==0?(v=(m=((m=((m=((m=(m-(_=m%85))/85)-(y=m%85))/85)-(d=m%85))/85)-(w=m%85))/85)%85,c.push(v+33,w+33,d+33,y+33,_+33)):c.push(122);return function(k,b){for(var L=b;L>0;L--)k.pop()}(c,l.length),String.fromCharCode.apply(String,c)+"~>"},n=function(a){var l,c,f,p,m,v=String,w="length",d=255,y="charCodeAt",_="slice",k="replace";for(a[_](-2),a=a[_](0,-2)[k](/\s/g,"")[k]("z","!!!!!"),f=[],p=0,m=(a+=l="uuuuu"[_](a[w]%5||5))[w];m>p;p+=5)c=52200625*(a[y](p)-33)+614125*(a[y](p+1)-33)+7225*(a[y](p+2)-33)+85*(a[y](p+3)-33)+(a[y](p+4)-33),f.push(d&c>>24,d&c>>16,d&c>>8,d&c);return function(b,L){for(var C=L;C>0;C--)b.pop()}(f,l[w]),v.fromCharCode.apply(v,f)},i=function(a){var l=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((a=a.replace(/\s/g,"")).indexOf(">")!==-1&&(a=a.substr(0,a.indexOf(">"))),a.length%2&&(a+="0"),l.test(a)===!1)return"";for(var c="",f=0;f<a.length;f+=2)c+=String.fromCharCode("0x"+(a[f]+a[f+1]));return c},o=function(a){for(var l=new Uint8Array(a.length),c=a.length;c--;)l[c]=a.charCodeAt(c);return a=(l=Il(l)).reduce(function(f,p){return f+String.fromCharCode(p)},"")};e.processDataByFilters=function(a,l){var c=0,f=a||"",p=[];for(typeof(l=l||[])=="string"&&(l=[l]),c=0;c<l.length;c+=1)switch(l[c]){case"ASCII85Decode":case"/ASCII85Decode":f=n(f),p.push("/ASCII85Encode");break;case"ASCII85Encode":case"/ASCII85Encode":f=t(f),p.push("/ASCII85Decode");break;case"ASCIIHexDecode":case"/ASCIIHexDecode":f=i(f),p.push("/ASCIIHexEncode");break;case"ASCIIHexEncode":case"/ASCIIHexEncode":f=f.split("").map(function(m){return("0"+m.charCodeAt().toString(16)).slice(-2)}).join("")+">",p.push("/ASCIIHexDecode");break;case"FlateEncode":case"/FlateEncode":f=o(f),p.push("/FlateDecode");break;default:throw new Error('The filter: "'+l[c]+'" is not implemented')}return{data:f,reverseChain:p.reverse().join(" ")}}}(Wt.API),function(e){e.loadFile=function(t,n,i){return function(o,a,l){a=a!==!1,l=typeof l=="function"?l:function(){};var c=void 0;try{c=function(f,p,m){var v=new XMLHttpRequest,w=0,d=function(y){var _=y.length,k=[],b=String.fromCharCode;for(w=0;w<_;w+=1)k.push(b(255&y.charCodeAt(w)));return k.join("")};if(v.open("GET",f,!p),v.overrideMimeType("text/plain; charset=x-user-defined"),p===!1&&(v.onload=function(){v.status===200?m(d(this.responseText)):m(void 0)}),v.send(null),p&&v.status===200)return d(v.responseText)}(o,a,l)}catch(f){}return c}(t,n,i)},e.loadImageFile=e.loadFile}(Wt.API),function(e){function t(){return(Jt.html2canvas?Promise.resolve(Jt.html2canvas):vl(()=>import("./html2canvas.esm-BJcB2cAV.js"),[])).catch(function(l){return Promise.reject(new Error("Could not load html2canvas: "+l))}).then(function(l){return l.default?l.default:l})}function n(){return(Jt.DOMPurify?Promise.resolve(Jt.DOMPurify):vl(()=>import("./purify.es-Bhb8rZfS.js"),[])).catch(function(l){return Promise.reject(new Error("Could not load dompurify: "+l))}).then(function(l){return l.default?l.default:l})}var i=function(l){var c=ye(l);return c==="undefined"?"undefined":c==="string"||l instanceof String?"string":c==="number"||l instanceof Number?"number":c==="function"||l instanceof Function?"function":l&&l.constructor===Array?"array":l&&l.nodeType===1?"element":c==="object"?"object":"unknown"},o=function(l,c){var f=document.createElement(l);for(var p in c.className&&(f.className=c.className),c.innerHTML&&c.dompurify&&(f.innerHTML=c.dompurify.sanitize(c.innerHTML)),c.style)f.style[p]=c.style[p];return f},a=function l(c){var f=Object.assign(l.convert(Promise.resolve()),JSON.parse(JSON.stringify(l.template))),p=l.convert(Promise.resolve(),f);return p=(p=p.setProgress(1,l,1,[l])).set(c)};(a.prototype=Object.create(Promise.prototype)).constructor=a,a.convert=function(l,c){return l.__proto__=c||a.prototype,l},a.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"}},a.prototype.from=function(l,c){return this.then(function(){switch(c=c||function(f){switch(i(f)){case"string":return"string";case"element":return f.nodeName.toLowerCase()==="canvas"?"canvas":"element";default:return"unknown"}}(l)){case"string":return this.then(n).then(function(f){return this.set({src:o("div",{innerHTML:l,dompurify:f})})});case"element":return this.set({src:l});case"canvas":return this.set({canvas:l});case"img":return this.set({img:l});default:return this.error("Unknown source type.")}})},a.prototype.to=function(l){switch(l){case"container":return this.toContainer();case"canvas":return this.toCanvas();case"img":return this.toImg();case"pdf":return this.toPdf();default:return this.error("Invalid target.")}},a.prototype.toContainer=function(){return this.thenList([function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}]).then(function(){var l={position:"relative",display:"inline-block",width:(typeof this.opt.width!="number"||isNaN(this.opt.width)||typeof this.opt.windowWidth!="number"||isNaN(this.opt.windowWidth)?Math.max(this.prop.src.clientWidth,this.prop.src.scrollWidth,this.prop.src.offsetWidth):this.opt.windowWidth)+"px",left:0,right:0,top:0,margin:"auto",backgroundColor:this.opt.backgroundColor},c=function f(p,m){for(var v=p.nodeType===3?document.createTextNode(p.nodeValue):p.cloneNode(!1),w=p.firstChild;w;w=w.nextSibling)m!==!0&&w.nodeType===1&&w.nodeName==="SCRIPT"||v.appendChild(f(w,m));return p.nodeType===1&&(p.nodeName==="CANVAS"?(v.width=p.width,v.height=p.height,v.getContext("2d").drawImage(p,0,0)):p.nodeName!=="TEXTAREA"&&p.nodeName!=="SELECT"||(v.value=p.value),v.addEventListener("load",function(){v.scrollTop=p.scrollTop,v.scrollLeft=p.scrollLeft},!0)),v}(this.prop.src,this.opt.html2canvas.javascriptEnabled);c.tagName==="BODY"&&(l.height=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight)+"px"),this.prop.overlay=o("div",{className:"html2pdf__overlay",style:{position:"fixed",overflow:"hidden",zIndex:1e3,left:"-100000px",right:0,bottom:0,top:0}}),this.prop.container=o("div",{className:"html2pdf__container",style:l}),this.prop.container.appendChild(c),this.prop.container.firstChild.appendChild(o("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"})},a.prototype.toCanvas=function(){var l=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(l).then(t).then(function(c){var f=Object.assign({},this.opt.html2canvas);return delete f.onrendered,c(this.prop.container,f)}).then(function(c){(this.opt.html2canvas.onrendered||function(){})(c),this.prop.canvas=c,document.body.removeChild(this.prop.overlay)})},a.prototype.toContext2d=function(){var l=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(l).then(t).then(function(c){var f=this.opt.jsPDF,p=this.opt.fontFaces,m=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,v=Object.assign({async:!0,allowTaint:!0,scale:m,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 v.onrendered,f.context2d.autoPaging=this.opt.autoPaging===void 0||this.opt.autoPaging,f.context2d.posX=this.opt.x,f.context2d.posY=this.opt.y,f.context2d.margin=this.opt.margin,f.context2d.fontFaces=p,p)for(var w=0;w<p.length;++w){var d=p[w],y=d.src.find(function(_){return _.format==="truetype"});y&&f.addFont(y.url,d.ref.name,d.ref.style)}return v.windowHeight=v.windowHeight||0,v.windowHeight=v.windowHeight==0?Math.max(this.prop.container.clientHeight,this.prop.container.scrollHeight,this.prop.container.offsetHeight):v.windowHeight,f.context2d.save(!0),c(this.prop.container,v)}).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)})},a.prototype.toImg=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()}]).then(function(){var l=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=l})},a.prototype.toPdf=function(){return this.thenList([function(){return this.toContext2d()}]).then(function(){this.prop.pdf=this.prop.pdf||this.opt.jsPDF})},a.prototype.output=function(l,c,f){return(f=f||"pdf").toLowerCase()==="img"||f.toLowerCase()==="image"?this.outputImg(l,c):this.outputPdf(l,c)},a.prototype.outputPdf=function(l,c){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){return this.prop.pdf.output(l,c)})},a.prototype.outputImg=function(l){return this.thenList([function(){return this.prop.img||this.toImg()}]).then(function(){switch(l){case void 0:case"img":return this.prop.img;case"datauristring":case"dataurlstring":return this.prop.img.src;case"datauri":case"dataurl":return document.location.href=this.prop.img.src;default:throw'Image output type "'+l+'" is not supported.'}})},a.prototype.save=function(l){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).set(l?{filename:l}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},a.prototype.doCallback=function(){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){this.prop.callback(this.prop.pdf)})},a.prototype.set=function(l){if(i(l)!=="object")return this;var c=Object.keys(l||{}).map(function(f){if(f in a.template.prop)return function(){this.prop[f]=l[f]};switch(f){case"margin":return this.setMargin.bind(this,l.margin);case"jsPDF":return function(){return this.opt.jsPDF=l.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,l.pageSize);default:return function(){this.opt[f]=l[f]}}},this);return this.then(function(){return this.thenList(c)})},a.prototype.get=function(l,c){return this.then(function(){var f=l in a.template.prop?this.prop[l]:this.opt[l];return c?c(f):f})},a.prototype.setMargin=function(l){return this.then(function(){switch(i(l)){case"number":l=[l,l,l,l];case"array":if(l.length===2&&(l=[l[0],l[1],l[0],l[1]]),l.length===4)break;default:return this.error("Invalid margin array.")}this.opt.margin=l}).then(this.setPageSize)},a.prototype.setPageSize=function(l){function c(f,p){return Math.floor(f*p/72*96)}return this.then(function(){(l=l||Wt.getPageSize(this.opt.jsPDF)).hasOwnProperty("inner")||(l.inner={width:l.width-this.opt.margin[1]-this.opt.margin[3],height:l.height-this.opt.margin[0]-this.opt.margin[2]},l.inner.px={width:c(l.inner.width,l.k),height:c(l.inner.height,l.k)},l.inner.ratio=l.inner.height/l.inner.width),this.prop.pageSize=l})},a.prototype.setProgress=function(l,c,f,p){return l!=null&&(this.progress.val=l),c!=null&&(this.progress.state=c),f!=null&&(this.progress.n=f),p!=null&&(this.progress.stack=p),this.progress.ratio=this.progress.val/this.progress.state,this},a.prototype.updateProgress=function(l,c,f,p){return this.setProgress(l?this.progress.val+l:null,c||null,f?this.progress.n+f:null,p?this.progress.stack.concat(p):null)},a.prototype.then=function(l,c){var f=this;return this.thenCore(l,c,function(p,m){return f.updateProgress(null,null,1,[p]),Promise.prototype.then.call(this,function(v){return f.updateProgress(null,p),v}).then(p,m).then(function(v){return f.updateProgress(1),v})})},a.prototype.thenCore=function(l,c,f){f=f||Promise.prototype.then,l&&(l=l.bind(this)),c&&(c=c.bind(this));var p=Promise.toString().indexOf("[native code]")!==-1&&Promise.name==="Promise"?this:a.convert(Object.assign({},this),Promise.prototype),m=f.call(p,l,c);return a.convert(m,this.__proto__)},a.prototype.thenExternal=function(l,c){return Promise.prototype.then.call(this,l,c)},a.prototype.thenList=function(l){var c=this;return l.forEach(function(f){c=c.thenCore(f)}),c},a.prototype.catch=function(l){l&&(l=l.bind(this));var c=Promise.prototype.catch.call(this,l);return a.convert(c,this)},a.prototype.catchExternal=function(l){return Promise.prototype.catch.call(this,l)},a.prototype.error=function(l){return this.then(function(){throw new Error(l)})},a.prototype.using=a.prototype.set,a.prototype.saveAs=a.prototype.save,a.prototype.export=a.prototype.output,a.prototype.run=a.prototype.then,Wt.getPageSize=function(l,c,f){if(ye(l)==="object"){var p=l;l=p.orientation,c=p.unit||c,f=p.format||f}c=c||"mm",f=f||"a4",l=(""+(l||"P")).toLowerCase();var m,v=(""+f).toLowerCase(),w={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":m=1;break;case"mm":m=72/25.4;break;case"cm":m=72/2.54;break;case"in":m=72;break;case"px":m=.75;break;case"pc":case"em":m=12;break;case"ex":m=6;break;default:throw"Invalid unit: "+c}var d,y=0,_=0;if(w.hasOwnProperty(v))y=w[v][1]/m,_=w[v][0]/m;else try{y=f[1],_=f[0]}catch(k){throw new Error("Invalid format: "+f)}if(l==="p"||l==="portrait")l="p",_>y&&(d=_,_=y,y=d);else{if(l!=="l"&&l!=="landscape")throw"Invalid orientation: "+l;l="l",y>_&&(d=_,_=y,y=d)}return{width:_,height:y,unit:c,k:m,orientation:l}},e.html=function(l,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(Dl):null;var f=new a(c);return c.worker?f:f.from(l).doCallback()}}(Wt.API),Wt.API.addJS=function(e){return tc=e,this.internal.events.subscribe("postPutResources",function(){qo=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(qo+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),Zu=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+tc+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){qo!==void 0&&Zu!==void 0&&this.internal.out("/Names <</JavaScript "+qo+" 0 R>>")}),this},function(e){var t;e.events.push(["postPutResources",function(){var n=this,i=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var o=n.outline.render().split(/\r\n/),a=0;a<o.length;a++){var l=o[a],c=i.exec(l);if(c!=null){var f=c[1];n.internal.newObjectDeferredBegin(f,!1)}n.internal.write(l)}if(this.outline.createNamedDestinations){var p=this.internal.pages.length,m=[];for(a=0;a<p;a++){var v=n.internal.newObject();m.push(v);var w=n.internal.getPageInfo(a+1);n.internal.write("<< /D["+w.objId+" 0 R /XYZ null null null]>> endobj")}var d=n.internal.newObject();for(n.internal.write("<< /Names [ "),a=0;a<m.length;a++)n.internal.write("(page_"+(a+1)+")"+m[a]+" 0 R");n.internal.write(" ] >>","endobj"),t=n.internal.newObject(),n.internal.write("<< /Dests "+d+" 0 R"),n.internal.write(">>","endobj")}}]),e.events.push(["putCatalog",function(){this.outline.root.children.length>0&&(this.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&this.internal.write("/Names "+t+" 0 R"))}]),e.events.push(["initialized",function(){var n=this;n.outline={createNamedDestinations:!1,root:{children:[]}},n.outline.add=function(i,o,a){var l={title:o,options:a,children:[]};return i==null&&(i=this.root),i.children.push(l),l},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(i){i.id=n.internal.newObjectDeferred();for(var o=0;o<i.children.length;o++)this.genIds_r(i.children[o])},n.outline.renderRoot=function(i){this.objStart(i),this.line("/Type /Outlines"),i.children.length>0&&(this.line("/First "+this.makeRef(i.children[0])),this.line("/Last "+this.makeRef(i.children[i.children.length-1]))),this.line("/Count "+this.count_r({count:0},i)),this.objEnd()},n.outline.renderItems=function(i){for(var o=this.ctx.pdf.internal.getVerticalCoordinateString,a=0;a<i.children.length;a++){var l=i.children[a];this.objStart(l),this.line("/Title "+this.makeString(l.title)),this.line("/Parent "+this.makeRef(i)),a>0&&this.line("/Prev "+this.makeRef(i.children[a-1])),a<i.children.length-1&&this.line("/Next "+this.makeRef(i.children[a+1])),l.children.length>0&&(this.line("/First "+this.makeRef(l.children[0])),this.line("/Last "+this.makeRef(l.children[l.children.length-1])));var c=this.count=this.count_r({count:0},l);if(c>
vendor: 12,934 bytes, lines 32-83
320&&this.line("/Count "+c),l.options&&l.options.pageNumber){var f=n.internal.getPageInfo(l.options.pageNumber);this.line("/Dest ["+f.objId+" 0 R /XYZ 0 "+o(0)+" 0]")}this.objEnd()}for(var p=0;p<i.children.length;p++)this.renderItems(i.children[p])},n.outline.line=function(i){this.ctx.val+=i+"\r\n"},n.outline.makeRef=function(i){return i.id+" 0 R"},n.outline.makeString=function(i){return"("+n.internal.pdfEscape(i)+")"},n.outline.objStart=function(i){this.ctx.val+="\r\n"+i.id+" 0 obj\r\n<<\r\n"},n.outline.objEnd=function(){this.ctx.val+=">> \r\nendobj\r\n"},n.outline.count_r=function(i,o){for(var a=0;a<o.children.length;a++)i.count++,this.count_r(i,o.children[a]);return i.count}}])}(Wt.API),function(e){var t=[192,193,194,195,196,197,198,199];e.processJPEG=function(n,i,o,a,l,c){var f,p=this.decode.DCT_DECODE,m=null;if(typeof n=="string"||this.__addimage__.isArrayBuffer(n)||this.__addimage__.isArrayBufferView(n)){switch(n=l||n,n=this.__addimage__.isArrayBuffer(n)?new Uint8Array(n):n,(f=function(v){for(var w,d=256*v.charCodeAt(4)+v.charCodeAt(5),y=v.length,_={width:0,height:0,numcomponents:1},k=4;k<y;k+=2){if(k+=d,t.indexOf(v.charCodeAt(k+1))!==-1){w=256*v.charCodeAt(k+5)+v.charCodeAt(k+6),_={width:256*v.charCodeAt(k+7)+v.charCodeAt(k+8),height:w,numcomponents:v.charCodeAt(k+9)};break}d=256*v.charCodeAt(k+2)+v.charCodeAt(k+3)}return _}(n=this.__addimage__.isArrayBufferView(n)?this.__addimage__.arrayBufferToBinaryString(n):n)).numcomponents){case 1:c=this.color_spaces.DEVICE_GRAY;break;case 4:c=this.color_spaces.DEVICE_CMYK;break;case 3:c=this.color_spaces.DEVICE_RGB}m={data:n,width:f.width,height:f.height,colorSpace:c,bitsPerComponent:8,filter:p,index:i,alias:o}}return m}}(Wt.API);var $i,zo,ec,nc,rc,n2=function(){var e,t,n;function i(a){var l,c,f,p,m,v,w,d,y,_,k,b,L,C;for(this.data=a,this.pos=8,this.palette=[],this.imgData=[],this.transparency={},this.animation=null,this.text={},v=null;;){switch(l=this.readUInt32(),y=(function(){var R,U;for(U=[],R=0;R<4;++R)U.push(String.fromCharCode(this.data[this.pos++]));return U}).call(this).join("")){case"IHDR":this.width=this.readUInt32(),this.height=this.readUInt32(),this.bits=this.data[this.pos++],this.colorType=this.data[this.pos++],this.compressionMethod=this.data[this.pos++],this.filterMethod=this.data[this.pos++],this.interlaceMethod=this.data[this.pos++];break;case"acTL":this.animation={numFrames:this.readUInt32(),numPlays:this.readUInt32()||1/0,frames:[]};break;case"PLTE":this.palette=this.read(l);break;case"fcTL":v&&this.animation.frames.push(v),this.pos+=4,v={width:this.readUInt32(),height:this.readUInt32(),xOffset:this.readUInt32(),yOffset:this.readUInt32()},m=this.readUInt16(),p=this.readUInt16()||100,v.delay=1e3*m/p,v.disposeOp=this.data[this.pos++],v.blendOp=this.data[this.pos++],v.data=[];break;case"IDAT":case"fdAT":for(y==="fdAT"&&(this.pos+=4,l-=4),a=(v!=null?v.data:void 0)||this.imgData,b=0;0<=l?b<l:b>l;0<=l?++b:--b)a.push(this.data[this.pos++]);break;case"tRNS":switch(this.transparency={},this.colorType){case 3:if(f=this.palette.length/3,this.transparency.indexed=this.read(l),this.transparency.indexed.length>f)throw new Error("More transparent colors than palette size");if((_=f-this.transparency.indexed.length)>0)for(L=0;0<=_?L<_:L>_;0<=_?++L:--L)this.transparency.indexed.push(255);break;case 0:this.transparency.grayscale=this.read(l)[0];break;case 2:this.transparency.rgb=this.read(l)}break;case"tEXt":w=(k=this.read(l)).indexOf(0),d=String.fromCharCode.apply(String,k.slice(0,w)),this.text[d]=String.fromCharCode.apply(String,k.slice(w+1));break;case"IEND":return v&&this.animation.frames.push(v),this.colors=(function(){switch(this.colorType){case 0:case 3:case 4:return 1;case 2:case 6:return 3}}).call(this),this.hasAlphaChannel=(C=this.colorType)===4||C===6,c=this.colors+(this.hasAlphaChannel?1:0),this.pixelBitlength=this.bits*c,this.colorSpace=(function(){switch(this.colors){case 1:return"DeviceGray";case 3:return"DeviceRGB"}}).call(this),void(this.imgData=new Uint8Array(this.imgData));default:this.pos+=l}if(this.pos+=4,this.pos>this.data.length)throw new Error("Incomplete or corrupt PNG file")}}i.prototype.read=function(a){var l,c;for(c=[],l=0;0<=a?l<a:l>a;0<=a?++l:--l)c.push(this.data[this.pos++]);return c},i.prototype.readUInt32=function(){return this.data[this.pos++]<<24|this.data[this.pos++]<<16|this.data[this.pos++]<<8|this.data[this.pos++]},i.prototype.readUInt16=function(){return this.data[this.pos++]<<8|this.data[this.pos++]},i.prototype.decodePixels=function(a){var l=this.pixelBitlength/8,c=new Uint8Array(this.width*this.height*l),f=0,p=this;if(a==null&&(a=this.imgData),a.length===0)return new Uint8Array(0);function m(v,w,d,y){var _,k,b,L,C,R,U,J,E,O,$,Q,P,A,z,B,ot,W,H,Y,K,et=Math.ceil((p.width-v)/d),dt=Math.ceil((p.height-w)/y),S=p.width==et&&p.height==dt;for(A=l*et,Q=S?c:new Uint8Array(A*dt),R=a.length,P=0,k=0;P<dt&&f<R;){switch(a[f++]){case 0:for(L=ot=0;ot<A;L=ot+=1)Q[k++]=a[f++];break;case 1:for(L=W=0;W<A;L=W+=1)_=a[f++],C=L<l?0:Q[k-l],Q[k++]=(_+C)%256;break;case 2:for(L=H=0;H<A;L=H+=1)_=a[f++],b=(L-L%l)/l,z=P&&Q[(P-1)*A+b*l+L%l],Q[k++]=(z+_)%256;break;case 3:for(L=Y=0;Y<A;L=Y+=1)_=a[f++],b=(L-L%l)/l,C=L<l?0:Q[k-l],z=P&&Q[(P-1)*A+b*l+L%l],Q[k++]=(_+Math.floor((C+z)/2))%256;break;case 4:for(L=K=0;K<A;L=K+=1)_=a[f++],b=(L-L%l)/l,C=L<l?0:Q[k-l],P===0?z=B=0:(z=Q[(P-1)*A+b*l+L%l],B=b&&Q[(P-1)*A+(b-1)*l+L%l]),U=C+z-B,J=Math.abs(U-C),O=Math.abs(U-z),$=Math.abs(U-B),E=J<=O&&J<=$?C:O<=$?z:B,Q[k++]=(_+E)%256;break;default:throw new Error("Invalid filter algorithm: "+a[f-1])}if(!S){var D=((w+P*y)*p.width+v)*l,M=P*A;for(L=0;L<et;L+=1){for(var G=0;G<l;G+=1)c[D++]=Q[M++];D+=(d-1)*l}}P++}}return a=T1(a),p.interlaceMethod==1?(m(0,0,8,8),m(4,0,8,8),m(0,4,4,8),m(2,0,4,4),m(0,2,2,4),m(1,0,2,2),m(0,1,1,2)):m(0,0,1,1),c},i.prototype.decodePalette=function(){var a,l,c,f,p,m,v,w,d;for(c=this.palette,m=this.transparency.indexed||[],p=new Uint8Array((m.length||0)+c.length),f=0,a=0,l=v=0,w=c.length;v<w;l=v+=3)p[f++]=c[l],p[f++]=c[l+1],p[f++]=c[l+2],p[f++]=(d=m[a++])!=null?d:255;return p},i.prototype.copyToImageData=function(a,l){var c,f,p,m,v,w,d,y,_,k,b;if(f=this.colors,_=null,c=this.hasAlphaChannel,this.palette.length&&(_=(b=this._decodedPalette)!=null?b:this._decodedPalette=this.decodePalette(),f=4,c=!0),y=(p=a.data||a).length,v=_||l,m=w=0,f===1)for(;m<y;)d=_?4*l[m/4]:w,k=v[d++],p[m++]=k,p[m++]=k,p[m++]=k,p[m++]=c?v[d++]:255,w=d;else for(;m<y;)d=_?4*l[m/4]:w,p[m++]=v[d++],p[m++]=v[d++],p[m++]=v[d++],p[m++]=c?v[d++]:255,w=d},i.prototype.decode=function(){var a;return a=new Uint8Array(this.width*this.height*4),this.copyToImageData(a,this.decodePixels()),a};var o=function(){if(Object.prototype.toString.call(Jt)==="[object Window]"){try{t=Jt.document.createElement("canvas"),n=t.getContext("2d")}catch(a){return!1}return!0}return!1};return o(),e=function(a){var l;if(o()===!0)return n.width=a.width,n.height=a.height,n.clearRect(0,0,a.width,a.height),n.putImageData(a,0,0),(l=new Image).src=t.toDataURL(),l;throw new Error("This method requires a Browser with Canvas-capability.")},i.prototype.decodeFrames=function(a){var l,c,f,p,m,v,w,d;if(this.animation){for(d=[],c=m=0,v=(w=this.animation.frames).length;m<v;c=++m)l=w[c],f=a.createImageData(l.width,l.height),p=this.decodePixels(new Uint8Array(l.data)),this.copyToImageData(f,p),l.imageData=f,d.push(l.image=e(f));return d}},i.prototype.renderFrame=function(a,l){var c,f,p;return c=(f=this.animation.frames)[l],p=f[l-1],l===0&&a.clearRect(0,0,this.width,this.height),(p!=null?p.disposeOp:void 0)===1?a.clearRect(p.xOffset,p.yOffset,p.width,p.height):(p!=null?p.disposeOp:void 0)===2&&a.putImageData(p.imageData,p.xOffset,p.yOffset),c.blendOp===0&&a.clearRect(c.xOffset,c.yOffset,c.width,c.height),a.drawImage(c.image,c.xOffset,c.yOffset)},i.prototype.animate=function(a){var l,c,f,p,m,v,w=this;return c=0,v=this.animation,p=v.numFrames,f=v.frames,m=v.numPlays,(l=function(){var d,y;if(d=c++%p,y=f[d],w.renderFrame(a,d),p>1&&c/p<m)return w.animation._timeout=setTimeout(l,y.delay)})()},i.prototype.stopAnimation=function(){var a;return clearTimeout((a=this.animation)!=null?a._timeout:void 0)},i.prototype.render=function(a){var l,c;return a._png&&a._png.stopAnimation(),a._png=this,a.width=this.width,a.height=this.height,l=a.getContext("2d"),this.animation?(this.decodeFrames(l),this.animate(l)):(c=l.createImageData(this.width,this.height),this.copyToImageData(c,this.decodePixels()),l.putImageData(c,0,0))},i}();/** 33 * @license 34 * 35 * Copyright (c) 2014 James Robb, https://github.com/jamesbrobb 36 * 37 * Permission is hereby granted, free of charge, to any person obtaining 38 * a copy of this software and associated documentation files (the 39 * "Software"), to deal in the Software without restriction, including 40 * without limitation the rights to use, copy, modify, merge, publish, 41 * distribute, sublicense, and/or sell copies of the Software, and to 42 * permit persons to whom the Software is furnished to do so, subject to 43 * the following conditions: 44 * 45 * The above copyright notice and this permission notice shall be 46 * included in all copies or substantial portions of the Software. 47 * 48 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 49 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 50 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 51 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 52 * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 53 * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 54 * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 55 * ==================================================================== 56 *//** 57 * @license 58 * (c) Dean McNamee <[email protected]>, 2013. 59 * 60 * https://github.com/deanm/omggif 61 * 62 * Permission is hereby granted, free of charge, to any person obtaining a copy 63 * of this software and associated documentation files (the "Software"), to 64 * deal in the Software without restriction, including without limitation the 65 * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or 66 * sell copies of the Software, and to permit persons to whom the Software is 67 * furnished to do so, subject to the following conditions: 68 * 69 * The above copyright notice and this permission notice shall be included in 70 * all copies or substantial portions of the Software. 71 * 72 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 73 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 74 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 75 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 76 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 77 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS 78 * IN THE SOFTWARE. 79 * 80 * omggif is a JavaScript implementation of a GIF 89a encoder and decoder, 81 * including animation and compression. It does not rely on any specific 82 * underlying system, so should run in the browser, Node, or Plask. 83 */function r2(e){var t=0;if(e[t++]!==71||e[t++]!==73||e[t++]!==70||e[t++]!==56||(e[t++]+1&253)!=56||e[t++]!==97)throw new Error("Invalid GIF 87a/89a header.");var n=e[t++]|e[t++]<<8,i=e[t++]|e[t++]<<8,o=e[t++],a=o>>7,l=1<<(7&o)+1;e[t++],e[t++];var c=null,f=null;a&&(c=t,f=l,t+=3*l);var p=!0,m=[],v=0,w=null,d=0,y=null;for(this.width=n,this.height=i;p&&t<e.length;)switch(e[t++]){case 33:switch(e[t++]){case 255:if(e[t]!==11||e[t+1]==78&&e[t+2]==69&&e[t+3]==84&&e[t+4]==83&&e[t+5]==67&&e[t+6]==65&&e[t+7]==80&&e[t+8]==69&&e[t+9]==50&&e[t+10]==46&&e[t+11]==48&&e[t+12]==3&&e[t+13]==1&&e[t+16]==0)t+=14,y=e[t++]|e[t++]<<8,t++;else for(t+=12;;){if(!((P=e[t++])>=0))throw Error("Invalid block size");if(P===0)break;t+=P}break;case 249:if(e[t++]!==4||e[t+4]!==0)throw new Error("Invalid graphics extension block.");var _=e[t++];v=e[t++]|e[t++]<<8,w=e[t++],!(1&_)&&(w=null),d=_>>2&7,t++;break;case 254:for(;;){if(!((P=e[t++])>=0))throw Error("Invalid block size");if(P===0)break;t+=P}break;default:throw new Error("Unknown graphic control label: 0x"+e[t-1].toString(16))}break;case 44:var k=e[t++]|e[t++]<<8,b=e[t++]|e[t++]<<8,L=e[t++]|e[t++]<<8,C=e[t++]|e[t++]<<8,R=e[t++],U=R>>6&1,J=1<<(7&R)+1,E=c,O=f,$=!1;R>>7&&($=!0,E=t,O=J,t+=3*J);var Q=t;for(t++;;){var P;if(!((P=e[t++])>=0))throw Error("Invalid block size");if(P===0)break;t+=P}m.push({x:k,y:b,width:L,height:C,has_local_palette:$,palette_offset:E,palette_size:O,data_offset:Q,data_length:t-Q,transparent_index:w,interlaced:!!U,delay:v,disposal:d});break;case 59:p=!1;break;default:throw new Error("Unknown gif block: 0x"+e[t-1].toString(16))}this.numFrames=function(){return m.length},this.loopCount=function(){return y},this.frameInfo=function(A){if(A<0||A>=m.length)throw new Error("Frame index out of range.");return m[A]},this.decodeAndBlitFrameBGRA=function(A,z){var B=this.frameInfo(A),ot=B.width*B.height,W=new
vendor: 6,790 bytes, lines 83-114
83Uint8Array(ot);ic(e,B.data_offset,W,ot);var H=B.palette_offset,Y=B.transparent_index;Y===null&&(Y=256);var K=B.width,et=n-K,dt=K,S=4*(B.y*n+B.x),D=4*((B.y+B.height)*n+B.x),M=S,G=4*et;B.interlaced===!0&&(G+=4*n*7);for(var Z=8,st=0,ut=W.length;st<ut;++st){var ht=W[st];if(dt===0&&(dt=K,(M+=G)>=D&&(G=4*et+4*n*(Z-1),M=S+(K+et)*(Z<<1),Z>>=1)),ht===Y)M+=4;else{var kt=e[H+3*ht],_t=e[H+3*ht+1],It=e[H+3*ht+2];z[M++]=It,z[M++]=_t,z[M++]=kt,z[M++]=255}--dt}},this.decodeAndBlitFrameRGBA=function(A,z){var B=this.frameInfo(A),ot=B.width*B.height,W=new Uint8Array(ot);ic(e,B.data_offset,W,ot);var H=B.palette_offset,Y=B.transparent_index;Y===null&&(Y=256);var K=B.width,et=n-K,dt=K,S=4*(B.y*n+B.x),D=4*((B.y+B.height)*n+B.x),M=S,G=4*et;B.interlaced===!0&&(G+=4*n*7);for(var Z=8,st=0,ut=W.length;st<ut;++st){var ht=W[st];if(dt===0&&(dt=K,(M+=G)>=D&&(G=4*et+4*n*(Z-1),M=S+(K+et)*(Z<<1),Z>>=1)),ht===Y)M+=4;else{var kt=e[H+3*ht],_t=e[H+3*ht+1],It=e[H+3*ht+2];z[M++]=kt,z[M++]=_t,z[M++]=It,z[M++]=255}--dt}}}function ic(e,t,n,i){for(var o=e[t++],a=1<<o,l=a+1,c=l+1,f=o+1,p=(1<<f)-1,m=0,v=0,w=0,d=e[t++],y=new Int32Array(4096),_=null;;){for(;m<16&&d!==0;)v|=e[t++]<<m,m+=8,d===1?d=e[t++]:--d;if(m<f)break;var k=v&p;if(v>>=f,m-=f,k!==a){if(k===l)break;for(var b=k<c?k:_,L=0,C=b;C>a;)C=y[C]>>8,++L;var R=C;if(w+L+(b!==k?1:0)>i)return void Le.log("Warning, gif stream longer than expected.");n[w++]=R;var U=w+=L;for(b!==k&&(n[w++]=R),C=b;L--;)C=y[C],n[--U]=255&C,C>>=8;_!==null&&c<4096&&(y[c++]=_<<8|R,c>=p+1&&f<12&&(++f,p=p<<1|1)),_=k}else c=l+1,p=(1<<(f=o+1))-1,_=null}return w!==i&&Le.log("Warning, gif stream shorter than expected."),n}/** 84 * @license 85 Copyright (c) 2008, Adobe Systems Incorporated 86 All rights reserved. 87 88 Redistribution and use in source and binary forms, with or without 89 modification, are permitted provided that the following conditions are 90 met: 91 92 * Redistributions of source code must retain the above copyright notice, 93 this list of conditions and the following disclaimer. 94 95 * Redistributions in binary form must reproduce the above copyright 96 notice, this list of conditions and the following disclaimer in the 97 documentation and/or other materials provided with the distribution. 98 99 * Neither the name of Adobe Systems Incorporated nor the names of its 100 contributors may be used to endorse or promote products derived from 101 this software without specific prior written permission. 102 103 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS 104 IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, 105 THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 106 PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 107 CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 108 EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 109 PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 110 PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 111 LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 112 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 113 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 114*/function gl(e){var t,n,i,o,a,l=Math.floor,c=new Array(64),f=new Array(64),p=new Array(64),m=new Array(64),v=new Array(65535),w=new Array(65535),d=new Array(64),y=new Array(64),_=[],k=0,b=7,L=new Array(64),C=new Array(64),R=new Array(64),U=new Array(256),J=new Array(2048),E=[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],O=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],$=[0,1,2,3,4,5,6,7,8,9,10,11],Q=[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],A=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],z=[0,1,2,3,4,5,6,7,8,9,10,11],B=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],ot=[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 W(S,D){for(var M=0,G=0,Z=new Array,st=1;st<=16;st++){for(var ut=1;ut<=S[st];ut++)Z[D[G]]=[],Z[D[G]][0]=M,Z[D[G]][1]=st,G++,M++;M*=2}return Z}function H(S){for(var D=S[0],M=S[1]-1;M>=0;)D&1<<M&&(k|=1<<b),M--,--b<0&&(k==255?(Y(255),Y(0)):Y(k),b=7,k=0)}function Y(S){_.push(S)}function K(S){Y(S>>8&255),Y(255&S)}function et(S,D,M,G,Z){for(var st,ut=Z[0],ht=Z[240],kt=function(gt,bt){var xt,Nt,zt,Kt,$t,ae,ce,be,Yt,oe,Et=0;for(Yt=0;Yt<8;++Yt){xt=gt[Et],Nt=gt[Et+1],zt=gt[Et+2],Kt=gt[Et+3],$t=gt[Et+4],ae=gt[Et+5],ce=gt[Et+6];var tn=xt+(be=gt[Et+7]),he=xt-be,En=Nt+ce,Ae=Nt-ce,ke=zt+ae,er=zt-ae,pe=Kt+$t,Zr=Kt-$t,Fe=tn+pe,Tn=tn-pe,pr=En+ke,Ie=En-ke;gt[Et]=Fe+pr,gt[Et+4]=Fe-pr;var Zt=.707106781*(Ie+Tn);gt[Et+2]=Tn+Zt,gt[Et+6]=Tn-Zt;var ge=.382683433*((Fe=Zr+er)-(Ie=Ae+he)),ti=.5411961*Fe+ge,Qe=1.306562965*Ie+ge,nr=.707106781*(pr=er+Ae),rr=he+nr,Gt=he-nr;gt[Et+5]=Gt+ti,gt[Et+3]=Gt-ti,gt[Et+1]=rr+Qe,gt[Et+7]=rr-Qe,Et+=8}for(Et=0,Yt=0;Yt<8;++Yt){xt=gt[Et],Nt=gt[Et+8],zt=gt[Et+16],Kt=gt[Et+24],$t=gt[Et+32],ae=gt[Et+40],ce=gt[Et+48];var Rn=xt+(be=gt[Et+56]),ir=xt-be,fn=Nt+ce,Ve=Nt-ce,qe=zt+ae,wn=zt-ae,wi=Kt+$t,gr=Kt-$t,Dn=Rn+wi,Bn=Rn-wi,Mn=fn+qe,ar=fn-qe;gt[Et]=Dn+Mn,gt[Et+32]=Dn-Mn;var Pn=.707106781*(ar+Bn);gt[Et+16]=Bn+Pn,gt[Et+48]=Bn-Pn;var or=.382683433*((Dn=gr+wn)-(ar=Ve+ir)),ei=.5411961*Dn+or,Ai=1.306562965*ar+or,Si=.707106781*(Mn=wn+Ve),xi=ir+Si,Li=ir-Si;gt[Et+40]=Li+ei,gt[Et+24]=Li-ei,gt[Et+8]=xi+Ai,gt[Et+56]=xi-Ai,Et++}for(Yt=0;Yt<64;++Yt)oe=gt[Yt]*bt[Yt],d[Yt]=oe>0?oe+.5|0:oe-.5|0;return d}(S,D),_t=0;_t<64;++_t)y[E[_t]]=kt[_t];var It=y[0]-M;M=y[0],It==0?H(G[0]):(H(G[w[st=32767+It]]),H(v[st]));for(var Tt=63;Tt>0&&y[Tt]==0;)Tt--;if(Tt==0)return H(ut),M;for(var Vt,yt=1;yt<=Tt;){for(var X=yt;y[yt]==0&&yt<=Tt;)++yt;var Xt=yt-X;
vendor: 4,142 bytes, lines 114-120
114if(Xt>=16){Vt=Xt>>4;for(var Mt=1;Mt<=Vt;++Mt)H(ht);Xt&=15}st=32767+y[yt],H(Z[(Xt<<4)+w[st]]),H(v[st]),yt++}return Tt!=63&&H(ut),M}function dt(S){S=Math.min(Math.max(S,1),100),a!=S&&(function(D){for(var M=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],G=0;G<64;G++){var Z=l((M[G]*D+50)/100);Z=Math.min(Math.max(Z,1),255),c[E[G]]=Z}for(var st=[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],ut=0;ut<64;ut++){var ht=l((st[ut]*D+50)/100);ht=Math.min(Math.max(ht,1),255),f[E[ut]]=ht}for(var kt=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],_t=0,It=0;It<8;It++)for(var Tt=0;Tt<8;Tt++)p[_t]=1/(c[E[_t]]*kt[It]*kt[Tt]*8),m[_t]=1/(f[E[_t]]*kt[It]*kt[Tt]*8),_t++}(S<50?Math.floor(5e3/S):Math.floor(200-2*S)),a=S)}this.encode=function(S,D){D&&dt(D),_=new Array,k=0,b=7,K(65496),K(65504),K(16),Y(74),Y(70),Y(73),Y(70),Y(0),Y(1),Y(1),Y(0),K(1),K(1),Y(0),Y(0),function(){K(65499),K(132),Y(0);for(var Nt=0;Nt<64;Nt++)Y(c[Nt]);Y(1);for(var zt=0;zt<64;zt++)Y(f[zt])}(),function(Nt,zt){K(65472),K(17),Y(8),K(zt),K(Nt),Y(3),Y(1),Y(17),Y(0),Y(2),Y(17),Y(1),Y(3),Y(17),Y(1)}(S.width,S.height),function(){K(65476),K(418),Y(0);for(var Nt=0;Nt<16;Nt++)Y(O[Nt+1]);for(var zt=0;zt<=11;zt++)Y($[zt]);Y(16);for(var Kt=0;Kt<16;Kt++)Y(Q[Kt+1]);for(var $t=0;$t<=161;$t++)Y(P[$t]);Y(1);for(var ae=0;ae<16;ae++)Y(A[ae+1]);for(var ce=0;ce<=11;ce++)Y(z[ce]);Y(17);for(var be=0;be<16;be++)Y(B[be+1]);for(var Yt=0;Yt<=161;Yt++)Y(ot[Yt])}(),K(65498),K(12),Y(3),Y(1),Y(0),Y(2),Y(17),Y(3),Y(17),Y(0),Y(63),Y(0);var M=0,G=0,Z=0;k=0,b=7,this.encode.displayName="_encode_";for(var st,ut,ht,kt,_t,It,Tt,Vt,yt,X=S.data,Xt=S.width,Mt=S.height,gt=4*Xt,bt=0;bt<Mt;){for(st=0;st<gt;){for(_t=gt*bt+st,Tt=-1,Vt=0,yt=0;yt<64;yt++)It=_t+(Vt=yt>>3)*gt+(Tt=4*(7&yt)),bt+Vt>=Mt&&(It-=gt*(bt+1+Vt-Mt)),st+Tt>=gt&&(It-=st+Tt-gt+4),ut=X[It++],ht=X[It++],kt=X[It++],L[yt]=(J[ut]+J[ht+256>>0]+J[kt+512>>0]>>16)-128,C[yt]=(J[ut+768>>0]+J[ht+1024>>0]+J[kt+1280>>0]>>16)-128,R[yt]=(J[ut+1280>>0]+J[ht+1536>>0]+J[kt+1792>>0]>>16)-128;M=et(L,p,M,t,i),G=et(C,m,G,n,o),Z=et(R,m,Z,n,o),st+=32}bt+=8}if(b>=0){var xt=[];xt[1]=b+1,xt[0]=(1<<b+1)-1,H(xt)}return K(65497),new Uint8Array(_)},e=e||50,function(){for(var S=String.fromCharCode,D=0;D<256;D++)U[D]=S(D)}(),t=W(O,$),n=W(A,z),i=W(Q,P),o=W(B,ot),function(){for(var S=1,D=2,M=1;M<=15;M++){for(var G=S;G<D;G++)w[32767+G]=M,v[32767+G]=[],v[32767+G][1]=M,v[32767+G][0]=G;for(var Z=-(D-1);Z<=-S;Z++)w[32767+Z]=M,v[32767+Z]=[],v[32767+Z][1]=M,v[32767+Z][0]=D-1+Z;S<<=1,D<<=1}}(),function(){for(var S=0;S<256;S++)J[S]=19595*S,J[S+256>>0]=38470*S,J[S+512>>0]=7471*S+32768,J[S+768>>0]=-11059*S,J[S+1024>>0]=-21709*S,J[S+1280>>0]=32768*S+8421375,J[S+1536>>0]=-27439*S,J[S+1792>>0]=-5329*S}(),dt(e)}/** 115 * @license 116 * Copyright (c) 2017 Aras Abbasi 117 * 118 * Licensed under the MIT License. 119 * http://opensource.org/licenses/mit-license 120 */function $n(e,t){if(this.pos=0,this.buffer=e,this.datav=new DataView(e.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 ac(e){function t(O){if(!O)throw Error("assert :P")}function n(O,$,Q){for(var P=0;4>P;P++)if(O[$+P]!=Q.charCodeAt(P))return!0;return!1}function i(O,$,Q,P,A){for(var z=0;z<A;z++)O[$+z]=Q[P+z]}function o(O,$,Q,P){for(var A=0;A<P;A++)O[$+A]=Q}function a(O){return new Int32Array(O)}function l(O,$){for(var Q=[],P=0;P<O;P++)Q.push(new $);return Q}function c(O,$){var Q=[];return function P(A,z,B){for(var ot=B[z],W=0;W<ot&&(A.push(B.length>z+1?[]:new $),!(B.length<z+1));W++)P(A[W],z+1,B)}(Q,0,O),Q}var f=function(){var O=this;function $(r,s){for(var h=1<<s-1>>>0;r&h;)h>>>=1;return h?(r&h-1)+h:r}function Q(r,s,h,g,x){t(!(g%h));do r[s+(g-=h)]=x;while(0<g)}
vendor: 50,903 bytes, line 120
120function P(r,s,h,g,x){if(t(2328>=x),512>=x)var F=a(512);else if((F=a(x))==null)return 0;return function(I,j,T,q,nt,ct){var ft,at,St=j,pt=1<<T,rt=a(16),it=a(16);for(t(nt!=0),t(q!=null),t(I!=null),t(0<T),at=0;at<nt;++at){if(15<q[at])return 0;++rt[q[at]]}if(rt[0]==nt)return 0;for(it[1]=0,ft=1;15>ft;++ft){if(rt[ft]>1<<ft)return 0;it[ft+1]=it[ft]+rt[ft]}for(at=0;at<nt;++at)ft=q[at],0<q[at]&&(ct[it[ft]++]=at);if(it[15]==1)return(q=new A).g=0,q.value=ct[0],Q(I,St,1,pt,q),pt;var wt,Lt=-1,At=pt-1,Dt=0,Ct=1,Ht=1,Ot=1<<T;for(at=0,ft=1,nt=2;ft<=T;++ft,nt<<=1){if(Ct+=Ht<<=1,0>(Ht-=rt[ft]))return 0;for(;0<rt[ft];--rt[ft])(q=new A).g=ft,q.value=ct[at++],Q(I,St+Dt,nt,Ot,q),Dt=$(Dt,ft)}for(ft=T+1,nt=2;15>=ft;++ft,nt<<=1){if(Ct+=Ht<<=1,0>(Ht-=rt[ft]))return 0;for(;0<rt[ft];--rt[ft]){if(q=new A,(Dt&At)!=Lt){for(St+=Ot,wt=1<<(Lt=ft)-T;15>Lt&&!(0>=(wt-=rt[Lt]));)++Lt,wt<<=1;pt+=Ot=1<<(wt=Lt-T),I[j+(Lt=Dt&At)].g=wt+T,I[j+Lt].value=St-j-Lt}q.g=ft-T,q.value=ct[at++],Q(I,St+(Dt>>T),nt,Ot,q),Dt=$(Dt,ft)}}return Ct!=2*it[15]-1?0:pt}(r,s,h,g,x,F)}function A(){this.value=this.g=0}function z(){this.value=this.g=0}function B(){this.G=l(5,A),this.H=a(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=l(dn,z)}function ot(r,s,h,g){t(r!=null),t(s!=null),t(2147483648>g),r.Ca=254,r.I=0,r.b=-8,r.Ka=0,r.oa=s,r.pa=h,r.Jd=s,r.Yc=h+g,r.Zc=4<=g?h+g-4+1:h,st(r)}function W(r,s){for(var h=0;0<s--;)h|=ht(r,128)<<s;return h}function H(r,s){var h=W(r,s);return ut(r)?-h:h}function Y(r,s,h,g){var x,F=0;for(t(r!=null),t(s!=null),t(4294967288>g),r.Sb=g,r.Ra=0,r.u=0,r.h=0,4<g&&(g=4),x=0;x<g;++x)F+=s[h+x]<<8*x;r.Ra=F,r.bb=g,r.oa=s,r.pa=h}function K(r){for(;8<=r.u&&r.bb<r.Sb;)r.Ra>>>=8,r.Ra+=r.oa[r.pa+r.bb]<<Mi-8>>>0,++r.bb,r.u-=8;M(r)&&(r.h=1,r.u=0)}function et(r,s){if(t(0<=s),!r.h&&s<=Bi){var h=D(r)&Di[s];return r.u+=s,K(r),h}return r.h=1,r.u=0}function dt(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function S(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function D(r){return r.Ra>>>(r.u&Mi-1)>>>0}function M(r){return t(r.bb<=r.Sb),r.h||r.bb==r.Sb&&r.u>Mi}function G(r,s){r.u=s,r.h=M(r)}function Z(r){r.u>=wa&&(t(r.u>=wa),K(r))}function st(r){t(r!=null&&r.oa!=null),r.pa<r.Zc?(r.I=(r.oa[r.pa++]|r.I<<8)>>>0,r.b+=8):(t(r!=null&&r.oa!=null),r.pa<r.Yc?(r.b+=8,r.I=r.oa[r.pa++]|r.I<<8):r.Ka?r.b=0:(r.I<<=8,r.b+=8,r.Ka=1))}function ut(r){return W(r,1)}function ht(r,s){var h=r.Ca;0>r.b&&st(r);var g=r.b,x=h*s>>>8,F=(r.I>>>g>x)+0;for(F?(h-=x,r.I-=x+1<<g>>>0):h=x+1,g=h,x=0;256<=g;)x+=8,g>>=8;return g=7^x+pn[g],r.b-=g,r.Ca=(h<<g)-1,F}function kt(r,s,h){r[s+0]=h>>24&255,r[s+1]=h>>16&255,r[s+2]=h>>8&255,r[s+3]=h>>0&255}function _t(r,s){return r[s+0]<<0|r[s+1]<<8}function It(r,s){return _t(r,s)|r[s+2]<<16}function Tt(r,s){return _t(r,s)|_t(r,s+2)<<16}function Vt(r,s){var h=1<<s;return t(r!=null),t(0<s),r.X=a(h),r.X==null?0:(r.Mb=32-s,r.Xa=s,1)}function yt(r,s){t(r!=null),t(s!=null),t(r.Xa==s.Xa),i(s.X,0,r.X,0,1<<s.Xa)}function X(){this.X=[],this.Xa=this.Mb=0}function Xt(r,s,h,g){t(h!=null),t(g!=null);var x=h[0],F=g[0];return x==0&&(x=(r*F+s/2)/s),F==0&&(F=(s*x+r/2)/r),0>=x||0>=F?0:(h[0]=x,g[0]=F,1)}function Mt(r,s){return r+(1<<s)-1>>>s}function gt(r,s){return((4278255360&r)+(4278255360&s)>>>0&4278255360)+((16711935&r)+(16711935&s)>>>0&16711935)>>>0}function bt(r,s){O[s]=function(h,g,x,F,I,j,T){var q;for(q=0;q<I;++q){var nt=O[r](j[T+q-1],x,F+q);j[T+q]=gt(h[g+q],nt)}}}function xt(){this.ud=this.hd=this.jd=0}function Nt(r,s){return((4278124286&(r^s))>>>1)+(r&s)>>>0}function zt(r){return 0<=r&&256>r?r:0>r?0:255<r?255:void 0}function Kt(r,s){return zt(r+(r-s+.5>>1))}function $t(r,s,h){return Math.abs(s-h)-Math.abs(r-h)}function ae(r,s,h,g,x,F,I){for(g=F[I-1],h=0;h<x;++h)F[I+h]=g=gt(r[s+h],g)}function ce(r,s,h,g,x){var F;for(F=0;F<h;++F){var I=r[s+F],j=I>>8&255,T=16711935&(T=(T=16711935&I)+((j<<16)+j));g[x+F]=(4278255360&I)+T>>>0}}function be(r,s){s.jd=r>>0&255,s.hd=r>>8&255,s.ud=r>>16&255}function Yt(r,s,h,g,x,F){var I;for(I=0;I<g;++I){var j=s[h+I],T=j>>>8,q=j,nt=255&(nt=(nt=j>>>16)+((r.jd<<24>>24)*(T<<24>>24)>>>5));q=255&(q=(q=q+((r.hd<<24>>24)*(T<<24>>24)>>>5))+((r.ud<<24>>24)*(nt<<24>>24)>>>5)),x[F+I]=(4278255360&j)+(nt<<16)+q}}function oe(r,s,h,g,x){O[s]=function(F,I,j,T,q,nt,ct,ft,at){for(T=ct;T<ft;++T)for(ct=0;ct<at;++ct)q[nt++]=x(j[g(F[I++])])},O[r]=function(F,I,j,T,q,nt,ct){var ft=8>>F.b,at=F.Ea,St=F.K[0],pt=F.w;if(8>ft)for(F=(1<<F.b)-1,pt=(1<<ft)-1;I<j;++I){var rt,it=0;for(rt=0;rt<at;++rt)rt&F||(it=g(T[q++])),nt[ct++]=x(St[it&pt]),it>>=ft}else O["VP8LMapColor"+h](T,q,St,pt,nt,ct,I,j,at)}}function Et(r,s,h,g,x){for(h=s+h;s<h;){var F=r[s++];g[x++]=F>>16&255,g[x++]=F>>8&255,g[x++]=F>>0&255}}function tn(r,s,h,g,x){for(h=s+h;s<h;){var F=r[s++];g[x++]=F>>16&255,g[x++]=F>>8&255,g[x++]=F>>0&255,g[x++]=F>>24&255}}function he(r,s,h,g,x){for(h=s+h;s<h;){var F=(I=r[s++])>>16&240|I>>12&15,I=I>>0&240|I>>28&15;g[x++]=F,g[x++]=I}}function En(r,s,h,g,x){for(h=s+h;s<h;){var F=(I=r[s++])>>16&248|I>>13&7,I=I>>5&224|I>>3&31;g[x++]=F,g[x++]=I}}function Ae(r,s,h,g,x){for(h=s+h;s<h;){var F=r[s++];g[x++]=F>>0&255,g[x++]=F>>8&255,g[x++]=F>>16&255}}function ke(r,s,h,g,x,F){if(F==0)for(h=s+h;s<h;)kt(g,((F=r[s++])[0]>>24|F[1]>>8&65280|F[2]<<8&16711680|F[3]<<24)>>>0),x+=32;else i(g,x,r,s,h)}function er(r,s){O[s][0]=O[r+"0"],O[s][1]=O[r+"1"],O[s][2]=O[r+"2"],O[s][3]=O[r+"3"],O[s][4]=O[r+"4"],O[s][5]=O[r+"5"],O[s][6]=O[r+"6"],O[s][7]=O[r+"7"],O[s][8]=O[r+"8"],O[s][9]=O[r+"9"],O[s][10]=O[r+"10"],O[s][11]=O[r+"11"],O[s][12]=O[r+"12"],O[s][13]=O[r+"13"],O[s][14]=O[r+"0"],O[s][15]=O[r+"0"]}function pe(r){return r==Fs||r==Is||r==Ao||r==Os}function Zr(){this.eb=[],this.size=this.A=this.fb=0}function Fe(){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 Tn(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new Zr,this.f.kb=new Fe,this.sd=null}function pr(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function Ie(){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 Zt(r){return alert("todo:WebPSamplerProcessPlane"),r.T}function ge(r,s){var h=r.T,g=s.ba.f.RGBA,x=g.eb,F=g.fb+r.ka*g.A,I=In[s.ba.S],j=r.y,T=r.O,q=r.f,nt=r.N,ct=r.ea,ft=r.W,at=s.cc,St=s.dc,pt=s.Mc,rt=s.Nc,it=r.ka,wt=r.ka+r.T,Lt=r.U,At=Lt+1>>1;for(it==0?I(j,T,null,null,q,nt,ct,ft,q,nt,ct,ft,x,F,null,null,Lt):(I(s.ec,s.fc,j,T,at,St,pt,rt,q,nt,ct,ft,x,F-g.A,x,F,Lt),++h);it+2<wt;it+=2)at=q,St=nt,pt=ct,rt=ft,nt+=r.Rc,ft+=r.Rc,F+=2*g.A,I(j,(T+=2*r.fa)-r.fa,j,T,at,St,pt,rt,q,nt,ct,ft,x,F-g.A,x,F,Lt);return T+=r.fa,r.j+wt<r.o?(i(s.ec,s.fc,j,T,Lt),i(s.cc,s.dc,q,nt,At),i(s.Mc,s.Nc,ct,ft,At),h--):1&wt||I(j,T,null,null,q,nt,ct,ft,q,nt,ct,ft,x,F+g.A,null,null,Lt),h}function ti(r,s,h){var g=r.F,x=[r.J];if(g!=null){var F=r.U,I=s.ba.S,j=I==wo||I==Ao;s=s.ba.f.RGBA;var T=[0],q=r.ka;T[0]=r.T,r.Kb&&(q==0?--T[0]:(--q,x[0]-=r.width),r.j+r.ka+r.T==r.o&&(T[0]=r.o-r.j-q));var nt=s.eb;q=s.fb+q*s.A,r=go(g,x[0],r.width,F,T,nt,q+(j?0:3),s.A),t(h==T),r&&pe(I)&&Rr(nt,q,j,F,T,s.A)}return 0}function Qe(r){var s=r.ma,h=s.ba.S,g=11>h,x=h==yo||h==bo||h==wo||h==Cs||h==12||pe(h);if(s.memory=null,s.Ib=null,s.Jb=null,s.Nd=null,!ya(s.Oa,r,x?11:12))return 0;if(x&&pe(h)&&Pt(),r.da)alert("todo:use_scaling");else{if(g){if(s.Ib=Zt,r.Kb){if(h=r.U+1>>1,s.memory=a(r.U+2*h),s.memory==null)return 0;s.ec=s.memory,s.fc=0,s.cc=s.ec,s.dc=s.fc+r.U,s.Mc=s.cc,s.Nc=s.dc+h,s.Ib=ge,Pt()}}else alert("todo:EmitYUV");x&&(s.Jb=ti,g&<())}if(g&&!su){for(r=0;256>r;++r)df[r]=89858*(r-128)+xo>>So,mf[r]=-22014*(r-128)+xo,gf[r]=-45773*(r-128),pf[r]=113618*(r-128)+xo>>So;for(r=_a;r<Ts;++r)s=76283*(r-16)+xo>>So,vf[r-_a]=An(s,255),yf[r-_a]=An(s+8>>4,15);su=1}return 1}function nr(r){var s=r.ma,h=r.U,g=r.T;return t(!(1&r.ka)),0>=h||0>=g?0:(h=s.Ib(r,s),s.Jb!=null&&s.Jb(r,s,h),s.Dc+=h,1)}function rr(r){r.ma.memory=null}function Gt(r,s,h,g){return et(r,8)!=47?0:(s[0]=et(r,14)+1,h[0]=et(r,14)+1,g[0]=et(r,1),et(r,3)!=0?0:!r.h)}function Rn(r,s){if(4>r)return r+1;var h=r-2>>1;return(2+(1&r)<<h)+et(s,h)+1}function ir(r,s){return 120<s?s-120:1<=(h=((h=Qc[s-1])>>4)*r+(8-(15&h)))?h:1;var h}function fn(r,s,h){var g=D(h),x=r[s+=255&g].g-8;return 0<x&&(G(h,h.u+8),g=D(h),s+=r[s].value,s+=g&(1<<x)-1),G(h,h.u+r[s].g),r[s].value}function Ve(r,s,h){return h.g+=r.g,h.value+=r.value<<s>>>0,t(8>=h.g),r.g}function qe(r,s,h){var g=r.xc;return t((s=g==0?0:r.vc[r.md*(h>>g)+(s>>g)])<r.Wb),r.Ya[s]}function wn(r,s,h,g){var x=r.ab,F=r.c*s,I=r.C;s=I+s;var j=h,T=g;for(g=r.Ta,h=r.Ua;0<x--;){var q=r.gc[x],nt=I,ct=s,ft=j,at=T,St=(T=g,j=h,q.Ea);switch(t(nt<ct),t(ct<=q.nc),q.hc){case 2:po(ft,at,(ct-nt)*St,T,j);break;case 0:var pt=nt,rt=ct,it=T,wt=j,Lt=(Ot=q).Ea;pt==0&&(Ns(ft,at,null,null,1,it,wt),ae(ft,at+1,0,0,Lt-1,it,wt+1),at+=Lt,wt+=Lt,++pt);for(var At=1<<Ot.b,Dt=At-1,Ct=Mt(Lt,Ot.b),Ht=Ot.K,Ot=Ot.w+(pt>>Ot.b)*Ct;pt<rt;){var de=Ht,me=Ot,fe=1;for(Aa(ft,at,it,wt-Lt,1,it,wt);fe<Lt;){var se=(fe&~Dt)+At;se>Lt&&(se=Lt),(0,Or[de[me++]>>8&15])(ft,at+ +fe,it,wt+fe-Lt,se-fe,it,wt+fe),fe=se}at+=Lt,wt+=Lt,++pt&Dt||(Ot+=Ct)}ct!=q.nc&&i(T,j-St,T,j+(ct-nt-1)*St,St);break;case 1:for(St=ft,rt=at,Lt=(ft=q.Ea)-(wt=ft&~(it=(at=1<<q.b)-1)),pt=Mt(ft,q.b),At=q.K,q=q.w+(nt>>q.b)*pt;nt<ct;){for(Dt=At,Ct=q,Ht=new xt,Ot=rt+wt,de=rt+ft;rt<Ot;)be(Dt[Ct++],Ht),kn(Ht,St,rt,at,T,j),rt+=at,j+=at;rt<de&&(be(Dt[Ct++],Ht),kn(Ht,St,rt,Lt,T,j),rt+=Lt,j+=Lt),++nt&it||(q+=pt)}break;case 3:if(ft==T&&at==j&&0<q.b){for(rt=T,ft=St=j+(ct-nt)*St-(wt=(ct-nt)*Mt(q.Ea,q.b)),at=T,it=j,pt=[],wt=(Lt=wt)-1;0<=wt;--wt)pt[wt]=at[it+wt];for(wt=Lt-1;0<=wt;--wt)rt[ft+wt]=pt[wt];Hn(q,nt,ct,T,St,T,j)}else Hn(q,nt,ct,ft,at,T,j)}j=g,T=h}T!=h&&i(g,h,j,T,F)}function wi(r,s){var h=r.V,g=r.Ba+r.c*r.C,x=s-r.C;if(t(s<=r.l.o),t(16>=x),0<x){var F=r.l,I=r.Ta,j=r.Ua,T=F.width;if(wn(r,x,h,g),x=j=[j],t((h=r.C)<(g=s)),t(F.v<F.va),g>F.o&&(g=F.o),h<F.j){var q=F.j-h;h=F.j,x[0]+=q*T}if(h>=g?h=0:(x[0]+=4*F.v,F.ka=h-F.j,F.U=F.va-F.v,F.T=g-h,h=1),h){if(j=j[0],11>(h=r.ca).S){var nt=h.f.RGBA,ct=(g=h.S,x=F.U,F=F.T,q=nt.eb,nt.A),ft=F;for(nt=nt.fb+r.Ma*nt.A;0<ft--;){var at=I,St=j,pt=x,rt=q,it=nt;switch(g){case vo:Wn(at,St,pt,rt,it);break;case yo:jr(at,St,pt,rt,it);break;case Fs:jr(at,St,pt,rt,it),Rr(rt,it,0,pt,1,0);break;case $l:qi(at,St,pt,rt,it);break;case bo:ke(at,St,pt,rt,it,1);break;case Is:ke(at,St,pt,rt,it,1),Rr(rt,it,0,pt,1,0);break;case wo:ke(at,St,pt,rt,it,0);break;case Ao:ke(at,St,pt,rt,it,0),Rr(rt,it,1,pt,1,0);break;case Cs:lr(at,St,pt,rt,it);break;case Os:lr(at,St,pt,rt,it),Hi(rt,it,pt,1,0);break;case Ql:br(at,St,pt,rt,it);break;default:t(0)}j+=T,nt+=ct}r.Ma+=F}else alert("todo:EmitRescaledRowsYUVA");t(r.Ma<=h.height)}}r.C=s,t(r.C<=r.i)}function gr(r){var s;if(0<r.ua)return 0;for(s=0;s<r.Wb;++s){var h=r.Ya[s].G,g=r.Ya[s].H;if(0<h[1][g[1]+0].g||0<h[2][g[2]+0].g||0<h[3][g[3]+0].g)return 0}return 1}function Dn(r,s,h,g,x,F){if(r.Z!=0){var I=r.qd,j=r.rd;for(t(Br[r.Z]!=null);s<h;++s)Br[r.Z](I,j,g,x,g,x,F),I=g,j=x,x+=F;r.qd=I,r.rd=j}}function Bn(r,s){var h=r.l.ma,g=h.Z==0||h.Z==1?r.l.j:r.C;if(g=r.C<g?g:r.C,t(s<=r.l.o),s>g){var x=r.l.width,F=h.ca,I=h.tb+x*g,j=r.V,T=r.Ba+r.c*g,q=r.gc;t(r.ab==1),t(q[0].hc==3),_s(q[0],g,s,j,T,F,I),Dn(h,g,s,F,I,x)}r.C=r.Ma=s}function Mn(r,s,h,g,x,F,I){var j=r.$/g,T=r.$%g,q=r.m,nt=r.s,ct=h+r.$,ft=ct;x=h+g*x;var at=h+g*F,St=280+nt.ua,pt=r.Pb?j:16777216,rt=0<nt.ua?nt.Wa:null,it=nt.wc,wt=ct<at?qe(nt,T,j):null;t(r.C<F),t(at<=x);var Lt=!1;t:for(;;){for(;Lt||ct<at;){var At=0;if(j>=pt){var Dt=ct-h;t((pt=r).Pb),pt.wd=pt.m,pt.xd=Dt,0<pt.s.ua&&yt(pt.s.Wa,pt.s.vb),pt=j+tf}if(T&it||(wt=qe(nt,T,j)),t(wt!=null),wt.Qb&&(s[ct]=wt.qb,Lt=!0),!Lt)if(Z(q),wt.jc){At=q,Dt=s;var Ct=ct,Ht=wt.pd[D(At)&dn-1];t(wt.jc),256>Ht.g?(G(At,At.u+Ht.g),Dt[Ct]=Ht.value,At=0):(G(At,At.u+Ht.g-256),t(256<=Ht.value),At=Ht.value),At==0&&(Lt=!0)}else At=fn(wt.G[0],wt.H[0],q);if(q.h)break;if(Lt||256>At){if(!Lt)if(wt.nd)s[ct]=(wt.qb|At<<8)>>>0;else{if(Z(q),Lt=fn(wt.G[1],wt.H[1],q),Z(q),Dt=fn(wt.G[2],wt.H[2],q),Ct=fn(wt.G[3],wt.H[3],q),q.h)break;s[ct]=(Ct<<24|Lt<<16|At<<8|Dt)>>>0}if(Lt=!1,++ct,++T>=g&&(T=0,++j,I!=null&&j<=F&&!(j%16)&&I(r,j),rt!=null))for(;ft<ct;)At=s[ft++],rt.X[(506832829*At&4294967295)>>>rt.Mb]=At}else if(280>At){if(At=Rn(At-256,q),Dt=fn(wt.G[4],wt.H[4],q),Z(q),Dt=ir(g,Dt=Rn(Dt,q)),q.h)break;if(ct-h<Dt||x-ct<At)break t;for(Ct=0;Ct<At;++Ct)s[ct+Ct]=s[ct+Ct-Dt];for(ct+=At,T+=At;T>=g;)T-=g,++j,I!=null&&j<=F&&!(j%16)&&I(r,j);if(t(ct<=x),T&it&&(wt=qe(nt,T,j)),rt!=null)for(;ft<ct;)At=s[ft++],rt.X[(506832829*At&4294967295)>>>rt.Mb]=At}else{if(!(At<St))break t;for(Lt=At-280,t(rt!=null);ft<ct;)At=s[ft++],rt.X[(506832829*At&4294967295)>>>rt.Mb]=At;At=ct,t(!(Lt>>>(Dt=rt).Xa)),s[At]=Dt.X[Lt],Lt=!0}Lt||t(q.h==M(q))}if(r.Pb&&q.h&&ct<x)t(r.m.h),r.a=5,r.m=r.wd,r.$=r.xd,0<r.s.ua&&yt(r.s.vb,r.s.Wa);else{if(q.h)break t;I!=null&&I(r,j>F?F:j),r.a=0,r.$=ct-h}return 1}return r.a=3,0}function ar(r){t(r!=null),r.vc=null,r.yc=null,r.Ya=null;var s=r.Wa;s!=null&&(s.X=null),r.vb=null,t(r!=null)}function Pn(){var r=new Ls;return r==null?null:(r.a=0,r.xb=eu,er("Predictor","VP8LPredictors"),er("Predictor","VP8LPredictors_C"),er("PredictorAdd","VP8LPredictorsAdd"),er("PredictorAdd","VP8LPredictorsAdd_C"),po=ce,kn=Yt,Wn=Et,jr=tn,lr=he,br=En,qi=Ae,O.VP8LMapColor32b=Sa,O.VP8LMapColor8b=Ps,r)}function or(r,s,h,g,x){var F=1,I=[r],j=[s],T=g.m,q=g.s,nt=null,ct=0;t:for(;;){if(h)for(;F&&et(T,1);){var ft=I,at=j,St=g,pt=1,rt=St.m,it=St.gc[St.ab],wt=et(rt,2);if(St.Oc&1<<wt)F=0;else{switch(St.Oc|=1<<wt,it.hc=wt,it.Ea=ft[0],it.nc=at[0],it.K=[null],++St.ab,t(4>=St.ab),wt){case 0:case 1:it.b=et(rt,3)+2,pt=or(Mt(it.Ea,it.b),Mt(it.nc,it.b),0,St,it.K),it.K=it.K[0];break;case 3:var Lt,At=et(rt,8)+1,Dt=16<At?0:4<At?1:2<At?2:3;if(ft[0]=Mt(it.Ea,Dt),it.b=Dt,Lt=pt=or(At,1,0,St,it.K)){var Ct,Ht=At,Ot=it,de=1<<(8>>Ot.b),me=a(de);if(me==null)Lt=0;else{var fe=Ot.K[0],se=Ot.w;for(me[0]=Ot.K[0][0],Ct=1;Ct<1*Ht;++Ct)me[Ct]=gt(fe[se+Ct],me[Ct-1]);for(;Ct<4*de;++Ct)me[Ct]=0;Ot.K[0]=null,Ot.K[0]=me,Lt=1}}pt=Lt;break;case 2:break;default:t(0)}F=pt}}if(I=I[0],j=j[0],F&&et(T,1)&&!(F=1<=(ct=et(T,4))&&11>=ct)){g.a=3;break t}var Se;if(Se=F)e:{var we,ne,Ue,gn=g,He=I,mn=j,ve=ct,xn=h,Ln=gn.m,Ke=gn.s,Ze=[null],un=1,On=0,ur=Zc[ve];n:for(;;){if(xn&&et(Ln,1)){var Xe=et(Ln,3)+2,Lr=Mt(He,Xe),li=Mt(mn,Xe),Wi=Lr*li;if(!or(Lr,li,0,gn,Ze))break n;for(Ze=Ze[0],Ke.xc=Xe,we=0;we<Wi;++we){var Mr=Ze[we]>>8&65535;Ze[we]=Mr,Mr>=un&&(un=Mr+1)}}if(Ln.h)break n;for(ne=0;5>ne;++ne){var je=Zl[ne];!ne&&0<ve&&(je+=1<<ve),On<je&&(On=je)}var Rs=l(un*ur,A),cu=un,fu=l(cu,B);if(fu==null)var No=null;else t(65536>=cu),No=fu;var Pa=a(On);if(No==null||Pa==null||Rs==null){gn.a=1;break n}var _o=Rs;for(we=Ue=0;we<un;++we){var Yn=No[we],Vi=Yn.G,Gi=Yn.H,hu=0,Po=1,du=0;for(ne=0;5>ne;++ne){je=Zl[ne],Vi[ne]=_o,Gi[ne]=Ue,!ne&&0<ve&&(je+=1<<ve);i:{var ko,Ds=je,Co=gn,ka=Pa,Af=_o,Sf=Ue,Bs=0,qr=Co.m,xf=et(qr,1);if(o(ka,0,0,Ds),xf){var Lf=et(qr,1)+1,Nf=et(qr,1),pu=et(qr,Nf==0?1:8);ka[pu]=1,Lf==2&&(ka[pu=et(qr,8)]=1);var Fo=1}else{var gu=a(19),mu=et(qr,4)+4;if(19<mu){Co.a=3;var Io=0;break i}for(ko=0;ko<mu;++ko)gu[$c[ko]]=et(qr,3);var Ms=void 0,Ca=void 0,vu=Co,_f=gu,Oo=Ds,yu=ka,qs=0,zr=vu.m,bu=8,wu=l(128,A);r:for(;P(wu,0,7,_f,19);){if(et(zr,1)){var Pf=2+2*et(zr,3);if((Ms=2+et(zr,Pf))>Oo)break r}else Ms=Oo;for(Ca=0;Ca<Oo&&Ms--;){Z(zr);var Au=wu[0+(127&D(zr))];G(zr,zr.u+Au.g);var Ji=Au.value;if(16>Ji)yu[Ca++]=Ji,Ji!=0&&(bu=Ji);else{var kf=Ji==16,Su=Ji-16,Cf=Kc[Su],xu=et(zr,Yc[Su])+Cf;if(Ca+xu>Oo)break r;for(var Ff=kf?bu:0;0<xu--;)yu[Ca++]=Ff}}qs=1;break r}qs||(vu.a=3),Fo=qs}(Fo=Fo&&!qr.h)&&(Bs=P(Af,Sf,8,ka,Ds)),Fo&&Bs!=0?Io=Bs:(Co.a=3,Io=0)}if(Io==0)break n;if(Po&&Xc[ne]==1&&(Po=_o[Ue].g==0),hu+=_o[Ue].g,Ue+=Io,3>=ne){var Fa,zs=Pa[0];for(Fa=1;Fa<je;++Fa)Pa[Fa]>zs&&(zs=Pa[Fa]);du+=zs}}if(Yn.nd=Po,Yn.Qb=0,Po&&(Yn.qb=(Vi[3][Gi[3]+0].value<<24|Vi[1][Gi[1]+0].value<<16|Vi[2][Gi[2]+0].value)>>>0,hu==0&&256>Vi[0][Gi[0]+0].value&&(Yn.Qb=1,Yn.qb+=Vi[0][Gi[0]+0].value<<8)),Yn.jc=!Yn.Qb&&6>du,Yn.jc){var jo,Nr=Yn;for(jo=0;jo<dn;++jo){var Ur=jo,Hr=Nr.pd[Ur],Eo=Nr.G[0][Nr.H[0]+Ur];256<=Eo.value?(Hr.g=Eo.g+256,Hr.value=Eo.value):(Hr.g=0,Hr.value=0,Ur>>=Ve(Eo,8,Hr),Ur>>=Ve(Nr.G[1][Nr.H[1]+Ur],16,Hr),Ur>>=Ve(Nr.G[2][Nr.H[2]+Ur],0,Hr),Ve(Nr.G[3][Nr.H[3]+Ur],24,Hr))}}}Ke.vc=Ze,Ke.Wb=un,Ke.Ya=No,Ke.yc=Rs,Se=1;break e}Se=0}if(!(F=Se)){g.a=3;break t}if(0<ct){if(q.ua=1<<ct,!Vt(q.Wa,ct)){g.a=1,F=0;break t}}else q.ua=0;var Us=g,Lu=I,If=j,Hs=Us.s,Ws=Hs.xc;if(Us.c=Lu,Us.i=If,Hs.md=Mt(Lu,Ws),Hs.wc=Ws==0?-1:(1<<Ws)-1,h){g.xb=lf;break t}if((nt=a(I*j))==null){g.a=1,F=0;break t}F=(F=Mn(g,nt,0,I,j,j,null))&&!T.h;break t}return F?(x!=null?x[0]=nt:(t(nt==null),t(h)),g.$=0,h||ar(q)):ar(q),F}function ei(r,s){var h=r.c*r.i,g=h+s+16*s;return t(r.c<=s),r.V=a(g),r.V==null?(r.Ta=null,r.Ua=0,r.a=1,0):(r.Ta=r.V,r.Ua=r.Ba+h+s,1)}function Ai(r,s){var h=r.C,g=s-h,x=r.V,F=r.Ba+r.c*h;for(t(s<=r.l.o);0<g;){var I=16<g?16:g,j=r.l.ma,T=r.l.width,q=T*I,nt=j.ca,ct=j.tb+T*h,ft=r.Ta,at=r.Ua;wn(r,I,x,F),Vl(ft,at,nt,ct,q),Dn(j,h,h+I,nt,ct,T),g-=I,x+=I*r.c,h+=I}t(h==s),r.C=r.Ma=s}function Si(){this.ub=this.yd=this.td=this.Rb=0}function xi(){this.Kd=this.Ld=this.Ud=this.Td=this.i=this.c=0}function Li(){this.Fb=this.Bb=this.Cb=0,this.Zb=a(4),this.Lb=a(4)}function Ja(){this.Yb=function(){var r=[];return function s(h,g,x){for(var F=x[g],I=0;I<F&&(h.push(x.length>g+1?[]:0),!(x.length<g+1));I++)s(h[I],g+1,x)}(r,0,[3,11]),r}()}function es(){this.jb=a(3),this.Wc=c([4,8],Ja),this.Xc=c([4,17],Ja)}function ns(){this.Pc=this.wb=this.Tb=this.zd=0,this.vd=new a(4),this.od=new a(4)}function Ni(){this.ld=this.La=this.dd=this.tc=0}function Ya(){this.Na=this.la=0}function rs(){this.Sc=[0,0],this.Eb=[0,0],this.Qc=[0,0],this.ia=this.lc=0}function na(){this.ad=a(384),this.Za=0,this.Ob=a(16),this.$b=this.Ad=this.ia=this.Gc=this.Hc=this.Dd=0}function is(){this.uc=this.M=this.Nb=0,this.wa=Array(new Ni),this.Y=0,this.ya=Array(new na),this.aa=0,this.l=new _i}function Ka(){this.y=a(16),this.f=a(8),this.ea=a(8)}function as(){this.cb=this.a=0,this.sc="",this.m=new dt,this.Od=new Si,this.Kc=new xi,this.ed=new ns,this.Qa=new Li,this.Ic=this.$c=this.Aa=0,this.D=new is,this.Xb=this.Va=this.Hb=this.zb=this.yb=this.Ub=this.za=0,this.Jc=l(8,dt),this.ia=0,this.pb=l(4,rs),this.Pa=new es,this.Bd=this.kc=0,this.Ac=[],this.Bc=0,this.zc=[0,0,0,0],this.Gd=Array(new Ka),this.Hd=0,this.rb=Array(new Ya),this.sb=0,this.wa=Array(new Ni),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 na),this.L=this.aa=0,this.gd=c([4,2],Ni),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 _i(){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 r=new as;return r!=null&&(r.a=0,r.sc="OK",r.cb=0,r.Xb=0,Na||(Na=Qa)),r}function Te(r,s,h){return r.a==0&&(r.a=s,r.sc=h,r.cb=0),0}function Xa(r,s,h){return 3<=h&&r[s+0]==157&&r[s+1]==1&&r[s+2]==42}function $a(r,s){if(r==null)return 0;if(r.a=0,r.sc="OK",s==null)return Te(r,2,"null VP8Io passed to VP8GetHeaders()");var h=s.data,g=s.w,x=s.ha;if(4>x)return Te(r,7,"Truncated header.");var F=h[g+0]|h[g+1]<<8|h[g+2]<<16,I=r.Od;if(I.Rb=!(1&F),I.td=F>>1&7,I.yd=F>>4&1,I.ub=F>>5,3<I.td)return Te(r,3,"Incorrect keyframe parameters.");if(!I.yd)return Te(r,4,"Frame not displayable.");g+=3,x-=3;var j=r.Kc;if(I.Rb){if(7>x)return Te(r,7,"cannot parse picture header");if(!Xa(h,g,x))return Te(r,3,"Bad code word");j.c=16383&(h[g+4]<<8|h[g+3]),j.Td=h[g+4]>>6,j.i=16383&(h[g+6]<<8|h[g+5]),j.Ud=h[g+6]>>6,g+=7,x-=7,r.za=j.c+15>>4,r.Ub=j.i+15>>4,s.width=j.c,s.height=j.i,s.Da=0,s.j=0,s.v=0,s.va=s.width,s.o=s.height,s.da=0,s.ib=s.width,s.hb=s.height,s.U=s.width,s.T=s.height,o((F=r.Pa).jb,0,255,F.jb.length),t((F=r.Qa)!=null),F.Cb=0,F.Bb=0,F.Fb=1,o(F.Zb,0,0,F.Zb.length),o(F.Lb,0,0,F.Lb)}if(I.ub>x)return Te(r,7,"bad partition length");ot(F=r.m,h,g,I.ub),g+=I.ub,x-=I.ub,I.Rb&&(j.Ld=ut(F),j.Kd=ut(F)),j=r.Qa;var T,q=r.Pa;if(t(F!=null),t(j!=null),j.Cb=ut(F),j.Cb){if(j.Bb=ut(F),ut(F)){for(j.Fb=ut(F),T=0;4>T;++T)j.Zb[T]=ut(F)?H(F,7):0;for(T=0;4>T;++T)j.Lb[T]=ut(F)?H(F,6):0}if(j.Bb)for(T=0;3>T;++T)q.jb[T]=ut(F)?W(F,8):255}else j.Bb=0;if(F.Ka)return Te(r,3,"cannot parse segment header");if((j=r.ed).zd=ut(F),j.Tb=W(F,6),j.wb=W(F,3),j.Pc=ut(F),j.Pc&&ut(F)){for(q=0;4>q;++q)ut(F)&&(j.vd[q]=H(F,6));for(q=0;4>q;++q)ut(F)&&(j.od[q]=H(F,6))}if(r.L=j.Tb==0?0:j.zd?1:2,F.Ka)return Te(r,3,"cannot parse filter header");var nt=x;if(x=T=g,g=T+nt,j=nt,r.Xb=(1<<W(r.m,2))-1,nt<3*(q=r.Xb))h=7;else{for(T+=3*q,j-=3*q,nt=0;nt<q;++nt){var ct=h[x+0]|h[x+1]<<8|h[x+2]<<16;ct>j&&(ct=j),ot(r.Jc[+nt],h,T,ct),T+=ct,j-=ct,x+=3}ot(r.Jc[+q],h,T,j),h=T<g?0:5}if(h!=0)return Te(r,h,"cannot parse partitions");for(h=W(T=r.m,7),x=ut(T)?H(T,4):0,g=ut(T)?H(T,4):0,j=ut(T)?H(T,4):0,q=ut(T)?H(T,4):0,T=ut(T)?H(T,4):0,nt=r.Qa,ct=0;4>ct;++ct){if(nt.Cb){var ft=nt.Zb[ct];nt.Fb||(ft+=h)}else{if(0<ct){r.pb[ct]=r.pb[0];continue}ft=h}var at=r.pb[ct];at.Sc[0]=js[An(ft+x,127)],at.Sc[1]=Es[An(ft+0,127)],at.Eb[0]=2*js[An(ft+g,127)],at.Eb[1]=101581*Es[An(ft+j,127)]>>16,8>at.Eb[1]&&(at.Eb[1]=8),at.Qc[0]=js[An(ft+q,117)],at.Qc[1]=Es[An(ft+T,127)],at.lc=ft+T}if(!I.Rb)return Te(r,4,"Not a key frame.");for(ut(F),I=r.Pa,h=0;4>h;++h){for(x=0;8>x;++x)for(g=0;3>g;++g)for(j=0;11>j;++j)q=ht(F,of[h][x][g][j])?W(F,8):rf[h][x][g][j],I.Wc[h][x].Yb[g][j]=q;for(x=0;17>x;++x)I.Xc[h][x]=I.Wc[h][sf[x]]}return r.kc=ut(F),r.kc&&(r.Bd=W(F,8)),r.cb=1}function Qa(r,s,h,g,x,F,I){var j=s[x].Yb[h];for(h=0;16>x;++x){if(!ht(r,j[h+0]))return x;for(;!ht(r,j[h+1]);)if(j=s[++x].Yb[0],h=0,x==16)return 16;var T=s[x+1].Yb;if(ht(r,j[h+2])){var q=r,nt=0;if(ht(q,(ft=j)[(ct=h)+3]))if(ht(q,ft[ct+6])){for(j=0,ct=2*(nt=ht(q,ft[ct+8]))+(ft=ht(q,ft[ct+9+nt])),nt=0,ft=ef[ct];ft[j];++j)nt+=nt+ht(q,ft[j]);nt+=3+(8<<ct)}else ht(q,ft[ct+7])?(nt=7+2*ht(q,165),nt+=ht(q,145)):nt=5+ht(q,159);else nt=ht(q,ft[ct+4])?3+ht(q,ft[ct+5]):2;j=T[2]}else nt=1,j=T[1];T=I+nf[x],0>(q=r).b&&st(q);var ct,ft=q.b,at=(ct=q.Ca>>1)-(q.I>>ft)>>31;--q.b,q.Ca+=at,q.Ca|=1,q.I-=(ct+1&at)<<ft,F[T]=((nt^at)-at)*g[(0<x)+0]}return 16}function ra(r){var s=r.rb[r.sb-1];s.la=0,s.Na=0,o(r.zc,0,0,r.zc.length),r.ja=0}function ss(r,s){if(r==null)return 0;if(s==null)return Te(r,2,"NULL VP8Io parameter in VP8Decode().");if(!r.cb&&!$a(r,s))return 0;if(t(r.cb),s.ac==null||s.ac(s)){s.ob&&(r.L=0);var h=Lo[r.L];if(r.L==2?(r.yb=0,r.zb=0):(r.yb=s.v-h>>4,r.zb=s.j-h>>4,0>r.yb&&(r.yb=0),0>r.zb&&(r.zb=0)),r.Va=s.o+15+h>>4,r.Hb=s.va+15+h>>4,r.Hb>r.za&&(r.Hb=r.za),r.Va>r.Ub&&(r.Va=r.Ub),0<r.L){var g=r.ed;for(h=0;4>h;++h){var x;if(r.Qa.Cb){var F=r.Qa.Lb[h];r.Qa.Fb||(F+=g.Tb)}else F=g.Tb;for(x=0;1>=x;++x){var I=r.gd[h][x],j=F;if(g.Pc&&(j+=g.vd[0],x&&(j+=g.od[0])),0<(j=0>j?0:63<j?63:j)){var T=j;0<g.wb&&(T=4<g.wb?T>>2:T>>1)>9-g.wb&&(T=9-g.wb),1>T&&(T=1),I.dd=T,I.tc=2*j+T,I.ld=40<=j?2:15<=j?1:0}else I.tc=0;I.La=x}}}h=0}else Te(r,6,"Frame setup failed"),h=r.a;if(h=h==0){if(h){r.$c=0,0<r.Aa||(r.Ic=wf);t:{h=r.Ic,g=4*(T=r.za);var q=32*T,nt=T+1,ct=0<r.L?T*(0<r.Aa?2:1):0,ft=(r.Aa==2?2:1)*T;if((I=g+832+(x=3*(16*h+Lo[r.L])/2*q)+(F=r.Fa!=null&&0<r.Fa.length?r.Kc.c*r.Kc.i:0))!=I)h=0;else{if(I>r.Vb){if(r.Vb=0,r.Ec=a(I),r.Fc=0,r.Ec==null){h=Te(r,1,"no memory during frame initialization.");break t}r.Vb=I}I=r.Ec,j=r.Fc,r.Ac=I,r.Bc=j,j+=g,r.Gd=l(q,Ka),r.Hd=0,r.rb=l(nt+1,Ya),r.sb=1,r.wa=ct?l(ct,Ni):null,r.Y=0,r.D.Nb=0,r.D.wa=r.wa,r.D.Y=r.Y,0<r.Aa&&(r.D.Y+=T),t(!0),r.oc=I,r.pc=j,j+=832,r.ya=l(ft,na),r.aa=0,r.D.ya=r.ya,r.D.aa=r.aa,r.Aa==2&&(r.D.aa+=T),r.R=16*T,r.B=8*T,T=(q=Lo[r.L])*r.R,q=q/2*r.B,r.sa=I,r.ta=j+T,r.qa=r.sa,r.ra=r.ta+16*h*r.R+q,r.Ha=r.qa,r.Ia=r.ra+8*h*r.B+q,r.$c=0,j+=x,r.mb=F?I:null,r.nb=F?j:null,t(j+F<=r.Fc+r.Vb),ra(r),o(r.Ac,r.Bc,0,g),h=1}}if(h){if(s.ka=0,s.y=r.sa,s.O=r.ta,s.f=r.qa,s.N=r.ra,s.ea=r.Ha,s.Vd=r.Ia,s.fa=r.R,s.Rc=r.B,s.F=null,s.J=0,!Xl){for(h=-255;255>=h;++h)Gl[255+h]=0>h?-h:h;for(h=-1020;1020>=h;++h)Jl[1020+h]=-128>h?-128:127<h?127:h;for(h=-112;112>=h;++h)Yl[112+h]=-16>h?-16:15<h?15:h;for(h=-255;510>=h;++h)Kl[255+h]=0>h?0:255<h?255:h;Xl=1}Vn=cs,zi=ls,Er=to,Gn=us,wr=eo,xa=Za,oi=ua,Ui=ii,si=xs,Tr=ca,La=Ss,Cn=Oi,Ar=fa,Ne=co,_e=uo,Re=vr,Ge=Cr,Sr=As,Jn[0]=sr,Jn[1]=fs,Jn[2]=gs,Jn[3]=ms,Jn[4]=io,Jn[5]=Fi,Jn[6]=ao,Jn[7]=oa,Jn[8]=ys,Jn[9]=vs,Dr[0]=no,Dr[1]=ds,Dr[2]=mr,Dr[3]=ki,Dr[4]=en,Dr[5]=ps,Dr[6]=ro,xr[0]=kr,xr[1]=hs,xr[2]=bs,xr[3]=sa,xr[4]=ri,xr[5]=ws,xr[6]=la,h=1}else h=0}h&&(h=function(at,St){for(at.M=0;at.M<at.Va;++at.M){var pt,rt=at.Jc[at.M&at.Xb],it=at.m,wt=at;for(pt=0;pt<wt.za;++pt){var Lt=it,At=wt,Dt=At.Ac,Ct=At.Bc+4*pt,Ht=At.zc,Ot=At.ya[At.aa+pt];if(At.Qa.Bb?Ot.$b=ht(Lt,At.Pa.jb[0])?2+ht(Lt,At.Pa.jb[2]):ht(Lt,At.Pa.jb[1]):Ot.$b=0,At.kc&&(Ot.Ad=ht(Lt,At.Bd)),Ot.Za=!ht(Lt,145)+0,Ot.Za){var de=Ot.Ob,me=0;for(At=0;4>At;++At){var fe,se=Ht[0+At];for(fe=0;4>fe;++fe){se=af[Dt[Ct+fe]][se];for(var Se=tu[ht(Lt,se[0])];0<Se;)Se=tu[2*Se+ht(Lt,se[Se])];se=-Se,Dt[Ct+fe]=se}i(de,me,Dt,Ct,4),me+=4,Ht[0+At]=se}}else se=ht(Lt,156)?ht(Lt,128)?1:3:ht(Lt,163)?2:0,Ot.Ob[0]=se,o(Dt,Ct,se,4),o(Ht,0,se,4);Ot.Dd=ht(Lt,142)?ht(Lt,114)?ht(Lt,183)?1:3:2:0}if(wt.m.Ka)return Te(at,7,"Premature end-of-partition0 encountered.");for(;at.ja<at.za;++at.ja){if(wt=rt,Lt=(it=at).rb[it.sb-1],Dt=it.rb[it.sb+it.ja],pt=it.ya[it.aa+it.ja],Ct=it.kc?pt.Ad:0)Lt.la=Dt.la=0,pt.Za||(Lt.Na=Dt.Na=0),pt.Hc=0,pt.Gc=0,pt.ia=0;else{var we,ne;if(Lt=Dt,Dt=wt,Ct=it.Pa.Xc,Ht=it.ya[it.aa+it.ja],Ot=it.pb[Ht.$b],At=Ht.ad,de=0,me=it.rb[it.sb-1],se=fe=0,o(At,de,0,384),Ht.Za)var Ue=0,gn=Ct[3];else{Se=a(16);var He=Lt.Na+me.Na;if(He=Na(Dt,Ct[1],He,Ot.Eb,0,Se,0),Lt.Na=me.Na=(0<He)+0,1<He)Vn(Se,0,At,de);else{var mn=Se[0]+3>>3;for(Se=0;256>Se;Se+=16)At[de+Se]=mn}Ue=1,gn=Ct[0]}var ve=15&Lt.la,xn=15&me.la;for(Se=0;4>Se;++Se){var Ln=1&xn;for(mn=ne=0;4>mn;++mn)ve=ve>>1|(Ln=(He=Na(Dt,gn,He=Ln+(1&ve),Ot.Sc,Ue,At,de))>Ue)<<7,ne=ne<<2|(3<He?3:1<He?2:At[de+0]!=0),de+=16;ve>>=4,xn=xn>>1|Ln<<7,fe=(fe<<8|ne)>>>0}for(gn=ve,Ue=xn>>4,we=0;4>we;we+=2){for(ne=0,ve=Lt.la>>4+we,xn=me.la>>4+we,Se=0;2>Se;++Se){for(Ln=1&xn,mn=0;2>mn;++mn)He=Ln+(1&ve),ve=ve>>1|(Ln=0<(He=Na(Dt,Ct[2],He,Ot.Qc,0,At,de)))<<3,ne=ne<<2|(3<He?3:1<He?2:At[de+0]!=0),de+=16;ve>>=2,xn=xn>>1|Ln<<5}se|=ne<<4*we,gn|=ve<<4<<we,Ue|=(240&xn)<<we}Lt.la=gn,me.la=Ue,Ht.Hc=fe,Ht.Gc=se,Ht.ia=43690&se?0:Ot.ia,Ct=!(fe|se)}if(0<it.L&&(it.wa[it.Y+it.ja]=it.gd[pt.$b][pt.Za],it.wa[it.Y+it.ja].La|=!Ct),wt.Ka)return Te(at,7,"Premature end-of-file encountered.")}if(ra(at),it=St,wt=1,pt=(rt=at).D,Lt=0<rt.L&&rt.M>=rt.zb&&rt.M<=rt.Va,rt.Aa==0)t:{if(pt.M=rt.M,pt.uc=Lt,va(rt,pt),wt=1,pt=(ne=rt.D).Nb,Lt=(se=Lo[rt.L])*rt.R,Dt=se/2*rt.B,Se=16*pt*rt.R,mn=8*pt*rt.B,Ct=rt.sa,Ht=rt.ta-Lt+Se,Ot=rt.qa,At=rt.ra-Dt+mn,de=rt.Ha,me=rt.Ia-Dt+mn,xn=(ve=ne.M)==0,fe=ve>=rt.Va-1,rt.Aa==2&&va(rt,ne),ne.uc)for(Ln=(He=rt).D.M,t(He.D.uc),ne=He.yb;ne<He.Hb;++ne){Ue=ne,gn=Ln;var Ke=(Ze=(je=He).D).Nb;we=je.R;var Ze=Ze.wa[Ze.Y+Ue],un=je.sa,On=je.ta+16*Ke*we+16*Ue,ur=Ze.dd,Xe=Ze.tc;if(Xe!=0)if(t(3<=Xe),je.L==1)0<Ue&&Re(un,On,we,Xe+4),Ze.La&&Sr(un,On,we,Xe),0<gn&&_e(un,On,we,Xe+4),Ze.La&&Ge(un,On,we,Xe);else{var Lr=je.B,li=je.qa,Wi=je.ra+8*Ke*Lr+8*Ue,Mr=je.Ha,je=je.Ia+8*Ke*Lr+8*Ue;Ke=Ze.ld,0<Ue&&(Ui(un,On,we,Xe+4,ur,Ke),Tr(li,Wi,Mr,je,Lr,Xe+4,ur,Ke)),Ze.La&&(Cn(un,On,we,Xe,ur,Ke),Ne(li,Wi,Mr,je,Lr,Xe,ur,Ke)),0<gn&&(oi(un,On,we,Xe+4,ur,Ke),si(li,Wi,Mr,je,Lr,Xe+4,ur,Ke)),Ze.La&&(La(un,On,we,Xe,ur,Ke),Ar(li,Wi,Mr,je,Lr,Xe,ur,Ke))}}if(rt.ia&&alert("todo:DitherRow"),it.put!=null){if(ne=16*ve,ve=16*(ve+1),xn?(it.y=rt.sa,it.O=rt.ta+Se,it.f=rt.qa,it.N=rt.ra+mn,it.ea=rt.Ha,it.W=rt.Ia+mn):(ne-=se,it.y=Ct,it.O=Ht,it.f=Ot,it.N=At,it.ea=de,it.W=me),fe||(ve-=se),ve>it.o&&(ve=it.o),it.F=null,it.J=null,rt.Fa!=null&&0<rt.Fa.length&&ne<ve&&(it.J=ga(rt,it,ne,ve-ne),it.F=rt.mb,it.F==null&&it.F.length==0)){wt=Te(rt,3,"Could not decode alpha data.");break t}ne<it.j&&(se=it.j-ne,ne=it.j,t(!(1&se)),it.O+=rt.R*se,it.N+=rt.B*(se>>1),it.W+=rt.B*(se>>1),it.F!=null&&(it.J+=it.width*se)),ne<ve&&(it.O+=it.v,it.N+=it.v>>1,it.W+=it.v>>1,it.F!=null&&(it.J+=it.v),it.ka=ne-it.j,it.U=it.va-it.v,it.T=ve-ne,wt=it.put(it))}pt+1!=rt.Ic||fe||(i(rt.sa,rt.ta-Lt,Ct,Ht+16*rt.R,Lt),i(rt.qa,rt.ra-Dt,Ot,At+8*rt.B,Dt),i(rt.Ha,rt.Ia-Dt,de,me+8*rt.B,Dt))}if(!wt)return Te(at,6,"Output aborted.")}return 1}(r,s)),s.bc!=null&&s.bc(s),h&=1}return h?(r.cb=0,h):0}function qn(r,s,h,g,x){x=r[s+h+32*g]+(x>>3),r[s+h+32*g]=-256&x?0>x?0:255:x}function Pi(r,s,h,g,x,F){qn(r,s,0,h,g+x),qn(r,s,1,h,g+F),qn(r,s,2,h,g-F),qn(r,s,3,h,g-x)}function hn(r){return(20091*r>>16)+r}function ia(r,s,h,g){var x,F=0,I=a(16);for(x=0;4>x;++x){var j=r[s+0]+r[s+8],T=r[s+0]-r[s+8],q=(35468*r[s+4]>>16)-hn(r[s+12]),nt=hn(r[s+4])+(35468*r[s+12]>>16);I[F+0]=j+nt,I[F+1]=T+q,I[F+2]=T-q,I[F+3]=j-nt,F+=4,s++}for(x=F=0;4>x;++x)j=(r=I[F+0]+4)+I[F+8],T=r-I[F+8],q=(35468*I[F+4]>>16)-hn(I[F+12]),qn(h,g,0,0,j+(nt=hn(I[F+4])+(35468*I[F+12]>>16))),qn(h,g,1,0,T+q),qn(h,g,2,0,T-q),qn(h,g,3,0,j-nt),F++,g+=32}function Za(r,s,h,g){var x=r[s+0]+4,F=35468*r[s+4]>>16,I=hn(r[s+4]),j=35468*r[s+1]>>16;Pi(h,g,0,x+I,r=hn(r[s+1]),j),Pi(h,g,1,x+F,r,j),Pi(h,g,2,x-F,r,j),Pi(h,g,3,x-I,r,j)}function ls(r,s,h,g,x){ia(r,s,h,g),x&&ia(r,s+16,h,g+4)}function to(r,s,h,g){zi(r,s+0,h,g,1),zi(r,s+32,h,g+128,1)}function us(r,s,h,g){var x;for(r=r[s+0]+4,x=0;4>x;++x)for(s=0;4>s;++s)qn(h,g,s,x,r)}function eo(r,s,h,g){r[s+0]&&Gn(r,s+0,h,g),r[s+16]&&Gn(r,s+16,h,g+4),r[s+32]&&Gn(r,s+32,h,g+128),r[s+48]&&Gn(r,s+48,h,g+128+4)}function cs(r,s,h,g){var x,F=a(16);for(x=0;4>x;++x){var I=r[s+0+x]+r[s+12+x],j=r[s+4+x]+r[s+8+x],T=r[s+4+x]-r[s+8+x],q=r[s+0+x]-r[s+12+x];F[0+x]=I+j,F[8+x]=I-j,F[4+x]=q+T,F[12+x]=q-T}for(x=0;4>x;++x)I=(r=F[0+4*x]+3)+F[3+4*x],j=F[1+4*x]+F[2+4*x],T=F[1+4*x]-F[2+4*x],q=r-F[3+4*x],h[g+0]=I+j>>3,h[g+16]=q+T>>3,h[g+32]=I-j>>3,h[g+48]=q-T>>3,g+=64}function aa(r,s,h){var g,x=s-32,F=Sn,I=255-r[x-1];for(g=0;g<h;++g){var j,T=F,q=I+r[s-1];for(j=0;j<h;++j)r[s+j]=T[q+r[x+j]];s+=32}}function fs(r,s){aa(r,s,4)}function hs(r,s){aa(r,s,8)}function ds(r,s){aa(r,s,16)}function mr(r,s){var h;for(h=0;16>h;++h)i(r,s+32*h,r,s-32,16)}function ki(r,s){var h;for(h=16;0<h;--h)o(r,s,r[s-1],16),s+=32}function Ci(r,s,h){var g;for(g=0;16>g;++g)o(s,h+32*g,r,16)}function no(r,s){var h,g=16;for(h=0;16>h;++h)g+=r[s-1+32*h]+r[s+h-32];Ci(g>>5,r,s)}function en(r,s){var h,g=8;for(h=0;16>h;++h)g+=r[s-1+32*h];Ci(g>>4,r,s)}function ps(r,s){var h,g=8;for(h=0;16>h;++h)g+=r[s+h-32];Ci(g>>4,r,s)}function ro(r,s){Ci(128,r,s)}function Qt(r,s,h){return r+2*s+h+2>>2}function gs(r,s){var h,g=s-32;for(g=new Uint8Array([Qt(r[g-1],r[g+0],r[g+1]),Qt(r[g+0],r[g+1],r[g+2]),Qt(r[g+1],r[g+2],r[g+3]),Qt(r[g+2],r[g+3],r[g+4])]),h=0;4>h;++h)i(r,s+32*h,g,0,g.length)}function ms(r,s){var h=r[s-1],g=r[s-1+32],x=r[s-1+64],F=r[s-1+96];kt(r,s+0,16843009*Qt(r[s-1-32],h,g)),kt(r,s+32,16843009*Qt(h,g,x)),kt(r,s+64,16843009*Qt(g,x,F)),kt(r,s+96,16843009*Qt(x,F,F))}function sr(r,s){var h,g=4;for(h=0;4>h;++h)g+=r[s+h-32]+r[s-1+32*h];for(g>>=3,h=0;4>h;++h)o(r,s+32*h,g,4)}function io(r,s){var h=r[s-1+0],g=r[s-1+32],x=r[s-1+64],F=r[s-1-32],I=r[s+0-32],j=r[s+1-32],T=r[s+2-32],q=r[s+3-32];r[s+0+96]=Qt(g,x,r[s-1+96]),r[s+1+96]=r[s+0+64]=Qt(h,g,x),r[s+2+96]=r[s+1+64]=r[s+0+32]=Qt(F,h,g),r[s+3+96]=r[s+2+64]=r[s+1+32]=r[s+0+0]=Qt(I,F,h),r[s+3+64]=r[s+2+32]=r[s+1+0]=Qt(j,I,F),r[s+3+32]=r[s+2+0]=Qt(T,j,I),r[s+3+0]=Qt(q,T,j)}function ao(r,s){var h=r[s+1-32],g=r[s+2-32],x=r[s+3-32],F=r[s+4-32],I=r[s+5-32],j=r[s+6-32],T=r[s+7-32];r[s+0+0]=Qt(r[s+0-32],h,g),r[s+1+0]=r[s+0+32]=Qt(h,g,x),r[s+2+0]=r[s+1+32]=r[s+0+64]=Qt(g,x,F),r[s+3+0]=r[s+2+32]=r[s+1+64]=r[s+0+96]=Qt(x,F,I),r[s+3+32]=r[s+2+64]=r[s+1+96]=Qt(F,I,j),r[s+3+64]=r[s+2+96]=Qt(I,j,T),r[s+3+96]=Qt(j,T,T)}function Fi(r,s){var h=r[s-1+0],g=r[s-1+32],x=r[s-1+64],F=r[s-1-32],I=r[s+0-32],j=r[s+1-32],T=r[s+2-32],q=r[s+3-32];r[s+0+0]=r[s+1+64]=F+I+1>>1,r[s+1+0]=r[s+2+64]=I+j+1>>1,r[s+2+0]=r[s+3+64]=j+T+1>>1,r[s+3+0]=T+q+1>>1,r[s+0+96]=Qt(x,g,h),r[s+0+64]=Qt(g,h,F),r[s+0+32]=r[s+1+96]=Qt(h,F,I),r[s+1+32]=r[s+2+96]=Qt(F,I,j),r[s+2+32]=r[s+3+96]=Qt(I,j,T),r[s+3+32]=Qt(j,T,q)}function oa(r,s){var h=r[s+0-32],g=r[s+1-32],x=r[s+2-32],F=r[s+3-32],I=r[s+4-32],j=r[s+5-32],T=r[s+6-32],q=r[s+7-32];r[s+0+0]=h+g+1>>1,r[s+1+0]=r[s+0+64]=g+x+1>>1,r[s+2+0]=r[s+1+64]=x+F+1>>1,r[s+3+0]=r[s+2+64]=F+I+1>>1,r[s+0+32]=Qt(h,g,x),r[s+1+32]=r[s+0+96]=Qt(g,x,F),r[s+2+32]=r[s+1+96]=Qt(x,F,I),r[s+3+32]=r[s+2+96]=Qt(F,I,j),r[s+3+64]=Qt(I,j,T),r[s+3+96]=Qt(j,T,q)}function vs(r,s){var h=r[s-1+0],g=r[s-1+32],x=r[s-1+64],F=r[s-1+96];r[s+0+0]=h+g+1>>1,r[s+2+0]=r[s+0+32]=g+x+1>>1,r[s+2+32]=r[s+0+64]=x+F+1>>1,r[s+1+0]=Qt(h,g,x),r[s+3+0]=r[s+1+32]=Qt(g,x,F),r[s+3+32]=r[s+1+64]=Qt(x,F,F),r[s+3+64]=r[s+2+64]=r[s+0+96]=r[s+1+96]=r[s+2+96]=r[s+3+96]=F}function ys(r,s){var h=r[s-1+0],g=r[s-1+32],x=r[s-1+64],F=r[s-1+96],I=r[s-1-32],j=r[s+0-32],T=r[s+1-32],q=r[s+2-32];r[s+0+0]=r[s+2+32]=h+I+1>>1,r[s+0+32]=r[s+2+64]=g+h+1>>1,r[s+0+64]=r[s+2+96]=x+g+1>>1,r[s+0+96]=F+x+1>>1,r[s+3+0]=Qt(j,T,q),r[s+2+0]=Qt(I,j,T),r[s+1+0]=r[s+3+32]=Qt(h,I,j),r[s+1+32]=r[s+3+64]=Qt(g,h,I),r[s+1+64]=r[s+3+96]=Qt(x,g,h),r[s+1+96]=Qt(F,x,g)}function bs(r,s){var h;for(h=0;8>h;++h)i(r,s+32*h,r,s-32,8)}function sa(r,s){var h;for(h=0;8>h;++h)o(r,s,r[s-1],8),s+=32}function ni(r,s,h){var g;for(g=0;8>g;++g)o(s,h+32*g,r,8)}function kr(r,s){var h,g=8;for(h=0;8>h;++h)g+=r[s+h-32]+r[s-1+32*h];ni(g>>4,r,s)}function ws(r,s){var h,g=4;for(h=0;8>h;++h)g+=r[s+h-32];ni(g>>3,r,s)}function ri(r,s){var h,g=4;for(h=0;8>h;++h)g+=r[s-1+32*h];ni(g>>3,r,s)}function la(r,s){ni(128,r,s)}function Ii(r,s,h){var g=r[s-h],x=r[s+0],F=3*(x-g)+ks[1020+r[s-2*h]-r[s+h]],I=mo[112+(F+4>>3)];r[s-h]=Sn[255+g+mo[112+(F+3>>3)]],r[s+0]=Sn[255+x-I]}function oo(r,s,h,g){var x=r[s+0],F=r[s+h];return Fn[255+r[s-2*h]-r[s-h]]>g||Fn[255+F-x]>g}function so(r,s,h,g){return 4*Fn[255+r[s-h]-r[s+0]]+Fn[255+r[s-2*h]-r[s+h]]<=g}function lo(r,s,h,g,x){var F=r[s-3*h],I=r[s-2*h],j=r[s-h],T=r[s+0],q=r[s+h],nt=r[s+2*h],ct=r[s+3*h];return 4*Fn[255+j-T]+Fn[255+I-q]>g?0:Fn[255+r[s-4*h]-F]<=x&&Fn[255+F-I]<=x&&Fn[255+I-j]<=x&&Fn[255+ct-nt]<=x&&Fn[255+nt-q]<=x&&Fn[255+q-T]<=x}function uo(r,s,h,g){var x=2*g+1;for(g=0;16>g;++g)so(r,s+g,h,x)&&Ii(r,s+g,h)}function vr(r,s,h,g){var x=2*g+1;for(g=0;16>g;++g)so(r,s+g*h,1,x)&&Ii(r,s+g*h,1)}function Cr(r,s,h,g){var x;for(x=3;0<x;--x)uo(r,s+=4*h,h,g)}function As(r,s,h,g){var x;for(x=3;0<x;--x)vr(r,s+=4,h,g)}function Fr(r,s,h,g,x,F,I,j){for(F=2*F+1;0<x--;){if(lo(r,s,h,F,I))if(oo(r,s,h,j))Ii(r,s,h);else{var T=r,q=s,nt=h,ct=T[q-2*nt],ft=T[q-nt],at=T[q+0],St=T[q+nt],pt=T[q+2*nt],rt=27*(wt=ks[1020+3*(at-ft)+ks[1020+ct-St]])+63>>7,it=18*wt+63>>7,wt=9*wt+63>>7;T[q-3*nt]=Sn[255+T[q-3*nt]+wt],T[q-2*nt]=Sn[255+ct+it],T[q-nt]=Sn[255+ft+rt],T[q+0]=Sn[255+at-rt],T[q+nt]=Sn[255+St-it],T[q+2*nt]=Sn[255+pt-wt]}s+=g}}function zn(r,s,h,g,x,F,I,j){for(F=2*F+1;0<x--;){if(lo(r,s,h,F,I))if(oo(r,s,h,j))Ii(r,s,h);else{var T=r,q=s,nt=h,ct=T[q-nt],ft=T[q+0],at=T[q+nt],St=mo[112+((pt=3*(ft-ct))+4>>3)],pt=mo[112+(pt+3>>3)],rt=St+1>>1;T[q-2*nt]=Sn[255+T[q-2*nt]+rt],T[q-nt]=Sn[255+ct+pt],T[q+0]=Sn[255+ft-St],T[q+nt]=Sn[255+at-rt]}s+=g}}function ua(r,s,h,g,x,F){Fr(r,s,h,1,16,g,x,F)}function ii(r,s,h,g,x,F){Fr(r,s,1,h,16,g,x,F)}function Ss(r,s,h,g,x,F){var I;for(I=3;0<I;--I)zn(r,s+=4*h,h,1,16,g,x,F)}function Oi(r,s,h,g,x,F){var I;for(I=3;0<I;--I)zn(r,s+=4,1,h,16,g,x,F)}function xs(r,s,h,g,x,F,I,j){Fr(r,s,x,1,8,F,I,j),Fr(h,g,x,1,8,F,I,j)}function ca(r,s,h,g,x,F,I,j){Fr(r,s,1,x,8,F,I,j),Fr(h,g,1,x,8,F,I,j)}function fa(r,s,h,g,x,F,I,j){zn(r,s+4*x,x,1,8,F,I,j),zn(h,g+4*x,x,1,8,F,I,j)}function co(r,s,h,g,x,F,I,j){zn(r,s+4,1,x,8,F,I,j),zn(h,g+4,1,x,8,F,I,j)}function ji(){this.ba=new Tn,this.ec=[],this.cc=[],this.Mc=[],this.Dc=this.Nc=this.dc=this.fc=0,this.Oa=new Ie,this.memory=0,this.Ib="OutputFunc",this.Jb="OutputAlphaFunc",this.Nd="OutputRowFunc"}function ha(){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 da(){this.nc=this.Ea=this.b=this.hc=0,this.K=[],this.w=0}function fo(){this.ua=0,this.Wa=new X,this.vb=new X,this.md=this.xc=this.wc=0,this.vc=[],this.Wb=0,this.Ya=new B,this.yc=new A}function Ls(){this.xb=this.a=0,this.l=new _i,this.ca=new Tn,this.V=[],this.Ba=0,this.Ta=[],this.Ua=0,this.m=new S,this.Pb=0,this.wd=new S,this.Ma=this.$=this.C=this.i=this.c=this.xd=0,this.s=new fo,this.ab=0,this.gc=l(4,da),this.Oc=0}function Ei(){this.Lc=this.Z=this.$a=this.i=this.c=0,this.l=new _i,this.ic=0,this.ca=[],this.tb=0,this.qd=null,this.rd=0}function ai(r,s,h,g,x,F,I){for(r=r==null?0:r[s+0],s=0;s<I;++s)x[F+s]=r+h[g+s]&255,r=x[F+s]}function pa(r,s,h,g,x,F,I){var j;if(r==null)ai(null,null,h,g,x,F,I);else for(j=0;j<I;++j)x[F+j]=r[s+j]+h[g+j]&255}function Ir(r,s,h,g,x,F,I){if(r==null)ai(null,null,h,g,x,F,I);else{var j,T=r[s+0],q=T,nt=T;for(j=0;j<I;++j)q=nt+(T=r[s+j])-q,nt=h[g+j]+(-256&q?0>q?0:255:q)&255,q=T,x[F+j]=nt}}function ga(r,s,h,g){var x=s.width,F=s.o;if(t(r!=null&&s!=null),0>h||0>=g||h+g>F)return null;if(!r.Cc){if(r.ga==null){var I;if(r.ga=new Ei,(I=r.ga==null)||(I=s.width*s.o,t(r.Gb.length==0),r.Gb=a(I),r.Uc=0,r.Gb==null?I=0:(r.mb=r.Gb,r.nb=r.Uc,r.rc=null,I=1),I=!I),!I){I=r.ga;var j=r.Fa,T=r.P,q=r.qc,nt=r.mb,ct=r.nb,ft=T+1,at=q-1,St=I.l;if(t(j!=null&&nt!=null&&s!=null),Br[0]=null,Br[1]=ai,Br[2]=pa,Br[3]=Ir,I.ca=nt,I.tb=ct,I.c=s.width,I.i=s.height,t(0<I.c&&0<I.i),1>=q)s=0;else if(I.$a=j[T+0]>>0&3,I.Z=j[T+0]>>2&3,I.Lc=j[T+0]>>4&3,T=j[T+0]>>6&3,0>I.$a||1<I.$a||4<=I.Z||1<I.Lc||T)s=0;else if(St.put=nr,St.ac=Qe,St.bc=rr,St.ma=I,St.width=s.width,St.height=s.height,St.Da=s.Da,St.v=s.v,St.va=s.va,St.j=s.j,St.o=s.o,I.$a)t:{t(I.$a==1),s=Pn();e:for(;;){if(s==null){s=0;break t}if(t(I!=null),I.mc=s,s.c=I.c,s.i=I.i,s.l=I.l,s.l.ma=I,s.l.width=I.c,s.l.height=I.i,s.a=0,Y(s.m,j,ft,at),!or(I.c,I.i,1,s,null)||(s.ab==1&&s.gc[0].hc==3&&gr(s.s)?(I.ic=1,j=s.c*s.i,s.Ta=null,s.Ua=0,s.V=a(j),s.Ba=0,s.V==null?(s.a=1,s=0):s=1):(I.ic=0,s=ei(s,I.c)),!s))break e;s=1;break t}I.mc=null,s=0}else s=at>=I.c*I.i;I=!s}if(I)return null;r.ga.Lc!=1?r.Ga=0:g=F-h}t(r.ga!=null),t(h+g<=F);t:{if(s=(j=r.ga).c,F=j.l.o,j.$a==0){if(ft=r.rc,at=r.Vc,St=r.Fa,T=r.P+1+h*s,q=r.mb,nt=r.nb+h*s,t(T<=r.P+r.qc),j.Z!=0)for(t(Br[j.Z]!=null),I=0;I<g;++I)Br[j.Z](ft,at,St,T,q,nt,s),ft=q,at=nt,nt+=s,T+=s;else for(I=0;I<g;++I)i(q,nt,St,T,s),ft=q,at=nt,nt+=s,T+=s;r.rc=ft,r.Vc=at}else{if(t(j.mc!=null),s=h+g,t((I=j.mc)!=null),t(s<=I.i),I.C>=s)s=1;else if(j.ic||lt(),j.ic){j=I.V,ft=I.Ba,at=I.c;var pt=I.i,rt=(St=1,T=I.$/at,q=I.$%at,nt=I.m,ct=I.s,I.$),it=at*pt,wt=at*s,Lt=ct.wc,At=rt<wt?qe(ct,q,T):null;t(rt<=it),t(s<=pt),t(gr(ct));e:for(;;){for(;!nt.h&&rt<wt;){if(q&Lt||(At=qe(ct,q,T)),t(At!=null),Z(nt),256>(pt=fn(At.G[0],At.H[0],nt)))j[ft+rt]=pt,++rt,++q>=at&&(q=0,++T<=s&&!(T%16)&&Bn(I,T));else{if(!(280>pt)){St=0;break e}pt=Rn(pt-256,nt);var Dt,Ct=fn(At.G[4],At.H[4],nt);if(Z(nt),!(rt>=(Ct=ir(at,Ct=Rn(Ct,nt)))&&it-rt>=pt)){St=0;break e}for(Dt=0;Dt<pt;++Dt)j[ft+rt+Dt]=j[ft+rt+Dt-Ct];for(rt+=pt,q+=pt;q>=at;)q-=at,++T<=s&&!(T%16)&&Bn(I,T);rt<wt&&q&Lt&&(At=qe(ct,q,T))}t(nt.h==M(nt))}Bn(I,T>s?s:T);break e}!St||nt.h&&rt<it?(St=0,I.a=nt.h?5:3):I.$=rt,s=St}else s=Mn(I,I.V,I.Ba,I.c,I.i,s,Ai);if(!s){g=0;break t}}h+g>=F&&(r.Cc=1),g=1}if(!g)return null;if(r.Cc&&((g=r.ga)!=null&&(g.mc=null),r.ga=null,0<r.Ga))return alert("todo:WebPDequantizeLevels"),null}return r.nb+h*x}function u(r,s,h,g,x,F){for(;0<x--;){var I,j=r,T=s+(h?1:0),q=r,nt=s+(h?0:3);for(I=0;I<g;++I){var ct=q[nt+4*I];ct!=255&&(ct*=32897,j[T+4*I+0]=j[T+4*I+0]*ct>>23,j[T+4*I+1]=j[T+4*I+1]*ct>>23,j[T+4*I+2]=j[T+4*I+2]*ct>>23)}s+=F}}function N(r,s,h,g,x){for(;0<g--;){var F;for(F=0;F<h;++F){var I=r[s+2*F+0],j=15&(q=r[s+2*F+1]),T=4369*j,q=(240&q|q>>4)*T>>16;r[s+2*F+0]=(240&I|I>>4)*T>>16&240|(15&I|I<<4)*T>>16>>4&15,r[s+2*F+1]=240&q|j}s+=x}}function V(r,s,h,g,x,F,I,j){var T,q,nt=255;for(q=0;q<x;++q){for(T=0;T<g;++T){var ct=r[s+T];F[I+4*T]=ct,nt&=ct}s+=h,I+=j}return nt!=255}function tt(r,s,h,g,x){var F;for(F=0;F<x;++F)h[g+F]=r[s+F]>>8}function lt(){Rr=u,Hi=N,go=V,Vl=tt}function vt(r,s,h){O[r]=function(g,x,F,I,j,T,q,nt,ct,ft,at,St,pt,rt,it,wt,Lt){var At,Dt=Lt-1>>1,Ct=j[T+0]|q[nt+0]<<16,Ht=ct[ft+0]|at[St+0]<<16;t(g!=null);var Ot=3*Ct+Ht+131074>>2;for(s(g[x+0],255&Ot,Ot>>16,pt,rt),F!=null&&(Ot=3*Ht+Ct+131074>>2,s(F[I+0],255&Ot,Ot>>16,it,wt)),At=1;At<=Dt;++At){var de=j[T+At]|q[nt+At]<<16,me=ct[ft+At]|at[St+At]<<16,fe=Ct+de+Ht+me+524296,se=fe+2*(de+Ht)>>3;Ot=se+Ct>>1,Ct=(fe=fe+2*(Ct+me)>>3)+de>>1,s(g[x+2*At-1],255&Ot,Ot>>16,pt,rt+(2*At-1)*h),s(g[x+2*At-0],255&Ct,Ct>>16,pt,rt+(2*At-0)*h),F!=null&&(Ot=fe+Ht>>1,Ct=se+me>>1,s(F[I+2*At-1],255&Ot,Ot>>16,it,wt+(2*At-1)*h),s(F[I+2*At+0],255&Ct,Ct>>16,it,wt+(2*At+0)*h)),Ct=de,Ht=me}1&Lt||(Ot=3*Ct+Ht+131074>>2,s(g[x+Lt-1],255&Ot,Ot>>16,pt,rt+(Lt-1)*h),F!=null&&(Ot=3*Ht+Ct+131074>>2,s(F[I+Lt-1],255&Ot,Ot>>16,it,wt+(Lt-1)*h)))}}function Pt(){In[vo]=uf,In[yo]=nu,In[$l]=cf,In[bo]=ru,In[wo]=iu,In[Cs]=au,In[Ql]=ff,In[Fs]=nu,In[Is]=ru,In[Ao]=iu,In[Os]=au}function Rt(r){return r&~hf?0>r?0:255:r>>ou}function Ut(r,s){return Rt((19077*r>>8)+(26149*s>>8)-14234)}function ee(r,s,h){return Rt((19077*r>>8)-(6419*s>>8)-(13320*h>>8)+8708)}function ie(r,s){return Rt((19077*r>>8)+(33050*s>>8)-17685)}function le(r,s,h,g,x){g[x+0]=Ut(r,h),g[x+1]=ee(r,s,h),g[x+2]=ie(r,s)}function Ce(r,s,h,g,x){g[x+0]=ie(r,s),g[x+1]=ee(r,s,h),g[x+2]=Ut(r,h)}function Oe(r,s,h,g,x){var F=ee(r,s,h);s=F<<3&224|ie(r,s)>>3,g[x+0]=248&Ut(r,h)|F>>5,g[x+1]=s}function ze(r,s,h,g,x){var F=240&ie(r,s)|15;g[x+0]=240&Ut(r,h)|ee(r,s,h)>>4,g[x+1]=F}function nn(r,s,h,g,x){g[x+0]=255,le(r,s,h,g,x+1)}function Ye(r,s,h,g,x){Ce(r,s,h,g,x),g[x+3]=255}function Un(r,s,h,g,x){le(r,s,h,g,x),g[x+3]=255}function An(r,s){return 0>r?0:r>s?s:r}function yr(r,s,h){O[r]=function(g,x,F,I,j,T,q,nt,ct){for(var ft=nt+(-2&ct)*h;nt!=ft;)s(g[x+0],F[I+0],j[T+0],q,nt),s(g[x+1],F[I+0],j[T+0],q,nt+h),x+=2,++I,++T,nt+=2*h;1&ct&&s(g[x+0],F[I+0],j[T+0],q,nt)}}function ho(r,s,h){return h==0?r==0?s==0?6:5:s==0?4:0:h}function ma(r,s,h,g,x){switch(r>>>30){case 3:zi(s,h,g,x,0);break;case 2:xa(s,h,g,x);break;case 1:Gn(s,h,g,x)}}function va(r,s){var h,g,x=s.M,F=s.Nb,I=r.oc,j=r.pc+40,T=r.oc,q=r.pc+584,nt=r.oc,ct=r.pc+600;for(h=0;16>h;++h)I[j+32*h-1]=129;for(h=0;8>h;++h)T[q+32*h-1]=129,nt[ct+32*h-1]=129;for(0<x?I[j-1-32]=T[q-1-32]=nt[ct-1-32]=129:(o(I,j-32-1,127,21),o(T,q-32-1,127,9),o(nt,ct-32-1,127,9)),g=0;g<r.za;++g){var ft=s.ya[s.aa+g];if(0<g){for(h=-1;16>h;++h)i(I,j+32*h-4,I,j+32*h+12,4);for(h=-1;8>h;++h)i(T,q+32*h-4,T,q+32*h+4,4),i(nt,ct+32*h-4,nt,ct+32*h+4,4)}var at=r.Gd,St=r.Hd+g,pt=ft.ad,rt=ft.Hc;if(0<x&&(i(I,j-32,at[St].y,0,16),i(T,q-32,at[St].f,0,8),i(nt,ct-32,at[St].ea,0,8)),ft.Za){var it=I,wt=j-32+16;for(0<x&&(g>=r.za-1?o(it,wt,at[St].y[15],4):i(it,wt,at[St+1].y,0,4)),h=0;4>h;h++)it[wt+128+h]=it[wt+256+h]=it[wt+384+h]=it[wt+0+h];for(h=0;16>h;++h,rt<<=2)it=I,wt=j+lu[h],Jn[ft.Ob[h]](it,wt),ma(rt,pt,16*+h,it,wt)}else if(it=ho(g,x,ft.Ob[0]),Dr[it](I,j),rt!=0)for(h=0;16>h;++h,rt<<=2)ma(rt,pt,16*+h,I,j+lu[h]);for(h=ft.Gc,it=ho(g,x,ft.Dd),xr[it](T,q),xr[it](nt,ct),rt=pt,it=T,wt=q,255&(ft=h>>0)&&(170&ft?Er(rt,256,it,wt):wr(rt,256,it,wt)),ft=nt,rt=ct,255&(h>>=8)&&(170&h?Er(pt,320,ft,rt):wr(pt,320,ft,rt)),x<r.Ub-1&&(i(at[St].y,0,I,j+480,16),i(at[St].f,0,T,q+224,8),i(at[St].ea,0,nt,ct+224,8)),h=8*F*r.B,at=r.sa,St=r.ta+16*g+16*F*r.R,pt=r.qa,ft=r.ra+8*g+h,rt=r.Ha,it=r.Ia+8*g+h,h=0;16>h;++h)i(at,St+h*r.R,I,j+32*h,16);for(h=0;8>h;++h)i(pt,ft+h*r.B,T,q+32*h,8),i(rt,it+h*r.B,nt,ct+32*h,8)}}function Ti(r,s,h,g,x,F,I,j,T){var q=[0],nt=[0],ct=0,ft=T!=null?T.kd:0,at=T!=null?T:new ha;if(r==null||12>h)return 7;at.data=r,at.w=s,at.ha=h,s=[s],h=[h],at.gb=[at.gb];t:{var St=s,pt=h,rt=at.gb;if(t(r!=null),t(pt!=null),t(rt!=null),rt[0]=0,12<=pt[0]&&!n(r,St[0],"RIFF")){if(n(r,St[0]+8,"WEBP")){rt=3;break t}var it=Tt(r,St[0]+4);if(12>it||4294967286<it){rt=3;break t}if(ft&&it>pt[0]-8){rt=7;break t}rt[0]=it,St[0]+=12,pt[0]-=12}rt=0}if(rt!=0)return rt;for(it=0<at.gb[0],h=h[0];;){t:{var wt=r;pt=s,rt=h;var Lt=q,At=nt,Dt=St=[0];if((Ot=ct=[ct])[0]=0,8>rt[0])rt=7;else{if(!n(wt,pt[0],"VP8X")){if(Tt(wt,pt[0]+4)!=10){rt=3;break t}if(18>rt[0]){rt=7;break t}var Ct=Tt(wt,pt[0]+8),Ht=1+It(wt,pt[0]+12);if(2147483648<=Ht*(wt=1+It(wt,pt[0]+15))){rt=3;break t}Dt!=null&&(Dt[0]=Ct),Lt!=null&&(Lt[0]=Ht),At!=null&&(At[0]=wt),pt[0]+=18,rt[0]-=18,Ot[0]=1}rt=0}}if(ct=ct[0],St=St[0],rt!=0)return rt;if(pt=!!(2&St),!it&&ct)return 3;if(F!=null&&(F[0]=!!(16&St)),I!=null&&(I[0]=pt),j!=null&&(j[0]=0),I=q[0],St=nt[0],ct&&pt&&T==null){rt=0;break}if(4>h){rt=7;break}if(it&&ct||!it&&!ct&&!n(r,s[0],"ALPH")){h=[h],at.na=[at.na],at.P=[at.P],at.Sa=[at.Sa];t:{Ct=r,rt=s,it=h;var Ot=at.gb;Lt=at.na,At=at.P,Dt=at.Sa,Ht=22,t(Ct!=null),t(it!=null),wt=rt[0];var de=it[0];for(t(Lt!=null),t(Dt!=null),Lt[0]=null,At[0]=null,Dt[0]=0;;){if(rt[0]=wt,it[0]=de,8>de){rt=7;break t}var me=Tt(Ct,wt+4);if(4294967286<me){rt=3;break t}var fe=8+me+1&-2;if(Ht+=fe,0<Ot&&Ht>Ot){rt=3;break t}if(!n(Ct,wt,"VP8 ")||!n(Ct,wt,"VP8L")){rt=0;break t}if(de[0]<fe){rt=7;break t}n(Ct,wt,"ALPH")||(Lt[0]=Ct,At[0]=wt+8,Dt[0]=me),wt+=fe,de-=fe}}if(h=h[0],at.na=at.na[0],at.P=at.P[0],at.Sa=at.Sa[0],rt!=0)break}h=[h],at.Ja=[at.Ja],at.xa=[at.xa];t:if(Ot=r,rt=s,it=h,Lt=at.gb[0],At=at.Ja,Dt=at.xa,Ct=rt[0],wt=!n(Ot,Ct,"VP8 "),Ht=!n(Ot,Ct,"VP8L"),t(Ot!=null),t(it!=null),t(At!=null),t(Dt!=null),8>it[0])rt=7;else{if(wt||Ht){if(Ot=Tt(Ot,Ct+4),12<=Lt&&Ot>Lt-12){rt=3;break t}if(ft&&Ot>it[0]-8){rt=7;break t}At[0]=Ot,rt[0]+=8,it[0]-=8,Dt[0]=Ht}else Dt[0]=5<=it[0]&&Ot[Ct+0]==47&&!(Ot[Ct+4]>>5),At[0]=it[0];rt=0}if(h=h[0],at.Ja=at.Ja[0],at.xa=at.xa[0],s=s[0],rt!=0)break;if(4294967286<at.Ja)return 3;if(j==null||pt||(j[0]=at.xa?2:1),I=[I],St=[St],at.xa){if(5>h){rt=7;break}j=I,ft=St,pt=F,r==null||5>h?r=0:5<=h&&r[s+0]==47&&!(r[s+4]>>5)?(it=[0],Ot=[0],Lt=[0],Y(At=new S,r,s,h),Gt(At,it,Ot,Lt)?(j!=null&&(j[0]=it[0]),ft!=null&&(ft[0]=Ot[0]),pt!=null&&(pt[0]=Lt[0]),r=1):r=0):r=0}else{if(10>h){rt=7;break}j=St,r==null||10>h||!Xa(r,s+3,h-3)?r=0:(ft=r[s+0]|r[s+1]<<8|r[s+2]<<16,pt=16383&(r[s+7]<<8|r[s+6]),r=16383&(r[s+9]<<8|r[s+8]),1&ft||3<(ft>>1&7)||!(ft>>4&1)||ft>>5>=at.Ja||!pt||!r?r=0:(I&&(I[0]=pt),j&&(j[0]=r),r=1))}if(!r||(I=I[0],St=St[0],ct&&(q[0]!=I||nt[0]!=St)))return 3;T!=null&&(T[0]=at,T.offset=s-T.w,t(4294967286>s-T.w),t(T.offset==T.ha-h));break}return rt==0||rt==7&&ct&&T==null?(F!=null&&(F[0]|=at.na!=null&&0<at.na.length),g!=null&&(g[0]=I),x!=null&&(x[0]=St),0):rt}function ya(r,s,h){var g=s.width,x=s.height,F=0,I=0,j=g,T=x;if(s.Da=r!=null&&0<r.Da,s.Da&&(j=r.cd,T=r.bd,F=r.v,I=r.j,11>h||(F&=-2,I&=-2),0>F||0>I||0>=j||0>=T||F+j>g||I+T>x))return 0;if(s.v=F,s.j=I,s.va=F+j,s.o=I+T,s.U=j,s.T=T,s.da=r!=null&&0<r.da,s.da){if(!Xt(j,T,h=[r.ib],F=[r.hb]))return 0;s.ib=h[0],s.hb=F[0]}return s.ob=r!=null&&r.ob,s.Kb=r==null||!r.Sd,s.da&&(s.ob=s.ib<3*g/4&&s.hb<3*x/4,s.Kb=0),1}function ba(r){if(r==null)return 2;if(11>r.S){var s=r.f.RGBA;s.fb+=(r.height-1)*s.A,s.A=-s.A}else s=r.f.kb,r=r.height,s.O+=(r-1)*s.fa,s.fa=-s.fa,s.N+=(r-1>>1)*s.Ab,s.Ab=-s.Ab,s.W+=(r-1>>1)*s.Db,s.Db=-s.Db,s.F!=null&&(s.J+=(r-1)*s.lb,s.lb=-s.lb);return 0}function Ri(r,s,h,g){if(g==null||0>=r||0>=s)return 2;if(h!=null){if(h.Da){var x=h.cd,F=h.bd,I=-2&h.v,j=-2&h.j;if(0>I||0>j||0>=x||0>=F||I+x>r||j+F>s)return 2;r=x,s=F}if(h.da){if(!Xt(r,s,x=[h.ib],F=[h.hb]))return 2;r=x[0],s=F[0]}}g.width=r,g.height=s;t:{var T=g.width,q=g.height;if(r=g.S,0>=T||0>=q||!(r>=vo&&13>r))r=2;else{if(0>=g.Rd&&g.sd==null){I=F=x=s=0;var nt=(j=T*uu[r])*q;if(11>r||(F=(q+1)/2*(s=(T+1)/2),r==12&&(I=(x=T)*q)),(q=a(nt+2*F+I))==null){r=1;break t}g.sd=q,11>r?((T=g.f.RGBA).eb=q,T.fb=0,T.A=j,T.size=nt):((T=g.f.kb).y=q,T.O=0,T.fa=j,T.Fd=nt,T.f=q,T.N=0+nt,T.Ab=s,T.Cd=F,T.ea=q,T.W=0+nt+F,T.Db=s,T.Ed=F,r==12&&(T.F=q,T.J=0+nt+2*F),T.Tc=I,T.lb=x)}if(s=1,x=g.S,F=g.width,I=g.height,x>=vo&&13>x)if(11>x)r=g.f.RGBA,s&=(j=Math.abs(r.A))*(I-1)+F<=r.size,s&=j>=F*uu[x],s&=r.eb!=null;else{r=g.f.kb,j=(F+1)/2,nt=(I+1)/2,T=Math.abs(r.fa),q=Math.abs(r.Ab);var ct=Math.abs(r.Db),ft=Math.abs(r.lb),at=ft*(I-1)+F;s&=T*(I-1)+F<=r.Fd,s&=q*(nt-1)+j<=r.Cd,s=(s&=ct*(nt-1)+j<=r.Ed)&T>=F&q>=j&ct>=j,s&=r.y!=null,s&=r.f!=null,s&=r.ea!=null,x==12&&(s&=ft>=F,s&=at<=r.Tc,s&=r.F!=null)}else s=0;r=s?0:2}}return r!=0||h!=null&&h.fd&&(r=ba(g)),r}var dn=64,Di=[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],Bi=24,Mi=32,wa=8,pn=[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];bt("Predictor0","PredictorAdd0"),O.Predictor0=function(){return 4278190080},O.Predictor1=function(r){return r},O.Predictor2=function(r,s,h){return s[h+0]},O.Predictor3=function(r,s,h){return s[h+1]},O.Predictor4=function(r,s,h){return s[h-1]},O.Predictor5=function(r,s,h){return Nt(Nt(r,s[h+1]),s[h+0])},O.Predictor6=function(r,s,h){return Nt(r,s[h-1])},O.Predictor7=function(r,s,h){return Nt(r,s[h+0])},O.Predictor8=function(r,s,h){return Nt(s[h-1],s[h+0])},O.Predictor9=function(r,s,h){return Nt(s[h+0],s[h+1])},O.Predictor10=function(r,s,h){return Nt(Nt(r,s[h-1]),Nt(s[h+0],s[h+1]))},O.Predictor11=function(r,s,h){var g=s[h+0];return 0>=$t(g>>24&255,r>>24&255,(s=s[h-1])>>24&255)+$t(g>>16&255,r>>16&255,s>>16&255)+$t(g>>8&255,r>>8&255,s>>8&255)+$t(255&g,255&r,255&s)?g:r},O.Predictor12=function(r,s,h){var g=s[h+0];return(zt((r>>24&255)+(g>>24&255)-((s=s[h-1])>>24&255))<<24|zt((r>>16&255)+(g>>16&255)-(s>>16&255))<<16|zt((r>>8&255)+(g>>8&255)-(s>>8&255))<<8|zt((255&r)+(255&g)-(255&s)))>>>0},O.Predictor13=function(r,s,h){var g=s[h-1];return(Kt((r=Nt(r,s[h+0]))>>24&255,g>>24&255)<<24|Kt(r>>16&255,g>>16&255)<<16|Kt(r>>8&255,g>>8&255)<<8|Kt(r>>0&255,g>>0&255))>>>0};var Ns=O.PredictorAdd0;O.PredictorAdd1=ae,bt("Predictor2","PredictorAdd2"),bt("Predictor3","PredictorAdd3"),bt("Predictor4","PredictorAdd4"),bt("Predictor5","PredictorAdd5"),bt("Predictor6","PredictorAdd6"),bt("Predictor7","PredictorAdd7"),bt("Predictor8","PredictorAdd8"),bt("Predictor9","PredictorAdd9"),bt("Predictor10","PredictorAdd10"),bt("Predictor11","PredictorAdd11"),bt("Predictor12","PredictorAdd12"),bt("Predictor13","PredictorAdd13");var Aa=O.PredictorAdd2;oe("ColorIndexInverseTransform","MapARGB","32b",function(r){return r>>8&255},function(r){return r}),oe("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(r){return r},function(r){return r>>8&255});var po,Hn=O.ColorIndexInverseTransform,Sa=O.MapARGB,_s=O.VP8LColorIndexInverseTransformAlpha,Ps=O.MapAlpha,Or=O.VP8LPredictorsAdd=[];Or.length=16,(O.VP8LPredictors=[]).length=16,(O.VP8LPredictorsAdd_C=[]).length=16,(O.VP8LPredictors_C=[]).length=16;var kn,Wn,jr,lr,br,qi,Vn,zi,xa,Er,Gn,wr,oi,Ui,si,Tr,La,Cn,Ar,Ne,_e,Re,Ge,Sr,Rr,Hi,go,
vendor: 4,726 bytes, line 120
120Vl,Gl=a(511),Jl=a(2041),Yl=a(225),Kl=a(767),Xl=0,ks=Jl,mo=Yl,Sn=Kl,Fn=Gl,vo=0,yo=1,$l=2,bo=3,wo=4,Cs=5,Ql=6,Fs=7,Is=8,Ao=9,Os=10,Yc=[2,3,7],Kc=[3,3,11],Zl=[280,256,256,256,40],Xc=[0,1,1,1,0],$c=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],Qc=[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],Zc=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],tf=8,js=[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],Es=[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],Na=null,ef=[[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]],nf=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],tu=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],rf=[[[[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
1205,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]]]],af=[[[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,
1201,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]]],of=[[[[255,255,255,255,255,255,255,255,255,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: 4,287 bytes, line 120
1205,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]]]],sf=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],Dr=[],Jn=[],xr=[],lf=1,eu=2,Br=[],In=[];vt("UpsampleRgbLinePair",le,3),vt("UpsampleBgrLinePair",Ce,3),vt("UpsampleRgbaLinePair",Un,4),vt("UpsampleBgraLinePair",Ye,4),vt("UpsampleArgbLinePair",nn,4),vt("UpsampleRgba4444LinePair",ze,2),vt("UpsampleRgb565LinePair",Oe,2);var uf=O.UpsampleRgbLinePair,cf=O.UpsampleBgrLinePair,nu=O.UpsampleRgbaLinePair,ru=O.UpsampleBgraLinePair,iu=O.UpsampleArgbLinePair,au=O.UpsampleRgba4444LinePair,ff=O.UpsampleRgb565LinePair,So=16,xo=1<<So-1,_a=-227,Ts=482,ou=6,hf=(256<<ou)-1,su=0,df=a(256),pf=a(256),gf=a(256),mf=a(256),vf=a(Ts-_a),yf=a(Ts-_a);yr("YuvToRgbRow",le,3),yr("YuvToBgrRow",Ce,3),yr("YuvToRgbaRow",Un,4),yr("YuvToBgraRow",Ye,4),yr("YuvToArgbRow",nn,4),yr("YuvToRgba4444Row",ze,2),yr("YuvToRgb565Row",Oe,2);var lu=[0,4,8,12,128,132,136,140,256,260,264,268,384,388,392,396],Lo=[0,2,8],bf=[8,7,6,4,4,2,2,2,1,1,1,1],wf=1;this.WebPDecodeRGBA=function(r,s,h,g,x){var F=yo,I=new ji,j=new Tn;I.ba=j,j.S=F,j.width=[j.width],j.height=[j.height];var T=j.width,q=j.height,nt=new pr;if(nt==null||r==null)var ct=2;else t(nt!=null),ct=Ti(r,s,h,nt.width,nt.height,nt.Pd,nt.Qd,nt.format,null);if(ct!=0?T=0:(T!=null&&(T[0]=nt.width[0]),q!=null&&(q[0]=nt.height[0]),T=1),T){j.width=j.width[0],j.height=j.height[0],g!=null&&(g[0]=j.width),x!=null&&(x[0]=j.height);t:{if(g=new _i,(x=new ha).data=r,x.w=s,x.ha=h,x.kd=1,s=[0],t(x!=null),((r=Ti(x.data,x.w,x.ha,null,null,null,s,null,x))==0||r==7)&&s[0]&&(r=4),(s=r)==0){if(t(I!=null),g.data=x.data,g.w=x.w+x.offset,g.ha=x.ha-x.offset,g.put=nr,g.ac=Qe,g.bc=rr,g.ma=I,x.xa){if((r=Pn())==null){I=1;break t}if(function(ft,at){var St=[0],pt=[0],rt=[0];e:for(;;){if(ft==null)return 0;if(at==null)return ft.a=2,0;if(ft.l=at,ft.a=0,Y(ft.m,at.data,at.w,at.ha),!Gt(ft.m,St,pt,rt)){ft.a=3;break e}if(ft.xb=eu,at.width=St[0],at.height=pt[0],!or(St[0],pt[0],1,ft,null))break e;return 1}return t(ft.a!=0),0}(r,g)){if(g=(s=Ri(g.width,g.height,I.Oa,I.ba))==0){e:{g=r;n:for(;;){if(g==null){g=0;break e}if(t(g.s.yc!=null),t(g.s.Ya!=null),t(0<g.s.Wb),t((h=g.l)!=null),t((x=h.ma)!=null),g.xb!=0){if(g.ca=x.ba,g.tb=x.tb,t(g.ca!=null),!ya(x.Oa,h,bo)){g.a=2;break n}if(!ei(g,h.width)||h.da)break n;if((h.da||pe(g.ca.S))&<(),11>g.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),g.ca.f.kb.F!=null&<()),g.Pb&&0<g.s.ua&&g.s.vb.X==null&&!Vt(g.s.vb,g.s.Wa.Xa)){g.a=1;break n}g.xb=0}if(!Mn(g,g.V,g.Ba,g.c,g.i,h.o,wi))break n;x.Dc=g.Ma,g=1;break e}t(g.a!=0),g=0}g=!g}g&&(s=r.a)}else s=r.a}else{if((r=new os)==null){I=1;break t}if(r.Fa=x.na,r.P=x.P,r.qc=x.Sa,$a(r,g)){if((s=Ri(g.width,g.height,I.Oa,I.ba))==0){if(r.Aa=0,h=I.Oa,t((x=r)!=null),h!=null){if(0<(T=0>(T=h.Md)?0:100<T?255:255*T/100)){for(q=nt=0;4>q;++q)12>(ct=x.pb[q]).lc&&(ct.ia=T*bf[0>ct.lc?0:ct.lc]>>3),nt|=ct.ia;nt&&(alert("todo:VP8InitRandom"),x.ia=1)}x.Ga=h.Id,100<x.Ga?x.Ga=100:0>x.Ga&&(x.Ga=0)}ss(r,g)||(s=r.a)}}else s=r.a}s==0&&I.Oa!=null&&I.Oa.fd&&(s=ba(I.ba))}I=s}F=I!=0?null:11>F?j.f.RGBA.eb:j.f.kb.y}else F=null;return F};var uu=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function p(O,$){for(var Q="",P=0;P<4;P++)Q+=String.fromCharCode(O[$++]);return Q}function m(O,$){return(O[$+0]<<0|O[$+1]<<8|O[$+2]<<16)>>>0}function v(O,$){return(O[$+0]<<0|O[$+1]<<8|O[$+2]<<16|O[$+3]<<24)>>>0}new f;var w=[0],d=[0],y=[],_=new f,k=e,b=function(O,$){var Q={},P=0,A=!1,z=0,B=0;if(Q.frames=[],!function(D,M,G,Z){for(var st=0;st<Z;st++)if(D[M+st]!=G.charCodeAt(st))return!0;return!1}(O,$,"RIFF",4)){var ot,W;for(v(O,$+=4),$+=8;$<O.length;
120){var H=p(O,$),Y=v(O,$+=4);$+=4;var K=Y+(1&Y);switch(H){case"VP8 ":case"VP8L":Q.frames[P]===void 0&&(Q.frames[P]={}),(S=Q.frames[P]).src_off=A?B:$-8,S.src_size=z+Y+8,P++,A&&(A=!1,z=0,B=0);break;case"VP8X":(S=Q.header={}).feature_flags=O[$];var et=$+4;S.canvas_width=1+m(O,et),et+=3,S.canvas_height=1+m(O,et),et+=3;break;case"ALPH":A=!0,z=K+8,B=$-8;break;case"ANIM":(S=Q.header).bgcolor=v(O,$),et=$+4,S.loop_count=(ot=O)[(W=et)+0]<<0|ot[W+1]<<8,et+=2;break;case"ANMF":var dt,S;(S=Q.frames[P]={}).offset_x=2*m(O,$),$+=3,S.offset_y=2*m(O,$),$+=3,S.width=1+m(O,$),$+=3,S.height=1+m(O,$),$+=3,S.duration=m(O,$),$+=3,dt=O[$++],S.dispose=1&dt,S.blend=dt>>1&1}H!="ANMF"&&($+=K)}return Q}}(k,0);b.response=k,b.rgbaoutput=!0,b.dataurl=!1;var L=b.header?b.header:null,C=b.frames?b.frames:null;if(L){L.loop_counter=L.loop_count,w=[L.canvas_height],d=[L.canvas_width];for(var R=0;R<C.length&&C[R].blend!=0;R++);}var U=C[0],J=_.WebPDecodeRGBA(k,U.src_off,U.src_size,d,w);U.rgba=J,U.imgwidth=d[0],U.imgheight=w[0];for(var E=0;E<d[0]*w[0]*4;E++)y[E]=J[E];return this.width=d,this.height=w,this.data=y,this}(function(e){var t=function(){return typeof Il=="function"},n=function(w,d,y,_){var k=4,b=l;switch(_){case e.image_compression.FAST:k=1,b=a;break;case e.image_compression.MEDIUM:k=6,b=c;break;case e.image_compression.SLOW:k=9,b=f}w=i(w,d,y,b);var L=Il(w,{level:k});return e.__addimage__.arrayBufferToBinaryString(L)},i=function(w,d,y,_){for(var k,b,L,C=w.length/d,R=new Uint8Array(w.length+C),U=m(),J=0;J<C;J+=1){if(L=J*d,k=w.subarray(L,L+d),_)R.set(_(k,y,b),L+J);else{for(var E,O=U.length,$=[];E<O;E+=1)$[E]=U[E](k,y,b);var Q=v($.concat());R.set($[Q],L+J)}b=k}return R},o=function(w){var d=Array.apply([],w);return d.unshift(0),d},a=function(w,d){var y,_=[],k=w.length;_[0]=1;for(var b=0;b<k;b+=1)y=w[b-d]||0,_[b+1]=w[b]-y+256&255;return _},l=function(w,d,y){var _,k=[],b=w.length;k[0]=2;for(var L=0;L<b;L+=1)_=y&&y[L]||0,k[L+1]=w[L]-_+256&255;return k},c=function(w,d,y){var _,k,b=[],L=w.length;b[0]=3;for(var C=0;C<L;C+=1)_=w[C-d]||0,k=y&&y[C]||0,b[C+1]=w[C]+256-(_+k>>>1)&255;return b},f=function(w,d,y){var _,k,b,L,C=[],R=w.length;C[0]=4;for(var U=0;U<R;U+=1)_=w[U-d]||0,k=y&&y[U]||0,b=y&&y[U-d]||0,L=p(_,k,b),C[U+1]=w[U]-L+256&255;return C},p=function(w,d,y){if(w===d&&d===y)return w;var _=Math.abs(d-y),k=Math.abs(w-y),b=Math.abs(w+d-y-y);return _<=k&&_<=b?w:k<=b?d:y},m=function(){return[o,a,l,c,f]},v=function(w){var d=w.map(function(y){return y.reduce(function(_,k){return _+Math.abs(k)},0)});return d.indexOf(Math.min.apply(null,d))};e.processPNG=function(w,d,y,_){var k,b,L,C,R,U,J,E,O,$,Q,P,A,z,B,ot=this.decode.FLATE_DECODE,W="";if(this.__addimage__.isArrayBuffer(w)&&(w=new Uint8Array(w)),this.__addimage__.isArrayBufferView(w)){if(w=(L=new n2(w)).imgData,b=L.bits,k=L.colorSpace,R=L.colors,[4,6].indexOf(L.colorType)!==-1){if(L.bits===8){O=(E=L.pixelBitlength==32?new Uint32Array(L.decodePixels().buffer):L.pixelBitlength==16?new Uint16Array(L.decodePixels().buffer):new Uint8Array(L.decodePixels().buffer)).length,Q=new Uint8Array(O*L.colors),$=new Uint8Array(O);var H,Y=L.pixelBitlength-L.bits;for(z=0,B=0;z<O;z++){for(A=E[z],H=0;H<Y;)Q[B++]=A>>>H&255,H+=L.bits;$[z]=A>>>H&255}}if(L.bits===16){O=(E=new Uint32Array(L.decodePixels().buffer)).length,Q=new Uint8Array(O*(32/L.pixelBitlength)*L.colors),$=new Uint8Array(O*(32/L.pixelBitlength)),P=L.colors>1,z=0,B=0;for(var K=0;z<O;)A=E[z++],Q[B++]=A>>>0&255,P&&(Q[B++]=A>>>16&255,A=E[z++],Q[B++]=A>>>0&255),$[K++]=A>>>16&255;b=8}_!==e.image_compression.NONE&&t()?(w=n(Q,L.width*L.colors,L.colors,_),J=n($,L.width,1,_)):(w=Q,J=$,ot=void 0)}if(L.colorType===3&&(k=this.color_spaces.INDEXED,U=L.palette,L.transparency.indexed)){var et=L.transparency.indexed,dt=0;for(z=0,O=et.length;z<O;++z)dt+=et[z];if((dt/=255)===O-1&&et.indexOf(0)!==-1)C=[et.indexOf(0)];else if(dt!==O){for(E=L.decodePixels(),$=new Uint8Array(E.length),z=0,O=E.length;z<O;z++)$[z]=et[E[z]];J=n($,L.width,1)}}var S=function(D){var M;switch(D){case e.image_compression.FAST:M=11;break;case e.image_compression.MEDIUM:M=13;break;case e.image_compression.SLOW:M=14;break;default:M=12}return M}(_);return ot===this.decode.FLATE_DECODE&&(W="/Predictor "+S+" "),W+="/Colors "+R+" /BitsPerComponent "+b+" /Columns "+L.width,(this.__addimage__.isArrayBuffer(w)||this.__addimage__.isArrayBufferView(w))&&(w=this.__addimage__.arrayBufferToBinaryString(w)),(J&&this.__addimage__.isArrayBuffer(J)||this.__addimage__.isArrayBufferView(J))&&(J=this.__addimage__.arrayBufferToBinaryString(J)),{alias:y,data:w,index:d,filter:ot,decodeParameters:W,transparency:C,palette:U,sMask:J,predictor:S,width:L.width,height:L.height,bitsPerComponent:b,colorSpace:k}}}})(Wt.API),function(e){e.processGIF89A=function(t,n,i,o){var a=new r2(t),l=a.width,c=a.height,f=[];a.decodeAndBlitFrameRGBA(0,f);var p={data:f,width:l,height:c},m=new gl(100).encode(p,100);return e.processJPEG.call(this,m,n,i,o)},e.processGIF87A=e.processGIF89A}(Wt.API),$n.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 e=this.colors===0?1<<this.bitPP:this.colors;this.palette=new Array(e);for(var t=0;t<e;t++){var n=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),o=this.datav.getUint8(this.pos++,!0),a=this.datav.getUint8(this.pos++,!0);this.palette[t]={red:o,green:i,blue:n,quad:a}}}this.height<0&&(this.height*=-1,this.bottom_up=!1)},$n.prototype.parseBGR=function(){this.pos=this.offset;try{var e="bit"+this.bitPP,t=this.width*this.height*4;this.data=new Uint8Array(t),this[e]()}catch(n){Le.log("bit decode error:"+n)}},$n.prototype.bit1=function(){var e,t=Math.ceil(this.width/8),n=t%4;
vendor: 4,880 bytes, line 120
120for(e=this.height-1;e>=0;e--){for(var i=this.bottom_up?e:this.height-1-e,o=0;o<t;o++)for(var a=this.datav.getUint8(this.pos++,!0),l=i*this.width*4+8*o*4,c=0;c<8&&8*o+c<this.width;c++){var f=this.palette[a>>7-c&1];this.data[l+4*c]=f.blue,this.data[l+4*c+1]=f.green,this.data[l+4*c+2]=f.red,this.data[l+4*c+3]=255}n!==0&&(this.pos+=4-n)}},$n.prototype.bit4=function(){for(var e=Math.ceil(this.width/2),t=e%4,n=this.height-1;n>=0;n--){for(var i=this.bottom_up?n:this.height-1-n,o=0;o<e;o++){var a=this.datav.getUint8(this.pos++,!0),l=i*this.width*4+2*o*4,c=a>>4,f=15&a,p=this.palette[c];if(this.data[l]=p.blue,this.data[l+1]=p.green,this.data[l+2]=p.red,this.data[l+3]=255,2*o+1>=this.width)break;p=this.palette[f],this.data[l+4]=p.blue,this.data[l+4+1]=p.green,this.data[l+4+2]=p.red,this.data[l+4+3]=255}t!==0&&(this.pos+=4-t)}},$n.prototype.bit8=function(){for(var e=this.width%4,t=this.height-1;t>=0;t--){for(var n=this.bottom_up?t:this.height-1-t,i=0;i<this.width;i++){var o=this.datav.getUint8(this.pos++,!0),a=n*this.width*4+4*i;if(o<this.palette.length){var l=this.palette[o];this.data[a]=l.red,this.data[a+1]=l.green,this.data[a+2]=l.blue,this.data[a+3]=255}else this.data[a]=255,this.data[a+1]=255,this.data[a+2]=255,this.data[a+3]=255}e!==0&&(this.pos+=4-e)}},$n.prototype.bit15=function(){for(var e=this.width%3,t=parseInt("11111",2),n=this.height-1;n>=0;n--){for(var i=this.bottom_up?n:this.height-1-n,o=0;o<this.width;o++){var a=this.datav.getUint16(this.pos,!0);this.pos+=2;var l=(a&t)/t*255|0,c=(a>>5&t)/t*255|0,f=(a>>10&t)/t*255|0,p=a>>15?255:0,m=i*this.width*4+4*o;this.data[m]=f,this.data[m+1]=c,this.data[m+2]=l,this.data[m+3]=p}this.pos+=e}},$n.prototype.bit16=function(){for(var e=this.width%3,t=parseInt("11111",2),n=parseInt("111111",2),i=this.height-1;i>=0;i--){for(var o=this.bottom_up?i:this.height-1-i,a=0;a<this.width;a++){var l=this.datav.getUint16(this.pos,!0);this.pos+=2;var c=(l&t)/t*255|0,f=(l>>5&n)/n*255|0,p=(l>>11)/t*255|0,m=o*this.width*4+4*a;this.data[m]=p,this.data[m+1]=f,this.data[m+2]=c,this.data[m+3]=255}this.pos+=e}},$n.prototype.bit24=function(){for(var e=this.height-1;e>=0;e--){for(var t=this.bottom_up?e:this.height-1-e,n=0;n<this.width;n++){var i=this.datav.getUint8(this.pos++,!0),o=this.datav.getUint8(this.pos++,!0),a=this.datav.getUint8(this.pos++,!0),l=t*this.width*4+4*n;this.data[l]=a,this.data[l+1]=o,this.data[l+2]=i,this.data[l+3]=255}this.pos+=this.width%4}},$n.prototype.bit32=function(){for(var e=this.height-1;e>=0;e--)for(var t=this.bottom_up?e:this.height-1-e,n=0;n<this.width;n++){var i=this.datav.getUint8(this.pos++,!0),o=this.datav.getUint8(this.pos++,!0),a=this.datav.getUint8(this.pos++,!0),l=this.datav.getUint8(this.pos++,!0),c=t*this.width*4+4*n;this.data[c]=a,this.data[c+1]=o,this.data[c+2]=i,this.data[c+3]=l}},$n.prototype.getData=function(){return this.data},function(e){e.processBMP=function(t,n,i,o){var a=new $n(t,!1),l=a.width,c=a.height,f={data:a.getData(),width:l,height:c},p=new gl(100).encode(f,100);return e.processJPEG.call(this,p,n,i,o)}}(Wt.API),ac.prototype.getData=function(){return this.data},function(e){e.processWEBP=function(t,n,i,o){var a=new ac(t),l=a.width,c=a.height,f={data:a.getData(),width:l,height:c},p=new gl(100).encode(f,100);return e.processJPEG.call(this,p,n,i,o)}}(Wt.API),Wt.API.processRGBA=function(e,t,n){for(var i=e.data,o=i.length,a=new Uint8Array(o/4*3),l=new Uint8Array(o/4),c=0,f=0,p=0;p<o;p+=4){var m=i[p],v=i[p+1],w=i[p+2],d=i[p+3];a[c++]=m,a[c++]=v,a[c++]=w,l[f++]=d}var y=this.__addimage__.arrayBufferToBinaryString(a);return{alpha:this.__addimage__.arrayBufferToBinaryString(l),data:y,index:t,alias:n,colorSpace:"DeviceRGB",bitsPerComponent:8,width:e.width,height:e.height}},Wt.API.setLanguage=function(e){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
120a)","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"}[e]!==void 0&&(this.internal.languageSettings.languageCode=e,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},$i=Wt.API,zo=$i.getCharWidthsArray=function(e,t){var n,i,o=(t=t||{}).font||this.internal.getFont(),a=t.fontSize||this.internal.getFontSize(),l=t.charSpace||this.internal.getCharSpace(),c=t.widths?t.widths:o.metadata.Unicode.widths,f=c.fof?c.fof:1,p=t.kerning?t.kerning:o.metadata.Unicode.kerning,m=p.fof?p.fof:1,v=t.doKerning!==!1,w=0,d=e.length,y=0,_=c[0]||f,k=[];for(n=0;n<d;n++)i=e.charCodeAt(n),typeof o.metadata.widthOfString=="function"?k.push((o.metadata.widthOfGlyph(o.metadata.characterToGlyph(i))+l*(1e3/a)||0)/1e3):(w=v&&ye(p[i])==="object"&&!isNaN(parseInt(p[i][y],10))?p[i][y]/m:0,k.push((c[i]||_)/f+w)),y=i;return k},ec=$i.getStringUnitWidth=function(e,t){var n=(t=t||{}).fontSize||this.internal.getFontSize(),i=t.font||this.internal.getFont(),o=t.charSpace||this.internal.getCharSpace();return $i.processArabic&&(e=$i.processArabic(e)),typeof i.metadata.widthOfString=="function"?i.metadata.widthOfString(e,n,o)/n:zo.apply(this,arguments).reduce(function(a,l){return a+l},0)},nc=function(e,t,n,i){for(var o=[],a=0,l=e.length,c=0;a!==l&&c+t[a]<n;)c+=t[a],a++;o.push(e.slice(0,a));var f=a;for(c=0;a!==l;)c+t[a]>i&&(o.push(e.slice(f,a)),c=0,f=a),c+=t[a],a++;return f!==a&&o.push(e.slice(f,a)),o},rc=function(e,t,n){n||(n={});var i,o,a,l,c,f,p,m=[],v=[m],w=n.textIndent||0,d=0,y=0,_=e.split(" "),k=zo.apply(this,[" ",n])[0];if(f=n.lineIndent===-1?_[0].length+2:n.lineIndent||0){var b=Array(f).join(" "),L=[];_.map(function(R){(R=R.split(/\s*\n/)).length>
vendor: 2,917 bytes, line 120
1201?L=L.concat(R.map(function(U,J){return(J&&U.length?"\n":"")+U})):L.push(R[0])}),_=L,f=ec.apply(this,[b,n])}for(a=0,l=_.length;a<l;a++){var C=0;if(i=_[a],f&&i[0]=="\n"&&(i=i.substr(1),C=1),w+d+(y=(o=zo.apply(this,[i,n])).reduce(function(R,U){return R+U},0))>t||C){if(y>t){for(c=nc.apply(this,[i,o,t-(w+d),t]),m.push(c.shift()),m=[c.pop()];c.length;)v.push([c.shift()]);y=o.slice(i.length-(m[0]?m[0].length:0)).reduce(function(R,U){return R+U},0)}else m=[i];v.push(m),w=y+f,d=k}else m.push(i),w+=d+y,d=k}return p=f?function(R,U){return(U?b:"")+R.join(" ")}:function(R){return R.join(" ")},v.map(p)},$i.splitTextToSize=function(e,t,n){var i,o=(n=n||{}).fontSize||this.internal.getFontSize(),a=(function(m){if(m.widths&&m.kerning)return{widths:m.widths,kerning:m.kerning};var v=this.internal.getFont(m.fontName,m.fontStyle);return v.metadata.Unicode?{widths:v.metadata.Unicode.widths||{0:1},kerning:v.metadata.Unicode.kerning||{}}:{font:v.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}).call(this,n);i=Array.isArray(e)?e:String(e).split(/\r?\n/);var l=1*this.internal.scaleFactor*t/o;a.textIndent=n.textIndent?1*n.textIndent*this.internal.scaleFactor/o:0,a.lineIndent=n.lineIndent;var c,f,p=[];for(c=0,f=i.length;c<f;c++)p=p.concat(rc.apply(this,[i[c],l,a]));return p},function(e){e.__fontmetrics__=e.__fontmetrics__||{};for(var t="klmnopqrstuvwxyz",n={},i={},o=0;o<t.length;o++)n[t[o]]="0123456789abcdef"[o],i["0123456789abcdef"[o]]=t[o];var a=function(v){return"0x"+parseInt(v,10).toString(16)},l=e.__fontmetrics__.compress=function(v){var w,d,y,_,k=["{"];for(var b in v){if(w=v[b],isNaN(parseInt(b,10))?d="'"+b+"'":(b=parseInt(b,10),d=(d=a(b).slice(2)).slice(0,-1)+i[d.slice(-1)]),typeof w=="number")w<0?(y=a(w).slice(3),_="-"):(y=a(w).slice(2),_=""),y=_+y.slice(0,-1)+i[y.slice(-1)];else{if(ye(w)!=="object")throw new Error("Don't know what to do with value type "+ye(w)+".");y=l(w)}k.push(d+y)}return k.push("}"),k.join("")},c=e.__fontmetrics__.uncompress=function(v){if(typeof v!="string")throw new Error("Invalid argument passed to uncompress.");for(var w,d,y,_,k={},b=1,L=k,C=[],R="",U="",J=v.length-1,E=1;E<J;E+=1)(_=v[E])=="'"?w?(y=w.join(""),w=void 0):w=[]:w?w.push(_):_=="{"?(C.push([L,y]),L={},y=void 0):_=="}"?((d=C.pop())[0][d[1]]=L,y=void 0,L=d[0]):_=="-"?b=-1:y===void 0?n.hasOwnProperty(_)?(R+=n[_],y=parseInt(R,16)*b,b=1,R=""):R+=_:n.hasOwnProperty(_)?(U+=n[_],L[y]=parseInt(U,16)*b,b=1,y=void 0,U=""):U+=_;return k},f={codePages:["WinAnsiEncoding"],WinAnsiEncoding:c("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},p={Unicode:{Courier:f,"Courier-Bold":f,"Courier-BoldOblique":f,"Courier-Oblique":f,Helvetica:f,"Helvetica-Bold":f,"Helvetica-BoldOblique":f,"Helvetica-Oblique":f,"Times-Roman":f,"Times-Bold":f,"Times-BoldItalic":f,"Times-Italic":f}},m
vendor: 14,727 bytes, line 120
120={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}}}")}};e.events.push(["addFont",function(
vendor: 9,913 bytes, line 120
120v){var w=v.font,d=m.Unicode[w.postScriptName];d&&(w.metadata.Unicode={},w.metadata.Unicode.widths=d.widths,w.metadata.Unicode.kerning=d.kerning);var y=p.Unicode[w.postScriptName];y&&(w.metadata.Unicode.encoding=y,w.encoding=y.codePages[0])}])}(Wt.API),function(e){var t=function(n){for(var i=n.length,o=new Uint8Array(i),a=0;a<i;a++)o[a]=n.charCodeAt(a);return o};e.API.events.push(["addFont",function(n){var i=void 0,o=n.font,a=n.instance;if(!o.isStandardFont){if(a===void 0)throw new Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+o.postScriptName+"').");if(typeof(i=a.existsFileInVFS(o.postScriptName)===!1?a.loadFile(o.postScriptName):a.getFileFromVFS(o.postScriptName))!="string")throw new Error("Font is not stored as string-data in vFS, import fonts or remove declaration doc.addFont('"+o.postScriptName+"').");(function(l,c){c=/^\x00\x01\x00\x00/.test(c)?t(c):t(Ta(c)),l.metadata=e.API.TTFFont.open(c),l.metadata.Unicode=l.metadata.Unicode||{encoding:{},kerning:{},widths:[]},l.metadata.glyIdsUsed=[0]})(o,i)}}])}(Wt),function(e){function t(){return(Jt.canvg?Promise.resolve(Jt.canvg):vl(()=>import("./index.es-DhoWnMGf.js"),__vite__mapDeps([0,1,2,3]))).catch(function(n){return Promise.reject(new Error("Could not load canvg: "+n))}).then(function(n){return n.default?n.default:n})}Wt.API.addSvgAsImage=function(n,i,o,a,l,c,f,p){if(isNaN(i)||isNaN(o))throw Le.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(a)||isNaN(l))throw Le.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var m=document.createElement("canvas");m.width=a,m.height=l;var v=m.getContext("2d");v.fillStyle="#fff",v.fillRect(0,0,m.width,m.height);var w={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},d=this;return t().then(function(y){return y.fromString(v,n,w)},function(){return Promise.reject(new Error("Could not load canvg."))}).then(function(y){return y.render(w)}).then(function(){d.addImage(m.toDataURL("image/jpeg",1),i,o,a,l,f,p)})}}(),Wt.API.putTotalPages=function(e){var t,n=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(t=new RegExp(e,"g"),n=this.internal.getNumberOfPages()):(t=new RegExp(this.pdfEscape16(e,this.internal.getFont()),"g"),n=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var i=1;i<=this.internal.getNumberOfPages();i++)for(var o=0;o<this.internal.pages[i].length;o++)this.internal.pages[i][o]=this.internal.pages[i][o].replace(t,n);return this},Wt.API.viewerPreferences=function(e,t){var n;e=e||{},t=t||!1;var i,o,a,l={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}},c=Object.keys(l),f=[],p=0,m=0,v=0;function w(y,_){var k,b=!1;for(k=0;k<y.length;k+=1)y[k]===_&&(b=!0);return b}if(this.internal.viewerpreferences===void 0&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(l)),this.internal.viewerpreferences.isSubscribed=!1),n=this.internal.viewerpreferences.configuration,e==="reset"||t===!0){var d=c.length;for(v=0;v<d;v+=1)n[c[v]].value=n[c[v]].defaultValue,n[c[v]].explicitSet=!1}if(ye(e)==="object"){for(o in e)if(a=e[o],w(c,o)&&a!==void 0){if(n[o].type==="boolean"&&typeof a=="boolean")n[o].value=a;else if(n[o].type==="name"&&w(n[o].valueSet,a))n[o].value=a;else if(n[o].type==="integer"&&Number.isInteger(a))n[o].value=a;else if(n[o].type==="array"){for(p=0;p<a.length;p+=1)if(i=!0,a[p].length===1&&typeof a[p][0]=="number")f.push(String(a[p]-1));else if(a[p].length>1){for(m=0;m<a[p].length;m+=1)typeof a[p][m]!="number"&&(i=!1);i===!0&&f.push([a[p][0]-1,a[p][1]-1].join(" "))}n[o].value="["+f.join(" ")+"]"}else n[o].value=n[o].defaultValue;n[o].explicitSet=!0}}return this.internal.viewerpreferences.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){var y,_=[];for(y in n)n[y].explicitSet===!0&&(n[y].type==="name"?_.push("/"+y+" /"+n[y].value):_.push("/"+y+" "+n[y].value));_.length!==0&&this.internal.write("/ViewerPreferences\n<<\n"+_.join("\n")+"\n>>")}),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=n,this},function(e){var t=function(){var i='<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>',o=unescape(encodeURIComponent('<x:xmpmeta xmlns:x="adobe:ns:meta/">')),a=unescape(encodeURIComponent(i)),l=unescape(encodeURIComponent(this.internal.__metadata__.metadata)),c=unescape(encodeURIComponent("</jspdf:metadata></rdf:Description></rdf:RDF>")),f=unescape(encodeURIComponent("</x:xmpmeta>")),p=a.length+l.length+c.length+o.length+f.length;this.internal.__metadata__.metadata_object_number=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+p+" >>"),this.internal.write("stream"),this.internal.write(o+a+l+c+f),this.internal.write("endstream"),this.internal.write("endobj")},n=function(){this.internal.__metadata__.metadata_object_number&&this.internal.write("/Metadata "+this.internal.__metadata__.metadata_object_number+" 0 R")};e.addMetadata=function(i,o){return this.internal.__metadata__===void 0&&(this.internal.__metadata__={metadata:i,namespaceuri:o||"http://jspdf.default.namespaceuri/"},this.internal.events.subscribe("putCatalog",n),this.internal.events.subscribe("postPutResources",t)),this}}(Wt.API),function(e){var t=e.API,n=t.pdfEscape16=function(a,l){for(var c,f=l.metadata.Unicode.widths,p=["","0","00","000","0000"],m=[""],v=0,w=a.length;v<w;++v){if(c=l.metadata.characterToGlyph(a.charCodeAt(v)),l.metadata.glyIdsUsed.push(c),l.metadata.toUnicode[c]=a.charCodeAt(v),f.indexOf(c)==-1&&(f.push(c),f.push([parseInt(l.metadata.widthOfGlyph(c),10)])),c=="0")return m.join("");c=c.toString(16),m.push(p[4-c.length],c)}return m.join("")},i=function(a){var l,c,f,p,m,v,w;for(m="/CIDInit /ProcSet findresource begin\n12 dict begin\nbegincmap\n/CIDSystemInfo <<\n /Registry (Adobe)\n /Ordering (UCS)\n /Supplement 0\n>> def\n/CMapName /Adobe-Identity-UCS def\n/CMapType 2 def\n1 begincodespacerange\n<0000><ffff>\nendcodespacerange",f=[],v=0,w=(c=Object.keys(a).sort(function(d,y){return d-y})).length;v<w;v++)l=c[v],f.length>=100&&(m+="\n"+f.length+" beginbfchar\n"+f.join("\n")+"\nendbfchar",f=[]),a[l]!==void 0&&a[l]!==null&&typeof a[l].toString=="function"&&(p=("0000"+a[l].toString(16)).slice(-4),l=("0000"+(+l).toString(16)).slice(-4),f.push("<"+l+"><"+p+">"));return f.length&&(m+="\n"+f.length+" beginbfchar\n"+f.join("\n")+"\nendbfchar\n"),m+="endcmap\nCMapName currentdict /CMap defineresource pop\nend\nend"};t.events.push(["putFont",function(a){(function(l){var c=l.font,f=l.out,p=l.newObject,m=l.putStream;if(c.metadata instanceof e.API.TTFFont&&c.encoding==="Identity-H"){for(var v=c.metadata.Unicode.widths,w=c.metadata.subset.encode(c.metadata.glyIdsUsed,1),d="",y=0;y<w.length;y++)d+=String.fromCharCode(w[y]);var _=p();m({data:d,addLength1:!0,objectId:_}),f("endobj");var k=p();m({data:i(c.metadata.toUnicode),addLength1:!0,objectId:k}),f("endobj");var b=p();f("<<"),f("/Type /FontDescriptor"),f("/FontName /"+Zi(c.fontName)),f("/FontFile2 "+_+" 0 R"),f("/FontBBox "+e.API.PDFObject.convert(c.metadata.bbox)),f("/Flags "+c.metadata.flags),f("/StemV "+c.metadata.stemV),f("/ItalicAngle "+c.metadata.italicAngle),f("/Ascent "+c.metadata.ascender),f("/Descent "+c.metadata.decender),f("/CapHeight "+c.metadata.capHeight),f(">>"),f("endobj");var L=p();f("<<"),f("/Type /Font"),f("/BaseFont /"+Zi(c.fontName)),f("/FontDescriptor "+b+" 0 R"),f("/W "+e.API.PDFObject.convert(v)),f("/CIDToGIDMap /Identity"),f("/DW 1000"),f("/Subtype /CIDFontType2"),f("/CIDSystemInfo"),f("<<"),f("/Supplement 0"),f("/Registry (Adobe)"),f("/Ordering ("+c.encoding+")"),f(">>"),f(">>
120"),f("endobj"),c.objectNumber=p(),f("<<"),f("/Type /Font"),f("/Subtype /Type0"),f("/ToUnicode "+k+" 0 R"),f("/BaseFont /"+Zi(c.fontName)),f("/Encoding /"+c.encoding),f("/DescendantFonts ["+L+" 0 R]"),f(">>"),f("endobj"),c.isAlreadyPutted=!0}})(a)}]),t.events.push(["putFont",function(a){(function(l){var c=l.font,f=l.out,p=l.newObject,m=l.putStream;if(c.metadata instanceof e.API.TTFFont&&c.encoding==="WinAnsiEncoding"){for(var v=c.metadata.rawData,w="",d=0;d<v.length;d++)w+=String.fromCharCode(v[d]);var y=p();m({data:w,addLength1:!0,objectId:y}),f("endobj");var _=p();m({data:i(c.metadata.toUnicode),addLength1:!0,objectId:_}),f("endobj");var k=p();f("<<"),f("/Descent "+c.metadata.decender),f("/CapHeight "+c.metadata.capHeight),f("/StemV "+c.metadata.stemV),f("/Type /FontDescriptor"),f("/FontFile2 "+y+" 0 R"),f("/Flags 96"),f("/FontBBox "+e.API.PDFObject.convert(c.metadata.bbox)),f("/FontName /"+Zi(c.fontName)),f("/ItalicAngle "+c.metadata.italicAngle),f("/Ascent "+c.metadata.ascender),f(">>"),f("endobj"),c.objectNumber=p();for(var b=0;b<c.metadata.hmtx.widths.length;b++)c.metadata.hmtx.widths[b]=parseInt(c.metadata.hmtx.widths[b]*(1e3/c.metadata.head.unitsPerEm));f("<</Subtype/TrueType/Type/Font/ToUnicode "+_+" 0 R/BaseFont/"+Zi(c.fontName)+"/FontDescriptor "+k+" 0 R/Encoding/"+c.encoding+" /FirstChar 29 /LastChar 255 /Widths "+e.API.PDFObject.convert(c.metadata.hmtx.widths)+">>"),f("endobj"),c.isAlreadyPutted=!0}})(a)}]);var o=function(a){var l,c=a.text||"",f=a.x,p=a.y,m=a.options||{},v=a.mutex||{},w=v.pdfEscape,d=v.activeFontKey,y=v.fonts,_=d,k="",b=0,L="",C=y[_].encoding;if(y[_].encoding!=="Identity-H")return{text:c,x:f,y:p,options:m,mutex:v};for(L=c,_=d,Array.isArray(c)&&(L=c[0]),b=0;b<L.length;b+=1)y[_].metadata.hasOwnProperty("cmap")&&(l=y[_].metadata.cmap.unicode.codeMap[L[b].charCodeAt(0)]),l||L[b].charCodeAt(0)<256&&y[_].metadata.hasOwnProperty("Unicode")?k+=L[b]:k+="";var R="";return parseInt(_.slice(1))<14||C==="WinAnsiEncoding"?R=w(k,_).split("").map(function(U){return U.charCodeAt(0).toString(16)}).join(""):C==="Identity-H"&&(R=n(k,y[_])),v.isHex=!0,{text:R,x:f,y:p,options:m,mutex:v}};t.events.push(["postProcessText",function(a){var l=a.text||"",c=[],f={text:l,x:a.x,y:a.y,options:a.options,mutex:a.mutex};if(Array.isArray(l)){var p=0;for(p=0;p<l.length;p+=1)Array.isArray(l[p])&&l[p].length===3?c.push([o(Object.assign({},f,{text:l[p][0]})).text,l[p][1],l[p][2]]):c.push(o(Object.assign({},f,{text:l[p]})).text);a.text=c}else a.text=o(Object.assign({},f,{text:l})).text}])}(Wt),function(e){var t=function(){return this.internal.vFS===void 0&&(this.internal.vFS={}),!0};e.existsFileInVFS=function(n){return t.call(this),this.internal.vFS[n]!==void 0},e.addFileToVFS=function(n,i){return t.call(this),this.internal.vFS[n]=i,this},e.getFileFromVFS=function(n){return t.call(this),this.internal.vFS[n]!==void 0?this.internal.vFS[n]:null}}(Wt.API),function(e){e.__bidiEngine__=e.prototype.__bidiEngine__=function(i){var o,a,l,c,f,p,m,v=t,w=[[0,3,0,1,0,0,0],[0,3,0,1,2,2,0],[0,3,0,17,2,0,1],[0,3,5,5,4,1,0],[0,3,21,21,4,0,1],[0,3,5,5,4,2,0]],d=[[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]],y={L:0,R:1,EN:2,AN:3,N:4,B:5,S:6},_={0:0,5:1,6:2,7:3,32:4,251:5,254:6,255:7},k=["(",")","(","<",">","<","[","]","[","{","}","{","«","»","«","â¹","âº","â¹","â
","â","â
","â½","â¾","â½","â","â","â","â¤","â¥","â¤","â©","âª","â©","ï¹","ï¹","ï¹","ï¹","ï¹","ï¹","ï¹","ï¹","ï¹","﹤","ï¹¥","﹤"],b=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)$/),L=!1,C=0;this.__bidiEngine__={};var R=function(P){var A=P.charCodeAt(),z=A>>8,B=_[z];return B!==void 0?v[256*B+(255&A)]:z===252||z===253?"AL":b.test(z)?"L":z===8?"R":"N"},U=function(P){for(var A,z=0;z<P.length;z++){if((A=R(P.charAt(z)))==="L")return!1;if(A==="R")return!0}return!1},J=function(P,A,z,B){var ot,W,H,Y,K=A[B];switch(K){case"L":case"R":L=!1;break;case"N":case"AN":break;case"EN":L&&(K="AN");break;case"AL":L=!0,K="R";break;case"WS":K="N";break;case"CS":B<1||B+1>=A.length||(ot=z[B-1])!=="EN"&&ot!=="AN"||(W=A[B+1])!=="EN"&&W!=="AN"?K="N":L&&(W="AN"),K=W===ot?W:"N";break;case"ES":K=(ot=B>0?z[B-1]:"B")==="EN"&&B+1<A.length&&A[B+1]==="EN"?"EN":"N";break;case"ET":if(B>0&&z[B-1]==="EN"){K="EN";break}if(L){K="N";break}for(H=B+1,Y=A.length;H<Y&&A[H]==="ET";)H++;K=H<Y&&A[H]==="EN"?"EN":"N";break;case"NSM":if(l&&!c){for(Y=A.length,H=B+1;H<Y&&A[H]==="NSM";)H++;if(H<Y){var et=P[B],dt=et>=1425&&et<=2303||et===64286;if(ot=A[H],dt&&(ot==="R"||ot==="AL")){K="R";break}}}K=B<1||(ot=A[B-1])==="B"?"N":z[B-1];break;case"B":L=!1,o=!0,K=C;break;case"S":a=!0,K="N";break;case"LRE":case"RLE":case"LRO":case"RLO":case"PDF":L=!1;break;case"BN":K="N"}return K},E=function(P,A,z){var B=P.split("");return z&&O(B,z,{hiLevel:C}),B.reverse(),A&&A.reverse(),B.join("")},O=function(P,A,z){var B,ot,W,H,Y,K=-1,et=P.length,dt=0,S=[],D=C?d:w,M=[];for(L=!1,o=!1,a=!1,ot=0;ot<et;ot++)M[ot]=R(P[ot]);for(W=0;W<et;W++){if(Y=dt,S[W]=J(P,M,S,W),B=240&(dt=D[Y][y[S[W]]]),dt&=15,A[W]=H=D[dt][5],B>0)if(B===16){for(ot=K;ot<W;ot++)A[ot]=1;K=-1}else K=-1;if(D[dt][6])K===-1&&(K=W);else if(K>-1){for(ot=K;ot<W;ot++)A[ot]=H;K=-1}M[W]==="B"&&(A[W]=0),z.hiLevel|=H}a&&function(G,Z,st){for(var ut=0;ut<st;ut++)if(G[ut]==="S"){Z[ut]=C;for(var ht=ut-1;ht>=0&&G[ht]==="WS";ht--)Z[ht]=C}}(M,A,et)},$=function(P,A,z,B,ot){if(!(ot.hiLevel<P)){if(P===1&&C===1&&!o)return A.reverse(),void(z&&z.reverse());for(var W,H,Y,K,et=A.length,dt=0;dt<et;){if(B[dt]>=P){for(Y=dt+1;Y<et&&B[Y]>=P;)Y++;for(K=dt,H=Y-1;K<H;K++,H--)W=A[K],A[K]=A[H],A[H]=W,z&&(W=z[K],z[K]=z[H],z[H]=W);dt=Y}dt++}}},Q=function(P,A,z){var B=P.split(""),ot={hiLevel:C};return z||(z=[]),O(B,z,ot),function(W,H,Y){if(Y.hiLevel!==0&&m)for(var K,et=0;et<W.length;et++)H[et]===1&&(K=k.indexOf(W[et]))>=0&&(W[et]=k[K+1])}(B,z,ot),$(2,B,A,z,ot),$(1,B,A,z,ot),B.join("")};return this.__bidiEngine__.doBidiReorder=function(P,A,z){if(function(ot,W){if(W)for(var H=0;H<ot.length;H++)W[H]=H;c===void 0&&(c=U(ot)),p===void 0&&(p=U(ot))}(P,A),l||!f||p)if(l&&f&&c^p)C=c?1:0,P=E(P,A,z);else if(!l&&f&&p)C=c?1:0,P=Q(P,A,z),P=E(P,A);else if(!l||c||f||p){if(l&&!f&&c^p)P=E(P,A),c?(C=0,P=Q(P,A,z)):(C=1,P=Q(P,A,z),P=E(P,A));else if(l&&c&&!f&&p)C=1,P=Q(P,A,z),P=E(P,A);else if(!l&&!f&&c^p){var B=m;c?(C=1,P=Q(P,A,z),C=0,m=!1,P=Q(P,A,z),m=B):(C=0,P=Q(P,A,z),P=E(P,A),C=1,m=!1,P=Q(P,A,z),m=B,P=E(P,A))}}else C=0,P=Q(P,A,z);else C=c?1:0,P=Q(P,A,z);return P},this.__bidiEngine__.setOptions=function(P){P&&(l=P.isInputVisual,f=P.isOutputVisual,c=P.isInputRtl,p=P.isOutputRtl,m=P.isSymmetricSwapping)},this.__bidiEngine__.setOptions(i),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 e.__bidiEngine__({isInputVisual:!0});e.API.events.push(["postProcessText",function(i){var o=i.text,a=(i.x,i.y,i.options||{}),l=(i.mutex,a.lang,[]);if(a.isInputVisual=typeof a.isInputVisual!="boolean"||a.isInputVisual,n.setOptions(a),Object
vendor: 22,528 bytes, line 120
120.prototype.toString.call(o)==="[object Array]"){var c=0;for(l=[],c=0;c<o.length;c+=1)Object.prototype.toString.call(o[c])==="[object Array]"?l.push([n.doBidiReorder(o[c][0]),o[c][1],o[c][2]]):l.push([n.doBidiReorder(o[c])]);i.text=l}else i.text=n.doBidiReorder(o);n.setOptions({isInputVisual:!0})}])}(Wt),Wt.API.TTFFont=function(){function e(t){var n;if(this.rawData=t,n=this.contents=new Qr(t),this.contents.pos=4,n.readString(4)==="ttcf")throw new Error("TTCF not supported.");n.pos=0,this.parse(),this.subset=new y2(this),this.registerTTF()}return e.open=function(t){return new e(t)},e.prototype.parse=function(){return this.directory=new i2(this.contents),this.head=new o2(this),this.name=new f2(this),this.cmap=new Gc(this),this.toUnicode={},this.hhea=new s2(this),this.maxp=new h2(this),this.hmtx=new d2(this),this.post=new u2(this),this.os2=new l2(this),this.loca=new v2(this),this.glyf=new p2(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]},e.prototype.registerTTF=function(){var t,n,i,o,a;if(this.scaleFactor=1e3/this.head.unitsPerEm,this.bbox=(function(){var l,c,f,p;for(p=[],l=0,c=(f=this.bbox).length;l<c;l++)t=f[l],p.push(Math.round(t*this.scaleFactor));return p}).call(this),this.stemV=0,this.post.exists?(i=255&(o=this.post.italic_angle),32768&(n=o>>16)&&(n=-(1+(65535^n))),this.italicAngle=+(n+"."+i)):this.italicAngle=0,this.ascender=Math.round(this.ascender*this.scaleFactor),this.decender=Math.round(this.decender*this.scaleFactor),this.lineGap=Math.round(this.lineGap*this.scaleFactor),this.capHeight=this.os2.exists&&this.os2.capHeight||this.ascender,this.xHeight=this.os2.exists&&this.os2.xHeight||0,this.familyClass=(this.os2.exists&&this.os2.familyClass||0)>>8,this.isSerif=(a=this.familyClass)===1||a===2||a===3||a===4||a===5||a===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")},e.prototype.characterToGlyph=function(t){var n;return((n=this.cmap.unicode)!=null?n.codeMap[t]:void 0)||0},e.prototype.widthOfGlyph=function(t){var n;return n=1e3/this.head.unitsPerEm,this.hmtx.forGlyph(t).advance*n},e.prototype.widthOfString=function(t,n,i){var o,a,l,c;for(l=0,a=0,c=(t=""+t).length;0<=c?a<c:a>c;a=0<=c?++a:--a)o=t.charCodeAt(a),l+=this.widthOfGlyph(this.characterToGlyph(o))+i*(1e3/n)||0;return l*(n/1e3)},e.prototype.lineHeight=function(t,n){var i;return n==null&&(n=!1),i=n?this.lineGap:0,(this.ascender+i-this.decender)/1e3*t},e}();var tr,Qr=function(){function e(t){this.data=t!=null?t:[],this.pos=0,this.length=this.data.length}return e.prototype.readByte=function(){return this.data[this.pos++]},e.prototype.writeByte=function(t){return this.data[this.pos++]=t},e.prototype.readUInt32=function(){return 16777216*this.readByte()+(this.readByte()<<16)+(this.readByte()<<8)+this.readByte()},e.prototype.writeUInt32=function(t){return this.writeByte(t>>>24&255),this.writeByte(t>>16&255),this.writeByte(t>>8&255),this.writeByte(255&t)},e.prototype.readInt32=function(){var t;return(t=this.readUInt32())>=2147483648?t-4294967296:t},e.prototype.writeInt32=function(t){return t<0&&(t+=4294967296),this.writeUInt32(t)},e.prototype.readUInt16=function(){return this.readByte()<<8|this.readByte()},e.prototype.writeUInt16=function(t){return this.writeByte(t>>8&255),this.writeByte(255&t)},e.prototype.readInt16=function(){var t;return(t=this.readUInt16())>=32768?t-65536:t},e.prototype.writeInt16=function(t){return t<0&&(t+=65536),this.writeUInt16(t)},e.prototype.readString=function(t){var n,i;for(i=[],n=0;0<=t?n<t:n>t;n=0<=t?++n:--n)i[n]=String.fromCharCode(this.readByte());return i.join("")},e.prototype.writeString=function(t){var n,i,o;for(o=[],n=0,i=t.length;0<=i?n<i:n>i;n=0<=i?++n:--n)o.push(this.writeByte(t.charCodeAt(n)));return o},e.prototype.readShort=function(){return this.readInt16()},e.prototype.writeShort=function(t){return this.writeInt16(t)},e.prototype.readLongLong=function(){var t,n,i,o,a,l,c,f;return t=this.readByte(),n=this.readByte(),i=this.readByte(),o=this.readByte(),a=this.readByte(),l=this.readByte(),c=this.readByte(),f=this.readByte(),128&t?-1*(72057594037927940*(255^t)+281474976710656*(255^n)+1099511627776*(255^i)+4294967296*(255^o)+16777216*(255^a)+65536*(255^l)+256*(255^c)+(255^f)+1):72057594037927940*t+281474976710656*n+1099511627776*i+4294967296*o+16777216*a+65536*l+256*c+f},e.prototype.writeLongLong=function(t){var n,i;return n=Math.floor(t/4294967296),i=4294967295&t,this.writeByte(n>>24&255),this.writeByte(n>>16&255),this.writeByte(n>>8&255),this.writeByte(255&n),this.writeByte(i>>24&255),this.writeByte(i>>16&255),this.writeByte(i>>8&255),this.writeByte(255&i)},e.prototype.readInt=function(){return this.readInt32()},e.prototype.writeInt=function(t){return this.writeInt32(t)},e.prototype.read=function(t){var n,i;for(n=[],i=0;0<=t?i<t:i>t;i=0<=t?++i:--i)n.push(this.readByte());return n},e.prototype.write=function(t){var n,i,o,a;for(a=[],i=0,o=t.length;i<o;i++)n=t[i],a.push(this.writeByte(n));return a},e}(),i2=function(){var e;function t(n){var i,o,a;for(this.scalarType=n.readInt(),this.tableCount=n.readShort(),this.searchRange=n.readShort(),this.entrySelector=n.readShort(),this.rangeShift=n.readShort(),this.tables={},o=0,a=this.tableCount;0<=a?o<a:o>a;o=0<=a?++o:--o)i={tag:n.readString(4),checksum:n.readInt(),offset:n.readInt(),length:n.readInt()},this.tables[i.tag]=i}return t.prototype.encode=function(n){var i,o,a,l,c,f,p,m,v,w,d,y,_;for(_ in d=Object.keys(n).length,f=Math.log(2),v=16*Math.floor(Math.log(d)/f),l=Math.floor(v/f),m=16*d-v,(o=new Qr).writeInt(this.scalarType),o.writeShort(d),o.writeShort(v),o.writeShort(l),o.writeShort(m),a=16*d,p=o.pos+a,c=null,y=[],n)for(w=n[_],o.writeString(_),o.writeInt(e(w)),o.writeInt(p),o.writeInt(w.length),y=y.concat(w),_==="head"&&(c=p),p+=w.length;p%4;)y.push(0),p++;return o.write(y),i=2981146554-e(o.data),o.pos=c+8,o.writeUInt32(i),o.data},e=function(n){var i,o,a,l;for(n=Jc.call(n);n.length%4;)n.push(0);for(a=new Qr(n),o=0,i=0,l=n.length;i<l;i=i+=4)o+=a.readUInt32();return 4294967295&o},t}(),a2={}.hasOwnProperty,dr=function(e,t){for(var n in t)a2.call(t,n)&&(e[n]=t[n]);function i(){this.constructor=e}return i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype,e};tr=function(){function e(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 e.prototype.parse=function(){},e.prototype.encode=function(){},e.prototype.raw=function(){return this.exists?(this.file.contents.pos=this.offset,this.file.contents.read(this.length)):null},e}();var o2=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return dr(t,tr),t.prototype.tag="head",t.prototype.parse=function(n){return n.pos=this.offset,this.version=n.readInt(),this.revision=n.readInt(),this.checkSumAdjustment=n.readInt(),this.magicNumber=n.readInt(),this.flags=n.readShort(),this.unitsPerEm=n.readShort(),this.created=n.readLongLong(),this.modified=n.readLongLong(),this.xMin=n.readShort(),this.yMin=n.readShort(),this.xMax=n.readShort(),this.yMax=n.readShort(),this.macStyle=n.readShort(),this.lowestRecPPEM=n.readShort(),this.fontDirectionHint=n.readShort(),this.indexToLocFormat=n.readShort(),this.glyphDataFormat=n.readShort()},t.prototype.encode=function(n){var i;return(i=new Qr).writeInt(this.version),i.writeInt(this.revision),i.writeInt(this.checkSumAdjustment),i.writeInt(this.magicNumber),i.writeShort(this.flags),i.writeShort(this.unitsPerEm),i.writeLongLong(this.created),i.writeLongLong(this.modified),i.writeShort(this.xMin),i.writeShort(this.yMin),i.writeShort(this.xMax),i.writeShort(this.yMax),i.writeShort(this.macStyle),i.writeShort(this.lowestRecPPEM),i.writeShort(this.fontDirectionHint),i.writeShort(n),i.writeShort(this.glyphDataFormat),i.data},t}(),oc=function(){function e(t,n){var i,o,a,l,c,f,p,m,v,w,d,y,_,k,b,L,C;switch(this.platformID=t.readUInt16(),this.encodingID=t.readShort(),this.offset=n+t.readInt(),v=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(f=0;f<256;++f)this.codeMap[f]=t.readByte();break;case 4:for(d=t.readUInt16(),w=d/2,t.pos+=6,a=function(){var R,U;for(U=[],f=R=0;0<=w?R<w:R>w;f=0<=w?++R:--R)U.push(t.readUInt16());return U}(),t.pos+=2,_=function(){var R,U;for(U=[],f=R=0;0<=w?R<w:R>w;f=0<=w?++R:--R)U.push(t.readUInt16());return U}(),p=function(){var R,U;for(U=[],f=R=0;0<=w?R<w:R>w;f=0<=w?++R:--R)U.push(t.readUInt16());return U}(),m=function(){var R,U;for(U=[],f=R=0;0<=w?R<w:R>w;f=0<=w?++R:--R)U.push(t.readUInt16());return U}(),o=(this.length-t.pos+this.offset)/2,c=function(){var R,U;for(U=[],f=R=0;0<=o?R<o:R>o;f=0<=o?++R:--R)U.push(t.readUInt16());return U}(),f=b=0,C=a.length;b<C;f=++b)for(k=a[f],i=L=y=_[f];y<=k?L<=k:L>=k;i=y<=k?++L:--L)m[f]===0?l=i+p[f]:(l=c[m[f]/2+(i-y)-(w-f)]||0)!==0&&(l+=p[f]),this.codeMap[i]=65535&l}t.pos=v}return e.encode=function(t,n){var i,o,a,l,c,f,p,m,v,w,d,y,_,k,b,L,C,R,U,J,E,O,$,Q,P,A,z,B,ot,W,H,Y,K,et,dt,S,D,M,G,Z,st,ut,ht,kt,_t,It;switch(B=new Qr,l=Object.keys(t).sort(function(Tt,Vt){return Tt-Vt}),n){case"macroman":for(_=0,k=function(){var Tt=[];for(y=0;y<256;++y)Tt.push(0);return Tt}(),L={0:0},a={},ot=0,K=l.length;ot<K;ot++)L[ht=t[o=l[ot]]]==null&&(L[ht]=++_),a[o]={old:t[o],new:L[t[o]]},k[o]=L[t[o]];return B.writeUInt16(1),B.writeUInt16(0),B.writeUInt32(12),B.writeUInt16(0),B.writeUInt16(262),B.writeUInt16(0),B.write(k),{charMap:a,subtable:B.data,maxGlyphID:_+1};case"unicode":for(A=[],v=[],C=0,L={},i={},b=p=null,W=0,et=l.length;W<et;W++)L[U=t[o=l[W]]]==null&&(L[U]=++C),i[o]={old:U,new:L[U]},c=L[U]-o,b!=null&&c===p||(b&&v.push(b),A.push(o),p=c),b=o;for(b&&v.push(b),v.push(65535),A.push(65535),Q=2*($=A.length),O=2*Math.pow(Math.log($)/Math.LN2,2),w=Math.log(O/2)/Math.LN2,E=2*$-O,f=[],J=[],d=[],y=H=0,dt=A.length;H<dt;y=++H){if(P=A[y],m=v[y],P===65535){f.push(0),J.push(0);break}if(P-(z=i[P].new)>=32768)for(f.push(0),J.push(2*(d.length+$-y)),o=Y=P;P<=m?Y<=m:Y>=m;o=P<=m?++Y:--Y)d.push(i[o].new);else f.push(z-P),J.push(0)}for(B.writeUInt16(3),B.writeUInt16(1),B.writeUInt32(12),B.writeUInt16(4),B.writeUInt16(16+8*$+2*d.length),B.writeUInt16(0),B.writeUInt16(Q),B.writeUInt16(O),B.writeUInt16(w),B.writeUInt16(E),st=0,S=v.length;st<S;st++)o=v[st],B.writeUInt16(o);for(B.writeUInt16(0),ut=0,D=A.length;ut<D;ut++)o=A[ut],B.writeUInt16(o);for(kt=0,M=f.length;kt<M;kt++)c=f[kt],B.writeUInt16(c);for(_t=0,G=J.length;_t<G;_t++)R=J[_t],B.writeUInt16(R);for(It=0,Z=d.length;It<Z;It++)_=d[It],B.writeUInt16(_);return{charMap:i,subtable:B.data,maxGlyphID:C+1}}},e}(),Gc=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return dr(t,tr),t.prototype.tag="cmap",t.prototype.parse=function(n){var i,o,a;for(n.pos=this.offset,this.version=n.readUInt16(),a=n.readUInt16(),this.tables=[],this.unicode=null,o=0;0<=a?o<a:o>a;o=0<=a?++o:--o)i=new oc(n,this.offset),this.tables.push(i),i.isUnicode&&this.unicode==null&&(this.unicode=i);return!0},t.encode=function(n,i){var o,a;return i==null&&(i="macroman"),o=oc.encode(n,i),(a=new Qr).writeUInt16(0),a.writeUInt16(1),o.table=a.data.concat(o.subtable),o},t}(),s2=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return dr(t,tr),t.prototype.tag="hhea",t.prototype.parse=function(n){return n.pos=this.offset,this.version=n.readInt(),this.ascender=n.readShort(),this.decender=n.readShort(),this.lineGap=n.readShort(),this.advanceWidthMax=n.readShort(),this.minLeftSideBearing=n.readShort(),this.minRightSideBearing=n.readShort(),this.xMaxExtent=n.readShort(),this.caretSlopeRise=n.readShort(),this.caretSlopeRun=n.readShort(),this.caretOffset=n.readShort(),n.pos+=8,this.metricDataFormat=n.readShort(),this.numberOfMetrics=n.readUInt16()},t}(),l2=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return dr(t,tr),t.prototype.tag="OS/2",t.prototype.parse=function(n){if(n.pos=this.offset,this.version=n.readUInt16(),this.averageCharWidth=n.readShort(),this.weightClass=n.readUInt16(),this.widthClass=n.readUInt16(),this.type=n.readShort(),this.ySubscriptXSize=n.readShort(),this.ySubscriptYSize=n.readShort(),this.ySubscriptXOffset=n.readShort(),this.ySubscriptYOffset=n.readShort(),this.ySuperscriptXSize=n.readShort(),this.ySuperscriptYSize=n.readShort(),this.ySuperscriptXOffset=n.readShort(),this.ySuperscriptYOffset=n.readShort(),this.yStrikeoutSize=n.readShort(),this.yStrikeoutPosition=n.readShort(),this.familyClass=n.readShort(),this.panose=function(){var i,o;for(o=[],i=0;i<10;++i)o.push(n.readByte());return o}(),this.charRange=function(){var i,o;for(o=[],i=0;i<4;++i)o.push(n.readInt());return o}(),this.vendorID=n.readString(4),this.selection=n.readShort(),this.firstCharIndex=n.readShort(),this.lastCharIndex=n.readShort(),this.version>0&&(this.ascent=n.readShort(),this.descent=n.readShort(),this.lineGap=n.readShort(),this.winAscent=n.readShort(),this.winDescent=n.readShort(),this.codePageRange=function(){var i,o;for(o=[],i=0;i<2;i=++i)o.push(n.readInt());return o}(),this.version>1))return this.xHeight=n.readShort(),this.capHeight=n.readShort(),this.defaultChar=n.readShort(),this.breakChar=n.readShort(),this.maxContext=n.readShort()},t}(),u2=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return dr(t,tr),t.prototype.tag="post",t.prototype.parse=function(n){var i,o,a;switch(n.pos=this.offset,this.format=n.readInt(),this.italicAngle=n.readInt(),this.underlinePosition=n.readShort(),this.underlineThickness=n.readShort(),this.isFixedPitch=n.readInt(),this.minMemType42=n.readInt(),this.maxMemType42=n.readInt(),this.minMemType1=n.readInt(),this.maxMemType1=n.readInt(),this.format){case 65536:break;case 131072:var l;for(o=n.readUInt16(),this.glyphNameIndex=[],l=0;0<=o?l<o:l>o;l=0<=o?++l:--l)this.glyphNameIndex.push(n.readUInt16());for(this.names=[],a=[];n.pos<this.offset+this.length;)i=n.readByte(),a.push(this.names.push(n.readString(i)));return a;case 151552:return o=n.readUInt16(),this.offsets=n.read(o);case 196608:break;case 262144:return this.map=(function(){var c,f,p;for(p=[],l=c=0,f=this.file.maxp.numGlyphs;0<=f?c<f:c>f;l=0<=f?++c:--c)p.push(n.readUInt32());return p}).call(this)}},t}(),c2=function(e,t){this.raw=e,this.length=e.length,this.platformID=t.platformID,this.encodingID=t.encodingID,this.languageID=t.languageID},f2=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return dr(t,tr),t.prototype.tag="name",t.prototype.parse=function(n){var i,o,a,l,c,f,p,m,v,w,d;for(n.pos=this.offset,n.readShort(),i=n.readShort(),f=n.readShort(),o=[],l=0;0<=i?l<i:l>i;l=0<=i?++l:--l)o.push({platformID:n.readShort(),encodingID:n.readShort(),languageID:n.readShort(),nameID:n.readShort(),length:n.readShort(),offset:this.offset+f+n.readShort()});for(p={},l=v=0,w=o.length;v<w;l=++v)a=o[l],n.pos=a.offset,m=n.readString(a.length),c=new c2(m,a),p[d=a.nameID]==null&&(p[d]=[]),p[a.nameID].push(c);this.strings=p,this.copyright=p[0],this.fontFamily=p[1],this.fontSubfamily=p[2],this.uniqueSubfamily=p[3],this.fontName=p[4],this.version=p[5];try{this.postscriptName=p[6][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}catch(y){this.postscriptName=p[4][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}return this.trademark=p[7],this.manufacturer=p[8],this.designer=p[9],this.description=p[10],this.vendorUrl=p[11],this.designerUrl=p[12],this.license=p[13],this.licenseUrl=p[14],this.preferredFamily=p[15],this.preferredSubfamily=p[17],this.compatibleFull=p[18],this.sampleText=p[19]},t}(),h2=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return dr(t,tr),t.prototype.tag="maxp",t.prototype.parse=function(n){return n.pos=this.offset,this.version=n.readInt(),this.numGlyphs=n.readUInt16(),this.maxPoints=n.readUInt16(),this.maxContours=n.readUInt16(),this.maxCompositePoints=n.readUInt16(),this.maxComponentContours=n.readUInt16(),this.maxZones=n.readUInt16(),this.maxTwilightPoints=n.readUInt16(),this.maxStorage=n.readUInt16(),this.maxFunctionDefs=n.readUInt16(),this.maxInstructionDefs=n.readUInt16(),this.maxStackElements=n.readUInt16(),this.maxSizeOfInstructions=n.readUInt16(),this.maxComponentElements=n.readUInt16(),this.maxComponentDepth=n.readUInt16()},t}(),d2=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return dr(t,tr),t.prototype.tag="hmtx",t.prototype.parse=function(n){var i,o,a,l,c,f,p;for(n.pos=this.offset,this.metrics=[],i=0,f=this.file.hhea.numberOfMetrics;0<=f?i<f:i>f;i=0<=f?++i:--i)this.metrics.push({advance:n.readUInt16(),lsb:n.readInt16()});for(a=this.file.maxp.numGlyphs-this.file.hhea.numberOfMetrics,this.leftSideBearings=function(){var m,v;for(v=[],i=m=0;0<=a?m<a:m>a;i=0<=a?++m:--m)v.push(n.readInt16());return v}(),this.widths=(function(){var m,v,w,d;for(d=[],m=0,v=(w=this.metrics).length;m<v;m++)l=w[m],d.push(l.advance);return d}).call(this),o=this.widths[this.widths.length-1],p=[],i=c=0;0<=a?c<a:c>a;i=0<=a?++c:--c)p.push(this.widths.push(o));return p},t.prototype.forGlyph=function(n){return n in this.metrics?this.metrics[n]:{advance:this.metrics[this.metrics.length-1].advance,lsb:this.leftSideBearings[n-this.metrics.length]}},t}(),Jc=[].slice,p2=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return dr(t,tr),t.prototype.tag="glyf",t.prototype.parse=function(){return this.cache={}},t.prototype.glyphFor=function(n){var i,o,a,l,c,f,p,m,v,w;return n in this.cache?this.cache[n]:(l=this.file.loca,i=this.file.contents,o=l.indexOf(n),(a=l.lengthOf(n))===0?this.cache[n]=null:(i.pos=this.offset+o,c=(f=new Qr(i.read(a))).readShort(),m=f.readShort(),w=f.readShort(),p=f.readShort(),v=f.readShort(),this.cache[n]=c===-1?new m2(f,m,w,p,v):new g2(f,c,m,w,p,v),this.cache[n]))},t.prototype.encode=function(n,i,o){var a,l,c,f,p;for(c=[],l=[],f=0,p=i.length;f<p;f++)a=n[i[f]],l.push(c.length),a&&(c=c.concat(a.encode(o)));return l.push(c.length),{table:c,offsets:l}},t}(),g2=function(){function e(t,n,i,o,a,l){this.raw=t,this.numberOfContours=n,this.xMin=i,this.yMin=o,this.xMax=a,this.yMax=l,this.compound=!1}return e.prototype.encode=function(){return this.raw.data},e}(),m2=function(){function e(t,n,i,o,a){var l,c;for(this.raw=t,this.xMin=n,this.yMin=i,this.xMax=o,this.yMax=a,this.compound=!0,this.glyphIDs=[],this.glyphOffsets=[],l=this.raw;c=l.readShort(),this.glyphOffsets.push(l.pos),this.glyphIDs.push(l.readUInt16()),32&c;)l.pos+=1&c?4:2,128&c?l.pos+=8:64&c?l.pos+=4:8&c&&(l.pos+=2)}return e.prototype.encode=function(){var t,n,i;for(n=new Qr(Jc.call(this.raw.data)),t=0,i=this.glyphIDs.length;t<i;++t)n.pos=this.glyphOffsets[t];return n.data},e}(),v2=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return dr(t,tr),t.prototype.tag="loca",t.prototype.parse=function(n){var i,o;return n.pos=this.offset,i=this.file.head.indexToLocFormat,this.offsets=i===0?(function(){var a,l;for(l=[],o=0,a=this.length;o<a;o+=2)l.push(2*n.readUInt16());return l}).call(this):(function(){var a,l;for(l=[],o=0,a=this.length;o<a;o+=4)l.push(n.readUInt32());return l}).call(this)},t.prototype.indexOf=function(n){return this.offsets[n]},t.prototype.lengthOf=function(n){return this.offsets[n+1]-this.offsets[n]},t.prototype.encode=function(n,i){for(var o=new Uint32Array(this.offsets.length),a=0,l=0,c=0;c<o.length;++c)if(o[c]=a,l<i.length&&i[l]==c){++l,o[c]=a;var f=this.offsets[c],p=this.offsets[c+1]-f;p>0&&(a+=p)}for(var m=new Array(4*o.length),v=0;v<o.length;++v)m[4*v+3]=255&o[v],m[4*v+2]=(65280&o[v])>>8,m[4*v+1]=(16711680&o[v])>>16,m[4*v]=(4278190080&o[v])>>24;return m},t}(),y2=function(){function e(t){this.font=t,this.subset={},this.unicodes={},this.next=33}return e.prototype.generateCmap=function(){var t,n,i,o,a;for(n in o=this.font.cmap.tables[0].codeMap,t={},a=this.subset)i=a[n],t[n]=o[i];return t},e.prototype.glyphsFor=function(t){var n,i,o,a,l,c,f;for(o={},l=0,c=t.length;l<c;l++)o[a=t[l]]=this.font.glyf.glyphFor(a);for(a in n=[],o)(i=o[a])!=null&&i.compound&&n.push.apply(n,i.glyphIDs);if(n.length>0)for(a in f=this.glyphsFor(n))i=f[a],o[a]=i;return o},e.prototype.encode=function(t,n){var i,o,a,l,c,f,p,m,v,w,d,y,_,k,b;for(o in i=Gc.encode(this.generateCmap(),"unicode"),l=this.glyphsFor(t),d={0:0},b=i.charMap)d[(f=b[o]).old]=f.new;for(y in w=i.maxGlyphID,l)y in d||(d[y]=w++);return m=function(L){var C,R;for(C in R={},L)R[L[C]]=C;return R}(d),v=Object.keys(m).sort(function(L,C){return L-C}),_=function(){var L,C,R;for(R=[],L=0,C=v.length;L<C;L++)c=v[L],R.push(m[c]);return R}(),a=this.font.glyf.encode(l,_,d),p=this.font.loca.encode(a.offsets,_),k={cmap:this.font.cmap.raw(),glyf:a.table,loca:p,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&&(k["OS/2"]=this.font.os2.raw()),this.font.directory.encode(k)},e}();Wt.API.PDFObject=function(){var e;function t(){}return e=function(n,i){return(Array(i+1).join("0")+n).slice(-i)},t.convert=function(n){var i,o,a,l;if(Array.isArray(n))return"["+function(){var c,f,p;for(p=[],c=0,f=n.length;c<f;c++)i=n[c],p.push(t.convert(i));return p}().join(" ")+"]";if(typeof n=="string")return"/"+n;if(n!=null&&n.isString)return"("+n+")";if(n instanceof Date)return"(D:"+e(n.getUTCFullYear(),4)+e(n.getUTCMonth(),2)+e(n.getUTCDate(),2)+e(n.getUTCHours(),2)+e(n.getUTCMinutes(),2)+e(n.getUTCSeconds(),2)+"Z)";if({}.toString.call(n)==="[object Object]"){for(o in a=["<<"],n)l=n[o],a.push("/"+o+" "+t.convert(l));return a.push(">>"),a.join("\n")}return""+n},t}();const b2=Object.freeze(Object.defineProperty({__proto__:null,AcroForm:X1,AcroFormAppearance:qt,AcroFormButton:Je,AcroFormCheckBox:Ba,AcroFormChoiceField:pi,AcroFormComboBox:mi,AcroFormEditBox:Ra,AcroFormListBox:gi,AcroFormPasswordField:Ma,AcroFormPushButton:Da,AcroFormRadioButton:vi,AcroFormTextField:Xr,GState:Ha,ShadingPattern:Yr,TilingPattern:hi,default:Wt,jsPDF:Wt},Symbol.toStringTag,{value:"Module"}));var ml=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};
120function U2(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function w2(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function i(){return this instanceof i?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(i){var o=Object.getOwnPropertyDescriptor(e,i);Object.defineProperty(n,i,o.get?o:{enumerable:!0,get:function(){return e[i]}})}),n}var A2={exports:{}};const S2=w2(b2);/*! 121 * 122 * jsPDF AutoTable plugin v3.8.2 123 * 124 * Copyright (c) 2024 Simon Bengtsson, https://github.com/simonbengtsson/jsPDF-AutoTable 125 * Licensed under the MIT License. 126 * http://opensource.org/licenses/mit-license 127 * 128 */(function(e,t){(function(i,o){e.exports=o(function(){try{return S2}catch(l){}}())})(typeof globalThis<"u"?globalThis:typeof ml<"u"?ml:typeof window<"u"?window:typeof self<"u"?self:ml,function(n){return function(){var i={172:function(c,f){var p=this&&this.__extends||function(){var w=function(d,y){return w=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(_,k){_.__proto__=k}||function(_,k){for(var b in k)Object.prototype.hasOwnProperty.call(k,b)&&(_[b]=k[b])},w(d,y)};return function(d,y){if(typeof y!="function"&&y!==null)throw new TypeError("Class extends value "+String(y)+" is not a constructor or null");w(d,y);function _(){this.constructor=d}d.prototype=y===null?Object.create(y):(_.prototype=y.prototype,new _)}}();Object.defineProperty(f,"__esModule",{value:!0}),f.CellHookData=f.HookData=void 0;var m=function(){function w(d,y,_){this.table=y,this.pageNumber=y.pageNumber,this.pageCount=this.pageNumber,this.settings=y.settings,this.cursor=_,this.doc=d.getDocument()}return w}();f.HookData=m;var v=function(w){p(d,w);function d(y,_,k,b,L,C){var R=w.call(this,y,_,C)||this;return R.cell=k,R.row=b,R.column=L,R.section=b.section,R}return d}(m);f.CellHookData=v},340:function(c,f,p){Object.defineProperty(f,"__esModule",{value:!0});var m=p(4),v=p(136),w=p(744),d=p(776),y=p(664),_=p(972);function k(b){b.API.autoTable=function(){for(var L=[],C=0;C<arguments.length;C++)L[C]=arguments[C];var R;L.length===1?R=L[0]:(console.error("Use of deprecated autoTable initiation"),R=L[2]||{},R.columns=L[0],R.body=L[1]);var U=(0,d.parseInput)(this,R),J=(0,_.createTable)(this,U);return(0,y.drawTable)(this,J),this},b.API.lastAutoTable=!1,b.API.previousAutoTable=!1,b.API.autoTable.previous=!1,b.API.autoTableText=function(L,C,R,U){(0,v.default)(L,C,R,U,this)},b.API.autoTableSetDefaults=function(L){return w.DocHandler.setDefaults(L,this),this},b.autoTableSetDefaults=function(L,C){w.DocHandler.setDefaults(L,C)},b.API.autoTableHtmlToJson=function(L,C){var R;if(C===void 0&&(C=!1),typeof window>"u")return console.error("Cannot run autoTableHtmlToJson in non browser environment"),null;var U=new w.DocHandler(this),J=(0,m.parseHtml)(U,L,window,C,!1),E=J.head,O=J.body,$=((R=E[0])===null||R===void 0?void 0:R.map(function(Q){return Q.content}))||[];return{columns:$,rows:O,data:O}},b.API.autoTableEndPosY=function(){console.error("Use of deprecated function: autoTableEndPosY. Use doc.lastAutoTable.finalY instead.");var L=this.lastAutoTable;return L&&L.finalY?L.finalY:0},b.API.autoTableAddPageContent=function(L){return console.error("Use of deprecated function: autoTableAddPageContent. Use jsPDF.autoTableSetDefaults({didDrawPage: () => {}}) instead."),b.API.autoTable.globalDefaults||(b.API.autoTable.globalDefaults={}),b.API.autoTable.globalDefaults.addPageContent=L,this},b.API.autoTableAddPage=function(){return console.error("Use of deprecated function: autoTableAddPage. Use doc.addPage()"),this.addPage(),this}}f.default=k},136:function(c,f){Object.defineProperty(f,"__esModule",{value:!0});function p(m,v,w,d,y){d=d||{};var _=1.15,k=y.internal.scaleFactor,b=y.internal.getFontSize()/k,L=y.getLineHeightFactor?y.getLineHeightFactor():_,C=b*L,R=/\r\n|\r|\n/g,U="",J=1;if((d.valign==="middle"||d.valign==="bottom"||d.halign==="center"||d.halign==="right")&&(U=typeof m=="string"?m.split(R):m,J=U.length||1),w+=b*(2-_),d.valign==="middle"?w-=J/2*C:d.val
128ign==="bottom"&&(w-=J*C),d.halign==="center"||d.halign==="right"){var E=b;if(d.halign==="center"&&(E*=.5),U&&J>=1){for(var O=0;O<U.length;O++)y.text(U[O],v-y.getStringUnitWidth(U[O])*E,w),w+=C;return y}v-=y.getStringUnitWidth(m)*E}return d.halign==="justify"?y.text(m,v,w,{maxWidth:d.maxWidth||100,align:"justify"}):y.text(m,v,w),y}f.default=p},420:function(c,f){Object.defineProperty(f,"__esModule",{value:!0}),f.getPageAvailableWidth=f.parseSpacing=f.getFillStyle=f.addTableBorder=f.getStringWidth=void 0;function p(y,_,k){k.applyStyles(_,!0);var b=Array.isArray(y)?y:[y],L=b.map(function(C){return k.getTextWidth(C)}).reduce(function(C,R){return Math.max(C,R)},0);return L}f.getStringWidth=p;function m(y,_,k,b){var L=_.settings.tableLineWidth,C=_.settings.tableLineColor;y.applyStyles({lineWidth:L,lineColor:C});var R=v(L,!1);R&&y.rect(k.x,k.y,_.getWidth(y.pageSize().width),b.y-k.y,R)}f.addTableBorder=m;function v(y,_){var k=y>0,b=_||_===0;return k&&b?"DF":k?"S":b?"F":null}f.getFillStyle=v;function w(y,_){var k,b,L,C;if(y=y||_,Array.isArray(y)){if(y.length>=4)return{top:y[0],right:y[1],bottom:y[2],left:y[3]};if(y.length===3)return{top:y[0],right:y[1],bottom:y[2],left:y[1]};if(y.length===2)return{top:y[0],right:y[1],bottom:y[0],left:y[1]};y.length===1?y=y[0]:y=_}return typeof y=="object"?(typeof y.vertical=="number"&&(y.top=y.vertical,y.bottom=y.vertical),typeof y.horizontal=="number"&&(y.right=y.horizontal,y.left=y.horizontal),{left:(k=y.left)!==null&&k!==void 0?k:_,top:(b=y.top)!==null&&b!==void 0?b:_,right:(L=y.right)!==null&&L!==void 0?L:_,bottom:(C=y.bottom)!==null&&C!==void 0?C:_}):(typeof y!="number"&&(y=_),{top:y,right:y,bottom:y,left:y})}f.parseSpacing=w;function d(y,_){var k=w(_.settings.margin,0);return y.pageSize().width-(k.left+k.right)}f.getPageAvailableWidth=d},796:function(c,f){var p=this&&this.__extends||function(){var d=function(y,_){return d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(k,b){k.__proto__=b}||function(k,b){for(var L in b)Object.prototype.hasOwnProperty.call(b,L)&&(k[L]=b[L])},d(y,_)};return function(y,_){if(typeof _!="function"&&_!==null)throw new TypeError("Class extends value "+String(_)+" is not a constructor or null");d(y,_);function k(){this.constructor=y}y.prototype=_===null?Object.create(_):(k.prototype=_.prototype,new k)}}();Object.defineProperty(f,"__esModule",{value:!0}),f.getTheme=f.defaultStyles=f.HtmlRowInput=void 0;var m=function(d){p(y,d);function y(_){var k=d.call(this)||this;return k._element=_,k}return y}(Array);f.HtmlRowInput=m;function v(d){return{font:"helvetica",fontStyle:"normal",overflow:"linebreak",fillColor:!1,textColor:20,halign:"left",valign:"top",fontSize:10,cellPadding:5/d,lineColor:200,lineWidth:0,cellWidth:"auto",minCellHeight:0,minCellWidth:0}}f.defaultStyles=v;function w(d){var y={striped:{table:{fillColor:255,textColor:80,fontStyle:"normal"},head:{textColor:255,fillColor:[41,128,185],fontStyle:"bold"},body:{},foot:{textColor:255,fillColor:[41,128,185],fontStyle:"bold"},alternateRow:{fillColor:245}},grid:{table:{fillColor:255,textColor:80,fontStyle:"normal",lineWidth:.1},head:{textColor:255,fillColor:[26,188,156],fontStyle:"bold",lineWidth:0},body:{},foot:{textColor:255,fillColor:[26,188,156],fontStyle:"bold",lineWidth:0},alternateRow:{}},plain:{head:{fontStyle:"bold"},foot:{fontStyle:"bold"}}};return y[d]}f.getTheme=w},903:function(c,f,p){Object.defineProperty(f,"__esModule",{value:!0}),f.parseCss=void 0;var m=p(420);function v(k,b,L,C,R){var U={},J=1.3333333333333333,E=d(b,function(K){return R.getComputedStyle(K).backgroundColor});E!=null&&(U.fillColor=E);var O=d(b,function(K){return R.getComputedStyle(K).color});O!=null&&(U.textColor=O);var $=_(C,L);$&&(U.cellPadding=$);var Q="borderTopColor",P=J*L,A=C.borderTopWidth;if(C.borderBottomWidth===A&&C.borderRightWidth===A&&C.borderLeftWidth===A){var z=(parseFloat(A)||0)/P;z&&(U.lineWidth=z)}else U.lineWidth={top:(parseFloat(C.borderTopWidth)||0)/P,right:(parseFloat(C.borderRightWidth)||0)/P,bottom:(parseFloat(C.borderBottomWidth)||0)/P,left:(parseFloat(C.borderLeftWidth)||0)/P},U.lineWidth.top||(U.lineWidth.right?Q="borderRightColor":U.lineWidth.bottom?Q="borderBottomColor":U.lineWidth.left&&(Q="borderLeftColor"));console.log(U.lineWidth);var B=d(b,function(K){return R.getComputedStyle(K)[Q]});B!=null&&(U.lineColor=B);var ot=["left","right","center","justify"];ot.indexOf(C.textAlign)!==-1&&(U.halign=C.textAlign),ot=["middle","bottom","top"],ot.indexOf(C.verticalAlign)!==-1&&(U.valign=C.verticalAlign);var W=parseInt(C.fontSize||"");isNaN(W)||(U.fontSize=W/J);var H=w(C);H&&(U.fontStyle=H);var Y=(C.fontFamily||"").toLowerCase();return k.indexOf(Y)!==-1&&(U.font=Y),U}f.parseCss=v;function w(k){var b="";return(k.fontWeight==="bold"||k.fontWeight==="bolder"||parseInt(k.fontWeight)>=700)&&(b="bold"),(k.fontStyle==="italic"||k.fontStyle==="oblique")&&(b+="italic"),b}function d(k,b){var L=y(k,b);if(!L)return null;var C=L.match(/^rgba?\((\d+),\s*(\d+),\s*(\d+)(?:,\s*(\d*\.?\d*))?\)$/);if(!C||!Array.isArray(C))return null;var R=[parseInt(C[1]),parseInt(C[2]),parseInt(C[3])],U=parseInt(C[4]);return U===0||isNaN(R[0])||isNaN(R[1])||isNaN(R[2])?null:R}function y(k,b){var L=b(k);return L==="rgba(0, 0, 0, 0)"||L==="transparent"||L==="initial"||L==="inherit"?k.parentElement==null?null:y(k.parentElement,b):L}function _(k,b){var L=[k.paddingTop,k.paddingRight,k.paddingBottom,k.paddingLeft],C=96/(72/b),R=(parseInt(k.lineHeight)-parseInt(k.fontSize))/b/2,U=L.map(function(E){return parseInt(E||"0")/C}),J=(0,m.parseSpacing)(U,0);return R>J.top&&(J.top=R),R>J.bottom&&(J.bottom=R),J}}
128,744:function(c,f){Object.defineProperty(f,"__esModule",{value:!0}),f.DocHandler=void 0;var p={},m=function(){function v(w){this.jsPDFDocument=w,this.userStyles={textColor:w.getTextColor?this.jsPDFDocument.getTextColor():0,fontSize:w.internal.getFontSize(),fontStyle:w.internal.getFont().fontStyle,font:w.internal.getFont().fontName,lineWidth:w.getLineWidth?this.jsPDFDocument.getLineWidth():0,lineColor:w.getDrawColor?this.jsPDFDocument.getDrawColor():0}}return v.setDefaults=function(w,d){d===void 0&&(d=null),d?d.__autoTableDocumentDefaults=w:p=w},v.unifyColor=function(w){return Array.isArray(w)?w:typeof w=="number"?[w,w,w]:typeof w=="string"?[w]:null},v.prototype.applyStyles=function(w,d){var y,_,k;d===void 0&&(d=!1),w.fontStyle&&this.jsPDFDocument.setFontStyle&&this.jsPDFDocument.setFontStyle(w.fontStyle);var b=this.jsPDFDocument.internal.getFont(),L=b.fontStyle,C=b.fontName;if(w.font&&(C=w.font),w.fontStyle){L=w.fontStyle;var R=this.getFontList()[C];R&&R.indexOf(L)===-1&&(this.jsPDFDocument.setFontStyle&&this.jsPDFDocument.setFontStyle(R[0]),L=R[0])}if(this.jsPDFDocument.setFont(C,L),w.fontSize&&this.jsPDFDocument.setFontSize(w.fontSize),!d){var U=v.unifyColor(w.fillColor);U&&(y=this.jsPDFDocument).setFillColor.apply(y,U),U=v.unifyColor(w.textColor),U&&(_=this.jsPDFDocument).setTextColor.apply(_,U),U=v.unifyColor(w.lineColor),U&&(k=this.jsPDFDocument).setDrawColor.apply(k,U),typeof w.lineWidth=="number"&&this.jsPDFDocument.setLineWidth(w.lineWidth)}},v.prototype.splitTextToSize=function(w,d,y){return this.jsPDFDocument.splitTextToSize(w,d,y)},v.prototype.rect=function(w,d,y,_,k){return this.jsPDFDocument.rect(w,d,y,_,k)},v.prototype.getLastAutoTable=function(){return this.jsPDFDocument.lastAutoTable||null},v.prototype.getTextWidth=function(w){return this.jsPDFDocument.getTextWidth(w)},v.prototype.getDocument=function(){return this.jsPDFDocument},v.prototype.setPage=function(w){this.jsPDFDocument.setPage(w)},v.prototype.addPage=function(){return this.jsPDFDocument.addPage()},v.prototype.getFontList=function(){return this.jsPDFDocument.getFontList()},v.prototype.getGlobalOptions=function(){return p||{}},v.prototype.getDocumentOptions=function(){return this.jsPDFDocument.__autoTableDocumentDefaults||{}},v.prototype.pageSize=function(){var w=this.jsPDFDocument.internal.pageSize;return w.width==null&&(w={width:w.getWidth(),height:w.getHeight()}),w},v.prototype.scaleFactor=function(){return this.jsPDFDocument.internal.scaleFactor},v.prototype.getLineHeightFactor=function(){var w=this.jsPDFDocument;return w.getLineHeightFactor?w.getLineHeightFactor():1.15},v.prototype.getLineHeight=function(w){return w/this.scaleFactor()*this.getLineHeightFactor()},v.prototype.pageNumber=function(){var w=this.jsPDFDocument.internal.getCurrentPageInfo();return w?w.pageNumber:this.jsPDFDocument.internal.getNumberOfPages()},v}();f.DocHandler=m},4:function(c,f,p){Object.defineProperty(f,"__esModule",{value:!0}),f.parseHtml=void 0;var m=p(903),v=p(796);function w(_,k,b,L,C){var R,U;L===void 0&&(L=!1),C===void 0&&(C=!1);var J;typeof k=="string"?J=b.document.querySelector(k):J=k;var E=Object.keys(_.getFontList()),O=_.scaleFactor(),$=[],Q=[],P=[];if(!J)return console.error("Html table could not be found with input: ",k),{head:$,body:Q,foot:P};for(var A=0;A<J.rows.length;A++){var z=J.rows[A],B=(U=(R=z==null?void 0:z.parentElement)===null||R===void 0?void 0:R.tagName)===null||U===void 0?void 0:U.toLowerCase(),ot=d(E,O,b,z,L,C);ot&&(B==="thead"?$.push(ot):B==="tfoot"?P.push(ot):Q.push(ot))}return{head:$,body:Q,foot:P}}f.parseHtml=w;function d(_,k,b,L,C,R){for(var U=new v.HtmlRowInput(L),J=0;J<L.cells.length;J++){var E=L.cells[J],O=b.getComputedStyle(E);if(C||O.display!=="none"){var $=void 0;R&&($=(0,m.parseCss)(_,E,k,O,b)),U.push({rowSpan:E.rowSpan,colSpan:E.colSpan,styles:$,_element:E,content:y(E)})}}var Q=b.getComputedStyle(L);if(U.length>0&&(C||Q.display!=="none"))return U}function y(_){var k=_.cloneNode(!0);return k.innerHTML=k.innerHTML.replace(/\n/g,"").replace(/ +/g," "),k.innerHTML=k.innerHTML.split(/<br.*?>/).map(function(b){return b.trim()}).join("\n"),k.innerText||k.textContent||""}}
128,776:function(c,f,p){Object.defineProperty(f,"__esModule",{value:!0}),f.parseInput=void 0;var m=p(4),v=p(356),w=p(420),d=p(744),y=p(792);function _(J,E){var O=new d.DocHandler(J),$=O.getDocumentOptions(),Q=O.getGlobalOptions();(0,y.default)(O,Q,$,E);var P=(0,v.assign)({},Q,$,E),A;typeof window<"u"&&(A=window);var z=k(Q,$,E),B=b(Q,$,E),ot=L(O,P),W=R(O,P,A);return{id:E.tableId,content:W,hooks:B,styles:z,settings:ot}}f.parseInput=_;function k(J,E,O){for(var $={styles:{},headStyles:{},bodyStyles:{},footStyles:{},alternateRowStyles:{},columnStyles:{}},Q=function(B){if(B==="columnStyles"){var ot=J[B],W=E[B],H=O[B];$.columnStyles=(0,v.assign)({},ot,W,H)}else{var Y=[J,E,O],K=Y.map(function(et){return et[B]||{}});$[B]=(0,v.assign)({},K[0],K[1],K[2])}},P=0,A=Object.keys($);P<A.length;P++){var z=A[P];Q(z)}return $}function b(J,E,O){for(var $=[J,E,O],Q={didParseCell:[],willDrawCell:[],didDrawCell:[],willDrawPage:[],didDrawPage:[]},P=0,A=$;P<A.length;P++){var z=A[P];z.didParseCell&&Q.didParseCell.push(z.didParseCell),z.willDrawCell&&Q.willDrawCell.push(z.willDrawCell),z.didDrawCell&&Q.didDrawCell.push(z.didDrawCell),z.willDrawPage&&Q.willDrawPage.push(z.willDrawPage),z.didDrawPage&&Q.didDrawPage.push(z.didDrawPage)}return Q}function L(J,E){var O,$,Q,P,A,z,B,ot,W,H,Y,K,et=(0,w.parseSpacing)(E.margin,40/J.scaleFactor()),dt=(O=C(J,E.startY))!==null&&O!==void 0?O:et.top,S;E.showFoot===!0?S="everyPage":E.showFoot===!1?S="never":S=($=E.showFoot)!==null&&$!==void 0?$:"everyPage";var D;E.showHead===!0?D="everyPage":E.showHead===!1?D="never":D=(Q=E.showHead)!==null&&Q!==void 0?Q:"everyPage";var M=(P=E.useCss)!==null&&P!==void 0?P:!1,G=E.theme||(M?"plain":"striped"),Z=!!E.horizontalPageBreak,st=(A=E.horizontalPageBreakRepeat)!==null&&A!==void 0?A:null;return{includeHiddenHtml:(z=E.includeHiddenHtml)!==null&&z!==void 0?z:!1,useCss:M,theme:G,startY:dt,margin:et,pageBreak:(B=E.pageBreak)!==null&&B!==void 0?B:"auto",rowPageBreak:(ot=E.rowPageBreak)!==null&&ot!==void 0?ot:"auto",tableWidth:(W=E.tableWidth)!==null&&W!==void 0?W:"auto",showHead:D,showFoot:S,tableLineWidth:(H=E.tableLineWidth)!==null&&H!==void 0?H:0,tableLineColor:(Y=E.tableLineColor)!==null&&Y!==void 0?Y:200,horizontalPageBreak:Z,horizontalPageBreakRepeat:st,horizontalPageBreakBehaviour:(K=E.horizontalPageBreakBehaviour)!==null&&K!==void 0?K:"afterAllRows"}}function C(J,E){var O=J.getLastAutoTable(),$=J.scaleFactor(),Q=J.pageNumber(),P=!1;if(O&&O.startPageNumber){var A=O.startPageNumber+O.pageNumber-1;P=A===Q}return typeof E=="number"?E:(E==null||E===!1)&&P&&(O==null?void 0:O.finalY)!=null?O.finalY+20/$:null}function R(J,E,O){var $=E.head||[],Q=E.body||[],P=E.foot||[];if(E.html){var A=E.includeHiddenHtml;if(O){var z=(0,m.parseHtml)(J,E.html,O,A,E.useCss)||{};$=z.head||$,Q=z.body||$,P=z.foot||$}else console.error("Cannot parse html in non browser environment")}var B=E.columns||U($,Q,P);return{columns:B,head:$,body:Q,foot:P}}function U(J,E,O){var $=J[0]||E[0]||O[0]||[],Q=[];return Object.keys($).filter(function(P){return P!=="_element"}).forEach(function(P){var A=1,z;Array.isArray($)?z=$[parseInt(P)]:z=$[P],typeof z=="object"&&!Array.isArray(z)&&(A=(z==null?void 0:z.colSpan)||1);for(var B=0;B<A;B++){var ot=void 0;Array.isArray($)?ot=Q.length:ot=P+(B>0?"_".concat(B):"");var W={dataKey:ot};Q.push(W)}}),Q}},792:function(c,f){Object.defineProperty(f,"__esModule",{value:!0});function p(v,w,d,y){for(var _=function(C){C&&typeof C!="object"&&console.error("The options parameter should be of type object, is: "+typeof C),typeof C.extendWidth<"u"&&(C.tableWidth=C.extendWidth?"auto":"wrap",console.error("Use of deprecated option: extendWidth, use tableWidth instead.")),typeof C.margins<"u"&&(typeof C.margin>"u"&&(C.margin=C.margins),console.error("Use of deprecated option: margins, use margin instead.")),C.startY&&typeof C.startY!="number"&&(console.error("Invalid value for startY option",C.startY),delete C.startY),!C.didDrawPage&&(C.afterPageContent||C.beforePageContent||C.afterPageAdd)&&(console.error("The afterPageContent, beforePageContent and afterPageAdd hooks are deprecated. Use didDrawPage instead"),C.didDrawPage=function(P){v.applyStyles(v.userStyles),C.beforePageContent&&C.beforePageContent(P),v.applyStyles(v.userStyles),C.afterPageContent&&C.afterPageContent(P),v.applyStyles(v.userStyles),C.afterPageAdd&&P.pageNumber>
1281&&P.afterPageAdd(P),v.applyStyles(v.userStyles)}),["createdHeaderCell","drawHeaderRow","drawRow","drawHeaderCell"].forEach(function(P){C[P]&&console.error('The "'.concat(P,'" hook has changed in version 3.0, check the changelog for how to migrate.'))}),[["showFoot","showFooter"],["showHead","showHeader"],["didDrawPage","addPageContent"],["didParseCell","createdCell"],["headStyles","headerStyles"]].forEach(function(P){var A=P[0],z=P[1];C[z]&&(console.error("Use of deprecated option ".concat(z,". Use ").concat(A," instead")),C[A]=C[z])}),[["padding","cellPadding"],["lineHeight","rowHeight"],"fontSize","overflow"].forEach(function(P){var A=typeof P=="string"?P:P[0],z=typeof P=="string"?P:P[1];typeof C[A]<"u"&&(typeof C.styles[z]>"u"&&(C.styles[z]=C[A]),console.error("Use of deprecated option: "+A+", use the style "+z+" instead."))});for(var R=0,U=["styles","bodyStyles","headStyles","footStyles"];R<U.length;R++){var J=U[R];m(C[J]||{})}for(var E=C.columnStyles||{},O=0,$=Object.keys(E);O<$.length;O++){var Q=$[O];m(E[Q]||{})}},k=0,b=[w,d,y];k<b.length;k++){var L=b[k];_(L)}}f.default=p;function m(v){v.rowHeight?(console.error("Use of deprecated style rowHeight. It is renamed to minCellHeight."),v.minCellHeight||(v.minCellHeight=v.rowHeight)):v.columnWidth&&(console.error("Use of deprecated style columnWidth. It is renamed to cellWidth."),v.cellWidth||(v.cellWidth=v.columnWidth))}},260:function(c,f,p){Object.defineProperty(f,"__esModule",{value:!0}),f.Column=f.Cell=f.Row=f.Table=void 0;var m=p(796),v=p(172),w=p(420),d=function(){function b(L,C){this.pageNumber=1,this.pageCount=1,this.id=L.id,this.settings=L.settings,this.styles=L.styles,this.hooks=L.hooks,this.columns=C.columns,this.head=C.head,this.body=C.body,this.foot=C.foot}return b.prototype.getHeadHeight=function(L){return this.head.reduce(function(C,R){return C+R.getMaxCellHeight(L)},0)},b.prototype.getFootHeight=function(L){return this.foot.reduce(function(C,R){return C+R.getMaxCellHeight(L)},0)},b.prototype.allRows=function(){return this.head.concat(this.body).concat(this.foot)},b.prototype.callCellHooks=function(L,C,R,U,J,E){for(var O=0,$=C;O<$.length;O++){var Q=$[O],P=new v.CellHookData(L,this,R,U,J,E),A=Q(P)===!1;if(R.text=Array.isArray(R.text)?R.text:[R.text],A)return!1}return!0},b.prototype.callEndPageHooks=function(L,C){L.applyStyles(L.userStyles);for(var R=0,U=this.hooks.didDrawPage;R<U.length;R++){var J=U[R];J(new v.HookData(L,this,C))}},b.prototype.callWillDrawPageHooks=function(L,C){for(var R=0,U=this.hooks.willDrawPage;R<U.length;R++){var J=U[R];J(new v.HookData(L,this,C))}},b.prototype.getWidth=function(L){if(typeof this.settings.tableWidth=="number")return this.settings.tableWidth;if(this.settings.tableWidth==="wrap"){var C=this.columns.reduce(function(U,J){return U+J.wrappedWidth},0);return C}else{var R=this.settings.margin;return L-R.left-R.right}},b}();f.Table=d;var y=function(){function b(L,C,R,U,J){J===void 0&&(J=!1),this.height=0,this.raw=L,L instanceof m.HtmlRowInput&&(this.raw=L._element,this.element=L._element),this.index=C,this.section=R,this.cells=U,this.spansMultiplePages=J}return b.prototype.getMaxCellHeight=function(L){var C=this;return L.reduce(function(R,U){var J;return Math.max(R,((J=C.cells[U.index])===null||J===void 0?void 0:J.height)||0)},0)},b.prototype.hasRowSpan=function(L){var C=this;return L.filter(function(R){var U=C.cells[R.index];return U?U.rowSpan>1:!1}).length>0},b.prototype.canEntireRowFit=function(L,C){return this.getMaxCellHeight(C)<=L},b.prototype.getMinimumRowHeight=function(L,C){var R=this;return L.reduce(function(U,J){var E=R.cells[J.index];if(!E)return 0;var O=C.getLineHeight(E.styles.fontSize),$=E.padding("vertical"),Q=$+O;return Q>U?Q:U},0)},b}();f.Row=y;var _=function(){function b(L,C,R){var U,J;this.contentHeight=0,this.contentWidth=0,this.wrappedWidth=0,this.minReadableWidth=0,this.minWidth=0,this.width=0,this.height=0,this.x=0,this.y=0,this.styles=C,this.section=R,this.raw=L;var E=L;L!=null&&typeof L=="object"&&!Array.isArray(L)?(this.rowSpan=L.rowSpan||1,this.colSpan=L.colSpan||1,E=(J=(U=L.content)!==null&&U!==void 0?U:L.title)!==null&&J!==void 0?J:L,L._element&&(this.raw=L._element)):(this.rowSpan=1,this.colSpan=1);var O=E!=null?""+E:"",$=/\r\n|\r|\n/g;this.text=O.split($)}return b.prototype.getTextPos=function(){var L;if(this.styles.valign==="top")L=this.y+this.padding("top");else if(this.styles.valign==="bottom")L=this.y+this.height-this.padding("bottom");else{var C=this.height-this.padding("vertical");L=this.y+C/2+this.padding("top")}var R;if(this.styles.halign==="right")R=this.x+this.width-this.padding("right");else if(this.styles.halign==="center"){var U=this.width-this.padding("horizontal");R=this.x+U/2+this.padding("left")}else R=this.x+this.padding("left");return{x:R,y:L}},b.prototype.getContentHeight=function(L,C){C===void 0&&(C=1.15);var R=Array.isArray(this.text)?this.text.length:1,U=this.styles.fontSize/L*C,J=R*U+this.padding("vertical");return Math.max(J,this.styles.minCellHeight)},b.prototype.padding=function(L){var C=(0,w.parseSpacing)(this.styles.cellPadding,0);return L==="vertical"?C.top+C.bottom:L==="horizontal"?C.left+C.right:C[L]},b}();f.Cell=_;var k=function(){function b(L,C,R){this.wrappedWidth=0,this.minReadableWidth=0,this.minWidth=0,this.width=0,this.dataKey=L,this.raw=C,this.index=R}return b.prototype.getMaxCustomCellWidth=function(L){for(var C=0,R=0,U=L.allRows();R<U.length;R++){var J=U[R],E=J.cells[this.index];E&&typeof E.styles.cellWidth=="number"&&(C=Math.max(C,E.styles.cellWidth))}return C},b}();f.Column=k}
128,356:function(c,f){Object.defineProperty(f,"__esModule",{value:!0}),f.assign=void 0;function p(m,v,w,d,y){if(m==null)throw new TypeError("Cannot convert undefined or null to object");for(var _=Object(m),k=1;k<arguments.length;k++){var b=arguments[k];if(b!=null)for(var L in b)Object.prototype.hasOwnProperty.call(b,L)&&(_[L]=b[L])}return _}f.assign=p},972:function(c,f,p){Object.defineProperty(f,"__esModule",{value:!0}),f.createTable=void 0;var m=p(744),v=p(260),w=p(324),d=p(796),y=p(356);function _(J,E){var O=new m.DocHandler(J),$=k(E,O.scaleFactor()),Q=new v.Table(E,$);return(0,w.calculateWidths)(O,Q),O.applyStyles(O.userStyles),Q}f.createTable=_;function k(J,E){var O=J.content,$=R(O.columns);if(O.head.length===0){var Q=L($,"head");Q&&O.head.push(Q)}if(O.foot.length===0){var Q=L($,"foot");Q&&O.foot.push(Q)}var P=J.settings.theme,A=J.styles;return{columns:$,head:b("head",O.head,$,A,P,E),body:b("body",O.body,$,A,P,E),foot:b("foot",O.foot,$,A,P,E)}}function b(J,E,O,$,Q,P){var A={},z=E.map(function(B,ot){for(var W=0,H={},Y=0,K=0,et=0,dt=O;et<dt.length;et++){var S=dt[et];if(A[S.index]==null||A[S.index].left===0)if(K===0){var D=void 0;Array.isArray(B)?D=B[S.index-Y-W]:D=B[S.dataKey];var M={};typeof D=="object"&&!Array.isArray(D)&&(M=(D==null?void 0:D.styles)||{});var G=U(J,S,ot,Q,$,P,M),Z=new v.Cell(D,G,J);H[S.dataKey]=Z,H[S.index]=Z,K=Z.colSpan-1,A[S.index]={left:Z.rowSpan-1,times:K}}else K--,Y++;else A[S.index].left--,K=A[S.index].times,W++}return new v.Row(B,ot,J,H)});return z}function L(J,E){var O={};return J.forEach(function($){if($.raw!=null){var Q=C(E,$.raw);Q!=null&&(O[$.dataKey]=Q)}}),Object.keys(O).length>0?O:null}function C(J,E){if(J==="head"){if(typeof E=="object")return E.header||E.title||null;if(typeof E=="string"||typeof E=="number")return E}else if(J==="foot"&&typeof E=="object")return E.footer;return null}function R(J){return J.map(function(E,O){var $,Q,P;return typeof E=="object"?P=(Q=($=E.dataKey)!==null&&$!==void 0?$:E.key)!==null&&Q!==void 0?Q:O:P=O,new v.Column(P,E,O)})}function U(J,E,O,$,Q,P,A){var z=(0,d.getTheme)($),B;J==="head"?B=Q.headStyles:J==="body"?B=Q.bodyStyles:J==="foot"&&(B=Q.footStyles);var ot=(0,y.assign)({},z.table,z[J],Q.styles,B),W=Q.columnStyles[E.dataKey]||Q.columnStyles[E.index]||{},H=J==="body"?W:{},Y=J==="body"&&O%2===0?(0,y.assign)({},z.alternateRow,Q.alternateRowStyles):{},K=(0,d.defaultStyles)(P),et=(0,y.assign)({},K,ot,Y,H);return(0,y.assign)(et,A)}},664:function(c,f,p){Object.defineProperty(f,"__esModule",{value:!0}),f.addPage=f.drawTable=void 0;var m=p(420),v=p(260),w=p(744),d=p(356),y=p(136),_=p(224);function k(W,H){var Y=H.settings,K=Y.startY,et=Y.margin,dt={x:et.left,y:K},S=H.getHeadHeight(H.columns)+H.getFootHeight(H.columns),D=K+et.bottom+S;if(Y.pageBreak==="avoid"){var M=H.body,G=M.reduce(function(ut,ht){return ut+ht.height},0);D+=G}var Z=new w.DocHandler(W);(Y.pageBreak==="always"||Y.startY!=null&&D>Z.pageSize().height)&&(ot(Z),dt.y=et.top),H.callWillDrawPageHooks(Z,dt);var st=(0,d.assign)({},dt);H.startPageNumber=Z.pageNumber(),Y.horizontalPageBreak?b(Z,H,st,dt):(Z.applyStyles(Z.userStyles),(Y.showHead==="firstPage"||Y.showHead==="everyPage")&&H.head.forEach(function(ut){return Q(Z,H,ut,dt,H.columns)}),Z.applyStyles(Z.userStyles),H.body.forEach(function(ut,ht){var kt=ht===H.body.length-1;$(Z,H,ut,kt,st,dt,H.columns)}),Z.applyStyles(Z.userStyles),(Y.showFoot==="lastPage"||Y.showFoot==="everyPage")&&H.foot.forEach(function(ut){return Q(Z,H,ut,dt,H.columns)})),(0,m.addTableBorder)(Z,H,st,dt),H.callEndPageHooks(Z,dt),H.finalY=dt.y,W.lastAutoTable=H,W.previousAutoTable=H,W.autoTable&&(W.autoTable.previous=H),Z.applyStyles(Z.userStyles)}f.drawTable=k;function b(W,H,Y,K){var et=(0,_.calculateAllColumnsCanFitInPage)(W,H),dt=H.settings;if(dt.horizontalPageBreakBehaviour==="afterAllRows")et.forEach(function(G,Z){W.applyStyles(W.userStyles),Z>0?B(W,H,Y,K,G.columns,!0):L(W,H,K,G.columns),C(W,H,Y,K,G.columns),U(W,H,K,G.columns)});else for(var S=-1,D=et[0],M=function(){var G=S;if(D){W.applyStyles(W.userStyles);var Z=D.columns;S>=0?B(W,H,Y,K,Z,!0):L(W,H,K,Z),G=R(W,H,S+1,K,Z),U(W,H,K,Z)}var st=G-S;
128et.slice(1).forEach(function(ut){W.applyStyles(W.userStyles),B(W,H,Y,K,ut.columns,!0),R(W,H,S+1,K,ut.columns,st),U(W,H,K,ut.columns)}),S=G};S<H.body.length-1;)M()}function L(W,H,Y,K){var et=H.settings;W.applyStyles(W.userStyles),(et.showHead==="firstPage"||et.showHead==="everyPage")&&H.head.forEach(function(dt){return Q(W,H,dt,Y,K)})}function C(W,H,Y,K,et){W.applyStyles(W.userStyles),H.body.forEach(function(dt,S){var D=S===H.body.length-1;$(W,H,dt,D,Y,K,et)})}function R(W,H,Y,K,et,dt){W.applyStyles(W.userStyles),dt=dt!=null?dt:H.body.length;var S=Math.min(Y+dt,H.body.length),D=-1;return H.body.slice(Y,S).forEach(function(M,G){var Z=Y+G===H.body.length-1,st=z(W,H,Z,K);M.canEntireRowFit(st,et)&&(Q(W,H,M,K,et),D=Y+G)}),D}function U(W,H,Y,K){var et=H.settings;W.applyStyles(W.userStyles),(et.showFoot==="lastPage"||et.showFoot==="everyPage")&&H.foot.forEach(function(dt){return Q(W,H,dt,Y,K)})}function J(W,H,Y){var K=Y.getLineHeight(W.styles.fontSize),et=W.padding("vertical"),dt=Math.floor((H-et)/K);return Math.max(0,dt)}function E(W,H,Y,K){var et={};W.spansMultiplePages=!0,W.height=0;for(var dt=0,S=0,D=Y.columns;S<D.length;S++){var M=D[S],G=W.cells[M.index];if(G){Array.isArray(G.text)||(G.text=[G.text]);var Z=new v.Cell(G.raw,G.styles,G.section);Z=(0,d.assign)(Z,G),Z.text=[];var st=J(G,H,K);G.text.length>st&&(Z.text=G.text.splice(st,G.text.length));var ut=K.scaleFactor(),ht=K.getLineHeightFactor();G.contentHeight=G.getContentHeight(ut,ht),G.contentHeight>=H&&(G.contentHeight=H,Z.styles.minCellHeight-=H),G.contentHeight>W.height&&(W.height=G.contentHeight),Z.contentHeight=Z.getContentHeight(ut,ht),Z.contentHeight>dt&&(dt=Z.contentHeight),et[M.index]=Z}}var kt=new v.Row(W.raw,-1,W.section,et,!0);kt.height=dt;for(var _t=0,It=Y.columns;_t<It.length;_t++){var M=It[_t],Z=kt.cells[M.index];Z&&(Z.height=kt.height);var G=W.cells[M.index];G&&(G.height=W.height)}return kt}function O(W,H,Y,K){var et=W.pageSize().height,dt=K.settings.margin,S=dt.top+dt.bottom,D=et-S;H.section==="body"&&(D-=K.getHeadHeight(K.columns)+K.getFootHeight(K.columns));var M=H.getMinimumRowHeight(K.columns,W),G=M<Y;if(M>D)return console.error("Will not be able to print row ".concat(H.index," correctly since it's minimum height is larger than page height")),!0;if(!G)return!1;var Z=H.hasRowSpan(K.columns),st=H.getMaxCellHeight(K.columns)>D;return st?(Z&&console.error("The content of row ".concat(H.index," will not be drawn correctly since drawing rows with a height larger than the page height and has cells with rowspans is not supported.")),!0):!(Z||K.settings.rowPageBreak==="avoid")}function $(W,H,Y,K,et,dt,S){var D=z(W,H,K,dt);if(Y.canEntireRowFit(D,S))Q(W,H,Y,dt,S);else if(O(W,Y,D,H)){var M=E(Y,D,H,W);Q(W,H,Y,dt,S),B(W,H,et,dt,S),$(W,H,M,K,et,dt,S)}else B(W,H,et,dt,S),$(W,H,Y,K,et,dt,S)}function Q(W,H,Y,K,et){K.x=H.settings.margin.left;for(var dt=0,S=et;dt<S.length;dt++){var D=S[dt],M=Y.cells[D.index];if(!M){K.x+=D.width;continue}W.applyStyles(M.styles),M.x=K.x,M.y=K.y;var G=H.callCellHooks(W,H.hooks.willDrawCell,M,Y,D,K);if(G===!1){K.x+=D.width;continue}P(W,M,K);var Z=M.getTextPos();(0,y.default)(M.text,Z.x,Z.y,{halign:M.styles.halign,valign:M.styles.valign,maxWidth:Math.ceil(M.width-M.padding("left")-M.padding("right"))},W.getDocument()),H.callCellHooks(W,H.hooks.didDrawCell,M,Y,D,K),K.x+=D.width}K.y+=Y.height}function P(W,H,Y){var K=H.styles;if(W.getDocument().setFillColor(W.getDocument().getFillColor()),typeof K.lineWidth=="number"){var et=(0,m.getFillStyle)(K.lineWidth,K.fillColor);et&&W.rect(H.x,Y.y,H.width,H.height,et)}else typeof K.lineWidth=="object"&&(K.fillColor&&W.rect(H.x,Y.y,H.width,H.height,"F"),A(W,H,Y,K.lineWidth))}function A(W,H,Y,K){var et,dt,S,D;K.top&&(et=Y.x,dt=Y.y,S=Y.x+H.width,D=Y.y,K.right&&(S+=.5*K.right),K.left&&(et-=.5*K.left),M(K.top,et,dt,S,D)),K.bottom&&(et=Y.x,dt=Y.y+H.height,S=Y.x+H.width,D=Y.y+H.height,K.right&&(S+=.5*K.right),K.left&&(et-=.5*K.left),M(K.bottom,et,dt,S,D)),K.left&&(et=Y.x,dt=Y.y,S=Y.x,D=Y.y+H.height,K.top&&(dt-=.5*K.top),K.bottom&&(D+=.5*K.bottom),M(K.left,et,dt,S,D)),K.right&&(et=Y.x+H.width,dt=Y.y,S=Y.x+H.width,D=Y.y+H.height,K.top&&
128(dt-=.5*K.top),K.bottom&&(D+=.5*K.bottom),M(K.right,et,dt,S,D));function M(G,Z,st,ut,ht){W.getDocument().setLineWidth(G),W.getDocument().line(Z,st,ut,ht,"S")}}function z(W,H,Y,K){var et=H.settings.margin.bottom,dt=H.settings.showFoot;return(dt==="everyPage"||dt==="lastPage"&&Y)&&(et+=H.getFootHeight(H.columns)),W.pageSize().height-K.y-et}function B(W,H,Y,K,et,dt){et===void 0&&(et=[]),dt===void 0&&(dt=!1),W.applyStyles(W.userStyles),H.settings.showFoot==="everyPage"&&!dt&&H.foot.forEach(function(D){return Q(W,H,D,K,et)}),H.callEndPageHooks(W,K);var S=H.settings.margin;(0,m.addTableBorder)(W,H,Y,K),ot(W),H.pageNumber++,H.pageCount++,K.x=S.left,K.y=S.top,Y.y=S.top,H.callWillDrawPageHooks(W,K),H.settings.showHead==="everyPage"&&(H.head.forEach(function(D){return Q(W,H,D,K,et)}),W.applyStyles(W.userStyles))}f.addPage=B;function ot(W){var H=W.pageNumber();W.setPage(H+1);var Y=W.pageNumber();return Y===H?(W.addPage(),!0):!1}},224:function(c,f,p){Object.defineProperty(f,"__esModule",{value:!0}),f.calculateAllColumnsCanFitInPage=void 0;var m=p(420);function v(d,y,_){var k;_===void 0&&(_={});var b=(0,m.getPageAvailableWidth)(d,y),L=new Map,C=[],R=[],U=[];y.settings.horizontalPageBreakRepeat,Array.isArray(y.settings.horizontalPageBreakRepeat)?U=y.settings.horizontalPageBreakRepeat:(typeof y.settings.horizontalPageBreakRepeat=="string"||typeof y.settings.horizontalPageBreakRepeat=="number")&&(U=[y.settings.horizontalPageBreakRepeat]),U.forEach(function($){var Q=y.columns.find(function(P){return P.dataKey===$||P.index===$});Q&&!L.has(Q.index)&&(L.set(Q.index,!0),C.push(Q.index),R.push(y.columns[Q.index]),b-=Q.wrappedWidth)});for(var J=!0,E=(k=_==null?void 0:_.start)!==null&&k!==void 0?k:0;E<y.columns.length;){if(L.has(E)){E++;continue}var O=y.columns[E].wrappedWidth;if(J||b>=O)J=!1,C.push(E),R.push(y.columns[E]),b-=O;else break;E++}return{colIndexes:C,columns:R,lastIndex:E-1}}function w(d,y){for(var _=[],k=0;k<y.columns.length;k++){var b=v(d,y,{start:k});b.columns.length&&(_.push(b),k=b.lastIndex)}return _}f.calculateAllColumnsCanFitInPage=w},324:function(c,f,p){Object.defineProperty(f,"__esModule",{value:!0}),f.ellipsize=f.resizeColumns=f.calculateWidths=void 0;var m=p(420);function v(C,R){w(C,R);var U=[],J=0;R.columns.forEach(function(O){var $=O.getMaxCustomCellWidth(R);$?O.width=$:(O.width=O.wrappedWidth,U.push(O)),J+=O.width});var E=R.getWidth(C.pageSize().width)-J;E&&(E=d(U,E,function(O){return Math.max(O.minReadableWidth,O.minWidth)})),E&&(E=d(U,E,function(O){return O.minWidth})),E=Math.abs(E),!R.settings.horizontalPageBreak&&E>.1/C.scaleFactor()&&(E=E<1?E:Math.round(E),console.warn("Of the table content, ".concat(E," units width could not fit page"))),_(R),k(R,C),y(R)}f.calculateWidths=v;function w(C,R){var U=C.scaleFactor(),J=R.settings.horizontalPageBreak,E=(0,m.getPageAvailableWidth)(C,R);R.allRows().forEach(function(O){for(var $=0,Q=R.columns;$<Q.length;$++){var P=Q[$],A=O.cells[P.index];if(A){var z=R.hooks.didParseCell;R.callCellHooks(C,z,A,O,P,null);var B=A.padding("horizontal");A.contentWidth=(0,m.getStringWidth)(A.text,A.styles,C)+B;var ot=(0,m.getStringWidth)(A.text.join(" ").split(/\s+/),A.styles,C);if(A.minReadableWidth=ot+A.padding("horizontal"),typeof A.styles.cellWidth=="number")A.minWidth=A.styles.cellWidth,A.wrappedWidth=A.styles.cellWidth;else if(A.styles.cellWidth==="wrap"||J===!0)A.contentWidth>E?(A.minWidth=E,A.wrappedWidth=E):(A.minWidth=A.contentWidth,A.wrappedWidth=A.contentWidth);else{var W=10/U;A.minWidth=A.styles.minCellWidth||W,A.wrappedWidth=A.contentWidth,A.minWidth>A.wrappedWidth&&(A.wrappedWidth=A.minWidth)}}}}),R.allRows().forEach(function(O){for(var $=0,Q=R.columns;$<Q.length;$++){var P=Q[$],A=O.cells[P.index];if(A&&A.colSpan===1)P.wrappedWidth=Math.max(P.wrappedWidth,A.wrappedWidth),P.minWidth=Math.max(P.minWidth,A.minWidth),P.minReadableWidth=Math.max(P.minReadableWidth,A.minReadableWidth);else{var z=R.styles.columnStyles[P.dataKey]||R.styles.columnStyles[P.index]||{},B=z.cellWidth||z.minCellWidth;B&&typeof B=="number"&&(P.minWidth=B,P.wrappedWidth=B)}A&&(A.colSpan>1&&!P.minWidth&&(P.minWidth=A.minWidth),A.colSpan>1&&!P.wrappedWidth&&(P.wrappedWidth=A.minWidth))}})}function d(C,R,U){for(var J=R,E=C.reduce(function(W,H){return W+H.wrappedWidth},0),O=0;O<C.length;O++){var $=C[O],Q=$.wrappedWidth/E,P=J*Q,A=$.width+P,z=U($),B=A<z?z:A;R-=B-$.width,$.width=B}if(R=Math.round(R*1e10)/1e10,R){var ot=C.filter(function(W){return R<0?W.width>U(W):!0});ot.length&&(R=d(ot,R,U))}return R}f.resizeColumns=d;function y(C){for(var R={},U=1,J=C.allRows(),E=0;E<J.length;E++)for(var O=J[E],$=0,Q=C.columns;$<Q.length;$++){var P=Q[$],A=R[P.index];if(U>1)U--,delete O.cells[P.index];else if(A)A.cell.height+=O.height,U=A.cell.colSpan,delete O.cells[P.index],A.left--,A.left<=1&&delete R[P.index];else{var z=O.cells[P.index];if(!z)continue;if(z.height=O.height,z.rowSpan>1){var B=J.length-E,ot=z.rowSpan>B?B:z.rowSpan;R[P.index]={cell:z,left:ot,row:O}}}}}function _(C){for(var R=C.allRows(),U=0;U<R.length;U++)for(var J=R[U],E=null,O=0,$=0,Q=0;Q<C.columns.length;Q++){var P=C.columns[Q];if($-=1,$>1&&C.columns[Q+1])O+=P.width,delete J.cells[P.index];else if(E){var A=E;delete J.cells[P.index],E=null,A.width=P.width+O}else{var A=J.cells[P.index];if(!A)continue;if($=A.colSpan,O=0,A.colSpan>1){E=A,O+=P.width;continue}A.width=P.width+O}}}function k(C,R){for(var U={count:0,height:0},J=0,E=C.allRows();J<E.length;J++){for(var O=E[J],$=0,Q=C.columns;$<Q.length;$++){var P=Q[$],A=O.cells[P.index];if(A){R.applyStyles(A.styles,!0);var z=A.width-A.padding("horizontal");if(A.styles.overflow==="linebreak")A.text=R.splitTextToSize(A.text,z+1/R.scaleFactor(),{fontSize:A.styles.fontSize});else if(A.styles.overflow==="ellipsize")A.text=b(A.text,z,A.styles,R,"...");else if(A.styles.overflow==="hidden")A.text=b(A.text,z,A.styles,R,"");else if(typeof A.styles.overflow=="function"){var B=A.styles.overflow(A.text,z);
128typeof B=="string"?A.text=[B]:A.text=B}A.contentHeight=A.getContentHeight(R.scaleFactor(),R.getLineHeightFactor());var ot=A.contentHeight/A.rowSpan;A.rowSpan>1&&U.count*U.height<ot*A.rowSpan?U={height:ot,count:A.rowSpan}:U&&U.count>0&&U.height>ot&&(ot=U.height),ot>O.height&&(O.height=ot)}}U.count--}}function b(C,R,U,J,E){return C.map(function(O){return L(O,R,U,J,E)})}f.ellipsize=b;function L(C,R,U,J,E){var O=1e4*J.scaleFactor();if(R=Math.ceil(R*O)/O,R>=(0,m.getStringWidth)(C,U,J))return C;for(;R<(0,m.getStringWidth)(C+E,U,J)&&!(C.length<=1);)C=C.substring(0,C.length-1);return C.trim()+E}},964:function(c){if(typeof n>"u"){var f=new Error("Cannot find module 'undefined'");throw f.code="MODULE_NOT_FOUND",f}c.exports=n}},o={};function a(c){var f=o[c];if(f!==void 0)return f.exports;var p=o[c]={exports:{}};return i[c].call(p.exports,p,p.exports,a),p.exports}var l={};return function(){var c=l;Object.defineProperty(c,"__esModule",{value:!0}),c.Cell=c.Column=c.Row=c.Table=c.CellHookData=c.__drawTable=c.__createTable=c.applyPlugin=void 0;var f=a(340),p=a(776),m=a(664),v=a(972),w=a(260);Object.defineProperty(c,"Table",{enumerable:!0,get:function(){return w.Table}});var d=a(172);Object.defineProperty(c,"CellHookData",{enumerable:!0,get:function(){return d.CellHookData}});var y=a(260);Object.defineProperty(c,"Cell",{enumerable:!0,get:function(){return y.Cell}}),Object.defineProperty(c,"Column",{enumerable:!0,get:function(){return y.Column}}),Object.defineProperty(c,"Row",{enumerable:!0,get:function(){return y.Row}});function _(R){(0,f.default)(R)}c.applyPlugin=_;function k(R,U){var J=(0,p.parseInput)(R,U),E=(0,v.createTable)(R,J);(0,m.drawTable)(R,E)}function b(R,U){var J=(0,p.parseInput)(R,U);return(0,v.createTable)(R,J)}c.__createTable=b;function L(R,U){(0,m.drawTable)(R,U)}c.__drawTable=L;try{var C=a(964);C.jsPDF&&(C=C.jsPDF),_(C)}catch(R){}c.default=k}(),l}()})})(A2);const Ga=e=>(Gf("data-v-96a2003e"),e=e(),Jf(),e),x2={class:"question-number"},L2={class:"prize-amount"},N2={class:"ion-page",id:"main-content"},_2=Ga(()=>$e("br",null,null,-1)),P2=Ga(()=>$e("br",null,null,-1)),k2=Ga(()=>$e("br",null,null,-1)),C2={key:1,class:"quiz-content"},F2={key:0,class:"timer"},I2={class:"options-grid"},O2=["onClick"],j2={class:"option-letter"},E2={class:"option-text"},T2=Ga(()=>$e("p",{class:"ion-text-center"},"Audience Poll Results",-1)),R2=Ga(()=>$e("p",{class:"ion-text-center"},"The audience thinks:",-1)),D2="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",B2=Of({__name:"Home",setup(e){const t=ue(""),n=ue(""),i=ue("medium"),o=ue(10),a=ue(!1),l=ue([]),c=ue(0),f=ue(""),p=ue(0),m=ue(!1),v=ue(!1),w=ue(!1),d=ue(!1),y=ue(""),_=ue(""),k=ue(""),b=ue(!1),L=ue(!1),C=ue(!1),R=ue(!1),U=ue(!1),J=ue(!1),E=ue(""),O=ue([]),$=ue(!1),Q=ue(null),P=ue(60),A=ue(null),z=ue(null),B=ue(null),ot=ue(null),W=ue(null),H=ue(null);ue(null);const Y=[1e3,2e3,3e3,5e3,1e4,2e4,4e4,8e4,16e4,32e4,64e4,125e4,25e5,5e6,1e7],K=Vs(()=>t.value.trim()!==""&&n.value.trim()!==""&&i.value!==""&&o.value>=10&&o.value<=15),et=Vs(()=>l.value[c.value]),dt=Vs(()=>Y[p.value]);async function S(){var gt;w.value=!0,a.value=!0,await D(),w.value=!1,c.value=0,p.value=0,m.value=!1,(gt=z.value)==null||gt.play(),st()}async function D(){const gt="Generate a KBC style quiz with the following details:\n Title: ".concat(t.value,"\n Topics: ").concat(n.value,"\n Complexity: ").concat(i.value,"\n Number of questions: ").concat(o.value,'\n \n For each question, provide:\n 1. Question\n 2. Four options (A, B, C, D)\n 3. The correct answer\n Example format:\n ```\n [\n {\n "question": "What is the capital of France?",\n "options": ["London", "Paris", "Berlin", "Madrid"],\n "correctAnswer": "Paris"\n },\n {\n "question": "What is 2 + 2?",\n "options": ["3", "4", "5", "6"],\n "correctAnswer": "4"\n }\n ]\n```\n \n Format the response as a JSON array of question objects.');try{const bt=await We.post("https://api.groq.com/openai/v1/chat/completions",{messages:[{role:"user",content:gt}],model:"llama3-70b-8192"},{headers:{Authorization:"Bearer ".concat(D2),"Content-Type":"application/json"}}),xt=/```([^`]+)```/,Nt=bt.data.choices[0].message.content.match(xt);let zt=Nt?Nt[1].trim():"";const Kt=JSON.parse(zt);l.value=Kt.map($t=>({question:$t.question,options:$t.options,correctAnswer:$t.correctAnswer})),Mt("Quiz questions generated successfully!","success")}catch(bt){console.error("Error generating questions:",bt),Mt("Error generating questions. Please try again.","danger")}}function M(gt){var bt;f.value=gt,(bt=B.value)==null||bt.play()}function G(){var gt,bt;v.value=!0,ut(),f.value===et.value.correctAnswer?(p.value++,Mt("Correct answer!","success"),(gt=ot.value)==null||gt.play()):(Mt("Incorrect. The correct answer is: ".concat(et.value.correctAnswer),"danger"),(bt=W.value)==null||bt.play(),m.value=!0)}function Z(){c.value<l.value.length-1&&!m.value?(c.value++,f.value="",v.value=!1,O.value=[],$.value=!1,c.value<5&&st()):m.value=!0}function st(){P.value=60,A.value&&clearInterval(A.value),A.value=setInterval(()=>{var gt;P.value>0?(P.value--,P.value<=10&&((gt=H.value)==null||gt.play())):(ut(),G())},1e3)}function ut(){A.value&&(clearInterval(A.value),A.value=null)}function ht(){a.value=!1,t.value="",n.value="",i.value="medium",o.value=10,l.value=[],c.value=0,f.value="",p.value=0,m.value=!1,v.value=!1,b.value=!1,L.value=!1,C.value=!1,R.value=!1,$.value=!1}function kt(){const gt=new Wt;gt.setFontSize(18),gt.text(t.value,14,22),gt.setFontSize(12),gt.text("Topics: ".concat(n.value),14,32),gt.text("Complexity: ".concat(i.value),14,40),gt.text("Total Questions: ".concat(l.value.length),14,48),gt.text("Your Prize: â¹".concat(dt.value),14,56);const bt=l.value.map((xt,Nt)=>
128[Nt+1,xt.question,xt.options.join(", "),xt.correctAnswer]);gt.autoTable({startY:65,head:[["#","Question","Options","Correct Answer"]],body:bt,theme:"grid",styles:{fontSize:8,cellPadding:2},columnStyles:{0:{cellWidth:10},1:{cellWidth:70},2:{cellWidth:60},3:{cellWidth:30}},headStyles:{fillColor:[41,128,185],textColor:255}}),gt.save("".concat(t.value.replace(/\s+/g,"_"),"_quiz_results.pdf"))}function _t(gt){switch(gt){case"audiencePoll":b.value||(b.value=!0,U.value=!0,It());break;case"phoneAFriend":L.value||(L.value=!0,J.value=!0,Vt());break;case"fiftyFifty":C.value||(C.value=!0,X());break;case"flipQuestion":R.value||(R.value=!0,Xt());break}}function It(){const gt=et.value.options.indexOf(et.value.correctAnswer),bt=et.value.options.map((xt,Nt)=>Nt===gt?Math.floor(Math.random()*30)+40:Math.floor(Math.random()*30));k.value=bt.join(";")}function Tt(){U.value=!1,Q.value&&Q.value.destroy()}function Vt(){const gt=et.value.correctAnswer;if(Math.random()>.7)E.value=gt;else{const xt=et.value.options.filter(Nt=>Nt!==gt);E.value=xt[Math.floor(Math.random()*xt.length)]}}function yt(){J.value=!1}function X(){const gt=et.value.correctAnswer,bt=et.value.options.filter(Nt=>Nt!==gt),xt=bt[Math.floor(Math.random()*bt.length)];O.value=[gt,xt],$.value=!0}function Xt(){const gt={question:"This is a flipped question. What is the capital of Japan?",options:["Seoul","Beijing","Tokyo","Bangkok"],correctAnswer:"Tokyo"};l.value[c.value]=gt,f.value="",v.value=!1,$.value=!1}function Mt(gt,bt){y.value=gt,_.value=bt,d.value=!0}return jf(()=>{z.value=new Audio("audio/kbc.mp3"),B.value=new Audio("audio/selection.mp3"),ot.value=new Audio("audio/correct.mp3"),W.value=new Audio("audio/wrong.mp3"),H.value=new Audio("audio/times_up.mp3")}),Ef(()=>{ut()}),Tf(m,gt=>{gt&&Mt("Quiz completed!","success")}),(gt,bt)=>(rn(),_r(Ft(Vf),null,{default:jt(()=>[Bt(Ft(Uf),{"content-id":"main-content",when:"md"},{default:jt(()=>[a.value?(rn(),_r(Ft(Rf),{key:0,"content-id":"main-content",type:"overlay"},{default:jt(()=>[Bt(Ft(To),null,{default:jt(()=>[Bt(Ft(Df),{class:"prize-ladder"},{default:jt(()=>[(rn(),ui(Js,null,Gs(Y,(xt,Nt)=>Bt(Ft(Ia),{key:Nt,class:_u({current:Nt===c.value,completed:Nt<c.value,correct:Nt<p.value})},{default:jt(()=>[Bt(Ft(Yi),null,{default:jt(()=>[$e("span",x2,jn(Nt+1),1),$e("span",L2,"â¹"+jn(xt.toLocaleString()),1)]),_:2},1024)]),_:2},1032,["class"])),64))]),_:1})]),_:1})]),_:1})):Wr("",!0),$e("div",N2,[Bt(Ft(Ys),null,{default:jt(()=>[Bt(Ft(Ks),{color:"primary"},{default:jt(()=>[a.value?(rn(),_r(Ft(Ro),{key:0,slot:"start"},{default:jt(()=>[Bt(Ft(Bf))]),_:1})):Wr("",!0),Bt(Ft(Xs),null,{default:jt(()=>[xe("AI Quiz Maker")]),_:1}),a.value?(rn(),_r(Ft(Ro),{key:1,slot:"end"},{default:jt(()=>[Bt(Ft(Mf),null,{default:jt(()=>[Bt(Ft(Yi),null,{default:jt(()=>[xe("â¹"+jn(dt.value),1)]),_:1})]),_:1})]),_:1})):Wr("",!0)]),_:1})]),_:1}),Bt(Ft(To),{class:"ion-padding"},{default:jt(()=>[a.value?(rn(),ui("div",C2,[et.value?(rn(),_r(Ft($s),{key:0,class:"question-card"},{default:jt(()=>[Bt(Ft(Qs),null,{default:jt(()=>[Bt(Ft(zf),null,{default:jt(()=>[xe("Question "+jn(c.value+1),1)]),_:1}),Bt(Ft(Zs),null,{default:jt(()=>[xe(jn(et.value.question),1)]),_:1})]),_:1}),Bt(Ft(tl),null,{default:jt(()=>[c.value<5?(rn(),ui("div",F2,"Time left: "+jn(P.value)+"s",1)):Wr("",!0),$e("div",I2,[(rn(!0),ui(Js,null,Gs(et.value.options,(xt,Nt)=>(rn(),ui("div",{key:Nt,class:_u(["option",{selected:f.value===xt,correct:v.value&&xt===et.value.correctAnswer,incorrect:v.value&&f.value===xt&&xt!==et.value.correctAnswer,hidden:$.value&&!O.value.includes(xt)}]),onClick:zt=>M(xt)},[$e("span",j2,jn(["A","B","C","D"][Nt]),1),$e("span",E2,jn(xt),1)],10,O2))),128))])]),_:1})]),_:1})):Wr("",!0),!v.value&&!m.value?(rn(),_r(Ft(nl),{key:1,class:"ion-justify-content-center"},{default:jt(()=>[Bt(Ft(Ki),{size:"12","size-md":"6"},{default:jt(()=>[Bt(Ft(Kn),{expand:"block",onClick:G,disabled:!f.value},{default:jt(()=>[xe(" Lock Answer ")]),_:1},8,["disabled"])]),_:1})]),_:1})):Wr("",!0),v.value&&!m.value?(rn(),_r(Ft(nl),{key:2,class:"ion-justify-content-center"},{default:jt(()=>[Bt(Ft(Ki),{size:"12","size-md":"6"},{default:jt(()=>[Bt(Ft(Kn),{expand:"block",onClick:Z},{default:jt(()=>[xe(" Next Question ")]),_:1})]),_:1})]),_:1})):Wr("",!0),Bt(Ft(nl),{class:"lifelines"},{default:jt(()=>[Bt(Ft(Ki),{size:"6","size-md":"3"},{default:jt(()=>[Bt(Ft(Kn),{expand:"block",onClick:bt[4]||(bt[4]=xt=>_t("audiencePoll")),disabled:b.value||v.value},{default:jt(()=>[xe(" Audience Poll ")]),_:1},8,["disabled"])]),_:1}),Bt(Ft(Ki),{size:"6","size-md":"3"},{default:jt(()=>[Bt(Ft(Kn),{expand:"block",onClick:bt[5]||(bt[5]=xt=>_t("phoneAFriend")),disabled:L.value||v.value},{default:jt(()=>[xe(" Phone a Friend ")]),_:1},8,["disabled"])]),_:1}),Bt(Ft(Ki),{size:"6","size-md":"3"},{default:jt(()=>[Bt(Ft(Kn),{expand:"block",onClick:bt[6]||(bt[6]=xt=>_t("fiftyFifty")),disabled:C.value||v.value},{default:jt(()=>[xe(" 50:50 ")]),_:1},8,["disabled"])]),_:1}),Bt(Ft(Ki),{size:"6","size-md":"3"},{default:jt(()=>
128[Bt(Ft(Kn),{expand:"block",onClick:bt[7]||(bt[7]=xt=>_t("flipQuestion")),disabled:R.value||v.value},{default:jt(()=>[xe(" Flip Question ")]),_:1},8,["disabled"])]),_:1})]),_:1}),m.value?(rn(),_r(Ft($s),{key:3,class:"result-card"},{default:jt(()=>[Bt(Ft(Qs),null,{default:jt(()=>[Bt(Ft(Zs),null,{default:jt(()=>[xe("Quiz Completed!")]),_:1})]),_:1}),Bt(Ft(tl),null,{default:jt(()=>[$e("p",null,"Your final prize: â¹"+jn(dt.value),1),Bt(Ft(Kn),{expand:"block",onClick:ht,class:"reset-btn"},{default:jt(()=>[xe(" Start New Quiz ")]),_:1}),Bt(Ft(Kn),{expand:"block",onClick:kt,color:"secondary",class:"download-btn"},{default:jt(()=>[xe(" Download Results ")]),_:1})]),_:1})]),_:1})):Wr("",!0)])):(rn(),_r(Ft($s),{key:0,class:"setup-card"},{default:jt(()=>[Bt(Ft(Qs),null,{default:jt(()=>[Bt(Ft(Zs),null,{default:jt(()=>[xe("Quiz Setup")]),_:1})]),_:1}),Bt(Ft(tl),null,{default:jt(()=>[Bt(Ft(Ia),null,{default:jt(()=>[Bt(Ft(Yi),{position:"floating"},{default:jt(()=>[xe("Quiz Title")]),_:1}),_2,Bt(Ft(el),{modelValue:t.value,"onUpdate:modelValue":bt[0]||(bt[0]=xt=>t.value=xt),type:"text"},null,8,["modelValue"])]),_:1}),Bt(Ft(Ia),null,{default:jt(()=>[Bt(Ft(Yi),{position:"floating"},{default:jt(()=>[xe("Topics (comma-separated)")]),_:1}),P2,Bt(Ft(el),{modelValue:n.value,"onUpdate:modelValue":bt[1]||(bt[1]=xt=>n.value=xt),type:"text"},null,8,["modelValue"])]),_:1}),Bt(Ft(Ia),null,{default:jt(()=>[Bt(Ft(Yi),null,{default:jt(()=>[xe("Complexity")]),_:1}),Bt(Ft(qf),{modelValue:i.value,"onUpdate:modelValue":bt[2]||(bt[2]=xt=>i.value=xt)},{default:jt(()=>[Bt(Ft(Do),{value:"easy"},{default:jt(()=>[xe("Easy")]),_:1}),Bt(Ft(Do),{value:"medium"},{default:jt(()=>[xe("Medium")]),_:1}),Bt(Ft(Do),{value:"hard"},{default:jt(()=>[xe("Hard")]),_:1}),Bt(Ft(Do),{value:"mix"},{default:jt(()=>[xe("Mix")]),_:1})]),_:1},8,["modelValue"])]),_:1}),Bt(Ft(Ia),null,{default:jt(()=>[Bt(Ft(Yi),{position:"floating"},{default:jt(()=>[xe("Number of Questions (10-15)")]),_:1}),k2,Bt(Ft(el),{modelValue:o.value,"onUpdate:modelValue":bt[3]||(bt[3]=xt=>o.value=xt),type:"number",min:"10",max:"15"},null,8,["modelValue"])]),_:1}),Bt(Ft(Kn),{expand:"block",onClick:S,disabled:!K.value,class:"start-btn"},{default:jt(()=>[xe(" Start Quiz ")]),_:1},8,["disabled"])]),_:1})]),_:1}))]),_:1})])]),_:1}),Bt(Ft(Nu),{"is-open":U.value},{default:jt(()=>[Bt(Ft(Ys),null,{default:jt(()=>[Bt(Ft(Ks),null,{default:jt(()=>[Bt(Ft(Xs),null,{default:jt(()=>[xe("Audience Poll")]),_:1}),Bt(Ft(Ro),{slot:"end"},{default:jt(()=>[Bt(Ft(Kn),{onClick:Tt},{default:jt(()=>[xe("Close")]),_:1})]),_:1})]),_:1})]),_:1}),Bt(Ft(To),{class:"ion-padding"},{default:jt(()=>[T2,R2,(rn(!0),ui(Js,null,Gs(et.value.options,(xt,Nt)=>(rn(),ui("p",{class:"ion-text-center",key:Nt},jn(["A","B","C","D"][Nt])+": "+jn(k.value.split(";")[Nt])+"% ",1))),128))]),_:1})]),_:1},8,["is-open"]),Bt(Ft(Nu),{"is-open":J.value},{default:jt(()=>[Bt(Ft(Ys),null,{default:jt(()=>[Bt(Ft(Ks),null,{default:jt(()=>[Bt(Ft(Xs),null,{default:jt(()=>[xe("Phone a Friend")]),_:1}),Bt(Ft(Ro),{slot:"end"},{default:jt(()=>[Bt(Ft(Kn),{onClick:yt},{default:jt(()=>[xe("Close")]),_:1})]),_:1})]),_:1})]),_:1}),Bt(Ft(To),{class:"ion-padding"},{default:jt(()=>[$e("p",null,"Your friend says: \"I'm not entirely sure, but I think the answer might be "+jn(E.value)+'."',1)]),_:1})]),_:1},8,["is-open"]),Bt(Ft(Hf),{"is-open":w.value,message:"Preparing your hot seat..."},null,8,["is-open"]),Bt(Ft(Wf),{"is-open":d.value,message:y.value,duration:3e3,color:_.value},null,8,["is-open","message","color"]),$e("audio",{ref_key:"startSound",ref:z,src:"audio/kbc.mp3"},null,512),$e("audio",{ref_key:"optionSound",ref:B,src:"audio/selection.mp3"},null,512),$e("audio",{ref_key:"correctSound",ref:ot,src:"audio/correct.mp3"},null,512),$e("audio",{ref_key:"wrongSound",ref:W,src:"audio//wrong.mp3"},null,512),$e("audio",{ref_key:"timerSound",ref:H,src:"audio/times_up.mp3"},null,512)]),_:1}))}}),M2=Yf(B2,[["__scopeId","data-v-96a2003e"]]),H2=Object.freeze(Object.defineProperty({__proto__:null,default:M2},Symbol.toStringTag,{value:"Module"}));export{H2 as H,ye as _,ml as c,U2 as g};
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.