PageSourceSearch

https://dashboard.adlabs.app/assets/jspdf-c_D3HRGo.js

js adlabs.app collected 2026-10-04 18:31:52 UTC 337,902 bytes, 78 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/vendor-utils-DFOuek15.js","assets/vendor-Dx2dWfFM.js","assets/vendor-BqSg-N1-.css"])))=>i.map(i=>d[i]);
2import{_ as Ro}from"./mui-Dn6NNym-.js";import{dD as Se,dE as Qu,dF as Bs,dG as Yo}from"./vendor-Dx2dWfFM.js";(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};r.SENTRY_RELEASE={id:"4d6597e45eb394888f351917e358e01ed53f254a"};var e=new r.Error().stack;e&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[e]="b9d95a34-6ffc-4d77-9982-595cc1914f6b",r._sentryDebugIdIdentifier="sentry-dbid-b9d95a34-6ffc-4d77-9982-595cc1914f6b")}catch{}})();var Xt=(function(){return typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:this})();function Do(){Xt.console&&typeof Xt.console.log=="function"&&Xt.console.log.apply(Xt.console,arguments)}var xe={log:Do,warn:function(r){Xt.console&&(typeof Xt.console.warn=="function"?Xt.console.warn.apply(Xt.console,arguments):Do.call(null,arguments))},error:function(r){Xt.console&&(typeof Xt.console.error=="function"?Xt.console.error.apply(Xt.console,arguments):Do(r))}};function To(r,e,i){var a=new XMLHttpRequest;a.open("GET",r),a.responseType="blob",a.onload=function(){oi(a.response,e,i)},a.onerror=function(){xe.error("could not download file")},a.send()}function Ms(r){var e=new XMLHttpRequest;e.open("HEAD",r,!1);try{e.send()}catch{}return e.status>=200&&e.status<=299}function Va(r){try{r.dispatchEvent(new MouseEvent("click"))}catch{var e=document.createEvent("MouseEvents");
vendor: 3,223 bytes, line 2
2e.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),r.dispatchEvent(e)}}var oi=Xt.saveAs||((typeof window>"u"?"undefined":Se(window))!=="object"||window!==Xt?function(){}:typeof HTMLAnchorElement<"u"&&"download"in HTMLAnchorElement.prototype?function(r,e,i){var a=Xt.URL||Xt.webkitURL,s=document.createElement("a");e=e||r.name||"download",s.download=e,s.rel="noopener",typeof r=="string"?(s.href=r,s.origin!==location.origin?Ms(s.href)?To(r,e,i):Va(s,s.target="_blank"):Va(s)):(s.href=a.createObjectURL(r),setTimeout(function(){a.revokeObjectURL(s.href)},4e4),setTimeout(function(){Va(s)},0))}:"msSaveOrOpenBlob"in navigator?function(r,e,i){if(e=e||r.name||"download",typeof r=="string")if(Ms(r))To(r,e,i);else{var a=document.createElement("a");a.href=r,a.target="_blank",setTimeout(function(){Va(a)})}else navigator.msSaveOrOpenBlob((function(s,u){return u===void 0?u={autoBom:!1}:Se(u)!=="object"&&(xe.warn("Deprecated: Expected third argument to be a object"),u={autoBom:!u}),u.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(s.type)?new Blob(["\uFEFF",s],{type:s.type}):s})(r,i),e)}:function(r,e,i,a){if((a=a||open("","_blank"))&&(a.document.title=a.document.body.innerText="downloading..."),typeof r=="string")return To(r,e,i);var s=r.type==="application/octet-stream",u=/constructor/i.test(Xt.HTMLElement)||Xt.safari,d=/CriOS\/[\d]+/.test(navigator.userAgent);if((d||s&&u)&&(typeof FileReader>"u"?"undefined":Se(FileReader))==="object"){var c=new FileReader;c.onloadend=function(){var A=c.result;A=d?A:A.replace(/^data:[^;]*;/,"data:attachment/file;"),a?a.location.href=A:location=A,a=null},c.readAsDataURL(r)}else{var h=Xt.URL||Xt.webkitURL,v=h.createObjectURL(r);a?a.location=v:location.href=v,a=null,setTimeout(function(){h.revokeObjectURL(v)},4e4)}});function ru(r){var e;r=r||"",this.ok=!1,r.charAt(0)=="#"&&(r=r.substr(1,6)),r={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee9
20",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"}[r=(r=r.replace(/ /g,"")).toLowerCase()]||r;for(var i=[{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)]}}],a=0;a<i.length;a++){var s=i[a].re,u=i[a].process,d=s.exec(r);d&&(e=u(d),this.r=e[0],this.g=e[1],this.b=e[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),h=this.g.toString(16),v=this.b.toString(16);return c.length==1&&(c="0"+c),h.length==1&&(h="0"+h),v.length==1&&(v="0"+v),"#"+c+h+v}}var Ja=Xt.atob.bind(Xt),Es=Xt.btoa.bind(Xt);function zo(r,e){var i=r[0],a=r[1],s=r[2],u=r[3];i=dn(i,a,s,u,e[0],7,-680876936),u=dn(u,i,a,s,e[1],12,-389564586),s=dn(s,u,i,a,e[2],17,606105819),a=dn(a,s,u,i,e[3],22,-1044525330),i=dn(i,a,s,u,e[4],7,-176418897),u=dn(u,i,a,s,e[5],12,1200080426),s=dn(s,u,i,a,e[6],17,-1473231341),a=dn(a,s,u,i,e[7],22,-45705983),i=dn(i,a,s,u,e[8],7,1770035416),u=dn(u,i,a,s,e[9],12,-1958414417),s=dn(s,u,i,a,e[10],17,-42063),a=dn(a,s,u,i,e[11],22,-1990404162),i=dn(i,a,s,u,e[12],7,1804603682),u=dn(u,i,a,s,e[13],12,-40341101),s=dn(s,u,i,a,e[14],17,-1502002290),i=pn(i,a=dn(a,s,u,i,e[15],22,1236535329),s,u,e[1],5,-165796510),u=pn(u,i,a,s,e[6],9,-1069501632),s=pn(s,u,i,a,e[11],14,643717713),a=pn(a,s,u,i,e[0],20,-373897302),i=pn(i,a,s,u,e[5],5,-701558691),u=pn(u,i,a,s,e[10],9,38016083),s=pn(s,u,i,a,e[15],14,-660478335),a=pn(a,s,u,i,e[4],20,-405537848),i=pn(i,a,s,u,e[9],5,568446438),u=pn(u,i,a,s,e[14],9,-1019803690),s=pn(s,u,i,a,e[3],14,-187363961),a=pn(a,s,u,i,e[8],20,1163531501),i=pn(i,a,s,u,e[13],5,-1444681467),u=pn(u,i,a,s,e[2],9,-51403784),s=pn(s,u,i,a,e[7],14,1735328473),i=gn(i,a=pn(a,s,u,i,e[12],20,-1926607734),s,u,e[5],4,-378558),u=gn(u,i,a,s,e[8],11,-2022574463),s=gn(s,u,i,a,e[11],16,1839030562),a=gn(a,s,u,i,e[14],23,-35309556),i=gn(i,a,s,u,e[1],4,-1530992060),u=gn(u,i,a,s,e[4],11,1272893353),s=gn(s,u,i,a,e[7],16,-155497632),a=gn(a,s,u,i,e[10],23,-1094730640),i=gn(i,a,s,u,e[13],4,681279174),u=gn(u,i,a,s,e[0],11,-358537222),s=gn(s,u,i,a,e[3],16,-722521979),a=gn(a,s,u,i,e[6],23,76029189),i=gn(i,a,s,u,e[9],4,-640364487),u=gn(u,i,a,s,e[12],11,-421815835),s=gn(s,u,i,a,e[15],16,530742520),i=mn(i,a=gn(a,s,u,i,e[2],23,-995338651),s,u,e[0],6,-198630844),u=mn(u,i,a,s,e[7],10,1126891415),s=mn(s,u,i,a,e[14],15,-1416354905),a=mn(a,s,u,i,e[5],21,-57434055),i=mn(i,a,s,u,e[12],6,1700485571),u=mn(u,i,a,s,e[3],10,-1894986606),s=mn(s,u,i,a,e[10
vendor: 9,634 bytes, line 2
2],15,-1051523),a=mn(a,s,u,i,e[1],21,-2054922799),i=mn(i,a,s,u,e[8],6,1873313359),u=mn(u,i,a,s,e[15],10,-30611744),s=mn(s,u,i,a,e[6],15,-1560198380),a=mn(a,s,u,i,e[13],21,1309151649),i=mn(i,a,s,u,e[4],6,-145523070),u=mn(u,i,a,s,e[11],10,-1120210379),s=mn(s,u,i,a,e[2],15,718787259),a=mn(a,s,u,i,e[9],21,-343485551),r[0]=Dr(i,r[0]),r[1]=Dr(a,r[1]),r[2]=Dr(s,r[2]),r[3]=Dr(u,r[3])}function eo(r,e,i,a,s,u){return e=Dr(Dr(e,r),Dr(a,u)),Dr(e<<s|e>>>32-s,i)}function dn(r,e,i,a,s,u,d){return eo(e&i|~e&a,r,e,s,u,d)}function pn(r,e,i,a,s,u,d){return eo(e&a|i&~a,r,e,s,u,d)}function gn(r,e,i,a,s,u,d){return eo(e^i^a,r,e,s,u,d)}function mn(r,e,i,a,s,u,d){return eo(i^(e|~a),r,e,s,u,d)}function iu(r){var e,i=r.length,a=[1732584193,-271733879,-1732584194,271733878];for(e=64;e<=r.length;e+=64)zo(a,tl(r.substring(e-64,e)));r=r.substring(e-64);var s=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(e=0;e<r.length;e++)s[e>>2]|=r.charCodeAt(e)<<(e%4<<3);if(s[e>>2]|=128<<(e%4<<3),e>55)for(zo(a,s),e=0;e<16;e++)s[e]=0;return s[14]=8*i,zo(a,s),a}function tl(r){var e,i=[];for(e=0;e<64;e+=4)i[e>>2]=r.charCodeAt(e)+(r.charCodeAt(e+1)<<8)+(r.charCodeAt(e+2)<<16)+(r.charCodeAt(e+3)<<24);return i}var qs="0123456789abcdef".split("");function el(r){for(var e="",i=0;i<4;i++)e+=qs[r>>8*i+4&15]+qs[r>>8*i&15];return e}function nl(r){return String.fromCharCode(255&r,(65280&r)>>8,(16711680&r)>>16,(4278190080&r)>>24)}function Jo(r){return iu(r).map(nl).join("")}var rl=(function(r){for(var e=0;e<r.length;e++)r[e]=el(r[e]);return r.join("")})(iu("hello"))!="5d41402abc4b2a76b9719d911017c592";function Dr(r,e){if(rl){var i=(65535&r)+(65535&e);return(r>>16)+(e>>16)+(i>>16)<<16|65535&i}return r+e&4294967295}function Xo(r,e){var i,a,s,u;if(r!==i){for(var d=(s=r,u=1+(256/r.length|0),new Array(u+1).join(s)),c=[],h=0;h<256;h++)c[h]=h;var v=0;for(h=0;h<256;h++){var A=c[h];v=(v+A+d.charCodeAt(h))%256,c[h]=c[v],c[v]=A}i=r,a=c}else c=a;var F=e.length,B=0,p=0,z="";for(h=0;h<F;h++)p=(p+(A=c[B=(B+1)%256]))%256,c[B]=c[p],c[p]=A,d=c[(c[B]+c[p])%256],z+=String.fromCharCode(e.charCodeAt(h)^d);return z}var Rs={print:4,modify:8,copy:16,"annot-forms":32};function Mi(r,e,i,a){this.v=1,this.r=2;var s=192;r.forEach(function(c){if(Rs.perm!==void 0)throw new Error("Invalid permission: "+c);s+=Rs[c]}),this.padding="(¿N^NuŠAd\0NVÿú�\b..\0¶Ðh>€/\f©þdSiz";var u=(e+this.padding).substr(0,32),d=(i+this.padding).substr(0,32);this.O=this.processOwnerPassword(u,d),this.P=-(1+(255^s)),this.encryptionKey=Jo(u+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(a)).substr(0,5),this.U=Xo(this.encryptionKey,this.padding)}function Ei(r){if(/[^\u0000-\u00ff]/.test(r))throw new Error("Invalid PDF Name Object: "+r+", Only accept ASCII characters.");for(var e="",i=r.length,a=0;a<i;a++){var s=r.charCodeAt(a);e+=s<33||s===35||s===37||s===40||s===41||s===47||s===60||s===62||s===91||s===93||s===123||s===125||s>126?"#"+("0"+s.toString(16)).slice(-2):r[a]}return e}function Ds(r){if(Se(r)!=="object")throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var e={};this.subscribe=function(i,a,s){if(s=s||!1,typeof i!="string"||typeof a!="function"||typeof s!="boolean")throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");e.hasOwnProperty(i)||(e[i]={});var u=Math.random().toString(35);return e[i][u]=[a,!!s],u},this.unsubscribe=function(i){for(var a in e)if(e[a][i])return delete e[a][i],Object.keys(e[a]).length===0&&delete e[a],!0;return!1},this.publish=function(i){if(e.hasOwnProperty(i)){var a=Array.prototype.slice.call(arguments,1),s=[];for(var u in e[i]){var d=e[i][u];try{d[0].apply(r,a)}catch(c){Xt.console&&xe.error("jsPDF PubSub Error",c.message,c)}d[1]&&s.push(u)}s.length&&s.forEach(this.unsubscribe)}},this.getTopics=function(){return e}}function Qa(r){if(!(this instanceof Qa))return new Qa(r);var e="opacity,stroke-opacity".split(",");for(var i in r)r.hasOwnProperty(i)&&e.indexOf(i)>=0&&(this[i]=r[i]);this.id="",this.objectNumber=-1}function au(r,e){this.gState=r,this.matrix=e,this.id="",this.objectNumber=-1}function si(r,e,i,a,s){if(!(this instanceof si))return new si(r,e,i,a,s);this.type=r==="axial"?2:3,this.coords=e,this.colors=i,au.call(this,a,s)}function qi(r,e,i,a,s){if(!(this instanceof qi))return new qi(r,e,i,a,s);this.boundingBox=r,this.xStep=e,this.yStep=i,this.stream="",this.cloneIndex=0,au.call(this,a,s)}function qt(r){var e,i=typeof arguments[0]=="string"?arguments[0]:"p",a=arguments[1],s=arguments[2],u=arguments[3],d=[],c=1,h=16,v="S",A=null;Se(r=r||{})==="object"&&(i=r.orientation,a=r.unit||a,s=r.format||s,u=r.compress||r.compressPdf||u,(A=r.encryption||null)!==null&&(A.userPassword=A.userPassword||"",A.ownerPassword=A.ownerPassword||"",A.userPermissions=A.userPermissions||[]),c=typeof r.userUnit=="number"?Math.abs(r.userUnit):1,r.precision!==void 0&&(e=r.precision),r.floatPrecision!==void 0&&(h=r.floatPrecision),v=r.defaultPathOperation||"S"),d=r.filters||(u===!0?["FlateEncode"]:d),a=a||"mm",i=(""+(i||"P")).toLowerCase();var F=r.putOnlyUsedFonts||!1,B={},p={internal:{},__private__:{}};p.__private__.PubSub=Ds;var z="1.3",O=p.__private__.getPdfVersion=function(){return z};p.__private__.setPdfVersion=function(o){z=o};var T={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};p.__private__.getPageFormats=function(){return T};var j=p.__private__.getPageFormat=function(o){return T[o]};s=s||"a4";var Z="compat",Q="advanced",nt=Z;function yt(){this.saveGraphicsState(),x(new Gt(ne,0,0,-ne,0,Yr()*ne).toString()+" cm"),this.setFontSize(this.getFontSize()/ne),v="n",nt=Q}function xt(){this.restoreGraphicsState(),v="S",nt=Z}var Wt=p.__private__.combineFontStyleAndFontWeight=function(o,g){if(o=="bold"&&g=="normal"||o=="bold"&&g==400||o=="normal"&&g=="italic"||o=="bold"&&g=="italic")throw new Error("Invalid Combination of fontweight and fontstyle");return g&&(o=g==400||g==="normal"?o==="italic"?"italic":"normal":g!=700&&g!=="bold"||o!=="normal"?(g==700?"bold":g)+""+o:"bold"),o};p.advancedAPI=function(o){var g=nt===Z;return g&&yt.call(this),typeof o!="function"||(o(this),g&&xt.call(this)),this},p.compatAPI=function(o){var g=nt===Q;return g&&xt.call(this),typeof o!="function"||(o(this),g&&yt.call(this)),this},p.isAdvancedAPI=function(){return nt===Q};var st,Y=function(o){if(nt!==Q)throw new Error(o+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},gt=p.roundToPrecision=p.__private__.roundToPrecision=function(o,g){var S=e||g;if(isNaN(o)||isNaN(S))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return o.toFixed(S).replace(/0+$/,"")};st=p.hpf=p.__private__.hpf=typeof h=="number"?function(o){if(isNaN(o))throw new Error("Invalid argument passed to jsPDF.hpf");return gt(o,h)}:h==="smart"?function(o){if(isNaN(o))throw new Error("Invalid argument passed to jsPDF.hpf");return gt(o,o>-1&&o<1?16:5)}:function(o){if(isNaN(o))throw new Error("Invalid argument passed to jsPDF.hpf");return gt(o,16)};var _=p.f2=p.__private__.f2=function(o){if(isNaN(o))throw new Error("Invalid argument passed to jsPDF.f2");return gt(o,2)},I=p.__private__.f3=function(o){if(isNaN(o))throw new Error("Invalid argument passed to jsPDF.f3");return gt(o,3)},R=p.scale=p.__private__.scale=function(o){if(isNaN(o))throw new Error("Invalid argument passed to jsPDF.scale");return nt===Z?o*ne:nt===Q?o:void 0},D=function(o){return R((function(g){return nt===Z?Yr()-g:nt===Q?g:void 0})(o))};p.__private__.setPrecision=p.setPrecision=function(o){typeof parseInt(o,10)=="number"&&(e=parseInt(o,10))};var at,lt="00000000000000000000000000000000",ft=p.__private__.getFileId=function(){return lt},$=p.__private__.setFileId=function(o){return lt=o!==void 0&&/^[a-fA-F0-9]{32}$/.test(o)?o.toUpperCase():lt.split("").map(function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))}).join(""),A!==null&&(rn=new Mi(A.userPermissions,A.userPassword,A.ownerPassword,lt)),lt};p.setFileId=function(o){return $(o),this},p.getFileId=function(){return ft()};var ct=p.__private__.convertDateToPDFDate=function(o){var g=o.getTimezoneOffset(),S=g<0?"+":"-",E=Math.floor(Math.abs(g/60)),W=Math.abs(g%60),rt=[S,M(E),"'",M(W),"'"].join("");return["D:",o.getFullYear(),M(o.getMonth()+1),M(o.getDate()),M(o.getHours()),M(o.getMinutes()),M(o.getSeconds()),rt].join("")},Lt=p.__private__.convertPDFDateToDate=function(o){var g=parseInt(o.substr(2,4),10),S=parseInt(o.substr(6,2),10)-1,E=parseInt(o.substr(8,2),10),W=parseInt(o.substr(10,2),10),rt=parseInt(o.substr(12,2),10),dt=parseInt(o.substr(14,2),10);return new Date(g,S,E,W,rt,dt,0)},bt=p.__private__.setCreationDate=function(o){var g;if(o===void 0&&(o=new Date),o instanceof Date)g=ct(o);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(o))throw new Error("Invalid argument passed to 
2jsPDF.setCreationDate");g=o}return at=g},w=p.__private__.getCreationDate=function(o){var g=at;return o==="jsDate"&&(g=Lt(at)),g};p.setCreationDate=function(o){return bt(o),this},p.getCreationDate=function(o){return w(o)};var C,M=p.__private__.padd2=function(o){return("0"+parseInt(o)).slice(-2)},H=p.__private__.padd2Hex=function(o){return("00"+(o=o.toString())).substr(o.length)},V=0,K=[],tt=[],et=0,ht=[],wt=[],St=!1,_t=tt;p.__private__.setCustomOutputDestination=function(o){St=!0,_t=o};var zt=function(o){St||(_t=o)};p.__private__.resetCustomOutputDestination=function(){St=!1,_t=tt};var x=p.__private__.out=function(o){return o=o.toString(),et+=o.length+1,_t.push(o),_t},At=p.__private__.write=function(o){return x(arguments.length===1?o.toString():Array.prototype.join.call(arguments," "))},ae=p.__private__.getArrayBuffer=function(o){for(var g=o.length,S=new ArrayBuffer(g),E=new Uint8Array(S);g--;)E[g]=o.charCodeAt(g);return S},Ut=[["Helvetica","helvetica","normal","WinAnsiEncoding"],["Helvetica-Bold","helvetica","bold","WinAnsiEncoding"],["Helvetica-Oblique","helvetica","italic","WinAnsiEncoding"],["Helvetica-BoldOblique","helvetica","bolditalic","WinAnsiEncoding"],["Courier","courier","normal","WinAnsiEncoding"],["Courier-Bold","courier","bold","WinAnsiEncoding"],["Courier-Oblique","courier","italic","WinAnsiEncoding"],["Courier-BoldOblique","courier","bolditalic","WinAnsiEncoding"],["Times-Roman","times","normal","WinAnsiEncoding"],["Times-Bold","times","bold","WinAnsiEncoding"],["Times-Italic","times","italic","WinAnsiEncoding"],["Times-BoldItalic","times","bolditalic","WinAnsiEncoding"],["ZapfDingbats","zapfdingbats","normal",null],["Symbol","symbol","normal",null]];p.__private__.getStandardFonts=function(){return Ut};var mt=r.fontSize||16;p.__private__.setFontSize=p.setFontSize=function(o){return mt=nt===Q?o/ne:o,this};var Ht,kt=p.__private__.getFontSize=p.getFontSize=function(){return nt===Z?mt:mt*ne},Tt=r.R2L||!1;p.__private__.setR2L=p.setR2L=function(o){return Tt=o,this},p.__private__.getR2L=p.getR2L=function(){return Tt};var Rt,ve=p.__private__.setZoomMode=function(o){if(/^(?:\d+\.\d*|\d*\.\d+|\d+)%$/.test(o))Ht=o;else if(isNaN(o)){if([void 0,null,"fullwidth","fullheight","fullpage","original"].indexOf(o)===-1)throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+o+'" is not recognized.');Ht=o}else Ht=parseInt(o,10)};p.__private__.getZoomMode=function(){return Ht};var le,$t=p.__private__.setPageMode=function(o){if([void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(o)==-1)throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+o+'" is not recognized.');Rt=o};p.__private__.getPageMode=function(){return Rt};var he=p.__private__.setLayoutMode=function(o){if([void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(o)==-1)throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+o+'" is not recognized.');le=o};p.__private__.getLayoutMode=function(){return le},p.__private__.setDisplayMode=p.setDisplayMode=function(o,g,S){return ve(o),he(g),$t(S),this};var ce={title:"",subject:"",author:"",keywords:"",creator:""};p.__private__.getDocumentProperty=function(o){if(Object.keys(ce).indexOf(o)===-1)throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return ce[o]},p.__private__.getDocumentProperties=function(){return ce},p.__private__.setDocumentProperties=p.setProperties=p.setDocumentProperties=function(o){for(var g in ce)ce.hasOwnProperty(g)&&o[g]&&(ce[g]=o[g]);return this},p.__private__.setDocumentProperty=function(o,g){if(Object.keys(ce).indexOf(o)===-1)throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return ce[o]=g};var Bt,ne,Et,Te,ge,oe={},se={},Ce=[],Dt={},_e={},Yt={},Qt={},Oe=null,ue=0,Vt=[],be=new Ds(p),zr=r.hotfixes||[],un={},lr={},Kn=[],Gt=function o(g,S,E,W,rt,dt){if(!(this instanceof o))return new o(g,S,E,W,rt,dt);isNaN(g)&&(g=1),isNaN(S)&&(S=0),isNaN(E)&&(E=0),isNaN(W)&&(W=1),isNaN(rt)&&(rt=0),isNaN(dt)&&(dt=0),this._matrix=[g,S,E,W,rt,dt]};Object.defineProperty(Gt.prototype,"sx",{get:function(){return this._matrix[0]},set:function(o){this._matrix[0]=o}}),Object.defineProperty(Gt.prototype,"shy",{get:function(){return this._matrix[
vendor: 14,300 bytes, lines 2-6
21]},set:function(o){this._matrix[1]=o}}),Object.defineProperty(Gt.prototype,"shx",{get:function(){return this._matrix[2]},set:function(o){this._matrix[2]=o}}),Object.defineProperty(Gt.prototype,"sy",{get:function(){return this._matrix[3]},set:function(o){this._matrix[3]=o}}),Object.defineProperty(Gt.prototype,"tx",{get:function(){return this._matrix[4]},set:function(o){this._matrix[4]=o}}),Object.defineProperty(Gt.prototype,"ty",{get:function(){return this._matrix[5]},set:function(o){this._matrix[5]=o}}),Object.defineProperty(Gt.prototype,"a",{get:function(){return this._matrix[0]},set:function(o){this._matrix[0]=o}}),Object.defineProperty(Gt.prototype,"b",{get:function(){return this._matrix[1]},set:function(o){this._matrix[1]=o}}),Object.defineProperty(Gt.prototype,"c",{get:function(){return this._matrix[2]},set:function(o){this._matrix[2]=o}}),Object.defineProperty(Gt.prototype,"d",{get:function(){return this._matrix[3]},set:function(o){this._matrix[3]=o}}),Object.defineProperty(Gt.prototype,"e",{get:function(){return this._matrix[4]},set:function(o){this._matrix[4]=o}}),Object.defineProperty(Gt.prototype,"f",{get:function(){return this._matrix[5]},set:function(o){this._matrix[5]=o}}),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(o){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(st).join(o)},Gt.prototype.multiply=function(o){var g=o.sx*this.sx+o.shy*this.shx,S=o.sx*this.shy+o.shy*this.sy,E=o.shx*this.sx+o.sy*this.shx,W=o.shx*this.shy+o.sy*this.sy,rt=o.tx*this.sx+o.ty*this.shx+this.tx,dt=o.tx*this.shy+o.ty*this.sy+this.ty;return new Gt(g,S,E,W,rt,dt)},Gt.prototype.decompose=function(){var o=this.sx,g=this.shy,S=this.shx,E=this.sy,W=this.tx,rt=this.ty,dt=Math.sqrt(o*o+g*g),jt=(o/=dt)*S+(g/=dt)*E;S-=o*jt,E-=g*jt;var It=Math.sqrt(S*S+E*E);return jt/=It,o*(E/=It)<g*(S/=It)&&(o=-o,g=-g,jt=-jt,dt=-dt),{scale:new Gt(dt,0,0,It,0,0),translate:new Gt(1,0,0,1,W,rt),rotate:new Gt(o,g,-g,o,0,0),skew:new Gt(1,0,jt,1,0,0)}},Gt.prototype.toString=function(o){return this.join(" ")},Gt.prototype.inversed=function(){var o=this.sx,g=this.shy,S=this.shx,E=this.sy,W=this.tx,rt=this.ty,dt=1/(o*E-g*S),jt=E*dt,It=-g*dt,Kt=-S*dt,te=o*dt;return new Gt(jt,It,Kt,te,-jt*W-Kt*rt,-It*W-te*rt)},Gt.prototype.applyToPoint=function(o){var g=o.x*this.sx+o.y*this.shx+this.tx,S=o.x*this.shy+o.y*this.sy+this.ty;return new Gr(g,S)},Gt.prototype.applyToRectangle=function(o){var g=this.applyToPoint(o),S=this.applyToPoint(new Gr(o.x+o.w,o.y+o.h));return new Ki(g.x,g.y,S.x-g.x,S.y-g.y)},Gt.prototype.clone=function(){var o=this.sx,g=this.shy,S=this.shx,E=this.sy,W=this.tx,rt=this.ty;return new Gt(o,g,S,E,W,rt)},p.Matrix=Gt;var cr=p.matrixMult=function(o,g){return g.multiply(o)},hr=new Gt(1,0,0,1,0,0);p.unitMatrix=p.identityMatrix=hr;var On=function(o,g){if(!_e[o]){var S=(g instanceof si?"Sh":"P")+(Object.keys(Dt).length+1).toString(10);g.id=S,_e[o]=S,Dt[S]=g,be.publish("addPattern",g)}};p.ShadingPattern=si,p.TilingPattern=qi,p.addShadingPattern=function(o,g){return Y("addShadingPattern()"),On(o,g),this},p.beginTilingPattern=function(o){Y("beginTilingPattern()"),Zi(o.boundingBox[0],o.boundingBox[1],o.boundingBox[2]-o.boundingBox[0],o.boundingBox[3]-o.boundingBox[1],o.matrix)},p.endTilingPattern=function(o,g){Y("endTilingPattern()"),g.stream=wt[C].join(`
3`),On(o,g),be.publish("endTilingPattern",g),Kn.pop().restore()};var Bn,Ee=p.__private__.newObject=function(){var o=tn();return nn(o,!0),o},tn=p.__private__.newObjectDeferred=function(){return V++,K[V]=function(){return et},V},nn=function(o,g){return g=typeof g=="boolean"&&g,K[o]=et,g&&x(o+" 0 obj"),o},Ur=p.__private__.newAdditionalObject=function(){var o={objId:tn(),content:""};return ht.push(o),o},Ar=tn(),Tn=tn(),Zn=p.__private__.decodeColorString=function(o){var g=o.split(" ");if(g.length!==2||g[1]!=="g"&&g[1]!=="G")g.length!==5||g[4]!=="k"&&g[4]!=="K"||(g=[(1-g[0])*(1-g[3]),(1-g[1])*(1-g[3]),(1-g[2])*(1-g[3]),"r"]);else{var S=parseFloat(g[0]);g=[S,S,S,"r"]}for(var E="#",W=0;W<3;W++)E+=("0"+Math.floor(255*parseFloat(g[W])).toString(16)).slice(-2);return E},zn=p.__private__.encodeColorString=function(o){var g;typeof o=="string"&&(o={ch1:o});var S=o.ch1,E=o.ch2,W=o.ch3,rt=o.ch4,dt=o.pdfColorType==="draw"?["G","RG","K"]:["g","rg","k"];if(typeof S=="string"&&S.charAt(0)!=="#"){var jt=new ru(S);if(jt.ok)S=jt.toHex();else if(!/^\d*\.?\d*$/.test(S))throw new Error('Invalid color "'+S+'" passed to jsPDF.encodeColorString.')}if(typeof S=="string"&&/^#[0-9A-Fa-f]{3}$/.test(S)&&(S="#"+S[1]+S[1]+S[2]+S[2]+S[3]+S[3]),typeof S=="string"&&/^#[0-9A-Fa-f]{6}$/.test(S)){var It=parseInt(S.substr(1),16);S=It>>16&255,E=It>>8&255,W=255&It}if(E===void 0||rt===void 0&&S===E&&E===W)g=typeof S=="string"?S+" "+dt[0]:o.precision===2?_(S/255)+" "+dt[0]:I(S/255)+" "+dt[0];else if(rt===void 0||Se(rt)==="object"){if(rt&&!isNaN(rt.a)&&rt.a===0)return["1.","1.","1.",dt[1]].join(" ");g=typeof S=="string"?[S,E,W,dt[1]].join(" "):o.precision===2?[_(S/255),_(E/255),_(W/255),dt[1]].join(" "):[I(S/255),I(E/255),I(W/255),dt[1]].join(" ")}else g=typeof S=="string"?[S,E,W,rt,dt[2]].join(" "):o.precision===2?[_(S),_(E),_(W),_(rt),dt[2]].join(" "):[I(S),I(E),I(W),I(rt),dt[2]].join(" ");return g},Un=p.__private__.getFilters=function(){return d},Mn=p.__private__.putStream=function(o){var g=(o=o||{}).data||"",S=o.filters||Un(),E=o.alreadyAppliedFilters||[],W=o.addLength1||!1,rt=g.length,dt=o.objectId,jt=function(Ie){return Ie};if(A!==null&&dt===void 0)throw new Error("ObjectId must be passed to putStream for file encryption");A!==null&&(jt=rn.encryptor(dt,0));var It={};S===!0&&(S=["FlateEncode"]);var Kt=o.additionalKeyValues||[],te=(It=qt.API.processDataByFilters!==void 0?qt.API.processDataByFilters(g,S):{data:g,reverseChain:[]}).reverseChain+(Array.isArray(E)?E.join(" "):E.toString());if(It.data.length!==0&&(Kt.push({key:"Length",value:It.data.length}),W===!0&&Kt.push({key:"Length1",value:rt})),te.length!=0)if(te.split("/").length-1==1)Kt.push({key:"Filter",value:te});else{Kt.push({key:"Filter",value:"["+te+"]"});for(var de=0;de<Kt.length;de+=1)if(Kt[de].key==="DecodeParms"){for(var Je=[],Ne=0;Ne<It.reverseChain.split("/").length-1;Ne+=1)Je.push("null");Je.push(Kt[de].value),Kt[de].value="["+Je.join(" ")+"]"}}x("<<");for(var Le=0;Le<Kt.length;Le++)x("/"+Kt[Le].key+" "+Kt[Le].value);x(">>"),It.data.length!==0&&(x("stream"),x(jt(It.data)),x("endstream"))},Hr=p.__private__.putPage=function(o){var g=o.number,S=o.data,E=o.objId,W=o.contentsObjId;nn(E,!0),x("<</Type /Page"),x("/Parent "+o.rootDictionaryObjId+" 0 R"),x("/Resources "+o.resourceDictionaryObjId+" 0 R"),x("/MediaBox ["+parseFloat(st(o.mediaBox.bottomLeftX))+" "+parseFloat(st(o.mediaBox.bottomLeftY))+" "+st(o.mediaBox.topRightX)+" "+st(o.mediaBox.topRightY)+"]"),o.cropBox!==null&&x("/CropBox ["+st(o.cropBox.bottomLeftX)+" "+st(o.cropBox.bottomLeftY)+" "+st(o.cropBox.topRightX)+" "+st(o.cropBox.topRightY)+"]"),o.bleedBox!==null&&x("/BleedBox ["+st(o.bleedBox.bottomLeftX)+" "+st(o.bleedBox.bottomLeftY)+" "+st(o.bleedBox.topRightX)+" "+st(o.bleedBox.topRightY)+"]"),o.trimBox!==null&&x("/TrimBox ["+st(o.trimBox.bottomLeftX)+" "+st(o.trimBox.bottomLeftY)+" "+st(o.trimBox.topRightX)+" "+st(o.trimBox.topRightY)+"]"),o.artBox!==null&&x("/ArtBox ["+st(o.artBox.bottomLeftX)+" "+st(o.artBox.bottomLeftY)+" "+st(o.artBox.topRightX)+" "+st(o.artBox.topRightY)+"]"),typeof o.userUnit=="number"&&o.userUnit!==1&&x("/UserUnit "+o.userUnit),be.publish("putPage",{objId:E,pageContext:Vt[g],pageNumber:g,page:S}),x("/Contents "+W+" 0 R"),x(">>"),x("endobj");var rt=S.join(`
4`);return nt===Q&&(rt+=`
5Q`),nn(W,!0),Mn({data:rt,filters:Un(),objectId:W}),x("endobj"),E},$n=p.__private__.putPages=function(){var o,g,S=[];for(o=1;o<=ue;o++)Vt[o].objId=tn(),Vt[o].contentsObjId=tn();for(o=1;o<=ue;o++)S.push(Hr({number:o,data:wt[o],objId:Vt[o].objId,contentsObjId:Vt[o].contentsObjId,mediaBox:Vt[o].mediaBox,cropBox:Vt[o].cropBox,bleedBox:Vt[o].bleedBox,trimBox:Vt[o].trimBox,artBox:Vt[o].artBox,userUnit:Vt[o].userUnit,rootDictionaryObjId:Ar,resourceDictionaryObjId:Tn}));nn(Ar,!0),x("<</Type /Pages");var E="/Kids [";for(g=0;g<ue;g++)E+=S[g]+" 0 R ";x(E+"]"),x("/Count "+ue),x(">>"),x("endobj"),be.publish("postPutPages")},Wr=function(o){be.publish("putFont",{font:o,out:x,newObject:Ee,putStream:Mn}),o.isAlreadyPutted!==!0&&(o.objectNumber=Ee(),x("<<"),x("/Type /Font"),x("/BaseFont /"+Ei(o.postScriptName)),x("/Subtype /Type1"),typeof o.encoding=="string"&&x("/Encoding /"+o.encoding),x("/FirstChar 32"),x("/LastChar 255"),x(">>"),x("endobj"))},hi=function(o){o.objectNumber=Ee();var g=[];g.push({key:"Type",value:"/XObject"}),g.push({key:"Subtype",value:"/Form"}),g.push({key:"BBox",value:"["+[st(o.x),st(o.y),st(o.x+o.width),st(o.y+o.height)].join(" ")+"]"}),g.push({key:"Matrix",value:"["+o.matrix.toString()+"]"});var S=o.pages[1].join(`
6`);Mn({data:S,additionalKeyValues:g,objectId:o.objectNumber}),x("endobj")},fi=function(o,g){g||(g=21);var S=Ee(),E=(function(dt,jt){var It,Kt=[],te=1/(jt-1);for(It=0;It<1;It+=te)Kt.push(It);if(Kt.push(1),dt[0].offset!=0){var de={offset:0,color:dt[0].color};dt.unshift(de)}if(dt[dt.length-1].offset!=1){var Je={offset:1,color:dt[dt.length-1].color};dt.push(Je)}for(var Ne="",Le=0,Ie=0;Ie<Kt.length;Ie++){for(It=Kt[Ie];It>dt[Le+1].offset;)Le++;var Be=dt[Le].offset,Me=(It-Be)/(dt[Le+1].offset-Be),ln=dt[Le].color,vr=dt[Le+1].color;Ne+=H(Math.round((1-Me)*ln[0]+Me*vr[0]).toString(16))+H(Math.round((1-Me)*ln[1]+Me*vr[1]).toString(16))+H(Math.round((1-Me)*ln[2]+Me*vr[2]).toString(16))}return Ne.trim()})(o.colors,g),W=[];W.push({key:"FunctionType",value:"0"}),W.push({key:"Domain",value:"[0.0 1.0]"}),W.push({key:"Size",value:"["+g+"]"}),W.push({key:"BitsPerSample",value:"8"}),W.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),W.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),Mn({data:E,additionalKeyValues:W,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:S}),x("endobj"),o.objectNumber=Ee(),x("<< /ShadingType "+o.type),x("/ColorSpace /DeviceRGB");var rt="/Coords ["+st(parseFloat(o.coords[0]))+" "+st(parseFloat(o.coords[1]))+" ";o.type===2?rt+=st(parseFloat(o.coords[2]))+" "+st(parseFloat(o.coords[3])):rt+=st(parseFloat(o.coords[2]))+" "+st(parseFloat(o.coords[3]))+" "+st(parseFloat(o.coords[4]))+" "+st(parseFloat(o.coords[5])),x(rt+="]"),o.matrix&&x("/Matrix ["+o.matrix.toString()+"]"),x("/Function "+S+" 0 R"),x("/Extend [true true]"),x(">>"),x("endobj")},di=function(o,g){var S=tn(),E=Ee();g.push({resourcesOid:S,objectOid:E}),o.objectNumber=E;var W=[];W.push({key:"Type",value:"/Pattern"}),W.push({key:"PatternType",value:"1"}),W.push({key:"PaintType",value:"1"}),W.push({key:"TilingType",value:"1"}),W.push({key:"BBox",value:"["+o.boundingBox.map(st).join(" ")+"]"}),W.push({key:"XStep",value:st(o.xStep)}),W.push({key:"YStep",value:st(o.yStep)}),W.push({key:"Resources",value:S+" 0 R"}),o.matrix&&W.push({key:"Matrix",value:"["+o.matrix.toString()+"]"}),Mn({data:o.stream,additionalKeyValues:W,objectId:o.objectNumber}),x("endobj")},no=function(o){for(var g in o.objectNumber=Ee(),x("<<"),o)switch(g){case"opacity":x("/ca "+_(o[g]));break;case"stroke-opacity":x("/CA "+_(o[g]))}x(">>"),x("endobj")},Ui=function(o){nn(o.resourcesOid,!0),x("<<"),x("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),(function(){for(var g in x("/Font <<"),oe)oe.hasOwnProperty(g)&&(F===!1||F===!0&&B.hasOwnProperty(g))&&x("/"+g+" "+oe[g].objectNumber+" 0 R");x(">>")})(),(function(){if(Object.keys(Dt).length>0){for(var g in x("/Shading <<"),Dt)Dt.hasOwnProperty(g)&&Dt[g]instanceof si&&Dt[g].objectNumber>=0&&x("/"+g+" "+Dt[g].objectNumber+" 0 R");be.publish("putShadingPatternDict"),x(">>")}})(),(function(g){if(Object.keys(Dt).length>0){for(var S in x("/Pattern <<"),Dt)Dt.hasOwnProperty(S)&&Dt[S]instanceof p.TilingPattern&&Dt[S].objectNumber>=0&&Dt[S].objectNumber<g&&x("/"+S+" "+Dt[S].objectNumber+" 0 R");be.publish("putTilingPatternDict"),x(">>")}})(o.objectOid),(function(){if(Object.keys(Yt).length>0){var g;for(g in x("/ExtGState <<"),Yt)Yt.hasOwnProperty(g)&&Yt[g].objectNumber>=0&&x("/"+g+" "+Yt[g].objectNumber+" 0 R");be.publish("putGStateDict"),x(">>")}})(),(function(){for(var g in x("/XObject <<"),un)un.hasOwnProperty(g)&&un[g].objectNumber>=0&&x("/"+g+" "+un[g].objectNumber+" 0 R");be.publish("putXobjectDict"),x(">>")})(),x(">>"),x("endobj")},ha=function(o){se[o.fontName]=se[o.fontName]||{},se[o.fontName][o.fontStyle]=o.id},fa=function(o,g,S,E,W){var rt={id:"F"+(Object.keys(oe).length+1).toString(10),postScriptName:o,fontName:g,fontStyle:S,encoding:E,isStandardFont:W||!1,metadata:{}};return be.publish("addFont",{font:rt,instance:this}),oe[rt.id]=rt,ha(rt),rt.id},En=p.__private__.pdfEscape=p.pdfEscape=function(o,g){return(function(S,E){var W,rt,dt,jt,It,Kt,te,de,Je;if(dt=(E=E||{}).sourceEncoding||"Unicode",It=E.outputEncoding,(E.autoencode||It)&&oe[Bt].metadata&&oe[Bt].metadata[dt]&&oe[Bt].metadata[dt].encoding&&(jt=oe[Bt].metadata[dt].encoding,!It&&oe[Bt].encoding&&(It=oe[Bt].encoding),!It&&jt.codePages&&(It=jt.codePages[0]),typeof It=="string"&&(It=jt[It]),It)){for(te=!1,Kt=[],W=0,rt=S.length;W<rt;W++)(de=It[S.charCodeAt(W)])?Kt.push(String.fromCharCode(de)):Kt.push(S[W]),Kt[W].charCodeAt(0)>>8&&(te=!0);S=Kt.join("")}for(W=S.length;te===void 0&&W!==0;)S.charCodeAt(W-1)>>8&&(te=!0),W--;if(!te)return S;for(Kt=E.noBOM?[]:[254,255],W=0,rt=S.length;W<rt;W++){if((Je=(de=S.charCodeAt(W))>>8)>>8)throw new Error("Character at position "+W+" of string '"+S+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");Kt.push(Je),Kt.push(de-(Je<<8))}return String.fromCharCode.apply(void 0,Kt)})(o,g).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},Hi=p.__private__.beginPage=function(o){wt[++ue]=[],Vt[ue]={objId:0,contentsObjId:0,userUnit:Number(c),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(o[0]),topRightY:Number(o[1])}},pa(ue),zt(wt[C])},da=function(o,g){var S,E,W;
6switch(i=g||i,typeof o=="string"&&(S=j(o.toLowerCase()),Array.isArray(S)&&(E=S[0],W=S[1])),Array.isArray(o)&&(E=o[0]*ne,W=o[1]*ne),isNaN(E)&&(E=s[0],W=s[1]),(E>14400||W>14400)&&(xe.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),E=Math.min(14400,E),W=Math.min(14400,W)),s=[E,W],i.substr(0,1)){case"l":W>E&&(s=[W,E]);break;case"p":E>W&&(s=[W,E])}Hi(s),fo(Jt),x(yi),Ji!==0&&x(Ji+" J"),_r!==0&&x(_r+" j"),be.publish("addPage",{pageNumber:ue})},Wi=function(o){o>0&&o<=ue&&(wt.splice(o,1),Vt.splice(o,1),ue--,C>ue&&(C=ue),this.setPage(C))},pa=function(o){o>0&&o<=ue&&(C=o)},ga=p.__private__.getNumberOfPages=p.getNumberOfPages=function(){return wt.length-1},ma=function(o,g,S){var E,W=void 0;return S=S||{},o=o!==void 0?o:oe[Bt].fontName,g=g!==void 0?g:oe[Bt].fontStyle,E=o.toLowerCase(),se[E]!==void 0&&se[E][g]!==void 0?W=se[E][g]:se[o]!==void 0&&se[o][g]!==void 0?W=se[o][g]:S.disableWarning===!1&&xe.warn("Unable to look up font label for font '"+o+"', '"+g+"'. Refer to getFontList() for available fonts."),W||S.noFallback||(W=se.times[g])==null&&(W=se.times.normal),W},Qn=p.__private__.putInfo=function(){var o=Ee(),g=function(E){return E};for(var S in A!==null&&(g=rn.encryptor(o,0)),x("<<"),x("/Producer ("+En(g("jsPDF "+qt.version))+")"),ce)ce.hasOwnProperty(S)&&ce[S]&&x("/"+S.substr(0,1).toUpperCase()+S.substr(1)+" ("+En(g(ce[S]))+")");x("/CreationDate ("+En(g(at))+")"),x(">>"),x("endobj")},pi=p.__private__.putCatalog=function(o){var g=(o=o||{}).rootDictionaryObjId||Ar;switch(Ee(),x("<<"),x("/Type /Catalog"),x("/Pages "+g+" 0 R"),Ht||(Ht="fullwidth"),Ht){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 S=""+Ht;S.substr(S.length-1)==="%"&&(Ht=parseInt(Ht)/100),typeof Ht=="number"&&x("/OpenAction [3 0 R /XYZ null null "+_(Ht)+"]")}switch(le||(le="continuous"),le){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")}Rt&&x("/PageMode /"+Rt),be.publish("putCatalog"),x(">>"),x("endobj")},ro=p.__private__.putTrailer=function(){x("trailer"),x("<<"),x("/Size "+(V+1)),x("/Root "+V+" 0 R"),x("/Info "+(V-1)+" 0 R"),A!==null&&x("/Encrypt "+rn.oid+" 0 R"),x("/ID [ <"+lt+"> <"+lt+"> ]"),x(">>")},Ye=p.__private__.putHeader=function(){x("%PDF-"+z),x("%ºß¬à")},va=p.__private__.putXRef=function(){var o="0000000000";x("xref"),x("0 "+(V+1)),x("0000000000 65535 f ");for(var g=1;g<=V;g++)typeof K[g]=="function"?x((o+K[g]()).slice(-10)+" 00000 n "):K[g]!==void 0?x((o+K[g]).slice(-10)+" 00000 n "):x("0000000000 00000 n ")},tr=p.__private__.buildDocument=function(){var o;V=0,et=0,tt=[],K=[],ht=[],Ar=tn(),Tn=tn(),zt(tt),be.publish("buildDocument"),Ye(),$n(),(function(){be.publish("putAdditionalObjects");for(var S=0;S<ht.length;S++){var E=ht[S];nn(E.objId,!0),x(E.content),x("endobj")}be.publish("postPutAdditionalObjects")})(),o=[],(function(){for(var S in oe)oe.hasOwnProperty(S)&&(F===!1||F===!0&&B.hasOwnProperty(S))&&Wr(oe[S])})(),(function(){var S;for(S in Yt)Yt.hasOwnProperty(S)&&no(Yt[S])})(),(function(){for(var S in un)un.hasOwnProperty(S)&&hi(un[S])})(),(function(S){var E;for(E in Dt)Dt.hasOwnProperty(E)&&(Dt[E]instanceof si?fi(Dt[E]):Dt[E]instanceof qi&&di(Dt[E],S))})(o),be.publish("putResources"),o.forEach(Ui),Ui({resourcesOid:Tn,objectOid:Number.MAX_SAFE_INTEGER}),be.publish("postPutResources"),A!==null&&(rn.oid=Ee(),x("<<"),x("/Filter /Standard"),x("/V "+rn.v),x("/R "+rn.r),x("/U <"+rn.toHexString(rn.U)+">"),x("/O <"+rn.toHexString(rn.O)+">"),x("/P "+rn.P),x(">>"),x("endobj")),Qn(),pi();var g=et;return va(),ro(),x("startxref"),x(""+g),x("%%EOF"),zt(wt[C]),tt.join(`
7`)},gi=p.__private__.getBlob=function(o){return new Blob([ae(o)],{type:"application/pdf"})},Vi=function(o){for(;o.firstChild;)o.removeChild(o.firstChild)},_n=function(o){var g,S=o.document,E=S.documentElement,W=S.head,rt=S.body;return W||(W=S.createElement("head"),E.appendChild(W)),rt||(rt=S.createElement("body"),E.appendChild(rt)),Vi(W),Vi(rt),(g=S.createElement("style")).appendChild(S.createTextNode("html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;}")),W.appendChild(g),{document:S,body:rt}},mi=p.output=p.__private__.output=(Bn=function(o,g){switch(typeof(g=g||{})=="string"?g={filename:g}:g.filename=g.filename||"generated.pdf",o){case void 0:return tr();case"save":p.save(g.filename);break;case"arraybuffer":return ae(tr());case"blob":return gi(tr());case"bloburi":case"bloburl":if(Xt.URL!==void 0&&typeof Xt.URL.createObjectURL=="function")return Xt.URL&&Xt.URL.createObjectURL(gi(tr()))||void 0;xe.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var S="",E=tr();try{S=Es(E)}catch{S=Es(unescape(encodeURIComponent(E)))}return"data:application/pdf;filename="+encodeURIComponent(g.filename)+";base64,"+S;case"pdfobjectnewwindow":if(Object.prototype.toString.call(Xt)==="[object Window]"){var W="https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js",rt=!g.pdfObjectUrl;rt||(W=g.pdfObjectUrl);var dt=Xt.open();if(dt!==null){var jt=_n(dt),It=jt.document.createElement("script"),Kt=this;It.src=W,rt&&(It.integrity="sha512-4ze/a9/4jqu+tX9dfOqJYSvyYd5M6qum/3HpCLr+/Jqf0whc37VUbkpNGHR7/8pSnCFw47T1fmIpwBV7UySh3g==",It.crossOrigin="anonymous"),It.onload=function(){dt.PDFObject.embed(Kt.output("dataurlstring"),g)},jt.body.appendChild(It)}return dt}throw new Error("The option pdfobjectnewwindow just works in a browser-environment.");case"pdfjsnewwindow":if(Object.prototype.toString.call(Xt)==="[object Window]"){var te=g.pdfJsUrl||"examples/PDF.js/web/viewer.html",de=Xt.open();if(de!==null){var Je=_n(de),Ne=Je.document.createElement("iframe"),Le=te.indexOf("?")===-1?"?":"&";Kt=this,Ne.id="pdfViewer",Ne.width="500px",Ne.height="400px",Ne.src=te
vendor: 14,106 bytes, lines 7-22
7+Le+"file=&downloadName="+encodeURIComponent(g.filename),Ne.onload=function(){de.document.title=g.filename,Ne.contentWindow.PDFViewerApplication.open(Kt.output("bloburl"))},Je.body.appendChild(Ne)}return de}throw new Error("The option pdfjsnewwindow just works in a browser-environment.");case"dataurlnewwindow":if(Object.prototype.toString.call(Xt)!=="[object Window]")throw new Error("The option dataurlnewwindow just works in a browser-environment.");var Ie=Xt.open();if(Ie!==null){var Be=_n(Ie),Me=Be.document.createElement("iframe");Me.src=this.output("datauristring",g),Be.body.appendChild(Me),Ie.document.title=g.filename}if(Ie||typeof safari>"u")return Ie;break;case"datauri":case"dataurl":return Xt.document.location.href=this.output("datauristring",g);default:return null}},Bn.foo=function(){try{return Bn.apply(this,arguments)}catch(S){var o=S.stack||"";~o.indexOf(" at ")&&(o=o.split(" at ")[1]);var g="Error in function "+o.split(`
8`)[0].split("<")[0]+": "+S.message;if(!Xt.console)throw new Error(g);Xt.console.error(g,S),Xt.alert&&alert(g)}},Bn.foo.bar=Bn,Bn.foo),fr=function(o){return Array.isArray(zr)===!0&&zr.indexOf(o)>-1};switch(a){case"pt":ne=1;break;case"mm":ne=72/25.4;break;case"cm":ne=72/2.54;break;case"in":ne=72;break;case"px":ne=fr("px_scaling")==1?.75:96/72;break;case"pc":case"em":ne=12;break;case"ex":ne=6;break;default:if(typeof a!="number")throw new Error("Invalid unit: "+a);ne=a}var rn=null;bt(),$();var ba=p.__private__.getPageInfo=p.getPageInfo=function(o){if(isNaN(o)||o%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfo");return{objId:Vt[o].objId,pageNumber:o,pageContext:Vt[o]}},io=p.__private__.getPageInfoByObjId=function(o){if(isNaN(o)||o%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfoByObjId");for(var g in Vt)if(Vt[g].objId===o)break;return ba(g)},ao=p.__private__.getCurrentPageInfo=p.getCurrentPageInfo=function(){return{objId:Vt[C].objId,pageNumber:C,pageContext:Vt[C]}};p.addPage=function(){return da.apply(this,arguments),this},p.setPage=function(){return pa.apply(this,arguments),zt.call(this,wt[C]),this},p.insertPage=function(o){return this.addPage(),this.movePage(C,o),this},p.movePage=function(o,g){var S,E;if(o>g){S=wt[o],E=Vt[o];for(var W=o;W>g;W--)wt[W]=wt[W-1],Vt[W]=Vt[W-1];wt[g]=S,Vt[g]=E,this.setPage(g)}else if(o<g){S=wt[o],E=Vt[o];for(var rt=o;rt<g;rt++)wt[rt]=wt[rt+1],Vt[rt]=Vt[rt+1];wt[g]=S,Vt[g]=E,this.setPage(g)}return this},p.deletePage=function(){return Wi.apply(this,arguments),this},p.__private__.text=p.text=function(o,g,S,E,W){var rt,dt,jt,It,Kt,te,de,Je,Ne,Le=(E=E||{}).scope||this;if(typeof o=="number"&&typeof g=="number"&&(typeof S=="string"||Array.isArray(S))){var Ie=S;S=g,g=o,o=Ie}if(arguments[3]instanceof Gt==0?(jt=arguments[4],It=arguments[5],Se(de=arguments[3])==="object"&&de!==null||(typeof jt=="string"&&(It=jt,jt=null),typeof de=="string"&&(It=de,de=null),typeof de=="number"&&(jt=de,de=null),E={flags:de,angle:jt,align:It})):(Y("The transform parameter of text() with a Matrix value"),Ne=W),isNaN(g)||isNaN(S)||o==null)throw new Error("Invalid arguments passed to jsPDF.text");if(o.length===0)return Le;var Be,Me="",ln=typeof E.lineHeightFactor=="number"?E.lineHeightFactor:Vr,vr=Le.internal.scaleFactor;function $i(Pe){return Pe=Pe.split("	").join(Array(E.TabLen||9).join(" ")),En(Pe,de)}function Jr(Pe){for(var ke,ze=Pe.concat(),Ke=[],yr=ze.length;yr--;)typeof(ke=ze.shift())=="string"?Ke.push(ke):Array.isArray(Pe)&&(ke.length===1||ke[1]===void 0&&ke[2]===void 0)?Ke.push(ke[0]):Ke.push([ke[0],ke[1],ke[2]]);return Ke}function Xr(Pe,ke){var ze;if(typeof Pe=="string")ze=ke(Pe)[0];else if(Array.isArray(Pe)){for(var Ke,yr,ia=Pe.concat(),ji=[],ka=ia.length;ka--;)typeof(Ke=ia.shift())=="string"?ji.push(ke(Ke)[0]):Array.isArray(Ke)&&typeof Ke[0]=="string"&&(yr=ke(Ke[0],Ke[1],Ke[2]),ji.push([yr[0],yr[1],yr[2]]));ze=ji}return ze}var Pr=!1,Kr=!0;if(typeof o=="string")Pr=!0;else if(Array.isArray(o)){var Ai=o.concat();dt=[];for(var xi,cn=Ai.length;cn--;)(typeof(xi=Ai.shift())!="string"||Array.isArray(xi)&&typeof xi[0]!="string")&&(Kr=!1);Pr=Kr}if(Pr===!1)throw new Error('Type of text must be string or Array. "'+o+'" is not recognized.');typeof o=="string"&&(o=o.match(/[\r?\n]/)?o.split(/\r\n|\r|\n/g):[o]);var Zr=mt/Le.internal.scaleFactor,$r=Zr*(ln-1);switch(E.baseline){case"bottom":S-=$r;break;case"top":S+=Zr-$r;break;case"hanging":S+=Zr-2*$r;break;case"middle":S+=Zr/2-$r}if((te=E.maxWidth||0)>0&&(typeof o=="string"?o=Le.splitTextToSize(o,te):Object.prototype.toString.call(o)==="[object Array]"&&(o=o.reduce(function(Pe,ke){return Pe.concat(Le.splitTextToSize(ke,te))},[]))),rt={text:o,x:g,y:S,options:E,mutex:{pdfEscape:En,activeFontKey:Bt,fonts:oe,activeFontSize:mt}},be.publish("preProcessText",rt),o=rt.text,jt=(E=rt.options).angle,Ne instanceof Gt==0&&jt&&typeof jt=="number"){jt*=Math.PI/180,E.rotationDirection===0&&(jt=-jt),nt===Q&&(jt=-jt);var Qi=Math.cos(jt),rr=Math.sin(jt);Ne=new Gt(Qi,rr,-rr,Qi,0,0)}else jt&&jt instanceof Gt&&(Ne=jt);nt!==Q||Ne||(Ne=hr),(Kt=E.charSpace||wi)!==void 0&&(Me+=st(R(Kt))+` Tc
9`,this.setCharSpace(this.getCharSpace()||0)),(Je=E.horizontalScale)!==void 0&&(Me+=st(100*Je)+` Tz
10`),E.lang;var vn=-1,_a=E.renderingMode!==void 0?E.renderingMode:E.stroke,Si=Le.internal.getCurrentPageInfo().pageContext;switch(_a){case 0:case!1:case"fill":vn=0;break;case 1:case!0:case"stroke":vn=1;break;case 2:case"fillThenStroke":vn=2;break;case 3:case"invisible":vn=3;break;case 4:case"fillAndAddForClipping":vn=4;break;case 5:case"strokeAndAddPathForClipping":vn=5;break;case 6:case"fillThenStrokeAndAddToPathForClipping":vn=6;break;case 7:case"addToPathForClipping":vn=7}var Pa=Si.usedRenderingMode!==void 0?Si.usedRenderingMode:-1;vn!==-1?Me+=vn+` Tr
11`:Pa!==-1&&(Me+=`0 Tr
12`),vn!==-1&&(Si.usedRenderingMode=vn),It=E.align||"left";var qn,Qr=mt*ln,ta=Le.internal.pageSize.getWidth(),_i=oe[Bt];Kt=E.charSpace||wi,te=E.maxWidth||0,de=Object.assign({autoencode:!0,noBOM:!0},E.flags);var ti=[],ea=function(Pe){return Le.getStringUnitWidth(Pe,{font:_i,charSpace:Kt,fontSize:mt,doKerning:!1})*mt/vr};if(Object.prototype.toString.call(o)==="[object Array]"){var bn;dt=Jr(o),It!=="left"&&(qn=dt.map(ea));var Nn,Pi=0;if(It==="right"){g-=qn[0],o=[],cn=dt.length;for(var kr=0;kr<cn;kr++)kr===0?(Nn=dr(g),bn=pr(S)):(Nn=R(Pi-qn[kr]),bn=-Qr),o.push([dt[kr],Nn,bn]),Pi=qn[kr]}else if(It==="center"){g-=qn[0]/2,o=[],cn=dt.length;for(var Fr=0;Fr<cn;Fr++)Fr===0?(Nn=dr(g),bn=pr(S)):(Nn=R((Pi-qn[Fr])/2),bn=-Qr),o.push([dt[Fr],Nn,bn]),Pi=qn[Fr]}else if(It==="left"){o=[],cn=dt.length;for(var ki=0;ki<cn;ki++)o.push(dt[ki])}else if(It==="justify"&&_i.encoding==="Identity-H"){o=[],cn=dt.length,te=te!==0?te:ta;for(var ei=0,Xe=0;Xe<cn;Xe++)if(bn=Xe===0?pr(S):-Qr,Nn=Xe===0?dr(g):ei,Xe<cn-1){var Lo=R((te-qn[Xe])/(dt[Xe].split(" ").length-1)),ir=dt[Xe].split(" ");o.push([ir[0]+" ",Nn,bn]),ei=0;for(var Hn=1;Hn<ir.length;Hn++){var ni=(ea(ir[Hn-1]+" "+ir[Hn])-ea(ir[Hn]))*vr+Lo;Hn==ir.length-1?o.push([ir[Hn],ni,0]):o.push([ir[Hn]+" ",ni,0]),ei-=ni}}else o.push([dt[Xe],Nn,bn]);o.push(["",ei,0])}else{if(It!=="justify")throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');for(o=[],cn=dt.length,te=te!==0?te:ta,Xe=0;Xe<cn;Xe++){bn=Xe===0?pr(S):-Qr,Nn=Xe===0?dr(g):0;var na=dt[Xe].split(" ").length-1,ra=na>0?(te-qn[Xe])/na:0;Xe<cn-1?ti.push(st(R(ra))):ti.push(0),o.push([dt[Xe],Nn,bn])}}}(typeof E.R2L=="boolean"?E.R2L:Tt)===!0&&(o=Xr(o,function(Pe,ke,ze){return[Pe.split("").reverse().join(""),ke,ze]})),rt={text:o,x:g,y:S,options:E,mutex:{pdfEscape:En,activeFontKey:Bt,fonts:oe,activeFontSize:mt}},be.publish("postProcessText",rt),o=rt.text,Be=rt.mutex.isHex||!1;var Fi=oe[Bt].encoding;Fi!=="WinAnsiEncoding"&&Fi!=="StandardEncoding"||(o=Xr(o,function(Pe,ke,ze){return[$i(Pe),ke,ze]})),dt=Jr(o),o=[];for(var ri,ii,Ir,br=Array.isArray(dt[0])?1:0,jr="",Ii=function(Pe,ke,ze){var Ke="";return ze instanceof Gt?(ze=typeof E.angle=="number"?cr(ze,new Gt(1,0,0,1,Pe,ke)):cr(new Gt(1,0,0,1,Pe,ke),ze),nt===Q&&(ze=cr(new Gt(1,0,0,-1,0,0),ze)),Ke=ze.join(" ")+` Tm
13`):Ke=st(Pe)+" "+st(ke)+` Td
14`,Ke},hn=0;hn<dt.length;hn++){switch(jr="",br){case 1:Ir=(Be?"<":"(")+dt[hn][0]+(Be?">":")"),ri=parseFloat(dt[hn][1]),ii=parseFloat(dt[hn][2]);break;case 0:Ir=(Be?"<":"(")+dt[hn]+(Be?">":")"),ri=dr(g),ii=pr(S)}ti!==void 0&&ti[hn]!==void 0&&(jr=ti[hn]+` Tw
15`),hn===0?o.push(jr+Ii(ri,ii,Ne)+Ir):br===0?o.push(jr+Ir):br===1&&o.push(jr+Ii(ri,ii,Ne)+Ir)}o=br===0?o.join(` Tj
16T* `):o.join(` Tj
17`),o+=` Tj
18`;var ar=`BT
19/`;return ar+=Bt+" "+mt+` Tf
20`,ar+=st(mt*ln)+` TL
21`,ar+=nr+`
22`,ar+=Me,ar+=o,x(ar+="ET"),B[Bt]=!0,Le};var oo=p.__private__.clip=p.clip=function(o){return x(o==="evenodd"?"W*":"W"),this};p.clipEvenOdd=function(){return oo("evenodd")},p.__private__.discardPath=p.discardPath=function(){return x("n"),this};var er=p.__private__.isValidStyle=function(o){var g=!1;return[void 0,null,"S","D","F","DF","FD","f","f*","B","B*","n"].indexOf(o)!==-1&&(g=!0),g};p.__private__.setDefaultPathOperation=p.setDefaultPathOperation=function(o){return er(o)&&(v=o),this};var ya=p.__private__.getStyle=p.getStyle=function(o){var g=v;switch(o){case"D":case"S":g="S";break;case"F":g="f";break;case"FD":case"DF":g="B";break;case"f":case"f*":case"B":case"B*":g=o}return g},vi=p.close=function(){return x("h"),this};p.stroke=function(){return x("S"),this},p.fill=function(o){return bi("f",o),this},p.fillEvenOdd=function(o){return bi("f*",o),this},p.fillStroke=function(o){return bi("B",o),this},p.fillStrokeEvenOdd=function(o){return bi("B*",o),this};var bi=function(o,g){Se(g)==="object"?uo(g,o):x(o)},Gi=function(o){o===null||nt===Q&&o===void 0||(o=ya(o),x(o))};function so(o,g,S,E,W){var rt=new qi(g||this.boundingBox,S||this.xStep,E||this.yStep,this.gState,W||this.matrix);rt.stream=this.stream;var dt=o+"$$"+this.cloneIndex+++"$$";return On(dt,rt),rt}var uo=function(o,g){var S=_e[o.key],E=Dt[S];if(E instanceof si)x("q"),x(lo(g)),E.gState&&p.setGState(E.gState),x(o.matrix.toString()+" cm"),x("/"+S+" sh"),x("Q");else if(E instanceof qi){var W=new Gt(1,0,0,-1,0,Yr());o.matrix&&(W=W.multiply(o.matrix||hr),S=so.call(E,o.key,o.boundingBox,o.xStep,o.yStep,W).id),x("q"),x("/Pattern cs"),x("/"+S+" scn"),E.gState&&p.setGState(E.gState),x(g),x("Q")}},lo=function(o){switch(o){case"f":case"F":case"n":return"W n";case"f*":return"W* n";case"B":case"S":return"W S";case"B*":return"W* S"}},xr=p.moveTo=function(o,g){return x(st(R(o))+" "+st(D(g))+" m"),this},wa=p.lineTo=function(o,g){return x(st(R(o))+" "+st(D(g))+" l"),this},Sr=p.curveTo=function(o,g,S,E,W,rt){return x([st(R(o)),st(D(g)),st(R(S)),st(D(E)),st(R(W)),st(D(rt)),"c"].join(" ")),this};p.__private__.line=p.line=function(o,g,S,E,W){if(isNaN(o)||isNaN(g)||isNaN(S)||isNaN(E)||!er(W))throw new Error("Invalid arguments passed to jsPDF.line");return nt===Z?this.lines([[S-o,E-g]],o,g,[1,1],W||"S"):this.lines([[S-o,E-g]],o,g,[1,1]).stroke()},p.__private__.lines=p.lines=function(o,g,S,E,W,rt){var dt,jt,It,Kt,te,de,Je,Ne,Le,Ie,Be,Me;if(typeof o=="number"&&(Me=S,S=g,g=o,o=Me),E=E||[1,1],rt=rt||!1,isNaN(g)||isNaN(S)||!Array.isArray(o)||!Array.isArray(E)||!er(W)||typeof rt!="boolean")throw new Error("Invalid arguments passed to jsPDF.lines");for(xr(g,S),dt=E[0],jt=E[1],Kt=o.length,Ie=g,Be=S,It=0;It<Kt;It++)(te=o[It]).length===2?(Ie=te[0]*dt+Ie,Be=te[1]*jt+Be,wa(Ie,Be)):(de=te[0]*dt+Ie,Je=te[1]*jt+Be,Ne=te[2]*dt+Ie,Le=te[3]*jt+Be,Ie=te[4]*dt+Ie,Be=te[5]*jt+Be,Sr(de,Je,Ne,Le,Ie,Be));return rt&&vi(),Gi(W),this},p.path=function(o){for(var g=0;g<o.length;g++){var S=o[g],E=S.c;switch(S.op){case"m":xr(E[0],E[1]);break;case"l":wa(E[0],E[1]);break;case"c":Sr.apply(this,E);break;case"h":vi()}}return this},p.__private__.rect=p.rect=function(o,g,S,E,W){if(isNaN(o)||isNaN(g)||isNaN(S)||isNaN(E)||!er(W))throw new Error("Invalid arguments passed to jsPDF.rect");return nt===Z&&(E=-E),x([st(R(o)),st(D(g)),st(R(S)),st(R(E)),"re"].join(" ")),Gi(W),this},p.__private__.triangle=p.triangle=function(o,g,S,E,W,rt,dt){if(isNaN(o)||isNaN(g)||isNaN(S)||isNaN(E)||isNaN(W)||isNaN(rt)||!er(dt))throw new Error("Invalid arguments passed to jsPDF.triangle");return this.lines([[S-o,E-g],[W-S,rt-E],[o-W,g-rt]],o,g,[1,1],dt,!0),this},p.__private__.roundedRect=p.roundedRect=function(o,g,S,E,W,rt,dt){if(isNaN(o)||isNaN(g)||isNaN(S)||isNaN(E)||isNaN(W)||isNaN(rt)||!er(dt))throw new Error("Invalid arguments passed to jsPDF.roundedRect");var jt=4/3*(Math.SQRT2-1);return W=Math.min(W,.5*S),rt=Math.min(rt,.5*E),this.lines([[S-2*W,0],[W*jt,0,W,rt-rt*jt,W,rt],[0,E-2*rt],[0,rt*jt,-W*jt,rt,-W,rt],[2*W-S,0],[-W*jt,0,-W,-rt*jt,-W,-rt],[0,2*rt-E],[0,-rt*jt,W*jt,-rt,W,-rt]],o+W,g,[1,1],dt,!0),this},p.__private__.ellipse=p.ellipse=function(o,g,S,E,W){if(isNaN(o)||isNaN(g)||isNaN(S)||isNaN(E)||!er(W))throw new Error("Invalid arguments passed to jsPDF.ellipse");var rt=4/3*(Math.SQRT2-1)*S,dt=4/3*(Math.SQRT2-1)*E;return xr(o+S,g),Sr(o+S,g-dt,o+rt,g-E,o,g-E),Sr(o-rt,g-E,o-S,g-dt,o-S,g),Sr(o-S,g+dt,o-rt,g+E,o,g+E),Sr(o+rt,g+E,o+S,g+dt,o+S,g),Gi(W),this},p.__private__.circle=p.circle=function(o,g,S,E){if(isNaN(o)||isNaN(g)||isNaN(S)||!er(E))throw new Error("Invalid arguments passed to jsPDF.circle");return this.ellipse(o,g,S,S,E)},p.setFont=function(o,g,S){return S&&(g=Wt(g,S)),Bt=ma(o,g,{disableWarning:!1}),this};var co=p.__private__.getFont=p.getFont=function(){return oe[ma.apply(p,arguments)]};p.__private__.getFontList=p.getFontList=function(){var o,g,S={};for(o in se)if(se.hasOwnProperty(o))for(g in S[o]=[],se[o])se[o].hasOwnProperty(g)&&S[o].push(g);return S},p.addFont=function(o,g,S,E,W){var rt=["StandardEncoding","MacRomanEncoding","Identity-H","WinAnsiEncoding"];return arguments[3]&&rt.indexOf(arguments[3])!==-1?W=arguments[3]:arguments[3]&&rt.indexOf(arguments[3])==-1&&(S=Wt(S,E)),fa.call(this,o,g,S,W=W||"Identity-H")};var Vr,Jt=r.lineWidth||.200025,ho=p.__private__.getLineWidth=p.getLineWidth=function(){return Jt},fo=p.__private__.setLineWidth=p.setLineWidth=function(o){return Jt=o,x(st(R(o))+" w"),this};p.__private__.setLineDash=qt.API.setLineDash=qt.API.setLineDashPattern=function(o,g){if(o=o||[],g=g||0,isNaN(g)||!Array.isArray(o))throw new Error("Invalid arguments passed to 
22jsPDF.setLineDash");return o=o.map(function(S){return st(R(S))}).join(" "),g=st(R(g)),x("["+o+"] "+g+" d"),this};var po=p.__private__.getLineHeight=p.getLineHeight=function(){return mt*Vr};p.__private__.getLineHeight=p.getLineHeight=function(){return mt*Vr};var go=p.__private__.setLineHeightFactor=p.setLineHeightFactor=function(o){return typeof(o=o||1.15)=="number"&&(Vr=o),this},mo=p.__private__.getLineHeightFactor=p.getLineHeightFactor=function(){return Vr};go(r.lineHeight);var dr=p.__private__.getHorizontalCoordinate=function(o){return R(o)},pr=p.__private__.getVerticalCoordinate=function(o){return nt===Q?o:Vt[C].mediaBox.topRightY-Vt[C].mediaBox.bottomLeftY-R(o)},vo=p.__private__.getHorizontalCoordinateString=p.getHorizontalCoordinateString=function(o){return st(dr(o))},bo=p.__private__.getVerticalCoordinateString=p.getVerticalCoordinateString=function(o){return st(pr(o))},yi=r.strokeColor||"0 G";p.__private__.getStrokeColor=p.getDrawColor=function(){return Zn(yi)},p.__private__.setStrokeColor=p.setDrawColor=function(o,g,S,E){return yi=zn({ch1:o,ch2:g,ch3:S,ch4:E,pdfColorType:"draw",precision:2}),x(yi),this};var Yi=r.fillColor||"0 g";p.__private__.getFillColor=p.getFillColor=function(){return Zn(Yi)},p.__private__.setFillColor=p.setFillColor=function(o,g,S,E){return Yi=zn({ch1:o,ch2:g,ch3:S,ch4:E,pdfColorType:"fill",precision:2}),x(Yi),this};var nr=r.textColor||"0 g",yo=p.__private__.getTextColor=p.getTextColor=function(){return Zn(nr)};p.__private__.setTextColor=p.setTextColor=function(o,g,S,E){return nr=zn({ch1:o,ch2:g,ch3:S,ch4:E,pdfColorType:"text",precision:3}),this};var wi=r.charSpace,wo=p.__private__.getCharSpace=p.getCharSpace=function(){return parseFloat(wi||0)};p.__private__.setCharSpace=p.setCharSpace=function(o){if(isNaN(o))throw new Error("Invalid argument passed to jsPDF.setCharSpace");return wi=o,this};var Ji=0;p.CapJoinStyles={0:0,butt:0,but:0,miter:0,1:1,round:1,rounded:1,circle:1,2:2,projecting:2,project:2,square:2,bevel:2},p.__private__.setLineCap=p.setLineCap=function(o){var g=p.CapJoinStyles[o];if(g===void 0)throw new Error("Line cap style of '"+o+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return Ji=g,x(g+" J"),this};var _r=0;p.__private__.setLineJoin=p.setLineJoin=function(o){var g=p.CapJoinStyles[o];if(g===void 0)throw new Error("Line join style of '"+o+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return _r=g,x(g+" j"),this},p.__private__.setLineMiterLimit=p.__private__.setMiterLimit=p.setLineMiterLimit=p.setMiterLimit=function(o){if(o=o||0,isNaN(o))throw new Error("Invalid argument passed to jsPDF.setLineMiterLimit");return x(st(R(o))+" M"),this},p.GState=Qa,p.setGState=function(o){(o=typeof o=="string"?Yt[Qt[o]]:Xi(null,o)).equals(Oe)||(x("/"+o.id+" gs"),Oe=o)};var Xi=function(o,g){if(!o||!Qt[o]){var S=!1;for(var E in Yt)if(Yt.hasOwnProperty(E)&&Yt[E].equals(g)){S=!0;break}if(S)g=Yt[E];else{var W="GS"+(Object.keys(Yt).length+1).toString(10);Yt[W]=g,g.id=W}return o&&(Qt[o]=g.id),be.publish("addGState",g),g}};p.addGState=function(o,g){return Xi(o,g),this},p.saveGraphicsState=function(){return x("q"),Ce.push({key:Bt,size:mt,color:nr}),this},p.restoreGraphicsState=function(){x("Q");var o=Ce.pop();return Bt=o.key,mt=o.size,nr=o.color,Oe=null,this},p.setCurrentTransformationMatrix=function(o){return x(o.toString()+" cm"),this},p.comment=function(o){return x("#"+o),this};var Gr=function(o,g){var S=o||0;Object.defineProperty(this,"x",{enumerable:!0,get:function(){return S},set:function(rt){isNaN(rt)||(S=parseFloat(rt))}});var E=g||0;Object.defineProperty(this,"y",{enumerable:!0,get:function(){return E},set:function(rt){isNaN(rt)||(E=parseFloat(rt))}});var W="pt";return Object.defineProperty(this,"type",{enumerable:!0,get:function(){return W},set:function(rt){W=rt.toString()}}),this},Ki=function(o,g,S,E){Gr.call(this,o,g),this.type="rect";var W=S||0;Object.defineProperty(this,"w",{enumerable:!0,get:function(){return W},set:function(dt){isNaN(dt)||(W=parseFloat(dt))}});var rt=E||0;return Object.defineProperty(this,"h",{enumerable:!0,get:function(){return rt},set:function(dt){isNaN(dt)||(rt=parseFloat(dt))}}),this},Li=function(){this.page=ue,this.currentPage=C,this.pages=wt.slice(0),this.pagesContext=Vt.slice(0),this.x=Et,this.y=Te,this.matrix=ge,this.width=La(C),this.height=mr(C),this.outputDestination=_t,this.id="",this.objectNumber=-1};Li.prototype.restore=function(){ue=this.page,C=this.currentPage,Vt=this.pagesContext,wt=this.pages,Et=this.x,Te=this.y,ge=this.matrix,gr(C,this.width),Na(C,this.height),_t=this.outputDestination};var Zi=function(o,g,S,E,W){Kn.push(new Li),ue=C=0,wt=[],Et=o,Te=g,ge=W,Hi([S,E])};for(var Ni in p.beginFormObject=function(o,g,S,E,W){return Zi(o,g,S,E,W),this},p.endFormObject=function(o){return(function(g){if(lr[g])Kn.pop().restore(
vendor: 4,718 bytes, line 22
22);else{var S=new Li,E="Xo"+(Object.keys(un).length+1).toString(10);S.id=E,lr[g]=E,un[E]=S,be.publish("addFormObject",S),Kn.pop().restore()}})(o),this},p.doFormObject=function(o,g){var S=un[lr[o]];return x("q"),x(g.toString()+" cm"),x("/"+S.id+" Do"),x("Q"),this},p.getFormObject=function(o){var g=un[lr[o]];return{x:g.x,y:g.y,width:g.width,height:g.height,matrix:g.matrix}},p.save=function(o,g){return o=o||"generated.pdf",(g=g||{}).returnPromise=g.returnPromise||!1,g.returnPromise===!1?(oi(gi(tr()),o),typeof oi.unload=="function"&&Xt.setTimeout&&setTimeout(oi.unload,911),this):new Promise(function(S,E){try{var W=oi(gi(tr()),o);typeof oi.unload=="function"&&Xt.setTimeout&&setTimeout(oi.unload,911),S(W)}catch(rt){E(rt.message)}})},qt.API)qt.API.hasOwnProperty(Ni)&&(Ni==="events"&&qt.API.events.length?(function(o,g){var S,E,W;for(W=g.length-1;W!==-1;W--)S=g[W][0],E=g[W][1],o.subscribe.apply(o,[S].concat(typeof E=="function"?[E]:E))})(be,qt.API.events):p[Ni]=qt.API[Ni]);function La(o){return Vt[o].mediaBox.topRightX-Vt[o].mediaBox.bottomLeftX}function gr(o,g){Vt[o].mediaBox.topRightX=g+Vt[o].mediaBox.bottomLeftX}function mr(o){return Vt[o].mediaBox.topRightY-Vt[o].mediaBox.bottomLeftY}function Na(o,g){Vt[o].mediaBox.topRightY=g+Vt[o].mediaBox.bottomLeftY}var Aa=p.getPageWidth=function(o){return La(o=o||C)/ne},xa=p.setPageWidth=function(o,g){gr(o,g*ne)},Yr=p.getPageHeight=function(o){return mr(o=o||C)/ne},Sa=p.setPageHeight=function(o,g){Na(o,g*ne)};return p.internal={pdfEscape:En,getStyle:ya,getFont:co,getFontSize:kt,getCharSpace:wo,getTextColor:yo,getLineHeight:po,getLineHeightFactor:mo,getLineWidth:ho,write:At,getHorizontalCoordinate:dr,getVerticalCoordinate:pr,getCoordinateString:vo,getVerticalCoordinateString:bo,collections:{},newObject:Ee,newAdditionalObject:Ur,newObjectDeferred:tn,newObjectDeferredBegin:nn,getFilters:Un,putStream:Mn,events:be,scaleFactor:ne,pageSize:{getWidth:function(){return Aa(C)},setWidth:function(o){xa(C,o)},getHeight:function(){return Yr(C)},setHeight:function(o){Sa(C,o)}},encryptionOptions:A,encryption:rn,getEncryptor:function(o){return A!==null?rn.encryptor(o,0):function(g){return g}},output:mi,getNumberOfPages:ga,get pages(){return wt},out:x,f2:_,f3:I,getPageInfo:ba,getPageInfoByObjId:io,getCurrentPageInfo:ao,getPDFVersion:O,Point:Gr,Rectangle:Ki,Matrix:Gt,hasHotfix:fr},Object.defineProperty(p.internal.pageSize,"width",{get:function(){return Aa(C)},set:function(o){xa(C,o)},enumerable:!0,configurable:!0}),Object.defineProperty(p.internal.pageSize,"height",{get:function(){return Yr(C)},set:function(o){Sa(C,o)},enumerable:!0,configurable:!0}),(function(o){for(var g=0,S=Ut.length;g<S;g++){var E=fa.call(this,o[g][0],o[g][1],o[g][2],Ut[g][3],!0);F===!1&&(B[E]=!0);var W=o[g][0].split("-");ha({id:E,fontName:W[0],fontStyle:W[1]||""})}be.publish("addFonts",{fonts:oe,dictionary:se})}).call(p,Ut),Bt="F1",da(s,i),be.publish("initialized"),p}Mi.prototype.lsbFirstWord=function(r){return String.fromCharCode(255&r,r>>8&255,r>>16&255,r>>24&255)},Mi.prototype.toHexString=function(r){return r.split("").map(function(e){return("0"+(255&e.charCodeAt(0)).toString(16)).slice(-2)}).join("")},Mi.prototype.hexToBytes=function(r){for(var e=[],i=0;i<r.length;i+=2)e.push(String.fromCharCode(parseInt(r.substr(i,2),16)));return e.join("")},Mi.prototype.processOwnerPassword=function(r,e){return Xo(Jo(e).substr(0,5),r)},Mi.prototype.encryptor=function(r,e){var i=Jo(this.encryptionKey+String.fromCharCode(255&r,r>>8&255,r>>16&255,255&e,e>>8&255)).substr(0,10);return function(a){return Xo(i,a)}},Qa.prototype.equals=function(r){var e,i="id,objectNumber,equals";if(!r||Se(r)!==Se(this))return!1;var a=0;for(e in this)if(!(i.indexOf(e)>=0)){if(this.hasOwnProperty(e)&&!r.hasOwnProperty(e)||this[e]!==r[e])return!1;a++}for(e in r)r.hasOwnProperty(e)&&i.indexOf(e)<0&&a--;return a===0},qt.API={events:[]},qt.version="4.2.1";var De=qt.API,$o=1,ci=function(r){return r.replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},Oi=function(r){return r.replace(/\\\\/g,"\\").replace(/\\\(/g,"(").replace(/\\\)/g,")")},li=function(r){return r.toString().replace(/#/g,"#23").replace(/[\s\n\r()<>[\]{}\/%]/g,function(e){var i=e.charCodeAt(0).toString(16).toUpperCase();return"#"+(i.length===1?"0"+i:i)})},Zt=function(r){return r.toFixed(2)},Rr=function(r){return r.toFixed(5)};De.__acroform__={};var Sn=function(r,e){r.prototype=Object.create(e.prototype),r.prototype.constructor=r},Ts=function(r){return r*$o},or=function(r){var e=new su,i=Ft.internal.getHeight(r)||0,a=Ft.internal.getWidth(r)||0;return e.BBox=[0,0,Number(Zt(a)),Number(Zt(i))],e},il=De.__acroform__.setBit=function(r,e){if(r=r||0,e=e||0,isNaN(r)||isNaN(e))throw new Error("Invalid arguments passed to 
22jsPDF.API.__acroform__.setBit");return r|1<<e},al=De.__acroform__.clearBit=function(r,e){if(r=r||0,e=e||0,isNaN(r)||isNaN(e))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBit");return r&~(1<<e)},ol=De.__acroform__.getBit=function(r,e){if(isNaN(r)||isNaN(e))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBit");return r&1<<e?1:0},We=De.__acroform__.getBitForPdf=function(r,e){if(isNaN(r)||isNaN(e))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBitForPdf");return ol(r,e-1)},Ve=De.__acroform__.setBitForPdf=function(r,e){if(isNaN(r)||isNaN(e))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBitForPdf");return il(r,e-1)},Ge=De.__acroform__.clearBitForPdf=function(r,e){if(isNaN(r)||isNaN(e))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBitForPdf");return al(r,e-1)},sl=De.__acroform__.calculateCoordinates=function(r,e){var i=e.internal.getHorizontalCoordinate,a=e.internal.getVerticalCoordinate,s=r[0],u=r[1],d=r[2],c=r[3],h={};return h.lowerLeft_X=i(s)||0,h.lowerLeft_Y=a(u+c)||0,h.upperRight_X=i(s+d)||0,h.upperRight_Y=a(u)||0,[Number(Zt(h.lowerLeft_X)),Number(Zt(h.lowerLeft_Y)),Number(Zt(h.upperRight_X)),Number(Zt(h.upperRight_Y))]},ul=function(r){if(r.appearanceStreamContent)return r.appearanceStreamContent;if(r.V||r.DV){var e=[],i=r._V||r.DV,a=Ko(r,i),s=r.scope.internal.getFont(r.fontName,r.fontStyle).id;e.push("/Tx BMC"),e.push("q"),e.push("BT"),e.push(r.scope.__private__.encodeColorString(r.color)),e.push("/"+s+" "+Zt(a.fontSize)+" Tf"),e.push("1 0 0 1 0 0 Tm"),e.push(a.text),e.push("ET"),e.push("Q"),e.push("EMC");var u=or(r);return u.scope=r.scope,u.stream=e.join(`
23`),u}},Ko=function(r,e){var i=r.fontSize===0?r.maxFontSize:r.fontSize,a={text:"",fontSize:""},s=(e=(e=e.substr(0,1)=="("?e.substr(1):e).substr(e.length-1)==")"?e.substr(0,e.length-1):e).split(" ");s=r.multiline?s.map(function(_){return _.split(`
24`)}):s.map(function(_){return[_]});var u=i,d=Ft.internal.getHeight(r)||0;d=d<0?-d:d;var c=Ft.internal.getWidth(r)||0;c=c<0?-c:c;var h=function(_,I,R){if(_+1<s.length){var D=I+" "+s[_+1][0];return Ga(D,r,R).width<=c-4}return!1};u++;t:for(;u>0;){e="",u--;var v,A,F=Ga("3",r,u).height,B=r.multiline?d-u:(d-F)/2,p=B+=2,z=0,O=0,T=0;if(u<=0){e=`(...) Tj
25`,e+="% Width of Text: "+Ga(e,r,u=12).width+", FieldWidth:"+c+`
26`;break}for(var j="",Z=0,Q=0;Q<s.length;Q++)if(s.hasOwnProperty(Q)){var nt=!1;if(s[Q].length!==1&&T!==s[Q].length-1){if((F+2)*(Z+2)+2>d)continue t;j+=s[Q][T],nt=!0,O=Q,Q--}else{j=(j+=s[Q][T]+" ").substr(j.length-1)==" "?j.substr(0,j.length-1):j;var yt=parseInt(Q),xt=h(yt,j,u),Wt=Q>=s.length-1;if(xt&&!Wt){j+=" ",T=0;continue}if(xt||Wt){if(Wt)O=yt;else if(r.multiline&&(F+2)*(Z+2)+2>d)continue t}else{if(!r.multiline||(F+2)*(Z+2)+2>d)continue t;O=yt}}for(var st="",Y=z;Y<=O;Y++){var gt=s[Y];if(r.multiline){if(Y===O){st+=gt[T]+" ",T=(T+1)%gt.length;continue}if(Y===z){st+=gt[gt.length-1]+" ";continue}}st+=gt[0]+" "}switch(st=st.substr(st.length-1)==" "?st.substr(0,st.length-1):st,A=Ga(st,r,u).width,r.textAlign){case"right":v=c-A-2;break;case"center":v=(c-A)/2;break;default:v=2}e+=Zt(v)+" "+Zt(p)+` Td
27`,e+="("+ci(st)+`) Tj
28`,e+=-Zt(v)+` 0 Td
29`,p=-(u+2),A=0,z=nt?O:O+1,Z++,j=""}break}return a.text=e,a.fontSize=u,a},Ga=function(r,e,i){var a=e.scope.internal.getFont(e.fontName,e.fontStyle),s=e.scope.getStringUnitWidth(r,{font:a,fontSize:parseFloat(i),charSpace:0})*parseFloat(i);return{height:e.scope.getStringUnitWidth("3",{font:a,fontSize:parseFloat(i),charSpace:0})*parseFloat(i)*1.5,width:s}},ll={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},cl=function(r,e){var i={type:"reference",object:r};e.internal.getPageInfo(r.page).pageContext.annotations.find(function(a){return a.type===i.type&&a.object===i.object})===void 0&&e.internal.getPageInfo(r.page).pageContext.annotations.push(i)},hl=function(r,e){if(e.scope=r,r.internal!==void 0&&(r.internal.acroformPlugin===void 0||r.internal.acroformPlugin.isInitialized===!1)){if(Jn.FieldNum=0,r.internal.acroformPlugin=JSON.parse(JSON.stringify(ll)),r.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");$o=r.internal.scaleFactor,r.internal.acroformPlugin.acroFormDictionaryRoot=new uu,r.internal.acroformPlugin.acroFormDictionaryRoot.scope=r,r.internal.acroformPlugin.acroFormDictionaryRoot._eventID=r.internal.events.subscribe("postPutResources",function(){(function(i){i.internal.events.unsubscribe(i.internal.acroformPlugin.acroFormDictionaryRoot._eventID),delete i.internal.acroformPlugin.acroFormDictionaryRoot._eventID,i.internal.acroformPlugin.printedOut=!0})(r)}),r.internal.events.subscribe("buildDocument",function(){(function(i){i.internal.acroformPlugin.acroFormDictionaryRoot.objId=void 0;var a=i.internal.acroformPlugin.acroFormDictionaryRoot.Fields;for(var s in a)if(a.hasOwnProperty(s)){var u=a[s];u.objId=void 0,u.hasAnnotation&&cl(u,i)}})(r)}),r.internal.events.subscribe("putCatalog",function(){(function(i){if(i.internal.acroformPlugin.acroFormDictionaryRoot===void 0)throw new Error("putCatalogCallback: Root missing.");i.internal.write("/AcroForm "+i.internal.acroformPlugin.acroFormDictionaryRoot.objId+" 0 R")})(r)}),r.internal.events.subscribe("postPutPages",function(i){(function(a,s){var u=!a;for(var d in a||(s.internal.newObjectDeferredBegin(s.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),s.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),a=a||s.internal.acroformPlugin.acroFormDictionaryRoot.Kids)if(a.hasOwnProperty(d)){var c=a[d],h=[],v=c.Rect;if(c.Rect&&(c.Rect=sl(c.Rect,s)),s.internal.newObjectDeferredBegin(c.objId,!0),c.DA=Ft.createDefaultAppearanceStream(c),Se(c)==="object"&&typeof c.getKeyValueListForStream=="function"&&(h=c.getKeyValueListForStream()),c.Rect=v,c.hasAppearanceStream&&!c.appearanceStreamContent){var A=ul(c);h.push({key:"AP",value:"<</N "+A+">>"}),s.internal.acroformPlugin.xForms.push(A)}if(c.appearanceStreamContent){var F="";for(var B in c.appearanceStreamContent)if(c.appearanceStreamContent.hasOwnProperty(B)){var p=c.appearanceStreamContent[B];if(F+="/"+B+" ",F+="<<",Object.keys(p).length>=1||Array.isArray(p)){for(var d in p)if(p.hasOwnProperty(d)){var z=p[d];typeof z=="function"&&(z=z.call(s,c)),F+="/"+d+" "+z+" ",s.internal.acroformPlugin.xForms.indexOf(z)>=0||s.internal.acroformPlugin.xForms.push(z)}}else typeof(z=p)=="function"&&(z=z.call(s,c)),F+="/"+d+" "+z,s.internal.acroformPlugin.xForms.indexOf(z)>=0||s.internal.acroformPlugin.xForms.push(z);F+=">>"}h.push({key:"AP",value:`<<
30`+F+">>"})}s.internal.putStream({additionalKeyValues:h,objectId:c.objId}),s.internal.out("endobj")}u&&(function(O,T){for(var j in O)if(O.hasOwnProperty(j)){var Z=j,Q=O[j];T.internal.newObjectDeferredBegin(Q.objId,!0),Se(Q)==="object"&&typeof Q.putStream=="function"&&Q.putStream(),delete O[Z]}})(s.internal.acroformPlugin.xForms,s)})(i,r)}),r.internal.acroformPlugin.isInitialized=!0}}
vendor: 8,847 bytes, line 30
30,ou=De.__acroform__.arrayToPdfArray=function(r,e,i){var a=function(d){return d};if(Array.isArray(r)){for(var s="[",u=0;u<r.length;u++)switch(u!==0&&(s+=" "),Se(r[u])){case"boolean":case"number":case"object":s+=r[u].toString();break;case"string":r[u].substr(0,1)==="/"?s+="/"+li(r[u].substr(1)):(e!==void 0&&i&&(a=i.internal.getEncryptor(e)),s+="("+ci(a(r[u].toString()))+")")}return s+"]"}throw new Error("Invalid argument passed to jsPDF.__acroform__.arrayToPdfArray")},Uo=function(r,e,i){var a=function(s){return s};return e!==void 0&&i&&(a=i.internal.getEncryptor(e)),(r=r||"").toString(),"("+ci(a(r))+")"},sr=function(){this._objId=void 0,this._scope=void 0,Object.defineProperty(this,"objId",{get:function(){if(this._objId===void 0){if(this.scope===void 0)return;this._objId=this.scope.internal.newObjectDeferred()}return this._objId},set:function(r){this._objId=r}}),Object.defineProperty(this,"scope",{value:this._scope,writable:!0})};sr.prototype.toString=function(){return this.objId+" 0 R"},sr.prototype.putStream=function(){var r=this.getKeyValueListForStream();this.scope.internal.putStream({data:this.stream,additionalKeyValues:r,objectId:this.objId}),this.scope.internal.out("endobj")},sr.prototype.getKeyValueListForStream=function(){var r=[],e=Object.getOwnPropertyNames(this).filter(function(u){return u!="content"&&u!="appearanceStreamContent"&&u!="scope"&&u!="objId"&&u.substring(0,1)!="_"});for(var i in e)if(Object.getOwnPropertyDescriptor(this,e[i]).configurable===!1){var a=e[i],s=this[a];s&&(Array.isArray(s)?r.push({key:a,value:ou(s,this.objId,this.scope)}):s instanceof sr?(s.scope=this.scope,r.push({key:a,value:s.objId+" 0 R"})):typeof s!="function"&&r.push({key:a,value:s}))}return r};var su=function(){sr.call(this),Object.defineProperty(this,"Type",{value:"/XObject",configurable:!1,writable:!0}),Object.defineProperty(this,"Subtype",{value:"/Form",configurable:!1,writable:!0}),Object.defineProperty(this,"FormType",{value:1,configurable:!1,writable:!0});var r,e=[];Object.defineProperty(this,"BBox",{configurable:!1,get:function(){return e},set:function(i){e=i}}),Object.defineProperty(this,"Resources",{value:"2 0 R",configurable:!1,writable:!0}),Object.defineProperty(this,"stream",{enumerable:!1,configurable:!0,set:function(i){r=i.trim()},get:function(){return r||null}})};Sn(su,sr);var uu=function(){sr.call(this);var r,e=[];Object.defineProperty(this,"Kids",{enumerable:!1,configurable:!0,get:function(){return e.length>0?e:void 0}}),Object.defineProperty(this,"Fields",{enumerable:!1,configurable:!1,get:function(){return e}}),Object.defineProperty(this,"DA",{enumerable:!1,configurable:!1,get:function(){if(r){var i=function(a){return a};return this.scope&&(i=this.scope.internal.getEncryptor(this.objId)),"("+ci(i(r))+")"}},set:function(i){r=i}})};Sn(uu,sr);var Jn=function r(){sr.call(this);var e=4;Object.defineProperty(this,"F",{enumerable:!1,configurable:!1,get:function(){return e},set:function(j){if(isNaN(j))throw new Error('Invalid value "'+j+'" for attribute F supplied.');e=j}}),Object.defineProperty(this,"showWhenPrinted",{enumerable:!0,configurable:!0,get:function(){return!!We(e,3)},set:function(j){j?this.F=Ve(e,3):this.F=Ge(e,3)}});var i=0;Object.defineProperty(this,"Ff",{enumerable:!1,configurable:!1,get:function(){return i},set:function(j){if(isNaN(j))throw new Error('Invalid value "'+j+'" for attribute Ff supplied.');i=j}});var a=[];Object.defineProperty(this,"Rect",{enumerable:!1,configurable:!1,get:function(){if(a.length!==0)return a},set:function(j){a=j!==void 0?j:[]}}),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,get:function(){return!a||isNaN(a[0])?0:a[0]},set:function(j){a[0]=j}}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,get:function(){return!a||isNaN(a[1])?0:a[1]},set:function(j){a[1]=j}}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,get:function(){return!a||isNaN(a[2])?0:a[2]},set:function(j){a[2]=j}}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,get:function(){return!a||isNaN(a[3])?0:a[3]},set:function(j){a[3]=j}});var s="";Object.defineProperty(this,"FT",{enumerable:!0,configurable:!1,get:function(){return s},set:function(j){switch(j){case"/Btn":case"/Tx":case"/Ch":case"/Sig":s=j;break;default:throw new Error('Invalid value "'+j+'" for attribute FT supplied.')}}});var u=null;Object.defineProperty(this,"T",{enumerable:!0,configurable:!1,get:function(){if(!u||u.length<1){if(this instanceof to)return;u="FieldObject"+r.FieldNum++}var j=function(Z){return Z};return this.scope&&(j=this.scope.internal.getEncryptor(this.objId)),"("+ci(j(u))+")"},set:function(j){u=j.toString()}}),Object.defineProperty(this,"fieldName",{configurable:!0,enumerable:!0,get:function(){return u},set:function(j){u=j}});var d="helvetica";Object.defineProperty(this,"fontName",{enumerable:!0,configurable:!0,get:function(){return d},set:function(j){d=j}});var c="normal";Object.defineProperty(this,"fontStyle",{enumerable:!0,configurable:!0,get:function(){return c},set:function(j){c=j}});var h=0;Object.defineProperty(this,"fontSize",{enumerable:!0,configurable:!0,get:function(){return h},set:function(j){h=j}});var v=void 0;Object.defineProperty(this,"maxFontSize",{enumerable:!0,configurable:!0,get:function(){return v===void 0?50/$o:v},set:function(j){v=j}});var A="black";Object.defineProperty(this,"color",{enumerable:!0,configurable:!0,get:function(){return A},set:function(j){A=j}});var F="/F1 0 Tf 0 g";Object.defineProperty(this,"DA",{enumerable:!0,configurable:!1,get:function(){if(!(!F||this instanceof to||this instanceof ui))return Uo(F,this.objId,this.scope)},set:function(j){j=j.toString(),F=j}});var B=null;Object.defineProperty(this,"DV",{enumerable:!1,configurable:!1,get:function(){if(B)return this instanceof en==0?Uo(B,this.objId,this.scope):B},set:function(j){j=j.toString(),B=this instanceof en==0?j.substr(0,1)==="("?Oi(j.substr(1,j.length-2)):Oi(j):j}}),Object.defineProperty(this,"defaultValue",{enumerable:!0,configurable:!0,get:function(){return this instanceof en==1?Oi(B.substr(1,B.length-1)):B},set:function(j){j=j.toString(),B=this instanceof en==1?"/"+li(j):j}});var p=null;Object.defineProperty(this,"_V",{enumerable:!1,configurable:!1,get:function(){if(p)return p},set:function(j){this.V=j}}),Object.defineProperty(this,"V",{enumerable:!1,configurable:!1,get:function(){if(p)return this instanceof en==0?Uo(p,this.objId,this.scope):p},set:function(j){j=j.toString(),p=this instanceof en==0?j.substr(0,1)==="("?Oi(j.substr(1,j.length-2)):Oi(j):j}}),Object.defineProperty(this,"value",{enumerable:!0,configurable:!0,get:function(){return this instanceof en==1?Oi(p.substr(1,p.length-1)):p},set:function(j){j=j.toString(),p=this instanceof en==1?"/"+li(j):j}}),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 z,O=!1;Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return O},set:function(j){j=!!j,O=j}}),Object.defineProperty(this,"page",{enumerable:!0,configurable:!0,get:function(){if(z)return z},set:function(j){z=j}}),Object.defineProperty(this,"readOnly",{enumerable:!0,configurable:!0,get:function(){return!!We(this.Ff,1)},set:function(j){j?this.Ff=Ve(this.Ff,1):this.Ff=Ge(this.Ff,1)}}),Object.defineProperty(this,"required",{enumerable:!0,configurable:!0,get:function(){return!!We(this.Ff,2)},set:function(j){j?this.Ff=Ve(this.Ff,2):this.Ff=Ge(this.Ff,2)}}),Object.defineProperty(this,"noExport",{enumerable:!0,configurable:!0,get:function(){return!!We(this.Ff,3)},set:function(j){j?this.Ff=Ve(this.Ff,3):this.Ff=Ge(this.Ff,3)}});var T=null;Object.defineProperty(this,"Q",{enumerable:!0,configurable:!1,get:function(){if(T!==null)return T},set:function(j){if([0,1,2].indexOf(j)===-1)throw new Error('Invalid value "'+j+'" for attribute Q supplied.');T=j}}),Object.defineProperty(this,"textAlign",{get:function(){var j;switch(T){case 0:default:j="left";break;case 1:j="center";break;case 2:j="right"}return j},configurable:!0,enumerable:!0,set:function(j){switch(j){case"right":case 2:T=2;break;case"center":case 1:T=1;break;default:T=0}}})};Sn(Jn,sr);var Ri=function(){Jn.call(this),this.FT="/Ch",this.V="()",this.fontName="zapfdingbats";var r=0;Object.defineProperty(this,"TI",{enumerable:!0,configurable:!1,get:function(){return r},set:function(i){r=i}}),Object.defineProperty(this,"topIndex",{enumerable:!0,configurable:!0,get:function(){return r},set:function(i){r=i}});var e=[];Object.defineProperty(this,"Opt",{enumerable:!0,configurable:!1,get:function(){return ou(e,this.objId,this.scope)}
30,set:function(i){var a,s;s=[],typeof(a=i)=="string"&&(s=(function(u,d,c){c||(c=1);for(var h,v=[];h=d.exec(u);)v.push(h[c]);return v})(a,/\((.*?)\)/g)),e=s}}),this.getOptions=function(){return e},this.setOptions=function(i){e=i,this.sort&&e.sort()},this.addOption=function(i){i=(i=i||"").toString(),e.push(i),this.sort&&e.sort()},this.removeOption=function(i,a){for(a=a||!1,i=(i=i||"").toString();e.indexOf(i)!==-1&&(e.splice(e.indexOf(i),1),a!==!1););},Object.defineProperty(this,"combo",{enumerable:!0,configurable:!0,get:function(){return!!We(this.Ff,18)},set:function(i){i?this.Ff=Ve(this.Ff,18):this.Ff=Ge(this.Ff,18)}}),Object.defineProperty(this,"edit",{enumerable:!0,configurable:!0,get:function(){return!!We(this.Ff,19)},set:function(i){this.combo===!0&&(i?this.Ff=Ve(this.Ff,19):this.Ff=Ge(this.Ff,19))}}),Object.defineProperty(this,"sort",{enumerable:!0,configurable:!0,get:function(){return!!We(this.Ff,20)},set:function(i){i?(this.Ff=Ve(this.Ff,20),e.sort()):this.Ff=Ge(this.Ff,20)}}),Object.defineProperty(this,"multiSelect",{enumerable:!0,configurable:!0,get:function(){return!!We(this.Ff,22)},set:function(i){i?this.Ff=Ve(this.Ff,22):this.Ff=Ge(this.Ff,22)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return!!We(this.Ff,23)},set:function(i){i?this.Ff=Ve(this.Ff,23):this.Ff=Ge(this.Ff,23)}}),Object.defineProperty(this,"commitOnSelChange",{enumerable:!0,configurable:!0,get:function(){return!!We(this.Ff,27)},set:function(i){i?this.Ff=Ve(this.Ff,27):this.Ff=Ge(this.Ff,27)}}),this.hasAppearanceStream=!1};Sn(Ri,Jn);var Di=function(){Ri.call(this),this.fontName="helvetica",this.combo=!1};Sn(Di,Ri);var Ti=function(){Di.call(this),this.combo=!0};Sn(Ti,Di);var Xa=function(){Ti.call(this),this.edit=!0};Sn(Xa,Ti);var en=function(){Jn.call(this),this.FT="/Btn",Object.defineProperty(this,"noToggleToOff",{enumerable:!0,configurable:!0,get:function(){return!!We(this.Ff,15)},set:function(i){i?this.Ff=Ve(this.Ff,15):this.Ff=Ge(this.Ff,15)}}),Object.defineProperty(this,"radio",{enumerable:!0,configurable:!0,get:function(){return!!We(this.Ff,16)},set:function(i){i?this.Ff=Ve(this.Ff,16):this.Ff=Ge(this.Ff,16)}}),Object.defineProperty(this,"pushButton",{enumerable:!0,configurable:!0,get:function(){return!!We(this.Ff,17)},set:function(i){i?this.Ff=Ve(this.Ff,17):this.Ff=Ge(this.Ff,17)}}),Object.defineProperty(this,"radioIsUnison",{enumerable:!0,configurable:!0,get:function(){return!!We(this.Ff,26)},set:function(i){i?this.Ff=Ve(this.Ff,26):this.Ff=Ge(this.Ff,26)}});var r,e={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var i=function(u){return u};if(this.scope&&(i=this.scope.internal.getEncryptor(this.objId)),Object.keys(e).length!==0){var a,s=[];for(a in s.push("<<"),e)s.push("/"+a+" ("+ci(i(e[a]))+")");return s.push(">>"),s.join(`
31`)}},set:function(i){Se(i)==="object"&&(e=i)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return e.CA||""},set:function(i){typeof i=="string"&&(e.CA=i)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return r},set:function(i){var a=i==null?"":i.toString();a.substr(0,1)==="/"&&(a=a.substr(1)),r="/"+li(a)}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return r.substr(1,r.length-1)},set:function(i){r="/"+li(i)}})};Sn(en,Jn);var Ka=function(){en.call(this),this.pushButton=!0};Sn(Ka,en);var zi=function(){en.call(this),this.radio=!0,this.pushButton=!1;var r=[];Object.defineProperty(this,"Kids",{enumerable:!0,configurable:!1,get:function(){return r},set:function(e){r=e!==void 0?e:[]}})};Sn(zi,en);var to=function(){var r,e;Jn.call(this),Object.defineProperty(this,"Parent",{enumerable:!1,configurable:!1,get:function(){return r},set:function(s){r=s}}),Object.defineProperty(this,"optionName",{enumerable:!1,configurable:!0,get:function(){return e},set:function(s){e=s}});var i,a={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var s=function(c){return c};this.scope&&(s=this.scope.internal.getEncryptor(this.objId));var u,d=[];for(u in d.push("<<"),a)d.push("/"+u+" ("+ci(s(a[u]))+")");return d.push(">>"),d.join(`
32`)}
vendor: 9,199 bytes, lines 32-41
32,set:function(s){Se(s)==="object"&&(a=s)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return a.CA||""},set:function(s){typeof s=="string"&&(a.CA=s)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return i},set:function(s){var u=s==null?"":s.toString();u.substr(0,1)==="/"&&(u=u.substr(1)),i="/"+li(u)}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return i.substr(1,i.length-1)},set:function(s){var u=s==null?"":s.toString();u.substr(0,1)==="/"&&(u=u.substr(1)),i="/"+li(u)}}),this.caption="l",this.appearanceState="Off",this._AppearanceType=Ft.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(this.optionName)};Sn(to,Jn),zi.prototype.setAppearance=function(r){if(!("createAppearanceStream"in r)||!("getCA"in r))throw new Error("Couldn't assign Appearance to RadioButton. Appearance was Invalid!");for(var e in this.Kids)if(this.Kids.hasOwnProperty(e)){var i=this.Kids[e];i.appearanceStreamContent=r.createAppearanceStream(i.optionName),i.caption=r.getCA()}},zi.prototype.createOption=function(r){var e=new to;return e.Parent=this,e.optionName=r,this.Kids.push(e),fl.call(this.scope,e),e};var Za=function(){en.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=Ft.CheckBox.createAppearanceStream()};Sn(Za,en);var ui=function(){Jn.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return!!We(this.Ff,13)},set:function(e){e?this.Ff=Ve(this.Ff,13):this.Ff=Ge(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return!!We(this.Ff,21)},set:function(e){e?this.Ff=Ve(this.Ff,21):this.Ff=Ge(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return!!We(this.Ff,23)},set:function(e){e?this.Ff=Ve(this.Ff,23):this.Ff=Ge(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return!!We(this.Ff,24)},set:function(e){e?this.Ff=Ve(this.Ff,24):this.Ff=Ge(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return!!We(this.Ff,25)},set:function(e){e?this.Ff=Ve(this.Ff,25):this.Ff=Ge(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return!!We(this.Ff,26)},set:function(e){e?this.Ff=Ve(this.Ff,26):this.Ff=Ge(this.Ff,26)}});var r=null;Object.defineProperty(this,"MaxLen",{enumerable:!0,configurable:!1,get:function(){return r},set:function(e){r=e}}),Object.defineProperty(this,"maxLength",{enumerable:!0,configurable:!0,get:function(){return r},set:function(e){Number.isInteger(e)&&(r=e)}}),Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return this.V||this.DV}})};Sn(ui,Jn);var $a=function(){ui.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return!!We(this.Ff,14)},set:function(r){r?this.Ff=Ve(this.Ff,14):this.Ff=Ge(this.Ff,14)}}),this.password=!0};Sn($a,ui);var Ft={CheckBox:{createAppearanceStream:function(){return{N:{On:Ft.CheckBox.YesNormal},D:{On:Ft.CheckBox.YesPushDown,Off:Ft.CheckBox.OffPushDown}}},YesPushDown:function(r){var e=or(r);e.scope=r.scope;var i=[],a=r.scope.internal.getFont(r.fontName,r.fontStyle).id,s=r.scope.__private__.encodeColorString(r.color),u=Ko(r,r.caption);return i.push("0.749023 g"),i.push("0 0 "+Zt(Ft.internal.getWidth(r))+" "+Zt(Ft.internal.getHeight(r))+" re"),i.push("f"),i.push("BMC"),i.push("q"),i.push("0 0 1 rg"),i.push("/"+a+" "+Zt(u.fontSize)+" Tf "+s),i.push("BT"),i.push(u.text),i.push("ET"),i.push("Q"),i.push("EMC"),e.stream=i.join(`
33`),e},YesNormal:function(r){var e=or(r);e.scope=r.scope;var i=r.scope.internal.getFont(r.fontName,r.fontStyle).id,a=r.scope.__private__.encodeColorString(r.color),s=[],u=Ft.internal.getHeight(r),d=Ft.internal.getWidth(r),c=Ko(r,r.caption);return s.push("1 g"),s.push("0 0 "+Zt(d)+" "+Zt(u)+" re"),s.push("f"),s.push("q"),s.push("0 0 1 rg"),s.push("0 0 "+Zt(d-1)+" "+Zt(u-1)+" re"),s.push("W"),s.push("n"),s.push("0 g"),s.push("BT"),s.push("/"+i+" "+Zt(c.fontSize)+" Tf "+a),s.push(c.text),s.push("ET"),s.push("Q"),e.stream=s.join(`
34`),e},OffPushDown:function(r){var e=or(r);e.scope=r.scope;var i=[];return i.push("0.749023 g"),i.push("0 0 "+Zt(Ft.internal.getWidth(r))+" "+Zt(Ft.internal.getHeight(r))+" re"),i.push("f"),e.stream=i.join(`
35`),e}},RadioButton:{Circle:{createAppearanceStream:function(r){var e={D:{Off:Ft.RadioButton.Circle.OffPushDown},N:{}};return e.N[r]=Ft.RadioButton.Circle.YesNormal,e.D[r]=Ft.RadioButton.Circle.YesPushDown,e},getCA:function(){return"l"},YesNormal:function(r){var e=or(r);e.scope=r.scope;var i=[],a=Ft.internal.getWidth(r)<=Ft.internal.getHeight(r)?Ft.internal.getWidth(r)/4:Ft.internal.getHeight(r)/4;a=Number((.9*a).toFixed(5));var s=Ft.internal.Bezier_C,u=Number((a*s).toFixed(5));return i.push("q"),i.push("1 0 0 1 "+Rr(Ft.internal.getWidth(r)/2)+" "+Rr(Ft.internal.getHeight(r)/2)+" cm"),i.push(a+" 0 m"),i.push(a+" "+u+" "+u+" "+a+" 0 "+a+" c"),i.push("-"+u+" "+a+" -"+a+" "+u+" -"+a+" 0 c"),i.push("-"+a+" -"+u+" -"+u+" -"+a+" 0 -"+a+" c"),i.push(u+" -"+a+" "+a+" -"+u+" "+a+" 0 c"),i.push("f"),i.push("Q"),e.stream=i.join(`
36`),e},YesPushDown:function(r){var e=or(r);e.scope=r.scope;var i=[],a=Ft.internal.getWidth(r)<=Ft.internal.getHeight(r)?Ft.internal.getWidth(r)/4:Ft.internal.getHeight(r)/4;a=Number((.9*a).toFixed(5));var s=Number((2*a).toFixed(5)),u=Number((s*Ft.internal.Bezier_C).toFixed(5)),d=Number((a*Ft.internal.Bezier_C).toFixed(5));return i.push("0.749023 g"),i.push("q"),i.push("1 0 0 1 "+Rr(Ft.internal.getWidth(r)/2)+" "+Rr(Ft.internal.getHeight(r)/2)+" cm"),i.push(s+" 0 m"),i.push(s+" "+u+" "+u+" "+s+" 0 "+s+" c"),i.push("-"+u+" "+s+" -"+s+" "+u+" -"+s+" 0 c"),i.push("-"+s+" -"+u+" -"+u+" -"+s+" 0 -"+s+" c"),i.push(u+" -"+s+" "+s+" -"+u+" "+s+" 0 c"),i.push("f"),i.push("Q"),i.push("0 g"),i.push("q"),i.push("1 0 0 1 "+Rr(Ft.internal.getWidth(r)/2)+" "+Rr(Ft.internal.getHeight(r)/2)+" cm"),i.push(a+" 0 m"),i.push(a+" "+d+" "+d+" "+a+" 0 "+a+" c"),i.push("-"+d+" "+a+" -"+a+" "+d+" -"+a+" 0 c"),i.push("-"+a+" -"+d+" -"+d+" -"+a+" 0 -"+a+" c"),i.push(d+" -"+a+" "+a+" -"+d+" "+a+" 0 c"),i.push("f"),i.push("Q"),e.stream=i.join(`
37`),e},OffPushDown:function(r){var e=or(r);e.scope=r.scope;var i=[],a=Ft.internal.getWidth(r)<=Ft.internal.getHeight(r)?Ft.internal.getWidth(r)/4:Ft.internal.getHeight(r)/4;a=Number((.9*a).toFixed(5));var s=Number((2*a).toFixed(5)),u=Number((s*Ft.internal.Bezier_C).toFixed(5));return i.push("0.749023 g"),i.push("q"),i.push("1 0 0 1 "+Rr(Ft.internal.getWidth(r)/2)+" "+Rr(Ft.internal.getHeight(r)/2)+" cm"),i.push(s+" 0 m"),i.push(s+" "+u+" "+u+" "+s+" 0 "+s+" c"),i.push("-"+u+" "+s+" -"+s+" "+u+" -"+s+" 0 c"),i.push("-"+s+" -"+u+" -"+u+" -"+s+" 0 -"+s+" c"),i.push(u+" -"+s+" "+s+" -"+u+" "+s+" 0 c"),i.push("f"),i.push("Q"),e.stream=i.join(`
38`),e}},Cross:{createAppearanceStream:function(r){var e={D:{Off:Ft.RadioButton.Cross.OffPushDown},N:{}};return e.N[r]=Ft.RadioButton.Cross.YesNormal,e.D[r]=Ft.RadioButton.Cross.YesPushDown,e},getCA:function(){return"8"},YesNormal:function(r){var e=or(r);e.scope=r.scope;var i=[],a=Ft.internal.calculateCross(r);return i.push("q"),i.push("1 1 "+Zt(Ft.internal.getWidth(r)-2)+" "+Zt(Ft.internal.getHeight(r)-2)+" re"),i.push("W"),i.push("n"),i.push(Zt(a.x1.x)+" "+Zt(a.x1.y)+" m"),i.push(Zt(a.x2.x)+" "+Zt(a.x2.y)+" l"),i.push(Zt(a.x4.x)+" "+Zt(a.x4.y)+" m"),i.push(Zt(a.x3.x)+" "+Zt(a.x3.y)+" l"),i.push("s"),i.push("Q"),e.stream=i.join(`
39`),e},YesPushDown:function(r){var e=or(r);e.scope=r.scope;var i=Ft.internal.calculateCross(r),a=[];return a.push("0.749023 g"),a.push("0 0 "+Zt(Ft.internal.getWidth(r))+" "+Zt(Ft.internal.getHeight(r))+" re"),a.push("f"),a.push("q"),a.push("1 1 "+Zt(Ft.internal.getWidth(r)-2)+" "+Zt(Ft.internal.getHeight(r)-2)+" re"),a.push("W"),a.push("n"),a.push(Zt(i.x1.x)+" "+Zt(i.x1.y)+" m"),a.push(Zt(i.x2.x)+" "+Zt(i.x2.y)+" l"),a.push(Zt(i.x4.x)+" "+Zt(i.x4.y)+" m"),a.push(Zt(i.x3.x)+" "+Zt(i.x3.y)+" l"),a.push("s"),a.push("Q"),e.stream=a.join(`
40`),e},OffPushDown:function(r){var e=or(r);e.scope=r.scope;var i=[];return i.push("0.749023 g"),i.push("0 0 "+Zt(Ft.internal.getWidth(r))+" "+Zt(Ft.internal.getHeight(r))+" re"),i.push("f"),e.stream=i.join(`
41`),e}}},createDefaultAppearanceStream:function(r){var e=r.scope.internal.getFont(r.fontName,r.fontStyle).id,i=r.scope.__private__.encodeColorString(r.color);return"/"+e+" "+r.fontSize+" Tf "+i}};Ft.internal={Bezier_C:.551915024494,calculateCross:function(r){var e=Ft.internal.getWidth(r),i=Ft.internal.getHeight(r),a=Math.min(e,i);return{x1:{x:(e-a)/2,y:(i-a)/2+a},x2:{x:(e-a)/2+a,y:(i-a)/2},x3:{x:(e-a)/2,y:(i-a)/2},x4:{x:(e-a)/2+a,y:(i-a)/2+a}}}},Ft.internal.getWidth=function(r){var e=0;return Se(r)==="object"&&(e=Ts(r.Rect[2])),e},Ft.internal.getHeight=function(r){var e=0;return Se(r)==="object"&&(e=Ts(r.Rect[3])),e};var fl=De.addField=function(r){if(hl(this,r),!(r instanceof Jn))throw new Error("Invalid argument passed to 
41jsPDF.addField.");var e;return(e=r).scope.internal.acroformPlugin.printedOut&&(e.scope.internal.acroformPlugin.printedOut=!1,e.scope.internal.acroformPlugin.acroFormDictionaryRoot=null),e.scope.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(e),r.page=r.scope.internal.getCurrentPageInfo().pageNumber,this};De.AcroFormChoiceField=Ri,De.AcroFormListBox=Di,De.AcroFormComboBox=Ti,De.AcroFormEditBox=Xa,De.AcroFormButton=en,De.AcroFormPushButton=Ka,De.AcroFormRadioButton=zi,De.AcroFormCheckBox=Za,De.AcroFormTextField=ui,De.AcroFormPasswordField=$a,De.AcroFormAppearance=Ft,De.AcroForm={ChoiceField:Ri,ListBox:Di,ComboBox:Ti,EditBox:Xa,Button:en,PushButton:Ka,RadioButton:zi,CheckBox:Za,TextField:ui,PasswordField:$a,Appearance:Ft},qt.AcroForm={ChoiceField:Ri,ListBox:Di,ComboBox:Ti,EditBox:Xa,Button:en,PushButton:Ka,RadioButton:zi,CheckBox:Za,TextField:ui,PasswordField:$a,Appearance:Ft};qt.AcroForm;function lu(r){return r.reduce(function(e,i,a){return e[i]=a,e},{})}(function(r){var e="addImage_";r.__addimage__={};var i="UNKNOWN",a={PNG:[[137,80,78,71]],TIFF:[[77,77,0,42],[73,73,42,0]],JPEG:[[255,216,255,224,void 0,void 0,74,70,73,70,0],[255,216,255,225,void 0,void 0,69,120,105,102,0,0],[255,216,255,219],[255,216,255,238]],JPEG2000:[[0,0,0,12,106,80,32,32]],GIF87a:[[71,73,70,56,55,97]],GIF89a:[[71,73,70,56,57,97]],WEBP:[[82,73,70,70,void 0,void 0,void 0,void 0,87,69,66,80]],BMP:[[66,77],[66,65],[67,73],[67,80],[73,67],[80,84]]},s=r.__addimage__.getImageFileTypeByImageData=function(_,I){var R,D,at,lt,ft,$=i;if((I=I||i)==="RGBA"||_.data!==void 0&&_.data instanceof Uint8ClampedArray&&"height"in _&&"width"in _)return"RGBA";if(xt(_))for(ft in a)for(at=a[ft],R=0;R<at.length;R+=1){for(lt=!0,D=0;D<at[R].length;D+=1)if(at[R][D]!==void 0&&at[R][D]!==_[D]){lt=!1;break}if(lt===!0){$=ft;break}}else for(ft in a)for(at=a[ft],R=0;R<at.length;R+=1){for(lt=!0,D=0;D<at[R].length;D+=1)if(at[R][D]!==void 0&&at[R][D]!==_.charCodeAt(D)){lt=!1;break}if(lt===!0){$=ft;break}}return $===i&&I!==i&&($=I),$},u=function _(I){for(var R=this.internal.write,D=this.internal.putStream,at=(0,this.internal.getFilters)();at.indexOf("FlateEncode")!==-1;)at.splice(at.indexOf("FlateEncode"),1);I.objectId=this.internal.newObject();var lt=[];if(lt.push({key:"Type",value:"/XObject"}),lt.push({key:"Subtype",value:"/Image"}),lt.push({key:"Width",value:I.width}),lt.push({key:"Height",value:I.height}),I.colorSpace===j.INDEXED?lt.push({key:"ColorSpace",value:"[/Indexed /DeviceRGB "+(I.palette.length/3-1)+" "+("sMask"in I&&I.sMask!==void 0?I.objectId+2:I.objectId+1)+" 0 R]"}):(lt.push({key:"ColorSpace",value:"/"+I.colorSpace}),I.colorSpace===j.DEVICE_CMYK&&lt.push({key:"Decode",value:"[1 0 1 0 1 0 1 0]"})),lt.push({key:"BitsPerComponent",value:I.bitsPerComponent}),"decodeParameters"in I&&I.decodeParameters!==void 0&&lt.push({key:"DecodeParms",value:"<<"+I.decodeParameters+">>"}),"transparency"in I&&Array.isArray(I.transparency)&&I.transparency.length>0){for(var ft="",$=0,ct=I.transparency.length;$<ct;$++)ft+=I.transparency[$]+" "+I.transparency[$]+" ";lt.push({key:"Mask",value:"["+ft+"]"})}I.sMask!==void 0&&lt.push({key:"SMask",value:I.objectId+1+" 0 R"});var Lt=I.filter!==void 0?["/"+I.filter]:void 0;if(D({data:I.data,additionalKeyValues:lt,alreadyAppliedFilters:Lt,objectId:I.objectId}),R("endobj"),"sMask"in I&&I.sMask!==void 0){var bt,w=(bt=I.sMaskBitsPerComponent)!==null&&bt!==void 0?bt:I.bitsPerComponent,C={width:I.width,height:I.height,colorSpace:"DeviceGray",bitsPerComponent:w,data:I.sMask};"filter"in I&&(C.decodeParameters="/Predictor ".concat(I.predictor," /Colors 1 /BitsPerComponent ").concat(w," /Columns ").concat(I.width),C.filter=I.filter),_.call(this,C)}
vendor: 10,031 bytes, line 41
41if(I.colorSpace===j.INDEXED){var M=this.internal.newObject();D({data:st(new Uint8Array(I.palette)),objectId:M}),R("endobj")}},d=function(){var _=this.internal.collections[e+"images"];for(var I in _)u.call(this,_[I])},c=function(){var _,I=this.internal.collections[e+"images"],R=this.internal.write;for(var D in I)R("/I"+(_=I[D]).index,_.objectId,"0","R")},h=function(){this.internal.collections[e+"images"]||(this.internal.collections[e+"images"]={},this.internal.events.subscribe("putResources",d),this.internal.events.subscribe("putXobjectDict",c))},v=function(){var _=this.internal.collections[e+"images"];return h.call(this),_},A=function(){return Object.keys(this.internal.collections[e+"images"]).length},F=function(_){return typeof r["process"+_.toUpperCase()]=="function"},B=function(_){return Se(_)==="object"&&_.nodeType===1},p=function(_,I){if(_.nodeName==="IMG"&&_.hasAttribute("src")){var R=""+_.getAttribute("src");if(R.indexOf("data:image/")===0)return Ja(unescape(R).split("base64,").pop());var D=r.loadFile(R,!0);if(D!==void 0)return D}if(_.nodeName==="CANVAS"){if(_.width===0||_.height===0)throw new Error("Given canvas must have data. Canvas width: "+_.width+", height: "+_.height);var at;switch(I){case"PNG":at="image/png";break;case"WEBP":at="image/webp";break;default:at="image/jpeg"}return Ja(_.toDataURL(at,1).split("base64,").pop())}},z=function(_){var I=this.internal.collections[e+"images"];if(I){for(var R in I)if(_===I[R].alias)return I[R]}},O=function(_,I,R){return _||I||(_=-96,I=-96),_<0&&(_=-1*R.width*72/_/this.internal.scaleFactor),I<0&&(I=-1*R.height*72/I/this.internal.scaleFactor),_===0&&(_=I*R.width/R.height),I===0&&(I=_*R.height/R.width),[_,I]},T=function(_,I,R,D,at,lt){var ft=O.call(this,R,D,at),$=this.internal.getCoordinateString,ct=this.internal.getVerticalCoordinateString,Lt=v.call(this);if(R=ft[0],D=ft[1],Lt[at.index]=at,lt){lt*=Math.PI/180;var bt=Math.cos(lt),w=Math.sin(lt),C=function(H){return H.toFixed(4)},M=[C(bt),C(w),C(-1*w),C(bt),0,0,"cm"]}this.internal.write("q"),lt?(this.internal.write([1,"0","0",1,$(_),ct(I+D),"cm"].join(" ")),this.internal.write(M.join(" ")),this.internal.write([$(R),"0","0",$(D),"0","0","cm"].join(" "))):this.internal.write([$(R),"0","0",$(D),$(_),ct(I+D),"cm"].join(" ")),this.isAdvancedAPI()&&this.internal.write([1,0,0,-1,0,0,"cm"].join(" ")),this.internal.write("/I"+at.index+" Do"),this.internal.write("Q")},j=r.color_spaces={DEVICE_RGB:"DeviceRGB",DEVICE_GRAY:"DeviceGray",DEVICE_CMYK:"DeviceCMYK",CAL_GREY:"CalGray",CAL_RGB:"CalRGB",LAB:"Lab",ICC_BASED:"ICCBased",INDEXED:"Indexed",PATTERN:"Pattern",SEPARATION:"Separation",DEVICE_N:"DeviceN"};r.decode={DCT_DECODE:"DCTDecode",FLATE_DECODE:"FlateDecode",LZW_DECODE:"LZWDecode",JPX_DECODE:"JPXDecode",JBIG2_DECODE:"JBIG2Decode",ASCII85_DECODE:"ASCII85Decode",ASCII_HEX_DECODE:"ASCIIHexDecode",RUN_LENGTH_DECODE:"RunLengthDecode",CCITT_FAX_DECODE:"CCITTFaxDecode"};var Z=r.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},Q=r.__addimage__.sHashCode=function(_){var I,R,D=0;if(typeof _=="string")for(R=_.length,I=0;I<R;I++)D=(D<<5)-D+_.charCodeAt(I),D|=0;else if(xt(_))for(R=_.byteLength/2,I=0;I<R;I++)D=(D<<5)-D+_[I],D|=0;return D},nt=r.__addimage__.validateStringAsBase64=function(_){(_=_||"").toString().trim();var I=!0;return _.length===0&&(I=!1),_.length%4!=0&&(I=!1),/^[A-Za-z0-9+/]+$/.test(_.substr(0,_.length-2))===!1&&(I=!1),/^[A-Za-z0-9/][A-Za-z0-9+/]|[A-Za-z0-9+/]=|==$/.test(_.substr(-2))===!1&&(I=!1),I},yt=r.__addimage__.extractImageFromDataUrl=function(_){if(_==null||!(_=_.trim()).startsWith("data:"))return null;var I=_.indexOf(",");return I<0?null:_.substring(0,I).trim().endsWith("base64")?_.substring(I+1):null};r.__addimage__.isArrayBuffer=function(_){return _ instanceof ArrayBuffer};var xt=r.__addimage__.isArrayBufferView=function(_){return _ instanceof Int8Array||_ instanceof Uint8Array||_ instanceof Uint8ClampedArray||_ instanceof Int16Array||_ instanceof Uint16Array||_ instanceof Int32Array||_ instanceof Uint32Array||_ instanceof Float32Array||_ instanceof Float64Array},Wt=r.__addimage__.binaryStringToUint8Array=function(_){for(var I=_.length,R=new Uint8Array(I),D=0;D<I;D++)R[D]=_.charCodeAt(D);return R},st=r.__addimage__.arrayBufferToBinaryString=function(_){for(var I="",R=xt(_)?_:new Uint8Array(_),D=0;D<R.length;D+=8192)I+=String.fromCharCode.apply(null,R.subarray(D,D+8192));return I};r.addImage=function(){var _,I,R,D,at,lt,ft,$,ct;if(typeof arguments[1]=="number"?(I=i,R=arguments[1],D=arguments[2],at=arguments[3],lt=arguments[4],ft=arguments[5],$=arguments[6],ct=arguments[7]):(I=arguments[1],R=arguments[2],D=arguments[3],at=arguments[4],lt=arguments[5],ft=arguments[6],$=arguments[7],ct=arguments[8]),Se(_=arguments[0])==="object"&&!B(_)&&"imageData"in _){var Lt=_;_=Lt.imageData,I=Lt.format||I||i,R=Lt.x||R||0,D=Lt.y||D||0,at=Lt.w||Lt.width||at,lt=Lt.h||Lt.height||lt,ft=Lt.alias||ft,$=Lt.compression||$,ct=Lt.rotation||Lt.angle||ct}var bt=this.internal.getFilters();if($===void 0&&bt.indexOf("FlateEncode")!==-1&&($="SLOW"),isNaN(R)||isNaN(D))throw new Error("Invalid coordinates passed to jsPDF.addImage");h.call(this);var w=Y.call(this,_,I,ft,$);return T.call(this,R,D,at,lt,w,ct),this};var Y=function(_,I,R,D){var at,lt,ft;if(typeof _=="string"&&s(_)===i){_=unescape(_);var $=gt(_,!1);($!==""||($=r.loadFile(_,!0))!==void 0)&&(_=$)}if(B(_)&&(_=p(_,I)),I=s(_,I),!F(I))throw new Error("addImage does not support files of type '"+I+"', please ensure that a plugin for '"+I+"' support is added.");if(((ft=R)==null||ft.length===0)&&(R=(function(ct){return typeof ct=="string"||xt(ct)?Q(ct):xt(ct.data)?Q(ct.data):null})(_)),(at=z.call(this,R))||(_ instanceof Uint8Array||I==="RGBA"||(lt=_,_=Wt(_)),at=this["process"+I.toUpperCase()](_,A.call(this),R,(function(ct){return ct&&typeof ct=="string"&&(ct=ct.toUpperCase()),ct in r.image_compression?ct:Z.NONE})(D),lt)),!at)throw new Error("An unknown error occurred whilst processing the image.");return at},gt=r.__addimage__.convertBase64ToBinaryString=function(_,I){I=typeof I!="boolean"||I;var R,D="";if(typeof _=="string"){var at;R=(at=yt(_))!==null&&at!==void 0?at:_;try{D=Ja(R)}catch(lt){if(I)throw nt(R)?new Error("atob-Error in jsPDF.convertBase64ToBinaryString "+lt.message):new Error("Supplied Data is not a valid base64-String jsPDF.convertBase64ToBinaryString ")}}return D};r.getImageProperties=function(_){var I,R,D="";if(B(_)&&(_=p(_)),typeof _=="string"&&s(_)===i&&((D=gt(_,!1))===""&&(D=r.loadFile(_)||""),_=D),R=s(_),!F(R))throw new Error("addImage does not support files of type '"+R+"', please ensure that a plugin for '"+R+"' support is added.");if(_ instanceof Uint8Array||(_=Wt(_)),!(I=this["process"+R.toUpperCase()](_)))throw new Error("An unknown error occurred whilst processing the image");return I.fileType=R,I}})(qt.API),(function(r){var e=function(i){if(i!==void 0&&i!="")return!0};qt.API.events.push(["addPage",function(i){this.internal.getPageInfo(i.pageNumber).pageContext.annotations=[]}]),r.events.push(["putPage",function(i){for(var a,s,u,d=this.internal.getCoordinateString,c=this.internal.getVerticalCoordinateString,h=this.internal.getPageInfoByObjId(i.objId),v=i.pageContext.annotations,A=!1,F=0;F<v.length&&!A;F++)switch((a=v[F]).type){case"link":(e(a.options.url)||e(a.options.pageNumber))&&(A=!0);break;case"reference":case"text":case"freetext":A=!0}if(A!=0){this.internal.write("/Annots [");for(var B=0;B<v.length;B++){a=v[B];var p=this.internal.pdfEscape,z=this.internal.getEncryptor(i.objId);switch(a.type){case"reference":this.internal.write(" "+a.object.objId+" 0 R ");break;case"text":var O=this.internal.newAdditionalObject(),T=this.internal.newAdditionalObject(),j=this.internal.getEncryptor(O.objId),Z=a.title||"Note";u="<</Type /Annot /Subtype /Text "+(s="/Rect ["+d(a.bounds.x)+" "+c(a.bounds.y+a.bounds.h)+" "+d(a.bounds.x+a.bounds.w)+" "+c(a.bounds.y)+"] ")+"/Contents ("+p(j(a.contents))+")",u+=" /Popup "+T.objId+" 0 R",u+=" /P "+h.objId+" 0 R",u+=" /T ("+p(j(Z))+") >>",O.content=u;var Q=O.objId+" 0 R";u="<</Type /Annot /Subtype /Popup "+(s="/Rect ["+d(a.bounds.x+30)+" "+c(a.bounds.y+a.bounds.h)+" "+d(a.bounds.x+a.bounds.w+30)+" "+c(a.bounds.y)+"] ")+" /Parent "+Q,a.open&&(u+=" /Open true"),u+=" >>",T.content=u,this.internal.write(O.objId,"0 R",T.objId,"0 R");break;case"freetext":s="/Rect ["+d(a.bounds.x)+" "+c(a.bounds.y)+" "+d(a.bounds.x+a.bounds.w)+" "+c(a.bounds.y+a.bounds.h)+"] ";var nt="font: Helvetica,sans-serif 12.0pt; text-align:left; color:#"+(a.color||"#000000");u="<</Type /Annot /Subtype /FreeText "+s+"/Contents ("+p(z(a.contents))+")",u+=" /DS("+p(z(nt))+")",u+=" /Border [0 0 0]",u+=" >>",this.internal.write(u);break;case"link":if(a.options.name){var yt=this.annotations._nameMap[a.options.name];a.options.pageNumber=yt.page,a.options.top=yt.y}else a.options.top||(a.options.top=0);if(s="/Rect ["+a.finalBounds.x+" "+a.finalBounds.y+" "+a.finalBounds.w+" "+a.finalBounds.h+"] ",u="",a.options.url)u="<</Type /Annot /Subtype /Link "+s+"/Border [0 0 0] /A <</S /URI /URI ("+p(z(a.options.url))+") >>";else if(a.options.pageNumber)switch(u="<</Type /Annot /Subtype /Link "+s+"/Border [0 0 0] /Dest ["+this.internal.getPageInfo(a.options.pageNumber).objId+" 0 R",a.options.magFactor=a.options.magFactor||"XYZ",a.options.magFactor){case"Fit":u+=" /Fit]";break;case"FitH":u+=" /FitH "+a.options.top+"]";break;case"FitV":a.options.left=a.options.left||0,u+=" /FitV "+a.options.left+"]";break;default:var xt=c(a.options.top);a.options.left=a.options.left||0,a.options.zoom===void 0&&(a.options.zoom=0),u+=" /XYZ "+a.options.left+" "+xt+" "+a.options.zoom+"]"}u!=""&&(u+=" >>",this.internal.write(u))}}this.internal.write("]")}}]),r.createAnnotation=function(i){var a=this.internal.getCurrentPageInfo();switch(i.type){case"link":this.link(i.bounds.x,i.bounds.y,i.bounds.w,i.bounds.h,i);break;case"text":case"freetext":a.pageContext.annotations.push(i)}},r.link=function(i,a,s,u,d){var c=this.internal.getCurrentPageInfo(),h=this.internal.getCoordinateString,v=this.internal.getVerticalCoordinateString;
41c.pageContext.annotations.push({finalBounds:{x:h(i),y:v(a),w:h(i+s),h:v(a+u)},options:d,type:"link"})},r.textWithLink=function(i,a,s,u){var d,c,h=this.getTextWidth(i),v=this.internal.getLineHeight()/this.internal.scaleFactor;if(u.maxWidth!==void 0){c=u.maxWidth;var A=this.splitTextToSize(i,c).length;d=Math.ceil(v*A)}else c=h,d=v;return this.text(i,a,s,u),s+=.2*v,u.align==="center"&&(a-=h/2),u.align==="right"&&(a-=h),this.link(a,s-v,c,d,u),h},r.getTextWidth=function(i){var a=this.internal.getFontSize();return this.getStringUnitWidth(i)*a/this.internal.scaleFactor}})(qt.API),(function(r){var e={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: 71,233 bytes, line 41
417],1668:[64370,64371,64372,64373],1670:[64378,64379,64380,64381],1671:[64382,64383,64384,64385],1672:[64392,64393],1676:[64388,64389],1677:[64386,64387],1678:[64390,64391],1681:[64396,64397],1688:[64394,64395],1700:[64362,64363,64364,64365],1702:[64366,64367,64368,64369],1705:[64398,64399,64400,64401],1709:[64467,64468,64469,64470],1711:[64402,64403,64404,64405],1713:[64410,64411,64412,64413],1715:[64406,64407,64408,64409],1722:[64414,64415],1723:[64416,64417,64418,64419],1726:[64426,64427,64428,64429],1728:[64420,64421],1729:[64422,64423,64424,64425],1733:[64480,64481],1734:[64473,64474],1735:[64471,64472],1736:[64475,64476],1737:[64482,64483],1739:[64478,64479],1740:[64508,64509,64510,64511],1744:[64484,64485,64486,64487],1746:[64430,64431],1747:[64432,64433]},i={65247:{65154:65269,65156:65271,65160:65273,65166:65275},65248:{65154:65270,65156:65272,65160:65274,65166:65276},65165:{65247:{65248:{65258:65010}}},1617:{1612:64606,1613:64607,1614:64608,1615:64609,1616:64610}},a={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},s=[1570,1571,1573,1575];r.__arabicParser__={};var u=r.__arabicParser__.isInArabicSubstitutionA=function(O){return e[O.charCodeAt(0)]!==void 0},d=r.__arabicParser__.isArabicLetter=function(O){return typeof O=="string"&&/^[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]+$/.test(O)},c=r.__arabicParser__.isArabicEndLetter=function(O){return d(O)&&u(O)&&e[O.charCodeAt(0)].length<=2},h=r.__arabicParser__.isArabicAlfLetter=function(O){return d(O)&&s.indexOf(O.charCodeAt(0))>=0};r.__arabicParser__.arabicLetterHasIsolatedForm=function(O){return d(O)&&u(O)&&e[O.charCodeAt(0)].length>=1};var v=r.__arabicParser__.arabicLetterHasFinalForm=function(O){return d(O)&&u(O)&&e[O.charCodeAt(0)].length>=2};r.__arabicParser__.arabicLetterHasInitialForm=function(O){return d(O)&&u(O)&&e[O.charCodeAt(0)].length>=3};var A=r.__arabicParser__.arabicLetterHasMedialForm=function(O){return d(O)&&u(O)&&e[O.charCodeAt(0)].length==4},F=r.__arabicParser__.resolveLigatures=function(O){var T=0,j=i,Z="",Q=0;for(T=0;T<O.length;T+=1)j[O.charCodeAt(T)]!==void 0?(Q++,typeof(j=j[O.charCodeAt(T)])=="number"&&(Z+=String.fromCharCode(j),j=i,Q=0),T===O.length-1&&(j=i,Z+=O.charAt(T-(Q-1)),T-=Q-1,Q=0)):(j=i,Z+=O.charAt(T-Q),T-=Q,Q=0);return Z};r.__arabicParser__.isArabicDiacritic=function(O){return O!==void 0&&a[O.charCodeAt(0)]!==void 0};var B=r.__arabicParser__.getCorrectForm=function(O,T,j){return d(O)?u(O)===!1?-1:!v(O)||!d(T)&&!d(j)||!d(j)&&c(T)||c(O)&&!d(T)||c(O)&&h(T)||c(O)&&c(T)?0:A(O)&&d(T)&&!c(T)&&d(j)&&v(j)?3:c(O)||!d(j)?1:2:-1},p=function(O){var T=0,j=0,Z=0,Q="",nt="",yt="",xt=(O=O||"").split("\\s+"),Wt=[];for(T=0;T<xt.length;T+=1){for(Wt.push(""),j=0;j<xt[T].length;j+=1)Q=xt[T][j],nt=xt[T][j-1],yt=xt[T][j+1],d(Q)?(Z=B(Q,nt,yt),Wt[T]+=Z!==-1?String.fromCharCode(e[Q.charCodeAt(0)][Z]):Q):Wt[T]+=Q;Wt[T]=F(Wt[T])}return Wt.join(" ")},z=r.__arabicParser__.processArabic=r.processArabic=function(){var O,T=typeof arguments[0]=="string"?arguments[0]:arguments[0].text,j=[];if(Array.isArray(T)){var Z=0;for(j=[],Z=0;Z<T.length;Z+=1)Array.isArray(T[Z])?j.push([p(T[Z][0]),T[Z][1],T[Z][2]]):j.push([p(T[Z])]);O=j}else O=p(T);return typeof arguments[0]=="string"?O:(arguments[0].text=O,arguments[0])};r.events.push(["preProcessText",z])})(qt.API),qt.API.autoPrint=function(r){var e;return(r=r||{}).variant=r.variant||"non-conform",r.variant==="javascript"?this.addJS("print({});"):(this.internal.events.subscribe("postPutResources",function(){e=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 "+e+" 0 R")})),this},(function(r){var e=function(){var i=void 0;Object.defineProperty(this,"pdf",{get:function(){return i},set:function(c){i=c}});var a=150;Object.defineProperty(this,"width",{get:function(){return a},set:function(c){a=isNaN(c)||Number.isInteger(c)===!1||c<0?150:c,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=a+1)}});var s=300;Object.defineProperty(this,"height",{get:function(){return s},set:function(c){s=isNaN(c)||Number.isInteger(c)===!1||c<0?300:c,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=s+1)}});var u=[];Object.defineProperty(this,"childNodes",{get:function(){return u},set:function(c){u=c}});var d={};Object.defineProperty(this,"style",{get:function(){return d},set:function(c){d=c}}),Object.defineProperty(this,"parentNode",{})};e.prototype.getContext=function(i,a){var s;if((i=i||"2d")!=="2d")return null;for(s in a)this.pdf.context2d.hasOwnProperty(s)&&(this.pdf.context2d[s]=a[s]);return this.pdf.context2d._canvas=this,this.pdf.context2d},e.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},r.events.push(["initialized",function(){this.canvas=new e,this.canvas.pdf=this}])})(qt.API),(function(r){var e={left:0,top:0,bottom:0,right:0},i=!1,a=function(){this.internal.__cell__===void 0&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},e),this.internal.__cell__.margins.width=this.getPageWidth(),s.call(this))},s=function(){this.internal.__cell__.lastCell=new u,this.internal.__cell__.pages=1},u=function(){var h=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return h},set:function(O){h=O}});var v=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return v},set:function(O){v=O}});var A=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return A},set:function(O){A=O}});var F=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return F},set:function(O){F=O}});var B=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return B},set:function(O){B=O}});var p=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return p},set:function(O){p=O}});var z=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return z},set:function(O){z=O}}),this};u.prototype.clone=function(){return new u(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},u.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},r.setHeaderFunction=function(h){return a.call(this),this.internal.__cell__.headerFunction=typeof h=="function"?h:void 0,this},r.getTextDimensions=function(h,v){a.call(this);var A=(v=v||{}).fontSize||this.getFontSize(),F=v.font||this.getFont(),B=v.scaleFactor||this.internal.scaleFactor,p=0,z=0,O=0,T=this;if(!Array.isArray(h)&&typeof h!="string"){if(typeof h!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");h=String(h)}var j=v.maxWidth;j>0?typeof h=="string"?h=this.splitTextToSize(h,j):Object.prototype.toString.call(h)==="[object Array]"&&(h=h.reduce(function(Q,nt){return Q.concat(T.splitTextToSize(nt,j))},[])):h=Array.isArray(h)?h:[h];for(var Z=0;Z<h.length;Z++)p<(O=this.getStringUnitWidth(h[Z],{font:F})*A)&&(p=O);return p!==0&&(z=h.length),{w:p/=B,h:Math.max((z*A*this.getLineHeightFactor()-A*(this.getLineHeightFactor()-1))/B,0)}},r.cellAddPage=function(){a.call(this),this.addPage();var h=this.internal.__cell__.margins||e;return this.internal.__cell__.lastCell=new u(h.left,h.top,void 0,void 0),this.internal.__cell__.pages+=1,this};var d=r.cell=function(){var h;h=arguments[0]instanceof u?arguments[0]:new u(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6]),a.call(this);var v=this.internal.__cell__.lastCell,A=this.internal.__cell__.padding,F=this.internal.__cell__.margins||e,B=this.internal.__cell__.tableHeaderRow,p=this.internal.__cell__.printHeaders;return v.lineNumber!==void 0&&(v.lineNumber===h.lineNumber?(h.x=(v.x||0)+(v.width||0),h.y=v.y||0):v.y+v.height+h.height+F.bottom>this.getPageHeight()?(this.cellAddPage(),h.y=F.top,p&&B&&(this.printHeaderRow(h.lineNumber,!0),h.y+=B[0].height)):h.y=v.y+v.height||h.y),h.text[0]!==void 0&&(this.rect(h.x,h.y,h.width,h.height,i===!0?"FD":void 0),h.align==="right"?this.text(h.text,h.x+h.width-A,h.y+A,{align:"right",baseline:"top"}):h.align==="center"?this.text(h.text,h.x+h.width/2,h.y+A,{align:"center",baseline:"top",maxWidth:h.width-A-A}):this.text(h.text,h.x+A,h.y+A,{align:"left",baseline:"top",maxWidth:h.width-A-A})),this.internal.__cell__.lastCell=h,this};r.table=function(h,v,A,F,B){if(a.call(this),!A)throw new Error("No data for PDF table.");var p,z,O,T,j=[],Z=[],Q=[],nt={},yt={},xt=[],Wt=[],st=(B=B||{}).autoSize||!1,Y=B.printHeaders!==!1,gt=B.css&&B.css["font-size"]!==void 0?16*B.css["font-size"]:B.fontSize||12,_=B.margins||Object.assign({width:this.getPageWidth()},e),I=typeof B.padding=="number"?B.padding:3,R=B.headerBackgroundColor||"#c8c8c8",D=B.headerTextColor||"#000";if(s.call(this),this.internal.__cell__.printHeaders=Y,this.internal.__cell__.margins=_,this.internal.__cell__.table_font_size=gt,this.internal.__cell__.padding=I,this.internal.__cell__.headerBackgroundColor=R,this.internal.__cell__.headerTextColor=D,this.setFontSize(gt),F==null)Z=j=Object.keys(A[0]),Q=j.map(function(){return"left"});else if(Array.isArray(F)&&Se(F[0])==="object")for(j=F.map(function(Lt){return Lt.name}),Z=F.map(function(Lt){return Lt.prompt||Lt.name||""}),Q=F.map(function(Lt){return Lt.align||"left"}),p=0;p<F.length;p+=1)yt[F[p].name]=.7499990551181103*F[p].width;else Array.isArray(F)&&typeof F[0]=="string"&&(Z=j=F,Q=j.map(function(){return"left"}));if(st||Array.isArray(F)&&typeof F[0]=="string")for(p=0;p<j.length;p+=1){for(nt[T=j[p]]=A.map(function(Lt){return Lt[T]}),this.setFont(void 0,"bold"),xt.push(this.getTextDimensions(Z[p],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w),z=nt[T],this.setFont(void 0,"normal"),O=0;O<z.length;O+=1)xt.push(this.getTextDimensions(z[O],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w);yt[T]=Math.max.apply(null,xt)+I+I,xt=[]}if(Y){var at={};for(p=0;p<j.length;p+=1)at[j[p]]={},at[j[p]].text=Z[p],at[j[p]].align=Q[p];var lt=c.call(this,at,yt);Wt=j.map(function(Lt){return new u(h,v,yt[Lt],lt,at[Lt].text,void 0,at[Lt].align)}),this.setTableHeaderRow(Wt),this.printHeaderRow(1,!1)}var ft=F.reduce(function(Lt,bt){return Lt[bt.name]=bt.align,Lt},{});for(p=0;p<A.length;p+=1){"rowStart"in B&&B.rowStart instanceof Function&&B.rowStart({row:p,data:A[p]},this);var $=c.call(this,A[p],yt);for(O=0;O<j.length;O+=1){var ct=A[p][j[O]];"cellStart"in B&&B.cellStart instanceof Function&&B.cellStart({row:p,col:O,data:ct},this),d.call(this,new u(h,v,yt[j[O]],$,ct,p+2,ft[j[O]]))}}return this.internal.__cell__.table_x=h,this.internal.__cell__.table_y=v,this};var c=function(h,v){var A=this.internal.__cell__.padding,F=this.internal.__cell__.table_font_size,B=this.internal.scaleFactor;return Object.keys(h).map(function(p){var z=h[p];return this.splitTextToSize(z.hasOwnProperty("text")?z.text:z,v[p]-A-A)},this).map(function(p){return this.getLineHeightFactor()*p.length*F/B+A+A},this).reduce(function(p,z){return Math.max(p,z)},0)};r.setTableHeaderRow=function(h){a.call(this),this.internal.__cell__.tableHeaderRow=h},r.printHeaderRow=function(h,v){if(a.call(this),!this.internal.__cell__.tableHeaderRow)throw new Error("Property tableHeaderRow does not exist.");var A;if(i=!0,typeof this.internal.__cell__.headerFunction=="function"){var F=this.internal.__cell__.headerFunction(this,this.internal.__cell__.pages);this.internal.__cell__.lastCell=new u(F[0],F[1],F[2],F[3],void 0,-1)}this.setFont(void 0,"bold");for(var B=[],p=0;p<this.internal.__cell__.tableHeaderRow.length;p+=1){A=this.internal.__cell__.tableHeaderRow[p].clone(),v&&(A.y=this.internal.__cell__.margins.top||0,B.push(A)),A.lineNumber=h;var z=this.getTextColor();this.setTextColor(this.internal.__cell__.headerTextColor),this.setFillColor(this.internal.__cell__.headerBackgroundColor),d.call(this,A),this.setTextColor(z)}B.length>0&&this.setTableHeaderRow(B),this.setFont(void 0,"normal"),i=!1}})(qt.API);var cu={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},hu=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],Zo=lu(hu),fu=[100,200,300,400,500,600,700,800,900],dl=lu(fu);function Ho(r){var e=r.family.replace(/"|'/g,"").toLowerCase(),i=(function(u){return cu[u=u||"normal"]?u:"normal"})(r.style),a=(function(u){return u?typeof u=="number"?u>=100&&u<=900&&u%100==0?u:400:/^\d00$/.test(u)?parseInt(u):u==="bold"?700:400:400})(r.weight),s=(function(u){return typeof Zo[u=u||"normal"]=="number"?u:"normal"})(r.stretch);return{family:e,style:i,weight:a,stretch:s,src:r.src||[],ref:r.ref||{name:e,style:[s,i,a].join(" ")}}}function zs(r,e,i,a){var s;for(s=i;s>=0&&s<e.length;s+=a)if(r[e[s]])return r[e[s]];for(s=i;s>=0&&s<e.length;s-=a)if(r[e[s]])return r[e[s]]}var pl={"sans-serif":"helvetica",fixed:"courier",monospace:"courier",terminal:"courier",cursive:"times",fantasy:"times",serif:"times"},Us={caption:"times",icon:"times",menu:"times","message-box":"times","small-caption":"times","status-bar":"times"};function Hs(r){return[r.stretch,r.style,r.weight,r.family].join(" ")}function Ws(r){return r.trimLeft()}function gl(r,e){for(var i=0;i<r.length;){if(r.charAt(i)===e)return[r.substring(0,i),r.substring(i+1)];i+=1}return null}function ml(r){var e=r.match(/^(-[a-z_]|[a-z_])[a-z0-9_-]*/i);return e===null?null:[e[0],r.substring(e[0].length)]}var Bi,Ya,Vs,Gs,Ys,Wo=["times"];function Js(r,e,i,a,s){var u=4,d=Ks;switch(s){case qt.API.image_compression.FAST:u=1,d=Xs;break;case qt.API.image_compression.MEDIUM:u=6,d=Zs;break;case qt.API.image_compression.SLOW:u=9,d=$s}r=(function(h,v,A,F){for(var B,p=h.length/v,z=new Uint8Array(h.length+p),O=[vl,Xs,Ks,Zs,$s],T=0;T<p;T+=1){var j=T*v,Z=h.subarray(j,j+v);if(F)z.set(F(Z,A,B),j+T);else{for(var Q=O.length,nt=[],yt=0;yt<Q;yt+=1)nt[yt]=O[yt](Z,A,B);var xt=yl(nt.concat());z.set(nt[xt],j+T)}B=Z}return z})(r,e,Math.ceil(i*a/8),d);var c=Yo(r,{level:u});return qt.API.__addimage__.arrayBufferToBinaryString(c)}function vl(r){var e=Array.apply([],r);return e.unshift(0),e}function Xs(r,e){var i=r.length,a=[];a[0]=1;for(var s=0;s<i;s+=1){var u=r[s-e]||0;a[s+1]=r[s]-u+256&255}return a}function Ks(r,e,i){var a=r.length,s=[];s[0]=2;for(var u=0;u<a;u+=1){var d=i&&i[u]||0;s[u+1]=r[u]-d+256&255}return s}function Zs(r,e,i){var a=r.length,s=[];s[0]=3;for(var u=0;u<a;u+=1){var d=r[u-e]||0,c=i&&i[u]||0;s[u+1]=r[u]+256-(d+c>>>1)&255}return s}function $s(r,e,i){var a=r.length,s=[];s[0]=4;for(var u=0;u<a;u+=1){var d=bl(r[u-e]||0,i&&i[u]||0,i&&i[u-e]||0);s[u+1]=r[u]-d+256&255}return s}function bl(r,e,i){if(r===e&&e===i)return r;var a=Math.abs(e-i),s=Math.abs(r-i),u=Math.abs(r+e-i-i);return a<=s&&a<=u?r:s<=u?e:i}function yl(r){var e=r.map(function(i){return i.reduce(function(a,s){return a+Math.abs(s)},0)});return e.indexOf(Math.min.apply(null,e))}function Vo(r,e,i){var a=e*i,s=Math.floor(a/8),u=16-(a-8*s+i),d=(1<<i)-1;return du(r,s)>>u&d}function Qs(r,e,i,a){var s=i*a,u=Math.floor(s/8),d=16-(s-8*u+a),c=(1<<a)-1,h=(e&c)<<d;(function(v,A,F){if(A+1<v.byteLength)v.setUint16(A,F,!1);else{var B=F>>8&255;v.setUint8(A,B)}})(r,u,du(r,u)&~(c<<d)&65535|h)}function du(r,e){return e+1<r.byteLength?r.getUint16(e,!1):r.getUint8(e)<<8}function wl(r){var e=0;if(r[e++]!==71||r[e++]!==73||r[e++]!==70||r[e++]!==56||(r[e++]+1&253)!=56||r[e++]!==97)throw new Error("Invalid GIF 87a/89a header.");var i=r[e++]|r[e++]<<8,a=r[e++]|r[e++]<<8,s=r[e++],u=s>>7,d=1<<1+(7&s);r[e++],r[e++];var c=null,h=null;u&&(c=e,h=d,e+=3*d);var v=!0,A=[],F=0,B=null,p=0,z=null;for(this.width=i,this.height=a;v&&e<r.length;)switch(r[e++]){case 33:switch(r[e++]){case 255:if(r[e]!==11||r[e+1]==78&&r[e+2]==69&&r[e+3]==84&&r[e+4]==83&&r[e+5]==67&&r[e+6]==65&&r[e+7]==80&&r[e+8]==69&&r[e+9]==50&&r[e+10]==46&&r[e+11]==48&&r[e+12]==3&&r[e+13]==1&&r[e+16]==0)e+=14,z=r[e++]|r[e++]<<8,e++;else for(e+=12;;){if(!((_=r[e++])>=0))throw Error("Invalid block size");if(_===0)break;e+=_}break;case 249:if(r[e++]!==4||r[e+4]!==0)throw new Error("Invalid graphics extension block.");var O=r[e++];F=r[e++]|r[e++]<<8,B=r[e++],1&O||(B=null),p=O>>2&7,e++;break;case 254:for(;;){if(!((_=r[e++])>=0))throw Error("Invalid block size");if(_===0)break;e+=_}break;default:throw new Error("Unknown graphic control label: 0x"+r[e-1].toString(16))}break;case 44:var T=r[e++]|r[e++]<<8,j=r[e++]|r[e++]<<8,Z=r[e++]|r[e++]<<8,Q=r[e++]|r[e++]<<8,nt=r[e++],yt=nt>>6&1,xt=1<<1+(7&nt),Wt=c,st=h,Y=!1;nt>>7&&(Y=!0,Wt=e,st=xt,e+=3*xt);var gt=e;for(e++;;){var _;if(!((_=r[e++])>=0))throw Error("Invalid block size");if(_===0)break;e+=_}A.push({x:T,y:j,width:Z,height:Q,has_local_palette:Y,palette_offset:Wt,palette_size:st,data_offset:gt,data_length:e-gt,transparent_index:B,interlaced:!!yt,delay:F,disposal:p});break;case 59:v=!1;break;default:throw new Error("Unknown gif block: 0x"+r[e-1].toString(16))}this.numFrames=function(){return A.length},this.loopCount=function(){return z},this.frameInfo=function(I){if(I<0||I>=A.length)throw new Error("Frame index out of range.");return A[I]},this.decodeAndBlitFrameBGRA=function(I,R){var D=this.frameInfo(I),at=D.width*D.height;if(at>536870912)throw new Error("Image dimensions exceed 512MB, which is too large.");var lt=new Uint8Array(at);tu(r,D.data_offset,lt,at);var ft=D.palette_offset,$=D.transparent_index;$===null&&($=256);var ct=D.width,Lt=i-ct,bt=ct,w=4*(D.y*i+D.x),C=4*((D.y+D.height)*i+D.x),M=w,H=4*Lt;D.interlaced===!0&&(H+=4*i*7);for(var V=8,K=0,tt=lt.length;K<tt;++K){var et=lt[K];if(bt===0&&(bt=ct,(M+=H)>=C&&(H=4*Lt+4*i*(V-1),M=w+(ct+Lt)*(V<<1),V>>=1)),et===$)M+=4;else{var ht=r[ft+3*et],wt=r[ft+3*et+1],St=r[ft+3*et+2];R[M++]=St,R[M++]=wt,R[M++]=ht,R[M++]=255}--bt}},this.decodeAndBlitFrameRGBA=function(I,R){var D=this.frameInfo(I),at=D.width*D.height;if(at>536870912)throw new Error("Image dimensions exceed 512MB, which is too large.");var lt=new Uint8Array(at);tu(r,D.data_offset,lt,at);var ft=D.palette_offset,$=D.transparent_index;$===null&&($=256);var ct=D.width,Lt=i-ct,bt=ct,w=4*(D.y*i+D.x),C=4*((D.y+D.height)*i+D.x),M=w,H=4*Lt;D.interlaced===!0&&(H+=4*i*7);for(var V=8,K=0,tt=lt.length;K<tt;++K){var et=lt[K];if(bt===0&&(bt=ct,(M+=H)>=C&&(H=4*Lt+4*i*(V-1),M=w+(ct+Lt)*(V<<1),V>>=1)),et===$)M+=4;else{var ht=r[ft+3*et],wt=r[ft+3*et+1],St=r[ft+3*et+2];R[M++]=ht,R[M++]=wt,R[M++]=St,R[M++]=255}--bt}}}function tu(r,e,i,a){for(var s=r[e++],u=1<<s,d=u+1,c=d+1,h=s+1,v=(1<<h)-1,A=0,F=0,B=0,p=r[e++],z=new Int32Array(4096),O=null;;){for(;A<16&&p!==0;)F|=r[e++]<<A,A+=8,p===1?p=r[e++]:--p;if(A<h)break;var T=F&v;if(F>>=h,A-=h,T!==u){if(T===d)break;for(var j=T<c?T:O,Z=0,Q=j;Q>u;)Q=z[Q]>>8,++Z;var nt=Q;if(B+Z+(j!==T?1:0)>a)return void xe.log("Warning, gif stream longer than expected.");i[B++]=nt;var yt=B+=Z;for(j!==T&&(i[B++]=nt),Q=j;Z--;)Q=z[Q],i[--yt]=255&Q,Q>>=8;O!==null&&c<4096&&(z[c++]=O<<8|nt,c>=v+1&&h<12&&(++h,v=v<<1|1)),O=T}else c=d+1,v=(1<<(h=s+1))-1,O=null}return B!==a&&xe.log("Warning, gif stream shorter than expected."),i}function Go(r){var e,i,a,s,u,d=Math.floor,c=new Array(64),h=new Array(64),v=new Array(64),A=new Array(64),F=new Array(65535),B=new Array(65535),p=new Array(64),z=new Array(64),O=[],T=0,j=7,Z=new Array(64),Q=new Array(64),nt=new Array(64),yt=new Array(256),xt=new Array(2048),Wt=[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],st=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],Y=[0,1,2,3,4,5,6,7,8,9,10,11],gt=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],_=[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],I=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],R=[0,1,2,3,4,5,6,7,8,9,10,11],D=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],at=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function lt(w,C){for(var M=0,H=0,V=new Array,K=1;K<=16;K++){for(var tt=1;tt<=w[K];tt++)V[C[H]]=[],V[C[H]][0]=M,V[C[H]][1]=K,H++,M++;M*=2}return V}function ft(w){for(var C=w[0],M=w[1]-1;M>=0;)C&1<<M&&(T|=1<<j),M--,--j<0&&(T==255?($(255),$(0)):$(T),j=7,T=0)}function $(w){O.push(w)}function ct(w){$(w>>8&255),$(255&w)}function Lt(w,C,M,H,V){for(var K,tt=V[0],et=V[240],ht=(function(mt,Ht){var kt,Tt,Rt,ve,le,$t,he,ce,Bt,ne,Et=0;for(Bt=0;Bt<8;++Bt){kt=mt[Et],Tt=mt[Et+1],Rt=mt[Et+2],ve=mt[Et+3],le=mt[Et+4],$t=mt[Et+5],he=mt[Et+6];var Te=kt+(ce=mt[Et+7]),ge=kt-ce,oe=Tt+he,se=Tt-he,Ce=Rt+$t,Dt=Rt-$t,_e=ve+le,Yt=ve-le,Qt=Te+_e,Oe=Te-_e,ue=oe+Ce,Vt=oe-Ce;mt[Et]=Qt+ue,mt[Et+4]=Qt-ue;var be=.707106781*(Vt+Oe);mt[Et+2]=Oe+be,mt[Et+6]=Oe-be;var zr=.382683433*((Qt=Yt+Dt)-(Vt=se+ge)),un=.5411961*Qt+zr,lr=1.306562965*Vt+zr,Kn=.707106781*(ue=Dt+se),Gt=ge+Kn,cr=ge-Kn;mt[Et+5]=cr+un,mt[Et+3]=cr-un,mt[Et+1]=Gt+lr,mt[Et+7]=Gt-lr,Et+=8}for(Et=0,Bt=0;Bt<8;++Bt){kt=mt[Et],Tt=mt[Et+8],Rt=mt[Et+16],ve=mt[Et+24],le=mt[Et+32],$t=mt[Et+40],he=mt[Et+48];var hr=kt+(ce=mt[Et+56]),On=kt-ce,Bn=Tt+he,Ee=Tt-he,tn=Rt+$t,nn=Rt-$t,Ur=ve+le,Ar=ve-le,Tn=hr+Ur,Zn=hr-Ur,zn=Bn+tn,Un=Bn-tn;mt[Et]=Tn+zn,mt[Et+32]=Tn-zn;var Mn=.707106781*(Un+Zn);mt[Et+16]=Zn+Mn,mt[Et+48]=Zn-Mn;var Hr=.382683433*((Tn=Ar+nn)-(Un=Ee+On)),$n=.5411961*Tn+Hr,Wr=1.306562965*Un+Hr,hi=.707106781*(zn=nn+Ee),fi=On+hi,di=On-hi;mt[Et+40]=di+$n,mt[Et+24]=di-$n,mt[Et+8]=fi+Wr,mt[Et+56]=fi-Wr,Et++}for(Bt=0;Bt<64;++Bt)ne=mt[Bt]*Ht[Bt],p[Bt]=ne>0?ne+.5|0:ne-.5|0;return p})(w,C),wt=0;wt<64;++wt)z[Wt[wt]]=ht[wt];var St=z[0]-M;M=z[0],St==0?ft(H[0]):(ft(H[B[K=32767+St]]),ft(F[K]));for(var _t=63;_t>0&&z[_t]==0;)_t--;if(_t==0)return ft(tt),M;for(var zt,x=1;x<=_t;){for(var At=x;z[x]==0&&x<=_t;)++x;var ae=x-At;if(ae>=16){zt=ae>>4;for(var Ut=1;Ut<=zt;++Ut)ft(et);ae&=15}K=32767+z[x],ft(V[(ae<<4)+B[K]]),ft(F[K]),x++}return _t!=63&&ft(tt),M}function bt(w){w=Math.min(Math.max(w,1),100),u!=w&&((function(C){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],H=0;H<64;H++){var V=d((M[H]*C+50)/100);V=Math.min(Math.max(V,1),255),c[Wt[H]]=V}for(var K=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],tt=0;tt<64;tt++){var et=d((K[tt]*C+50)/100);et=Math.min(Math.max(et,1),255),h[Wt[tt]]=et}for(var ht=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],wt=0,St=0;St<8;St++)for(var _t=0;_t<8;_t++)v[wt]=1/(c[Wt[wt]]*ht[St]*ht[_t]*8),A[wt]=1/(h[Wt[wt]]*ht[St]*ht[_t]*8),wt++})(w<50?Math.floor(5e3/w):Math.floor(200-2*w)),u=w)}this.encode=function(w,C){C&&bt(C),O=new Array,T=0,j=7,ct(65496),ct(65504),ct(16),$(74),$(70),$(73),$(70),$(0),$(1),$(1),$(0),ct(1),ct(1),$(0),$(0),(function(){ct(65499),ct(132),$(0);for(var Tt=0;Tt<64;Tt++)$(c[Tt]);$(1);for(var Rt=0;Rt<64;Rt++)$(h[Rt])})(),(function(Tt,Rt){ct(65472),ct(17),$(8),ct(Rt),ct(Tt),$(3),$(1),$(17),$(0),$(2),$(17),$(1),$(3),$(17),$(1)})(w.width,w.height),(function(){ct(65476),ct(418),$(0);for(var Tt=0;Tt<16;Tt++)$(st[Tt+1]);for(var Rt=0;Rt<=11;Rt++)$(Y[Rt]);$(16);for(var ve=0;ve<16;ve++)$(gt[ve+1]);for(var le=0;le<=161;le++)$(_[le]);$(1);for(var $t=0;$t<16;$t++)$(I[$t+1]);for(var he=0;he<=11;he++)$(R[he]);$(17);for(var ce=0;ce<16;ce++)$(D[ce+1]);for(var Bt=0;Bt<=161;Bt++)$(at[Bt])})(),ct(65498),ct(12),$(3),$(1),$(0),$(2),$(17),$(3),$(17),$(0),$(63),$(0);var M=0,H=0,V=0;T=0,j=7,this.encode.displayName="_encode_";for(var K,tt,et,ht,wt,St,_t,zt,x,At=w.data,ae=w.width,Ut=w.height,mt=4*ae,Ht=0;Ht<Ut;){for(K=0;K<mt;){for(wt=mt*Ht+K,_t=-1,zt=0,x=0;x<64;x++)St=wt+(zt=x>>3)*mt+(_t=4*(7&x)),Ht+zt>=Ut&&(St-=mt*(Ht+1+zt-Ut)),K+_t>=mt&&(St-=K+_t-mt+4),tt=At[St++],et=At[St++],ht=At[St++],Z[x]=(xt[tt]+xt[et+256|0]+xt[ht+512|0]>>16)-128,Q[x]=(xt[tt+768|0]+xt[et+1024|0]+xt[ht+1280|0]>>16)-128,nt[x]=(xt[tt+1280|0]+xt[et+1536|0]+xt[ht+1792|0]>>16)-128;M=Lt(Z,v,M,e,a),H=Lt(Q,A,H,i,s),V=Lt(nt,A,V,i,s),K+=32}Ht+=8}if(j>=0){var kt=[];kt[1]=j+1,kt[0]=(1<<j+1)-1,ft(kt)}return ct(65497),new Uint8Array(O)},r=r||50,(function(){for(var w=String.fromCharCode,C=0;C<256;C++)yt[C]=w(C)})(),e=lt(st,Y),i=lt(I,R),a=lt(gt,_),s=lt(D,at),(function(){for(var w=1,C=2,M=1;M<=15;M++){for(var H=w;H<C;H++)B[32767+H]=M,F[32767+H]=[],F[32767+H][1]=M,F[32767+H][0]=H;for(var V=-(C-1);V<=-w;V++)B[32767+V]=M,F[32767+V]=[],F[32767+V][1]=M,F[32767+V][0]=C-1+V;w<<=1,C<<=1}})(),(function(){for(var w=0;w<256;w++)xt[w]=19595*w,xt[w+256|0]=38470*w,xt[w+512|0]=7471*w+32768,xt[w+768|0]=-11059*w,xt[w+1024|0]=-21709*w,xt[w+1280|0]=32768*w+8421375,xt[w+1536|0]=-27439*w,xt[w+1792|0]=-5329*w})(),bt(r)}function Yn(r,e){if(this.pos=0,this.buffer=r,this.datav=new DataView(r.buffer),this.is_with_alpha=!!e,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 eu(r){function e(Y){if(!Y)throw Error("assert :P")}function i(Y,gt,_){for(var I=0;4>I;I++)if(Y[gt+I]!=_.charCodeAt(I))return!0;return!1}function a(Y,gt,_,I,R){for(var D=0;D<R;D++)Y[gt+D]=_[I+D]}function s(Y,gt,_,I){for(var R=0;R<I;R++)Y[gt+R]=_}function u(Y){return new Int32Array(Y)}function d(Y,gt){for(var _=[],I=0;I<Y;I++)_.push(new gt);return _}function c(Y,gt){var _=[];return(function I(R,D,at){for(var lt=at[D],ft=0;ft<lt&&(R.push(at.length>D+1?[]:new gt),!(at.length<D+1));ft++)I(R[ft],D+1,at)})(_,0,Y),_}var h=function(){var Y=this;function gt(t,n){for(var l=1<<n-1>>>0;t&l;)l>>>=1;return l?(t&l-1)+l:t}function _(t,n,l,f,m){e(!(f%l));do t[n+(f-=l)]=m;while(0<f)}function I(t,n,l,f,m){if(e(2328>=m),512>=m)var b=u(512);else if((b=u(m))==null)return 0;return(function(y,L,N,P,q,X){var k,U,G=L,it=1<<N,J=u(16),ot=u(16);for(e(q!=0),e(P!=null),e(y!=null),e(0<N),U=0;U<q;++U){if(15<P[U])return 0;++J[P[U]]}if(J[0]==q)return 0;for(ot[1]=0,k=1;15>k;++k){if(J[k]>1<<k)return 0;ot[k+1]=ot[k]+J[k]}for(U=0;U<q;++U)k=P[U],0<P[U]&&(X[ot[k]++]=U);if(ot[15]==1)return(P=new R).g=0,P.value=X[0],_(y,G,1,it,P),it;var ut,vt=-1,pt=it-1,Mt=0,Pt=1,re=1,Ct=1<<N;for(U=0,k=1,q=2;k<=N;++k,q<<=1){if(Pt+=re<<=1,0>(re-=J[k]))return 0;for(;0<J[k];--J[k])(P=new R).g=k,P.value=X[U++],_(y,G+Mt,q,Ct,P),Mt=gt(Mt,k)}for(k=N+1,q=2;15>=k;++k,q<<=1){if(Pt+=re<<=1,0>(re-=J[k]))return 0;for(;0<J[k];--J[k]){if(P=new R,(Mt&pt)!=vt){for(G+=Ct,ut=1<<(vt=k)-N;15>vt&&!(0>=(ut-=J[vt]));)++vt,ut<<=1;it+=Ct=1<<(ut=vt-N),y[L+(vt=Mt&pt)].g=ut+N,y[L+vt].value=G-L-vt}P.g=k-N,P.value=X[U++],_(y,G+(Mt>>N),q,Ct,P),Mt=gt(Mt,k)}}return Pt!=2*ot[15]-1?0:it})(t,n,l,f,m,b)}function R(){this.value=this.g=0}function D(){this.value=this.g=0}function at(){this.G=d(5,R),this.H=u(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=d(_i,D)}function lt(t,n,l,f){e(t!=null),e(n!=null),e(2147483648>f),t.Ca=254,t.I=0,t.b=-8,t.Ka=0,t.oa=n,t.pa=l,t.Jd=n,t.Yc=l+f,t.Zc=4<=f?l+f-4+1:l,tt(t)}function ft(t,n){for(var l=0;0<n--;)l|=ht(t,128)<<n;return l}function $(t,n){var l=ft(t,n);return et(t)?-l:l}function ct(t,n,l,f){var m,b=0;for(e(t!=null),e(n!=null),e(4294967288>f),t.Sb=f,t.Ra=0,t.u=0,t.h=0,4<f&&(f=4),m=0;m<f;++m)b+=n[l+m]<<8*m;t.Ra=b,t.bb=f,t.oa=n,t.pa=l}function Lt(t){for(;8<=t.u&&t.bb<t.Sb;)t.Ra>>>=8,t.Ra+=t.oa[t.pa+t.bb]<<bn-8>>>0,++t.bb,t.u-=8;H(t)&&(t.h=1,t.u=0)}function bt(t,n){if(e(0<=n),!t.h&&n<=ea){var l=M(t)&ti[n];return t.u+=n,Lt(t),l}return t.h=1,t.u=0}function w(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function C(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function M(t){return t.Ra>>>(t.u&bn-1)>>>0}function H(t){return e(t.bb<=t.Sb),t.h||t.bb==t.Sb&&t.u>bn}function V(t,n){t.u=n,t.h=H(t)}function K(t){t.u>=Nn&&(e(t.u>=Nn),Lt(t))}function tt(t){e(t!=null&&t.oa!=null),t.pa<t.Zc?(t.I=(t.oa[t.pa++]|t.I<<8)>>>0,t.b+=8):(e(t!=null&&t.oa!=null),t.pa<t.Yc?(t.b+=8,t.I=t.oa[t.pa++]|t.I<<8):t.Ka?t.b=0:(t.I<<=8,t.b+=8,t.Ka=1))}function et(t){return ft(t,1)}function ht(t,n){var l=t.Ca;0>t.b&&tt(t);var f=t.b,m=l*n>>>8,b=(t.I>>>f>m)+0;for(b?(l-=m,t.I-=m+1<<f>>>0):l=m+1,f=l,m=0;256<=f;)m+=8,f>>=8;return f=7^m+Pi[f],t.b-=f,t.Ca=(l<<f)-1,b}function wt(t,n,l){t[n+0]=l>>24&255,t[n+1]=l>>16&255,t[n+2]=l>>8&255,t[n+3]=255&l}function St(t,n){return t[n+0]|t[n+1]<<8}function _t(t,n){return St(t,n)|t[n+2]<<16}function zt(t,n){return St(t,n)|St(t,n+2)<<16}function x(t,n){var l=1<<n;return e(t!=null),e(0<n),t.X=u(l),t.X==null?0:(t.Mb=32-n,t.Xa=n,1)}function At(t,n){e(t!=null),e(n!=null),e(t.Xa==n.Xa),a(n.X,0,t.X,0,1<<n.Xa)}function ae(){this.X=[],this.Xa=this.Mb=0}function Ut(t,n,l,f){e(l!=null),e(f!=null);var m=l[0],b=f[0];return m==0&&(m=(t*b+n/2)/n),b==0&&(b=(n*m+t/2)/t),0>=m||0>=b?0:(l[0]=m,f[0]=b,1)}function mt(t,n){return t+(1<<n)-1>>>n}function Ht(t,n){return((4278255360&t)+(4278255360&n)>>>0&4278255360)+((16711935&t)+(16711935&n)>>>0&16711935)>>>0}function kt(t,n){Y[n]=function(l,f,m,b,y,L,N){var P;for(P=0;P<y;++P){var q=Y[t](L[N+P-1],m,b+P);L[N+P]=Ht(l[f+P],q)}}}function Tt(){this.ud=this.hd=this.jd=0}function Rt(t,n){return((4278124286&(t^n))>>>1)+(t&n)>>>0}function ve(t){return 0<=t&&256>t?t:0>t?0:255<t?255:void 0}function le(t,n){return ve(t+(t-n+.5>>1))}function $t(t,n,l){return Math.abs(n-l)-Math.abs(t-l)}function he(t,n,l,f,m,b,y){for(f=b[y-1],l=0;l<m;++l)b[y+l]=f=Ht(t[n+l],f)}function ce(t,n,l,f,m){var b;for(b=0;b<l;++b){var y=t[n+b],L=y>>8&255,N=16711935&(N=(N=16711935&y)+((L<<16)+L));f[m+b]=(4278255360&y)+N>>>0}}function Bt(t,n){n.jd=255&t,n.hd=t>>8&255,n.ud=t>>16&255}function ne(t,n,l,f,m,b){var y;for(y=0;y<f;++y){var L=n[l+y],N=L>>>8,P=L,q=255&(q=(q=L>>>16)+((t.jd<<24>>24)*(N<<24>>24)>>>5));P=255&(P=(P+=(t.hd<<24>>24)*(N<<24>>24)>>>5)+((t.ud<<24>>24)*(q<<24>>24)>>>5)),m[b+y]=(4278255360&L)+(q<<16)+P}}function Et(t,n,l,f,m){Y[n]=function(b,y,L,N,P,q,X,k,U){for(N=X;N<k;++N)for(X=0;X<U;++X)P[q++]=m(L[f(b[y++])])},Y[t]=function(b,y,L,N,P,q,X){var k=8>>b.b,U=b.Ea,G=b.K[0],it=b.w;if(8>k)for(b=(1<<b.b)-1,it=(1<<k)-1;y<L;++y){var J,ot=0;for(J=0;J<U;++J)J&b||(ot=f(N[P++])),q[X++]=m(G[ot&it]),ot>>=k}else Y["VP8LMapColor"+l](N,P,G,it,q,X,y,L,U)}}function Te(t,n,l,f,m){for(l=n+l;n<l;){var b=t[n++];f[m++]=b>>16&255,f[m++]=b>>8&255,f[m++]=255&b}}function ge(t,n,l,f,m){for(l=n+l;n<l;){var b=t[n++];f[m++]=b>>16&255,f[m++]=b>>8&255,f[m++]=255&b,f[m++]=b>>24&255}}function oe(t,n,l,f,m){for(l=n+l;n<l;){var b=(y=t[n++])>>16&240|y>>12&15,y=240&y|y>>28&15;f[m++]=b,f[m++]=y}}function se(t,n,l,f,m){for(l=n+l;n<l;){var b=(y=t[n++])>>16&248|y>>13&7,y=y>>5&224|y>>3&31;f[m++]=b,f[m++]=y}}function Ce(t,n,l,f,m){for(l=n+l;n<l;){var b=t[n++];f[m++]=255&b,f[m++]=b>>8&255,f[m++]=b>>16&255}}function Dt(t,n,l,f,m,b){if(b==0)for(l=n+l;n<l;)wt(f,((b=t[n++])[0]>>24|b[1]>>8&65280|b[2]<<8&16711680|b[3]<<24)>>>0),m+=32;else a(f,m,t,n,l)}function _e(t,n){Y[n][0]=Y[t+"0"],Y[n][1]=Y[t+"1"],Y[n][2]=Y[t+"2"],Y[n][3]=Y[t+"3"],Y[n][4]=Y[t+"4"],Y[n][5]=Y[t+"5"],Y[n][6]=Y[t+"6"],Y[n][7]=Y[t+"7"],Y[n][8]=Y[t+"8"],Y[n][9]=Y[t+"9"],Y[n][10]=Y[t+"10"],Y[n][11]=Y[t+"11"],Y[n][12]=Y[t+"12"],Y[n][13]=Y[t+"13"],Y[n][14]=Y[t+"0"],Y[n][15]=Y[t+"0"]}function Yt(t){return t==xo||t==So||t==Ba||t==_o}function Qt(){this.eb=[],this.size=this.A=this.fb=0}function Oe(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function ue(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new Qt,this.f.kb=new Oe,this.sd=null}function Vt(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function be(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function zr(t){return alert("todo:WebPSamplerProcessPlane"),t.T}function un(t,n){var l=t.T,f=n.ba.f.RGBA,m=f.eb,b=f.fb+t.ka*f.A,y=Dn[n.ba.S],L=t.y,N=t.O,P=t.f,q=t.N,X=t.ea,k=t.W,U=n.cc,G=n.dc,it=n.Mc,J=n.Nc,ot=t.ka,ut=t.ka+t.T,vt=t.U,pt=vt+1>>1;for(ot==0?y(L,N,null,null,P,q,X,k,P,q,X,k,m,b,null,null,vt):(y(n.ec,n.fc,L,N,U,G,it,J,P,q,X,k,m,b-f.A,m,b,vt),++l);ot+2<ut;ot+=2)U=P,G=q,it=X,J=k,q+=t.Rc,k+=t.Rc,b+=2*f.A,y(L,(N+=2*t.fa)-t.fa,L,N,U,G,it,J,P,q,X,k,m,b-f.A,m,b,vt);return N+=t.fa,t.j+ut<t.o?(a(n.ec,n.fc,L,N,vt),a(n.cc,n.dc,P,q,pt),a(n.Mc,n.Nc,X,k,pt),l--):1&ut||y(L,N,null,null,P,q,X,k,P,q,X,k,m,b+f.A,null,null,vt),l}function lr(t,n,l){var f=t.F,m=[t.J];if(f!=null){var b=t.U,y=n.ba.S,L=y==Oa||y==Ba;n=n.ba.f.RGBA;var N=[0],P=t.ka;N[0]=t.T,t.Kb&&(P==0?--N[0]:(--P,m[0]-=t.width),t.j+t.ka+t.T==t.o&&(N[0]=t.o-t.j-P));var q=n.eb;P=n.fb+P*n.A,t=is(f,m[0],t.width,b,N,q,P+(L?0:3),n.A),e(l==N),t&&Yt(y)&&aa(q,P,L,b,N,n.A)}return 0}function Kn(t){var n=t.ma,l=n.ba.S,f=11>l,m=l==ja||l==Ca||l==Oa||l==Ao||l==12||Yt(l);if(n.memory=null,n.Ib=null,n.Jb=null,n.Nd=null,!qn(n.Oa,t,m?11:12))return 0;if(m&&Yt(l)&&vr(),t.da)alert("todo:use_scaling");else{if(f){if(n.Ib=zr,t.Kb){if(l=t.U+1>>1,n.memory=u(t.U+2*l),n.memory==null)return 0;n.ec=n.memory,n.fc=0,n.cc=n.ec,n.dc=n.fc+t.U,n.Mc=n.cc,n.Nc=n.dc+l,n.Ib=un,vr()}}else alert("todo:EmitYUV");m&&(n.Jb=lr,f&&Me())}if(f&&!ws){for(t=0;256>t;++t)Bu[t]=89858*(t-128)+Ea>>Ma,qu[t]=-22014*(t-128)+Ea,Eu[t]=-45773*(t-128),Mu[t]=113618*(t-128)+Ea>>Ma;for(t=sa;t<Fo;++t)n=76283*(t-16)+Ea>>Ma,Ru[t-sa]=Qn(n,255),Du[t-sa]=Qn(n+8>>4,15);ws=1}return 1}function Gt(t){var n=t.ma,l=t.U,f=t.T;return e(!(1&t.ka)),0>=l||0>=f?0:(l=n.Ib(t,n),n.Jb!=null&&n.Jb(t,n,l),n.Dc+=l,1)}function cr(t){t.ma.memory=null}function hr(t,n,l,f){return bt(t,8)!=47?0:(n[0]=bt(t,14)+1,l[0]=bt(t,14)+1,f[0]=bt(t,1),bt(t,3)!=0?0:!t.h)}function On(t,n){if(4>t)return t+1;var l=t-2>>1;return(2+(1&t)<<l)+bt(n,l)+1}function Bn(t,n){return 120<n?n-120:1<=(l=((l=wu[n-1])>>4)*t+(8-(15&l)))?l:1;var l}function Ee(t,n,l){var f=M(l),m=t[n+=255&f].g-8;return 0<m&&(V(l,l.u+8),f=M(l),n+=t[n].value,n+=f&(1<<m)-1),V(l,l.u+t[n].g),t[n].value}function tn(t,n,l){return l.g+=t.g,l.value+=t.value<<n>>>0,e(8>=l.g),t.g}function nn(t,n,l){var f=t.xc;return e((n=f==0?0:t.vc[t.md*(l>>f)+(n>>f)])<t.Wb),t.Ya[n]}function Ur(t,n,l,f){var m=t.ab,b=t.c*n,y=t.C;n=y+n;var L=l,N=f;for(f=t.Ta,l=t.Ua;0<m--;){var P=t.gc[m],q=y,X=n,k=L,U=N,G=(N=f,L=l,P.Ea);switch(e(q<X),e(X<=P.nc),P.hc){case 2:ki(k,U,(X-q)*G,N,L);break;case 0:var it=q,J=X,ot=N,ut=L,vt=(Ct=P).Ea;it==0&&(kr(k,U,null,null,1,ot,ut),he(k,U+1,0,0,vt-1,ot,ut+1),U+=vt,ut+=vt,++it);for(var pt=1<<Ct.b,Mt=pt-1,Pt=mt(vt,Ct.b),re=Ct.K,Ct=Ct.w+(it>>Ct.b)*Pt;it<J;){var fe=re,Ze=Ct,ie=1;for(Fr(k,U,ot,ut-vt,1,ot,ut);ie<vt;){var Ot=(ie&~Mt)+pt;Ot>vt&&(Ot=vt),(0,Hn[fe[Ze++]>>8&15])(k,U+ +ie,ot,ut+ie-vt,Ot-ie,ot,ut+ie),ie=Ot}U+=vt,ut+=vt,++it&Mt||(Ct+=Pt)}X!=P.nc&&a(N,L-G,N,L+(X-q-1)*G,G);break;case 1:for(G=k,J=U,vt=(k=P.Ea)-(ut=k&~(ot=(U=1<<P.b)-1)),it=mt(k,P.b),pt=P.K,P=P.w+(q>>P.b)*it;q<X;){for(Mt=pt,Pt=P,re=new Tt,Ct=J+ut,fe=J+k;J<Ct;)Bt(Mt[Pt++],re),ni(re,G,J,U,N,L),J+=U,L+=U;J<fe&&(Bt(Mt[Pt++],re),ni(re,G,J,vt,N,L),J+=vt,L+=vt),++q&ot||(P+=it)}break;case 3:if(k==N&&U==L&&0<P.b){for(J=N,k=G=L+(X-q)*G-(ut=(X-q)*mt(P.Ea,P.b)),U=N,ot=L,it=[],ut=(vt=ut)-1;0<=ut;--ut)it[ut]=U[ot+ut];for(ut=vt-1;0<=ut;--ut)J[k+ut]=it[ut];ei(P,q,X,N,G,N,L)}else ei(P,q,X,k,U,N,L)}L=f,N=l}N!=l&&a(f,l,L,N,b)}function Ar(t,n){var l=t.V,f=t.Ba+t.c*t.C,m=n-t.C;if(e(n<=t.l.o),e(16>=m),0<m){var b=t.l,y=t.Ta,L=t.Ua,N=b.width;if(Ur(t,m,l,f),m=L=[L],e((l=t.C)<(f=n)),e(b.v<b.va),f>b.o&&(f=b.o),l<b.j){var P=b.j-l;l=b.j,m[0]+=P*N}if(l>=f?l=0:(m[0]+=4*b.v,b.ka=l-b.j,b.U=b.va-b.v,b.T=f-l,l=1),l){if(L=L[0],11>(l=t.ca).S){var q=l.f.RGBA,X=(f=l.S,m=b.U,b=b.T,P=q.eb,q.A),k=b;for(q=q.fb+t.Ma*q.A;0<k--;){var U=y,G=L,it=m,J=P,ot=q;switch(f){case Ia:na(U,G,it,J,ot);break;case ja:ra(U,G,it,J,ot);break;case xo:ra(U,G,it,J,ot),aa(J,ot,0,it,1,0);break;case hs:ii(U,G,it,J,ot);break;case Ca:Dt(U,G,it,J,ot,1);break;case So:Dt(U,G,it,J,ot,1),aa(J,ot,0,it,1,0);break;case Oa:Dt(U,G,it,J,ot,0);break;case Ba:Dt(U,G,it,J,ot,0),aa(J,ot,1,it,1,0);break;case Ao:Fi(U,G,it,J,ot);break;case _o:Fi(U,G,it,J,ot),rs(J,ot,it,1,0);break;case fs:ri(U,G,it,J,ot);break;default:e(0)}L+=N,q+=X}t.Ma+=b}else alert("todo:EmitRescaledRowsYUVA");e(t.Ma<=l.height)}}t.C=n,e(t.C<=t.i)}function Tn(t){var n;if(0<t.ua)return 0;for(n=0;n<t.Wb;++n){var l=t.Ya[n].G,f=t.Ya[n].H;if(0<l[1][f[1]+0].g||0<l[2][f[2]+0].g||0<l[3][f[3]+0].g)return 0}return 1}function Zn(t,n,l,f,m,b){if(t.Z!=0){var y=t.qd,L=t.rd;for(e(Or[t.Z]!=null);n<l;++n)Or[t.Z](y,L,f,m,f,m,b),y=f,L=m,m+=b;t.qd=y,t.rd=L}}function zn(t,n){var l=t.l.ma,f=l.Z==0||l.Z==1?t.l.j:t.C;if(f=t.C<f?f:t.C,e(n<=t.l.o),n>f){var m=t.l.width,b=l.ca,y=l.tb+m*f,L=t.V,N=t.Ba+t.c*f,P=t.gc;e(t.ab==1),e(P[0].hc==3),Lo(P[0],f,n,L,N,b,y),Zn(l,f,n,b,y,m)}t.C=t.Ma=n}function Un(t,n,l,f,m,b,y){var L=t.$/f,N=t.$%f,P=t.m,q=t.s,X=l+t.$,k=X;m=l+f*m;var U=l+f*b,G=280+q.ua,it=t.Pb?L:16777216,J=0<q.ua?q.Wa:null,ot=q.wc,ut=X<U?nn(q,N,L):null;e(t.C<b),e(U<=m);var vt=!1;t:for(;;){for(;vt||X<U;){var pt=0;if(L>=it){var Mt=X-l;e((it=t).Pb),it.wd=it.m,it.xd=Mt,0<it.s.ua&&At(it.s.Wa,it.s.vb),it=L+Nu}if(N&ot||(ut=nn(q,N,L)),e(ut!=null),ut.Qb&&(n[X]=ut.qb,vt=!0),!vt)if(K(P),ut.jc){pt=P,Mt=n;var Pt=X,re=ut.pd[M(pt)&_i-1];e(ut.jc),256>re.g?(V(pt,pt.u+re.g),Mt[Pt]=re.value,pt=0):(V(pt,pt.u+re.g-256),e(256<=re.value),pt=re.value),pt==0&&(vt=!0)}else pt=Ee(ut.G[0],ut.H[0],P);if(P.h)break;if(vt||256>pt){if(!vt)if(ut.nd)n[X]=(ut.qb|pt<<8)>>>0;else{if(K(P),vt=Ee(ut.G[1],ut.H[1],P),K(P),Mt=Ee(ut.G[2],ut.H[2],P),Pt=Ee(ut.G[3],ut.H[3],P),P.h)break;n[X]=(Pt<<24|vt<<16|pt<<8|Mt)>>>0}if(vt=!1,++X,++N>=f&&(N=0,++L,y!=null&&L<=b&&!(L%16)&&y(t,L),J!=null))for(;k<X;)pt=n[k++],J.X[(506832829*pt&4294967295)>>>J.Mb]=pt}else if(280>pt){if(pt=On(pt-256,P),Mt=Ee(ut.G[4],ut.H[4],P),K(P),Mt=Bn(f,Mt=On(Mt,P)),P.h)break;if(X-l<Mt||m-X<pt)break t;for(Pt=0;Pt<pt;++Pt)n[X+Pt]=n[X+Pt-Mt];for(X+=pt,N+=pt;N>=f;)N-=f,++L,y!=null&&L<=b&&!(L%16)&&y(t,L);if(e(X<=m),N&ot&&(ut=nn(q,N,L)),J!=null)for(;k<X;)pt=n[k++],J.X[(506832829*pt&4294967295)>>>J.Mb]=pt}else{if(!(pt<G))break t;for(vt=pt-280,e(J!=null);k<X;)pt=n[k++],J.X[(506832829*pt&4294967295)>>>J.Mb]=pt;pt=X,e(!(vt>>>(Mt=J).Xa)),n[pt]=Mt.X[vt],vt=!0}vt||e(P.h==H(P))}if(t.Pb&&P.h&&X<m)e(t.m.h),t.a=5,t.m=t.wd,t.$=t.xd,0<t.s.ua&&At(t.s.vb,t.s.Wa);else{if(P.h)break t;y?.(t,L>b?b:L),t.a=0,t.$=X-l}return 1}return t.a=3,0}function Mn(t){e(t!=null),t.vc=null,t.yc=null,t.Ya=null;var n=t.Wa;n!=null&&(n.X=null),t.vb=null,e(t!=null)}function Hr(){var t=new jt;return t==null?null:(t.a=0,t.xb=gs,_e("Predictor","VP8LPredictors"),_e("Predictor","VP8LPredictors_C"),_e("PredictorAdd","VP8LPredictorsAdd"),_e("PredictorAdd","VP8LPredictorsAdd_C"),ki=ce,ni=ne,na=Te,ra=ge,Fi=oe,ri=se,ii=Ce,Y.VP8LMapColor32b=Xe,Y.VP8LMapColor8b=ir,t)}function $n(t,n,l,f,m){var b=1,y=[t],L=[n],N=f.m,P=f.s,q=null,X=0;t:for(;;){if(l)for(;b&&bt(N,1);){var k=y,U=L,G=f,it=1,J=G.m,ot=G.gc[G.ab],ut=bt(J,2);if(G.Oc&1<<ut)b=0;else{switch(G.Oc|=1<<ut,ot.hc=ut,ot.Ea=k[0],ot.nc=U[0],ot.K=[null],++G.ab,e(4>=G.ab),ut){case 0:case 1:ot.b=bt(J,3)+2,it=$n(mt(ot.Ea,ot.b),mt(ot.nc,ot.b),0,G,ot.K),ot.K=ot.K[0];break;case 3:var vt,pt=bt(J,8)+1,Mt=16<pt?0:4<pt?1:2<pt?2:3;if(k[0]=mt(ot.Ea,Mt),ot.b=Mt,vt=it=$n(pt,1,0,G,ot.K)){var Pt,re=pt,Ct=ot,fe=1<<(8>>Ct.b),Ze=u(fe);if(Ze==null)vt=0;else{var ie=Ct.K[0],Ot=Ct.w;for(Ze[0]=Ct.K[0][0],Pt=1;Pt<1*re;++Pt)Ze[Pt]=Ht(ie[Ot+Pt],Ze[Pt-1]);for(;Pt<4*fe;++Pt)Ze[Pt]=0;Ct.K[0]=null,Ct.K[0]=Ze,vt=1}}it=vt;break;case 2:break;default:e(0)}b=it}}if(y=y[0],L=L[0],b&&bt(N,1)&&!(b=1<=(X=bt(N,4))&&11>=X)){f.a=3;break t}var Nt;if(Nt=b)e:{var Ue,ee,pe,je=f,an=y,yn=L,qe=X,fn=l,wn=je.m,$e=je.s,me=[null],ye=1,Re=0,we=Lu[qe];n:for(;;){if(fn&&bt(wn,1)){var on=bt(wn,3)+2,Vn=mt(an,on),He=mt(yn,on),An=Vn*He;if(!$n(Vn,He,0,je,me))break n;for(me=me[0],$e.xc=on,Ue=0;Ue<An;++Ue){var Ae=me[Ue]>>8&65535;me[Ue]=Ae,Ae>=ye&&(ye=Ae+1)}}if(wn.h)break n;for(ee=0;5>ee;++ee){var Qe=ds[ee];!ee&&0<qe&&(Qe+=1<<qe),Re<Qe&&(Re=Qe)}var kn=d(ye*we,R),Ln=ye,Fn=d(Ln,at);if(Fn==null)var In=null;else e(65536>=Ln),In=Fn;var xn=u(Re);if(In==null||xn==null||kn==null){je.a=1;break n}var jn=kn;for(Ue=pe=0;Ue<ye;++Ue){var Fe=In[Ue],Cn=Fe.G,Gn=Fe.H,ai=0,Lr=1,sn=0;for(ee=0;5>ee;++ee){Qe=ds[ee],Cn[ee]=jn,Gn[ee]=pe,!ee&&0<qe&&(Qe+=1<<qe);i:{var Ra,Io=Qe,Da=je,ua=xn,Uu=jn,Hu=pe,jo=0,Br=Da.m,Wu=bt(Br,1);if(s(ua,0,0,Io),Wu){var Vu=bt(Br,1)+1,Gu=bt(Br,1),As=bt(Br,Gu==0?1:8);ua[As]=1,Vu==2&&(ua[As=bt(Br,8)]=1);var Ta=1}else{var xs=u(19),Ss=bt(Br,4)+4;if(19<Ss){Da.a=3;var za=0;break i}for(Ra=0;Ra<Ss;++Ra)xs[yu[Ra]]=bt(Br,3);var Co=void 0,la=void 0,_s=Da,Yu=xs,Ua=Io,Ps=ua,Oo=0,Mr=_s.m,ks=8,Fs=d(128,R);r:for(;I(Fs,0,7,Yu,19);){if(bt(Mr,1)){var Ju=2+2*bt(Mr,3);if((Co=2+bt(Mr,Ju))>Ua)break r}else Co=Ua;for(la=0;la<Ua&&Co--;){K(Mr);var Is=Fs[0+(127&M(Mr))];V(Mr,Mr.u+Is.g);var Ci=Is.value;if(16>Ci)Ps[la++]=Ci,Ci!=0&&(ks=Ci);else{var Xu=Ci==16,js=Ci-16,Ku=vu[js],Cs=bt(Mr,mu[js])+Ku;if(la+Cs>Ua)break r;for(var Zu=Xu?ks:0;0<Cs--;)Ps[la++]=Zu}}Oo=1;break r}Oo||(_s.a=3),Ta=Oo}(Ta=Ta&&!Br.h)&&(jo=I(Uu,Hu,8,ua,Io)),Ta&&jo!=0?za=jo:(Da.a=3,za=0)}if(za==0)break n;if(Lr&&bu[ee]==1&&(Lr=jn[pe].g==0),ai+=jn[pe].g,pe+=za,3>=ee){var ca,Bo=xn[0];for(ca=1;ca<Qe;++ca)xn[ca]>Bo&&(Bo=xn[ca]);sn+=Bo}}if(Fe.nd=Lr,Fe.Qb=0,Lr&&(Fe.qb=(Cn[3][Gn[3]+0].value<<24|Cn[1][Gn[1]+0].value<<16|Cn[2][Gn[2]+0].value)>>>0,ai==0&&256>Cn[0][Gn[0]+0].value&&(Fe.Qb=1,Fe.qb+=Cn[0][Gn[0]+0].value<<8)),Fe.jc=!Fe.Qb&&6>sn,Fe.jc){var Ha,Nr=Fe;for(Ha=0;Ha<_i;++Ha){var Er=Ha,qr=Nr.pd[Er],Wa=Nr.G[0][Nr.H[0]+Er];256<=Wa.value?(qr.g=Wa.g+256,qr.value=Wa.value):(qr.g=0,qr.value=0,Er>>=tn(Wa,8,qr),Er>>=tn(Nr.G[1][Nr.H[1]+Er],16,qr),Er>>=tn(Nr.G[2][Nr.H[2]+Er],0,qr),tn(Nr.G[3][Nr.H[3]+Er],24,qr))}}}$e.vc=me,$e.Wb=ye,$e.Ya=In,$e.yc=kn,Nt=1;break e}Nt=0}if(!(b=Nt)){f.a=3;break t}if(0<X){if(P.ua=1<<X,!x(P.Wa,X)){f.a=1,b=0;break t}}else P.ua=0;var Mo=f,Os=y,$u=L,Eo=Mo.s,qo=Eo.xc;if(Mo.c=Os,Mo.i=$u,Eo.md=mt(Os,qo),Eo.wc=qo==0?-1:(1<<qo)-1,l){f.xb=Fu;break t}if((q=u(y*L))==null){f.a=1,b=0;break t}b=(b=Un(f,q,0,y,L,L,null))&&!N.h;break t}return b?(m!=null?m[0]=q:(e(q==null),e(l)),f.$=0,l||Mn(P)):Mn(P),b}function Wr(t,n){var l=t.c*t.i,f=l+n+16*n;return e(t.c<=n),t.V=u(f),t.V==null?(t.Ta=null,t.Ua=0,t.a=1,0):(t.Ta=t.V,t.Ua=t.Ba+l+n,1)}function hi(t,n){var l=t.C,f=n-l,m=t.V,b=t.Ba+t.c*l;for(e(n<=t.l.o);0<f;){var y=16<f?16:f,L=t.l.ma,N=t.l.width,P=N*y,q=L.ca,X=L.tb+N*l,k=t.Ta,U=t.Ua;Ur(t,y,m,b),as(k,U,q,X,P),Zn(L,l,l+y,q,X,N),f-=y,m+=y*t.c,l+=y}e(l==n),t.C=t.Ma=n}function fi(){this.ub=this.yd=this.td=this.Rb=0}function di(){this.Kd=this.Ld=this.Ud=this.Td=this.i=this.c=0}function no(){this.Fb=this.Bb=this.Cb=0,this.Zb=u(4),this.Lb=u(4)}function Ui(){this.Yb=(function(){var t=[];return(function n(l,f,m){for(var b=m[f],y=0;y<b&&(l.push(m.length>f+1?[]:0),!(m.length<f+1));y++)n(l[y],f+1,m)})(t,0,[3,11]),t})()}function ha(){this.jb=u(3),this.Wc=c([4,8],Ui),this.Xc=c([4,17],Ui)}function fa(){this.Pc=this.wb=this.Tb=this.zd=0,this.vd=new u(4),this.od=new u(4)}function En(){this.ld=this.La=this.dd=this.tc=0}function Hi(){this.Na=this.la=0}function da(){this.Sc=[0,0],this.Eb=[0,0],this.Qc=[0,0],this.ia=this.lc=0}function Wi(){this.ad=u(384),this.Za=0,this.Ob=u(16),this.$b=this.Ad=this.ia=this.Gc=this.Hc=this.Dd=0}function pa(){this.uc=this.M=this.Nb=0,this.wa=Array(new En),this.Y=0,this.ya=Array(new Wi),this.aa=0,this.l=new pi}function ga(){this.y=u(16),this.f=u(8),this.ea=u(8)}function ma(){this.cb=this.a=0,this.sc="",this.m=new w,this.Od=new fi,this.Kc=new di,this.ed=new fa,this.Qa=new no,this.Ic=this.$c=this.Aa=0,this.D=new pa,this.Xb=this.Va=this.Hb=this.zb=this.yb=this.Ub=this.za=0,this.Jc=d(8,w),this.ia=0,this.pb=d(4,da),this.Pa=new ha,this.Bd=this.kc=0,this.Ac=[],this.Bc=0,this.zc=[0,0,0,0],this.Gd=Array(new ga),this.Hd=0,this.rb=Array(new Hi),this.sb=0,this.wa=Array(new En),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 Wi),this.L=this.aa=0,this.gd=c([4,2],En),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 Qn(t,n){return 0>t?0:t>n?n:t}function pi(){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 ro(){var t=new ma;return t!=null&&(t.a=0,t.sc="OK",t.cb=0,t.Xb=0,oa||(oa=gi)),t}function Ye(t,n,l){return t.a==0&&(t.a=n,t.sc=l,t.cb=0),0}function va(t,n,l){return 3<=l&&t[n+0]==157&&t[n+1]==1&&t[n+2]==42}function tr(t,n){if(t==null)return 0;if(t.a=0,t.sc="OK",n==null)return Ye(t,2,"null VP8Io passed to VP8GetHeaders()");var l=n.data,f=n.w,m=n.ha;if(4>m)return Ye(t,7,"Truncated header.");var b=l[f+0]|l[f+1]<<8|l[f+2]<<16,y=t.Od;if(y.Rb=!(1&b),y.td=b>>1&7,y.yd=b>>4&1,y.ub=b>>5,3<y.td)return Ye(t,3,"Incorrect keyframe parameters.");if(!y.yd)return Ye(t,4,"Frame not displayable.");f+=3,m-=3;var L=t.Kc;if(y.Rb){if(7>m)return Ye(t,7,"cannot parse picture header");if(!va(l,f,m))return Ye(t,3,"Bad code word");L.c=16383&(l[f+4]<<8|l[f+3]),L.Td=l[f+4]>>6,L.i=16383&(l[f+6]<<8|l[f+5]),L.Ud=l[f+6]>>6,f+=7,m-=7,t.za=L.c+15>>4,t.Ub=L.i+15>>4,n.width=L.c,n.height=L.i,n.Da=0,n.j=0,n.v=0,n.va=n.width,n.o=n.height,n.da=0,n.ib=n.width,n.hb=n.height,n.U=n.width,n.T=n.height,s((b=t.Pa).jb,0,255,b.jb.length),e((b=t.Qa)!=null),b.Cb=0,b.Bb=0,b.Fb=1,s(b.Zb,0,0,b.Zb.length),s(b.Lb,0,0,b.Lb)}if(y.ub>m)return Ye(t,7,"bad partition length");lt(b=t.m,l,f,y.ub),f+=y.ub,m-=y.ub,y.Rb&&(L.Ld=et(b),L.Kd=et(b)),L=t.Qa;var N,P=t.Pa;if(e(b!=null),e(L!=null),L.Cb=et(b),L.Cb){if(L.Bb=et(b),et(b)){for(L.Fb=et(b),N=0;4>N;++N)L.Zb[N]=et(b)?$(b,7):0;for(N=0;4>N;++N)L.Lb[N]=et(b)?$(b,6):0}if(L.Bb)for(N=0;3>N;++N)P.jb[N]=et(b)?ft(b,8):255}else L.Bb=0;if(b.Ka)return Ye(t,3,"cannot parse segment header");if((L=t.ed).zd=et(b),L.Tb=ft(b,6),L.wb=ft(b,3),L.Pc=et(b),L.Pc&&et(b)){for(P=0;4>P;++P)et(b)&&(L.vd[P]=$(b,6));for(P=0;4>P;++P)et(b)&&(L.od[P]=$(b,6))}if(t.L=L.Tb==0?0:L.zd?1:2,b.Ka)return Ye(t,3,"cannot parse filter header");var q=m;if(m=N=f,f=N+q,L=q,t.Xb=(1<<ft(t.m,2))-1,q<3*(P=t.Xb))l=7;else{for(N+=3*P,L-=3*P,q=0;q<P;++q){var X=l[m+0]|l[m+1]<<8|l[m+2]<<16;X>L&&(X=L),lt(t.Jc[+q],l,N,X),N+=X,L-=X,m+=3}lt(t.Jc[+P],l,N,L),l=N<f?0:5}if(l!=0)return Ye(t,l,"cannot parse partitions");for(l=ft(N=t.m,7),m=et(N)?$(N,4):0,f=et(N)?$(N,4):0,L=et(N)?$(N,4):0,P=et(N)?$(N,4):0,N=et(N)?$(N,4):0,q=t.Qa,X=0;4>X;++X){if(q.Cb){var k=q.Zb[X];q.Fb||(k+=l)}else{if(0<X){t.pb[X]=t.pb[0];continue}k=l}var U=t.pb[X];U.Sc[0]=Po[Qn(k+m,127)],U.Sc[1]=ko[Qn(k+0,127)],U.Eb[0]=2*Po[Qn(k+f,127)],U.Eb[1]=101581*ko[Qn(k+L,127)]>>16,8>U.Eb[1]&&(U.Eb[1]=8),U.Qc[0]=Po[Qn(k+P,117)],U.Qc[1]=ko[Qn(k+N,127)],U.lc=k+N}if(!y.Rb)return Ye(t,4,"Not a key frame.");for(et(b),y=t.Pa,l=0;4>l;++l){for(m=0;8>m;++m)for(f=0;3>f;++f)for(L=0;11>L;++L)P=ht(b,Pu[l][m][f][L])?ft(b,8):Su[l][m][f][L],y.Wc[l][m].Yb[f][L]=P;for(m=0;17>m;++m)y.Xc[l][m]=y.Wc[l][ku[m]]}return t.kc=et(b),t.kc&&(t.Bd=ft(b,8)),t.cb=1}function gi(t,n,l,f,m,b,y){var L=n[m].Yb[l];for(l=0;16>m;++m){if(!ht(t,L[l+0]))return m;for(;!ht(t,L[l+1]);)if(L=n[++m].Yb[0],l=0,m==16)return 16;var N=n[m+1].Yb;if(ht(t,L[l+2])){var P=t,q=0;if(ht(P,(k=L)[(X=l)+3]))if(ht(P,k[X+6])){for(L=0,X=2*(q=ht(P,k[X+8]))+(k=ht(P,k[X+9+q])),q=0,k=Au[X];k[L];++L)q+=q+ht(P,k[L]);q+=3+(8<<X)}else ht(P,k[X+7])?(q=7+2*ht(P,165),q+=ht(P,145)):q=5+ht(P,159);else q=ht(P,k[X+4])?3+ht(P,k[X+5]):2;L=N[2]}else q=1,L=N[1];N=y+xu[m],0>(P=t).b&&tt(P);var X,k=P.b,U=(X=P.Ca>>1)-(P.I>>k)>>31;--P.b,P.Ca+=U,P.Ca|=1,P.I-=(X+1&U)<<k,b[N]=((q^U)-U)*f[(0<m)+0]}return 16}function Vi(t){var n=t.rb[t.sb-1];n.la=0,n.Na=0,s(t.zc,0,0,t.zc.length),t.ja=0}function _n(t,n,l,f,m){m=t[n+l+32*f]+(m>>3),t[n+l+32*f]=-256&m?0>m?0:255:m}function mi(t,n,l,f,m,b){_n(t,n,0,l,f+m),_n(t,n,1,l,f+b),_n(t,n,2,l,f-b),_n(t,n,3,l,f-m)}function fr(t){return(20091*t>>16)+t}function rn(t,n,l,f){var m,b=0,y=u(16);for(m=0;4>m;++m){var L=t[n+0]+t[n+8],N=t[n+0]-t[n+8],P=(35468*t[n+4]>>16)-fr(t[n+12]),q=fr(t[n+4])+(35468*t[n+12]>>16);y[b+0]=L+q,y[b+1]=N+P,y[b+2]=N-P,y[b+3]=L-q,b+=4,n++}for(m=b=0;4>m;++m)L=(t=y[b+0]+4)+y[b+8],N=t-y[b+8],P=(35468*y[b+4]>>16)-fr(y[b+12]),_n(l,f,0,0,L+(q=fr(y[b+4])+(35468*y[b+12]>>16))),_n(l,f,1,0,N+P),_n(l,f,2,0,N-P),_n(l,f,3,0,L-q),b++,f+=32}function ba(t,n,l,f){var m=t[n+0]+4,b=35468*t[n+4]>>16,y=fr(t[n+4]),L=35468*t[n+1]>>16;mi(l,f,0,m+y,t=fr(t[n+1]),L),mi(l,f,1,m+b,t,L),mi(l,f,2,m-b,t,L),mi(l,f,3,m-y,t,L)}function io(t,n,l,f,m){rn(t,n,l,f),m&&rn(t,n+16,l,f+4)}function ao(t,n,l,f){br(t,n+0,l,f,1),br(t,n+32,l,f+128,1)}function oo(t,n,l,f){var m;for(t=t[n+0]+4,m=0;4>m;++m)for(n=0;4>n;++n)_n(l,f,n,m,t)}function er(t,n,l,f){t[n+0]&&hn(t,n+0,l,f),t[n+16]&&hn(t,n+16,l,f+4),t[n+32]&&hn(t,n+32,l,f+128),t[n+48]&&hn(t,n+48,l,f+128+4)}function ya(t,n,l,f){var m,b=u(16);for(m=0;4>m;++m){var y=t[n+0+m]+t[n+12+m],L=t[n+4+m]+t[n+8+m],N=t[n+4+m]-t[n+8+m],P=t[n+0+m]-t[n+12+m];b[0+m]=y+L,b[8+m]=y-L,b[4+m]=P+N,b[12+m]=P-N}for(m=0;4>m;++m)y=(t=b[0+4*m]+3)+b[3+4*m],L=b[1+4*m]+b[2+4*m],N=b[1+4*m]-b[2+4*m],P=t-b[3+4*m],l[f+0]=y+L>>3,l[f+16]=P+N>>3,l[f+32]=y-L>>3,l[f+48]=P-N>>3,f+=64}function vi(t,n,l){var f,m=n-32,b=Pn,y=255-t[m-1];for(f=0;f<l;++f){var L,N=b,P=y+t[n-1];for(L=0;L<l;++L)t[n+L]=N[P+t[m+L]];n+=32}}function bi(t,n){vi(t,n,4)}function Gi(t,n){vi(t,n,8)}function so(t,n){vi(t,n,16)}function uo(t,n){var l;for(l=0;16>l;++l)a(t,n+32*l,t,n-32,16)}function lo(t,n){var l;for(l=16;0<l;--l)s(t,n,t[n-1],16),n+=32}function xr(t,n,l){var f;for(f=0;16>f;++f)s(n,l+32*f,t,16)}function wa(t,n){var l,f=16;for(l=0;16>l;++l)f+=t[n-1+32*l]+t[n+l-32];xr(f>>5,t,n)}function Sr(t,n){var l,f=8;for(l=0;16>l;++l)f+=t[n-1+32*l];xr(f>>4,t,n)}function co(t,n){var l,f=8;for(l=0;16>l;++l)f+=t[n+l-32];xr(f>>4,t,n)}function Vr(t,n){xr(128,t,n)}function Jt(t,n,l){return t+2*n+l+2>>2}function ho(t,n){var l,f=n-32;for(f=new Uint8Array([Jt(t[f-1],t[f+0],t[f+1]),Jt(t[f+0],t[f+1],t[f+2]),Jt(t[f+1],t[f+2],t[f+3]),Jt(t[f+2],t[f+3],t[f+4])]),l=0;4>l;++l)a(t,n+32*l,f,0,f.length)}function fo(t,n){var l=t[n-1],f=t[n-1+32],m=t[n-1+64],b=t[n-1+96];wt(t,n+0,16843009*Jt(t[n-1-32],l,f)),wt(t,n+32,16843009*Jt(l,f,m)),wt(t,n+64,16843009*Jt(f,m,b)),wt(t,n+96,16843009*Jt(m,b,b))}function po(t,n){var l,f=4;for(l=0;4>l;++l)f+=t[n+l-32]+t[n-1+32*l];for(f>>=3,l=0;4>l;++l)s(t,n+32*l,f,4)}function go(t,n){var l=t[n-1+0],f=t[n-1+32],m=t[n-1+64],b=t[n-1-32],y=t[n+0-32],L=t[n+1-32],N=t[n+2-32],P=t[n+3-32];t[n+0+96]=Jt(f,m,t[n-1+96]),t[n+1+96]=t[n+0+64]=Jt(l,f,m),t[n+2+96]=t[n+1+64]=t[n+0+32]=Jt(b,l,f),t[n+3+96]=t[n+2+64]=t[n+1+32]=t[n+0+0]=Jt(y,b,l),t[n+3+64]=t[n+2+32]=t[n+1+0]=Jt(L,y,b),t[n+3+32]=t[n+2+0]=Jt(N,L,y),t[n+3+0]=Jt(P,N,L)}function mo(t,n){var l=t[n+1-32],f=t[n+2-32],m=t[n+3-32],b=t[n+4-32],y=t[n+5-32],L=t[n+6-32],N=t[n+7-32];t[n+0+0]=Jt(t[n+0-32],l,f),t[n+1+0]=t[n+0+32]=Jt(l,f,m),t[n+2+0]=t[n+1+32]=t[n+0+64]=Jt(f,m,b),t[n+3+0]=t[n+2+32]=t[n+1+64]=t[n+0+96]=Jt(m,b,y),t[n+3+32]=t[n+2+64]=t[n+1+96]=Jt(b,y,L),t[n+3+64]=t[n+2+96]=Jt(y,L,N),t[n+3+96]=Jt(L,N,N)}function dr(t,n){var l=t[n-1+0],f=t[n-1+32],m=t[n-1+64],b=t[n-1-32],y=t[n+0-32],L=t[n+1-32],N=t[n+2-32],P=t[n+3-32];t[n+0+0]=t[n+1+64]=b+y+1>>1,t[n+1+0]=t[n+2+64]=y+L+1>>1,t[n+2+0]=t[n+3+64]=L+N+1>>1,t[n+3+0]=N+P+1>>1,t[n+0+96]=Jt(m,f,l),t[n+0+64]=Jt(f,l,b),t[n+0+32]=t[n+1+96]=Jt(l,b,y),t[n+1+32]=t[n+2+96]=Jt(b,y,L),t[n+2+32]=t[n+3+96]=Jt(y,L,N),t[n+3+32]=Jt(L,N,P)}function pr(t,n){var l=t[n+0-32],f=t[n+1-32],m=t[n+2-32],b=t[n+3-32],y=t[n+4-32],L=t[n+5-32],N=t[n+6-32],P=t[n+7-32];t[n+0+0]=l+f+1>>1,t[n+1+0]=t[n+0+64]=f+m+1>>1,t[n+2+0]=t[n+1+64]=m+b+1>>1,t[n+3+0]=t[n+2+64]=b+y+1>>1,t[n+0+32]=Jt(l,f,m),t[n+1+32]=t[n+0+96]=Jt(f,m,b),t[n+2+32]=t[n+1+96]=Jt(m,b,y),t[n+3+32]=t[n+2+96]=Jt(b,y,L),t[n+3+64]=Jt(y,L,N),t[n+3+96]=Jt(L,N,P)}function vo(t,n){var l=t[n-1+0],f=t[n-1+32],m=t[n-1+64],b=t[n-1+96];t[n+0+0]=l+f+1>>1,t[n+2+0]=t[n+0+32]=f+m+1>>1,t[n+2+32]=t[n+0+64]=m+b+1>>1,t[n+1+0]=Jt(l,f,m),t[n+3+0]=t[n+1+32]=Jt(f,m,b),t[n+3+32]=t[n+1+64]=Jt(m,b,b),t[n+3+64]=t[n+2+64]=t[n+0+96]=t[n+1+96]=t[n+2+96]=t[n+3+96]=b}function bo(t,n){var l=t[n-1+0],f=t[n-1+32],m=t[n-1+64],b=t[n-1+96],y=t[n-1-32],L=t[n+0-32],N=t[n+1-32],P=t[n+2-32];t[n+0+0]=t[n+2+32]=l+y+1>>1,t[n+0+32]=t[n+2+64]=f+l+1>>1,t[n+0+64]=t[n+2+96]=m+f+1>>1,t[n+0+96]=b+m+1>>1,t[n+3+0]=Jt(L,N,P),t[n+2+0]=Jt(y,L,N),t[n+1+0]=t[n+3+32]=Jt(l,y,L),t[n+1+32]=t[n+3+64]=Jt(f,l,y),t[n+1+64]=t[n+3+96]=Jt(m,f,l),t[n+1+96]=Jt(b,m,f)}function yi(t,n){var l;for(l=0;8>l;++l)a(t,n+32*l,t,n-32,8)}function Yi(t,n){var l;for(l=0;8>l;++l)s(t,n,t[n-1],8),n+=32}function nr(t,n,l){var f;for(f=0;8>f;++f)s(n,l+32*f,t,8)}function yo(t,n){var l,f=8;for(l=0;8>l;++l)f+=t[n+l-32]+t[n-1+32*l];nr(f>>4,t,n)}function wi(t,n){var l,f=4;for(l=0;8>l;++l)f+=t[n+l-32];nr(f>>3,t,n)}function wo(t,n){var l,f=4;for(l=0;8>l;++l)f+=t[n-1+32*l];nr(f>>3,t,n)}function Ji(t,n){nr(128,t,n)}function _r(t,n,l){var f=t[n-l],m=t[n+0],b=3*(m-f)+No[1020+t[n-2*l]-t[n+l]],y=Fa[112+(b+4>>3)];t[n-l]=Pn[255+f+Fa[112+(b+3>>3)]],t[n+0]=Pn[255+m-y]}function Xi(t,n,l,f){var m=t[n+0],b=t[n+l];return Rn[255+t[n-2*l]-t[n-l]]>f||Rn[255+b-m]>f}function Gr(t,n,l,f){return 4*Rn[255+t[n-l]-t[n+0]]+Rn[255+t[n-2*l]-t[n+l]]<=f}function Ki(t,n,l,f,m){var b=t[n-3*l],y=t[n-2*l],L=t[n-l],N=t[n+0],P=t[n+l],q=t[n+2*l],X=t[n+3*l];return 4*Rn[255+L-N]+Rn[255+y-P]>f?0:Rn[255+t[n-4*l]-b]<=m&&Rn[255+b-y]<=m&&Rn[255+y-L]<=m&&Rn[255+X-q]<=m&&Rn[255+q-P]<=m&&Rn[255+P-N]<=m}function Li(t,n,l,f){var m=2*f+1;for(f=0;16>f;++f)Gr(t,n+f,l,m)&&_r(t,n+f,l)}function Zi(t,n,l,f){var m=2*f+1;for(f=0;16>f;++f)Gr(t,n+f*l,1,m)&&_r(t,n+f*l,1)}function Ni(t,n,l,f){var m;for(m=3;0<m;--m)Li(t,n+=4*l,l,f)}function La(t,n,l,f){var m;for(m=3;0<m;--m)Zi(t,n+=4,l,f)}function gr(t,n,l,f,m,b,y,L){for(b=2*b+1;0<m--;){if(Ki(t,n,l,b,y))if(Xi(t,n,l,L))_r(t,n,l);else{var N=t,P=n,q=l,X=N[P-2*q],k=N[P-q],U=N[P+0],G=N[P+q],it=N[P+2*q],J=27*(ut=No[1020+3*(U-k)+No[1020+X-G]])+63>>7,ot=18*ut+63>>7,ut=9*ut+63>>7;N[P-3*q]=Pn[255+N[P-3*q]+ut],N[P-2*q]=Pn[255+X+ot],N[P-q]=Pn[255+k+J],N[P+0]=Pn[255+U-J],N[P+q]=Pn[255+G-ot],N[P+2*q]=Pn[255+it-ut]}n+=f}}function mr(t,n,l,f,m,b,y,L){for(b=2*b+1;0<m--;){if(Ki(t,n,l,b,y))if(Xi(t,n,l,L))_r(t,n,l);else{var N=t,P=n,q=l,X=N[P-q],k=N[P+0],U=N[P+q],G=Fa[112+(4+(it=3*(k-X))>>3)],it=Fa[112+(it+3>>3)],J=G+1>>1;N[P-2*q]=Pn[255+N[P-2*q]+J],N[P-q]=Pn[255+X+it],N[P+0]=Pn[255+k-G],N[P+q]=Pn[255+U-J]}n+=f}}function Na(t,n,l,f,m,b){gr(t,n,l,1,16,f,m,b)}function Aa(t,n,l,f,m,b){gr(t,n,1,l,16,f,m,b)}function xa(t,n,l,f,m,b){var y;for(y=3;0<y;--y)mr(t,n+=4*l,l,1,16,f,m,b)}function Yr(t,n,l,f,m,b){var y;for(y=3;0<y;--y)mr(t,n+=4,1,l,16,f,m,b)}function Sa(t,n,l,f,m,b,y,L){gr(t,n,m,1,8,b,y,L),gr(l,f,m,1,8,b,y,L)}function o(t,n,l,f,m,b,y,L){gr(t,n,1,m,8,b,y,L),gr(l,f,1,m,8,b,y,L)}function g(t,n,l,f,m,b,y,L){mr(t,n+4*m,m,1,8,b,y,L),mr(l,f+4*m,m,1,8,b,y,L)}function S(t,n,l,f,m,b,y,L){mr(t,n+4,1,m,8,b,y,L),mr(l,f+4,1,m,8,b,y,L)}function E(){this.ba=new ue,this.ec=[],this.cc=[],this.Mc=[],this.Dc=this.Nc=this.dc=this.fc=0,this.Oa=new be,this.memory=0,this.Ib="OutputFunc",this.Jb="OutputAlphaFunc",this.Nd="OutputRowFunc"}function W(){this.data=[],this.offset=this.kd=this.ha=this.w=0,this.na=[],this.xa=this.gb=this.Ja=this.Sa=this.P=0}function rt(){this.nc=this.Ea=this.b=this.hc=0,this.K=[],this.w=0}function dt(){this.ua=0,this.Wa=new ae,this.vb=new ae,this.md=this.xc=this.wc=0,this.vc=[],this.Wb=0,this.Ya=new at,this.yc=new R}function jt(){this.xb=this.a=0,this.l=new pi,this.ca=new ue,this.V=[],this.Ba=0,this.Ta=[],this.Ua=0,this.m=new C,this.Pb=0,this.wd=new C,this.Ma=this.$=this.C=this.i=this.c=this.xd=0,this.s=new dt,this.ab=0,this.gc=d(4,rt),this.Oc=0}function It(){this.Lc=this.Z=this.$a=this.i=this.c=0,this.l=new pi,this.ic=0,this.ca=[],this.tb=0,this.qd=null,this.rd=0}function Kt(t,n,l,f,m,b,y){for(t=t==null?0:t[n+0],n=0;n<y;++n)m[b+n]=t+l[f+n]&255,t=m[b+n]}function te(t,n,l,f,m,b,y){var L;if(t==null)Kt(null,null,l,f,m,b,y);else for(L=0;L<y;++L)m[b+L]=t[n+L]+l[f+L]&255}function de(t,n,l,f,m,b,y){if(t==null)Kt(null,null,l,f,m,b,y);else{var L,N=t[n+0],P=N,q=N;for(L=0;L<y;++L)P=q+(N=t[n+L])-P,q=l[f+L]+(-256&P?0>P?0:255:P)&255,P=N,m[b+L]=q}}function Je(t,n,l,f){var m=n.width,b=n.o;if(e(t!=null&&n!=null),0>l||0>=f||l+f>b)return null;if(!t.Cc){if(t.ga==null){var y;if(t.ga=new It,(y=t.ga==null)||(y=n.width*n.o,e(t.Gb.length==0),t.Gb=u(y),t.Uc=0,t.Gb==null?y=0:(t.mb=t.Gb,t.nb=t.Uc,t.rc=null,y=1),y=!y),!y){y=t.ga;var L=t.Fa,N=t.P,P=t.qc,q=t.mb,X=t.nb,k=N+1,U=P-1,G=y.l;if(e(L!=null&&q!=null&&n!=null),Or[0]=null,Or[1]=Kt,Or[2]=te,Or[3]=de,y.ca=q,y.tb=X,y.c=n.width,y.i=n.height,e(0<y.c&&0<y.i),1>=P)n=0;else if(y.$a=3&L[N+0],y.Z=L[N+0]>>2&3,y.Lc=L[N+0]>>4&3,N=L[N+0]>>6&3,0>y.$a||1<y.$a||4<=y.Z||1<y.Lc||N)n=0;else if(G.put=Gt,G.ac=Kn,G.bc=cr,G.ma=y,G.width=n.width,G.height=n.height,G.Da=n.Da,G.v=n.v,G.va=n.va,G.j=n.j,G.o=n.o,y.$a)t:{e(y.$a==1),n=Hr();e:for(;;){if(n==null){n=0;break t}if(e(y!=null),y.mc=n,n.c=y.c,n.i=y.i,n.l=y.l,n.l.ma=y,n.l.width=y.c,n.l.height=y.i,n.a=0,ct(n.m,L,k,U),!$n(y.c,y.i,1,n,null)||(n.ab==1&&n.gc[0].hc==3&&Tn(n.s)?(y.ic=1,L=n.c*n.i,n.Ta=null,n.Ua=0,n.V=u(L),n.Ba=0,n.V==null?(n.a=1,n=0):n=1):(y.ic=0,n=Wr(n,y.c)),!n))break e;n=1;break t}y.mc=null,n=0}else n=U>=y.c*y.i;y=!n}if(y)return null;t.ga.Lc!=1?t.Ga=0:f=b-l}e(t.ga!=null),e(l+f<=b);t:{if(n=(L=t.ga).c,b=L.l.o,L.$a==0){if(k=t.rc,U=t.Vc,G=t.Fa,N=t.P+1+l*n,P=t.mb,q=t.nb+l*n,e(N<=t.P+t.qc),L.Z!=0)for(e(Or[L.Z]!=null),y=0;y<f;++y)Or[L.Z](k,U,G,N,P,q,n),k=P,U=q,q+=n,N+=n;else for(y=0;y<f;++y)a(P,q,G,N,n),k=P,U=q,q+=n,N+=n;t.rc=k,t.Vc=U}else{if(e(L.mc!=null),n=l+f,e((y=L.mc)!=null),e(n<=y.i),y.C>=n)n=1;else if(L.ic||Me(),L.ic){L=y.V,k=y.Ba,U=y.c;var it=y.i,J=(G=1,N=y.$/U,P=y.$%U,q=y.m,X=y.s,y.$),ot=U*it,ut=U*n,vt=X.wc,pt=J<ut?nn(X,P,N):null;e(J<=ot),e(n<=it),e(Tn(X));e:for(;;){for(;!q.h&&J<ut;){if(P&vt||(pt=nn(X,P,N)),e(pt!=null),K(q),256>(it=Ee(pt.G[0],pt.H[0],q)))L[k+J]=it,++J,++P>=U&&(P=0,++N<=n&&!(N%16)&&zn(y,N));else{if(!(280>it)){G=0;break e}it=On(it-256,q);var Mt,Pt=Ee(pt.G[4],pt.H[4],q);if(K(q),!(J>=(Pt=Bn(U,Pt=On(Pt,q)))&&ot-J>=it)){G=0;break e}for(Mt=0;Mt<it;++Mt)L[k+J+Mt]=L[k+J+Mt-Pt];for(J+=it,P+=it;P>=U;)P-=U,++N<=n&&!(N%16)&&zn(y,N);J<ut&&P&vt&&(pt=nn(X,P,N))}e(q.h==H(q))}zn(y,N>n?n:N);break e}!G||q.h&&J<ot?(G=0,y.a=q.h?5:3):y.$=J,n=G}else n=Un(y,y.V,y.Ba,y.c,y.i,n,hi);if(!n){f=0;break t}}l+f>=b&&(t.Cc=1),f=1}if(!f)return null;if(t.Cc&&((f=t.ga)!=null&&(f.mc=null),t.ga=null,0<t.Ga))return alert("todo:WebPDequantizeLevels"),null}return t.nb+l*m}function Ne(t,n,l,f,m,b){for(;0<m--;){var y,L=t,N=n+(l?1:0),P=t,q=n+(l?0:3);for(y=0;y<f;++y){var X=P[q+4*y];X!=255&&(X*=32897,L[N+4*y+0]=L[N+4*y+0]*X>>23,L[N+4*y+1]=L[N+4*y+1]*X>>23,L[N+4*y+2]=L[N+4*y+2]*X>>23)}n+=b}}function Le(t,n,l,f,m){for(;0<f--;){var b;for(b=0;b<l;++b){var y=t[n+2*b+0],L=15&(P=t[n+2*b+1]),N=4369*L,P=(240&P|P>>4)*N>>16;t[n+2*b+0]=(240&y|y>>4)*N>>16&240|(15&y|y<<4)*N>>16>>4&15,t[n+2*b+1]=240&P|L}n+=m}}function Ie(t,n,l,f,m,b,y,L){var N,P,q=255;for(P=0;P<m;++P){for(N=0;N<f;++N){var X=t[n+N];b[y+4*N]=X,q&=X}n+=l,y+=L}return q!=255}function Be(t,n,l,f,m){var b;for(b=0;b<m;++b)l[f+b]=t[n+b]>>8}function Me(){aa=Ne,rs=Le,is=Ie,as=Be}function ln(t,n,l){Y[t]=function(f,m,b,y,L,N,P,q,X,k,U,G,it,J,ot,ut,vt){var pt,Mt=vt-1>>1,Pt=L[N+0]|P[q+0]<<16,re=X[k+0]|U[G+0]<<16;e(f!=null);var Ct=3*Pt+re+131074>>2;for(n(f[m+0],255&Ct,Ct>>16,it,J),b!=null&&(Ct=3*re+Pt+131074>>2,n(b[y+0],255&Ct,Ct>>16,ot,ut)),pt=1;pt<=Mt;++pt){var fe=L[N+pt]|P[q+pt]<<16,Ze=X[k+pt]|U[G+pt]<<16,ie=Pt+fe+re+Ze+524296,Ot=ie+2*(fe+re)>>3;Ct=Ot+Pt>>1,Pt=(ie=ie+2*(Pt+Ze)>>3)+fe>>1,n(f[m+2*pt-1],255&Ct,Ct>>16,it,J+(2*pt-1)*l),n(f[m+2*pt-0],255&Pt,Pt>>16,it,J+(2*pt-0)*l),b!=null&&(Ct=ie+re>>1,Pt=Ot+Ze>>1,n(b[y+2*pt-1],255&Ct,Ct>>16,ot,ut+(2*pt-1)*l),n(b[y+2*pt+0],255&Pt,Pt>>16,ot,ut+(2*pt+0)*l)),Pt=fe,re=Ze}1&vt||(Ct=3*Pt+re+131074>>2,n(f[m+vt-1],255&Ct,Ct>>16,it,J+(vt-1)*l),b!=null&&(Ct=3*re+Pt+131074>>2,n(b[y+vt-1],255&Ct,Ct>>16,ot,ut+(vt-1)*l)))}}function vr(){Dn[Ia]=Iu,Dn[ja]=ms,Dn[hs]=ju,Dn[Ca]=vs,Dn[Oa]=bs,Dn[Ao]=ys,Dn[fs]=Cu,Dn[xo]=ms,Dn[So]=vs,Dn[Ba]=bs,Dn[_o]=ys}function $i(t){return t&-16384?0>t?0:255:t>>Ou}function Jr(t,n){return $i((19077*t>>8)+(26149*n>>8)-14234)}function Xr(t,n,l){return $i((19077*t>>8)-(6419*n>>8)-(13320*l>>8)+8708)}function Pr(t,n){return $i((19077*t>>8)+(33050*n>>8)-17685)}function Kr(t,n,l,f,m){f[m+0]=Jr(t,l),f[m+1]=Xr(t,n,l),f[m+2]=Pr(t,n)}function Ai(t,n,l,f,m){f[m+0]=Pr(t,n),f[m+1]=Xr(t,n,l),f[m+2]=Jr(t,l)}function xi(t,n,l,f,m){var b=Xr(t,n,l);n=b<<3&224|Pr(t,n)>>3,f[m+0]=248&Jr(t,l)|b>>5,f[m+1]=n}function cn(t,n,l,f,m){var b=240&Pr(t,n)|15;f[m+0]=240&Jr(t,l)|Xr(t,n,l)>>4,f[m+1]=b}function Zr(t,n,l,f,m){f[m+0]=255,Kr(t,n,l,f,m+1)}function $r(t,n,l,f,m){Ai(t,n,l,f,m),f[m+3]=255}function Qi(t,n,l,f,m){Kr(t,n,l,f,m),f[m+3]=255}function rr(t,n,l){Y[t]=function(f,m,b,y,L,N,P,q,X){for(var k=q+(-2&X)*l;q!=k;)n(f[m+0],b[y+0],L[N+0],P,q),n(f[m+1],b[y+0],L[N+0],P,q+l),m+=2,++y,++N,q+=2*l;1&X&&n(f[m+0],b[y+0],L[N+0],P,q)}}function vn(t,n,l){return l==0?t==0?n==0?6:5:n==0?4:0:l}function _a(t,n,l,f,m){switch(t>>>30){case 3:br(n,l,f,m,0);break;case 2:jr(n,l,f,m);break;case 1:hn(n,l,f,m)}}function Si(t,n){var l,f,m=n.M,b=n.Nb,y=t.oc,L=t.pc+40,N=t.oc,P=t.pc+584,q=t.oc,X=t.pc+600;for(l=0;16>l;++l)y[L+32*l-1]=129;for(l=0;8>l;++l)N[P+32*l-1]=129,q[X+32*l-1]=129;for(0<m?y[L-1-32]=N[P-1-32]=q[X-1-32]=129:(s(y,L-32-1,127,21),s(N,P-32-1,127,9),s(q,X-32-1,127,9)),f=0;f<t.za;++f){var k=n.ya[n.aa+f];if(0<f){for(l=-1;16>l;++l)a(y,L+32*l-4,y,L+32*l+12,4);for(l=-1;8>l;++l)a(N,P+32*l-4,N,P+32*l+4,4),a(q,X+32*l-4,q,X+32*l+4,4)}var U=t.Gd,G=t.Hd+f,it=k.ad,J=k.Hc;if(0<m&&(a(y,L-32,U[G].y,0,16),a(N,P-32,U[G].f,0,8),a(q,X-32,U[G].ea,0,8)),k.Za){var ot=y,ut=L-32+16;for(0<m&&(f>=t.za-1?s(ot,ut,U[G].y[15],4):a(ot,ut,U[G+1].y,0,4)),l=0;4>l;l++)ot[ut+128+l]=ot[ut+256+l]=ot[ut+384+l]=ot[ut+0+l];for(l=0;16>l;++l,J<<=2)ot=y,ut=L+Ls[l],Wn[k.Ob[l]](ot,ut),_a(J,it,16*+l,ot,ut)}else if(ot=vn(f,m,k.Ob[0]),Cr[ot](y,L),J!=0)for(l=0;16>l;++l,J<<=2)_a(J,it,16*+l,y,L+Ls[l]);for(l=k.Gc,ot=vn(f,m,k.Dd),wr[ot](N,P),wr[ot](q,X),J=it,ot=N,ut=P,255&(k=0|l)&&(170&k?Ii(J,256,ot,ut):ar(J,256,ot,ut)),k=q,J=X,255&(l>>=8)&&(170&l?Ii(it,320,k,J):ar(it,320,k,J)),m<t.Ub-1&&(a(U[G].y,0,y,L+480,16),a(U[G].f,0,N,P+224,8),a(U[G].ea,0,q,X+224,8)),l=8*b*t.B,U=t.sa,G=t.ta+16*f+16*b*t.R,it=t.qa,k=t.ra+8*f+l,J=t.Ha,ot=t.Ia+8*f+l,l=0;16>l;++l)a(U,G+l*t.R,y,L+32*l,16);for(l=0;8>l;++l)a(it,k+l*t.B,N,P+32*l,8),a(J,ot+l*t.B,q,X+32*l,8)}}function Pa(t,n,l,f,m,b,y,L,N){var P=[0],q=[0],X=0,k=N!=null?N.kd:0,U=N??new W;if(t==null||12>l)return 7;U.data=t,U.w=n,U.ha=l,n=[n],l=[l],U.gb=[U.gb];t:{var G=n,it=l,J=U.gb;if(e(t!=null),e(it!=null),e(J!=null),J[0]=0,12<=it[0]&&!i(t,G[0],"RIFF")){if(i(t,G[0]+8,"WEBP")){J=3;break t}var ot=zt(t,G[0]+4);if(12>ot||4294967286<ot){J=3;break t}if(k&&ot>it[0]-8){J=7;break t}J[0]=ot,G[0]+=12,it[0]-=12}J=0}if(J!=0)return J;for(ot=0<U.gb[0],l=l[0];;){t:{var ut=t;it=n,J=l;var vt=P,pt=q,Mt=G=[0];if((Ct=X=[X])[0]=0,8>J[0])J=7;else{if(!i(ut,it[0],"VP8X")){if(zt(ut,it[0]+4)!=10){J=3;break t}if(18>J[0]){J=7;break t}var Pt=zt(ut,it[0]+8),re=1+_t(ut,it[0]+12);if(2147483648<=re*(ut=1+_t(ut,it[0]+15))){J=3;break t}Mt!=null&&(Mt[0]=Pt),vt!=null&&(vt[0]=re),pt!=null&&(pt[0]=ut),it[0]+=18,J[0]-=18,Ct[0]=1}J=0}}if(X=X[0],G=G[0],J!=0)return J;if(it=!!(2&G),!ot&&X)return 3;if(b!=null&&(b[0]=!!(16&G)),y!=null&&(y[0]=it),L!=null&&(L[0]=0),y=P[0],G=q[0],X&&it&&N==null){J=0;break}if(4>l){J=7;break}if(ot&&X||!ot&&!X&&!i(t,n[0],"ALPH")){l=[l],U.na=[U.na],U.P=[U.P],U.Sa=[U.Sa];t:{Pt=t,J=n,ot=l;var Ct=U.gb;vt=U.na,pt=U.P,Mt=U.Sa,re=22,e(Pt!=null),e(ot!=null),ut=J[0];var fe=ot[0];for(e(vt!=null),e(Mt!=null),vt[0]=null,pt[0]=null,Mt[0]=0;;){if(J[0]=ut,ot[0]=fe,8>fe){J=7;break t}var Ze=zt(Pt,ut+4);if(4294967286<Ze){J=3;break t}var ie=8+Ze+1&-2;if(re+=ie,0<Ct&&re>Ct){J=3;break t}if(!i(Pt,ut,"VP8 ")||!i(Pt,ut,"VP8L")){J=0;break t}if(fe[0]<ie){J=7;break t}i(Pt,ut,"ALPH")||(vt[0]=Pt,pt[0]=ut+8,Mt[0]=Ze),ut+=ie,fe-=ie}}if(l=l[0],U.na=U.na[0],U.P=U.P[0],U.Sa=U.Sa[0],J!=0)break}l=[l],U.Ja=[U.Ja],U.xa=[U.xa];t:if(Ct=t,J=n,ot=l,vt=U.gb[0],pt=U.Ja,Mt=U.xa,Pt=J[0],ut=!i(Ct,Pt,"VP8 "),re=!i(Ct,Pt,"VP8L"),e(Ct!=null),e(ot!=null),e(pt!=null),e(Mt!=null),8>ot[0])J=7;else{if(ut||re){if(Ct=zt(Ct,Pt+4),12<=vt&&Ct>vt-12){J=3;break t}if(k&&Ct>ot[0]-8){J=7;break t}pt[0]=Ct,J[0]+=8,ot[0]-=8,Mt[0]=re}else Mt[0]=5<=ot[0]&&Ct[Pt+0]==47&&!(Ct[Pt+4]>>5),pt[0]=ot[0];J=0}if(l=l[0],U.Ja=U.Ja[0],U.xa=U.xa[0],n=n[0],J!=0)break;if(4294967286<U.Ja)return 3;if(L==null||it||(L[0]=U.xa?2:1),y=[y],G=[G],U.xa){if(5>l){J=7;break}L=y,k=G,it=b,t==null||5>l?t=0:5<=l&&t[n+0]==47&&!(t[n+4]>>5)?(ot=[0],Ct=[0],vt=[0],ct(pt=new C,t,n,l),hr(pt,ot,Ct,vt)?(L!=null&&(L[0]=ot[0]),k!=null&&(k[0]=Ct[0]),it!=null&&(it[0]=vt[0]),t=1):t=0):t=0}else{if(10>l){J=7;break}L=G,t==null||10>l||!va(t,n+3,l-3)?t=0:(k=t[n+0]|t[n+1]<<8|t[n+2]<<16,it=16383&(t[n+7]<<8|t[n+6]),t=16383&(t[n+9]<<8|t[n+8]),1&k||3<(k>>1&7)||!(k>>4&1)||k>>5>=U.Ja||!it||!t?t=0:(y&&(y[0]=it),L&&(L[0]=t),t=1))}if(!t||(y=y[0],G=G[0],X&&(P[0]!=y||q[0]!=G)))return 3;N!=null&&(N[0]=U,N.offset=n-N.w,e(4294967286>n-N.w),e(N.offset==N.ha-l));break}return J==0||J==7&&X&&N==null?(b!=null&&(b[0]|=U.na!=null&&0<U.na.length),f!=null&&(f[0]=y),m!=null&&(m[0]=G),0):J}function qn(t,n,l){var f=n.width,m=n.height,b=0,y=0,L=f,N=m;if(n.Da=t!=null&&0<t.Da,n.Da&&(L=t.cd,N=t.bd,b=t.v,y=t.j,11>l||(b&=-2,y&=-2),0>b||0>y||0>=L||0>=N||b+L>f||y+N>m))return 0;if(n.v=b,n.j=y,n.va=b+L,n.o=y+N,n.U=L,n.T=N,n.da=t!=null&&0<t.da,n.da){if(!Ut(L,N,l=[t.ib],b=[t.hb]))return 0;n.ib=l[0],n.hb=b[0]}return n.ob=t!=null&&t.ob,n.Kb=t==null||!t.Sd,n.da&&(n.ob=n.ib<3*f/4&&n.hb<3*m/4,n.Kb=0),1}function Qr(t){if(t==null)return 2;if(11>t.S){var n=t.f.RGBA;n.fb+=(t.height-1)*n.A,n.A=-n.A}else n=t.f.kb,t=t.height,n.O+=(t-1)*n.fa,n.fa=-n.fa,n.N+=(t-1>>1)*n.Ab,n.Ab=-n.Ab,n.W+=(t-1>>1)*n.Db,n.Db=-n.Db,n.F!=null&&(n.J+=(t-1)*n.lb,n.lb=-n.lb);return 0}function ta(t,n,l,f){if(f==null||0>=t||0>=n)return 2;if(l!=null){if(l.Da){var m=l.cd,b=l.bd,y=-2&l.v,L=-2&l.j;if(0>y||0>L||0>=m||0>=b||y+m>t||L+b>n)return 2;t=m,n=b}if(l.da){if(!Ut(t,n,m=[l.ib],b=[l.hb]))return 2;t=m[0],n=b[0]}}f.width=t,f.height=n;t:{var N=f.width,P=f.height;if(t=f.S,0>=N||0>=P||!(t>=Ia&&13>t))t=2;else{if(0>=f.Rd&&f.sd==null){y=b=m=n=0;var q=(L=N*Ns[t])*P;if(11>t||(b=(P+1)/2*(n=(N+1)/2),t==12&&(y=(m=N)*P)),(P=u(q+2*b+y))==null){t=1;break t}f.sd=P,11>t?((N=f.f.RGBA).eb=P,N.fb=0,N.A=L,N.size=q):((N=f.f.kb).y=P,N.O=0,N.fa=L,N.Fd=q,N.f=P,N.N=0+q,N.Ab=n,N.Cd=b,N.ea=P,N.W=0+q+b,N.Db=n,N.Ed=b,t==12&&(N.F=P,N.J=0+q+2*b),N.Tc=y,N.lb=m)}if(n=1,m=f.S,b=f.width,y=f.height,m>=Ia&&13>m)if(11>m)t=f.f.RGBA,n&=(L=Math.abs(t.A))*(y-1)+b<=t.size,n&=L>=b*Ns[m],n&=t.eb!=null;else{t=f.f.kb,L=(b+1)/2,q=(y+1)/2,N=Math.abs(t.fa),P=Math.abs(t.Ab);var X=Math.abs(t.Db),k=Math.abs(t.lb),U=k*(y-1)+b;n&=N*(y-1)+b<=t.Fd,n&=P*(q-1)+L<=t.Cd,n=(n&=X*(q-1)+L<=t.Ed)&N>=b&P>=L&X>=L,n&=t.y!=null,n&=t.f!=null,n&=t.ea!=null,m==12&&(n&=k>=b,n&=U<=t.Tc,n&=t.F!=null)}else n=0;t=n?0:2}}return t!=0||l!=null&&l.fd&&(t=Qr(f)),t}var _i=64,ti=[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],ea=24,bn=32,Nn=8,Pi=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];kt("Predictor0","PredictorAdd0"),Y.Predictor0=function(){return 4278190080},Y.Predictor1=function(t){return t},Y.Predictor2=function(t,n,l){return n[l+0]},Y.Predictor3=function(t,n,l){return n[l+1]},Y.Predictor4=function(t,n,l){return n[l-1]},Y.Predictor5=function(t,n,l){return Rt(Rt(t,n[l+1]),n[l+0])},Y.Predictor6=function(t,n,l){return Rt(t,n[l-1])},Y.Predictor7=function(t,n,l){return Rt(t,n[l+0])},Y.Predictor8=function(t,n,l){return Rt(n[l-1],n[l+0])},Y.Predictor9=function(t,n,l){return Rt(n[l+0],n[l+1])},Y.Predictor10=function(t,n,l){return Rt(Rt(t,n[l-1]),Rt(n[l+0],n[l+1]))},Y.Predictor11=function(t,n,l){var f=n[l+0];return 0>=$t(f>>24&255,t>>24&255,(n=n[l-1])>>24&255)+$t(f>>16&255,t>>16&255,n>>16&255)+$t(f>>8&255,t>>8&255,n>>8&255)+$t(255&f,255&t,255&n)?f:t},Y.Predictor12=function(t,n,l){var f=n[l+0];return(ve((t>>24&255)+(f>>24&255)-((n=n[l-1])>>24&255))<<24|ve((t>>16&255)+(f>>16&255)-(n>>16&255))<<16|ve((t>>8&255)+(f>>8&255)-(n>>8&255))<<8|ve((255&t)+(255&f)-(255&n)))>>>0},Y.Predictor13=function(t,n,l){var f=n[l-1];return(le((t=Rt(t,n[l+0]))>>24&255,f>>24&255)<<24|le(t>>16&255,f>>16&255)<<16|le(t>>8&255,f>>8&255)<<8|le(255&t,255&f))>>>0};var kr=Y.PredictorAdd0;Y.PredictorAdd1=he,kt("Predictor2","PredictorAdd2"),kt("Predictor3","PredictorAdd3"),kt("Predictor4","PredictorAdd4"),kt("Predictor5","PredictorAdd5"),kt("Predictor6","PredictorAdd6"),kt("Predictor7","PredictorAdd7"),kt("Predictor8","PredictorAdd8"),kt("Predictor9","PredictorAdd9"),kt("Predictor10","PredictorAdd10"),kt("Predictor11","PredictorAdd11"),kt("Predictor12","PredictorAdd12"),kt("Predictor13","PredictorAdd13");var Fr=Y.PredictorAdd2;Et("ColorIndexInverseTransform","MapARGB","32b",function(t){return t>>8&255},function(t){return t}),Et("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(t){return t},function(t){return t>>8&255});var ki,ei=Y.ColorIndexInverseTransform,Xe=Y.MapARGB,Lo=Y.VP8LColorIndexInverseTransformAlpha,ir=Y.MapAlpha,Hn=Y.VP8LPredictorsAdd=[];Hn.length=16,(Y.VP8LPredictors=[]).length=16,(Y.VP8LPredictorsAdd_C=[]).length=16,(Y.VP8LPredictors_C=[]).length=16;var ni,na,ra,Fi,ri,ii,Ir,br,jr,Ii,hn,ar,Pe,ke,ze,Ke,yr,ia,ji,ka,Qo,ts,es,ns,aa,rs,is,as,os=u(511),ss=u(2041),us=u(225),ls=u(767),cs=0,No=ss,Fa=us,Pn=ls,Rn=os,Ia=0,ja=1,hs=2,Ca=3,Oa=4,Ao=5,fs=6,xo=7,So=8,Ba=9,_o=10,mu=[2,3,7],vu=[3,3,11],ds=[280,256,256,256,40],bu=[0,1,1,1,0],yu=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],wu=[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,3
vendor: 4,386 bytes, line 41
416,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],Lu=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],Nu=8,Po=[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],ko=[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],oa=null,Au=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],xu=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],ps=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],Su=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,25
415,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],_u=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,
411,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],Pu=[[[[255,255,255,255,255,255,255,255,255,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: 17,814 bytes, line 41
415,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],ku=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],Cr=[],Wn=[],wr=[],Fu=1,gs=2,Or=[],Dn=[];ln("UpsampleRgbLinePair",Kr,3),ln("UpsampleBgrLinePair",Ai,3),ln("UpsampleRgbaLinePair",Qi,4),ln("UpsampleBgraLinePair",$r,4),ln("UpsampleArgbLinePair",Zr,4),ln("UpsampleRgba4444LinePair",cn,2),ln("UpsampleRgb565LinePair",xi,2);var Iu=Y.UpsampleRgbLinePair,ju=Y.UpsampleBgrLinePair,ms=Y.UpsampleRgbaLinePair,vs=Y.UpsampleBgraLinePair,bs=Y.UpsampleArgbLinePair,ys=Y.UpsampleRgba4444LinePair,Cu=Y.UpsampleRgb565LinePair,Ma=16,Ea=1<<Ma-1,sa=-227,Fo=482,Ou=6,ws=0,Bu=u(256),Mu=u(256),Eu=u(256),qu=u(256),Ru=u(Fo-sa),Du=u(Fo-sa);rr("YuvToRgbRow",Kr,3),rr("YuvToBgrRow",Ai,3),rr("YuvToRgbaRow",Qi,4),rr("YuvToBgraRow",$r,4),rr("YuvToArgbRow",Zr,4),rr("YuvToRgba4444Row",cn,2),rr("YuvToRgb565Row",xi,2);var Ls=[0,4,8,12,128,132,136,140,256,260,264,268,384,388,392,396],qa=[0,2,8],Tu=[8,7,6,4,4,2,2,2,1,1,1,1],zu=1;this.WebPDecodeRGBA=function(t,n,l,f,m){var b=ja,y=new E,L=new ue;y.ba=L,L.S=b,L.width=[L.width],L.height=[L.height];var N=L.width,P=L.height,q=new Vt;if(q==null||t==null)var X=2;else e(q!=null),X=Pa(t,n,l,q.width,q.height,q.Pd,q.Qd,q.format,null);if(X!=0?N=0:(N!=null&&(N[0]=q.width[0]),P!=null&&(P[0]=q.height[0]),N=1),N){L.width=L.width[0],L.height=L.height[0],f!=null&&(f[0]=L.width),m!=null&&(m[0]=L.height);t:{if(f=new pi,(m=new W).data=t,m.w=n,m.ha=l,m.kd=1,n=[0],e(m!=null),((t=Pa(m.data,m.w,m.ha,null,null,null,n,null,m))==0||t==7)&&n[0]&&(t=4),(n=t)==0){if(e(y!=null),f.data=m.data,f.w=m.w+m.offset,f.ha=m.ha-m.offset,f.put=Gt,f.ac=Kn,f.bc=cr,f.ma=y,m.xa){if((t=Hr())==null){y=1;break t}if((function(k,U){var G=[0],it=[0],J=[0];e:for(;;){if(k==null)return 0;if(U==null)return k.a=2,0;if(k.l=U,k.a=0,ct(k.m,U.data,U.w,U.ha),!hr(k.m,G,it,J)){k.a=3;break e}if(k.xb=gs,U.width=G[0],U.height=it[0],!$n(G[0],it[0],1,k,null))break e;return 1}return e(k.a!=0),0})(t,f)){if(f=(n=ta(f.width,f.height,y.Oa,y.ba))==0){e:{f=t;n:for(;;){if(f==null){f=0;break e}if(e(f.s.yc!=null),e(f.s.Ya!=null),e(0<f.s.Wb),e((l=f.l)!=null),e((m=l.ma)!=null),f.xb!=0){if(f.ca=m.ba,f.tb=m.tb,e(f.ca!=null),!qn(m.Oa,l,Ca)){f.a=2;break n}if(!Wr(f,l.width)||l.da)break n;if((l.da||Yt(f.ca.S))&&Me(),11>f.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),f.ca.f.kb.F!=null&&Me()),f.Pb&&0<f.s.ua&&f.s.vb.X==null&&!x(f.s.vb,f.s.Wa.Xa)){f.a=1;break n}f.xb=0}if(!Un(f,f.V,f.Ba,f.c,f.i,l.o,Ar))break n;m.Dc=f.Ma,f=1;break e}e(f.a!=0),f=0}f=!f}f&&(n=t.a)}else n=t.a}else{if((t=new ro)==null){y=1;break t}if(t.Fa=m.na,t.P=m.P,t.qc=m.Sa,tr(t,f)){if((n=ta(f.width,f.height,y.Oa,y.ba))==0){if(t.Aa=0,l=y.Oa,e((m=t)!=null),l!=null){if(0<(N=0>(N=l.Md)?0:100<N?255:255*N/100)){for(P=q=0;4>P;++P)12>(X=m.pb[P]).lc&&(X.ia=N*Tu[0>X.lc?0:X.lc]>>3),q|=X.ia;q&&(alert("todo:VP8InitRandom"),m.ia=1)}m.Ga=l.Id,100<m.Ga?m.Ga=100:0>m.Ga&&(m.Ga=0)}(function(k,U){if(k==null)return 0;if(U==null)return Ye(k,2,"NULL VP8Io parameter in VP8Decode().");if(!k.cb&&!tr(k,U))return 0;if(e(k.cb),U.ac==null||U.ac(U)){U.ob&&(k.L=0);var G=qa[k.L];if(k.L==2?(k.yb=0,k.zb=0):(k.yb=U.v-G>>4,k.zb=U.j-G>>4,0>k.yb&&(k.yb=0),0>k.zb&&(k.zb=0)),k.Va=U.o+15+G>>4,k.Hb=U.va+15+G>>4,k.Hb>k.za&&(k.Hb=k.za),k.Va>k.Ub&&(k.Va=k.Ub),0<k.L){var it=k.ed;for(G=0;4>G;++G){var J;if(k.Qa.Cb){var ot=k.Qa.Lb[G];k.Qa.Fb||(ot+=it.Tb)}else ot=it.Tb;for(J=0;1>=J;++J){var ut=k.gd[G][J],vt=ot;if(it.Pc&&(vt+=it.vd[0],J&&(vt+=it.od[0])),0<(vt=0>vt?0:63<vt?63:vt)){var pt=vt;0<it.wb&&(pt=4<it.wb?pt>>2:pt>>1)>9-it.wb&&(pt=9-it.wb),1>pt&&(pt=1),ut.dd=pt,ut.tc=2*vt+pt,ut.ld=40<=vt?2:15<=vt?1:0}else ut.tc=0;ut.La=J}}}G=0}else Ye(k,6,"Frame setup failed"),G=k.a;if(G=G==0){if(G){k.$c=0,0<k.Aa||(k.Ic=zu);e:{G=k.Ic,it=4*(pt=k.za);var Mt=32*pt,Pt=pt+1,re=0<k.L?pt*(0<k.Aa?2:1):0,Ct=(k.Aa==2?2:1)*pt;if((ut=it+832+(J=3*(16*G+qa[k.L])/2*Mt)+(ot=k.Fa!=null&&0<k.Fa.length?k.Kc.c*k.Kc.i:0))!=ut)G=0;else{if(ut>k.Vb){if(k.Vb=0,k.Ec=u(ut),k.Fc=0,k.Ec==null){G=Ye(k,1,"no memory during frame initialization.");break e}k.Vb=ut}ut=k.Ec,vt=k.Fc,k.Ac=ut,k.Bc=vt,vt+=it,k.Gd=d(Mt,ga),k.Hd=0,k.rb=d(Pt+1,Hi),k.sb=1,k.wa=re?d(re,En):null,k.Y=0,k.D.Nb=0,k.D.wa=k.wa,k.D.Y=k.Y,0<k.Aa&&(k.D.Y+=pt),e(!0),k.oc=ut,k.pc=vt,vt+=832,k.ya=d(Ct,Wi),k.aa=0,k.D.ya=k.ya,k.D.aa=k.aa,k.Aa==2&&(k.D.aa+=pt),k.R=16*pt,k.B=8*pt,pt=(Mt=qa[k.L])*k.R,Mt=Mt/2*k.B,k.sa=ut,k.ta=vt+pt,k.qa=k.sa,k.ra=k.ta+16*G*k.R+Mt,k.Ha=k.qa,k.Ia=k.ra+8*G*k.B+Mt,k.$c=0,vt+=J,k.mb=ot?ut:null,k.nb=ot?vt:null,e(vt+ot<=k.Fc+k.Vb),Vi(k),s(k.Ac,k.Bc,0,it),G=1}}if(G){if(U.ka=0,U.y=k.sa,U.O=k.ta,U.f=k.qa,U.N=k.ra,U.ea=k.Ha,U.Vd=k.Ia,U.fa=k.R,U.Rc=k.B,U.F=null,U.J=0,!cs){for(G=-255;255>=G;++G)os[255+G]=0>G?-G:G;for(G=-1020;1020>=G;++G)ss[1020+G]=-128>G?-128:127<G?127:G;for(G=-112;112>=G;++G)us[112+G]=-16>G?-16:15<G?15:G;for(G=-255;510>=G;++G)ls[255+G]=0>G?0:255<G?255:G;cs=1}Ir=ya,br=io,Ii=ao,hn=oo,ar=er,jr=ba,Pe=Na,ke=Aa,ze=Sa,Ke=o,yr=xa,ia=Yr,ji=g,ka=S,Qo=Li,ts=Zi,es=Ni,ns=La,Wn[0]=po,Wn[1]=bi,Wn[2]=ho,Wn[3]=fo,Wn[4]=go,Wn[5]=dr,Wn[6]=mo,Wn[7]=pr,Wn[8]=bo,Wn[9]=vo,Cr[0]=wa,Cr[1]=so,Cr[2]=uo,Cr[3]=lo,Cr[4]=Sr,Cr[5]=co,Cr[6]=Vr,wr[0]=yo,wr[1]=Gi,wr[2]=yi,wr[3]=Yi,wr[4]=wo,wr[5]=wi,wr[6]=Ji,G=1}else G=0}G&&(G=(function(fe,Ze){for(fe.M=0;fe.M<fe.Va;++fe.M){var ie,Ot=fe.Jc[fe.M&fe.Xb],Nt=fe.m,Ue=fe;for(ie=0;ie<Ue.za;++ie){var ee=Nt,pe=Ue,je=pe.Ac,an=pe.Bc+4*ie,yn=pe.zc,qe=pe.ya[pe.aa+ie];if(pe.Qa.Bb?qe.$b=ht(ee,pe.Pa.jb[0])?2+ht(ee,pe.Pa.jb[2]):ht(ee,pe.Pa.jb[1]):qe.$b=0,pe.kc&&(qe.Ad=ht(ee,pe.Bd)),qe.Za=!ht(ee,145)+0,qe.Za){var fn=qe.Ob,wn=0;for(pe=0;4>pe;++pe){var $e,me=yn[0+pe];for($e=0;4>$e;++$e){me=_u[je[an+$e]][me];for(var ye=ps[ht(ee,me[0])];0<ye;)ye=ps[2*ye+ht(ee,me[ye])];me=-ye,je[an+$e]=me}a(fn,wn,je,an,4),wn+=4,yn[0+pe]=me}}else me=ht(ee,156)?ht(ee,128)?1:3:ht(ee,163)?2:0,qe.Ob[0]=me,s(je,an,me,4),s(yn,0,me,4);qe.Dd=ht(ee,142)?ht(ee,114)?ht(ee,183)?1:3:2:0}if(Ue.m.Ka)return Ye(fe,7,"Premature end-of-partition0 encountered.");for(;fe.ja<fe.za;++fe.ja){if(Ue=Ot,ee=(Nt=fe).rb[Nt.sb-1],je=Nt.rb[Nt.sb+Nt.ja],ie=Nt.ya[Nt.aa+Nt.ja],an=Nt.kc?ie.Ad:0)ee.la=je.la=0,ie.Za||(ee.Na=je.Na=0),ie.Hc=0,ie.Gc=0,ie.ia=0;else{var Re,we;if(ee=je,je=Ue,an=Nt.Pa.Xc,yn=Nt.ya[Nt.aa+Nt.ja],qe=Nt.pb[yn.$b],pe=yn.ad,fn=0,wn=Nt.rb[Nt.sb-1],me=$e=0,s(pe,fn,0,384),yn.Za)var on=0,Vn=an[3];else{ye=u(16);var He=ee.Na+wn.Na;if(He=oa(je,an[1],He,qe.Eb,0,ye,0),ee.Na=wn.Na=(0<He)+0,1<He)Ir(ye,0,pe,fn);else{var An=ye[0]+3>>3;for(ye=0;256>ye;ye+=16)pe[fn+ye]=An}on=1,Vn=an[0]}var Ae=15&ee.la,Qe=15&wn.la;for(ye=0;4>ye;++ye){var kn=1&Qe;for(An=we=0;4>An;++An)Ae=Ae>>1|(kn=(He=oa(je,Vn,He=kn+(1&Ae),qe.Sc,on,pe,fn))>on)<<7,we=we<<2|(3<He?3:1<He?2:pe[fn+0]!=0),fn+=16;Ae>>=4,Qe=Qe>>1|kn<<7,$e=($e<<8|we)>>>0}for(Vn=Ae,on=Qe>>4,Re=0;4>Re;Re+=2){for(we=0,Ae=ee.la>>4+Re,Qe=wn.la>>4+Re,ye=0;2>ye;++ye){for(kn=1&Qe,An=0;2>An;++An)He=kn+(1&Ae),Ae=Ae>>1|(kn=0<(He=oa(je,an[2],He,qe.Qc,0,pe,fn)))<<3,we=we<<2|(3<He?3:1<He?2:pe[fn+0]!=0),fn+=16;Ae>>=2,Qe=Qe>>1|kn<<5}me|=we<<4*Re,Vn|=Ae<<4<<Re,on|=(240&Qe)<<Re}ee.la=Vn,wn.la=on,yn.Hc=$e,yn.Gc=me,yn.ia=43690&me?0:qe.ia,an=!($e|me)}if(0<Nt.L&&(Nt.wa[Nt.Y+Nt.ja]=Nt.gd[ie.$b][ie.Za],Nt.wa[Nt.Y+Nt.ja].La|=!an),Ue.Ka)return Ye(fe,7,"Premature end-of-file encountered.")}if(Vi(fe),Nt=Ze,Ue=1,ie=(Ot=fe).D,ee=0<Ot.L&&Ot.M>=Ot.zb&&Ot.M<=Ot.Va,Ot.Aa==0)e:{if(ie.M=Ot.M,ie.uc=ee,Si(Ot,ie),Ue=1,ie=(we=Ot.D).Nb,ee=(me=qa[Ot.L])*Ot.R,je=me/2*Ot.B,ye=16*ie*Ot.R,An=8*ie*Ot.B,an=Ot.sa,yn=Ot.ta-ee+ye,qe=Ot.qa,pe=Ot.ra-je+An,fn=Ot.Ha,wn=Ot.Ia-je+An,Qe=(Ae=we.M)==0,$e=Ae>=Ot.Va-1,Ot.Aa==2&&Si(Ot,we),we.uc)for(kn=(He=Ot).D.M,e(He.D.uc),we=He.yb;we<He.Hb;++we){on=we,Vn=kn;var Ln=(Fn=(sn=He).D).Nb;Re=sn.R;var Fn=Fn.wa[Fn.Y+on],In=sn.sa,xn=sn.ta+16*Ln*Re+16*on,jn=Fn.dd,Fe=Fn.tc;if(Fe!=0)if(e(3<=Fe),sn.L==1)0<on&&ts(In,xn,Re,Fe+4),Fn.La&&ns(In,xn,Re,Fe),0<Vn&&Qo(In,xn,Re,Fe+4),Fn.La&&es(In,xn,Re,Fe);else{var Cn=sn.B,Gn=sn.qa,ai=sn.ra+8*Ln*Cn+8*on,Lr=sn.Ha,sn=sn.Ia+8*Ln*Cn+8*on;Ln=Fn.ld,0<on&&(ke(In,xn,Re,Fe+4,jn,Ln),Ke(Gn,ai,Lr,sn,Cn,Fe+4,jn,Ln)),Fn.La&&(ia(In,xn,Re,Fe,jn,Ln),ka(Gn,ai,Lr,sn,Cn,Fe,jn,Ln)),0<Vn&&(Pe(In,xn,Re,Fe+4,jn,Ln),ze(Gn,ai,Lr,sn,Cn,Fe+4,jn,Ln)),Fn.La&&(yr(In,xn,Re,Fe,jn,Ln),ji(Gn,ai,Lr,sn,Cn,Fe,jn,Ln))}}if(Ot.ia&&alert("todo:DitherRow"),Nt.put!=null){if(we=16*Ae,Ae=16*(Ae+1),Qe?(Nt.y=Ot.sa,Nt.O=Ot.ta+ye,Nt.f=Ot.qa,Nt.N=Ot.ra+An,Nt.ea=Ot.Ha,Nt.W=Ot.Ia+An):(we-=me,Nt.y=an,Nt.O=yn,Nt.f=qe,Nt.N=pe,Nt.ea=fn,Nt.W=wn),$e||(Ae-=me),Ae>Nt.o&&(Ae=Nt.o),Nt.F=null,Nt.J=null,Ot.Fa!=null&&0<Ot.Fa.length&&we<Ae&&(Nt.J=Je(Ot,Nt,we,Ae-we),Nt.F=Ot.mb,Nt.F==null&&Nt.F.length==0)){Ue=Ye(Ot,3,"Could not decode alpha data.");break e}we<Nt.j&&(me=Nt.j-we,we=Nt.j,e(!(1&me)),Nt.O+=Ot.R*me,Nt.N+=Ot.B*(me>>1),Nt.W+=Ot.B*(me>>1),Nt.F!=null&&(Nt.J+=Nt.width*me)),we<Ae&&(Nt.O+=Nt.v,Nt.N+=Nt.v>>1,Nt.W+=Nt.v>>1,Nt.F!=null&&(Nt.J+=Nt.v),Nt.ka=we-Nt.j,Nt.U=Nt.va-Nt.v,Nt.T=Ae-we,Ue=Nt.put(Nt))}ie+1!=Ot.Ic||$e||(a(Ot.sa,Ot.ta-ee,an,yn+16*Ot.R,ee),a(Ot.qa,Ot.ra-je,qe,pe+8*Ot.B,je),a(Ot.Ha,Ot.Ia-je,fn,wn+8*Ot.B,je))}if(!Ue)return Ye(fe,6,"Output aborted.")}return 1})(k,U)),U.bc!=null&&U.bc(U),G&=1}return G?(k.cb=0,G):0})(t,f)||(n=t.a)}}else n=t.a}n==0&&y.Oa!=null&&y.Oa.fd&&(n=Qr(y.ba))}y=n}b=y!=0?null:11>b?L.f.RGBA.eb:L.f.kb.y}else b=null;return b};var Ns=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function v(Y,gt){for(var _="",I=0;I<4;I++)_+=String.fromCharCode(Y[gt++]);return _}function A(Y,gt){return Y[gt+0]|Y[gt+1]<<8}function F(Y,gt){return(Y[gt+0]|Y[gt+1]<<8|Y[gt+2]<<16)>>>0}function B(Y,gt){return(Y[gt+0]|Y[gt+1]<<8|Y[gt+2]<<16|Y[gt+3]<<24)>>>0}new h;var p=[0],z=[0],O=[],T=new h,j=r,Z=(function(Y,gt){var _={},I=0,R=!1,D=0,at=0;if(_.frames=[],!(function(w,C){for(var M=0;M<4;M++)if(w[C+M]!="RIFF".charCodeAt(M))return!0;return!1})(Y,gt)){for(B(Y,gt+=4),gt+=8;gt<Y.length;){var lt=v(Y,gt),ft=B(Y,gt+=4);gt+=4;var $=ft+(1&ft);switch(lt){case"VP8 ":case"VP8L":_.frames[I]===void 0&&(_.frames[I]={}),(bt=_.frames[I]).src_off=R?at:gt-8,bt.src_size=D+ft+8,I++,R&&(R=!1,D=0,at=0);break;case"VP8X":(bt=_.header={}).feature_flags=Y[gt];var ct=gt+4;bt.canvas_width=1+F(Y,ct),ct+=3,bt.canvas_height=1+F(Y,ct),ct+=3;break;case"ALPH":R=!0,D=$+8,at=gt-8;break;case"ANIM":(bt=_.header).bgcolor=B(Y,gt),ct=gt+4,bt.loop_count=A(Y,ct),ct+=2;break;case"ANMF":var Lt,bt;(bt=_.frames[I]={}).offset_x=2*F(Y,gt),gt+=3,bt.offset_y=2*F(Y,gt),gt+=3,bt.width=1+F(Y,gt),gt+=3,bt.height=1+F(Y,gt),gt+=3,bt.duration=F(Y,gt),gt+=3,Lt=Y[gt++],bt.dispose=1&Lt,bt.blend=Lt>>1&1}lt!="ANMF"&&(gt+=$)}return _}})(j,0);Z.response=j,Z.rgbaoutput=!0,Z.dataurl=!1;var Q=Z.header?Z.header:null,nt=Z.frames?Z.frames:null;if(Q){Q.loop_counter=Q.loop_count,p=[Q.canvas_height],z=[Q.canvas_width];for(var yt=0;yt<nt.length&&nt[yt].blend!=0;yt++);}var xt=nt[0],Wt=T.WebPDecodeRGBA(j,xt.src_off,xt.src_size,z,p);xt.rgba=Wt,xt.imgwidth=z[0],xt.imgheight=p[0];for(var st=0;st<z[0]*p[0]*4;st++)O[st]=Wt[st];return this.width=z,this.height=p,this.data=O,this}function Ll(){var r,e=this.internal.__metadata__.metadata,i=unescape(encodeURIComponent(e));r=this.internal.__metadata__.rawXml?i:'<x:xmpmeta xmlns:x="adobe:ns:meta/"><rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><rdf:Description rdf:about="" xmlns:jspdf="'+this.internal.__metadata__.namespaceUri+'"><jspdf:metadata>'+i.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")+"</jspdf:metadata></rdf:Description></rdf:RDF></x:xmpmeta>",this.internal.__metadata__.metadataObjectNumber=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+r.length+" >>"),this.internal.write("stream"),this.internal.write(r),this.internal.write("endstream"),this.internal.write("endobj")}function Nl(){this.internal.__metadata__.metadataObjectNumber&&this.internal.write("/Metadata "+this.internal.__metadata__.metadataObjectNumber+" 0 R")}(function(r){var e,i,a,s,u,d,c,h,v,A=function(w){return w=w||{},this.isStrokeTransparent=w.isStrokeTransparent||!1,this.strokeOpacity=w.strokeOpacity||1,this.strokeStyle=w.strokeStyle||"#000000",this.fillStyle=w.fillStyle||"#000000",this.isFillTransparent=w.isFillTransparent||!1,this.fillOpacity=w.fillOpacity||1,this.font=w.font||"10px sans-serif",this.textBaseline=w.textBaseline||"alphabetic",this.textAlign=w.textAlign||"left",this.lineWidth=w.lineWidth||1,this.lineJoin=w.lineJoin||"miter",this.lineCap=w.lineCap||"butt",this.path=w.path||[],this.transform=w.transform!==void 0?w.transform.clone():new h,this.globalCompositeOperation=w.globalCompositeOperation||"normal",this.globalAlpha=w.globalAlpha||1,this.clip_path=w.clip_path||[],this.currentPoint=w.currentPoint||new d,this.miterLimit=w.miterLimit||10,this.lastPoint=w.lastPoint||new d,this.lineDashOffset=w.lineDashOffset||0,this.lineDash=w.lineDash||[],this.margin=w.margin||[0,0,0,0],this.prevPageLastElemOffset=w.prevPageLastElemOffset||0,this.ignoreClearRect=typeof w.ignoreClearRect!="boolean"||w.ignoreClearRect,this};r.events.push(["initialized",function(){this.context2d=new F(this),e=this.internal.f2,i=this.internal.getCoordinateString,a=this.internal.getVerticalCoordinateString,s=this.internal.getHorizontalCoordinate,u=this.internal.getVerticalCoordinate,d=this.internal.Point,c=this.internal.Rectangle,h=this.internal.Matrix,v=new A}]);var F=function(w){Object.defineProperty(this,"canvas",{get:function(){return{parentNode:!1,style:!1}}});var C=w;Object.defineProperty(this,"pdf",{get:function(){return C}});var M=!1;Object.defineProperty(this,"pageWrapXEnabled",{get:function(){return M},set:function(x){M=!!x}});var H=!1;Object.defineProperty(this,"pageWrapYEnabled",{get:function(){return H},set:function(x){H=!!x}});var V=0;Object.defineProperty(this,"posX",{get:function(){return V},set:function(x){isNaN(x)||(V=x)}});var K=0;Object.defineProperty(this,"posY",{get:function(){return K},set:function(x){isNaN(x)||(K=x)}}),Object.defineProperty(this,"margin",{get:function(){return v.margin},set:function(x){var At;typeof x=="number"?At=[x,x,x,x]:((At=new Array(4))[0]=x[0],At[1]=x.length>=2?x[1]:At[0],At[2]=x.length>=3?x[2]:At[0],At[3]=x.length>=4?x[3]:At[1]),v.margin=At}});var tt=!1;Object.defineProperty(this,"autoPaging",{get:function(){return tt},set:function(x){tt=x}});var et=0;Object.defineProperty(this,"lastBreak",{get:function(){return et},set:function(x){et=x}});var ht=[];Object.defineProperty(this,"pageBreaks",{get:function(){return ht},set:function(x){ht=x}}),Object.defineProperty(this,"ctx",{get:function(){return v},set:function(x){x instanceof A&&(v=x)}}),Object.defineProperty(this,"path",{get:function(){return v.path},set:function(x){v.path=x}});var wt=[];Object.defineProperty(this,"ctxStack",{get:function(){return wt},set:function(x){wt=x}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(x){var At;At=B(x),this.ctx.fillStyle=At.style,this.ctx.isFillTransparent=At.a===0,this.ctx.fillOpacity=At.a,this.pdf.setFillColor(At.r,At.g,At.b,{a:At.a}),this.pdf.setTextColor(At.r,At.g,At.b,{a:At.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(x){var At=B(x);this.ctx.strokeStyle=At.style,this.ctx.isStrokeTransparent=At.a===0,this.ctx.strokeOpacity=At.a,At.a===0?this.pdf.setDrawColor(255,255,255):(At.a,this.pdf.setDrawColor(At.r,At.g,At.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(x){["butt","round","square"].indexOf(x)!==-1&&(this.ctx.lineCap=x,this.pdf.setLineCap(x))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(x){isNaN(x)||(this.ctx.lineWidth=x,this.pdf.setLineWidth(x))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(x){["bevel","round","miter"].indexOf(x)!==-1&&(this.ctx.lineJoin=x,this.pdf.setLineJoin(x))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(x){isNaN(x)||(this.ctx.miterLimit=x,this.pdf.setMiterLimit(x))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(x){this.ctx.textBaseline=x}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(x){["right","end","center","left","start"].indexOf(x)!==-1&&(this.ctx.textAlign=x)}});var St=null,_t=null,zt=null;Object.defineProperty(this,"fontFaces",{get:function(){return zt},set:function(x){St=null,_t=null,zt=x}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(x){var At;if(this.ctx.font=x,(At=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z0-9]+?)\s*$/i.exec(x))!==null){var ae=At[1];At[2];var Ut=At[3],mt=At[4];At[5];var Ht=At[6],kt=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(mt)[2];mt=Math.floor(kt==="px"?parseFloat(mt)*this.pdf.internal.scaleFactor:kt==="em"?parseFloat(mt)*this.pdf.getFontSize():parseFloat(mt)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(mt);
41var Tt=(function(Et){var Te,ge,oe=[],se=Et.trim();if(se==="")return Wo;if(se in Us)return[Us[se]];for(;se!=="";){switch(ge=null,Te=(se=Ws(se)).charAt(0)){case'"':case"'":ge=gl(se.substring(1),Te);break;default:ge=ml(se)}if(ge===null||(oe.push(ge[0]),(se=Ws(ge[1]))!==""&&se.charAt(0)!==","))return Wo;se=se.replace(/^,/,"")}return oe})(Ht);if(this.fontFaces){var Rt=(function(Et,Te){var ge=Et.getFontList(),oe=JSON.stringify(ge);if(St===null||_t!==oe){var se=(function(Ce){var Dt=[];return Object.keys(Ce).forEach(function(_e){Ce[_e].forEach(function(Yt){var Qt=null;switch(Yt){case"bold":Qt={family:_e,weight:"bold"};break;case"italic":Qt={family:_e,style:"italic"};break;case"bolditalic":Qt={family:_e,weight:"bold",style:"italic"};break;case"":case"normal":Qt={family:_e}}Qt!==null&&(Qt.ref={name:_e,style:Yt},Dt.push(Qt))})}),Dt})(ge);St=(function(Ce){for(var Dt={},_e=0;_e<Ce.length;++_e){var Yt=Ho(Ce[_e]),Qt=Yt.family,Oe=Yt.stretch,ue=Yt.style,Vt=Yt.weight;Dt[Qt]=Dt[Qt]||{},Dt[Qt][Oe]=Dt[Qt][Oe]||{},Dt[Qt][Oe][ue]=Dt[Qt][Oe][ue]||{},Dt[Qt][Oe][ue][Vt]=Yt}return Dt})(se.concat(Te)),_t=oe}return St})(this.pdf,this.fontFaces),ve=Tt.map(function(Et){return{family:Et,stretch:"normal",weight:Ut,style:ae}}),le=(function(Et,Te,ge){for(var oe=(ge=ge||{}).defaultFontFamily||"times",se=Object.assign({},pl,ge.genericFontFamilies||{}),Ce=null,Dt=null,_e=0;_e<Te.length;++_e)if(se[(Ce=Ho(Te[_e])).family]&&(Ce.family=se[Ce.family]),Et.hasOwnProperty(Ce.family)){Dt=Et[Ce.family];break}if(!(Dt=Dt||Et[oe]))throw new Error("Could not find a font-family for the rule '"+Hs(Ce)+"' and default family '"+oe+"'.");if(Dt=(function(Yt,Qt){if(Qt[Yt])return Qt[Yt];var Oe=Zo[Yt],ue=Oe<=Zo.normal?-1:1,Vt=zs(Qt,hu,Oe,ue);if(!Vt)throw new Error("Could not find a matching font-stretch value for "+Yt);return Vt})(Ce.stretch,Dt),Dt=(function(Yt,Qt){if(Qt[Yt])return Qt[Yt];for(var Oe=cu[Yt],ue=0;ue<Oe.length;++ue)if(Qt[Oe[ue]])return Qt[Oe[ue]];throw new Error("Could not find a matching font-style for "+Yt)})(Ce.style,Dt),!(Dt=(function(Yt,Qt){if(Qt[Yt])return Qt[Yt];if(Yt===400&&Qt[500])return Qt[500];if(Yt===500&&Qt[400])return Qt[400];var Oe=dl[Yt],ue=zs(Qt,fu,Oe,Yt<400?-1:1);if(!ue)throw new Error("Could not find a matching font-weight for value "+Yt);return ue})(Ce.weight,Dt)))throw new Error("Failed to resolve a font for the rule '"+Hs(Ce)+"'.");return Dt})(Rt,ve);this.pdf.setFont(le.ref.name,le.ref.style)}else{var $t="";(Ut==="bold"||parseInt(Ut,10)>=700||ae==="bold")&&($t="bold"),ae==="italic"&&($t+="italic"),$t.length===0&&($t="normal");for(var he="",ce={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},Bt=0;Bt<Tt.length;Bt++){if(this.pdf.internal.getFont(Tt[Bt],$t,{noFallback:!0,disableWarning:!0})!==void 0){he=Tt[Bt];break}if($t==="bolditalic"&&this.pdf.internal.getFont(Tt[Bt],"bold",{noFallback:!0,disableWarning:!0})!==void 0)he=Tt[Bt],$t="bold";else if(this.pdf.internal.getFont(Tt[Bt],"normal",{noFallback:!0,disableWarning:!0})!==void 0){he=Tt[Bt],$t="normal";break}}if(he===""){for(var ne=0;ne<Tt.length;ne++)if(ce[Tt[ne]]){he=ce[Tt[ne]];break}}he=he===""?"Times":he,this.pdf.setFont(he,$t)}}}}),Object.defineProperty(this,"globalCompositeOperation",{get:function(){return this.ctx.globalCompositeOperation},set:function(x){this.ctx.globalCompositeOperation=x}}),Object.defineProperty(this,"globalAlpha",{get:function(){return this.ctx.globalAlpha},set:function(x){this.ctx.globalAlpha=x}}),Object.defineProperty(this,"lineDashOffset",{get:function(){return this.ctx.lineDashOffset},set:function(x){this.ctx.lineDashOffset=x,bt.call(this)}}),Object.defineProperty(this,"lineDash",{get:function(){return this.ctx.lineDash},set:function(x){this.ctx.lineDash=x,bt.call(this)}}),Object.defineProperty(this,"ignoreClearRect",{get:function(){return this.ctx.ignoreClearRect},set:function(x){this.ctx.ignoreClearRect=!!x}})};F.prototype.setLineDash=function(w){this.lineDash=w},F.prototype.getLineDash=function(){return this.lineDash.length%2?this.lineDash.concat(this.lineDash):this.lineDash.slice()},F.prototype.fill=function(){nt.call(this,"fill",!1)},F.prototype.stroke=function(){nt.call(this,"stroke",!1)},F.prototype.beginPath=function(){this.path=[{type:"begin"}]},F.prototype.moveTo=function(w,C){if(isNaN(w)||isNaN(C))throw xe.error("jsPDF.context2d.moveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to 
41jsPDF.context2d.moveTo");var M=this.ctx.transform.applyToPoint(new d(w,C));this.path.push({type:"mt",x:M.x,y:M.y}),this.ctx.lastPoint=new d(w,C)},F.prototype.closePath=function(){var w=new d(0,0),C=0;for(C=this.path.length-1;C!==-1;C--)if(this.path[C].type==="begin"&&Se(this.path[C+1])==="object"&&typeof this.path[C+1].x=="number"){w=new d(this.path[C+1].x,this.path[C+1].y);break}this.path.push({type:"close"}),this.ctx.lastPoint=new d(w.x,w.y)},F.prototype.lineTo=function(w,C){if(isNaN(w)||isNaN(C))throw xe.error("jsPDF.context2d.lineTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.lineTo");var M=this.ctx.transform.applyToPoint(new d(w,C));this.path.push({type:"lt",x:M.x,y:M.y}),this.ctx.lastPoint=new d(M.x,M.y)},F.prototype.clip=function(){this.ctx.clip_path=JSON.parse(JSON.stringify(this.path)),nt.call(this,null,!0)},F.prototype.quadraticCurveTo=function(w,C,M,H){if(isNaN(M)||isNaN(H)||isNaN(w)||isNaN(C))throw xe.error("jsPDF.context2d.quadraticCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.quadraticCurveTo");var V=this.ctx.transform.applyToPoint(new d(M,H)),K=this.ctx.transform.applyToPoint(new d(w,C));this.path.push({type:"qct",x1:K.x,y1:K.y,x:V.x,y:V.y}),this.ctx.lastPoint=new d(V.x,V.y)},F.prototype.bezierCurveTo=function(w,C,M,H,V,K){if(isNaN(V)||isNaN(K)||isNaN(w)||isNaN(C)||isNaN(M)||isNaN(H))throw xe.error("jsPDF.context2d.bezierCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.bezierCurveTo");var tt=this.ctx.transform.applyToPoint(new d(V,K)),et=this.ctx.transform.applyToPoint(new d(w,C)),ht=this.ctx.transform.applyToPoint(new d(M,H));this.path.push({type:"bct",x1:et.x,y1:et.y,x2:ht.x,y2:ht.y,x:tt.x,y:tt.y}),this.ctx.lastPoint=new d(tt.x,tt.y)},F.prototype.arc=function(w,C,M,H,V,K){if(isNaN(w)||isNaN(C)||isNaN(M)||isNaN(H)||isNaN(V))throw xe.error("jsPDF.context2d.arc: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.arc");if(K=!!K,!this.ctx.transform.isIdentity){var tt=this.ctx.transform.applyToPoint(new d(w,C));w=tt.x,C=tt.y;var et=this.ctx.transform.applyToPoint(new d(0,M)),ht=this.ctx.transform.applyToPoint(new d(0,0));M=Math.sqrt(Math.pow(et.x-ht.x,2)+Math.pow(et.y-ht.y,2))}Math.abs(V-H)>=2*Math.PI&&(H=0,V=2*Math.PI),this.path.push({type:"arc",x:w,y:C,radius:M,startAngle:H,endAngle:V,counterclockwise:K})},F.prototype.arcTo=function(w,C,M,H,V){throw new Error("arcTo not implemented.")},F.prototype.rect=function(w,C,M,H){if(isNaN(w)||isNaN(C)||isNaN(M)||isNaN(H))throw xe.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(w,C),this.lineTo(w+M,C),this.lineTo(w+M,C+H),this.lineTo(w,C+H),this.lineTo(w,C),this.lineTo(w+M,C),this.lineTo(w,C)},F.prototype.fillRect=function(w,C,M,H){if(isNaN(w)||isNaN(C)||isNaN(M)||isNaN(H))throw xe.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!p.call(this)){var V={};this.lineCap!=="butt"&&(V.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(V.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(w,C,M,H),this.fill(),V.hasOwnProperty("lineCap")&&(this.lineCap=V.lineCap),V.hasOwnProperty("lineJoin")&&(this.lineJoin=V.lineJoin)}},F.prototype.strokeRect=function(w,C,M,H){if(isNaN(w)||isNaN(C)||isNaN(M)||isNaN(H))throw xe.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");z.call(this)||(this.beginPath(),this.rect(w,C,M,H),this.stroke())},F.prototype.clearRect=function(w,C,M,H){if(isNaN(w)||isNaN(C)||isNaN(M)||isNaN(H))throw xe.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(w,C,M,H))},F.prototype.save=function(w){w=typeof w!="boolean"||w;for(var C=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,130 bytes, line 41
41if(this.pdf.setPage(C),w){this.ctx.fontSize=this.pdf.internal.getFontSize();var H=new A(this.ctx);this.ctxStack.push(this.ctx),this.ctx=H}},F.prototype.restore=function(w){w=typeof w!="boolean"||w;for(var C=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(C),w&&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)},F.prototype.toDataURL=function(){throw new Error("toDataUrl not implemented.")};var B=function(w){var C,M,H,V;if(w.isCanvasGradient===!0&&(w=w.getColor()),!w)return{r:0,g:0,b:0,a:0,style:w};if(/transparent|rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*0+\s*\)/.test(w))C=0,M=0,H=0,V=0;else{var K=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/.exec(w);if(K!==null)C=parseInt(K[1]),M=parseInt(K[2]),H=parseInt(K[3]),V=1;else if((K=/rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d.]+)\s*\)/.exec(w))!==null)C=parseInt(K[1]),M=parseInt(K[2]),H=parseInt(K[3]),V=parseFloat(K[4]);else{if(V=1,typeof w=="string"&&w.charAt(0)!=="#"){var tt=new ru(w);w=tt.ok?tt.toHex():"#000000"}w.length===4?(C=w.substring(1,2),C+=C,M=w.substring(2,3),M+=M,H=w.substring(3,4),H+=H):(C=w.substring(1,3),M=w.substring(3,5),H=w.substring(5,7)),C=parseInt(C,16),M=parseInt(M,16),H=parseInt(H,16)}}return{r:C,g:M,b:H,a:V,style:w}},p=function(){return this.ctx.isFillTransparent||this.globalAlpha==0},z=function(){return!!(this.ctx.isStrokeTransparent||this.globalAlpha==0)};F.prototype.fillText=function(w,C,M,H){if(isNaN(C)||isNaN(M)||typeof w!="string")throw xe.error("jsPDF.context2d.fillText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillText");if(H=isNaN(H)?void 0:H,!p.call(this)){var V=$(this.ctx.transform.rotation),K=this.ctx.transform.scaleX;I.call(this,{text:w,x:C,y:M,scale:K,angle:V,align:this.textAlign,maxWidth:H})}},F.prototype.strokeText=function(w,C,M,H){if(isNaN(C)||isNaN(M)||typeof w!="string")throw xe.error("jsPDF.context2d.strokeText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeText");if(!z.call(this)){H=isNaN(H)?void 0:H;var V=$(this.ctx.transform.rotation),K=this.ctx.transform.scaleX;I.call(this,{text:w,x:C,y:M,scale:K,renderingMode:"stroke",angle:V,align:this.textAlign,maxWidth:H})}},F.prototype.measureText=function(w){if(typeof w!="string")throw xe.error("jsPDF.context2d.measureText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.measureText");var C=this.pdf,M=this.pdf.internal.scaleFactor,H=C.internal.getFontSize(),V=C.getStringUnitWidth(w)*H/C.internal.scaleFactor;return new function(K){var tt=(K=K||{}).width||0;return Object.defineProperty(this,"width",{get:function(){return tt}}),this}({width:V*=Math.round(96*M/72*1e4)/1e4})},F.prototype.scale=function(w,C){if(isNaN(w)||isNaN(C))throw xe.error("jsPDF.context2d.scale: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.scale");var M=new h(w,0,0,C,0,0);this.ctx.transform=this.ctx.transform.multiply(M)},F.prototype.rotate=function(w){if(isNaN(w))throw xe.error("jsPDF.context2d.rotate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rotate");var C=new h(Math.cos(w),Math.sin(w),-Math.sin(w),Math.cos(w),0,0);this.ctx.transform=this.ctx.transform.multiply(C)},F.prototype.translate=function(w,C){if(isNaN(w)||isNaN(C))throw xe.error("jsPDF.context2d.translate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.translate");var M=new h(1,0,0,1,w,C);this.ctx.transform=this.ctx.transform.multiply(M)},F.prototype.transform=function(w,C,M,H,V,K){if(isNaN(w)||isNaN(C)||isNaN(M)||isNaN(H)||isNaN(V)||isNaN(K))throw xe.error("jsPDF.context2d.transform: Invalid arguments",arguments),new Error("Invalid arguments passed to 
41jsPDF.context2d.transform");var tt=new h(w,C,M,H,V,K);this.ctx.transform=this.ctx.transform.multiply(tt)},F.prototype.setTransform=function(w,C,M,H,V,K){w=isNaN(w)?1:w,C=isNaN(C)?0:C,M=isNaN(M)?0:M,H=isNaN(H)?1:H,V=isNaN(V)?0:V,K=isNaN(K)?0:K,this.ctx.transform=new h(w,C,M,H,V,K)};var O=function(){return this.margin[0]>0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};F.prototype.drawImage=function(w,C,M,H,V,K,tt,et,ht){var wt=this.pdf.getImageProperties(w),St=1,_t=1,zt=1,x=1;H!==void 0&&et!==void 0&&(zt=et/H,x=ht/V,St=wt.width/H*et/H,_t=wt.height/V*ht/V),K===void 0&&(K=C,tt=M,C=0,M=0),H!==void 0&&et===void 0&&(et=H,ht=V),H===void 0&&et===void 0&&(et=wt.width,ht=wt.height);var At=this.ctx.transform.decompose(),ae=$(At.rotate.shx),Ut=new h,mt=(Ut=(Ut=(Ut=Ut.multiply(At.translate)).multiply(At.skew)).multiply(At.scale)).applyToRectangle(new c(K-C*zt,tt-M*x,H*St,V*_t));if(this.autoPaging){for(var Ht,kt=T.call(this,mt),Tt=[],Rt=0;Rt<kt.length;Rt+=1)Tt.indexOf(kt[Rt])===-1&&Tt.push(kt[Rt]);Q(Tt);for(var ve=Tt[0],le=Tt[Tt.length-1],$t=ve;$t<le+1;$t++){this.pdf.setPage($t);var he=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],ce=$t===1?this.posY+this.margin[0]:this.margin[0],Bt=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],ne=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],Et=$t===1?0:Bt+($t-2)*ne;if(this.ctx.clip_path.length!==0){var Te=this.path;Ht=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=Z(Ht,this.posX+this.margin[3],-Et+ce+this.ctx.prevPageLastElemOffset),yt.call(this,"fill",!0),this.path=Te}var ge=JSON.parse(JSON.stringify(mt));ge=Z([ge],this.posX+this.margin[3],-Et+ce+this.ctx.prevPageLastElemOffset)[0];var oe=($t>ve||$t<le)&&O.call(this);oe&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],he,ne,null).clip().discardPath()),this.pdf.addImage(w,"JPEG",ge.x,ge.y,ge.w,ge.h,null,null,ae),oe&&this.pdf.restoreGraphicsState()}}else this.pdf.addImage(w,"JPEG",mt.x,mt.y,mt.w,mt.h,null,null,ae)};var T=function(w,C,M){var H=[];C=C||this.pdf.internal.pageSize.width,M=M||this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2];var V=this.posY+this.ctx.prevPageLastElemOffset;switch(w.type){default:case"mt":case"lt":H.push(Math.floor((w.y+V)/M)+1);break;case"arc":H.push(Math.floor((w.y+V-w.radius)/M)+1),H.push(Math.floor((w.y+V+w.radius)/M)+1);break;case"qct":var K=ct(this.ctx.lastPoint.x,this.ctx.lastPoint.y,w.x1,w.y1,w.x,w.y);H.push(Math.floor((K.y+V)/M)+1),H.push(Math.floor((K.y+K.h+V)/M)+1);break;case"bct":var tt=Lt(this.ctx.lastPoint.x,this.ctx.lastPoint.y,w.x1,w.y1,w.x2,w.y2,w.x,w.y);H.push(Math.floor((tt.y+V)/M)+1),H.push(Math.floor((tt.y+tt.h+V)/M)+1);break;case"rect":H.push(Math.floor((w.y+V)/M)+1),H.push(Math.floor((w.y+w.h+V)/M)+1)}for(var et=0;et<H.length;et+=1)for(;this.pdf.internal.getNumberOfPages()<H[et];)j.call(this);return H},j=function(){var w=this.fillStyle,C=this.strokeStyle,M=this.font,H=this.lineCap,V=this.lineWidth,K=this.lineJoin;this.pdf.addPage(),this.fillStyle=w,this.strokeStyle=C,this.font=M,this.lineCap=H,this.lineWidth=V,this.lineJoin=K},Z=function(w,C,M){for(var H=0;H<w.length;H++)switch(w[H].type){case"bct":w[H].x2+=C,w[H].y2+=M;case"qct":w[H].x1+=C,w[H].y1+=M;default:w[H].x+=C,w[H].y+=M}return w},Q=function(w){return w.sort(function(C,M){return C-M})},nt=function(w,C){var M=this.fillStyle,H=this.strokeStyle,V=this.lineCap,K=this.lineWidth,tt=Math.abs(K*this.ctx.transform.scaleX),et=this.lineJoin;if(this.autoPaging){for(var ht,wt,St=JSON.parse(JSON.stringify(this.path)),_t=JSON.parse(JSON.stringify(this.path)),zt=[],x=0;x<_t.length;x++)if(_t[x].x!==void 0)for(var At=T.call(this,_t[x]),ae=0;ae<At.length;ae+=1)zt.indexOf(At[ae])===-1&&zt.push(At[ae]);for(var Ut=0;Ut<zt.length;Ut++)for(;this.pdf.internal.getNumberOfPages()<zt[Ut];)j.call(this);Q(zt);for(var mt=zt[0],Ht=zt[zt.length-1],kt=mt;kt<Ht+1;kt++){this.pdf.setPage(kt),this.fillStyle=M,this.strokeStyle=H,this.lineCap=V,this.lineWidth=tt,this.lineJoin=et;var Tt=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],Rt=kt===1?this.posY+this.margin[0]:this.margin[0],ve=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],le=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],$t=kt===1?0:ve+(kt-2)*le;if(this.ctx.clip_path.length!==0){var he=this.path;ht=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=Z(ht,this.posX+this.margin[3],-$t+Rt+this.ctx.prevPageLastElemOffset),yt.call(this,w,!0),this.path=he}if(wt=JSON.parse(JSON.stringify(St)),this.path=Z(wt,this.posX+this.margin[3],-$t+Rt+this.ctx.prevPageLastElemOffset),C===!1||kt===0){var ce=(kt>mt||kt<Ht)&&O.call(this);ce&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],Tt,le,
vendor: 7,902 bytes, line 41
41null).clip().discardPath()),yt.call(this,w,C),ce&&this.pdf.restoreGraphicsState()}this.lineWidth=K}this.path=St}else this.lineWidth=tt,yt.call(this,w,C),this.lineWidth=K},yt=function(w,C){if((w!=="stroke"||C||!z.call(this))&&(w==="stroke"||C||!p.call(this))){for(var M,H,V=[],K=this.path,tt=0;tt<K.length;tt++){var et=K[tt];switch(et.type){case"begin":V.push({begin:!0});break;case"close":V.push({close:!0});break;case"mt":V.push({start:et,deltas:[],abs:[]});break;case"lt":var ht=V.length;if(K[tt-1]&&!isNaN(K[tt-1].x)&&(M=[et.x-K[tt-1].x,et.y-K[tt-1].y],ht>0)){for(;ht>=0;ht--)if(V[ht-1].close!==!0&&V[ht-1].begin!==!0){V[ht-1].deltas.push(M),V[ht-1].abs.push(et);break}}break;case"bct":M=[et.x1-K[tt-1].x,et.y1-K[tt-1].y,et.x2-K[tt-1].x,et.y2-K[tt-1].y,et.x-K[tt-1].x,et.y-K[tt-1].y],V[V.length-1].deltas.push(M);break;case"qct":var wt=K[tt-1].x+2/3*(et.x1-K[tt-1].x),St=K[tt-1].y+2/3*(et.y1-K[tt-1].y),_t=et.x+2/3*(et.x1-et.x),zt=et.y+2/3*(et.y1-et.y),x=et.x,At=et.y;M=[wt-K[tt-1].x,St-K[tt-1].y,_t-K[tt-1].x,zt-K[tt-1].y,x-K[tt-1].x,At-K[tt-1].y],V[V.length-1].deltas.push(M);break;case"arc":V.push({deltas:[],abs:[],arc:!0}),Array.isArray(V[V.length-1].abs)&&V[V.length-1].abs.push(et)}}H=C?null:w==="stroke"?"stroke":"fill";for(var ae=!1,Ut=0;Ut<V.length;Ut++)if(V[Ut].arc)for(var mt=V[Ut].abs,Ht=0;Ht<mt.length;Ht++){var kt=mt[Ht];kt.type==="arc"?st.call(this,kt.x,kt.y,kt.radius,kt.startAngle,kt.endAngle,kt.counterclockwise,void 0,C,!ae):R.call(this,kt.x,kt.y),ae=!0}else if(V[Ut].close===!0)this.pdf.internal.out("h"),ae=!1;else if(V[Ut].begin!==!0){var Tt=V[Ut].start.x,Rt=V[Ut].start.y;D.call(this,V[Ut].deltas,Tt,Rt),ae=!0}H&&Y.call(this,H),C&&gt.call(this)}},xt=function(w){var C=this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor,M=C*(this.pdf.internal.getLineHeightFactor()-1);switch(this.ctx.textBaseline){case"bottom":return w-M;case"top":return w+C-M;case"hanging":return w+C-2*M;case"middle":return w+C/2-M;default:return w}},Wt=function(w){return w+this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor*(this.pdf.internal.getLineHeightFactor()-1)};F.prototype.createLinearGradient=function(){var w=function(){};return w.colorStops=[],w.addColorStop=function(C,M){this.colorStops.push([C,M])},w.getColor=function(){return this.colorStops.length===0?"#000000":this.colorStops[0][1]},w.isCanvasGradient=!0,w},F.prototype.createPattern=function(){return this.createLinearGradient()},F.prototype.createRadialGradient=function(){return this.createLinearGradient()};var st=function(w,C,M,H,V,K,tt,et,ht){for(var wt=lt.call(this,M,H,V,K),St=0;St<wt.length;St++){var _t=wt[St];St===0&&(ht?_.call(this,_t.x1+w,_t.y1+C):R.call(this,_t.x1+w,_t.y1+C)),at.call(this,w,C,_t.x2,_t.y2,_t.x3,_t.y3,_t.x4,_t.y4)}et?gt.call(this):Y.call(this,tt)},Y=function(w){switch(w){case"stroke":this.pdf.internal.out("S");break;case"fill":this.pdf.internal.out("f")}},gt=function(){this.pdf.clip(),this.pdf.discardPath()},_=function(w,C){this.pdf.internal.out(i(w)+" "+a(C)+" m")},I=function(w){var C;switch(w.align){case"right":case"end":C="right";break;case"center":C="center";break;default:C="left"}var M,H,V,K=this.pdf.getTextDimensions(w.text),tt=xt.call(this,w.y),et=Wt.call(this,tt)-K.h,ht=this.ctx.transform.applyToPoint(new d(w.x,tt));if(this.autoPaging){var wt=this.ctx.transform.decompose(),St=new h;St=(St=(St=St.multiply(wt.translate)).multiply(wt.skew)).multiply(wt.scale);for(var _t=this.ctx.transform.applyToRectangle(new c(w.x,tt,K.w,K.h)),zt=St.applyToRectangle(new c(w.x,et,K.w,K.h)),x=T.call(this,zt),At=[],ae=0;ae<x.length;ae+=1)At.indexOf(x[ae])===-1&&At.push(x[ae]);Q(At);for(var Ut=At[0],mt=At[At.length-1],Ht=Ut;Ht<mt+1;Ht++){this.pdf.setPage(Ht);var kt=Ht===1?this.posY+this.margin[0]:this.margin[0],Tt=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],Rt=this.pdf.internal.pageSize.height-this.margin[2],ve=Rt-this.margin[0],le=this.pdf.internal.pageSize.width-this.margin[1],$t=le-this.margin[3],he=Ht===1?0:Tt+(Ht-2)*ve;if(this.ctx.clip_path.length!==0){var ce=this.path;M=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=Z(M,this.posX+this.margin[3],-1*he+kt),yt.call(this,"fill",!0),this.path=ce}var Bt=Z([JSON.parse(JSON.stringify(zt))],this.posX+this.margin[3],-he+kt+this.ctx.prevPageLastElemOffset)[0];w.scale>=.01&&(H=this.pdf.internal.getFontSize(),this.pdf.setFontSize(H*w.scale),V=this.lineWidth,this.lineWidth=V*w.scale);var ne=this.autoPaging!=="text";if(ne||Bt.y+Bt.h<=Rt){if(ne||Bt.y>=kt&&Bt.x<=le){var Et=ne?w.text:this.pdf.splitTextToSize(w.text,w.maxWidth||le-Bt.x)[0],Te=Z([JSON.parse(JSON.stringify(_t))],this.posX+this.margin[3],-he+kt+this.ctx.prevPageLastElemOffset)[0],ge=ne&&(Ht>Ut||Ht<mt)&&O.call(this);ge&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],$t,ve,null).clip().discardPath()),this.pdf.text(Et,Te.x,Te.y,{angle:w.angle,align:C,renderingMode:w.renderingMode}),ge&&this.pdf.restoreGraphicsState()}}else Bt.y<Rt&&(this.ctx.prevPageLastElemOffset+=Rt-Bt.y);w.scale>=.01&&(this.pdf.setFontSize(H),this.lineWidth=V)}}else w.scale>=.01&&(H=this.pdf.internal.getFontSize(),this.pdf.setFontSize(H*w.scale),V=this.lineWidth,this.lineWidth=V*w.scale),this.pdf.text(w.text,ht.x+this.posX,ht.y+this.posY,{angle:w.angle,align:C,renderingMode:w.renderingMode,maxWidth:w.maxWidth}),w.scale>=.01&&(this.pdf.setFontSize(H),this.lineWidth=V)},R=function(w,C,M,H){M=M||0,H=H||0,this.pdf.internal.out(i(w+M)+" "+a(C+H)+" l")},D=function(w,C,M){return this.pdf.lines(w,C,M,null,null)},at=function(w,C,M,H,V,K,tt,et){this.pdf.internal.out([e(s(M+w)),e(u(H+C)),e(s(V+w)),e(u(K+C)),e(s(tt+w)),e(u(et+C)),"c"].join(" "))},lt=function(w,C,M,H){for(var V=2*Math.PI,K=Math.PI/2;C>M;)C-=V;var tt=Math.abs(M-C);tt<V&&H&&(tt=V-tt);for(var et=[],ht=H?-1:1,wt=C;tt>1e-5;){var St=wt+ht*Math.min(tt,K);et.push(ft.call(this,w,wt,St)),tt-=Math.abs(St-wt),wt=St}return et},ft=function(w,C,M){var H=(M-C)/2,V=w*Math.cos(H),K=w*Math.sin(H),tt=V,et=-K,ht=tt*tt+et*et,wt=ht+tt*V+et*K,St=4/3*(Math.sqrt(2*ht*wt)-wt)/(tt*K-et*V),_t=tt-St*et,zt=et+St*tt,x=_t,At=-zt,ae=H+C,Ut=Math.cos(ae),mt=Math.sin(ae);return{x1:w*Math.cos(C),y1:w*Math.sin(C),x2:_t*Ut-zt*mt,y2:_t*mt+zt*Ut,x3:x*Ut-At*mt,y3:x*mt+At*Ut,x4:w*Math.cos(M),y4:w*Math.sin(M)}},$=function(w){return 180*w/Math.PI},ct=function(w,C,M,H,V,K){var tt=w+.5*(M-w),et=C+.5*(H-C),ht=V+.5*(M-V),wt=K+.5*(H-K),St=Math.min(w,V,tt,ht),_t=Math.max(w,V,tt,ht),zt=Math.min(C,K,et,wt),x=Math.max(C,K,et,wt);return new c(St,zt,_t-St,x-zt)},Lt=function(w,C,M,H,V,K,tt,et){var ht,wt,St,_t,zt,x,At,ae,Ut,mt,Ht,kt,Tt,Rt,ve=M-w,le=H-C,$t=V-M,he=K-H,ce=tt-V,Bt=et-K;for(wt=0;wt<41;wt++)Ut=(At=(St=w+(ht=wt/40)*ve)+ht*((zt=M+ht*$t)-St))+ht*(zt+ht*(V+ht*ce-zt)-At),mt=(ae=(_t=C+ht*le)+ht*((x=H+ht*he)-_t))+ht*(x+ht*(K+ht*Bt-x)-ae),wt==0?(Ht=Ut,kt=mt,Tt=Ut,Rt=mt):(Ht=Math.min(Ht,Ut),kt=Math.min(kt,mt),Tt=Math.max(Tt,Ut),Rt=Math.max(Rt,mt));return new c(Math.round(Ht),Math.round(kt),Math.round(Tt-Ht),Math.round(Rt-kt))},bt=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var w,C,M=(w=this.ctx.lineDash,C=this.ctx.lineDashOffset,JSON.stringify({lineDash:w,lineDashOffset:C}));this.prevLineDash!==M&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=M)}}})(qt.API),(function(r){var e=function(d){var c,h,v,A,F,B,p,z,O,T;for(h=[],v=0,A=(d+=c="\0\0\0\0".slice(d.length%4||4)).length;A>v;v+=4)(F=(d.charCodeAt(v)<<24)+(d.charCodeAt(v+1)<<16)+(d.charCodeAt(v+2)<<8)+d.charCodeAt(v+3))!==0?(B=(F=((F=((F=((F=(F-(T=F%85))/85)-(O=F%85))/85)-(z=F%85))/85)-(p=F%85))/85)%85,h.push(B+33,p+33,z+33,O+33,T+33)):h.push(122);return(function(j,Z){for(var Q=Z;Q>0;Q--)j.pop()})(h,c.length),String.fromCharCode.apply(String,h)+"~>"},i=function(d){var c,h,v,A,F,B=String,p="length",z=255,O="charCodeAt",T="slice",j="replace";for(d[T](-2),d=d[T](0,-2)[j](/\s/g,"")[j]("z","!!!!!"),v=[],A=0,F=(d+=c="uuuuu"[T](d[p]%5||5))[p];F>A;
41A+=5)h=52200625*(d[O](A)-33)+614125*(d[O](A+1)-33)+7225*(d[O](A+2)-33)+85*(d[O](A+3)-33)+(d[O](A+4)-33),v.push(z&h>>24,z&h>>16,z&h>>8,z&h);return(function(Z,Q){for(var nt=Q;nt>0;nt--)Z.pop()})(v,c[p]),B.fromCharCode.apply(B,v)},a=function(d){return d.split("").map(function(c){return("0"+c.charCodeAt().toString(16)).slice(-2)}).join("")+">"},s=function(d){var c=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((d=d.replace(/\s/g,"")).indexOf(">")!==-1&&(d=d.substr(0,d.indexOf(">"))),d.length%2&&(d+="0"),c.test(d)===!1)return"";for(var h="",v=0;v<d.length;v+=2)h+=String.fromCharCode("0x"+(d[v]+d[v+1]));return h},u=function(d){for(var c=new Uint8Array(d.length),h=d.length;h--;)c[h]=d.charCodeAt(h);return(c=Yo(c)).reduce(function(v,A){return v+String.fromCharCode(A)},"")};r.processDataByFilters=function(d,c){var h=0,v=d||"",A=[];for(typeof(c=c||[])=="string"&&(c=[c]),h=0;h<c.length;h+=1)switch(c[h]){case"ASCII85Decode":case"/ASCII85Decode":v=i(v),A.push("/ASCII85Encode");break;case"ASCII85Encode":case"/ASCII85Encode":v=e(v),A.push("/ASCII85Decode");break;case"ASCIIHexDecode":case"/ASCIIHexDecode":v=s(v),A.push("/ASCIIHexEncode");break;case"ASCIIHexEncode":case"/ASCIIHexEncode":v=a(v),A.push("/ASCIIHexDecode");break;case"FlateEncode":case"/FlateEncode":v=u(v),A.push("/FlateDecode");break;default:throw new Error('The filter: "'+c[h]+'" is not implemented')}return{data:v,reverseChain:A.reverse().join(" ")}}})(qt.API),(function(r){r.loadFile=function(e,i,a){return(function(s,u,d){u=u!==!1,d=typeof d=="function"?d:function(){};var c=void 0;try{c=(function(h,v,A){var F=new XMLHttpRequest,B=0,p=function(z){var O=z.length,T=[],j=String.fromCharCode;for(B=0;B<O;B+=1)T.push(j(255&z.charCodeAt(B)));return T.join("")};if(F.open("GET",h,!v),F.overrideMimeType("text/plain; charset=x-user-defined"),v===!1&&(F.onload=function(){F.status===200?A(p(this.responseText)):A(void 0)}),F.send(null),v&&F.status===200)return p(F.responseText)})(s,u,d)}catch{}return c})(e,i,a)},r.allowFsRead=void 0,r.loadImageFile=r.loadFile})(qt.API),(function(r){function e(){return(Xt.html2canvas?Promise.resolve(Xt.html2canvas):Ro(()=>import("./html2canvas-CSVheoKU.js").then(c=>c.a),[])).catch(function(c){return Promise.reject(new Error("Could not load html2canvas: "+c))}).then(function(c){return c.default?c.default:c})}function i(){return(Xt.DOMPurify?Promise.resolve(Xt.DOMPurify):Ro(()=>import("./vendor-utils-DFOuek15.js").then(c=>c.N),__vite__mapDeps([0,1,2]))).catch(function(c){return Promise.reject(new Error("Could not load dompurify: "+c))}).then(function(c){return c.default?c.default:c})}var a=function(c){var h=Se(c);return h==="undefined"?"undefined":h==="string"||c instanceof String?"string":h==="number"||c instanceof Number?"number":h==="function"||c instanceof Function?"function":c&&c.constructor===Array?"array":c&&c.nodeType===1?"element":h==="object"?"object":"unknown"},s=function(c,h){var v=document.createElement(c);for(var A in h.className&&(v.className=h.className),h.innerHTML&&h.dompurify&&(v.innerHTML=h.dompurify.sanitize(h.innerHTML)),h.style)v.style[A]=h.style[A];return v},u=function c(h,v){for(var A=h.nodeType===3?document.createTextNode(h.nodeValue):h.cloneNode(!1),F=h.firstChild;F;F=F.nextSibling)v!==!0&&F.nodeType===1&&F.nodeName==="SCRIPT"||A.appendChild(c(F,v));return h.nodeType===1&&(h.nodeName==="CANVAS"?(A.width=h.width,A.height=h.height,A.getContext("2d").drawImage(h,0,0)):h.nodeName!=="TEXTAREA"&&h.nodeName!=="SELECT"||(A.value=h.value),A.addEventListener("load",function(){A.scrollTop=h.scrollTop,A.scrollLeft=h.scrollLeft},!0)),A},d=function c(h){var v=Object.assign(c.convert(Promise.resolve()),JSON.parse(JSON.stringify(c.template))),A=c.convert(Promise.resolve(),v);return(A=A.setProgress(1,c,1,[c])).set(h)};(d.prototype=Object.create(Promise.prototype)).constructor=d,d.convert=function(c,h){return c.__proto__=h||d.prototype,c},d.template={prop:{src:null,container:null,overlay:null,canvas:null,img:null,pdf:null,pageSize:null,callback:function(){}},progress:{val:0,state:null,n:0,stack:[]},opt:{filename:"file.pdf",margin:[0,0,0,0],enableLinks:!0,x:0,y:0,html2canvas:{},jsPDF:{},backgroundColor:"transparent"}},d.prototype.from=function(c,h){return this.then(function(){switch(h=h||(function(v){switch(a(v)){case"string":return"string";case"element":return v.nodeName.toLowerCase()==="canvas"?"canvas":"element";default:return"unknown"}})(c),h){case"string":return this.then(i).then(function(v){return this.set({src:s("div",{innerHTML:c,dompurify:v})})});case"element":return this.set({src:c});case"canvas":return this.set({canvas:c});case"img":return this.set({img:c});default:return this.error("Unknown source type.")}})},d.prototype.to=function(c){switch(c){case"container":return this.toContainer();case"canvas":return this.toCanvas();case"img":return this.toImg();
vendor: 34,168 bytes, lines 41-49
41case"pdf":return this.toPdf();default:return this.error("Invalid target.")}},d.prototype.toContainer=function(){return this.thenList([function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}]).then(function(){var c={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},h=u(this.prop.src,this.opt.html2canvas.javascriptEnabled);h.tagName==="BODY"&&(c.height=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight)+"px"),this.prop.overlay=s("div",{className:"html2pdf__overlay",style:{position:"fixed",overflow:"hidden",zIndex:1e3,left:"-100000px",right:0,bottom:0,top:0}}),this.prop.container=s("div",{className:"html2pdf__container",style:c}),this.prop.container.appendChild(h),this.prop.container.firstChild.appendChild(s("div",{style:{clear:"both",border:"0 none transparent",margin:0,padding:0,height:0}})),this.prop.container.style.float="none",this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay),this.prop.container.firstChild.style.position="relative",this.prop.container.height=Math.max(this.prop.container.firstChild.clientHeight,this.prop.container.firstChild.scrollHeight,this.prop.container.firstChild.offsetHeight)+"px"})},d.prototype.toCanvas=function(){var c=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(c).then(e).then(function(h){var v=Object.assign({},this.opt.html2canvas);return delete v.onrendered,h(this.prop.container,v)}).then(function(h){(this.opt.html2canvas.onrendered||function(){})(h),this.prop.canvas=h,document.body.removeChild(this.prop.overlay)})},d.prototype.toContext2d=function(){var c=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(c).then(e).then(function(h){var v=this.opt.jsPDF,A=this.opt.fontFaces,F=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,B=Object.assign({async:!0,allowTaint:!0,scale:F,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 B.onrendered,v.context2d.autoPaging=this.opt.autoPaging===void 0||this.opt.autoPaging,v.context2d.posX=this.opt.x,v.context2d.posY=this.opt.y,v.context2d.margin=this.opt.margin,v.context2d.fontFaces=A,A)for(var p=0;p<A.length;++p){var z=A[p],O=z.src.find(function(T){return T.format==="truetype"});O&&v.addFont(O.url,z.ref.name,z.ref.style)}return B.windowHeight=B.windowHeight||0,B.windowHeight=B.windowHeight==0?Math.max(this.prop.container.clientHeight,this.prop.container.scrollHeight,this.prop.container.offsetHeight):B.windowHeight,v.context2d.save(!0),h(this.prop.container,B)}).then(function(h){this.opt.jsPDF.context2d.restore(!0),(this.opt.html2canvas.onrendered||function(){})(h),this.prop.canvas=h,document.body.removeChild(this.prop.overlay)})},d.prototype.toImg=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()}]).then(function(){var c=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=c})},d.prototype.toPdf=function(){return this.thenList([function(){return this.toContext2d()}]).then(function(){this.prop.pdf=this.prop.pdf||this.opt.jsPDF})},d.prototype.output=function(c,h,v){return(v=v||"pdf").toLowerCase()==="img"||v.toLowerCase()==="image"?this.outputImg(c,h):this.outputPdf(c,h)},d.prototype.outputPdf=function(c,h){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){return this.prop.pdf.output(c,h)})},d.prototype.outputImg=function(c){return this.thenList([function(){return this.prop.img||this.toImg()}]).then(function(){switch(c){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 "'+c+'" is not supported.'}})},d.prototype.save=function(c){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).set(c?{filename:c}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},d.prototype.doCallback=function(){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){this.prop.callback(this.prop.pdf)})},d.prototype.set=function(c){if(a(c)!=="object")return this;var h=Object.keys(c||{}).map(function(v){if(v in d.template.prop)return function(){this.prop[v]=c[v]};switch(v){case"margin":return this.setMargin.bind(this,c.margin);case"jsPDF":return function(){return this.opt.jsPDF=c.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,c.pageSize);default:return function(){this.opt[v]=c[v]}}},this);return this.then(function(){return this.thenList(h)})},d.prototype.get=function(c,h){return this.then(function(){var v=c in d.template.prop?this.prop[c]:this.opt[c];return h?h(v):v})},d.prototype.setMargin=function(c){return this.then(function(){switch(a(c)){case"number":c=[c,c,c,c];case"array":if(c.length===2&&(c=[c[0],c[1],c[0],c[1]]),c.length===4)break;default:return this.error("Invalid margin array.")}this.opt.margin=c}).then(this.setPageSize)},d.prototype.setPageSize=function(c){function h(v,A){return Math.floor(v*A/72*96)}return this.then(function(){(c=c||qt.getPageSize(this.opt.jsPDF)).hasOwnProperty("inner")||(c.inner={width:c.width-this.opt.margin[1]-this.opt.margin[3],height:c.height-this.opt.margin[0]-this.opt.margin[2]},c.inner.px={width:h(c.inner.width,c.k),height:h(c.inner.height,c.k)},c.inner.ratio=c.inner.height/c.inner.width),this.prop.pageSize=c})},d.prototype.setProgress=function(c,h,v,A){return c!=null&&(this.progress.val=c),h!=null&&(this.progress.state=h),v!=null&&(this.progress.n=v),A!=null&&(this.progress.stack=A),this.progress.ratio=this.progress.val/this.progress.state,this},d.prototype.updateProgress=function(c,h,v,A){return this.setProgress(c?this.progress.val+c:null,h||null,v?this.progress.n+v:null,A?this.progress.stack.concat(A):null)},d.prototype.then=function(c,h){var v=this;return this.thenCore(c,h,function(A,F){return v.updateProgress(null,null,1,[A]),Promise.prototype.then.call(this,function(B){return v.updateProgress(null,A),B}).then(A,F).then(function(B){return v.updateProgress(1),B})})},d.prototype.thenCore=function(c,h,v){v=v||Promise.prototype.then;var A=this;c&&(c=c.bind(A)),h&&(h=h.bind(A));var F=Promise.toString().indexOf("[native code]")!==-1&&Promise.name==="Promise"?A:d.convert(Object.assign({},A),Promise.prototype),B=v.call(F,c,h);return d.convert(B,A.__proto__)},d.prototype.thenExternal=function(c,h){return Promise.prototype.then.call(this,c,h)},d.prototype.thenList=function(c){var h=this;return c.forEach(function(v){h=h.thenCore(v)}),h},d.prototype.catch=function(c){c&&(c=c.bind(this));var h=Promise.prototype.catch.call(this,c);return d.convert(h,this)},d.prototype.catchExternal=function(c){return Promise.prototype.catch.call(this,c)},d.prototype.error=function(c){return this.then(function(){throw new Error(c)})},d.prototype.using=d.prototype.set,d.prototype.saveAs=d.prototype.save,d.prototype.export=d.prototype.output,d.prototype.run=d.prototype.then,qt.getPageSize=function(c,h,v){if(Se(c)==="object"){var A=c;c=A.orientation,h=A.unit||h,v=A.format||v}h=h||"mm",v=v||"a4",c=(""+(c||"P")).toLowerCase();var F,B=(""+v).toLowerCase(),p={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};switch(h){case"pt":F=1;break;case"mm":F=72/25.4;break;case"cm":F=72/2.54;break;case"in":F=72;break;case"px":F=.75;break;case"pc":case"em":F=12;break;case"ex":F=6;break;default:throw"Invalid unit: "+h}var z,O=0,T=0;if(p.hasOwnProperty(B))O=p[B][1]/F,T=p[B][0]/F;else try{O=v[1],T=v[0]}catch{throw new Error("Invalid format: "+v)}if(c==="p"||c==="portrait")c="p",T>O&&(z=T,T=O,O=z);else{if(c!=="l"&&c!=="landscape")throw"Invalid orientation: "+c;c="l",O>T&&(z=T,T=O,O=z)}return{width:T,height:O,unit:h,k:F,orientation:c}},r.html=function(c,h){(h=h||{}).callback=h.callback||function(){},h.html2canvas=h.html2canvas||{},h.html2canvas.canvas=h.html2canvas.canvas||this.canvas,h.jsPDF=h.jsPDF||this,h.fontFaces=h.fontFaces?h.fontFaces.map(Ho):null;var v=new d(h);return h.worker?v:v.from(c).doCallback()}})(qt.API),qt.API.addJS=function(r){var e,i,a=(function(s){for(var u="",d=0;d<s.length;d++){var c=s[d];if(c==="("||c===")"){for(var h=0,v=d-1;v>=0&&s[v]==="\\";v--)h++;u+=h%2==0?"\\"+c:c}else u+=c}return u})(r);return this.internal.events.subscribe("postPutResources",function(){e=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(e+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),i=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+a+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){e!==void 0&&i!==void 0&&this.internal.out("/Names <</JavaScript "+e+" 0 R>>")}),this},(function(r){var e;r.events.push(["postPutResources",function(){var i=this,a=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var s=i.outline.render().split(/\r\n/),u=0;u<s.length;u++){var d=s[u],c=a.exec(d);if(c!=null){var h=c[1];i.internal.newObjectDeferredBegin(h,!1)}i.internal.write(d)}if(this.outline.createNamedDestinations){var v=this.internal.pages.length,A=[];for(u=0;u<v;u++){var F=i.internal.newObject();A.push(F);var B=i.internal.getPageInfo(u+1);i.internal.write("<< /D["+B.objId+" 0 R /XYZ null null null]>> endobj")}var p=i.internal.newObject();for(i.internal.write("<< /Names [ "),u=0;u<A.length;u++)i.internal.write("(page_"+(u+1)+")"+A[u]+" 0 R");i.internal.write(" ] >>","endobj"),e=i.internal.newObject(),i.internal.write("<< /Dests "+p+" 0 R"),i.internal.write(">>","endobj")}}]),r.events.push(["putCatalog",function(){var i=this;i.outline.root.children.length>0&&(i.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&i.internal.write("/Names "+e+" 0 R"))}]),r.events.push(["initialized",function(){var i=this;i.outline={createNamedDestinations:!1,root:{children:[]}},i.outline.add=function(a,s,u){var d={title:s,options:u,children:[]};return a==null&&(a=this.root),a.children.push(d),d},i.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=i,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},i.outline.genIds_r=function(a){a.id=i.internal.newObjectDeferred();for(var s=0;s<a.children.length;s++)this.genIds_r(a.children[s])},i.outline.renderRoot=function(a){this.objStart(a),this.line("/Type /Outlines"),a.children.length>0&&(this.line("/First "+this.makeRef(a.children[0])),this.line("/Last "+this.makeRef(a.children[a.children.length-1]))),this.line("/Count "+this.count_r({count:0},a)),this.objEnd()},i.outline.renderItems=function(a){for(var s=this.ctx.pdf.internal.getVerticalCoordinateString,u=0;u<a.children.length;u++){var d=a.children[u];this.objStart(d),this.line("/Title "+this.makeString(d.title)),this.line("/Parent "+this.makeRef(a)),u>0&&this.line("/Prev "+this.makeRef(a.children[u-1])),u<a.children.length-1&&this.line("/Next "+this.makeRef(a.children[u+1])),d.children.length>0&&(this.line("/First "+this.makeRef(d.children[0])),this.line("/Last "+this.makeRef(d.children[d.children.length-1])));var c=this.count=this.count_r({count:0},d);if(c>0&&this.line("/Count "+c),d.options&&d.options.pageNumber){var h=i.internal.getPageInfo(d.options.pageNumber);this.line("/Dest ["+h.objId+" 0 R /XYZ 0 "+s(0)+" 0]")}this.objEnd()}for(var v=0;v<a.children.length;v++)this.renderItems(a.children[v])},i.outline.line=function(a){this.ctx.val+=a+`\r
42`},i.outline.makeRef=function(a){return a.id+" 0 R"},i.outline.makeString=function(a){return"("+i.internal.pdfEscape(a)+")"},i.outline.objStart=function(a){this.ctx.val+=`\r
43`+a.id+` 0 obj\r
44<<\r
45`},i.outline.objEnd=function(){this.ctx.val+=`>> \r
46endobj\r
47`},i.outline.count_r=function(a,s){for(var u=0;u<s.children.length;u++)a.count++,this.count_r(a,s.children[u]);return a.count}}])})(qt.API),(function(r){var e=[192,193,194,195,196,197,198,199];r.processJPEG=function(i,a,s,u,d,c){var h,v=this.decode.DCT_DECODE,A=null;if(typeof i=="string"||this.__addimage__.isArrayBuffer(i)||this.__addimage__.isArrayBufferView(i)){switch(i=d||i,i=this.__addimage__.isArrayBuffer(i)?new Uint8Array(i):i,h=(function(F){for(var B,p=256*F.charCodeAt(4)+F.charCodeAt(5),z=F.length,O={width:0,height:0,numcomponents:1},T=4;T<z;T+=2){if(T+=p,e.indexOf(F.charCodeAt(T+1))!==-1){B=256*F.charCodeAt(T+5)+F.charCodeAt(T+6),O={width:256*F.charCodeAt(T+7)+F.charCodeAt(T+8),height:B,numcomponents:F.charCodeAt(T+9)};break}p=256*F.charCodeAt(T+2)+F.charCodeAt(T+3)}return O})(i=this.__addimage__.isArrayBufferView(i)?this.__addimage__.arrayBufferToBinaryString(i):i),h.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}A={data:i,width:h.width,height:h.height,colorSpace:c,bitsPerComponent:8,filter:v,index:a,alias:s}}return A}})(qt.API),qt.API.processPNG=function(r,e,i,a){if(this.__addimage__.isArrayBuffer(r)&&(r=new Uint8Array(r)),this.__addimage__.isArrayBufferView(r)){var s,u=Qu(r,{checkCrc:!0}),d=u.width,c=u.height,h=u.channels,v=u.palette,A=u.depth;s=v&&h===1?(function(st){for(var Y=st.width,gt=st.height,_=st.data,I=st.palette,R=st.depth,D=!1,at=[],lt=[],ft=void 0,$=!1,ct=0,Lt=0;Lt<I.length;Lt++){var bt=Bs(I[Lt],4),w=bt[0],C=bt[1],M=bt[2],H=bt[3];at.push(w,C,M),H!=null&&(H===0?(ct++,lt.length<1&&lt.push(Lt)):H<255&&($=!0))}if($||ct>1){D=!0,lt=void 0;var V=Y*gt;ft=new Uint8Array(V);for(var K=new DataView(_.buffer),tt=0;tt<V;tt++){var et=Vo(K,tt,R),ht=Bs(I[et],4)[3];ft[tt]=ht}}else ct===0&&(lt=void 0);return{colorSpace:"Indexed",colorsPerPixel:1,sMaskBitsPerComponent:D?8:void 0,colorBytes:_,alphaBytes:ft,needSMask:D,palette:at,mask:lt}})(u):h===2||h===4?(function(st){for(var Y=st.data,gt=st.width,_=st.height,I=st.channels,R=st.depth,D=I===2?"DeviceGray":"DeviceRGB",at=I-1,lt=gt*_,ft=at,$=lt*ft,ct=1*lt,Lt=Math.ceil($*R/8),bt=Math.ceil(ct*R/8),w=new Uint8Array(Lt),C=new Uint8Array(bt),M=new DataView(Y.buffer),H=new DataView(w.buffer),V=new DataView(C.buffer),K=!1,tt=0;tt<lt;tt++){for(var et=tt*I,ht=0;ht<ft;ht++)Qs(H,Vo(M,et+ht,R),tt*ft+ht,R);var wt=Vo(M,et+ft,R);wt<(1<<R)-1&&(K=!0),Qs(V,wt,1*tt,R)}return{colorSpace:D,colorsPerPixel:at,sMaskBitsPerComponent:K?R:void 0,colorBytes:w,alphaBytes:C,needSMask:K}})(u):(function(st){var Y=st.data,gt=st.channels===1?"DeviceGray":"DeviceRGB";return{colorSpace:gt,colorsPerPixel:gt==="DeviceGray"?1:3,colorBytes:Y instanceof Uint16Array?(function(_){for(var I=_.length,R=new Uint8Array(2*I),D=new DataView(R.buffer,R.byteOffset,R.byteLength),at=0;at<I;at++)D.setUint16(2*at,_[at],!1);return R})(Y):Y,needSMask:!1}})(u);var F,B,p,z=s,O=z.colorSpace,T=z.colorsPerPixel,j=z.sMaskBitsPerComponent,Z=z.colorBytes,Q=z.alphaBytes,nt=z.needSMask,yt=z.palette,xt=z.mask,Wt=null;return a!==qt.API.image_compression.NONE&&typeof Yo=="function"?(Wt=(function(st){var Y;switch(st){case qt.API.image_compression.FAST:Y=11;break;case qt.API.image_compression.MEDIUM:Y=13;break;case qt.API.image_compression.SLOW:Y=14;break;default:Y=12}return Y})(a),F=this.decode.FLATE_DECODE,B="/Predictor ".concat(Wt," /Colors ").concat(T," /BitsPerComponent ").concat(A," /Columns ").concat(d),r=Js(Z,Math.ceil(d*T*A/8),T,A,a),nt&&(p=Js(Q,Math.ceil(d*j/8),1,j,a))):(F=void 0,B=void 0,r=Z,nt&&(p=Q)),(this.__addimage__.isArrayBuffer(r)||this.__addimage__.isArrayBufferView(r))&&(r=this.__addimage__.arrayBufferToBinaryString(r)),(p&&this.__addimage__.isArrayBuffer(p)||this.__addimage__.isArrayBufferView(p))&&(p=this.__addimage__.arrayBufferToBinaryString(p)),{alias:i,data:r,index:e,filter:F,decodeParameters:B,transparency:xt,palette:yt,sMask:p,predictor:Wt,width:d,height:c,bitsPerComponent:A,sMaskBitsPerComponent:j,colorSpace:O}}},(function(r){r.processGIF89A=function(e,i,a,s){var u=new wl(e),d=u.width,c=u.height,h=[];u.decodeAndBlitFrameRGBA(0,h);var v={data:h,width:d,height:c},A=new Go(100).encode(v,100);return r.processJPEG.call(this,A,i,a,s)},r.processGIF87A=r.processGIF89A})(qt.API),Yn.prototype.parseHeader=function(){if(this.fileSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.reserved=this.datav.getUint32(this.pos,!0),this.pos+=4,this.offset=this.datav.getUint32(this.pos,!0),this.pos+=4,this.headerSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.width=this.datav.getUint32(this.pos,!0),this.pos+=4,this.height=this.datav.getInt32(this.pos,!0),this.pos+=4,this.planes=this.datav.getUint16(this.pos,!0),this.pos+=2,this.bitPP=this.datav.getUint16(this.pos,!0),this.pos+=2,this.compress=this.datav.getUint32(this.pos,!0),this.pos+=4,this.rawSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.hr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.vr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.colors=this.datav.getUint32(this.pos,!0),this.pos+=4,this.importantColors=this.datav.getUint32(this.pos,!0),this.pos+=4,this.bitPP===16&&this.is_with_alpha&&(this.bitPP=15),this.bitPP<15){var r=this.colors===0?1<<this.bitPP:this.colors;this.palette=new Array(r);for(var e=0;e<r;e++){var i=this.datav.getUint8(this.pos++,!0),a=this.datav.getUint8(this.pos++,!0),s=this.datav.getUint8(this.pos++,!0),u=this.datav.getUint8(this.pos++,!0);this.palette[e]={red:s,green:a,blue:i,quad:u}}}this.height<0&&(this.height*=-1,this.bottom_up=!1)},Yn.prototype.parseBGR=function(){this.pos=this.offset;var r="bit"+this.bitPP,e=this.width*this.height*4;if(e>536870912)throw new Error("Image dimensions exceed 512MB, which is too large.");this.data=new Uint8Array(e);try{this[r]()}catch(i){xe.log("bit decode error:"+i)}},Yn.prototype.bit1=function(){var r,e=Math.ceil(this.width/8),i=e%4;for(r=this.height-1;r>=0;r--){for(var a=this.bottom_up?r:this.height-1-r,s=0;s<e;s++)for(var u=this.datav.getUint8(this.pos++,!0),d=a*this.width*4+8*s*4,c=0;c<8&&8*s+c<this.width;c++){var h=this.palette[u>>7-c&1];this.data[d+4*c]=h.blue,this.data[d+4*c+1]=h.green,this.data[d+4*c+2]=h.red,this.data[d+4*c+3]=255}i!==0&&(this.pos+=4-i)}},Yn.prototype.bit4=function(){for(var r=Math.ceil(this.width/2),e=r%4,i=this.height-1;i>=0;i--){for(var a=this.bottom_up?i:this.height-1-i,s=0;s<r;s++){var u=this.datav.getUint8(this.pos++,!0),d=a*this.width*4+2*s*4,c=u>>4,h=15&u,v=this.palette[c];if(this.data[d]=v.blue,this.data[d+1]=v.green,this.data[d+2]=v.red,this.data[d+3]=255,2*s+1>=this.width)break;v=this.palette[h],this.data[d+4]=v.blue,this.data[d+4+1]=v.green,this.data[d+4+2]=v.red,this.data[d+4+3]=255}e!==0&&(this.pos+=4-e)}},Yn.prototype.bit8=function(){for(var r=this.width%4,e=this.height-1;e>=0;e--){for(var i=this.bottom_up?e:this.height-1-e,a=0;a<this.width;a++){var s=this.datav.getUint8(this.pos++,!0),u=i*this.width*4+4*a;if(s<this.palette.length){var d=this.palette[s];this.data[u]=d.red,this.data[u+1]=d.green,this.data[u+2]=d.blue,this.data[u+3]=255}else this.data[u]=255,this.data[u+1]=255,this.data[u+2]=255,this.data[u+3]=255}r!==0&&(this.pos+=4-r)}},Yn.prototype.bit15=function(){for(var r=this.width%3,e=parseInt("11111",2),i=this.height-1;i>=0;i--){for(var a=this.bottom_up?i:this.height-1-i,s=0;s<this.width;s++){var u=this.datav.getUint16(this.pos,!0);this.pos+=2;var d=(u&e)/e*255|0,c=(u>>5&e)/e*255|0,h=(u>>10&e)/e*255|0,v=u>>15?255:0,A=a*this.width*4+4*s;this.data[A]=h,this.data[A+1]=c,this.data[A+2]=d,this.data[A+3]=v}this.pos+=r}},Yn.prototype.bit16=function(){for(var r=this.width%3,e=parseInt("11111",2),i=parseInt("111111",2),a=this.height-1;a>=0;a--){for(var s=this.bottom_up?a:this.height-1-a,u=0;u<this.width;u++){var d=this.datav.getUint16(this.pos,!0);this.pos+=2;var c=(d&e)/e*255|0,h=(d>>5&i)/i*255|0,v=(d>>11)/e*255|0,A=s*this.width*4+4*u;this.data[A]=v,this.data[A+1]=h,this.data[A+2]=c,this.data[A+3]=255}this.pos+=r}},Yn.prototype.bit24=function(){for(var r=this.height-1;r>=0;r--){for(var e=this.bottom_up?r:this.height-1-r,i=0;i<this.width;i++){var a=this.datav.getUint8(this.pos++,!0),s=this.datav.getUint8(this.pos++,!0),u=this.datav.getUint8(this.pos++,!0),d=e*this.width*4+4*i;this.data[d]=u,this.data[d+1]=s,this.data[d+2]=a,this.data[d+3]=255}this.pos+=this.width%4}},Yn.prototype.bit32=function(){for(var r=this.height-1;r>=0;r--)for(var e=this.bottom_up?r:this.height-1-r,i=0;i<this.width;i++){var a=this.datav.getUint8(this.pos++,!0),s=this.datav.getUint8(this.pos++,!0),u=this.datav.getUint8(this.pos++,!0),d=this.datav.getUint8(this.pos++,!0),c=e*this.width*4+4*i;this.data[c]=u,this.data[c+1]=s,this.data[c+2]=a,this.data[c+3]=d}},Yn.prototype.getData=function(){return this.data},(function(r){r.processBMP=function(e,i,a,s){var u=new Yn(e,!1),d=u.width,c=u.height,h={data:u.getData(),width:d,height:c},v=new Go(100).encode(h,100);return r.processJPEG.call(this,v,i,a,s)}})(qt.API),eu.prototype.getData=function(){return this.data},(function(r){r.processWEBP=function(e,i,a,s){var u=new eu(e),d=u.width,c=u.height,h={data:u.getData(),width:d,height:c},v=new Go(100).encode(h,100);return r.processJPEG.call(this,v,i,a,s)}})(qt.API),qt.API.processRGBA=function(r,e,i){for(var a=r.data,s=a.length,u=new Uint8Array(s/4*3),d=new Uint8Array(s/4),c=0,h=0,v=0;v<s;v+=4){var A=a[v],F=a[v+1],B=a[v+2],p=a[v+3];u[c++]=A,u[c++]=F,u[c++]=B,d[h++]=p}var z=this.__addimage__.arrayBufferToBinaryString(u);return{alpha:this.__addimage__.arrayBufferToBinaryString(d),data:z,index:e,alias:i,colorSpace:"DeviceRGB",bitsPerComponent:8,width:r.width,height:r.height}},qt.API.setLanguage=function(r){return this.internal.languageSettings===void 0&&(this.internal.languageSettings={},this.internal.languageSettings.isSubscribed=!1),{af:"Afrikaans",sq:"Albanian",ar:"Arabic (Standard)","ar-DZ":"Arabic (Algeria)","ar-BH":"Arabic (Bahrain)","ar-EG":"Arabic (Egypt)","ar-IQ":"Arabic (Iraq)","ar-JO":"Arabic (Jordan)","ar-KW":"Arabic (Kuwait)","ar-LB":"Arabic (Lebanon)","ar-LY":"Arabic (Libya)","ar-MA":"Arabic (Morocco)","ar-OM":"Arabic (Oman)","ar-QA":"Arabic (Qatar)","ar-SA":"Arabic (Saudi Arabia)","ar-SY":"Arabic (Syria)","ar-TN":"Arabic (Tunisia)","ar-AE":"Arabic (U.A.E.)","ar-YE":"Arabic (Yemen)",an:"Aragonese",hy:"Armenian",as:"Assamese",ast:"Asturian",az:"Azerbaijani",eu:"Basque",be:"Belarusian",bn:"Bengali",bs:"Bosnian",br:"Breton",bg:"Bulgarian",my:"Burmese",ca:"Catalan",ch:"Chamorro",ce:"Chechen",zh:"Chinese","zh-HK":"Chinese (Hong Kong)","zh-CN":"Chinese (PRC)","zh-SG":"Chinese (Singapore)","zh-TW":"Chinese (Taiwan)",cv:"Chuvash",co:"Corsican",cr:"Cree",hr:"Croatian",cs:"Czech",da:"Danish",nl:"Dutch (Standard)","nl-BE":"Dutch (Belgian)",en:"English","en-AU":"English (Australia)","en-BZ":"English (Belize)","en-CA":"English (Canada)","en-IE":"English (Ireland)","en-JM":"English (Jamaica)","en-NZ":"English (New Zealand)","en-PH":"English (Philippines)","en-ZA":"English (South Africa)","en-TT":"English (Trinidad & Tobago)","en-GB":"English (United Kingdom)","en-US":"English (United States)","en-ZW":"English (Zimbabwe)",eo:"Esperanto",et:"Estonian",fo:"Faeroese",fj:"Fijian",fi:"Finnish",fr:"French (Standard)","fr-BE":"French (Belgium)","fr-CA":"French (Canada)","fr-FR":"French (France)","fr-LU":"French (Luxembourg)","fr-MC":"French (Monaco)","fr-CH":"French (Switzerland)",fy:"Frisian",fur:"Friulian",gd:"Gaelic (Scots)","gd-IE":"Gaelic (Irish)",gl:"Galacian",ka:"Georgian",de:"German (Standard)","de-AT":"German (Austria)","de-DE":"German (Germany)","de-LI":"German (Liechtenstein)","de-LU":"German (Luxembourg)","de-CH":"German (Switzerland)",el:"Greek",gu:"Gujurati",ht:"Haitian",he:"Hebrew",hi:"Hindi",hu:"Hungarian",is:"Icelandic",id:"Indonesian",iu:"Inuktitut",ga:"Irish",it:"Italian (Standard)","it-CH":"Italian (Switzerland)",ja:"Japanese",kn:"Kannada",ks:"Kashmiri",kk:"Kazakh",km:"Khmer",ky:"Kirghiz",tlh:"Klingon",ko:"Korean","ko-KP":"Korean (North Korea)","ko-KR":"Korean (South Korea)",la:"Latin",lv:"Latvian",lt:"Lithuanian",lb:"Luxembourgish",mk:"North Macedonia",ms:"Malay",ml:"Malayalam",mt:"Maltese",mi:"Maori",mr:"Marathi",mo:"Moldavian",nv:"Navajo",ng:"Ndonga",ne:"Nepali",no:"Norwegian",nb:"Norwegian (Bokmal)",nn:"Norwegian (Nynorsk)",oc:"Occitan",or:"Oriya",om:"Oromo",fa:"Persian","fa-IR":"Persian/Iran",pl:"Polish",pt:"Portuguese","pt-BR":"Portuguese (Brazil)",pa:"Punjabi","pa-IN":"Punjabi (India)","pa-PK":"Punjabi (Pakistan)",qu:"Quechua",rm:"Rhaeto-Romanic",ro:"Romanian","ro-MO":"Romanian (Moldavia)",ru:"Russian","ru-MO":"Russian (Moldavia)",sz:"Sami (Lappish)",sg:"Sango",sa:"Sanskrit",sc:"Sardinian",sd:"Sindhi",si:"Singhalese",sr:"Serbian",sk:"Slovak",sl:"Slovenian",so:"Somani",sb:"Sorbian",es:"Spanish","es-AR":"Spanish (Argentina)","es-BO":"Spanish (Bolivia)","es-CL":"Spanish (Chile)","es-CO":"Spanish (Colombia)","es-CR":"Spanish (Costa Rica)","es-DO":"Spanish (Dominican Republic)","es-EC":"Spanish (Ecuador)","es-SV":"Spanish (El Salvador)","es-GT":"Spanish (Guatemala)","es-HN":"Spanish (Honduras)","es-MX":"Spanish (Mexico)","es-NI":"Spanish (Nicaragua)","es-PA":"Spanish (Panama)","es-PY":"Spanish (Paraguay)","es-PE":"Spanish (Peru)","es-PR":"Spanish (Puerto Rico)","es-ES":"Spanish (Spain)","es-UY":"Spanish (Uruguay)","es-VE":"Spanish (Venezuela)",sx:"Sutu",sw:"Swahili",sv:"Swedish","sv-FI":"Swedish (Finland)","sv-SV":"Swedish (Sweden)",ta:"Tamil",tt:"Tatar",te:"Teluga",th:"Thai",tig:"Tigre",ts:"Tsonga",tn:"Tswana",tr:"Turkish",tk:"Turkmen",uk:"Ukrainian",hsb:"Upper Sorbian",ur:"Urdu",ve:"Venda",vi:"Vietnamese",vo:"Volapuk",wa:"Walloon",cy:"Welsh",xh:"Xhosa",ji:"Yiddish",zu:"Zulu"}[r]!==void 0&&(this.internal.languageSettings.languageCode=r,this.internal.languageSettings.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){this.internal.write("/Lang ("+this.internal.languageSettings.languageCode+")")}),this.internal.languageSettings.isSubscribed=!0)),this},Bi=qt.API,Ya=Bi.getCharWidthsArray=function(r,e){var i,a,s=(e=e||{}).font||this.internal.getFont(),u=e.fontSize||this.internal.getFontSize(),d=e.charSpace||this.internal.getCharSpace(),c=e.widths?e.widths:s.metadata.Unicode.widths,h=c.fof?c.fof:1,v=e.kerning?e.kerning:s.metadata.Unicode.kerning,A=v.fof?v.fof:1,F=e.doKerning!==!1,B=0,p=r.length,z=0,O=c[0]||h,T=[];for(i=0;i<p;i++)a=r.charCodeAt(i),typeof s.metadata.widthOfString=="function"?T.push((s.metadata.widthOfGlyph(s.metadata.characterToGlyph(a))+d*(1e3/u)||0)/1e3):(B=F&&Se(v[a])==="object"&&!isNaN(parseInt(v[a][z],10))?v[a][z]/A:0,T.push((c[a]||O)/h+B)),z=a;return T},Vs=Bi.getStringUnitWidth=function(r,e){var i=(e=e||{}).fontSize||this.internal.getFontSize(),a=e.font||this.internal.getFont(),s=e.charSpace||this.internal.getCharSpace();return Bi.processArabic&&(r=Bi.processArabic(r)),typeof a.metadata.widthOfString=="function"?a.metadata.widthOfString(r,i,s)/i:Ya.apply(this,arguments).reduce(function(u,d){return u+d},0)},Gs=function(r,e,i,a){for(var s=[],u=0,d=r.length,c=0;u!==d&&c+e[u]<i;)c+=e[u],u++;s.push(r.slice(0,u));var h=u;for(c=0;u!==d;)c+e[u]>a&&(s.push(r.slice(h,u)),c=0,h=u),c+=e[u],u++;return h!==u&&s.push(r.slice(h,u)),s},Ys=function(r,e,i){i||(i={});var a,s,u,d,c,h,v,A=[],F=[A],B=i.textIndent||0,p=0,z=0,O=r.split(" "),T=Ya.apply(this,[" ",i])[0];if(h=i.lineIndent===-1?O[0].length+2:i.lineIndent||0){var j=Array(h).join(" "),Z=[];O.map(function(nt){(nt=nt.split(/\s*\n/)).length>1?Z=Z.concat(nt.map(function(yt,xt){return(xt&&yt.length?`
48`:"")+yt})):Z.push(nt[0])}),O=Z,h=Vs.apply(this,[j,i])}for(u=0,d=O.length;u<d;u++){var Q=0;if(a=O[u],h&&a[0]==`
49`&&(a=a.substr(1),Q=1),B+p+(z=(s=Ya.apply(this,[a,i])).reduce(function(nt,yt){return nt+yt},0))>e||Q){if(z>e){for(c=Gs.apply(this,[a,s,e-(B+p),e]),A.push(c.shift()),A=[c.pop()];c.length;)F.push([c.shift()]);z=s.slice(a.length-(A[0]?A[0].length:0)).reduce(function(nt,yt){return nt+yt},0)}else A=[a];F.push(A),B=z+h,p=T}else A.push(a),B+=p+z,p=T}return v=h?function(nt,yt){return(yt?j:"")+nt.join(" ")}:function(nt){return nt.join(" ")},F.map(v)},Bi.splitTextToSize=function(r,e,i){var a,s=(i=i||{}).fontSize||this.internal.getFontSize(),u=(function(A){if(A.widths&&A.kerning)return{widths:A.widths,kerning:A.kerning};var F=this.internal.getFont(A.fontName,A.fontStyle),B="Unicode";return F.metadata[B]?{widths:F.metadata[B].widths||{0:1},kerning:F.metadata[B].kerning||{}}:{font:F.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}).call(this,i);a=Array.isArray(r)?r:String(r).split(/\r?\n/);var d=1*this.internal.scaleFactor*e/s;u.textIndent=i.textIndent?1*i.textIndent*this.internal.scaleFactor/s:0,u.lineIndent=i.lineIndent;var c,h,v=[];for(c=0,h=a.length;c<h;c++)v=v.concat(Ys.apply(this,[a[c],d,u]));return v},(function(r){r.__fontmetrics__=r.__fontmetrics__||{};for(var e="0123456789abcdef",i="klmnopqrstuvwxyz",a={},s={},u=0;u<16;u++)a[i[u]]=e[u],s[e[u]]=i[u];var d=function(B){return"0x"+parseInt(B,10).toString(16)},c=r.__fontmetrics__.compress=function(B){var p,z,O,T,j=["{"];for(var Z in B){if(p=B[Z],isNaN(parseInt(Z,10))?z="'"+Z+"'":(Z=parseInt(Z,10),z=(z=d(Z).slice(2)).slice(0,-1)+s[z.slice(-1)]),typeof p=="number")p<0?(O=d(p).slice(3),T="-"):(O=d(p).slice(2),T=""),O=T+O.slice(0,-1)+s[O.slice(-1)];else{if(Se(p)!=="object")throw new Error("Don't know what to do with value type "+Se(p)+".");O=c(p)}j.push(z+O)}return j.push("}"),j.join("")},h=r.__fontmetrics__.uncompress=function(B){if(typeof B!="string")throw new Error("Invalid argument passed to uncompress.");for(var p,z,O,T,j={},Z=1,Q=j,nt=[],yt="",xt="",Wt=B.length-1,st=1;st<Wt;st+=1)(T=B[st])=="'"?p?(O=p.join(""),p=void 0):p=[]:p?p.push(T):T=="{"?(nt.push([Q,O]),Q={},O=void 0):T=="}"?((z=nt.pop())[0][z[1]]=Q,O=void 0,Q=z[0]):T=="-"?Z=-1:O===void 0?a.hasOwnProperty(T)?(yt+=a[T],O=parseInt(yt,16)*Z,Z=1,yt=""):yt+=T:a.hasOwnProperty(T)?(xt+=a[T],Q[O]=parseInt(xt,16)*Z,Z=1,O=void 0,xt=""):xt+=T;return j},v={codePages:["WinAnsiEncoding"],WinAnsiEncoding:h("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},A={Unicode:{Courier:v,"Courier-Bold":v,"Courier-BoldOblique":v,"Courier-Oblique":v,Helvetica:v,"Helvetica-Bold":v,"Helvetica-BoldOblique":v,"Helvetica-Oblique":v,"Times-Roman":v,"Times-Bold":v,"Times-BoldItalic":v,"Times-Italic":v}},F={Unicode:{"Courier-Oblique":h("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":h("{'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":h("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4y
49dn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'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:h("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-BoldOblique":h("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Bold":h("{'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:h("{'widths'{k3uaw4r19m3m2k1t2l2l202m2y2n3m2p5n202q6o3k3m2s2l2t2l2v3r2w1t3m3m2y1t2z1wbk2sbl3r'fof'6o3n3m3o3m3p3m3q3m3r3m3s3m3t3m3u1w3v1w3w3r3x3r3y3r3z2wbp3t3l3m5v2l5x2l5z3m2q4yfr3r7v3k7w1o7x3k}'kerning'{'fof'-6o}}"),Helvetica:h("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4y
49dn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'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":h("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4y
49dn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'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:h("{'widths'{k4u2k1w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-Bold":h("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Italic":h("{'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}
49fv{17su5tu5qs}fw{17su5tu5qs}}}"),"Times-Roman":h("{'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":h("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4y
49dn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'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}}}")}};r.events.push(["addFont",function(B){var p=B.font,z=F.Unicode[p.postScriptName];z&&(p.metadata.Unicode={},p.metadata.Unicode.widths=z.widths,p.metadata.Unicode.kerning=z.kerning);var O=A.Unicode[p.postScriptName];O&&(p.metadata.Unicode.encoding=O,p.encoding=O.codePages[0])}])})(qt.API),(function(r){var e=function(i){for(var a=i.length,s=new Uint8Array(a),u=0;u<a;u++)s[u]=i.charCodeAt(u);return s};r.API.events.push(["addFont",function(i){var a=void 0,s=i.font,u=i.instance;if(!s.isStandardFont){if(u===void 0)throw new Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+s.postScriptName+"').");if(typeof(a=u.existsFileInVFS(s.postScriptName)===!1?u.loadFile(s.postScriptName):u.getFileFromVFS(s.postScriptName))!="string")throw new Error("Font is not stored as string-data in vFS, import fonts or remove declaration doc.addFont('"+s.postScriptName+"').");(function(d,c){c=/^\x00\x01\x00\x00/.test(c)?e(c):e(Ja(c)),d.metadata=r.API.TTFFont.open(c),d.metadata.Unicode=d.metadata.Unicode||{encoding:{},kerning:{},widths:[]},d.metadata.glyIdsUsed=[0]})(s,a)}}])})(qt),qt.API.addSvgAsImage=function(r,e,i,a,s,u,d,c){if(isNaN(e)||isNaN(i))throw xe.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(a)||isNaN(s))throw xe.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var h=document.createElement("canvas");h.width=a,h.height=s;var v=h.getContext("2d");v.fillStyle="#fff",v.fillRect(0,0,h.width,h.height);var A={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},F=this;return(Xt.canvg?Promise.resolve(Xt.canvg):Ro(()=>import("./vendor-Dx2dWfFM.js").then(B=>B.i2),__vite__mapDeps([1,2]))).catch(function(B){return Promise.reject(new Error("Could not load canvg: "+B))}).then(function(B){return B.default?B.default:B}).then(function(B){return B.fromString(v,r,A)},function(){return Promise.reject(new Error("Could not load canvg."))}).then(function(B){return B.render(A)}).then(function(){F.addImage(h.toDataURL("image/jpeg",1),e,i,a,s,d,c)})},qt.API.putTotalPages=function(r){var e,i=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(e=new RegExp(r,"g"),i=this.internal.getNumberOfPages()):(e=new RegExp(this.pdfEscape16(r,this.internal.getFont()),"g"),i=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var a=1;a<=this.internal.getNumberOfPages();a++)for(var s=0;s<this.internal.pages[a].length;s++)this.internal.pages[a][s]=this.internal.pages[a][s].replace(e,i);return this},qt.API.viewerPreferences=function(r,e){var i;r=r||{},e=e||!1;var a,s,u,d={HideToolbar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideMenubar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideWindowUI:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},FitWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},CenterWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},DisplayDocTitle:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.4},NonFullScreenPageMode:{defaultValue:"UseNone",value:"UseNone",type:"name",explicitSet:!1,valueSet:["UseNone","UseOutlines","UseThumbs","UseOC"],pdfVersion:1.3},Direction:{defaultValue:"L2R",value:"L2R",type:"name",explicitSet:!1,valueSet:["L2R","R2L"],pdfVersion:1.3},ViewArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},ViewClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintScaling:{defaultValue:"AppDefault",value:"AppDefault",type:"name",explicitSet:!1,valueSet:["AppDefault","None"],pdfVersion:1.6},Duplex:{defaultValue:"",value:"none",type:"name",explicitSet:!1,valueSet:["Simplex","DuplexFlipShortEdge","DuplexFlipLongEdge","none"],pdfVersion:1.7},PickTrayByPDFSize:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.7},PrintPageRange:{defaultValue:"",value:"",type:"array",explicitSet:!1,valueSet:null,pdfVersion:1.7},NumCopies:{defaultValue:1,value:1,type:"integer",explicitSet:!1,valueSet:null,pdfVersion:1.7}},c=Object.keys(d),h=[],v=0,A=0,F=0;function B(z,O){var T,j=!1;for(T=0;T<z.length;T+=1)z[T]===O&&(j=!0);return j}if(this.internal.viewerpreferences===void 0&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(d)),this.internal.viewerpreferences.isSubscribed=!1),i=this.internal.viewerpreferences.configuration,r==="reset"||e===!0){var p=c.length;for(F=0;F<p;F+=1)i[c[F]].value=i[c[F]].defaultValue,i[c[F]].explicitSet=!1}if(Se(r)==="object"){for(s in r)if(u=r[s],B(c,s)&&u!==void 0){if(i[s].type==="boolean"&&typeof u=="boolean")i[s].value=u;else if(i[s].type==="name"&&B(i[s].valueSet,u))i[s].value=u;else if(i[s].type==="integer"&&Number.isInteger(u))i[s].value=u;else if(i[s].type==="array"){for(v=0;v<u.length;
vendor: 27,900 bytes, lines 49-77
49v+=1)if(a=!0,u[v].length===1&&typeof u[v][0]=="number")h.push(String(u[v]-1));else if(u[v].length>1){for(A=0;A<u[v].length;A+=1)typeof u[v][A]!="number"&&(a=!1);a===!0&&h.push([u[v][0]-1,u[v][1]-1].join(" "))}i[s].value="["+h.join(" ")+"]"}else i[s].value=i[s].defaultValue;i[s].explicitSet=!0}}return this.internal.viewerpreferences.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){var z,O=[];for(z in i)i[z].explicitSet===!0&&(i[z].type==="name"?O.push("/"+z+" /"+i[z].value):O.push("/"+z+" "+i[z].value));O.length!==0&&this.internal.write(`/ViewerPreferences
50<<
51`+O.join(`
52`)+`
53>>`)}),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=i,this},qt.API.addMetadata=function(r,e){return this.internal.__metadata__===void 0&&(this.internal.__metadata__={metadata:r,namespaceUri:e??"http://jspdf.default.namespaceuri/",rawXml:typeof e=="boolean"&&e},this.internal.events.subscribe("putCatalog",Nl),this.internal.events.subscribe("postPutResources",Ll)),this},(function(r){var e=r.API,i=e.pdfEscape16=function(u,d){for(var c,h=d.metadata.Unicode.widths,v=["","0","00","000","0000"],A=[""],F=0,B=u.length;F<B;++F){if(c=d.metadata.characterToGlyph(u.charCodeAt(F)),d.metadata.glyIdsUsed.push(c),d.metadata.toUnicode[c]=u.charCodeAt(F),h.indexOf(c)==-1&&(h.push(c),h.push([parseInt(d.metadata.widthOfGlyph(c),10)])),c=="0")return A.join("");c=c.toString(16),A.push(v[4-c.length],c)}return A.join("")},a=function(u){var d,c,h,v,A,F,B;for(A=`/CIDInit /ProcSet findresource begin
5412 dict begin
55begincmap
56/CIDSystemInfo <<
57  /Registry (Adobe)
58  /Ordering (UCS)
59  /Supplement 0
60>> def
61/CMapName /Adobe-Identity-UCS def
62/CMapType 2 def
631 begincodespacerange
64<0000><ffff>
65endcodespacerange`,h=[],F=0,B=(c=Object.keys(u).sort(function(p,z){return p-z})).length;F<B;F++)d=c[F],h.length>=100&&(A+=`
66`+h.length+` beginbfchar
67`+h.join(`
68`)+`
69endbfchar`,h=[]),u[d]!==void 0&&u[d]!==null&&typeof u[d].toString=="function"&&(v=("0000"+u[d].toString(16)).slice(-4),d=("0000"+(+d).toString(16)).slice(-4),h.push("<"+d+"><"+v+">"));return h.length&&(A+=`
70`+h.length+` beginbfchar
71`+h.join(`
72`)+`
73endbfchar
74`),A+`endcmap
75CMapName currentdict /CMap defineresource pop
76end
77end`};e.events.push(["putFont",function(u){(function(d){var c=d.font,h=d.out,v=d.newObject,A=d.putStream;if(c.metadata instanceof r.API.TTFFont&&c.encoding==="Identity-H"){for(var F=c.metadata.Unicode.widths,B=c.metadata.subset.encode(c.metadata.glyIdsUsed,1),p="",z=0;z<B.length;z++)p+=String.fromCharCode(B[z]);var O=v();A({data:p,addLength1:!0,objectId:O}),h("endobj");var T=v();A({data:a(c.metadata.toUnicode),addLength1:!0,objectId:T}),h("endobj");var j=v();h("<<"),h("/Type /FontDescriptor"),h("/FontName /"+Ei(c.fontName)),h("/FontFile2 "+O+" 0 R"),h("/FontBBox "+r.API.PDFObject.convert(c.metadata.bbox)),h("/Flags "+c.metadata.flags),h("/StemV "+c.metadata.stemV),h("/ItalicAngle "+c.metadata.italicAngle),h("/Ascent "+c.metadata.ascender),h("/Descent "+c.metadata.decender),h("/CapHeight "+c.metadata.capHeight),h(">>"),h("endobj");var Z=v();h("<<"),h("/Type /Font"),h("/BaseFont /"+Ei(c.fontName)),h("/FontDescriptor "+j+" 0 R"),h("/W "+r.API.PDFObject.convert(F)),h("/CIDToGIDMap /Identity"),h("/DW 1000"),h("/Subtype /CIDFontType2"),h("/CIDSystemInfo"),h("<<"),h("/Supplement 0"),h("/Registry (Adobe)"),h("/Ordering ("+c.encoding+")"),h(">>"),h(">>"),h("endobj"),c.objectNumber=v(),h("<<"),h("/Type /Font"),h("/Subtype /Type0"),h("/ToUnicode "+T+" 0 R"),h("/BaseFont /"+Ei(c.fontName)),h("/Encoding /"+c.encoding),h("/DescendantFonts ["+Z+" 0 R]"),h(">>"),h("endobj"),c.isAlreadyPutted=!0}})(u)}]),e.events.push(["putFont",function(u){(function(d){var c=d.font,h=d.out,v=d.newObject,A=d.putStream;if(c.metadata instanceof r.API.TTFFont&&c.encoding==="WinAnsiEncoding"){for(var F=c.metadata.rawData,B="",p=0;p<F.length;p++)B+=String.fromCharCode(F[p]);var z=v();A({data:B,addLength1:!0,objectId:z}),h("endobj");var O=v();A({data:a(c.metadata.toUnicode),addLength1:!0,objectId:O}),h("endobj");var T=v();h("<<"),h("/Descent "+c.metadata.decender),h("/CapHeight "+c.metadata.capHeight),h("/StemV "+c.metadata.stemV),h("/Type /FontDescriptor"),h("/FontFile2 "+z+" 0 R"),h("/Flags 96"),h("/FontBBox "+r.API.PDFObject.convert(c.metadata.bbox)),h("/FontName /"+Ei(c.fontName)),h("/ItalicAngle "+c.metadata.italicAngle),h("/Ascent "+c.metadata.ascender),h(">>"),h("endobj"),c.objectNumber=v();for(var j=0;j<c.metadata.hmtx.widths.length;j++)c.metadata.hmtx.widths[j]=parseInt(c.metadata.hmtx.widths[j]*(1e3/c.metadata.head.unitsPerEm));h("<</Subtype/TrueType/Type/Font/ToUnicode "+O+" 0 R/BaseFont/"+Ei(c.fontName)+"/FontDescriptor "+T+" 0 R/Encoding/"+c.encoding+" /FirstChar 29 /LastChar 255 /Widths "+r.API.PDFObject.convert(c.metadata.hmtx.widths)+">>"),h("endobj"),c.isAlreadyPutted=!0}})(u)}]);var s=function(u){var d,c=u.text||"",h=u.x,v=u.y,A=u.options||{},F=u.mutex||{},B=F.pdfEscape,p=F.activeFontKey,z=F.fonts,O=p,T="",j=0,Z="",Q=z[O].encoding;if(z[O].encoding!=="Identity-H")return{text:c,x:h,y:v,options:A,mutex:F};for(Z=c,O=p,Array.isArray(c)&&(Z=c[0]),j=0;j<Z.length;j+=1)z[O].metadata.hasOwnProperty("cmap")&&(d=z[O].metadata.cmap.unicode.codeMap[Z[j].charCodeAt(0)]),d||Z[j].charCodeAt(0)<256&&z[O].metadata.hasOwnProperty("Unicode")?T+=Z[j]:T+="";var nt="";return parseInt(O.slice(1))<14||Q==="WinAnsiEncoding"?nt=B(T,O).split("").map(function(yt){return yt.charCodeAt(0).toString(16)}).join(""):Q==="Identity-H"&&(nt=i(T,z[O])),F.isHex=!0,{text:nt,x:h,y:v,options:A,mutex:F}};e.events.push(["postProcessText",function(u){var d=u.text||"",c=[],h={text:d,x:u.x,y:u.y,options:u.options,mutex:u.mutex};if(Array.isArray(d)){var v=0;for(v=0;v<d.length;v+=1)Array.isArray(d[v])&&d[v].length===3?c.push([s(Object.assign({},h,{text:d[v][0]})).text,d[v][1],d[v][2]]):c.push(s(Object.assign({},h,{text:d[v]})).text);u.text=c}else u.text=s(Object.assign({},h,{text:d})).text}])})(qt),(function(r){var e=function(){return this.internal.vFS===void 0&&(this.internal.vFS={}),!0};r.existsFileInVFS=function(i){return e.call(this),this.internal.vFS[i]!==void 0},r.addFileToVFS=function(i,a){return e.call(this),this.internal.vFS[i]=a,this},r.getFileFromVFS=function(i){return e.call(this),this.internal.vFS[i]!==void 0?this.internal.vFS[i]:null}})(qt.API),(function(r){r.__bidiEngine__=r.prototype.__bidiEngine__=function(a){var s,u,d,c,h,v,A,F=e,B=[[0,3,0,1,0,0,0],[0,3,0,1,2,2,0],[0,3,0,17,2,0,1],[0,3,5,5,4,1,0],[0,3,21,21,4,0,1],[0,3,5,5,4,2,0]],p=[[2,0,1,1,0,1,0],[2,0,1,1,0,2,0],[2,0,2,1,3,2,0],[2,0,2,33,3,1,1]],z={L:0,R:1,EN:2,AN:3,N:4,B:5,S:6},O={0:0,5:1,6:2,7:3,32:4,251:5,254:6,255:7},T=["(",")","(","<",">","<","[","]","[","{","}","{","«","»","«","‹","›","‹","⁅","⁆","⁅","⁽","⁾","⁽","₍","₎","₍","≤","≥","≤","〈","〉","〈","﹙","﹚","﹙","﹛","﹜","﹛","﹝","﹞","﹝","﹤","﹥","﹤"],j=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)$/),Z=!1,Q=0;this.__bidiEngine__={};var nt=function(_){var I=_.charCodeAt(),R=I>>8,D=O[R];return D!==void 0?F[256*D+(255&I)]:R===252||R===253?"AL":j.test(R)?"L":R===8?"R":"N"},yt=function(_){for(var I,R=0;R<_.length;R++){if((I=nt(_.charAt(R)))==="L")return!1;if(I==="R")return!0}return!1},xt=function(_,I,R,D){var at,lt,ft,$,ct=I[D];switch(ct){case"L":case"R":case"LRE":case"RLE":case"LRO":case"RLO":case"PDF":Z=!1;break;case"N":case"AN":break;case"EN":Z&&(ct="AN");break;case"AL":Z=!0,ct="R";break;case"WS":case"BN":ct="N";break;case"CS":D<1||D+1>=I.length||(at=R[D-1])!=="EN"&&at!=="AN"||(lt=I[D+1])!=="EN"&&lt!=="AN"?ct="N":Z&&(lt="AN"),ct=lt===at?lt:"N";break;case"ES":ct=(at=D>0?R[D-1]:"B")==="EN"&&D+1<I.length&&I[D+1]==="EN"?"EN":"N";break;case"ET":if(D>0&&R[D-1]==="EN"){ct="EN";break}if(Z){ct="N";break}for(ft=D+1,$=I.length;ft<$&&I[ft]==="ET";)ft++;ct=ft<$&&I[ft]==="EN"?"EN":"N";break;case"NSM":if(d&&!c){for($=I.length,ft=D+1;ft<$&&I[ft]==="NSM";)ft++;if(ft<$){var Lt=_[D],bt=Lt>=1425&&Lt<=2303||Lt===64286;if(at=I[ft],bt&&(at==="R"||at==="AL")){ct="R";break}}}ct=D<1||(at=I[D-1])==="B"?"N":R[D-1];break;case"B":Z=!1,s=!0,ct=Q;break;case"S":u=!0,ct="N"}return ct},Wt=function(_,I,R){var D=_.split("");return R&&st(D,R,{hiLevel:Q}),D.reverse(),I&&I.reverse(),D.join("")},st=function(_,I,R){var D,at,lt,ft,$,ct=-1,Lt=_.length,bt=0,w=[],C=Q?p:B,M=[];for(Z=!1,s=!1,u=!1,at=0;at<Lt;at++)M[at]=nt(_[at]);for(lt=0;lt<Lt;lt++){if($=bt,w[lt]=xt(_,M,w,lt),D=240&(bt=C[$][z[w[lt]]]),bt&=15,I[lt]=ft=C[bt][5],D>0)if(D===16){for(at=ct;at<lt;at++)I[at]=1;ct=-1}else ct=-1;if(C[bt][6])ct===-1&&(ct=lt);else if(ct>-1){for(at=ct;at<lt;at++)I[at]=ft;ct=-1}M[lt]==="B"&&(I[lt]=0),R.hiLevel|=ft}u&&(function(H,V,K){for(var tt=0;tt<K;tt++)if(H[tt]==="S"){V[tt]=Q;for(var et=tt-1;et>=0&&H[et]==="WS";et--)V[et]=Q}})(M,I,Lt)},Y=function(_,I,R,D,at){if(!(at.hiLevel<_)){if(_===1&&Q===1&&!s)return I.reverse(),void(R&&R.reverse());for(var lt,ft,$,ct,Lt=I.length,bt=0;bt<Lt;){if(D[bt]>=_){for($=bt+1;$<Lt&&D[$]>=_;)$++;for(ct=bt,ft=$-1;ct<ft;ct++,ft--)lt=I[ct],I[ct]=I[ft],I[ft]=lt,R&&(lt=R[ct],R[ct]=R[ft],R[ft]=lt);bt=$}bt++}}},gt=function(_,I,R){var D=_.split(""),at={hiLevel:Q};return R||(R=[]),st(D,R,at),(function(lt,ft,$){if($.hiLevel!==0&&A)for(var ct,Lt=0;Lt<lt.length;Lt++)ft[Lt]===1&&(ct=T.indexOf(lt[Lt]))>=0&&(lt[Lt]=T[ct+1])})(D,R,at),Y(2,D,I,R,at),Y(1,D,I,R,at),D.join("")};return this.__bidiEngine__.doBidiReorder=function(_,I,R){if((function(at,lt){if(lt)for(var ft=0;ft<at.length;ft++)lt[ft]=ft;c===void 0&&(c=yt(at)),v===void 0&&(v=yt(at))})(_,I),d||!h||v)if(d&&h&&c^v)Q=c?1:0,_=Wt(_,I,R);else if(!d&&h&&v)Q=c?1:0,_=gt(_,I,R),_=Wt(_,I);else if(!d||c||h||v){if(d&&!h&&c^v)_=Wt(_,I),c?(Q=0,_=gt(_,I,R)):(Q=1,_=gt(_,I,R),_=Wt(_,I));else if(d&&c&&!h&&v)Q=1,_=gt(_,I,R),_=Wt(_,I);else if(!d&&!h&&c^v){var D=A;c?(Q=1,_=gt(_,I,R),Q=0,A=!1,_=gt(_,I,R),A=D):(Q=0,_=gt(_,I,R),_=Wt(_,I),Q=1,A=!1,_=gt(_,I,R),A=D,_=Wt(_,I))}}else Q=0,_=gt(_,I,R);else Q=c?1:0,_=gt(_,I,R);return _},this.__bidiEngine__.setOptions=function(_){_&&(d=_.isInputVisual,h=_.isOutputVisual,c=_.isInputRtl,v=_.isOutputRtl,A=_.isSymmetricSwapping)},this.__bidiEngine__.setOptions(a),this.__bidiEngine__};var e=["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"],i=new r.__bidiEngine__({isInputVisual:!0});r.API.events.push(["postProcessText",function(a){var s=a.text;a.x,a.y;var u=a.options||{};a.mutex,u.lang;var d=[];if(u.isInputVisual=typeof u.isInputVisual!="boolean"||u.isInputVisual,i.setOptions(u),Object.prototype.toString.call(s)==="[object Array]"){var c=0;for(d=[],c=0;c<s.length;c+=1)Object.prototype.toString.call(s[c])==="[object Array]"?d.push([i.doBidiReorder(s[c][0]),s[c][1],s[c][2]]):d.push([i.doBidiReorder(s[c])]);a.text=d}else a.text=i.doBidiReorder(s);i.setOptions({isInputVisual:!0})}])})(qt),qt.API.TTFFont=(function(){function r(e){var i;if(this.rawData=e,i=this.contents=new Tr(e),this.contents.pos=4,i.readString(4)==="ttcf")throw new Error("TTCF not supported.");i.pos=0,this.parse(),this.subset=new ql(this),this.registerTTF()}return r.open=function(e){return new r(e)},r.prototype.parse=function(){return this.directory=new Al(this.contents),this.head=new Sl(this),this.name=new Il(this),this.cmap=new pu(this),this.toUnicode={},this.hhea=new _l(this),this.maxp=new jl(this),this.hmtx=new Cl(this),this.post=new kl(this),this.os2=new Pl(this),this.loca=new El(this),this.glyf=new Ol(this),this.ascender=this.os2.exists&&this.os2.ascender||this.hhea.ascender,this.decender=this.os2.exists&&this.os2.decender||this.hhea.decender,this.lineGap=this.os2.exists&&this.os2.lineGap||this.hhea.lineGap,this.bbox=[this.head.xMin,this.head.yMin,this.head.xMax,this.head.yMax]},r.prototype.registerTTF=function(){var e,i,a,s,u;if(this.scaleFactor=1e3/this.head.unitsPerEm,this.bbox=(function(){var d,c,h,v;for(v=[],d=0,c=(h=this.bbox).length;d<c;d++)e=h[d],v.push(Math.round(e*this.scaleFactor));return v}).call(this),this.stemV=0,this.post.exists?(a=255&(s=this.post.italic_angle),32768&(i=s>>16)&&(i=-(1+(65535^i))),this.italicAngle=+(i+"."+a)):this.italicAngle=0,this.ascender=Math.round(this.ascender*this.scaleFactor),this.decender=Math.round(this.decender*this.scaleFactor),this.lineGap=Math.round(this.lineGap*this.scaleFactor),this.capHeight=this.os2.exists&&this.os2.capHeight||this.ascender,this.xHeight=this.os2.exists&&this.os2.xHeight||0,this.familyClass=(this.os2.exists&&this.os2.familyClass||0)>>8,this.isSerif=(u=this.familyClass)===1||u===2||u===3||u===4||u===5||u===7,this.isScript=this.familyClass===10,this.flags=0,this.post.isFixedPitch&&(this.flags|=1),this.isSerif&&(this.flags|=2),this.isScript&&(this.flags|=8),this.italicAngle!==0&&(this.flags|=64),this.flags|=32,!this.cmap.unicode)throw new Error("No unicode cmap for font")},r.prototype.characterToGlyph=function(e){var i;return((i=this.cmap.unicode)!=null?i.codeMap[e]:void 0)||0},r.prototype.widthOfGlyph=function(e){var i;return i=1e3/this.head.unitsPerEm,this.hmtx.forGlyph(e).advance*i},r.prototype.widthOfString=function(e,i,a){var s,u,d,c;for(d=0,u=0,c=(e=""+e).length;0<=c?u<c:u>c;u=0<=c?++u:--u)s=e.charCodeAt(u),d+=this.widthOfGlyph(this.characterToGlyph(s))+a*(1e3/i)||0;return d*(i/1e3)},r.prototype.lineHeight=function(e,i){var a;return i==null&&(i=!1),a=i?this.lineGap:0,(this.ascender+a-this.decender)/1e3*e},r})();var Xn,Tr=(function(){function r(e){this.data=e??[],this.pos=0,this.length=this.data.length}return r.prototype.readByte=function(){return this.data[this.pos++]},r.prototype.writeByte=function(e){return this.data[this.pos++]=e},r.prototype.readUInt32=function(){return 16777216*this.readByte()+(this.readByte()<<16)+(this.readByte()<<8)+this.readByte()},r.prototype.writeUInt32=function(e){return this.writeByte(e>>>24&255),this.writeByte(e>>16&255),this.writeByte(e>>8&255),this.writeByte(255&e)},r.prototype.readInt32=function(){var e;return(e=this.readUInt32())>=2147483648?e-4294967296:e},r.prototype.writeInt32=function(e){return e<0&&(e+=4294967296),this.writeUInt32(e)},r.prototype.readUInt16=function(){return this.readByte()<<8|this.readByte()},r.prototype.writeUInt16=function(e){return this.writeByte(e>>8&255),this.writeByte(255&e)},r.prototype.readInt16=function(){var e;return(e=this.readUInt16())>=32768?e-65536:e},r.prototype.writeInt16=function(e){return e<0&&(e+=65536),this.writeUInt16(e)},r.prototype.readString=function(e){var i,a;for(a=[],i=0;0<=e?i<e:i>e;i=0<=e?++i:--i)a[i]=String.fromCharCode(this.readByte());return a.join("")},r.prototype.writeString=function(e){var i,a,s;for(s=[],i=0,a=e.length;0<=a?i<a:i>a;i=0<=a?++i:--i)s.push(this.writeByte(e.charCodeAt(i)));return s},r.prototype.readShort=function(){return this.readInt16()},r.prototype.writeShort=function(e){return this.writeInt16(e)},r.prototype.readLongLong=function(){var e,i,a,s,u,d,c,h;return e=this.readByte(),i=this.readByte(),a=this.readByte(),s=this.readByte(),u=this.readByte(),d=this.readByte(),c=this.readByte(),h=this.readByte(),128&e?-1*(72057594037927940*(255^e)+281474976710656*(255^i)+1099511627776*(255^a)+4294967296*(255^s)+16777216*(255^u)+65536*(255^d)+256*(255^c)+(255^h)+1):72057594037927940*e+281474976710656*i+1099511627776*a+4294967296*s+16777216*u+65536*d+256*c+h},r.prototype.writeLongLong=function(e){var i,a;return i=Math.floor(e/4294967296),a=4294967295&e,this.writeByte(i>>24&255),this.writeByte(i>>16&255),this.writeByte(i>>8&255),this.writeByte(255&i),this.writeByte(a>>24&255),this.writeByte(a>>16&255),this.writeByte(a>>8&255),this.writeByte(255&a)},r.prototype.readInt=function(){return this.readInt32()},r.prototype.writeInt=function(e){return this.writeInt32(e)},r.prototype.read=function(e){var i,a;for(i=[],a=0;0<=e?a<e:a>e;a=0<=e?++a:--a)i.push(this.readByte());return i},r.prototype.write=function(e){var i,a,s,u;for(u=[],a=0,s=e.length;a<s;a++)i=e[a],u.push(this.writeByte(i));return u},r})(),Al=(function(){var r;function e(i){var a,s,u;for(this.scalarType=i.readInt(),this.tableCount=i.readShort(),this.searchRange=i.readShort(),this.entrySelector=i.readShort(),this.rangeShift=i.readShort(),this.tables={},s=0,u=this.tableCount;0<=u?s<u:s>u;s=0<=u?++s:--s)a={tag:i.readString(4),checksum:i.readInt(),offset:i.readInt(),length:i.readInt()},this.tables[a.tag]=a}return e.prototype.encode=function(i){var a,s,u,d,c,h,v,A,F,B,p,z,O;for(O in p=Object.keys(i).length,h=Math.log(2),F=16*Math.floor(Math.log(p)/h),d=Math.floor(F/h),A=16*p-F,(s=new Tr).writeInt(this.scalarType),s.writeShort(p),s.writeShort(F),s.writeShort(d),s.writeShort(A),u=16*p,v=s.pos+u,c=null,z=[],i)for(B=i[O],s.writeString(O),s.writeInt(r(B)),s.writeInt(v),s.writeInt(B.length),z=z.concat(B),O==="head"&&(c=v),v+=B.length;v%4;)z.push(0),v++;return s.write(z),a=2981146554-r(s.data),s.pos=c+8,s.writeUInt32(a),s.data},r=function(i){var a,s,u,d;for(i=gu.call(i);i.length%4;)i.push(0);for(u=new Tr(i),s=0,a=0,d=i.length;a<d;a=a+=4)s+=u.readUInt32();return 4294967295&s},e})(),xl={}.hasOwnProperty,ur=function(r,e){for(var i in e)xl.call(e,i)&&(r[i]=e[i]);function a(){this.constructor=r}return a.prototype=e.prototype,r.prototype=new a,r.__super__=e.prototype,r};Xn=(function(){function r(e){var i;this.file=e,i=this.file.directory.tables[this.tag],this.exists=!!i,i&&(this.offset=i.offset,this.length=i.length,this.parse(this.file.contents))}return r.prototype.parse=function(){},r.prototype.encode=function(){},r.prototype.raw=function(){return this.exists?(this.file.contents.pos=this.offset,this.file.contents.read(this.length)):null},r})();var Sl=(function(){function r(){return r.__super__.constructor.apply(this,arguments)}return ur(r,Xn),r.prototype.tag="head",r.prototype.parse=function(e){return e.pos=this.offset,this.version=e.readInt(),this.revision=e.readInt(),this.checkSumAdjustment=e.readInt(),this.magicNumber=e.readInt(),this.flags=e.readShort(),this.unitsPerEm=e.readShort(),this.created=e.readLongLong(),this.modified=e.readLongLong(),this.xMin=e.readShort(),this.yMin=e.readShort(),this.xMax=e.readShort(),this.yMax=e.readShort(),this.macStyle=e.readShort(),this.lowestRecPPEM=e.readShort(),this.fontDirectionHint=e.readShort(),this.indexToLocFormat=e.readShort(),this.glyphDataFormat=e.readShort()},r.prototype.encode=function(e){var i;return(i=new Tr).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
77),i.writeShort(this.macStyle),i.writeShort(this.lowestRecPPEM),i.writeShort(this.fontDirectionHint),i.writeShort(e),i.writeShort(this.glyphDataFormat),i.data},r})(),nu=(function(){function r(e,i){var a,s,u,d,c,h,v,A,F,B,p,z,O,T,j,Z,Q;switch(this.platformID=e.readUInt16(),this.encodingID=e.readShort(),this.offset=i+e.readInt(),F=e.pos,e.pos=this.offset,this.format=e.readUInt16(),this.length=e.readUInt16(),this.language=e.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(h=0;h<256;++h)this.codeMap[h]=e.readByte();break;case 4:for(p=e.readUInt16(),B=p/2,e.pos+=6,u=(function(){var nt,yt;for(yt=[],h=nt=0;0<=B?nt<B:nt>B;h=0<=B?++nt:--nt)yt.push(e.readUInt16());return yt})(),e.pos+=2,O=(function(){var nt,yt;for(yt=[],h=nt=0;0<=B?nt<B:nt>B;h=0<=B?++nt:--nt)yt.push(e.readUInt16());return yt})(),v=(function(){var nt,yt;for(yt=[],h=nt=0;0<=B?nt<B:nt>B;h=0<=B?++nt:--nt)yt.push(e.readUInt16());return yt})(),A=(function(){var nt,yt;for(yt=[],h=nt=0;0<=B?nt<B:nt>B;h=0<=B?++nt:--nt)yt.push(e.readUInt16());return yt})(),s=(this.length-e.pos+this.offset)/2,c=(function(){var nt,yt;for(yt=[],h=nt=0;0<=s?nt<s:nt>s;h=0<=s?++nt:--nt)yt.push(e.readUInt16());return yt})(),h=j=0,Q=u.length;j<Q;h=++j)for(T=u[h],a=Z=z=O[h];z<=T?Z<=T:Z>=T;a=z<=T?++Z:--Z)A[h]===0?d=a+v[h]:(d=c[A[h]/2+(a-z)-(B-h)]||0)!==0&&(d+=v[h]),this.codeMap[a]=65535&d}e.pos=F}return r.encode=function(e,i){var a,s,u,d,c,h,v,A,F,B,p,z,O,T,j,Z,Q,nt,yt,xt,Wt,st,Y,gt,_,I,R,D,at,lt,ft,$,ct,Lt,bt,w,C,M,H,V,K,tt,et,ht,wt,St;switch(D=new Tr,d=Object.keys(e).sort(function(_t,zt){return _t-zt}),i){case"macroman":for(O=0,T=(function(){var _t=[];for(z=0;z<256;++z)_t.push(0);return _t})(),Z={0:0},u={},at=0,ct=d.length;at<ct;at++)Z[et=e[s=d[at]]]==null&&(Z[et]=++O),u[s]={old:e[s],new:Z[e[s]]},T[s]=Z[e[s]];return D.writeUInt16(1),D.writeUInt16(0),D.writeUInt32(12),D.writeUInt16(0),D.writeUInt16(262),D.writeUInt16(0),D.write(T),{charMap:u,subtable:D.data,maxGlyphID:O+1};case"unicode":for(I=[],F=[],Q=0,Z={},a={},j=v=null,lt=0,Lt=d.length;lt<Lt;lt++)Z[yt=e[s=d[lt]]]==null&&(Z[yt]=++Q),a[s]={old:yt,new:Z[yt]},c=Z[yt]-s,j!=null&&c===v||(j&&F.push(j),I.push(s),v=c),j=s;for(j&&F.push(j),F.push(65535),I.push(65535),gt=2*(Y=I.length),st=2*Math.pow(Math.log(Y)/Math.LN2,2),B=Math.log(st/2)/Math.LN2,Wt=2*Y-st,h=[],xt=[],p=[],z=ft=0,bt=I.length;ft<bt;z=++ft){if(_=I[z],A=F[z],_===65535){h.push(0),xt.push(0);break}if(_-(R=a[_].new)>=32768)for(h.push(0),xt.push(2*(p.length+Y-z)),s=$=_;_<=A?$<=A:$>=A;s=_<=A?++$:--$)p.push(a[s].new);else h.push(R-_),xt.push(0)}for(D.writeUInt16(3),D.writeUInt16(1),D.writeUInt32(12),D.writeUInt16(4),D.writeUInt16(16+8*Y+2*p.length),D.writeUInt16(0),D.writeUInt16(gt),D.writeUInt16(st),D.writeUInt16(B),D.writeUInt16(Wt),K=0,w=F.length;K<w;K++)s=F[K],D.writeUInt16(s);for(D.writeUInt16(0),tt=0,C=I.length;tt<C;tt++)s=I[tt],D.writeUInt16(s);for(ht=0,M=h.length;ht<M;ht++)c=h[ht],D.writeUInt16(c);for(wt=0,H=xt.length;wt<H;wt++)nt=xt[wt],D.writeUInt16(nt);for(St=0,V=p.length;St<V;St++)O=p[St],D.writeUInt16(O);return{charMap:a,subtable:D.data,maxGlyphID:Q+1}}},r})(),pu=(function(){function r(){return r.__super__.constructor.apply(this,arguments)}return ur(r,Xn),r.prototype.tag="cmap",r.prototype.parse=function(e){var i,a,s;for(e.pos=this.offset,this.version=e.readUInt16(),s=e.readUInt16(),this.tables=[],this.unicode=null,a=0;0<=s?a<s:a>s;a=0<=s?++a:--a)i=new nu(e,this.offset),this.tables.push(i),i.isUnicode&&this.unicode==null&&(this.unicode=i);return!0},r.encode=function(e,i){var a,s;return i==null&&(i="macroman"),a=nu.encode(e,i),(s=new Tr).writeUInt16(0),s.writeUInt16(1),a.table=s.data.concat(a.subtable),a},r})(),_l=(function(){function r(){return r.__super__.constructor.apply(this,arguments)}return ur(r,Xn),r.prototype.tag="hhea",r.prototype.parse=function(e){return e.pos=this.offset,this.version=e.readInt(),this.ascender=e.readShort(),this.decender=e.readShort(),this.lineGap=e.readShort(),this.advanceWidthMax=e.readShort(),this.minLeftSideBearing=e.readShort(),this.minRightSideBearing=e.readShort(),this.xMaxExtent=e.readShort(),this.caretSlopeRise=e.readShort(),this.caretSlopeRun=e.readShort(),this.caretOffset=e.readShort(),e.pos+=8,this.metricDataFormat=e.readShort(),this.numberOfMetrics=e.readUInt16()},r})(),Pl=(function(){function r(){return r.__super__.constructor.apply(this,arguments)}return ur(r,Xn),r.prototype.tag="OS/2",r.prototype.parse=function(e){if(e.pos=this.offset,this.version=e.readUInt16(),this.averageCharWidth=e.readShort(),this.weightClass=e.readUInt16(),this.widthClass=e.readUInt16(),this.type=e.readShort(),this.ySubscriptXSize=e.readShort(),this.ySubscriptYSize=e.readShort(),this.ySubscriptXOffset=e.readShort(),this.ySubscriptYOffset=e.readShort(),this.ySuperscriptXSize=e.readShort(),this.ySuperscriptYSize=e.readShort(),this.ySuperscriptXOffset=e.readShort(),this.ySuperscriptYOffset=e.readShort(),this.yStrikeoutSize=e.readShort(),this.yStrikeoutPosition=e.readShort(),this.familyClass=e.readShort(),this.panose=(function(){var i,a;for(a=[],i=0;i<10;++i)a.push(e.readByte());return a})(),this.charRange=(function(){var i,a;for(a=[],i=0;i<4;++i)a.push(e.readInt());return a})(),this.vendorID=e.readString(4),this.selection=e.readShort(),this.firstCharIndex=e.readShort(),this.lastCharIndex=e.readShort(),this.version>0&&(this.ascent=e.readShort(),this.descent=e.readShort(),this.lineGap=e.readShort(),this.winAscent=e.readShort(),this.winDescent=e.readShort(),this.codePageRange=(function(){var i,a;for(a=[],i=0;i<2;i=++i)a.push(e.readInt());return a})(),this.version>1))return this.xHeight=e.readShort(),this.capHeight=e.readShort(),this.defaultChar=e.readShort(),this.breakChar=e.readShort(),this.maxContext=e.readShort()},r})(),kl=(function(){function r(){return r.__super__.constructor.apply(this,arguments)}return ur(r,Xn),r.prototype.tag="post",r.prototype.parse=function(e){var i,a,s;switch(e.pos=this.offset,this.format=e.readInt(),this.italicAngle=e.readInt(),this.underlinePosition=e.readShort(),this.underlineThickness=e.readShort(),this.isFixedPitch=e.readInt(),this.minMemType42=e.readInt(),this.maxMemType42=e.readInt(),this.minMemType1=e.readInt(),this.maxMemType1=e.readInt(),this.format){case 65536:case 196608:break;case 131072:var u;for(a=e.readUInt16(),this.glyphNameIndex=[],u=0;0<=a?u<a:u>a;u=0<=a?++u:--u)this.glyphNameIndex.push(e.readUInt16());for(this.names=[],s=[];e.pos<this.offset+this.length;)i=e.readByte(),s.push(this.names.push(e.readString(i)));return s;case 151552:return a=e.readUInt16(),this.offsets=e.read(a);case 262144:return this.map=(function(){var d,c,h;for(h=[],u=d=0,c=this.file.maxp.numGlyphs;0<=c?d<c:d>c;u=0<=c?++d:--d)h.push(e.readUInt32());return h}).call(this)}},r})(),Fl=function(r,e){this.raw=r,this.length=r.length,this.platformID=e.platformID,this.encodingID=e.encodingID,this.languageID=e.languageID},Il=(function(){function r(){return r.__super__.constructor.apply(this,arguments)}return ur(r,Xn),r.prototype.tag="name",r.prototype.parse=function(e){var i,a,s,u,d,c,h,v,A,F,B;for(e.pos=this.offset,e.readShort(),i=e.readShort(),c=e.readShort(),a=[],u=0;0<=i?u<i:u>i;u=0<=i?++u:--u)a.push({platformID:e.readShort(),encodingID:e.readShort(),languageID:e.readShort(),nameID:e.readShort(),length:e.readShort(),offset:this.offset+c+e.readShort()});for(h={},u=A=0,F=a.length;A<F;u=++A)s=a[u],e.pos=s.offset,v=e.readString(s.length),d=new Fl(v,s),h[B=s.nameID]==null&&(h[B]=[]),h[s.nameID].push(d);this.strings=h,this.copyright=h[0],this.fontFamily=h[1],this.fontSubfam
77ily=h[2],this.uniqueSubfamily=h[3],this.fontName=h[4],this.version=h[5];try{this.postscriptName=h[6][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}catch{this.postscriptName=h[4][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}return this.trademark=h[7],this.manufacturer=h[8],this.designer=h[9],this.description=h[10],this.vendorUrl=h[11],this.designerUrl=h[12],this.license=h[13],this.licenseUrl=h[14],this.preferredFamily=h[15],this.preferredSubfamily=h[17],this.compatibleFull=h[18],this.sampleText=h[19]},r})(),jl=(function(){function r(){return r.__super__.constructor.apply(this,arguments)}return ur(r,Xn),r.prototype.tag="maxp",r.prototype.parse=function(e){return e.pos=this.offset,this.version=e.readInt(),this.numGlyphs=e.readUInt16(),this.maxPoints=e.readUInt16(),this.maxContours=e.readUInt16(),this.maxCompositePoints=e.readUInt16(),this.maxComponentContours=e.readUInt16(),this.maxZones=e.readUInt16(),this.maxTwilightPoints=e.readUInt16(),this.maxStorage=e.readUInt16(),this.maxFunctionDefs=e.readUInt16(),this.maxInstructionDefs=e.readUInt16(),this.maxStackElements=e.readUInt16(),this.maxSizeOfInstructions=e.readUInt16(),this.maxComponentElements=e.readUInt16(),this.maxComponentDepth=e.readUInt16()},r})(),Cl=(function(){function r(){return r.__super__.constructor.apply(this,arguments)}return ur(r,Xn),r.prototype.tag="hmtx",r.prototype.parse=function(e){var i,a,s,u,d,c,h;for(e.pos=this.offset,this.metrics=[],i=0,c=this.file.hhea.numberOfMetrics;0<=c?i<c:i>c;i=0<=c?++i:--i)this.metrics.push({advance:e.readUInt16(),lsb:e.readInt16()});for(s=this.file.maxp.numGlyphs-this.file.hhea.numberOfMetrics,this.leftSideBearings=(function(){var v,A;for(A=[],i=v=0;0<=s?v<s:v>s;i=0<=s?++v:--v)A.push(e.readInt16());return A})(),this.widths=(function(){var v,A,F,B;for(B=[],v=0,A=(F=this.metrics).length;v<A;v++)u=F[v],B.push(u.advance);return B}).call(this),a=this.widths[this.widths.length-1],h=[],i=d=0;0<=s?d<s:d>s;i=0<=s?++d:--d)h.push(this.widths.push(a));return h},r.prototype.forGlyph=function(e){return e in this.metrics?this.metrics[e]:{advance:this.metrics[this.metrics.length-1].advance,lsb:this.leftSideBearings[e-this.metrics.length]}},r})(),gu=[].slice,Ol=(function(){function r(){return r.__super__.constructor.apply(this,arguments)}return ur(r,Xn),r.prototype.tag="glyf",r.prototype.parse=function(){return this.cache={}},r.prototype.glyphFor=function(e){var i,a,s,u,d,c,h,v,A,F;return e in this.cache?this.cache[e]:(u=this.file.loca,i=this.file.contents,a=u.indexOf(e),(s=u.lengthOf(e))===0?this.cache[e]=null:(i.pos=this.offset+a,d=(c=new Tr(i.read(s))).readShort(),v=c.readShort(),F=c.readShort(),h=c.readShort(),A=c.readShort(),this.cache[e]=d===-1?new Ml(c,v,F,h,A):new Bl(c,d,v,F,h,A),this.cache[e]))},r.prototype.encode=function(e,i,a){var s,u,d,c,h;for(d=[],u=[],c=0,h=i.length;c<h;c++)s=e[i[c]],u.push(d.length),s&&(d=d.concat(s.encode(a)));return u.push(d.length),{table:d,offsets:u}},r})(),Bl=(function(){function r(e,i,a,s,u,d){this.raw=e,this.numberOfContours=i,this.xMin=a,this.yMin=s,this.xMax=u,this.yMax=d,this.compound=!1}return r.prototype.encode=function(){return this.raw.data},r})(),Ml=(function(){function r(e,i,a,s,u){var d,c;for(this.raw=e,this.xMin=i,this.yMin=a,this.xMax=s,this.yMax=u,this.compound=!0,this.glyphIDs=[],this.glyphOffsets=[],d=this.raw;c=d.readShort(),this.glyphOffsets.push(d.pos),this.glyphIDs.push(d.readUInt16()),32&c;)d.pos+=1&c?4:2,128&c?d.pos+=8:64&c?d.pos+=4:8&c&&(d.pos+=2)}return r.prototype.encode=function(){var e,i,a;for(i=new Tr(gu.call(this.raw.data)),e=0,a=this.glyphIDs.length;e<a;++e)i.pos=this.glyphOffsets[e];return i.data},r})(),El=(function(){function r(){return r.__super__.constructor.apply(this,arguments)}return ur(r,Xn),r.prototype.tag="loca",r.prototype.parse=function(e){var i,a;return e.pos=this.offset,i=this.file.head.indexToLocFormat,this.offsets=i===0?(function(){var s,u;for(u=[],a=0,s=this.length;a<s;a+=2)u.push(2*e.readUInt16());return u}).call(this):(function(){var s,u;for(u=[],a=0,s=this.length;a<s;a+=4)u.push(e.readUInt32());return u}).call(this)},r.prototype.indexOf=function(e){return this.offsets[e]},r.prototype.lengthOf=function(e){return this.offsets[e+1]-this.offsets[e]},r.prototype.encode=function(e,i){for(var a=new Uint32Array(this.offsets.length),s=0,u=0,d=0;d<a.length;++d)if(a[d]=s,u<i.length&&i[u]==d){++u,a[d]=s;var c=this.offsets[d],h=this.offsets[d+1]-c;h>0&&(s+=h)}for(var v=new Array(4*a.length),A=0;A<a.length;++A)v[4*A+3]=255&a[A],v[4*A+2]=(65280&a[A])>>8,v[4*A+1]=(16711680&a[A])>>16,v[4*A]=(4278190080&a[A])>>24;return v},r})(),ql=(function(){function r(e){this.font=e,this.subset={},this.unicodes={},this.next=33}return r.prototype.generateCmap=function(){var e,i,a,s,u;for(i in s=this.font.cmap.tables[0].codeMap,e={},u=this.subset)a=u[i],e[i]=s[a];return e},r.prototype.glyphsFor=function(e){var i,a,s,u,d,c,h;for(s={}
77,d=0,c=e.length;d<c;d++)s[u=e[d]]=this.font.glyf.glyphFor(u);for(u in i=[],s)(a=s[u])!=null&&a.compound&&i.push.apply(i,a.glyphIDs);if(i.length>0)for(u in h=this.glyphsFor(i))a=h[u],s[u]=a;return s},r.prototype.encode=function(e,i){var a,s,u,d,c,h,v,A,F,B,p,z,O,T,j;for(s in a=pu.encode(this.generateCmap(),"unicode"),d=this.glyphsFor(e),p={0:0},j=a.charMap)p[(h=j[s]).old]=h.new;for(z in B=a.maxGlyphID,d)z in p||(p[z]=B++);return A=(function(Z){var Q,nt;for(Q in nt={},Z)nt[Z[Q]]=Q;return nt})(p),F=Object.keys(A).sort(function(Z,Q){return Z-Q}),O=(function(){var Z,Q,nt;for(nt=[],Z=0,Q=F.length;Z<Q;Z++)c=F[Z],nt.push(A[c]);return nt})(),u=this.font.glyf.encode(d,O,p),v=this.font.loca.encode(u.offsets,O),T={cmap:this.font.cmap.raw(),glyf:u.table,loca:v,hmtx:this.font.hmtx.raw(),hhea:this.font.hhea.raw(),maxp:this.font.maxp.raw(),post:this.font.post.raw(),name:this.font.name.raw(),head:this.font.head.encode(i)},this.font.os2.exists&&(T["OS/2"]=this.font.os2.raw()),this.font.directory.encode(T)},r})();qt.API.PDFObject=(function(){var r;function e(){}return r=function(i,a){return(Array(a+1).join("0")+i).slice(-a)},e.convert=function(i){var a,s,u,d;if(Array.isArray(i))return"["+(function(){var c,h,v;for(v=[],c=0,h=i.length;c<h;c++)a=i[c],v.push(e.convert(a));return v})().join(" ")+"]";if(typeof i=="string")return"/"+i;if(i?.isString)return"("+i+")";if(i instanceof Date)return"(D:"+r(i.getUTCFullYear(),4)+r(i.getUTCMonth(),2)+r(i.getUTCDate(),2)+r(i.getUTCHours(),2)+r(i.getUTCMinutes(),2)+r(i.getUTCSeconds(),2)+"Z)";if({}.toString.call(i)==="[object Object]"){for(s in u=["<<"],i)d=i[s],u.push("/"+s+" "+e.convert(d));return u.push(">>"),u.join(`
78`)}return""+i},e})();export{qt as E};

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.