1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7847],{91819:function(tn,ti,ta){ta.d(ti,{kH:function(){return E}});var to=ta(71002),ts=ta(93778),tu=ta(77625),tc=ta(26750),tl=function(){return"undefined"!=typeof window?window:void 0!==ta.g?ta.g:"undefined"!=typeof self?self:this}();function a(){tl.console&&"function"==typeof tl.console.log&&tl.console.log.apply(tl.console,arguments)}var th={log:a,warn:function(tn){tl.console&&("function"==typeof tl.console.warn?tl.console.warn.apply(tl.console,arguments):a.call(null,arguments))},error:function(tn){tl.console&&("function"==typeof tl.console.error?tl.console.error.apply(tl.console,arguments):a(tn))}};function s(tn,ti,ta){var to=new XMLHttpRequest;to.open("GET",tn),to.responseType="blob",to.onload=function(){tf(to.response,ti,ta)},to.onerror=function(){th.error("could not download file")},to.send()}function u(tn){var ti=new XMLHttpRequest;ti.open("HEAD",tn,!1);try{ti.send()}catch(tn){}return ti.status>=200&&ti.status<=299}function c(tn){try{tn.dispatchEvent(new MouseEvent("click"))}catch(ta){var ti=document.createEvent("MouseEvents");
1ti.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),tn.dispatchEvent(ti)}}var tf=tl.saveAs||("object"!==("undefined"==typeof window?"undefined":(0,to.Z)(window))||window!==tl?function(){}:"undefined"!=typeof HTMLAnchorElement&&"download"in HTMLAnchorElement.prototype?function(tn,ti,ta){var to=tl.URL||tl.webkitURL,ts=document.createElement("a");ti=ti||tn.name||"download",ts.download=ti,ts.rel="noopener","string"==typeof tn?(ts.href=tn,ts.origin!==location.origin?u(ts.href)?s(tn,ti,ta):c(ts,ts.target="_blank"):c(ts)):(ts.href=to.createObjectURL(tn),setTimeout(function(){to.revokeObjectURL(ts.href)},4e4),setTimeout(function(){c(ts)},0))}:"msSaveOrOpenBlob"in navigator?function(tn,ti,ta){if(ti=ti||tn.name||"download","string"==typeof tn){if(u(tn))s(tn,ti,ta);else{var ts,tu=document.createElement("a");tu.href=tn,tu.target="_blank",setTimeout(function(){c(tu)})}}else navigator.msSaveOrOpenBlob((void 0===(ts=ta)?ts={autoBom:!1}:"object"!==(0,to.Z)(ts)&&(th.warn("Deprecated: Expected third argument to be a object"),ts={autoBom:!ts}),ts.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(tn.type)?new Blob([String.fromCharCode(65279),tn],{type:tn.type}):tn),ti)}:function(tn,ti,ta,ts){if((ts=ts||open("","_blank"))&&(ts.document.title=ts.document.body.innerText="downloading..."),"string"==typeof tn)return s(tn,ti,ta);var tu="application/octet-stream"===tn.type,tc=/constructor/i.test(tl.HTMLElement)||tl.safari,th=/CriOS\/[\d]+/.test(navigator.userAgent);if((th||tu&&tc)&&"object"===("undefined"==typeof FileReader?"undefined":(0,to.Z)(FileReader))){var tf=new FileReader;tf.onloadend=function(){var tn=tf.result;tn=th?tn:tn.replace(/^data:[^;]*;/,"data:attachment/file;"),ts?ts.location.href=tn:location=tn,ts=null},tf.readAsDataURL(tn)}else{var td=tl.URL||tl.webkitURL,tp=td.createObjectURL(tn);ts?ts.location=tp:location.href=tp,ts=null,setTimeout(function(){td.revokeObjectURL(tp)},4e4)}});/** 2 * A class to parse color values 3 * @author Stoyan Stefanov <[email protected]> 4 * {@link http://www.phpied.com/rgb-color-parser-in-javascript/} 5 * @license Use it if you like it 6 */function h(tn){var ti;tn=tn||"",this.ok=!1,"#"==tn.charAt(0)&&(tn=tn.substr(1,6)),tn=({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
60",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"})[tn=(tn=tn.replace(/ /g,"")).toLowerCase()]||tn;for(var ta=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(tn){return[parseInt(tn[1]),parseInt(tn[2]),parseInt(tn[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(tn){return[parseInt(tn[1],16),parseInt(tn[2],16),parseInt(tn[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(tn){return[parseInt(tn[1]+tn[1],16),parseInt(tn[2]+tn[2],16),parseInt(tn[3]+tn[3],16)]}}],to=0;to<ta.length;to++){var ts=ta[to].re,tu=ta[to].process,tc=ts.exec(tn);tc&&(ti=tu(tc),this.r=ti[0],this.g=ti[1],this.b=ti[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 tn=this.r.toString(16),ti=this.g.toString(16),ta=this.b.toString(16);return 1==tn.length&&(tn="0"+tn),1==ti.length&&(ti="0"+ti),1==ta.length&&(ta="0"+ta),"#"+tn+ti+ta}}var td=tl.atob.bind(tl),tp=tl.btoa.bind(tl);/** 7 * @license 8 * Joseph Myers does not specify a particular license for his work. 9 * 10 * Author: Joseph Myers 11 * Accessed from: http://www.myersdaily.org/joseph/javascript/md5.js 12 * 13 * Modified by: Owen Leong 14 */function p(tn,ti){var ta=tn[0],to=tn[1],ts=tn[2],tu=tn[3];ta=m(ta,to,ts,tu,ti[0],7,-680876936),tu=m(tu,ta,to,ts,ti[1],12,-389564586),ts=m(ts,tu,ta,to,ti[2],17,606105819),to=m(to,ts,tu,ta,ti[3],22,-1044525330),ta=m(ta,to,ts,tu,ti[4],7,-176418897),tu=m(tu,ta,to,ts,ti[5],12,1200080426),ts=m(ts,tu,ta,to,ti[6],17,-1473231341),to=m(to,ts,tu,ta,ti[7],22,-45705983),ta=m(ta,to,ts,tu,ti[8],7,1770035416),tu=m(tu,ta,to,ts,ti[9],12,-1958414417),ts=m(ts,tu,ta,to,ti[10],17,-42063),to=m(to,ts,tu,ta,ti[11],22,-1990404162),ta=m(ta,to,ts,tu,ti[12],7,1804603682),tu=m(tu,ta,to,ts,ti[13],12,-40341101),ts=m(ts,tu,ta,to,ti[14],17,-1502002290),ta=v(ta,to=m(to,ts,tu,ta,ti[15],22,1236535329),ts,tu,ti[1],5,-165796510),tu=v(tu,ta,to,ts,ti[6],9,-1069501632),ts=v(ts,tu,ta,to,ti[11],14,643717713),to=v(to,ts,tu,ta,ti[0],20,-373897302),ta=v(ta,to,ts,tu,ti[5],5,-701558691),tu=v(tu,ta,to,ts,ti[10],9,38016083),ts=v(ts,tu,ta,to,ti[15],14,-660478335),to=v(to,ts,tu,ta,ti[4],20,-405537848),ta=v(ta,to,ts,tu,ti[9],5,568446438),tu=v(tu,ta,to,ts,ti[14],9,-1019803690),ts=v(ts,tu,ta,to,ti[3],14,-187363961),to=v(to,ts,tu,ta,ti[8],20,1163531501),ta=v(ta,to,ts,tu,ti[13],5,-1444681467),tu=v(tu,ta,to,ts,ti[2],9,-51403784),ts=v(ts,tu,ta,to,ti[7],14,1735328473),ta=b(ta,to=v(to,ts,tu,ta,ti[12],20,-1926607734),ts,tu,ti[5],4,-378558),tu=b(tu,ta,to,ts,ti[8],11,-2022574463),ts=b(ts,tu,ta,to,ti[11],16,1839030562),to=b(to,ts,tu,ta,ti[14],23,-35309556),ta=b(ta,to,ts,tu,ti[1],4,-1530992060),tu=b(tu,ta,to,ts,ti[4],11,1272893353),ts=b(ts,tu,ta,to,ti[7],16,-155497632),to=b(to,ts,tu,ta,ti[10],23,-1094730640),ta=b(ta,to,ts,tu,ti[13],4,681279174),tu=b(tu,ta,to,ts,ti[0],11,-358537222),ts=b(ts,tu,ta,to,ti[3],16,-722521979),to=b(to,ts,tu,ta,ti[6],23,76029189),ta=b(ta,to,ts,tu,ti[9],4,-640364487),tu=b(tu,ta,to,ts,ti[12],11,-421815835),ts=b(ts,tu,ta,to,ti[15],16,530742520),ta=y(ta,to=b(to,ts,tu,ta,ti[2],23,-995338651),ts,tu,ti[0],6,-198630844),tu=y(tu,ta,to,ts,ti[7],10,1126891415),ts=y(ts,tu,ta,to,ti[14],15,-1416354905),to=y(to,ts,tu,ta,ti[5],21,-57434055),ta=y(ta,to,ts,tu,ti[12],6,1700485571),tu=y(tu,ta,to,ts,ti[3],10,-1894986606),ts=y(ts,tu,ta,to,ti[10],15,-1051523),to=y(to,ts,tu,ta,ti[1],21,-2054922799),ta=y(ta,to,ts,tu,ti[8],6,1873313359),tu=y(tu,ta,to,ts,ti[15],10,-30611744),ts=y(ts,tu,ta,to,ti[6],15,-1560198380),to=y(to,ts,tu,ta,ti[13],21,1309151649),ta=y(ta,to,ts,tu,ti[4],6,-145523070),tu=y(tu,ta,to,ts,ti[11],10,-1120210379),ts=y(ts,tu,ta,to,ti[2],15,718787259),to=y(to,ts,tu,ta,ti[9],21,-343485551),tn[0]=P(ta,tn[0]),tn[
141]=P(to,tn[1]),tn[2]=P(ts,tn[2]),tn[3]=P(tu,tn[3])}function g(tn,ti,ta,to,ts,tu){return ti=P(P(ti,tn),P(to,tu)),P(ti<<ts|ti>>>32-ts,ta)}function m(tn,ti,ta,to,ts,tu,tc){return g(ti&ta|~ti&to,tn,ti,ts,tu,tc)}function v(tn,ti,ta,to,ts,tu,tc){return g(ti&to|ta&~to,tn,ti,ts,tu,tc)}function b(tn,ti,ta,to,ts,tu,tc){return g(ti^ta^to,tn,ti,ts,tu,tc)}function y(tn,ti,ta,to,ts,tu,tc){return g(ta^(ti|~to),tn,ti,ts,tu,tc)}function w(tn){var ti,ta=tn.length,to=[1732584193,-271733879,-1732584194,271733878];for(ti=64;ti<=tn.length;ti+=64)p(to,function(tn){var ti,ta=[];for(ti=0;ti<64;ti+=4)ta[ti>>2]=tn.charCodeAt(ti)+(tn.charCodeAt(ti+1)<<8)+(tn.charCodeAt(ti+2)<<16)+(tn.charCodeAt(ti+3)<<24);return ta}(tn.substring(ti-64,ti)));tn=tn.substring(ti-64);var ts=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(ti=0;ti<tn.length;ti++)ts[ti>>2]|=tn.charCodeAt(ti)<<(ti%4<<3);if(ts[ti>>2]|=128<<(ti%4<<3),ti>55)for(p(to,ts),ti=0;ti<16;ti++)ts[ti]=0;return ts[14]=8*ta,p(to,ts),to}var tg="0123456789abcdef".split("");function A(tn){return String.fromCharCode(255&tn,(65280&tn)>>8,(16711680&tn)>>16,(4278190080&tn)>>24)}function S(tn){return w(tn).map(A).join("")}var tm="5d41402abc4b2a76b9719d911017c592"!=function(tn){for(var ti=0;ti<tn.length;ti++)tn[ti]=function(tn){for(var ti="",ta=0;ta<4;ta++)ti+=tg[tn>>8*ta+4&15]+tg[tn>>8*ta&15];return ti}(tn[ti]);return tn.join("")}(w("hello"));function P(tn,ti){if(tm){var ta=(65535&tn)+(65535&ti);return(tn>>16)+(ti>>16)+(ta>>16)<<16|65535&ta}return tn+ti&4294967295}/** 15 * @license 16 * FPDF is released under a permissive license: there is no usage restriction. 17 * You may embed it freely in your application (commercial or not), with or 18 * without modifications. 19 * 20 * Reference: http://www.fpdf.org/en/script/script37.php 21 */function k(tn,ti){if(tn!==ta){for(var ta,to,ts=Array(1+(256/tn.length|0)+1).join(tn),tu=[],tc=0;tc<256;tc++)tu[tc]=tc;var tl=0;for(tc=0;tc<256;tc++){var th=tu[tc];tl=(tl+th+ts.charCodeAt(tc))%256,tu[tc]=tu[tl],tu[tl]=th}ta=tn,to=tu}else tu=to;var tf=ti.length,td=0,tp=0,tg="";for(tc=0;tc<tf;tc++)tp=(tp+(th=tu[td=(td+1)%256]))%256,tu[td]=tu[tp],tu[tp]=th,ts=tu[(tu[td]+tu[tp])%256],tg+=String.fromCharCode(ti.charCodeAt(tc)^ts);return tg}/** 22 * @license 23 * Licensed under the MIT License. 24 * http://opensource.org/licenses/mit-license 25 * Author: Owen Leong (@owenl131) 26 * Date: 15 Oct 2020 27 * References: 28 * https://www.cs.cmu.edu/~dst/Adobe/Gallery/anon21jul01-pdf-encryption.txt 29 * https://github.com/foliojs/pdfkit/blob/master/lib/security.js 30 * http://www.fpdf.org/en/script/script37.php 31 */var tv={print:4,modify:8,copy:16,"annot-forms":32};function I(tn,ti,ta,to){this.v=1,this.r=2;var ts=192;tn.forEach(function(tn){if(void 0!==tv.perm)throw Error("Invalid permission: "+tn);ts+=tv[tn]}),this.padding="(\xbfN^Nu\x8aAd\x00NV\xff\xfa\x01\b..\x00\xb6\xd0h>\x80/\f\xa9\xfedSiz";var tu=(ti+this.padding).substr(0,32),tc=(ta+this.padding).substr(0,32);this.O=this.processOwnerPassword(tu,tc),this.P=-(1+(255^ts)),this.encryptionKey=S(tu+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(to)).substr(0,5),this.U=k(this.encryptionKey,this.padding)}function C(tn){if(/[^\u0000-\u00ff]/.test(tn))throw Error("Invalid PDF Name Object: "+tn+", Only accept ASCII characters.");for(var ti="",ta=tn.length,to=0;to<ta;to++){var ts=tn.charCodeAt(to);ti+=ts<33||35===ts||37===ts||40===ts||41===ts||47===ts||60===ts||62===ts||91===ts||93===ts||123===ts||125===ts||ts>126?"#"+("0"+ts.toString(16)).slice(-2):tn[to]}return ti}function j(tn){if("object"!==(0,to.Z)(tn))throw Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var ti={};this.subscribe=function(tn,ta,to){if(to=to||!1,"string"!=typeof tn||"function"!=typeof ta||"boolean"!=typeof to)throw Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");ti.hasOwnProperty(tn)||(ti[tn]={});var ts=Math.random().toString(35);return ti[tn][ts]=[ta,!!to],ts},this.unsubscribe=function(tn){for(var ta in ti)if(ti[ta][tn])return delete ti[ta][tn],0===Object.keys(ti[ta]).length&&delete ti[ta],!0;return!1},this.publish=function(ta){if(ti.hasOwnProperty(ta)){var to=Array.prototype.slice.call(arguments,1
vendor: 4,101 bytes, line 31
31),ts=[];for(var tu in ti[ta]){var tc=ti[ta][tu];try{tc[0].apply(tn,to)}catch(tn){tl.console&&th.error("jsPDF PubSub Error",tn.message,tn)}tc[1]&&ts.push(tu)}ts.length&&ts.forEach(this.unsubscribe)}},this.getTopics=function(){return ti}}function O(tn){if(!(this instanceof O))return new O(tn);var ti="opacity,stroke-opacity".split(",");for(var ta in tn)tn.hasOwnProperty(ta)&&ti.indexOf(ta)>=0&&(this[ta]=tn[ta]);this.id="",this.objectNumber=-1}function B(tn,ti){this.gState=tn,this.matrix=ti,this.id="",this.objectNumber=-1}function M(tn,ti,ta,to,ts){if(!(this instanceof M))return new M(tn,ti,ta,to,ts);this.type="axial"===tn?2:3,this.coords=ti,this.colors=ta,B.call(this,to,ts)}function q(tn,ti,ta,to,ts){if(!(this instanceof q))return new q(tn,ti,ta,to,ts);this.boundingBox=tn,this.xStep=ti,this.yStep=ta,this.stream="",this.cloneIndex=0,B.call(this,to,ts)}function E(tn){var ti,ta="string"==typeof arguments[0]?arguments[0]:"p",ts=arguments[1],tu=arguments[2],tc=arguments[3],td=[],tg=1,tm=16,tv="S",tb=null;"object"===(0,to.Z)(tn=tn||{})&&(ta=tn.orientation,ts=tn.unit||ts,tu=tn.format||tu,tc=tn.compress||tn.compressPdf||tc,null!==(tb=tn.encryption||null)&&(tb.userPassword=tb.userPassword||"",tb.ownerPassword=tb.ownerPassword||"",tb.userPermissions=tb.userPermissions||[]),tg="number"==typeof tn.userUnit?Math.abs(tn.userUnit):1,void 0!==tn.precision&&(ti=tn.precision),void 0!==tn.floatPrecision&&(tm=tn.floatPrecision),tv=tn.defaultPathOperation||"S"),td=tn.filters||(!0===tc?["FlateEncode"]:td),ts=ts||"mm",ta=(""+(ta||"P")).toLowerCase();var ty=tn.putOnlyUsedFonts||!1,tw={},tN={internal:{},__private__:{}};tN.__private__.PubSub=j;var tL="1.3",tx=tN.__private__.getPdfVersion=function(){return tL};tN.__private__.setPdfVersion=function(tn){tL=tn};var tA={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]};tN.__private__.getPageFormats=function(){return tA};var tS=tN.__private__.getPageFormat=function(tn){return tA[tn]};tu=tu||"a4";var t_="compat",tP="advanced",tk=t_;function P(){this.saveGraphicsState(),t1(new Wt(eu,0,0,-eu,0,rS()*eu).toString()+" cm"),this.setFontSize(this.getFontSize()/eu),tv="n",tk=tP}function k(){this.restoreGraphicsState(),tv="S",tk=t_}var tF=tN.__private__.combineFontStyleAndFontWeight=function(tn,ti){if("bold"==tn&&"normal"==ti||"bold"==tn&&400==ti||"normal"==tn&&"italic"==ti||"bold"==tn&&"italic"==ti)throw Error("Invalid Combination of fontweight and fontstyle");return ti&&(tn=400==ti||"normal"===ti?"italic"===tn?"italic":"normal":700!=ti&&"bold"!==ti||"normal"!==tn?(700==ti?"bold":ti)+""+tn:"bold"),tn};tN.advancedAPI=function(tn){var ti=tk===t_;return ti&&P.call(this),"function"!=typeof tn||(tn(this),ti&&k.call(this)),this},tN.compatAPI=function(tn){var ti=tk===tP;return ti&&k.call(this),"function"!=typeof tn||(tn(this),ti&&P.call(this)),this},tN.isAdvancedAPI=function(){return tk===tP};var tI,R=function(tn){if(tk!==tP)throw Error(tn+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},tj=tN.roundToPrecision=tN.__private__.roundToPrecision=function(tn,ta){var to=ti||ta;if(isNaN(tn)||isNaN(to))throw Error("Invalid argument passed to jsPDF.roundToPrecision");return tn.toFixed(to).replace(/0+$/,"")};tI=tN.hpf=tN.__private__.hpf="number"==typeof tm?function(tn){if(isNaN(tn))throw Error("Invalid argument passed to jsPDF.hpf");return tj(tn,tm)}
31:"smart"===tm?function(tn){if(isNaN(tn))throw Error("Invalid argument passed to jsPDF.hpf");return tj(tn,tn>-1&&tn<1?16:5)}:function(tn){if(isNaN(tn))throw Error("Invalid argument passed to jsPDF.hpf");return tj(tn,16)};var tC=tN.f2=tN.__private__.f2=function(tn){if(isNaN(tn))throw Error("Invalid argument passed to jsPDF.f2");return tj(tn,2)},tE=tN.__private__.f3=function(tn){if(isNaN(tn))throw Error("Invalid argument passed to jsPDF.f3");return tj(tn,3)},tO=tN.scale=tN.__private__.scale=function(tn){if(isNaN(tn))throw Error("Invalid argument passed to jsPDF.scale");return tk===t_?tn*eu:tk===tP?tn:void 0},H=function(tn){return tO(tk===t_?rS()-tn:tk===tP?tn:void 0)};tN.__private__.setPrecision=tN.setPrecision=function(tn){"number"==typeof parseInt(tn,10)&&(ti=parseInt(tn,10))};var tB,tM="00000000000000000000000000000000",tq=tN.__private__.getFileId=function(){return tM},tR=tN.__private__.setFileId=function(tn){return tM=void 0!==tn&&/^[a-fA-F0-9]{32}$/.test(tn)?tn.toUpperCase():tM.split("").map(function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))}).join(""),null!==tb&&(e$=new I(tb.userPermissions,tb.userPassword,tb.ownerPassword,tM)),tM};tN.setFileId=function(tn){return tR(tn),this},tN.getFileId=function(){return tq()};var tD=tN.__private__.convertDateToPDFDate=function(tn){var ti=tn.getTimezoneOffset(),ta=[ti<0?"+":"-",tW(Math.floor(Math.abs(ti/60))),"'",tW(Math.abs(ti%60)),"'"].join("");return["D:",tn.getFullYear(),tW(tn.getMonth()+1),tW(tn.getDate()),tW(tn.getHours()),tW(tn.getMinutes()),tW(tn.getSeconds()),ta].join("")},tT=tN.__private__.convertPDFDateToDate=function(tn){var ti=parseInt(tn.substr(2,4),10),ta=parseInt(tn.substr(6,2),10)-1,to=parseInt(tn.substr(8,2),10),ts=parseInt(tn.substr(10,2),10),tu=parseInt(tn.substr(12,2),10),tc=parseInt(tn.substr(14,2),10);return new Date(ti,ta,to,ts,tu,tc,0)},tz=tN.__private__.setCreationDate=function(tn){var ti;if(void 0===tn&&(tn=new Date),tn instanceof Date)ti=tD(tn);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(tn))throw Error("Invalid argument passed to jsPDF.setCreationDate");ti=tn}return tB=ti},tU=tN.__private__.getCreationDate=function(tn){var ti=tB;return"jsDate"===tn&&(ti=tT(tB)),ti};tN.setCreationDate=function(tn){return tz(tn),this},tN.getCreationDate=function(tn){return tU(tn)};var tH,tW=tN.__private__.padd2=function(tn){return("0"+parseInt(tn)).slice(-2)},tV=tN.__private__.padd2Hex=function(tn){return("00"+(tn=tn.toString())).substr(tn.length)},tG=0,tJ=[],tY=[],tX=0,tZ=[],tK=[],t$=!1,tQ=tY;tN.__private__.setCustomOutputDestination=function(tn){t$=!0,tQ=tn};var ct=function(tn){t$||(tQ=tn)};tN.__private__.resetCustomOutputDestination=function(){t$=!1,tQ=tY};var t1=tN.__private__.out=function(tn){return tn=tn.toString(),tX+=tn.length+1,tQ.push(tn),tQ},t2=tN.__private__.write=function(tn){return t1(1==arguments.length?tn.toString():Array.prototype.join.call(arguments," "))},t5=tN.__private__.getArrayBuffer=function(tn){for(var ti=tn.length,ta=new ArrayBuffer(ti),to=new Uint8Array(ta);ti--;)to[ti]=tn.charCodeAt(ti);return ta},t0=[["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]];tN.__private__.getStandardFonts=function(){return t0};var t3=tn.fontSize||16;tN.__private__.setFontSize=tN.setFontSize=function(tn){return t3=tk===tP?tn/eu:tn,this};var t4,t6=tN.__private__.getFontSize=tN.getFontSize=function(){return tk===t_?t3:t3*eu}
vendor: 6,389 bytes, line 31
31,t8=tn.R2L||!1;tN.__private__.setR2L=tN.setR2L=function(tn){return t8=tn,this},tN.__private__.getR2L=tN.getR2L=function(){return t8};var t7,t9=tN.__private__.setZoomMode=function(tn){if(/^(?:\d+\.\d*|\d*\.\d+|\d+)%$/.test(tn))t4=tn;else if(isNaN(tn)){if(-1===[void 0,null,"fullwidth","fullheight","fullpage","original"].indexOf(tn))throw Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+tn+'" is not recognized.');t4=tn}else t4=parseInt(tn,10)};tN.__private__.getZoomMode=function(){return t4};var en,ei=tN.__private__.setPageMode=function(tn){if(-1==[void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(tn))throw Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+tn+'" is not recognized.');t7=tn};tN.__private__.getPageMode=function(){return t7};var ea=tN.__private__.setLayoutMode=function(tn){if(-1==[void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(tn))throw Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+tn+'" is not recognized.');en=tn};tN.__private__.getLayoutMode=function(){return en},tN.__private__.setDisplayMode=tN.setDisplayMode=function(tn,ti,ta){return t9(tn),ea(ti),ei(ta),this};var eo={title:"",subject:"",author:"",keywords:"",creator:""};tN.__private__.getDocumentProperty=function(tn){if(-1===Object.keys(eo).indexOf(tn))throw Error("Invalid argument passed to jsPDF.getDocumentProperty");return eo[tn]},tN.__private__.getDocumentProperties=function(){return eo},tN.__private__.setDocumentProperties=tN.setProperties=tN.setDocumentProperties=function(tn){for(var ti in eo)eo.hasOwnProperty(ti)&&tn[ti]&&(eo[ti]=tn[ti]);return this},tN.__private__.setDocumentProperty=function(tn,ti){if(-1===Object.keys(eo).indexOf(tn))throw Error("Invalid arguments passed to jsPDF.setDocumentProperty");return eo[tn]=ti};var es,eu,ec,el,eh,ef={},ed={},ep=[],eg={},em={},ev={},eb={},ey=null,ew=0,eN=[],eL=new j(tN),ex=tn.hotfixes||[],eA={},eS={},e_=[],Wt=function t(tn,ti,ta,to,ts,tu){if(!(this instanceof t))return new t(tn,ti,ta,to,ts,tu);isNaN(tn)&&(tn=1),isNaN(ti)&&(ti=0),isNaN(ta)&&(ta=0),isNaN(to)&&(to=1),isNaN(ts)&&(ts=0),isNaN(tu)&&(tu=0),this._matrix=[tn,ti,ta,to,ts,tu]};Object.defineProperty(Wt.prototype,"sx",{get:function(){return this._matrix[0]},set:function(tn){this._matrix[0]=tn}}),Object.defineProperty(Wt.prototype,"shy",{get:function(){return this._matrix[1]},set:function(tn){this._matrix[1]=tn}}),Object.defineProperty(Wt.prototype,"shx",{get:function(){return this._matrix[2]},set:function(tn){this._matrix[2]=tn}}),Object.defineProperty(Wt.prototype,"sy",{get:function(){return this._matrix[3]},set:function(tn){this._matrix[3]=tn}}),Object.defineProperty(Wt.prototype,"tx",{get:function(){return this._matrix[4]},set:function(tn){this._matrix[4]=tn}}),Object.defineProperty(Wt.prototype,"ty",{get:function(){return this._matrix[5]},set:function(tn){this._matrix[5]=tn}}),Object.defineProperty(Wt.prototype,"a",{get:function(){return this._matrix[0]},set:function(tn){this._matrix[0]=tn}}),Object.defineProperty(Wt.prototype,"b",{get:function(){return this._matrix[1]},set:function(tn){this._matrix[1]=tn}}),Object.defineProperty(Wt.prototype,"c",{get:function(){return this._matrix[2]},set:function(tn){this._matrix[2]=tn}}),Object.defineProperty(Wt.prototype,"d",{get:function(){return this._matrix[3]},set:function(tn){this._matrix[3]=tn}}),Object.defineProperty(Wt.prototype,"e",{get:function(){return this._matrix[4]},set:function(tn){this._matrix[4]=tn}}),Object.defineProperty(Wt.prototype,"f",{get:function(){return this._matrix[5]},set:function(tn){this._matrix[5]=tn}}),Object.defineProperty(Wt.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(Wt.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(Wt.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(Wt.prototype,"isIdentity",{get:function(){return 1===this.sx&&0===this.shy&&0===this.shx&&1===this.sy&&0===this.tx&&0===this.ty}}),Wt.prototype.join=function(tn){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(tI).join(tn)},Wt.prototype.multiply=function(tn){var ti=tn.sx*this.sx+tn.shy*this.shx,ta=tn.sx*this.shy+tn.shy*this.sy,to=tn.shx*this.sx+tn.sy*this.shx,ts=tn.shx*this.shy+tn.sy*this.sy,tu=tn.tx*this.sx+tn.ty*this.shx+this.tx,tc=tn.tx*this.shy+tn.ty*this.sy+this.ty;return new Wt(ti,ta,to,ts,tu,tc)},Wt.prototype.decompose=function(){var tn=this.sx,ti=this.shy,ta=this.shx,to=this.sy,ts=this.tx,tu=this.ty,tc=Math.sqrt(tn*tn+ti*ti),tl=(tn/=tc)*ta+(ti/=tc)*to,th=Math.sqrt((ta-=tn*tl)*ta+(to-=ti*tl)*to);return tl/=th,tn*(to/=th)<ti*(ta/=th)&&(tn=-tn,ti=-ti,tl=-tl,tc=-tc),{scale:new Wt(tc,0,0,th,0,0),translate:new Wt(1,0,0,1,ts,tu),rotate:new Wt(tn,ti,-ti,tn,0,0),skew:new Wt(1,0,tl,1,0,0)}},Wt.prototype.toString=function(tn){return this.join(" ")},Wt.prototype.inversed=function(){var tn=this.sx,ti=this.shy,ta=this.shx,to=this.sy,ts=this.tx,tu=this.ty,tc=1/(tn*to-ti*ta),tl=to*tc,th=-ti*tc,tf=-ta*tc,td=tn*tc;return new Wt(tl,th,tf,td,-tl*ts-tf*tu,-th*ts-td*tu)},Wt.prototype.applyToPoint=function(tn){var ti=tn.x*this.sx+tn.y*this.shx+this.tx,ta=tn.x*this.shy+tn.y*this.sy+this.ty;return new mr(ti,ta)},Wt.prototype.applyToRectangle=function(tn){var ti=this.applyToPoint(tn),ta=this.applyToPoint(new mr(tn.x+tn.w,tn.y+tn.h));return new vr(ti.x,ti.y,ta.x-ti.x,ta.y-ti.y)},Wt.prototype.clone=function(){var tn=this.sx,ti=this.shy,ta=this.shx,to=this.sy,ts=this.tx,tu=this.ty;return new Wt(tn,ti,ta,to,ts,tu)},tN.Matrix=Wt;var eP=tN.matrixMult=function(tn,ti){return ti.multiply(tn)},ek=new Wt(1,0,0,1,0,0);tN.unitMatrix=tN.identityMatrix=ek;var Yt=function(tn,ti){if(!em[tn]){var ta=(ti instanceof M?"Sh":"P")+(Object.keys(eg).length+1).toString(10);ti.id=ta,em[tn]=ta,eg[ta]=ti,eL.publish("addPattern",ti)}};tN.ShadingPattern=M,tN.TilingPattern=q,tN.addShadingPattern=function(tn,ti){return R("addShadingPattern()"),Yt(tn,ti),this},tN.beginTilingPattern=function(tn){R("beginTilingPattern()"),yr(tn.boundingBox[0],tn.boundingBox[1],tn.boundingBox[2]-tn.boundingBox[0],tn.boundingBox[3]-tn.boundingBox[1],tn.matrix)},tN.endTilingPattern=function(tn,ti){R("endTilingPattern()"),ti.stream=tK[tH].join("\n"),Yt(tn,ti),eL.publish("endTilingPattern",ti),e_.pop().restore(
vendor: 11,093 bytes, line 31
31)};var eF,eI=tN.__private__.newObject=function(){var tn=ej();return Zt(tn,!0),tn},ej=tN.__private__.newObjectDeferred=function(){return tJ[++tG]=function(){return tX},tG},Zt=function(tn,ti){return ti="boolean"==typeof ti&&ti,tJ[tn]=tX,ti&&t1(tn+" 0 obj"),tn},eC=tN.__private__.newAdditionalObject=function(){var tn={objId:ej(),content:""};return tZ.push(tn),tn},eE=ej(),eO=ej(),eB=tN.__private__.decodeColorString=function(tn){var ti=tn.split(" ");if(2!==ti.length||"g"!==ti[1]&&"G"!==ti[1])5!==ti.length||"k"!==ti[4]&&"K"!==ti[4]||(ti=[(1-ti[0])*(1-ti[3]),(1-ti[1])*(1-ti[3]),(1-ti[2])*(1-ti[3]),"r"]);else{var ta=parseFloat(ti[0]);ti=[ta,ta,ta,"r"]}for(var to="#",ts=0;ts<3;ts++)to+=("0"+Math.floor(255*parseFloat(ti[ts])).toString(16)).slice(-2);return to},eM=tN.__private__.encodeColorString=function(tn){"string"==typeof tn&&(tn={ch1:tn});var ti,ta=tn.ch1,ts=tn.ch2,tu=tn.ch3,tc=tn.ch4,tl="draw"===tn.pdfColorType?["G","RG","K"]:["g","rg","k"];if("string"==typeof ta&&"#"!==ta.charAt(0)){var th=new h(ta);if(th.ok)ta=th.toHex();else if(!/^\d*\.?\d*$/.test(ta))throw Error('Invalid color "'+ta+'" passed to jsPDF.encodeColorString.')}if("string"==typeof ta&&/^#[0-9A-Fa-f]{3}$/.test(ta)&&(ta="#"+ta[1]+ta[1]+ta[2]+ta[2]+ta[3]+ta[3]),"string"==typeof ta&&/^#[0-9A-Fa-f]{6}$/.test(ta)){var tf=parseInt(ta.substr(1),16);ta=tf>>16&255,ts=tf>>8&255,tu=255&tf}if(void 0===ts||void 0===tc&&ta===ts&&ts===tu)ti="string"==typeof ta?ta+" "+tl[0]:2===tn.precision?tC(ta/255)+" "+tl[0]:tE(ta/255)+" "+tl[0];else if(void 0===tc||"object"===(0,to.Z)(tc)){if(tc&&!isNaN(tc.a)&&0===tc.a)return["1.","1.","1.",tl[1]].join(" ");ti="string"==typeof ta?[ta,ts,tu,tl[1]].join(" "):2===tn.precision?[tC(ta/255),tC(ts/255),tC(tu/255),tl[1]].join(" "):[tE(ta/255),tE(ts/255),tE(tu/255),tl[1]].join(" ")}else ti="string"==typeof ta?[ta,ts,tu,tc,tl[2]].join(" "):2===tn.precision?[tC(ta),tC(ts),tC(tu),tC(tc),tl[2]].join(" "):[tE(ta),tE(ts),tE(tu),tE(tc),tl[2]].join(" ");return ti},eq=tN.__private__.getFilters=function(){return td},eR=tN.__private__.putStream=function(tn){var ti=(tn=tn||{}).data||"",ta=tn.filters||eq(),to=tn.alreadyAppliedFilters||[],ts=tn.addLength1||!1,tu=ti.length,tc=tn.objectId,s=function(tn){return tn};if(null!==tb&&void 0===tc)throw Error("ObjectId must be passed to putStream for file encryption");null!==tb&&(s=e$.encryptor(tc,0));var tl={};!0===ta&&(ta=["FlateEncode"]);var th=tn.additionalKeyValues||[],tf=(tl=void 0!==E.API.processDataByFilters?E.API.processDataByFilters(ti,ta):{data:ti,reverseChain:[]}).reverseChain+(Array.isArray(to)?to.join(" "):to.toString());if(0!==tl.data.length&&(th.push({key:"Length",value:tl.data.length}),!0===ts&&th.push({key:"Length1",value:tu})),0!=tf.length){if(tf.split("/").length-1==1)th.push({key:"Filter",value:tf});else{th.push({key:"Filter",value:"["+tf+"]"});for(var td=0;td<th.length;td+=1)if("DecodeParms"===th[td].key){for(var tp=[],tg=0;tg<tl.reverseChain.split("/").length-1;tg+=1)tp.push("null");tp.push(th[td].value),th[td].value="["+tp.join(" ")+"]"}}}t1("<<");for(var tm=0;tm<th.length;tm++)t1("/"+th[tm].key+" "+th[tm].value);t1(">>"),0!==tl.data.length&&(t1("stream"),t1(s(tl.data)),t1("endstream"))},eD=tN.__private__.putPage=function(tn){var ti=tn.number,ta=tn.data,to=tn.objId,ts=tn.contentsObjId;Zt(to,!0),t1("<</Type /Page"),t1("/Parent "+tn.rootDictionaryObjId+" 0 R"),t1("/Resources "+tn.resourceDictionaryObjId+" 0 R"),t1("/MediaBox ["+parseFloat(tI(tn.mediaBox.bottomLeftX))+" "+parseFloat(tI(tn.mediaBox.bottomLeftY))+" "+tI(tn.mediaBox.topRightX)+" "+tI(tn.mediaBox.topRightY)+"]"),null!==tn.cropBox&&t1("/CropBox ["+tI(tn.cropBox.bottomLeftX)+" "+tI(tn.cropBox.bottomLeftY)+" "+tI(tn.cropBox.topRightX)+" "+tI(tn.cropBox.topRightY)+"]"),null!==tn.bleedBox&&t1("/BleedBox ["+tI(tn.bleedBox.bottomLeftX)+" "+tI(tn.bleedBox.bottomLeftY)+" "+tI(tn.bleedBox.topRightX)+" "+tI(tn.bleedBox.topRightY)+"]"),null!==tn.trimBox&&t1("/TrimBox ["+tI(tn.trimBox.bottomLeftX)+" "+tI(tn.trimBox.bottomLeftY)+" "+tI(tn.trimBox.topRightX)+" "+tI(tn.trimBox.topRightY)+"]"),null!==tn.artBox&&t1("/ArtBox ["+tI(tn.artBox.bottomLeftX)+" "+tI(tn.artBox.bottomLeftY)+" "+tI(tn.artBox.topRightX)+" "+tI(tn.artBox.topRightY)+"]"),"number"==typeof tn.userUnit&&1!==tn.userUnit&&t1("/UserUnit "+tn.userUnit),eL.publish("putPage",{objId:to,pageContext:eN[ti],pageNumber:ti,page:ta}),t1("/Contents "+ts+" 0 R"),t1(">>"),t1("endobj");var tu=ta.join("\n");return tk===tP&&(tu+="\nQ"),Zt(ts,!0),eR({data:tu,filters:eq(),objectId:ts}),t1("endobj"),to},eT=tN.__private__.putPages=function(){var tn,ti,ta=[];for(tn=1;tn<=ew;tn++)eN[tn].objId=ej(),eN[tn].contentsObjId=ej();for(tn=1;tn<=ew;tn++)ta.push(eD({number:tn,data:tK[tn],objId:eN[tn].objId,contentsObjId:eN[tn].contentsObjId,mediaBox:eN[tn].mediaBox,cropBox:eN[tn].cropBox,bleedBox:eN[tn].bleedBox,trimBox:eN[tn].trimBox,artBox:eN[tn].artBox,userUnit:eN[tn].userUnit,rootDictionaryObjId:eE,resourceDictionaryObjId:eO}));Zt(eE,!0),t1("<</Type /Pages");var to="/Kids [";for(ti=0;ti<ew;ti++)to+=ta[ti]+" 0 R ";t1(to+"]"),t1("/Count "+ew),t1(">>"),t1("endobj"),eL.publish("postPutPages")},se=function(tn){eL.publish("putFont",{font:tn,out:t1,newObject:eI,putStream:eR}),!0!==tn.isAlreadyPutted&&(tn.objectNumber=eI(),t1("<<"),t1("/Type /Font"),t1("/BaseFont /"+C(tn.postScriptName)),t1("/Subtype /Type1"),"string"==typeof tn.encoding&&t1("/Encoding /"+tn.encoding),t1("/FirstChar 32"),t1("/LastChar 255"),t1(">>"),t1("endobj"))},ue=function(tn){tn.objectNumber=eI();var ti=[];ti.push({key:"Type",value:"/XObject"}),ti.push({key:"Subtype",value:"/Form"}),ti.push({key:"BBox",value:"["+[tI(tn.x),tI(tn.y),tI(tn.x+tn.width),tI(tn.y+tn.height)].join(" ")+"]"}),ti.push({key:"Matrix",value:"["+tn.matrix.toString()+"]"}),eR({data:tn.pages[1].join("\n"),additionalKeyValues:ti,objectId:tn.objectNumber}),t1("endobj")},ce=function(tn,ti){ti||(ti=21);var ta=eI(),to=function(tn,ti){var ta,to=[],ts=1/(ti-1);for(ta=0;ta<1;ta+=ts)to.push(ta);if(to.push(1),0!=tn[0].offset){var tu={offset:0,color:tn[0].color};tn.unshift(tu)}if(1!=tn[tn.length-1].offset){var tc={offset:1,color:tn[tn.length-1].color};tn.push(tc)}for(var tl="",th=0,tf=0;tf<to.length;tf++){for(ta=to[tf];ta>tn[th+1].offset;)th++;var td=tn[th].offset,tp=(ta-td)/(tn[th+1].offset-td),tg=tn[th].color,tm=tn[th+1].color;tl+=tV(Math.round((1-tp)*tg[0]+tp*tm[0]).toString(16))+tV(Math.round((1-tp)*tg[1]+tp*tm[1]).toString(16))+tV(Math.round((1-tp)*tg[2]+tp*tm[2]).toString(16))}return tl.trim()}(tn.colors,ti),ts=[];ts.push({key:"FunctionType",value:"0"}),ts.push({key:"Domain",value:"[0.0 1.0]"}),ts.push({key:"Size",value:"["+ti+"]"}),ts.push({key:"BitsPerSample",value:"8"}),ts.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),ts.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),eR({data:to,additionalKeyValues:ts,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:ta}),t1("endobj"),tn.objectNumber=eI(),t1("<< /ShadingType "+tn.type),t1("/ColorSpace /DeviceRGB");var tu="/Coords ["+tI(parseFloat(tn.coords[0]))+" "+tI(parseFloat(tn.coords[1]))+" ";2===tn.type?tu+=tI(parseFloat(tn.coords[2]))+" "+tI(parseFloat(tn.coords[3])):tu+=tI(parseFloat(tn.coords[2]))+" "+tI(parseFloat(tn.coords[3]))+" "+tI(parseFloat(tn.coords[4]))+" "+tI(parseFloat(tn.coords[5])),t1(tu+="]"),tn.matrix&&t1("/Matrix ["+tn.matrix.toString()+"]"),t1("/Function "+ta+" 0 R"),t1("/Extend [true true]"),t1(">>"),t1("endobj")},le=function(tn,ti){var ta=ej(),to=eI();ti.push({resourcesOid:ta,objectOid:to}),tn.objectNumber=to;var ts=[];ts.push({key:"Type",value:"/Pattern"}),ts.push({key:"PatternType",value:"1"}),ts.push({key:"PaintType",value:"1"}),ts.push({key:"TilingType",value:"1"}),ts.push({key:"BBox",value:"["+tn.boundingBox.map(tI).join(" ")+"]"}),ts.push({key:"XStep",value:tI(tn.xStep)}),ts.push({key:"YStep",value:tI(tn.yStep)}),ts.push({key:"Resources",value:ta+" 0 R"}),tn.matrix&&ts.push({key:"Matrix",value:"["+tn.matrix.toString()+"]"}),eR({data:tn.stream,additionalKeyValues:ts,objectId:tn.objectNumber}),t1("endobj")},he=function(tn){for(var ti in tn.objectNumber=eI(),t1("<<"),tn)switch(ti){case"opacity":t1("/ca "+tC(tn[ti]));break;case"stroke-opacity":t1("/CA "+tC(tn[ti]))}t1(">>"),t1("endobj")},fe=function(tn){Zt(tn.resourcesOid,!0),t1("<<"),t1("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),function(){for(var tn in t1("/Font <<"),ef)ef.hasOwnProperty(tn)&&(!1===ty||!0===ty&&tw.hasOwnProperty(tn))&&t1("/"+tn+" "+ef[tn].objectNumber+" 0 R");t1(">>")}(),function(){if(Object.keys(eg).length>0){for(var tn in t1("/Shading <<"),eg)eg.hasOwnProperty(tn)&&eg[tn]instanceof M&&eg[tn].objectNumber>=0&&t1("/"+tn+" "+eg[tn].objectNumber+" 0 R");eL.publish("putShadingPatternDict"),t1(">>")}}(),function(tn){if(Object.keys(eg).length>0){for(var ti in t1("/Pattern <<"),eg)eg.hasOwnProperty(ti)&&eg[ti]instanceof tN.TilingPattern&&eg[ti].objectNumber>=0&&eg[ti].objectNumber<tn&&t1("/"+ti+" "+eg[ti].objectNumber+" 0 R");eL.publish("putTilingPatternDict"),t1(">>")}}(tn.objectOid),function(){if(Object.keys(ev).length>0){var tn;for(tn in t1("/ExtGState <<"),ev)ev.hasOwnProperty(tn)&&ev[tn].objectNumber>=0&&t1("/"+tn+" "+ev[tn].objectNumber+" 0 R");eL.publish("putGStateDict"),t1(">>")}}(),function(){for(var tn in t1("/XObject <<"),eA)eA.hasOwnProperty(tn)&&eA[tn].objectNumber>=0&&t1("/"+tn+" "+eA[tn].objectNumber+" 0 R");eL.publish("putXobjectDict"),t1(">>")}(),t1(">>"),t1("endobj")},de=function(tn){ed[tn.fontName]=ed[tn.fontName]||{},ed[tn.fontName][tn.fontStyle]=tn.id},pe=function(tn,ti,ta,to,ts){var tu={id:"F"+(Object.keys(ef).length+1).toString(10),postScriptName:tn,fontName:ti,fontStyle:ta,encoding:to,isStandardFont:ts||!1,metadata:{}};return eL.publish("addFont",{font:tu,instance:this}),ef[tu.id]=tu,de(tu),tu.id},ez=tN.__private__.pdfEscape=tN.pdfEscape=function(tn,ti){return(function(tn,ti){var ta,to,ts,tu,tc,tl,th,tf,td;if(ts=(ti=ti||{}).sourceEncoding||"Unicode",tc=ti.outputEncoding,(ti.autoencode||tc)&&ef[es].metadata&&ef[es].metadata[ts]&&ef[es].metadata[ts].encoding&&(tu=ef[es].metadata[ts].encoding,!tc&&ef[es].encoding&&(tc=ef[es].encoding),!tc&&tu.codePages&&(tc=tu.codePages[0]),"string"==typeof tc&&(tc=tu[tc]),tc)){for(th=!1,tl=[],ta=0,to=tn.length;ta<to;ta++)(tf=tc[tn.charCodeAt(ta)])?tl.push(String.fromCharCode(tf)):tl.push(tn[ta]),tl[ta].charCodeAt(0)>>8&&(th=!0);tn=tl.join("")}for(ta=tn.length;void 0===th&&0!==ta;)tn.charCodeAt(ta-1)>>8&&(th=!0),ta--;if(!th)return tn;for(tl=ti.noBOM?[]:[254,255],ta=0,to=tn.length;ta<to;ta++){if((td=(tf=tn.charCodeAt(ta))>>8)>>8)throw Error("Character at position "+ta+" of string '"+tn+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");tl.push(td),tl.push(tf-(td<<8))}return String.fromCharCode.apply(void 0,tl)})(tn,ti).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},eU=tN.__private__.beginPage=function(tn){tK[++ew]=[],eN[ew]={objId:0,contentsObjId:0,userUnit:Number(tg),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(tn[0]),topRightY:Number(tn[1])}},ye(ew),ct(tK[tH])},ve=function(tn,ti){var to,ts,tc;switch(ta=ti||ta,"string"==typeof tn&&Array.isArray(to=tS(tn.toLowerCase()))&&
vendor: 6,776 bytes, line 31
31(ts=to[0],tc=to[1]),Array.isArray(tn)&&(ts=tn[0]*eu,tc=tn[1]*eu),isNaN(ts)&&(ts=tu[0],tc=tu[1]),(ts>14400||tc>14400)&&(th.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),ts=Math.min(14400,ts),tc=Math.min(14400,tc)),tu=[ts,tc],ta.substr(0,1)){case"l":tc>ts&&(tu=[tc,ts]);break;case"p":ts>tc&&(tu=[tc,ts])}eU(tu),ro(ri),t1(rp),0!==rw&&t1(rw+" J"),0!==rN&&t1(rN+" j"),eL.publish("addPage",{pageNumber:ew})},be=function(tn){tn>0&&tn<=ew&&(tK.splice(tn,1),eN.splice(tn,1),ew--,tH>ew&&(tH=ew),this.setPage(tH))},ye=function(tn){tn>0&&tn<=ew&&(tH=tn)},eH=tN.__private__.getNumberOfPages=tN.getNumberOfPages=function(){return tK.length-1},Ne=function(tn,ti,ta){var to,ts=void 0;return ta=ta||{},tn=void 0!==tn?tn:ef[es].fontName,ti=void 0!==ti?ti:ef[es].fontStyle,void 0!==ed[to=tn.toLowerCase()]&&void 0!==ed[to][ti]?ts=ed[to][ti]:void 0!==ed[tn]&&void 0!==ed[tn][ti]?ts=ed[tn][ti]:!1===ta.disableWarning&&th.warn("Unable to look up font label for font '"+tn+"', '"+ti+"'. Refer to getFontList() for available fonts."),ts||ta.noFallback||null==(ts=ed.times[ti])&&(ts=ed.times.normal),ts},eW=tN.__private__.putInfo=function(){var tn=eI(),e=function(tn){return tn};for(var ti in null!==tb&&(e=e$.encryptor(tn,0)),t1("<<"),t1("/Producer ("+ez(e("jsPDF "+E.version))+")"),eo)eo.hasOwnProperty(ti)&&eo[ti]&&t1("/"+ti.substr(0,1).toUpperCase()+ti.substr(1)+" ("+ez(e(eo[ti]))+")");t1("/CreationDate ("+ez(e(tB))+")"),t1(">>"),t1("endobj")},eV=tN.__private__.putCatalog=function(tn){var ti=(tn=tn||{}).rootDictionaryObjId||eE;switch(eI(),t1("<<"),t1("/Type /Catalog"),t1("/Pages "+ti+" 0 R"),t4||(t4="fullwidth"),t4){case"fullwidth":t1("/OpenAction [3 0 R /FitH null]");break;case"fullheight":t1("/OpenAction [3 0 R /FitV null]");break;case"fullpage":t1("/OpenAction [3 0 R /Fit]");break;case"original":t1("/OpenAction [3 0 R /XYZ null null 1]");break;default:var ta=""+t4;"%"===ta.substr(ta.length-1)&&(t4=parseInt(t4)/100),"number"==typeof t4&&t1("/OpenAction [3 0 R /XYZ null null "+tC(t4)+"]")}switch(en||(en="continuous"),en){case"continuous":t1("/PageLayout /OneColumn");break;case"single":t1("/PageLayout /SinglePage");break;case"two":case"twoleft":t1("/PageLayout /TwoColumnLeft");break;case"tworight":t1("/PageLayout /TwoColumnRight")}t7&&t1("/PageMode /"+t7),eL.publish("putCatalog"),t1(">>"),t1("endobj")},eG=tN.__private__.putTrailer=function(){t1("trailer"),t1("<<"),t1("/Size "+(tG+1)),t1("/Root "+tG+" 0 R"),t1("/Info "+(tG-1)+" 0 R"),null!==tb&&t1("/Encrypt "+e$.oid+" 0 R"),t1("/ID [ <"+tM+"> <"+tM+"> ]"),t1(">>")},eJ=tN.__private__.putHeader=function(){t1("%PDF-"+tL),t1("%\xba\xdf\xac\xe0")},eY=tN.__private__.putXRef=function(){var tn="0000000000";t1("xref"),t1("0 "+(tG+1)),t1("0000000000 65535 f ");for(var ti=1;ti<=tG;ti++)"function"==typeof tJ[ti]?t1((tn+tJ[ti]()).slice(-10)+" 00000 n "):void 0!==tJ[ti]?t1((tn+tJ[ti]).slice(-10)+" 00000 n "):t1("0000000000 00000 n ")},eX=tN.__private__.buildDocument=function(){tG=0,tX=0,tY=[],tJ=[],tZ=[],eE=ej(),eO=ej(),ct(tY),eL.publish("buildDocument"),eJ(),eT(),function(){eL.publish("putAdditionalObjects");for(var tn=0;tn<tZ.length;tn++){var ti=tZ[tn];Zt(ti.objId,!0),t1(ti.content),t1("endobj")}eL.publish("postPutAdditionalObjects")}(),tn=[],function(){for(var tn in ef)ef.hasOwnProperty(tn)&&(!1===ty||!0===ty&&tw.hasOwnProperty(tn))&&se(ef[tn])}(),function(){var tn;for(tn in ev)ev.hasOwnProperty(tn)&&he(ev[tn])}(),function(){for(var tn in eA)eA.hasOwnProperty(tn)&&ue(eA[tn])}(),function(tn){var ti;for(ti in eg)eg.hasOwnProperty(ti)&&(eg[ti]instanceof M?ce(eg[ti]):eg[ti]instanceof q&&le(eg[ti],tn))}(tn),eL.publish("putResources"),tn.forEach(fe),fe({resourcesOid:eO,objectOid:Number.MAX_SAFE_INTEGER}),eL.publish("postPutResources"),null!==tb&&(e$.oid=eI(),t1("<<"),t1("/Filter /Standard"),t1("/V "+e$.v),t1("/R "+e$.r),t1("/U <"+e$.toHexString(e$.U)+">"),t1("/O <"+e$.toHexString(e$.O)+">"),t1("/P "+e$.P),t1(">>"),t1("endobj")),eW(),eV();var tn,ti=tX;return eY(),eG(),t1("startxref"),t1(""+ti),t1("%%EOF"),ct(tK[tH]),tY.join("\n")},eZ=tN.__private__.getBlob=function(tn){return new Blob([t5(tn)],{type:"application/pdf"})},Fe=function(tn){for(;tn.firstChild;)tn.removeChild(tn.firstChild)},Ie=function(tn){var ti,ta=tn.document,to=ta.documentElement,ts=ta.head,tu=ta.body;return ts||(ts=ta.createElement("head"),to.appendChild(ts)),tu||(tu=ta.createElement("body"),to.appendChild(tu)),Fe(ts),Fe(tu),(ti=ta.createElement("style")).appendChild(ta.createTextNode("html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;}")),ts.appendChild(ti),{document:ta,body:tu}},eK=tN.output=tN.__private__.output=((eF=function(tn,ti){switch("string"==typeof(ti=ti||{})?ti={filename:ti}:ti.filename=ti.filename||"generated.pdf",tn){case void 0:return eX();case"save":tN.save(ti.filename);break;case"arraybuffer":return t5(eX());case"blob":return eZ(eX());case"bloburi":case"bloburl":if(void 0!==tl.URL&&"function"==typeof tl.URL.createObjectURL)return tl.URL&&tl.URL.createObjectURL(eZ(eX()))||void 0;th.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var ta="",to=eX();try{ta=tp(to)}catch(tn){ta=tp(unescape(encodeURIComponent(to)))}return"data:application/pdf;filename="+encodeURIComponent(ti.filename)+";base64,"+ta;case"pdfobjectnewwindow":if("[object Window]"===Object.prototype.toString.call(tl)){var ts="https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js",tu=!ti.pdfObjectUrl;tu||(ts=ti.pdfObjectUrl);var tc=tl.open();if(null!==tc){var tf=Ie(tc),td=tf.document.createElement("script"),tg=this;td.src=ts,tu&&(td.integrity="sha512-4ze/a9/4jqu+tX9dfOqJYSvyYd5M6qum/3HpCLr+/Jqf0whc37VUbkpNGHR7/8pSnCFw47T1fmIpwBV7UySh3g==",td.crossOrigin="anonymous"),td.onload=function(){tc.PDFObject.embed(tg.output("dataurlstring"),ti)},tf.body.appendChild(td)}return tc}throw Error("The option pdfobjectnewwindow just works in a browser-environment.");case"pdfjsnewwindow":if("[object Window]"===Object.prototype.toString.call(tl)){var tm=ti.pdfJsUrl||"examples/PDF.js/web/viewer.html",tv=tl.open();if(null!==tv){var tb=Ie(tv),ty=tb.document.createElement("iframe"),tw=-1===tm.indexOf("?")?"?":"&";tg=this,ty.id="pdfViewer",ty.width="500px",ty.height="400px",ty.src=tm+tw+"file=&downloadName="+encodeURIComponent(ti.filename),ty.onload=function(){tv.document.title=ti.filename,ty.contentWindow.PDFViewerApplication.open(tg.output("bloburl"))},tb.body.appendChild(ty)}return tv}throw Error("The option pdfjsnewwindow just works in a browser-environment.");case"dataurlnewwindow":if("[object Window]"!==Object.prototype.toString.call(tl))throw Error("The option dataurlnewwindow just works in a browser-environment.");
vendor: 9,492 bytes, line 31
31var tL=tl.open();if(null!==tL){var tx=Ie(tL),tA=tx.document.createElement("iframe");tA.src=this.output("datauristring",ti),tx.body.appendChild(tA),tL.document.title=ti.filename}if(tL||"undefined"==typeof safari)return tL;break;case"datauri":case"dataurl":return tl.document.location.href=this.output("datauristring",ti);default:return null}}).foo=function(){try{return eF.apply(this,arguments)}catch(ta){var tn=ta.stack||"";~tn.indexOf(" at ")&&(tn=tn.split(" at ")[1]);var ti="Error in function "+tn.split("\n")[0].split("<")[0]+": "+ta.message;if(!tl.console)throw Error(ti);tl.console.error(ti,ta),tl.alert&&alert(ti)}},eF.foo.bar=eF,eF.foo),je=function(tn){return!0===Array.isArray(ex)&&ex.indexOf(tn)>-1};switch(ts){case"pt":eu=1;break;case"mm":eu=72/25.4;break;case"cm":eu=72/2.54;break;case"in":eu=72;break;case"px":eu=1==je("px_scaling")?.75:96/72;break;case"pc":case"em":eu=12;break;case"ex":eu=6;break;default:if("number"!=typeof ts)throw Error("Invalid unit: "+ts);eu=ts}var e$=null;tz(),tR();var eQ=tN.__private__.getPageInfo=tN.getPageInfo=function(tn){if(isNaN(tn)||tn%1!=0)throw Error("Invalid argument passed to jsPDF.getPageInfo");return{objId:eN[tn].objId,pageNumber:tn,pageContext:eN[tn]}},e1=tN.__private__.getPageInfoByObjId=function(tn){if(isNaN(tn)||tn%1!=0)throw Error("Invalid argument passed to jsPDF.getPageInfoByObjId");for(var ti in eN)if(eN[ti].objId===tn)break;return eQ(ti)},e2=tN.__private__.getCurrentPageInfo=tN.getCurrentPageInfo=function(){return{objId:eN[tH].objId,pageNumber:tH,pageContext:eN[tH]}};tN.addPage=function(){return ve.apply(this,arguments),this},tN.setPage=function(){return ye.apply(this,arguments),ct.call(this,tK[tH]),this},tN.insertPage=function(tn){return this.addPage(),this.movePage(tH,tn),this},tN.movePage=function(tn,ti){var ta,to;if(tn>ti){ta=tK[tn],to=eN[tn];for(var ts=tn;ts>ti;ts--)tK[ts]=tK[ts-1],eN[ts]=eN[ts-1];tK[ti]=ta,eN[ti]=to,this.setPage(ti)}else if(tn<ti){ta=tK[tn],to=eN[tn];for(var tu=tn;tu<ti;tu++)tK[tu]=tK[tu+1],eN[tu]=eN[tu+1];tK[ti]=ta,eN[ti]=to,this.setPage(ti)}return this},tN.deletePage=function(){return be.apply(this,arguments),this},tN.__private__.text=tN.text=function(tn,ti,ta,ts,tu){var tc,tl,th,tf,td,tp,tg,tm,tv,tb=(ts=ts||{}).scope||this;if("number"==typeof tn&&"number"==typeof ti&&("string"==typeof ta||Array.isArray(ta))){var ty=ta;ta=ti,ti=tn,tn=ty}if(arguments[3]instanceof Wt==0?(th=arguments[4],tf=arguments[5],"object"===(0,to.Z)(tg=arguments[3])&&null!==tg||("string"==typeof th&&(tf=th,th=null),"string"==typeof tg&&(tf=tg,tg=null),"number"==typeof tg&&(th=tg,tg=null),ts={flags:tg,angle:th,align:tf})):(R("The transform parameter of text() with a Matrix value"),tv=tu),isNaN(ti)||isNaN(ta)||null==tn)throw Error("Invalid arguments passed to jsPDF.text");if(0===tn.length)return tb;var tN,tL="",tx="number"==typeof ts.lineHeightFactor?ts.lineHeightFactor:rn,tA=tb.internal.scaleFactor;function x(tn){for(var ti,ta=tn.concat(),to=[],ts=ta.length;ts--;)"string"==typeof(ti=ta.shift())?to.push(ti):Array.isArray(tn)&&(1===ti.length||void 0===ti[1]&&void 0===ti[2])?to.push(ti[0]):to.push([ti[0],ti[1],ti[2]]);return to}function A(tn,ti){var ta;if("string"==typeof tn)ta=ti(tn)[0];else if(Array.isArray(tn)){for(var to,ts,tu=tn.concat(),tc=[],tl=tu.length;tl--;)"string"==typeof(to=tu.shift())?tc.push(ti(to)[0]):Array.isArray(to)&&"string"==typeof to[0]&&tc.push([(ts=ti(to[0],to[1],to[2]))[0],ts[1],ts[2]]);ta=tc}return ta}var tS=!1,t_=!0;if("string"==typeof tn)tS=!0;else if(Array.isArray(tn)){var tF=tn.concat();tl=[];for(var tj,tC=tF.length;tC--;)("string"!=typeof(tj=tF.shift())||Array.isArray(tj)&&"string"!=typeof tj[0])&&(t_=!1);tS=t_}if(!1===tS)throw Error('Type of text must be string or Array. "'+tn+'" is not recognized.');"string"==typeof tn&&(tn=tn.match(/[\r?\n]/)?tn.split(/\r\n|\r|\n/g):[tn]);var tE=t3/tb.internal.scaleFactor,tB=tE*(tx-1);switch(ts.baseline){case"bottom":ta-=tB;break;case"top":ta+=tE-tB;break;case"hanging":ta+=tE-2*tB;break;case"middle":ta+=tE/2-tB}if((tp=ts.maxWidth||0)>0&&("string"==typeof tn?tn=tb.splitTextToSize(tn,tp):"[object Array]"===Object.prototype.toString.call(tn)&&(tn=tn.reduce(function(tn,ti){return tn.concat(tb.splitTextToSize(ti,tp))},[]))),tc={text:tn,x:ti,y:ta,options:ts,mutex:{pdfEscape:ez,activeFontKey:es,fonts:ef,activeFontSize:t3}},eL.publish("preProcessText",tc),tn=tc.text,th=(ts=tc.options).angle,tv instanceof Wt==0&&th&&"number"==typeof th){th*=Math.PI/180,0===ts.rotationDirection&&(th=-th),tk===tP&&(th=-th);var tM=Math.cos(th),tq=Math.sin(th);tv=new Wt(tM,tq,-tq,tM,0,0)}else th&&th instanceof Wt&&(tv=th);tk!==tP||tv||(tv=ek),void 0!==(td=ts.charSpace||rb)&&(tL+=tI(tO(td))+" Tc\n",this.setCharSpace(this.getCharSpace()||0)),void 0!==(tm=ts.horizontalScale)&&(tL+=tI(100*tm)+" Tz\n"),ts.lang;var tR=-1,tD=void 0!==ts.renderingMode?ts.renderingMode:ts.stroke,tT=tb.internal.getCurrentPageInfo().pageContext;switch(tD){case 0:case!1:case"fill":tR=0;break;case 1:case!0:case"stroke":tR=1;break;case 2:case"fillThenStroke":tR=2;break;case 3:case"invisible":tR=3;break;case 4:case"fillAndAddForClipping":tR=4;break;case 5:case"strokeAndAddPathForClipping":tR=5;break;case 6:case"fillThenStrokeAndAddToPathForClipping":tR=6;break;case 7:case"addToPathForClipping":tR=7}var tz=void 0!==tT.usedRenderingMode?tT.usedRenderingMode:-1;-1!==tR?tL+=tR+" Tr\n":-1!==tz&&(tL+="0 Tr\n"),-1!==tR&&(tT.usedRenderingMode=tR),tf=ts.align||"left";var tU,tH=t3*tx,tW=tb.internal.pageSize.getWidth(),tV=ef[es];td=ts.charSpace||rb,tp=ts.maxWidth||0,tg=Object.assign({autoencode:!0,noBOM:!0},ts.flags);var tG=[],J=function(tn){return tb.getStringUnitWidth(tn,{font:tV,charSpace:td,fontSize:t3,doKerning:!1})*t3/tA};if("[object Array]"===Object.prototype.toString.call(tn)){tl=x(tn),"left"!==tf&&(tU=tl.map(J));var tJ,tY,tX=0;if("right"===tf){ti-=tU[0],tn=[],tC=tl.length;for(var tZ=0;tZ<tC;tZ++)0===tZ?(tY=rl(ti),tJ=rh(ta)):(tY=tO(tX-tU[tZ]),tJ=-tH),tn.push([tl[tZ],tY,tJ]),tX=tU[tZ]}else if("center"===tf){ti-=tU[0]/2,tn=[],tC=tl.length;for(var tK=0;tK<tC;tK++)0===tK?(tY=rl(ti),tJ=rh(ta)):(tY=tO((tX-tU[tK])/2),tJ=-tH),tn.push([tl[tK],tY,tJ]),tX=tU[tK]}else if("left"===tf){tn=[],tC=tl.length;for(var t$=0;t$<tC;t$++)tn.push(tl[t$])}else if("justify"===tf&&"Identity-H"===tV.encoding){tn=[],tC=tl.length,tp=0!==tp?tp:tW;for(var tQ=0,t2=0;t2<tC;t2++)if(tJ=0===t2?rh(ta):-tH,tY=0===t2?rl(ti):tQ,t2<tC-1){var t5=tO((tp-tU[t2])/(tl[t2].split(" ").length-1)),t0=tl[t2].split(" ");tn.push([t0[0]+" ",tY,tJ]),tQ=0;for(var t4=1;t4<t0.length;t4++){var t6=(J(t0[t4-1]+" "+t0[t4])-J(t0[t4]))*tA+t5;t4==t0.length-1?tn.push([t0[t4],t6,0]):tn.push([t0[t4]+" ",t6,0]),tQ-=t6}}else tn.push([tl[t2],tY,tJ]);tn.push(["",tQ,0])}else{if("justify"!==tf)throw Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');for(tn=[],tC=tl.length,tp=0!==tp?tp:tW,t2=0;t2<tC;t2++){tJ=0===t2?rh(ta):-tH,tY=0===t2?rl(ti):0;var t7=tl[t2].split(" ").length-1,t9=t7>0?(tp-tU[t2])/t7:0;t2<tC-1?tG.push(tI(tO(t9))):tG.push(0),tn.push([tl[t2],tY,tJ])}}}!0===("boolean"==typeof ts.R2L?ts.R2L:t8)&&(tn=A(tn,function(tn,ti,ta){return[tn.split("").reverse().join(""),ti,ta]})),tc={text:tn,x:ti,y:ta,options:ts,mutex:{pdfEscape:ez,activeFontKey:es,fonts:ef,activeFontSize:t3}},eL.publish("postProcessText",tc),tn=tc.text,tN=tc.mutex.isHex||!1;var en=ef[es].encoding;"WinAnsiEncoding"!==en&&"StandardEncoding"!==en||(tn=A(tn,function(tn,ti,ta){return[ez(tn.split(" ").join(Array(ts.TabLen||9).join(" ")),tg),ti,ta]})),tl=x(tn),tn=[];for(var ei,ea,eo,eu=Array.isArray(tl[0])?1:0,ec="",bt=function(tn,ti,ta){var to="";return ta instanceof Wt?(ta="number"==typeof ts.angle?eP(ta,new Wt(1,0,0,1,tn,ti)):eP(new Wt(1,0,0,1,tn,ti),ta),tk===tP&&(ta=eP(new Wt(1,0,0,-1,0,0),ta)),to=ta.join(" ")+" Tm\n"):to=tI(tn)+" "+tI(ti)+" Td\n",to},el=0;el<tl.length;el++){switch(ec="",eu){case 1:eo=(tN?"<":"(")+tl[el][0]+(tN?">":")"),ei=parseFloat(tl[el][1]),ea=parseFloat(tl[el][2]);break;case 0:eo=(tN?"<":"(")+tl[el]+(tN?">":")"),ei=rl(ti),ea=rh(ta)}void 0!==tG&&void 0!==tG[el]&&(ec=tG[el]+" Tw\n"),0===el?tn.push(ec+bt(ei,ea,tv)+eo):0===eu?tn.push(ec+eo):1===eu&&tn.push(ec+bt(ei,ea,tv)+eo)}tn=(0===eu?tn.join(" Tj\nT* "):tn.join(" Tj\n"))+" Tj\n";var eh="BT\n/";return t1(eh+=es+" "+t3+" Tf\n"+tI(t3*tx)+" TL\n"+rm+"\n"+tL+tn+"ET"),tw[es]=!0,tb};var e5=tN.__private__.clip=tN.clip=function(tn){return t1("evenodd"===tn?"W*":"W"),this};tN.clipEvenOdd=function(){return e5("evenodd")},tN.__private__.discardPath=tN.discardPath=function(){return t1("n"),this};var e0=tN.__private__.isValidStyle=function(tn){var ti=!1;return -1!==[void 0,null,"S","D","F","DF","FD","f","f*","B","B*","n"].indexOf(tn)&&(ti=!0),ti};tN.__private__.setDefaultPathOperation=tN.setDefaultPathOperation=function(tn){return e0(tn)&&(tv=tn),this};var e3=tN.__private__.getStyle=tN.getStyle=function(tn){var ti=tv;switch(tn){case"D":case"S":ti="S";break;case"F":ti="f";break;case"FD":case"DF":ti="B";break;case"f":case"f*":case"B":case"B*":ti=tn}return ti},e4=tN.close=function(){return t1("h"),this};tN.stroke=function(){return t1("S"),this},tN.fill=function(tn){return ze("f",tn),this},tN.fillEvenOdd=function(tn){return ze("f*",tn),this},tN.fillStroke=function(tn){return ze("B",tn),this},tN.fillStrokeEvenOdd=function(tn){return ze("B*",tn),this};var ze=function(tn,ti){"object"===(0,to.Z)(ti)?We(ti,tn):t1(tn)},Ue=function(tn){null===tn||tk===tP&&void 0===tn||t1(tn=e3(tn))};function He(tn,ti,ta,to,ts){var tu=new q(ti||this.boundingBox,ta||this.xStep,to||this.yStep,this.gState,ts||this.matrix
vendor: 4,288 bytes, line 31
31);return tu.stream=this.stream,Yt(tn+"$$"+this.cloneIndex+++"$$",tu),tu}var We=function(tn,ti){var ta=em[tn.key],to=eg[ta];if(to instanceof M)t1("q"),t1(Ve(ti)),to.gState&&tN.setGState(to.gState),t1(tn.matrix.toString()+" cm"),t1("/"+ta+" sh"),t1("Q");else if(to instanceof q){var ts=new Wt(1,0,0,-1,0,rS());tn.matrix&&(ts=ts.multiply(tn.matrix||ek),ta=He.call(to,tn.key,tn.boundingBox,tn.xStep,tn.yStep,ts).id),t1("q"),t1("/Pattern cs"),t1("/"+ta+" scn"),to.gState&&tN.setGState(to.gState),t1(ti),t1("Q")}},Ve=function(tn){switch(tn){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"}},e6=tN.moveTo=function(tn,ti){return t1(tI(tO(tn))+" "+tI(H(ti))+" m"),this},e8=tN.lineTo=function(tn,ti){return t1(tI(tO(tn))+" "+tI(H(ti))+" l"),this},e7=tN.curveTo=function(tn,ti,ta,to,ts,tu){return t1([tI(tO(tn)),tI(H(ti)),tI(tO(ta)),tI(H(to)),tI(tO(ts)),tI(H(tu)),"c"].join(" ")),this};tN.__private__.line=tN.line=function(tn,ti,ta,to,ts){if(isNaN(tn)||isNaN(ti)||isNaN(ta)||isNaN(to)||!e0(ts))throw Error("Invalid arguments passed to jsPDF.line");return tk===t_?this.lines([[ta-tn,to-ti]],tn,ti,[1,1],ts||"S"):this.lines([[ta-tn,to-ti]],tn,ti,[1,1]).stroke()},tN.__private__.lines=tN.lines=function(tn,ti,ta,to,ts,tu){var tc,tl,th,tf,td,tp,tg,tm,tv,tb,ty;if("number"==typeof tn&&(ty=ta,ta=ti,ti=tn,tn=ty),to=to||[1,1],tu=tu||!1,isNaN(ti)||isNaN(ta)||!Array.isArray(tn)||!Array.isArray(to)||!e0(ts)||"boolean"!=typeof tu)throw Error("Invalid arguments passed to jsPDF.lines");for(e6(ti,ta),tc=to[0],tl=to[1],tf=tn.length,tv=ti,tb=ta,th=0;th<tf;th++)2===(td=tn[th]).length?e8(tv=td[0]*tc+tv,tb=td[1]*tl+tb):(tp=td[0]*tc+tv,tg=td[1]*tl+tb,tm=td[2]*tc+tv,e7(tp,tg,tm,td[3]*tl+tb,tv=td[4]*tc+tv,tb=td[5]*tl+tb));return tu&&e4(),Ue(ts),this},tN.path=function(tn){for(var ti=0;ti<tn.length;ti++){var ta=tn[ti],to=ta.c;switch(ta.op){case"m":e6(to[0],to[1]);break;case"l":e8(to[0],to[1]);break;case"c":e7.apply(this,to);break;case"h":e4()}}return this},tN.__private__.rect=tN.rect=function(tn,ti,ta,to,ts){if(isNaN(tn)||isNaN(ti)||isNaN(ta)||isNaN(to)||!e0(ts))throw Error("Invalid arguments passed to jsPDF.rect");return tk===t_&&(to=-to),t1([tI(tO(tn)),tI(H(ti)),tI(tO(ta)),tI(tO(to)),"re"].join(" ")),Ue(ts),this},tN.__private__.triangle=tN.triangle=function(tn,ti,ta,to,ts,tu,tc){if(isNaN(tn)||isNaN(ti)||isNaN(ta)||isNaN(to)||isNaN(ts)||isNaN(tu)||!e0(tc))throw Error("Invalid arguments passed to jsPDF.triangle");return this.lines([[ta-tn,to-ti],[ts-ta,tu-to],[tn-ts,ti-tu]],tn,ti,[1,1],tc,!0),this},tN.__private__.roundedRect=tN.roundedRect=function(tn,ti,ta,to,ts,tu,tc){if(isNaN(tn)||isNaN(ti)||isNaN(ta)||isNaN(to)||isNaN(ts)||isNaN(tu)||!e0(tc))throw Error("Invalid arguments passed to jsPDF.roundedRect");var tl=4/3*(Math.SQRT2-1);return ts=Math.min(ts,.5*ta),tu=Math.min(tu,.5*to),this.lines([[ta-2*ts,0],[ts*tl,0,ts,tu-tu*tl,ts,tu],[0,to-2*tu],[0,tu*tl,-ts*tl,tu,-ts,tu],[2*ts-ta,0],[-ts*tl,0,-ts,-tu*tl,-ts,-tu],[0,2*tu-to],[0,-tu*tl,ts*tl,-tu,ts,-tu]],tn+ts,ti,[1,1],tc,!0),this},tN.__private__.ellipse=tN.ellipse=function(tn,ti,ta,to,ts){if(isNaN(tn)||isNaN(ti)||isNaN(ta)||isNaN(to)||!e0(ts))throw Error("Invalid arguments passed to jsPDF.ellipse");var tu=4/3*(Math.SQRT2-1)*ta,tc=4/3*(Math.SQRT2-1)*to;return e6(tn+ta,ti),e7(tn+ta,ti-tc,tn+tu,ti-to,tn,ti-to),e7(tn-tu,ti-to,tn-ta,ti-tc,tn-ta,ti),e7(tn-ta,ti+tc,tn-tu,ti+to,tn,ti+to),e7(tn+tu,ti+to,tn+ta,ti+tc,tn+ta,ti),Ue(ts),this},tN.__private__.circle=tN.circle=function(tn,ti,ta,to){if(isNaN(tn)||isNaN(ti)||isNaN(ta)||!e0(to))throw Error("Invalid arguments passed to jsPDF.circle");return this.ellipse(tn,ti,ta,ta,to)},tN.setFont=function(tn,ti,ta){return ta&&(ti=tF(ti,ta)),es=Ne(tn,ti,{disableWarning:!1}),this};var e9=tN.__private__.getFont=tN.getFont=function(){return ef[Ne.apply(tN,arguments)]};tN.__private__.getFontList=tN.getFontList=function(){var tn,ti,ta={};for(tn in ed)if(ed.hasOwnProperty(tn))for(ti in ta[tn]=[],ed[tn])ed[tn].hasOwnProperty(ti)&&ta[tn].push(ti);return ta},tN.addFont=function(tn,ti,ta,to,ts){var tu=["StandardEncoding","MacRomanEncoding","Identity-H","WinAnsiEncoding"];return arguments[3]&&-1!==tu.indexOf(arguments[3])?ts=arguments[3]:arguments[3]&&-1==tu.indexOf(arguments[3])&&(ta=tF(ta,to)),pe.call(this,tn,ti,ta,ts=ts||"Identity-H")};
31var rn,ri=tn.lineWidth||.200025,ra=tN.__private__.getLineWidth=tN.getLineWidth=function(){return ri},ro=tN.__private__.setLineWidth=tN.setLineWidth=function(tn){return ri=tn,t1(tI(tO(tn))+" w"),this};tN.__private__.setLineDash=E.API.setLineDash=E.API.setLineDashPattern=function(tn,ti){if(tn=tn||[],isNaN(ti=ti||0)||!Array.isArray(tn))throw Error("Invalid arguments passed to jsPDF.setLineDash");return t1("["+(tn=tn.map(function(tn){return tI(tO(tn))}).join(" "))+"] "+(ti=tI(tO(ti)))+" d"),this};var rs=tN.__private__.getLineHeight=tN.getLineHeight=function(){return t3*rn};tN.__private__.getLineHeight=tN.getLineHeight=function(){return t3*rn};var ru=tN.__private__.setLineHeightFactor=tN.setLineHeightFactor=function(tn){return"number"==typeof(tn=tn||1.15)&&(rn=tn),this},rc=tN.__private__.getLineHeightFactor=tN.getLineHeightFactor=function(){return rn};ru(tn.lineHeight);var rl=tN.__private__.getHorizontalCoordinate=function(tn){return tO(tn)},rh=tN.__private__.getVerticalCoordinate=function(tn){return tk===tP?tn:eN[tH].mediaBox.topRightY-eN[tH].mediaBox.bottomLeftY-tO(tn)},rf=tN.__private__.getHorizontalCoordinateString=tN.getHorizontalCoordinateString=function(tn){return tI(rl(tn))},rd=tN.__private__.getVerticalCoordinateString=tN.getVerticalCoordinateString=function(tn){return tI(rh(tn))},rp=tn.strokeColor||"0 G";tN.__private__.getStrokeColor=tN.getDrawColor=function(){return eB(rp)},tN.__private__.setStrokeColor=tN.setDrawColor=function(tn,ti,ta,to){return t1(rp=eM({ch1:tn,ch2:ti,ch3:ta,ch4:to,pdfColorType:"draw",precision:2})),this};var rg=tn.fillColor||"0 g";tN.__private__.getFillColor=tN.getFillColor=function(){return eB(rg)},tN.__private__.setFillColor=tN.setFillColor=function(tn,ti,ta,to){return t1(rg=eM({ch1:tn,ch2:ti,ch3:ta,ch4:to,pdfColorType:"fill",precision:2})),this};var rm=tn.textColor||"0 g",rv=tN.__private__.getTextColor=tN.getTextColor=function(){return eB(rm)};tN.__private__.setTextColor=tN.setTextColor=function(tn,ti,ta,to){return rm=eM({ch1:tn,ch2:ti,ch3:ta,ch4:to,pdfColorType:"text",precision:3}),this};var rb=tn.charSpace,ry=tN.__private__.getCharSpace=tN.getCharSpace=function(){return parseFloat(rb||0)};tN.__private__.setCharSpace=tN.setCharSpace=function(tn){if(isNaN(tn))throw Error("Invalid argument passed to jsPDF.setCharSpace");return rb=tn,this};var rw=0;tN.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},tN.__private__.setLineCap=tN.setLineCap=function(tn){var ti=tN.CapJoinStyles[tn];if(void 0===ti)throw Error("Line cap style of '"+tn+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return rw=ti,t1(ti+" J"),this};var rN=0;tN.__private__.setLineJoin=tN.setLineJoin=function(tn){var ti=tN.CapJoinStyles[tn];if(void 0===ti)throw Error("Line join style of '"+tn+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return rN=ti,t1(ti+" j"),this},tN.__private__.setLineMiterLimit=tN.__private__.setMiterLimit=tN.setLineMiterLimit=tN.setMiterLimit=function(tn){if(isNaN(tn=tn||0))throw Error("Invalid argument passed to jsPDF.setLineMiterLimit");return t1(tI(tO(tn))+" M"),this},tN.GState=O,tN.setGState=function(tn){(tn="string"==typeof tn?ev[eb[tn]]:gr(null,tn)).equals(ey)||(t1("/"+tn.id+" gs"),ey=tn)};var gr=function(tn,ti){if(!tn||!eb[tn]){var ta=!1;for(var to in ev)if(ev.hasOwnProperty(to)&&ev[to].equals(ti)){ta=!0;break}if(ta)ti=ev[to];else{var ts="GS"+(Object.keys(ev).length+1).toString(10);ev[ts]=ti,ti.id=ts}return tn&&(eb[tn]=ti.id),eL.publish("addGState",ti),ti}};tN.addGState=function(tn,ti){return gr(tn,ti),this},tN.saveGraphicsState=function(){return t1("q"),ep.push({key:es,size:t3,color:rm}),this},tN.restoreGraphicsState=function(){t1("Q");var tn=ep.pop();return es=tn.key,t3=tn.size,rm=tn.color,ey=null,this},tN.setCurrentTransformationMatrix=function(tn){return t1(tn.toString()+" cm"),this},tN.comment=function(tn){return t1("#"+tn),this};var mr=function(tn,ti){var ta=tn||0;Object.defineProperty(this,"x",{enumerable:!0,get:function(){return ta},set:function(tn){isNaN(tn)||(ta=parseFloat(tn))}});var to=ti||0;Object.defineProperty(this,"y",{enumerable:!0,get:function(){return to},set:function(tn){isNaN(tn)||(to=parseFloat(tn))}});var ts="pt";return Object.defineProperty(this,"type",{enumerable:!0,get:function(){return ts},set:function(tn){ts=tn.toString()}}),this},vr=function(tn,ti,ta,to){mr.call(this,tn,ti),this.type="rect";var ts=ta||0;Object.defineProperty(this,"w",{enumerable:!0,get:function(){return ts},set:function(tn){isNaN(tn)||(ts=parseFloat(tn))}});var tu=to||0;return Object.defineProperty(this,"h",{enumerable:!0,get:function(){return tu},set:function(tn){isNaN(tn)||(tu=parseFloat(tn))}}),this},br=function(){this.page=ew,this.currentPage=tH,this.pages=tK.slice(0),this.pagesContext=eN.slice(0),this.x=ec,this.y=el,this.matrix=eh,this.width=Nr(tH),this.height=xr(tH),this.outputDestination=tQ,this.id="",this.objectNumber=-1};br.prototype.restore=function(){ew=this.page,tH=this.currentPage,eN=this.pagesContext,tK=this.pages,ec=this.x,el=this.y,eh=this.matrix,Lr(tH,this.width),Ar(tH,this.height),tQ=this.outputDestination};var yr=function(tn,ti,ta,to,ts){e_.push(new br),ew=tH=0,tK=[],ec=tn,el=ti,eh=ts,eU([ta,to])};
vendor: 12,892 bytes, line 31
31for(var rL in tN.beginFormObject=function(tn,ti,ta,to,ts){return yr(tn,ti,ta,to,ts),this},tN.endFormObject=function(tn){return function(tn){if(eS[tn])e_.pop().restore();else{var ti=new br,ta="Xo"+(Object.keys(eA).length+1).toString(10);ti.id=ta,eS[tn]=ta,eA[ta]=ti,eL.publish("addFormObject",ti),e_.pop().restore()}}(tn),this},tN.doFormObject=function(tn,ti){var ta=eA[eS[tn]];return t1("q"),t1(ti.toString()+" cm"),t1("/"+ta.id+" Do"),t1("Q"),this},tN.getFormObject=function(tn){var ti=eA[eS[tn]];return{x:ti.x,y:ti.y,width:ti.width,height:ti.height,matrix:ti.matrix}},tN.save=function(tn,ti){return tn=tn||"generated.pdf",(ti=ti||{}).returnPromise=ti.returnPromise||!1,!1===ti.returnPromise?(tf(eZ(eX()),tn),"function"==typeof tf.unload&&tl.setTimeout&&setTimeout(tf.unload,911),this):new Promise(function(ti,ta){try{var to=tf(eZ(eX()),tn);"function"==typeof tf.unload&&tl.setTimeout&&setTimeout(tf.unload,911),ti(to)}catch(tn){ta(tn.message)}})},E.API)E.API.hasOwnProperty(rL)&&("events"===rL&&E.API.events.length?function(tn,ti){var ta,to,ts;for(ts=ti.length-1;-1!==ts;ts--)ta=ti[ts][0],to=ti[ts][1],tn.subscribe.apply(tn,[ta].concat("function"==typeof to?[to]:to))}(eL,E.API.events):tN[rL]=E.API[rL]);function Nr(tn){return eN[tn].mediaBox.topRightX-eN[tn].mediaBox.bottomLeftX}function Lr(tn,ti){eN[tn].mediaBox.topRightX=ti+eN[tn].mediaBox.bottomLeftX}function xr(tn){return eN[tn].mediaBox.topRightY-eN[tn].mediaBox.bottomLeftY}function Ar(tn,ti){eN[tn].mediaBox.topRightY=ti+eN[tn].mediaBox.bottomLeftY}var rx=tN.getPageWidth=function(tn){return Nr(tn=tn||tH)/eu},rA=tN.setPageWidth=function(tn,ti){Lr(tn,ti*eu)},rS=tN.getPageHeight=function(tn){return xr(tn=tn||tH)/eu},r_=tN.setPageHeight=function(tn,ti){Ar(tn,ti*eu)};return tN.internal={pdfEscape:ez,getStyle:e3,getFont:e9,getFontSize:t6,getCharSpace:ry,getTextColor:rv,getLineHeight:rs,getLineHeightFactor:rc,getLineWidth:ra,write:t2,getHorizontalCoordinate:rl,getVerticalCoordinate:rh,getCoordinateString:rf,getVerticalCoordinateString:rd,collections:{},newObject:eI,newAdditionalObject:eC,newObjectDeferred:ej,newObjectDeferredBegin:Zt,getFilters:eq,putStream:eR,events:eL,scaleFactor:eu,pageSize:{getWidth:function(){return rx(tH)},setWidth:function(tn){rA(tH,tn)},getHeight:function(){return rS(tH)},setHeight:function(tn){r_(tH,tn)}},encryptionOptions:tb,encryption:e$,getEncryptor:function(tn){return null!==tb?e$.encryptor(tn,0):function(tn){return tn}},output:eK,getNumberOfPages:eH,get pages(){return tK},out:t1,f2:tC,f3:tE,getPageInfo:eQ,getPageInfoByObjId:e1,getCurrentPageInfo:e2,getPDFVersion:tx,Point:mr,Rectangle:vr,Matrix:Wt,hasHotfix:je},Object.defineProperty(tN.internal.pageSize,"width",{get:function(){return rx(tH)},set:function(tn){rA(tH,tn)},enumerable:!0,configurable:!0}),Object.defineProperty(tN.internal.pageSize,"height",{get:function(){return rS(tH)},set:function(tn){r_(tH,tn)},enumerable:!0,configurable:!0}),(function(tn){for(var ti=0,ta=t0.length;ti<ta;ti++){var to=pe.call(this,tn[ti][0],tn[ti][1],tn[ti][2],t0[ti][3],!0);!1===ty&&(tw[to]=!0);var ts=tn[ti][0].split("-");de({id:to,fontName:ts[0],fontStyle:ts[1]||""})}eL.publish("addFonts",{fonts:ef,dictionary:ed})}).call(tN,t0),es="F1",ve(tu,ta),eL.publish("initialized"),tN}I.prototype.lsbFirstWord=function(tn){return String.fromCharCode(255&tn,tn>>8&255,tn>>16&255,tn>>24&255)},I.prototype.toHexString=function(tn){return tn.split("").map(function(tn){return("0"+(255&tn.charCodeAt(0)).toString(16)).slice(-2)}).join("")},I.prototype.hexToBytes=function(tn){for(var ti=[],ta=0;ta<tn.length;ta+=2)ti.push(String.fromCharCode(parseInt(tn.substr(ta,2),16)));return ti.join("")},I.prototype.processOwnerPassword=function(tn,ti){return k(S(ti).substr(0,5),tn)},I.prototype.encryptor=function(tn,ti){var ta=S(this.encryptionKey+String.fromCharCode(255&tn,tn>>8&255,tn>>16&255,255&ti,ti>>8&255)).substr(0,10);return function(tn){return k(ta,tn)}},O.prototype.equals=function(tn){var ti,ta="id,objectNumber,equals";if(!tn||(0,to.Z)(tn)!==(0,to.Z)(this))return!1;var ts=0;for(ti in this)if(!(ta.indexOf(ti)>=0)){if(this.hasOwnProperty(ti)&&!tn.hasOwnProperty(ti)||this[ti]!==tn[ti])return!1;ts++}for(ti in tn)tn.hasOwnProperty(ti)&&0>ta.indexOf(ti)&&ts--;return 0===ts},E.API={events:[]},E.version="4.2.1";var tb=E.API,ty=1,T=function(tn){return tn.replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},z=function(tn){return tn.replace(/\\\\/g,"\\").replace(/\\\(/g,"(").replace(/\\\)/g,")")},U=function(tn){return tn.toString().replace(/#/g,"#23").replace(/[\s\n\r()<>[\]{}\/%]/g,function(tn){var ti=tn.charCodeAt(0).toString(16).toUpperCase();return"#"+(1===ti.length?"0"+ti:ti)})},H=function(tn){return tn.toFixed(2)},W=function(tn){return tn.toFixed(5)};tb.__acroform__={};var V=function(tn,ti){tn.prototype=Object.create(ti.prototype),tn.prototype.constructor=tn},G=function(tn){return tn*ty},Y=function(tn){var ti=new lt,ta=tF.internal.getHeight(tn)||0,to=tF.internal.getWidth(tn)||0;return ti.BBox=[0,0,Number(H(to)),Number(H(ta))],ti},tw=tb.__acroform__.setBit=function(tn,ti){if(ti=ti||0,isNaN(tn=tn||0)||isNaN(ti))throw Error("Invalid arguments passed to jsPDF.API.__acroform__.setBit");return tn|1<<ti},tN=tb.__acroform__.clearBit=function(tn,ti){if(ti=ti||0,isNaN(tn=tn||0)||isNaN(ti))throw Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBit");return tn&~(1<<ti)},tL=tb.__acroform__.getBit=function(tn,ti){if(isNaN(tn)||isNaN(ti))throw Error("Invalid arguments passed to jsPDF.API.__acroform__.getBit");return tn&1<<ti?1:0},tx=tb.__acroform__.getBitForPdf=function(tn,ti){if(isNaN(tn)||isNaN(ti))throw Error("Invalid arguments passed to jsPDF.API.__acroform__.getBitForPdf");return tL(tn,ti-1)},tA=tb.__acroform__.setBitForPdf=function(tn,ti){if(isNaN(tn)||isNaN(ti))throw Error("Invalid arguments passed to jsPDF.API.__acroform__.setBitForPdf");return tw(tn,ti-1)},tS=tb.__acroform__.clearBitForPdf=function(tn,ti){if(isNaN(tn)||isNaN(ti))throw Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBitForPdf");return tN(tn,ti-1)},t_=tb.__acroform__.calculateCoordinates=function(tn,ti){var ta=ti.internal.getHorizontalCoordinate,to=ti.internal.getVerticalCoordinate,ts=tn[0],tu=tn[1],tc=tn[2],tl=tn[3],th={};return th.lowerLeft_X=ta(ts)||0,th.lowerLeft_Y=to(tu+tl)||0,th.upperRight_X=ta(ts+tc)||0,th.upperRight_Y=to(tu)||0,[Number(H(th.lowerLeft_X)),Number(H(th.lowerLeft_Y)),Number(H(th.upperRight_X)),Number(H(th.upperRight_Y))]},et=function(tn){if(tn.appearanceStreamContent)return tn.appearanceStreamContent;if(tn.V||tn.DV){var ti=[],ta=tn._V||tn.DV,to=rt(tn,ta),ts=tn.scope.internal.getFont(tn.fontName,tn.fontStyle).id;ti.push("/Tx BMC"),ti.push("q"),ti.push("BT"),ti.push(tn.scope.__private__.encodeColorString(tn.color)),ti.push("/"+ts+" "+H(to.fontSize)+" Tf"),ti.push("1 0 0 1 0 0 Tm"),ti.push(to.text),ti.push("ET"),ti.push("Q"),ti.push("EMC");var tu=Y(tn);return tu.scope=tn.scope,tu.stream=ti.join("\n"),tu}},rt=function(tn,ti){var ta=0===tn.fontSize?tn.maxFontSize:tn.fontSize,to={text:"",fontSize:""},ts=(ti=")"==(ti="("==ti.substr(0,1)?ti.substr(1):ti).substr(ti.length-1)?ti.substr(0,ti.length-1):ti).split(" ");ts=tn.multiline?ts.map(function(tn){return tn.split("\n")}):ts.map(function(tn){return[tn]});var tu=ta,tc=tF.internal.getHeight(tn)||0;tc=tc<0?-tc:tc;var tl=tF.internal.getWidth(tn)||0;tl=tl<0?-tl:tl,tu++;t:for(;tu>0;){ti="";var th,tf,td=nt("3",tn,--tu).height,tp=tn.multiline?tc-tu:(tc-td)/2,tg=tp+=2,tm=0,tv=0,tb=0;if(tu<=0){ti="(...) Tj\n",ti+="% Width of Text: "+nt(ti,tn,tu=12).width+", FieldWidth:"+tl+"\n";break}for(var ty="",tw=0,tN=0;tN<ts.length;tN++)if(ts.hasOwnProperty(tN)){var tL=!1;if(1!==ts[tN].length&&tb!==ts[tN].length-1){if((td+2)*(tw+2)+2>tc)continue t;ty+=ts[tN][tb],tL=!0,tv=tN,tN--}else{ty=" "==(ty+=ts[tN][tb]+" ").substr(ty.length-1)?ty.substr(0,ty.length-1):ty;var tx,tA,tS=parseInt(tN),t_=(tx=ty,tA=tu,tS+1<ts.length&&nt(tx+" "+ts[tS+1][0],tn,tA).width<=tl-4),tP=tN>=ts.length-1;if(t_&&!tP){ty+=" ",tb=0;continue}if(t_||tP){if(tP)tv=tS;else if(tn.multiline&&(td+2)*(tw+2)+2>tc)continue t}else{if(!tn.multiline||(td+2)*(tw+2)+2>tc)continue t;tv=tS}}for(var tk="",tI=tm;tI<=tv;tI++){var tj=ts[tI];if(tn.multiline){if(tI===tv){tk+=tj[tb]+" ",tb=(tb+1)%tj.length;continue}if(tI===tm){tk+=tj[tj.length-1]+" ";continue}}tk+=tj[0]+" "}switch(tf=nt(tk=" "==tk.substr(tk.length-1)?tk.substr(0,tk.length-1):tk,tn,tu).width,tn.textAlign){case"right":th=tl-tf-2;break;case"center":th=(tl-tf)/2;break;default:th=2}ti+=H(th)+" "+H(tg)+" Td\n("+T(tk)+") Tj\n"+-H(th)+" 0 Td\n",tg=-(tu+2),tf=0,tm=tL?tv:tv+1,tw++,ty=""}break}return to.text=ti,to.fontSize=tu,to},nt=function(tn,ti,ta){var to=ti.scope.internal.getFont(ti.fontName,ti.fontStyle),ts=ti.scope.getStringUnitWidth(tn,{font:to,fontSize:parseFloat(ta),charSpace:0})*parseFloat(ta);return{height:ti.scope.getStringUnitWidth("3",{font:to,fontSize:parseFloat(ta),charSpace:0})*parseFloat(ta)*1.5,width:ts}},tP={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},at=function(tn,ti){var ta={type:"reference",object:tn};void 0===ti.internal.getPageInfo(tn.page).pageContext.annotations.find(function(tn){return tn.type===ta.type&&tn.object===ta.object})&&ti.internal.getPageInfo(tn.page).pageContext.annotations.push(ta)},ot=function(tn,ti){if(ti.scope=tn,void 0!==tn.internal&&(void 0===tn.internal.acroformPlugin||!1===tn.internal.acroformPlugin.isInitialized)){if(ft.FieldNum=0,tn.internal.acroformPlugin=JSON.parse(JSON.stringify(tP)),tn.internal.acroformPlugin.acroFormDictionaryRoot)throw Error("Exception while creating AcroformDictionary");ty=tn.internal.scaleFactor,tn.internal.acroformPlugin.acroFormDictionaryRoot=new ht,tn.internal.acroformPlugin.acroFormDictionaryRoot.scope=tn,tn.internal.acroformPlugin.acroFormDictionaryRoot._eventID=tn.internal.events.subscribe("postPutResources",function(){tn.internal.events.unsubscribe(tn.internal.acroformPlugin.acroFormDictionaryRoot._eventID),delete tn.internal.acroformPlugin.acroFormDictionaryRoot._eventID,tn.internal.acroformPlugin.printedOut=!0}),tn.internal.events.subscribe("buildDocument",function(){!function(tn){tn.internal.acroformPlugin.acroFormDictionaryRoot.objId=void 0;var ti=tn.internal.acroformPlugin.acroFormDictionaryRoot.Fields;for(var ta in ti)if(ti.hasOwnProperty(ta)){var to=ti[ta];to.objId=void 0,to.hasAnnotation&&at(to,tn)}}(tn)}),tn.internal.events.subscribe("putCatalog",function(){!function(tn){if(void 0===tn.internal.acroformPlugin.acroFormDictionaryRoot)throw Error("putCatalogCallback: Root missing.");tn.internal.write("/AcroForm "+tn.internal.acroformPlugin.acroFormDictionaryRoot.objId+" 0 R")}(tn)}),tn.internal.events.subscribe("postPutPages",function(ti){!function(tn,ti){var ta=!tn;for(var ts in tn||(ti.internal.newObjectDeferredBegin(ti.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),ti.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),tn=tn||ti.internal.acroformPlugin.acroFormDictionaryRoot.Kids)if(tn.hasOwnProperty(ts)){var tu=tn[ts],tc=[],tl=tu.Rect;if(tu.Rect&&(tu.Rect=t_(tu.Rect,ti)),ti.internal.newObjectDeferredBegin(tu.objId,!0),tu.DA=tF.createDefaultAppearanceStream(tu),"object"===(0,to.Z)(tu)&&"function"==typeof tu.getKeyValueListForStream&&(tc=tu.getKeyValueListForStream()),tu.Rect=tl,tu.hasAppearanceStream&&!tu.appearanceStreamContent){var th=et(tu);tc.push({key:"AP",value:"<</N "+th+">>"}),ti.internal.acroformPlugin.xForms.push(th)}if(tu.appearanceStreamContent){var tf="";for(var td in tu.appearanceStreamContent)if(tu.appearanceStreamContent.hasOwnProperty(td)){var tp=tu.appearanceStreamContent[td];if(tf+="/"+td+" <<",Object.keys(tp).length>=1||Array.isArray(tp)){for(var ts in tp)if(tp.hasOwnProperty(ts)){var tg=tp[ts];"function"==typeof tg&&(tg=tg.call(ti,tu)),tf+="/"+ts+" "+tg+" ",ti.internal.acroformPlugin.xForms.indexOf(tg)>=0||ti.internal.acroformPlugin.xForms.push(tg)}}else"function"==typeof(tg=tp)&&(tg=tg.call(ti,tu)),tf+="/"+ts+" "+tg,ti.internal.acroformPlugin.xForms.indexOf(tg)>=0||ti.internal.acroformPlugin.xForms.push(tg);tf+=">>"}tc.push({key:"AP",value:"<<\n"+tf+">>"})}ti.internal.putStream({additionalKeyValues:tc,objectId:tu.objId}),ti.internal.out("endobj")}ta&&function(tn,ti){for(var ta in tn)if(tn.hasOwnProperty(ta)){var ts=tn[ta];ti.internal.newObjectDeferredBegin(ts.objId,!0),"object"===(0,to.Z)(ts)&&"function"==typeof ts.putStream&&ts.putStream(),delete tn[ta]}}(ti.internal.acroformPlugin.xForms,ti)}(ti,tn)}),tn.internal.acroformPlugin.isInitialized=!0}},tk=tb.__acroform__.arrayToPdfArray=function(tn,ti,ta){var i=function(tn){return tn};if(Array.isArray(tn)){for(var ts="[",tu=0;tu<tn.length;tu++)switch(0!==tu&&(ts+=" "),(0,to.Z)(tn[tu])){case"boolean":case"number":case"object":ts+=tn[tu].toString();break;case"string":"/"===tn[tu].substr(0,1)?ts+="/"+U(tn[tu].substr(1)):(void 0!==ti&&ta&&(i=ta.internal.getEncryptor(ti)),ts+="("+T(i(tn[tu].toString()))+")")}return ts+"]"}
vendor: 5,083 bytes, line 31
31throw Error("Invalid argument passed to jsPDF.__acroform__.arrayToPdfArray")},ut=function(tn,ti,ta){var n=function(tn){return tn};return void 0!==ti&&ta&&(n=ta.internal.getEncryptor(ti)),(tn=tn||"").toString(),"("+T(n(tn))+")"},ct=function(){this._objId=void 0,this._scope=void 0,Object.defineProperty(this,"objId",{get:function(){if(void 0===this._objId){if(void 0===this.scope)return;this._objId=this.scope.internal.newObjectDeferred()}return this._objId},set:function(tn){this._objId=tn}}),Object.defineProperty(this,"scope",{value:this._scope,writable:!0})};ct.prototype.toString=function(){return this.objId+" 0 R"},ct.prototype.putStream=function(){var tn=this.getKeyValueListForStream();this.scope.internal.putStream({data:this.stream,additionalKeyValues:tn,objectId:this.objId}),this.scope.internal.out("endobj")},ct.prototype.getKeyValueListForStream=function(){var tn=[],ti=Object.getOwnPropertyNames(this).filter(function(tn){return"content"!=tn&&"appearanceStreamContent"!=tn&&"scope"!=tn&&"objId"!=tn&&"_"!=tn.substring(0,1)});for(var ta in ti)if(!1===Object.getOwnPropertyDescriptor(this,ti[ta]).configurable){var to=ti[ta],ts=this[to];ts&&(Array.isArray(ts)?tn.push({key:to,value:tk(ts,this.objId,this.scope)}):ts instanceof ct?(ts.scope=this.scope,tn.push({key:to,value:ts.objId+" 0 R"})):"function"!=typeof ts&&tn.push({key:to,value:ts}))}return tn};var lt=function(){ct.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 tn,ti=[];Object.defineProperty(this,"BBox",{configurable:!1,get:function(){return ti},set:function(tn){ti=tn}}),Object.defineProperty(this,"Resources",{value:"2 0 R",configurable:!1,writable:!0}),Object.defineProperty(this,"stream",{enumerable:!1,configurable:!0,set:function(ti){tn=ti.trim()},get:function(){return tn||null}})};V(lt,ct);var ht=function(){ct.call(this);var tn,ti=[];Object.defineProperty(this,"Kids",{enumerable:!1,configurable:!0,get:function(){return ti.length>0?ti:void 0}}),Object.defineProperty(this,"Fields",{enumerable:!1,configurable:!1,get:function(){return ti}}),Object.defineProperty(this,"DA",{enumerable:!1,configurable:!1,get:function(){if(tn){var e=function(tn){return tn};return this.scope&&(e=this.scope.internal.getEncryptor(this.objId)),"("+T(e(tn))+")"}},set:function(ti){tn=ti}})};V(ht,ct);var ft=function t(){ct.call(this);var tn=4;Object.defineProperty(this,"F",{enumerable:!1,configurable:!1,get:function(){return tn},set:function(ti){if(isNaN(ti))throw Error('Invalid value "'+ti+'" for attribute F supplied.');tn=ti}}),Object.defineProperty(this,"showWhenPrinted",{enumerable:!0,configurable:!0,get:function(){return!!tx(tn,3)},set:function(ti){!0==!!ti?this.F=tA(tn,3):this.F=tS(tn,3)}});var ti=0;Object.defineProperty(this,"Ff",{enumerable:!1,configurable:!1,get:function(){return ti},set:function(tn){if(isNaN(tn))throw Error('Invalid value "'+tn+'" for attribute Ff supplied.');ti=tn}});var ta=[];Object.defineProperty(this,"Rect",{enumerable:!1,configurable:!1,get:function(){if(0!==ta.length)return ta},set:function(tn){ta=void 0!==tn?tn:[]}}),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,get:function(){return!ta||isNaN(ta[0])?0:ta[0]},set:function(tn){ta[0]=tn}}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,get:function(){return!ta||isNaN(ta[1])?0:ta[1]},set:function(tn){ta[1]=tn}}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,get:function(){return!ta||isNaN(ta[2])?0:ta[2]},set:function(tn){ta[2]=tn}}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,get:function(){return!ta||isNaN(ta[3])?0:ta[3]},set:function(tn){ta[3]=tn}});var to="";Object.defineProperty(this,"FT",{enumerable:!0,configurable:!1,get:function(){return to},set:function(tn){switch(tn){case"/Btn":case"/Tx":case"/Ch":case"/Sig":to=tn;break;default:throw Error('Invalid value "'+tn+'" for attribute FT supplied.')}}});var ts=null;Object.defineProperty(this,"T",{enumerable:!0,configurable:!1,get:function(){if(!ts||ts.length<1){if(this instanceof wt)return;ts="FieldObject"+t.FieldNum++}var e=function(tn){return tn};return this.scope&&(e=this.scope.internal.getEncryptor(this.objId)),"("+T(e(ts))+")"},set:function(tn){ts=tn.toString()}}),Object.defineProperty(this,"fieldName",{configurable:!0,enumerable:!0,get:function(){return ts},set:function(tn){ts=tn}});var tu="helvetica";Object.defineProperty(this,"fontName",{enumerable:!0,configurable:!0,get:function(){return tu},set:function(tn){tu=tn}});var tc="normal";Object.defineProperty(this,"fontStyle",{enumerable:!0,configurable:!0,get:function(){return tc},set:function(tn){tc=tn}});var tl=0;Object.defineProperty(this,"fontSize",{enumerable:!0,configurable:!0,get:function(){return tl},set:function(tn){tl=tn}});var th=void 0;Object.defineProperty(this,"maxFontSize",{enumerable:!0,configurable:!0,get:function(){return void 0===th?50/ty:th},set:function(tn){th=tn}});var tf="black";
31Object.defineProperty(this,"color",{enumerable:!0,configurable:!0,get:function(){return tf},set:function(tn){tf=tn}});var td="/F1 0 Tf 0 g";Object.defineProperty(this,"DA",{enumerable:!0,configurable:!1,get:function(){if(!(!td||this instanceof wt||this instanceof Lt))return ut(td,this.objId,this.scope)},set:function(tn){td=tn=tn.toString()}});var tp=null;Object.defineProperty(this,"DV",{enumerable:!1,configurable:!1,get:function(){if(tp)return this instanceof vt==0?ut(tp,this.objId,this.scope):tp},set:function(tn){tn=tn.toString(),tp=this instanceof vt==0?"("===tn.substr(0,1)?z(tn.substr(1,tn.length-2)):z(tn):tn}}),Object.defineProperty(this,"defaultValue",{enumerable:!0,configurable:!0,get:function(){return this instanceof vt==1?z(tp.substr(1,tp.length-1)):tp},set:function(tn){tn=tn.toString(),tp=this instanceof vt==1?"/"+U(tn):tn}});var tg=null;Object.defineProperty(this,"_V",{enumerable:!1,configurable:!1,get:function(){if(tg)return tg},set:function(tn){this.V=tn}}),Object.defineProperty(this,"V",{enumerable:!1,configurable:!1,get:function(){if(tg)return this instanceof vt==0?ut(tg,this.objId,this.scope):tg},set:function(tn){tn=tn.toString(),tg=this instanceof vt==0?"("===tn.substr(0,1)?z(tn.substr(1,tn.length-2)):z(tn):tn}}),Object.defineProperty(this,"value",{enumerable:!0,configurable:!0,get:function(){return this instanceof vt==1?z(tg.substr(1,tg.length-1)):tg},set:function(tn){tn=tn.toString(),tg=this instanceof vt==1?"/"+U(tn):tn}}),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 tm,tv=!1;Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return tv},set:function(tn){tv=tn=!!tn}}),Object.defineProperty(this,"page",{enumerable:!0,configurable:!0,get:function(){if(tm)return tm},set:function(tn){tm=tn}}),Object.defineProperty(this,"readOnly",{enumerable:!0,configurable:!0,get:function(){return!!tx(this.Ff,1)},set:function(tn){!0==!!tn?this.Ff=tA(this.Ff,1):this.Ff=tS(this.Ff,1)}}),Object.defineProperty(this,"required",{enumerable:!0,configurable:!0,get:function(){return!!tx(this.Ff,2)},set:function(tn){!0==!!tn?this.Ff=tA(this.Ff,2):this.Ff=tS(this.Ff,2)}}),Object.defineProperty(this,"noExport",{enumerable:!0,configurable:!0,get:function(){return!!tx(this.Ff,3)},set:function(tn){!0==!!tn?this.Ff=tA(this.Ff,3):this.Ff=tS(this.Ff,3)}});var tb=null;Object.defineProperty(this,"Q",{enumerable:!0,configurable:!1,get:function(){if(null!==tb)return tb},set:function(tn){if(-1===[0,1,2].indexOf(tn))throw Error('Invalid value "'+tn+'" for attribute Q supplied.');tb=tn}}),Object.defineProperty(this,"textAlign",{get:function(){var tn;switch(tb){case 0:default:tn="left";break;case 1:tn="center";break;case 2:tn="right"}return tn},configurable:!0,enumerable:!0,set:function(tn){switch(tn){case"right":case 2:tb=2;break;case"center":case 1:tb=1;break;default:tb=0}}})};V(ft,ct);var dt=function(){ft.call(this),this.FT="/Ch",this.V="()",this.fontName="zapfdingbats";var tn=0;Object.defineProperty(this,"TI",{enumerable:!0,configurable:!1,get:function(){return tn},set:function(ti){tn=ti}}),Object.defineProperty(this,"topIndex",{enumerable:!0,configurable:!0,get:function(){return tn},set:function(ti){tn=ti}});var ti=[];Object.defineProperty(this,"Opt",{enumerable:!0,configurable:!1,get:function(){return tk(ti,this.objId,this.scope)},set:function(tn){var ta;ta=[],"string"==typeof tn&&(ta=function(tn,ti,ta){ta||(ta=1);for(var to,ts=[];to=ti.exec(tn);)ts.push(to[ta]);return ts}(tn,/\((.*?)\)/g)),ti=ta}}),this.getOptions=function(){return ti},this.setOptions=function(tn){ti=tn,this.sort&&ti.sort()},this.addOption=function(tn){tn=(tn=tn||"").toString(),ti.push(tn),this.sort&&ti.sort()},this.removeOption=function(tn,ta){for(ta=ta||!1,tn=(tn=tn||"").toString();-1!==ti.indexOf(tn)&&(ti.splice(ti.indexOf(tn),1),!1!==ta););},Object.defineProperty(this,"combo",{enumerable:!0,configurable:!0,get:function(){return!!tx(this.Ff,18)}
31,set:function(tn){!0==!!tn?this.Ff=tA(this.Ff,18):this.Ff=tS(this.Ff,18)}}),Object.defineProperty(this,"edit",{enumerable:!0,configurable:!0,get:function(){return!!tx(this.Ff,19)},set:function(tn){!0===this.combo&&(!0==!!tn?this.Ff=tA(this.Ff,19):this.Ff=tS(this.Ff,19))}}),Object.defineProperty(this,"sort",{enumerable:!0,configurable:!0,get:function(){return!!tx(this.Ff,20)},set:function(tn){!0==!!tn?(this.Ff=tA(this.Ff,20),ti.sort()):this.Ff=tS(this.Ff,20)}}),Object.defineProperty(this,"multiSelect",{enumerable:!0,configurable:!0,get:function(){return!!tx(this.Ff,22)},set:function(tn){!0==!!tn?this.Ff=tA(this.Ff,22):this.Ff=tS(this.Ff,22)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return!!tx(this.Ff,23)},set:function(tn){!0==!!tn?this.Ff=tA(this.Ff,23):this.Ff=tS(this.Ff,23)}}),Object.defineProperty(this,"commitOnSelChange",{enumerable:!0,configurable:!0,get:function(){return!!tx(this.Ff,27)},set:function(tn){!0==!!tn?this.Ff=tA(this.Ff,27):this.Ff=tS(this.Ff,27)}}),this.hasAppearanceStream=!1};V(dt,ft);var pt=function(){dt.call(this),this.fontName="helvetica",this.combo=!1};V(pt,dt);var gt=function(){pt.call(this),this.combo=!0};V(gt,pt);var mt=function(){gt.call(this),this.edit=!0};V(mt,gt);var vt=function(){ft.call(this),this.FT="/Btn",Object.defineProperty(this,"noToggleToOff",{enumerable:!0,configurable:!0,get:function(){return!!tx(this.Ff,15)},set:function(tn){!0==!!tn?this.Ff=tA(this.Ff,15):this.Ff=tS(this.Ff,15)}}),Object.defineProperty(this,"radio",{enumerable:!0,configurable:!0,get:function(){return!!tx(this.Ff,16)},set:function(tn){!0==!!tn?this.Ff=tA(this.Ff,16):this.Ff=tS(this.Ff,16)}}),Object.defineProperty(this,"pushButton",{enumerable:!0,configurable:!0,get:function(){return!!tx(this.Ff,17)},set:function(tn){!0==!!tn?this.Ff=tA(this.Ff,17):this.Ff=tS(this.Ff,17)}}),Object.defineProperty(this,"radioIsUnison",{enumerable:!0,configurable:!0,get:function(){return!!tx(this.Ff,26)},set:function(tn){!0==!!tn?this.Ff=tA(this.Ff,26):this.Ff=tS(this.Ff,26)}});var tn,ti={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var t=function(tn){return tn};if(this.scope&&(t=this.scope.internal.getEncryptor(this.objId)),0!==Object.keys(ti).length){var tn,ta=[];for(tn in ta.push("<<"),ti)ta.push("/"+tn+" ("+T(t(ti[tn]))+")");return ta.push(">>"),ta.join("\n")}},set:function(tn){"object"===(0,to.Z)(tn)&&(ti=tn)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return ti.CA||""},set:function(tn){"string"==typeof tn&&(ti.CA=tn)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return tn},set:function(ti){var ta=null==ti?"":ti.toString();"/"===ta.substr(0,1)&&(ta=ta.substr(1)),tn="/"+U(ta)}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return tn.substr(1,tn.length-1)},set:function(ti){tn="/"+U(ti)}})};V(vt,ft);var bt=function(){vt.call(this),this.pushButton=!0};V(bt,vt);var yt=function(){vt.call(this),this.radio=!0,this.pushButton=!1;var tn=[];Object.defineProperty(this,"Kids",{enumerable:!0,configurable:!1,get:function(){return tn},set:function(ti){tn=void 0!==ti?ti:[]}})};V(yt,vt);var wt=function(){ft.call(this),Object.defineProperty(this,"Parent",{enumerable:!1,configurable:!1,get:function(){return tn},set:function(ti){tn=ti}}),Object.defineProperty(this,"optionName",{enumerable:!1,configurable:!0,get:function(){return ti},set:function(tn){ti=tn}});var tn,ti,ta,ts={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var t=function(tn){return tn};this.scope&&(t=this.scope.internal.getEncryptor(this.objId));var tn,ti=[];for(tn in ti.push("<<"),ts)ti.push("/"+tn+" ("+T(t(ts[tn]))+")");return ti.push(">>"),ti.join("\n")},set:function(tn){"object"===(0,to.Z)(tn)&&(ts=tn)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return ts.CA||""},set:function(tn){"string"==typeof tn&&(ts.CA=tn)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return ta},set:function(tn){var ti=null==tn?"":tn.toString();"/"===ti.substr(0,1)&&(ti=ti.substr(1)),ta="/"+U(ti)}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return ta.substr(1,ta.length-1)},set:function(tn){var ti=null==tn?"":tn.toString();"/"===ti.substr(0,1)&&(ti=ti.substr(1)),ta="/"+U(ti)}}),this.caption="l",this.appearanceState="Off",this._AppearanceType=tF.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(this.optionName)};V(wt,ft),yt.prototype.setAppearance=function(tn){if(!("createAppearanceStream"in tn)||!("getCA"in tn))throw Error("Couldn't assign Appearance to RadioButton. Appearance was Invalid!");
vendor: 6,561 bytes, line 31
31for(var ti in this.Kids)if(this.Kids.hasOwnProperty(ti)){var ta=this.Kids[ti];ta.appearanceStreamContent=tn.createAppearanceStream(ta.optionName),ta.caption=tn.getCA()}},yt.prototype.createOption=function(tn){var ti=new wt;return ti.Parent=this,ti.optionName=tn,this.Kids.push(ti),tI.call(this.scope,ti),ti};var Nt=function(){vt.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=tF.CheckBox.createAppearanceStream()};V(Nt,vt);var Lt=function(){ft.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return!!tx(this.Ff,13)},set:function(tn){!0==!!tn?this.Ff=tA(this.Ff,13):this.Ff=tS(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return!!tx(this.Ff,21)},set:function(tn){!0==!!tn?this.Ff=tA(this.Ff,21):this.Ff=tS(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return!!tx(this.Ff,23)},set:function(tn){!0==!!tn?this.Ff=tA(this.Ff,23):this.Ff=tS(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return!!tx(this.Ff,24)},set:function(tn){!0==!!tn?this.Ff=tA(this.Ff,24):this.Ff=tS(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return!!tx(this.Ff,25)},set:function(tn){!0==!!tn?this.Ff=tA(this.Ff,25):this.Ff=tS(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return!!tx(this.Ff,26)},set:function(tn){!0==!!tn?this.Ff=tA(this.Ff,26):this.Ff=tS(this.Ff,26)}});var tn=null;Object.defineProperty(this,"MaxLen",{enumerable:!0,configurable:!1,get:function(){return tn},set:function(ti){tn=ti}}),Object.defineProperty(this,"maxLength",{enumerable:!0,configurable:!0,get:function(){return tn},set:function(ti){Number.isInteger(ti)&&(tn=ti)}}),Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return this.V||this.DV}})};V(Lt,ft);var xt=function(){Lt.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return!!tx(this.Ff,14)},set:function(tn){!0==!!tn?this.Ff=tA(this.Ff,14):this.Ff=tS(this.Ff,14)}}),this.password=!0};V(xt,Lt);var tF={CheckBox:{createAppearanceStream:function(){return{N:{On:tF.CheckBox.YesNormal},D:{On:tF.CheckBox.YesPushDown,Off:tF.CheckBox.OffPushDown}}},YesPushDown:function(tn){var ti=Y(tn);ti.scope=tn.scope;var ta=[],to=tn.scope.internal.getFont(tn.fontName,tn.fontStyle).id,ts=tn.scope.__private__.encodeColorString(tn.color),tu=rt(tn,tn.caption);return ta.push("0.749023 g"),ta.push("0 0 "+H(tF.internal.getWidth(tn))+" "+H(tF.internal.getHeight(tn))+" re"),ta.push("f"),ta.push("BMC"),ta.push("q"),ta.push("0 0 1 rg"),ta.push("/"+to+" "+H(tu.fontSize)+" Tf "+ts),ta.push("BT"),ta.push(tu.text),ta.push("ET"),ta.push("Q"),ta.push("EMC"),ti.stream=ta.join("\n"),ti},YesNormal:function(tn){var ti=Y(tn);ti.scope=tn.scope;var ta=tn.scope.internal.getFont(tn.fontName,tn.fontStyle).id,to=tn.scope.__private__.encodeColorString(tn.color),ts=[],tu=tF.internal.getHeight(tn),tc=tF.internal.getWidth(tn),tl=rt(tn,tn.caption);return ts.push("1 g"),ts.push("0 0 "+H(tc)+" "+H(tu)+" re"),ts.push("f"),ts.push("q"),ts.push("0 0 1 rg"),ts.push("0 0 "+H(tc-1)+" "+H(tu-1)+" re"),ts.push("W"),ts.push("n"),ts.push("0 g"),ts.push("BT"),ts.push("/"+ta+" "+H(tl.fontSize)+" Tf "+to),ts.push(tl.text),ts.push("ET"),ts.push("Q"),ti.stream=ts.join("\n"),ti},OffPushDown:function(tn){var ti=Y(tn);ti.scope=tn.scope;var ta=[];return ta.push("0.749023 g"),ta.push("0 0 "+H(tF.internal.getWidth(tn))+" "+H(tF.internal.getHeight(tn))+" re"),ta.push("f"),ti.stream=ta.join("\n"),ti}},RadioButton:{Circle:{createAppearanceStream:function(tn){var ti={D:{Off:tF.RadioButton.Circle.OffPushDown},N:{}};return ti.N[tn]=tF.RadioButton.Circle.YesNormal,ti.D[tn]=tF.RadioButton.Circle.YesPushDown,ti},getCA:function(){return"l"},YesNormal:function(tn){var ti=Y(tn);ti.scope=tn.scope;var ta=[],to=tF.internal.getWidth(tn)<=tF.internal.getHeight(tn)?tF.internal.getWidth(tn)/4:tF.internal.getHeight(tn)/4,ts=Number(((to=Number((.9*to).toFixed(5)))*tF.internal.Bezier_C).toFixed(5));return ta.push("q"),ta.push("1 0 0 1 "+W(tF.internal.getWidth(tn)/2)+" "+W(tF.internal.getHeight(tn)/2)+" cm"),ta.push(to+" 0 m"),ta.push(to+" "+ts+" "+ts+" "+to+" 0 "+to+" c"),ta.push("-"+ts+" "+to+" -"+to+" "+ts+" -"+to+" 0 c"),ta.push("-"+to+" -"+ts+" -"+ts+" -"+to+" 0 -"+to+" c"),ta.push(ts+" -"+to+" "+to+" -"+ts+" "+to+" 0 c"),ta.push("f"),ta.push("Q"),ti.stream=ta.join("\n"),ti},YesPushDown:function(tn){var ti=Y(tn);ti.scope=tn.scope;var ta=[],to=tF.internal.getWidth(tn)<=tF.internal.getHeight(tn)?tF.internal.getWidth(tn)/4:tF.internal.getHeight(tn)/4,ts=Number((2*(to=Number((.9*to).toFixed(5)))).toFixed(5)),tu=Number((ts*tF.internal.Bezier_C).toFixed(5)),tc=Number((to*tF.internal.Bezier_C).toFixed(5));return ta.push("0.749023 g"),ta.push("q"),ta.push("1 0 0 1 "+W(tF.internal.getWidth(tn)/2)+" "+W(tF.internal.getHeight(tn)/2)+" cm"),ta.push(ts+" 0 m"),ta.push(ts+" "+tu+" "+tu+" "+ts+" 0 "+ts+" c"),ta.push("-"+tu+" "+ts+" -"+ts+" "+tu+" -"+ts+" 0 c"),ta.push("-"+ts+" -"+tu+" -"+tu+" -"+ts+" 0 -"+ts+" c"),ta.push(tu+" -"+ts+" "+ts+" -"+tu+" "+ts+" 0 c"),ta.push("f"),ta.push("Q"),ta.push("0 g"),ta.push("q"),ta.push("1 0 0 1 "+W(tF.internal.getWidth(tn)/2)+" "+W(tF.internal.getHeight(tn)/2)+" cm"),ta.push(to+" 0 m"),ta.push(to+" "+tc+" "+tc+" "+to+" 0 "+to+" c"),ta.push("-"+tc+" "+to+" -"+to+" "+tc+" -"+to+" 0 c"),ta.push("-"+to+" -"+tc+" -"+tc+" -"+to+" 0 -"+to+" c"),ta.push(tc+" -"+to+" "+to+" -"+tc+" "+to+" 0 c"),ta.push("f"),ta.push("Q"),ti.stream=ta.join("\n"),ti},OffPushDown:function(tn){var ti=Y(tn);ti.scope=tn.scope;var ta=[],to=tF.internal.getWidth(tn)<=tF.internal.getHeight(tn)?tF.internal.getWidth(tn)/4:tF.internal.getHeight(tn)/4,ts=Number((2*(to=Number((.9*to).toFixed(5)))).toFixed(5)),tu=Number((ts*tF.internal.Bezier_C).toFixed(5));return ta.push("0.749023 g"),ta.push("q"),ta.push("1 0 0 1 "+W(tF.internal.getWidth(tn)/2)+" "+W(tF.internal.getHeight(tn)/2)+" cm"),ta.push(ts+" 0 m"),ta.push(ts+" "+tu+" "+tu+" "+ts+" 0 "+ts+" c"),ta.push("-"+tu+" "+ts+" -"+ts+" "+tu+" -"+ts+" 0 c"),ta.push("-"+ts+" -"+tu+" -"+tu+" -"+ts+" 0 -"+ts+" c"),ta.push(tu+" -"+ts+" "+ts+" -"+tu+" "+ts+" 0 c"),ta.push("f"),ta.push("Q"),ti.stream=ta.join("\n"),ti}},Cross:{createAppearanceStream:function(tn){var ti={D:{Off:tF.RadioButton.Cross.OffPushDown},N:{}}
31;return ti.N[tn]=tF.RadioButton.Cross.YesNormal,ti.D[tn]=tF.RadioButton.Cross.YesPushDown,ti},getCA:function(){return"8"},YesNormal:function(tn){var ti=Y(tn);ti.scope=tn.scope;var ta=[],to=tF.internal.calculateCross(tn);return ta.push("q"),ta.push("1 1 "+H(tF.internal.getWidth(tn)-2)+" "+H(tF.internal.getHeight(tn)-2)+" re"),ta.push("W"),ta.push("n"),ta.push(H(to.x1.x)+" "+H(to.x1.y)+" m"),ta.push(H(to.x2.x)+" "+H(to.x2.y)+" l"),ta.push(H(to.x4.x)+" "+H(to.x4.y)+" m"),ta.push(H(to.x3.x)+" "+H(to.x3.y)+" l"),ta.push("s"),ta.push("Q"),ti.stream=ta.join("\n"),ti},YesPushDown:function(tn){var ti=Y(tn);ti.scope=tn.scope;var ta=tF.internal.calculateCross(tn),to=[];return to.push("0.749023 g"),to.push("0 0 "+H(tF.internal.getWidth(tn))+" "+H(tF.internal.getHeight(tn))+" re"),to.push("f"),to.push("q"),to.push("1 1 "+H(tF.internal.getWidth(tn)-2)+" "+H(tF.internal.getHeight(tn)-2)+" re"),to.push("W"),to.push("n"),to.push(H(ta.x1.x)+" "+H(ta.x1.y)+" m"),to.push(H(ta.x2.x)+" "+H(ta.x2.y)+" l"),to.push(H(ta.x4.x)+" "+H(ta.x4.y)+" m"),to.push(H(ta.x3.x)+" "+H(ta.x3.y)+" l"),to.push("s"),to.push("Q"),ti.stream=to.join("\n"),ti},OffPushDown:function(tn){var ti=Y(tn);ti.scope=tn.scope;var ta=[];return ta.push("0.749023 g"),ta.push("0 0 "+H(tF.internal.getWidth(tn))+" "+H(tF.internal.getHeight(tn))+" re"),ta.push("f"),ti.stream=ta.join("\n"),ti}}},createDefaultAppearanceStream:function(tn){var ti=tn.scope.internal.getFont(tn.fontName,tn.fontStyle).id,ta=tn.scope.__private__.encodeColorString(tn.color);return"/"+ti+" "+tn.fontSize+" Tf "+ta}};tF.internal={Bezier_C:.551915024494,calculateCross:function(tn){var ti=tF.internal.getWidth(tn),ta=tF.internal.getHeight(tn),to=Math.min(ti,ta);return{x1:{x:(ti-to)/2,y:(ta-to)/2+to},x2:{x:(ti-to)/2+to,y:(ta-to)/2},x3:{x:(ti-to)/2,y:(ta-to)/2},x4:{x:(ti-to)/2+to,y:(ta-to)/2+to}}}},tF.internal.getWidth=function(tn){var ti=0;return"object"===(0,to.Z)(tn)&&(ti=G(tn.Rect[2])),ti},tF.internal.getHeight=function(tn){var ti=0;return"object"===(0,to.Z)(tn)&&(ti=G(tn.Rect[3])),ti};var tI=tb.addField=function(tn){if(ot(this,tn),!(tn instanceof ft))throw Error("Invalid argument passed to jsPDF.addField.");return tn.scope.internal.acroformPlugin.printedOut&&(tn.scope.internal.acroformPlugin.printedOut=!1,tn.scope.internal.acroformPlugin.acroFormDictionaryRoot=null),tn.scope.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(tn),tn.page=tn.scope.internal.getCurrentPageInfo().pageNumber,this};function Pt(tn){return tn.reduce(function(tn,ti,ta){return tn[ti]=ta,tn},{})}tb.AcroFormChoiceField=dt,tb.AcroFormListBox=pt,tb.AcroFormComboBox=gt,tb.AcroFormEditBox=mt,tb.AcroFormButton=vt,tb.AcroFormPushButton=bt,tb.AcroFormRadioButton=yt,tb.AcroFormCheckBox=Nt,tb.AcroFormTextField=Lt,tb.AcroFormPasswordField=xt,tb.AcroFormAppearance=tF,tb.AcroForm={ChoiceField:dt,ListBox:pt,ComboBox:gt,EditBox:mt,Button:vt,PushButton:bt,RadioButton:yt,CheckBox:Nt,TextField:Lt,PasswordField:xt,Appearance:tF},E.AcroForm={ChoiceField:dt,ListBox:pt,ComboBox:gt,EditBox:mt,Button:vt,PushButton:bt,RadioButton:yt,CheckBox:Nt,TextField:Lt,PasswordField:xt,Appearance:tF},E.AcroForm,tR=E.API,tD="addImage_",tR.__addimage__={},tT="UNKNOWN",tz={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]]},tU=tR.__addimage__.getImageFileTypeByImageData=function(tn,ti){var ta,to,ts,tu,tc,tl=tT;if("RGBA"===(ti=ti||tT)||void 0!==tn.data&&tn.data instanceof Uint8ClampedArray&&"height"in tn&&"width"in tn)return"RGBA";if(t6(tn))for(tc in tz)for(ts=tz[tc],ta=0;ta<ts.length;ta+=1){for(tu=!0,to=0;to<ts[ta].length;to+=1)if(void 0!==ts[ta][to]&&ts[ta][to]!==tn[to]){tu=!1;break}if(!0===tu){tl=tc;break}}else for(tc in tz)for(ts=tz[tc],ta=0;ta<ts.length;ta+=1){for(tu=!0,to=0;to<ts[ta].length;
vendor: 1,864 bytes, line 31
31to+=1)if(void 0!==ts[ta][to]&&ts[ta][to]!==tn.charCodeAt(to)){tu=!1;break}if(!0===tu){tl=tc;break}}return tl===tT&&ti!==tT&&(tl=ti),tl},tH=function t(tn){for(var ti=this.internal.write,ta=this.internal.putStream,to=(0,this.internal.getFilters)();-1!==to.indexOf("FlateEncode");)to.splice(to.indexOf("FlateEncode"),1);tn.objectId=this.internal.newObject();var ts=[];if(ts.push({key:"Type",value:"/XObject"}),ts.push({key:"Subtype",value:"/Image"}),ts.push({key:"Width",value:tn.width}),ts.push({key:"Height",value:tn.height}),tn.colorSpace===t2.INDEXED?ts.push({key:"ColorSpace",value:"[/Indexed /DeviceRGB "+(tn.palette.length/3-1)+" "+("sMask"in tn&&void 0!==tn.sMask?tn.objectId+2:tn.objectId+1)+" 0 R]"}):(ts.push({key:"ColorSpace",value:"/"+tn.colorSpace}),tn.colorSpace===t2.DEVICE_CMYK&&ts.push({key:"Decode",value:"[1 0 1 0 1 0 1 0]"})),ts.push({key:"BitsPerComponent",value:tn.bitsPerComponent}),"decodeParameters"in tn&&void 0!==tn.decodeParameters&&ts.push({key:"DecodeParms",value:"<<"+tn.decodeParameters+">>"}),"transparency"in tn&&Array.isArray(tn.transparency)&&tn.transparency.length>0){for(var tu="",tc=0,tl=tn.transparency.length;tc<tl;tc++)tu+=tn.transparency[tc]+" "+tn.transparency[tc]+" ";ts.push({key:"Mask",value:"["+tu+"]"})}void 0!==tn.sMask&&ts.push({key:"SMask",value:tn.objectId+1+" 0 R"});var th=void 0!==tn.filter?["/"+tn.filter]:void 0;if(ta({data:tn.data,additionalKeyValues:ts,alreadyAppliedFilters:th,objectId:tn.objectId}),ti("endobj"),"sMask"in tn&&void 0!==tn.sMask){var tf,td=null!==(tf=tn.sMaskBitsPerComponent)&&void 0!==tf?tf:tn.bitsPerComponent,tp={width:tn.width,height:tn.height,colorSpace:"DeviceGray",bitsPerComponent:td,data:tn.sMask};"filter"in tn&&(tp.decodeParameters="/Predictor ".concat(tn.predictor," /Colors 1 /BitsPerComponent ").concat(td," /Columns ").concat(tn.width),tp.filter=tn.filter),t.call(this,tp)}
31if(tn.colorSpace===t2.INDEXED){var tg=this.internal.newObject();ta({data:t7(new Uint8Array(tn.palette)),objectId:tg}),ti("endobj")}},tW=function(){var tn=this.internal.collections[tD+"images"];for(var ti in tn)tH.call(this,tn[ti])},tV=function(){var tn,ti=this.internal.collections[tD+"images"],ta=this.internal.write;for(var to in ti)ta("/I"+(tn=ti[to]).index,tn.objectId,"0","R")},tG=function(){this.internal.collections[tD+"images"]||(this.internal.collections[tD+"images"]={},this.internal.events.subscribe("putResources",tW),this.internal.events.subscribe("putXobjectDict",tV))},tJ=function(){var tn=this.internal.collections[tD+"images"];return tG.call(this),tn},tY=function(){return Object.keys(this.internal.collections[tD+"images"]).length},tX=function(tn){return"function"==typeof tR["process"+tn.toUpperCase()]},tZ=function(tn){return"object"===(0,to.Z)(tn)&&1===tn.nodeType},tK=function(tn,ti){if("IMG"===tn.nodeName&&tn.hasAttribute("src")){var ta,to=""+tn.getAttribute("src");if(0===to.indexOf("data:image/"))return td(unescape(to).split("base64,").pop());var ts=tR.loadFile(to,!0);if(void 0!==ts)return ts}if("CANVAS"===tn.nodeName){if(0===tn.width||0===tn.height)throw Error("Given canvas must have data. Canvas width: "+tn.width+", height: "+tn.height);switch(ti){case"PNG":ta="image/png";break;case"WEBP":ta="image/webp";break;default:ta="image/jpeg"}return td(tn.toDataURL(ta,1).split("base64,").pop())}},t$=function(tn){var ti=this.internal.collections[tD+"images"];if(ti){for(var ta in ti)if(tn===ti[ta].alias)return ti[ta]}},tQ=function(tn,ti,ta){return tn||ti||(tn=-96,ti=-96),tn<0&&(tn=-1*ta.width*72/tn/this.internal.scaleFactor),ti<0&&(ti=-1*ta.height*72/ti/this.internal.scaleFactor),0===tn&&(tn=ti*ta.width/ta.height),0===ti&&(ti=tn*ta.height/ta.width),[tn,ti]},t1=function(tn,ti,ta,to,ts,tu){var tc=tQ.call(this,ta,to,ts),tl=this.internal.getCoordinateString,th=this.internal.getVerticalCoordinateString,tf=tJ.call(this);if(ta=tc[0],to=tc[1],tf[ts.index]=ts,tu)var td=Math.cos(tu*=Math.PI/180),tp=Math.sin(tu),d=function(tn){return tn.toFixed(4)},tg=[d(td),d(tp),d(-1*tp),d(td),0,0,"cm"];this.internal.write("q"),tu?(this.internal.write([1,"0","0",1,tl(tn),th(ti+to),"cm"].join(" ")),this.internal.write(tg.join(" ")),this.internal.write([tl(ta),"0","0",tl(to),"0","0","cm"].join(" "))):this.internal.write([tl(ta),"0","0",tl(to),tl(tn),th(ti+to),"cm"].join(" ")),this.isAdvancedAPI()&&this.internal.write("1 0 0 -1 0 0 cm"),this.internal.write("/I"+ts.index+" Do"),this.internal.write("Q")},t2=tR.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"},tR.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"},t5=tR.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},t0=tR.__addimage__.sHashCode=function(tn){var ti,ta,to=0;if("string"==typeof tn)for(ta=tn.length,ti=0;ti<ta;ti++)to=(to<<5)-to+tn.charCodeAt(ti)|0;else if(t6(tn))for(ta=tn.byteLength/2,ti=0;ti<ta;ti++)to=(to<<5)-to+tn[ti]|0;return to},t3=tR.__addimage__.validateStringAsBase64=function(tn){(tn=tn||"").toString().trim();var ti=!0;return 0===tn.length&&(ti=!1),tn.length%4!=0&&(ti=!1),!1===/^[A-Za-z0-9+/]+$/.test(tn.substr(0,tn.length-2))&&(ti=!1),!1===/^[A-Za-z0-9/][A-Za-z0-9+/]|[A-Za-z0-9+/]=|==$/.test(tn.substr(-2))&&(ti=!1),ti},t4=tR.__addimage__.extractImageFromDataUrl=function(tn){if(null==tn||!(tn=tn.trim()).startsWith("data:"))return null;var ti=tn.indexOf(",");return ti<0?null:tn.substring(0,ti).trim().endsWith("base64")?tn.substring(ti+1):null},tR.__addimage__.isArrayBuffer=function(tn){return tn instanceof ArrayBuffer},t6=tR.__addimage__.isArrayBufferView=function(tn){return tn instanceof Int8Array||tn instanceof Uint8Array||tn instanceof Uint8ClampedArray||tn instanceof Int16Array||tn instanceof Uint16Array||tn instanceof Int32Array||tn instanceof Uint32Array||tn instanceof Float32Array||tn instanceof Float64Array},t8=tR.__addimage__.binaryStringToUint8Array=function(tn){for(var ti=tn.length,ta=new Uint8Array(ti),to=0;to<ti;
31to++)ta[to]=tn.charCodeAt(to);return ta},t7=tR.__addimage__.arrayBufferToBinaryString=function(tn){for(var ti="",ta=t6(tn)?tn:new Uint8Array(tn),to=0;to<ta.length;to+=8192)ti+=String.fromCharCode.apply(null,ta.subarray(to,to+8192));return ti},tR.addImage=function(){if("number"==typeof arguments[1]?(ti=tT,ta=arguments[1],ts=arguments[2],tu=arguments[3],tc=arguments[4],tl=arguments[5],th=arguments[6],tf=arguments[7]):(ti=arguments[1],ta=arguments[2],ts=arguments[3],tu=arguments[4],tc=arguments[5],tl=arguments[6],th=arguments[7],tf=arguments[8]),"object"===(0,to.Z)(tn=arguments[0])&&!tZ(tn)&&"imageData"in tn){var tn,ti,ta,ts,tu,tc,tl,th,tf,td=tn;tn=td.imageData,ti=td.format||ti||tT,ta=td.x||ta||0,ts=td.y||ts||0,tu=td.w||td.width||tu,tc=td.h||td.height||tc,tl=td.alias||tl,th=td.compression||th,tf=td.rotation||td.angle||tf}var tp=this.internal.getFilters();if(void 0===th&&-1!==tp.indexOf("FlateEncode")&&(th="SLOW"),isNaN(ta)||isNaN(ts))throw Error("Invalid coordinates passed to jsPDF.addImage");tG.call(this);var tg=t9.call(this,tn,ti,tl,th);return t1.call(this,ta,ts,tu,tc,tg,tf),this},t9=function(tn,ti,ta,to){if("string"==typeof tn&&tU(tn)===tT){var ts,tu,tc,tl,th,tf=en(tn=unescape(tn),!1);(""!==tf||void 0!==(tf=tR.loadFile(tn,!0)))&&(tn=tf)}if(tZ(tn)&&(tn=tK(tn,ti)),!tX(ti=tU(tn,ti)))throw Error("addImage does not support files of type '"+ti+"', please ensure that a plugin for '"+ti+"' support is added.");if((null==(tc=ta)||0===tc.length)&&(ta="string"==typeof(tl=tn)||t6(tl)?t0(tl):t6(tl.data)?t0(tl.data):null),(ts=t$.call(this,ta))||(tn instanceof Uint8Array||"RGBA"===ti||(tu=tn,tn=t8(tn)),ts=this["process"+ti.toUpperCase()](tn,tY.call(this),ta,((th=to)&&"string"==typeof th&&(th=th.toUpperCase()),th in tR.image_compression?th:t5.NONE),tu)),!ts)throw Error("An unknown error occurred whilst processing the image.");return ts},en=tR.__addimage__.convertBase64ToBinaryString=function(tn,ti){ti="boolean"!=typeof ti||ti;var ta,to,ts="";if("string"==typeof tn){to=null!==(ta=t4(tn))&&void 0!==ta?ta:tn;try{ts=td(to)}catch(tn){if(ti)throw t3(to)?Error("atob-Error in jsPDF.convertBase64ToBinaryString "+tn.message):Error("Supplied Data is not a valid base64-String jsPDF.convertBase64ToBinaryString ")}}return ts},tR.getImageProperties=function(tn){var ti,ta,to="";if(tZ(tn)&&(tn=tK(tn)),"string"==typeof tn&&tU(tn)===tT&&(""===(to=en(tn,!1))&&(to=tR.loadFile(tn)||""),tn=to),!tX(ta=tU(tn)))throw Error("addImage does not support files of type '"+ta+"', please ensure that a plugin for '"+ta+"' support is added.");if(tn instanceof Uint8Array||(tn=t8(tn)),!(ti=this["process"+ta.toUpperCase()](tn)))throw Error("An unknown error occurred whilst processing the image");return ti.fileType=ta,ti},ei=E.API,ea=function(tn){if(void 0!==tn&&""!=tn)return!0},E.API.events.push(["addPage",function(tn){this.internal.getPageInfo(tn.pageNumber).pageContext.annotations=[]}]),ei.events.push(["putPage",function(tn){for(var ti,ta,to,ts=this.internal.getCoordinateString,tu=this.internal.getVerticalCoordinateString,tc=this.internal.getPageInfoByObjId(tn.objId),tl=tn.pageContext.annotations,th=!1,tf=0;tf<tl.length&&!th;tf++)switch((ti=tl[tf]).type){case"link":(ea(ti.options.url)||ea(ti.options.pageNumber))&&(th=!0);break;case"reference":case"text":case"freetext":th=!0}if(0!=th){this.internal.write("/Annots [");for(var td=0;td<tl.length;td++){ti=tl[td];var tp=this.internal.pdfEscape,tg=this.internal.getEncryptor(tn.objId);switch(ti.type){case"reference":this.internal.write(" "+ti.object.objId+" 0 R ");break;case"text":var tm=this.internal.newAdditionalObject(),tv=this.internal.newAdditionalObject(),tb=this.internal.getEncryptor(tm.objId),ty=ti.title||"Note";to="<</Type /Annot /Subtype /Text "+(ta="/Rect ["+ts(ti.bounds.x)+" "+tu(ti.bounds.y+ti.bounds.h)+" "+ts(ti.bounds.x+ti.bounds.w)+" "+tu(ti.bounds.y)+"] ")+"/Contents ("+tp(tb(ti.contents))+") /Popup "+tv.objId+" 0 R /P "+tc.objId+" 0 R /T ("+tp(tb(ty))+") >>",tm.content=to;var tw=tm.objId+" 0 R";to="<</Type /Annot /Subtype /Popup "+(ta="/Rect ["+ts(ti.bounds.x+30)+" "+tu(ti.bounds.y+ti.bounds.h)+" "+ts(ti.bounds.x+ti.bounds.w+30)+" "+tu(ti.bounds.y)+"] ")+" /Parent "+tw,ti.open&&(to+=" /Open true"),to+=" >>",tv.content=to,this.internal.write(tm.objId,"0 R",tv.objId,"0 R");break;case"freetext":ta="/Rect ["+ts(ti.bounds.x)+" "+tu(ti.bounds.y)+" "+ts(ti.bounds.x+ti.bounds.w)+" "+tu(ti.bounds.y+ti.bounds.h)+"] ";var tN="font: Helvetica,sans-serif 12.0pt; text-align:left; color:#"+(ti.color||"#000000");to="<</Type /Annot /Subtype /FreeText "+ta+"/Contents ("+tp(tg(ti.contents))+") /DS("+tp(tg(tN))+") /Border [0 0 0] >>",this.internal.write(to);break;case"link":if(ti.options.name){var tL=this.annotations._nameMap[ti.options.name];ti.options.pageNumber=tL.page,ti.options.top=tL.y}else ti.options.top||(ti.options.top=0);if(ta="/Rect ["+ti.finalBounds.x+" "+ti.finalBounds.y+" "+ti.finalBounds.w+" "+ti.finalBounds.h+"] ",to="",ti.options.url)to="<</Type /Annot /Subtype /Link "+ta+"/Border [0 0 0] /A <</S /URI /URI ("+tp(tg(ti.options.url))+") >>";else if(ti.options.pageNumber)switch(to="<</Type /Annot /Subtype /Link "+ta+"/Border [0 0 0] /Dest ["+this.internal.getPageInfo(ti.options.pageNumber).objId+" 0 R",ti.options.magFactor=ti.options.magFactor||"XYZ",ti.options.magFactor){case"Fit":to+=" /Fit]";break;case"FitH":to+=" /FitH "+ti.options.top+"]";break;case"FitV":ti.options.left=ti.options.left||0,to+=" /FitV "+ti.options.left+"]";break;default:var tx=tu(ti.options.top);ti.options.left=ti.options.left||0,void 0===ti.options.zoom&&(ti.options.zoom=0),to+=" /XYZ "+ti.options.left+" "+tx+" "+ti.options.zoom+"]"}""!=to&&(to+=" >>",this.internal.write(to))}}this.internal.write("]")}}]),ei.createAnnotation=function(tn){var ti=this.internal.getCurrentPageInfo();switch(tn.type){case"link":this.link(tn.bounds.x,tn.bounds.y,tn.bounds.w,tn.bounds.h,tn);break;case"text":case"freetext":ti.pageContext.annotations.push(tn)}},ei.link=function(tn,ti,ta,to,ts){var tu=this.internal.getCurrentPageInfo(),tc=this.internal.getCoordinateString,tl=this.internal.getVerticalCoordinateString;
31tu.pageContext.annotations.push({finalBounds:{x:tc(tn),y:tl(ti),w:tc(tn+ta),h:tl(ti+to)},options:ts,type:"link"})},ei.textWithLink=function(tn,ti,ta,to){var ts,tu,tc=this.getTextWidth(tn),tl=this.internal.getLineHeight()/this.internal.scaleFactor;return void 0!==to.maxWidth?(tu=to.maxWidth,ts=Math.ceil(tl*this.splitTextToSize(tn,tu).length)):(tu=tc,ts=tl),this.text(tn,ti,ta,to),ta+=.2*tl,"center"===to.align&&(ti-=tc/2),"right"===to.align&&(ti-=tc),this.link(ti,ta-tl,tu,ts,to),tc},ei.getTextWidth=function(tn){var ti=this.internal.getFontSize();return this.getStringUnitWidth(tn)*ti/this.internal.scaleFactor},/** 32 * @license 33 * Copyright (c) 2017 Aras Abbasi 34 * 35 * Licensed under the MIT License. 36 * http://opensource.org/licenses/mit-license 37 */function(tn){var ti={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: 7,232 bytes, line 37
377],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]},ta={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}},to={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},ts=[1570,1571,1573,1575];tn.__arabicParser__={};var tu=tn.__arabicParser__.isInArabicSubstitutionA=function(tn){return void 0!==ti[tn.charCodeAt(0)]},tc=tn.__arabicParser__.isArabicLetter=function(tn){return"string"==typeof tn&&/^[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]+$/.test(tn)},tl=tn.__arabicParser__.isArabicEndLetter=function(tn){return tc(tn)&&tu(tn)&&ti[tn.charCodeAt(0)].length<=2},th=tn.__arabicParser__.isArabicAlfLetter=function(tn){return tc(tn)&&ts.indexOf(tn.charCodeAt(0))>=0};tn.__arabicParser__.arabicLetterHasIsolatedForm=function(tn){return tc(tn)&&tu(tn)&&ti[tn.charCodeAt(0)].length>=1};var tf=tn.__arabicParser__.arabicLetterHasFinalForm=function(tn){return tc(tn)&&tu(tn)&&ti[tn.charCodeAt(0)].length>=2};tn.__arabicParser__.arabicLetterHasInitialForm=function(tn){return tc(tn)&&tu(tn)&&ti[tn.charCodeAt(0)].length>=3};var td=tn.__arabicParser__.arabicLetterHasMedialForm=function(tn){return tc(tn)&&tu(tn)&&4==ti[tn.charCodeAt(0)].length},tp=tn.__arabicParser__.resolveLigatures=function(tn){var ti=0,to=ta,ts="",tu=0;for(ti=0;ti<tn.length;ti+=1)void 0!==to[tn.charCodeAt(ti)]?(tu++,"number"==typeof(to=to[tn.charCodeAt(ti)])&&(ts+=String.fromCharCode(to),to=ta,tu=0),ti===tn.length-1&&(to=ta,ts+=tn.charAt(ti-(tu-1)),ti-=tu-1,tu=0)):(to=ta,ts+=tn.charAt(ti-tu),ti-=tu,tu=0);return ts};tn.__arabicParser__.isArabicDiacritic=function(tn){return void 0!==tn&&void 0!==to[tn.charCodeAt(0)]};var tg=tn.__arabicParser__.getCorrectForm=function(tn,ti,ta){return tc(tn)?!1===tu(tn)?-1:!tf(tn)||!tc(ti)&&!tc(ta)||!tc(ta)&&tl(ti)||tl(tn)&&!tc(ti)||tl(tn)&&th(ti)||tl(tn)&&tl(ti)?0:td(tn)&&tc(ti)&&!tl(ti)&&tc(ta)&&tf(ta)?3:tl(tn)||!tc(ta)?1:2:-1},d=function(tn){var ta=0,to=0,ts=0,tu="",tl="",th="",tf=(tn=tn||"").split("\\s+"),td=[];for(ta=0;ta<tf.length;ta+=1){for(td.push(""),to=0;to<tf[ta].length;to+=1)tu=tf[ta][to],tl=tf[ta][to-1],th=tf[ta][to+1],tc(tu)?(ts=tg(tu,tl,th),td[ta]+=-1!==ts?String.fromCharCode(ti[tu.charCodeAt(0)][ts]):tu):td[ta]+=tu;td[ta]=tp(td[ta])}return td.join(" ")},tm=tn.__arabicParser__.processArabic=tn.processArabic=function(){var tn,ti="string"==typeof arguments[0]?arguments[0]:arguments[0].text,ta=[];if(Array.isArray(ti)){var to=0;for(ta=[],to=0;to<ti.length;to+=1)Array.isArray(ti[to])?ta.push([d(ti[to][0]),ti[to][1],ti[to][2]]):ta.push([d(ti[to])]);tn=ta}else tn=d(ti);return"string"==typeof arguments[0]?tn:(arguments[0].text=tn,arguments[0])};tn.events.push(["preProcessText",tm])}(E.API),E.API.autoPrint=function(tn){var ti;return(tn=tn||{}).variant=tn.variant||"non-conform","javascript"===tn.variant?this.addJS("print({});"):(this.internal.events.subscribe("postPutResources",function(){ti=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 "+ti+" 0 R")})),this},eo=E.API,(es=function(){var tn=void 0;Object.defineProperty(this,"pdf",{get:function(){return tn},set:function(ti){tn=ti}});var ti=150;Object.defineProperty(this,"width",{get:function(){return ti},set:function(tn){ti=isNaN(tn)||!1===Number.isInteger(tn)||tn<0?150:tn,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=ti+1)}});var ta=300;Object.defineProperty(this,"height",{get:function(){return ta},set:function(tn){ta=isNaN(tn)||!1===Number.isInteger(tn)||tn<0?300:tn,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=ta+1)}});var to=[];Object.defineProperty(this,"childNodes",{get:function(){return to},set:function(tn){to=tn}});var ts={};Object.defineProperty(this,"style",{get:function(){return ts},set:function(tn){ts=tn}}),Object.defineProperty(this,"parentNode",{})}).prototype.getContext=function(tn,ti){var ta;if("2d"!==(tn=tn||"2d"))return null;for(ta in ti)this.pdf.context2d.hasOwnProperty(ta)&&(this.pdf.context2d[ta]=ti[ta]);return this.pdf.context2d._canvas=this,this.pdf.context2d},es.prototype.toDataURL=function(){throw Error("toDataURL is not implemented.")},eo.events.push(["initialized",function(){this.canvas=new es,this.canvas.pdf=this}]),eu=E.API,ec={left:0,top:0,bottom:0,right:0},el=!1,eh=function(){void 0===this.internal.__cell__&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},ec),this.internal.__cell__.margins.width=this.getPageWidth(),ef.call(this))},ef=function(){this.internal.__cell__.lastCell=new ed,this.internal.__cell__.pages=1},(ed=function(){var tn=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return tn},set:function(ti){tn=ti}});var ti=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return ti},set:function(tn){ti=tn}});var ta=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return ta},set:function(tn){ta=tn}});var to=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return to},set:function(tn){to=tn}});var ts=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return ts},set:function(tn){ts=tn}});var tu=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return tu},set:function(tn){tu=tn}});var tc=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return tc},set:function(tn){tc=tn}}),this}).prototype.clone=function(){return new ed(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},ed.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},eu.setHeaderFunction=function(tn){return eh.call(this),this.internal.__cell__.headerFunction="function"==typeof tn?tn:void 0,this},eu.getTextDimensions=function(tn,ti){eh.call(this);var ta=(ti=ti||{}).fontSize||this.getFontSize(),to=ti.font||this.getFont(),ts=ti.scaleFactor||this.internal.scaleFactor,tu=0,tc=0,tl=0,th=this;if(!Array.isArray(tn)&&"string"!=typeof tn){if("number"!=typeof tn)throw Error("getTextDimensions expects text-parameter to be of type Str
37ing or type Number or an Array of Strings.");tn=String(tn)}var tf=ti.maxWidth;tf>0?"string"==typeof tn?tn=this.splitTextToSize(tn,tf):"[object Array]"===Object.prototype.toString.call(tn)&&(tn=tn.reduce(function(tn,ti){return tn.concat(th.splitTextToSize(ti,tf))},[])):tn=Array.isArray(tn)?tn:[tn];for(var td=0;td<tn.length;td++)tu<(tl=this.getStringUnitWidth(tn[td],{font:to})*ta)&&(tu=tl);return 0!==tu&&(tc=tn.length),{w:tu/=ts,h:Math.max((tc*ta*this.getLineHeightFactor()-ta*(this.getLineHeightFactor()-1))/ts,0)}},eu.cellAddPage=function(){eh.call(this),this.addPage();var tn=this.internal.__cell__.margins||ec;return this.internal.__cell__.lastCell=new ed(tn.left,tn.top,void 0,void 0),this.internal.__cell__.pages+=1,this},ep=eu.cell=function(){tn=arguments[0]instanceof ed?arguments[0]:new ed(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6]),eh.call(this);var tn,ti=this.internal.__cell__.lastCell,ta=this.internal.__cell__.padding,to=this.internal.__cell__.margins||ec,ts=this.internal.__cell__.tableHeaderRow,tu=this.internal.__cell__.printHeaders;return void 0!==ti.lineNumber&&(ti.lineNumber===tn.lineNumber?(tn.x=(ti.x||0)+(ti.width||0),tn.y=ti.y||0):ti.y+ti.height+tn.height+to.bottom>this.getPageHeight()?(this.cellAddPage(),tn.y=to.top,tu&&ts&&(this.printHeaderRow(tn.lineNumber,!0),tn.y+=ts[0].height)):tn.y=ti.y+ti.height||tn.y),void 0!==tn.text[0]&&(this.rect(tn.x,tn.y,tn.width,tn.height,!0===el?"FD":void 0),"right"===tn.align?this.text(tn.text,tn.x+tn.width-ta,tn.y+ta,{align:"right",baseline:"top"}):"center"===tn.align?this.text(tn.text,tn.x+tn.width/2,tn.y+ta,{align:"center",baseline:"top",maxWidth:tn.width-ta-ta}):this.text(tn.text,tn.x+ta,tn.y+ta,{align:"left",baseline:"top",maxWidth:tn.width-ta-ta})),this.internal.__cell__.lastCell=tn,this},eu.table=function(tn,ti,ta,ts,tu){if(eh.call(this),!ta)throw Error("No data for PDF table.");var tc,tl,th,tf,td=[],tp=[],tg=[],tm={},tv={},tb=[],ty=[],tw=(tu=tu||{}).autoSize||!1,tN=!1!==tu.printHeaders,tL=tu.css&&void 0!==tu.css["font-size"]?16*tu.css["font-size"]:tu.fontSize||12,tx=tu.margins||Object.assign({width:this.getPageWidth()},ec),tA="number"==typeof tu.padding?tu.padding:3,tS=tu.headerBackgroundColor||"#c8c8c8",t_=tu.headerTextColor||"#000";if(ef.call(this),this.internal.__cell__.printHeaders=tN,this.internal.__cell__.margins=tx,this.internal.__cell__.table_font_size=tL,this.internal.__cell__.padding=tA,this.internal.__cell__.headerBackgroundColor=tS,this.internal.__cell__.headerTextColor=t_,this.setFontSize(tL),null==ts)tp=td=Object.keys(ta[0]),tg=td.map(function(){return"left"});else if(Array.isArray(ts)&&"object"===(0,to.Z)(ts[0]))for(td=ts.map(function(tn){return tn.name}),tp=ts.map(function(tn){return tn.prompt||tn.name||""}),tg=ts.map(function(tn){return tn.align||"left"}),tc=0;tc<ts.length;tc+=1)tv[ts[tc].name]=.7499990551181103*ts[tc].width;else Array.isArray(ts)&&"string"==typeof ts[0]&&(tp=td=ts,tg=td.map(function(){return"left"}));if(tw||Array.isArray(ts)&&"string"==typeof ts[0])for(tc=0;tc<td.length;tc+=1){for(tm[tf=td[tc]]=ta.map(function(tn){return tn[tf]}),this.setFont(void 0,"bold"),tb.push(this.getTextDimensions(tp[tc],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w),tl=tm[tf],this.setFont(void 0,"normal"),th=0;th<tl.length;th+=1)tb.push(this.getTextDimensions(tl[th],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w);tv[tf]=Math.max.apply(null,tb)+tA+tA,tb=[]}if(tN){var tP={};for(tc=0;tc<td.length;tc+=1)tP[td[tc]]={},tP[td[tc]].text=tp[tc],tP[td[tc]].align=tg[tc];var tk=eg.call(this,tP,tv);ty=td.map(function(ta){return new ed(tn,ti,tv[ta],tk,tP[ta].text,void 0,tP[ta].align)}),this.setTableHeaderRow(ty),this.printHeaderRow(1,!1)}var tF=ts.reduce(function(tn,ti){return tn[ti.name]=ti.align,tn},{});for(tc=0;tc<ta.length;
37tc+=1){"rowStart"in tu&&tu.rowStart instanceof Function&&tu.rowStart({row:tc,data:ta[tc]},this);var tI=eg.call(this,ta[tc],tv);for(th=0;th<td.length;th+=1){var tj=ta[tc][td[th]];"cellStart"in tu&&tu.cellStart instanceof Function&&tu.cellStart({row:tc,col:th,data:tj},this),ep.call(this,new ed(tn,ti,tv[td[th]],tI,tj,tc+2,tF[td[th]]))}}return this.internal.__cell__.table_x=tn,this.internal.__cell__.table_y=ti,this},eg=function(tn,ti){var ta=this.internal.__cell__.padding,to=this.internal.__cell__.table_font_size,ts=this.internal.scaleFactor;return Object.keys(tn).map(function(to){var ts=tn[to];return this.splitTextToSize(ts.hasOwnProperty("text")?ts.text:ts,ti[to]-ta-ta)},this).map(function(tn){return this.getLineHeightFactor()*tn.length*to/ts+ta+ta},this).reduce(function(tn,ti){return Math.max(tn,ti)},0)},eu.setTableHeaderRow=function(tn){eh.call(this),this.internal.__cell__.tableHeaderRow=tn},eu.printHeaderRow=function(tn,ti){if(eh.call(this),!this.internal.__cell__.tableHeaderRow)throw Error("Property tableHeaderRow does not exist.");if(el=!0,"function"==typeof this.internal.__cell__.headerFunction){var ta,to=this.internal.__cell__.headerFunction(this,this.internal.__cell__.pages);this.internal.__cell__.lastCell=new ed(to[0],to[1],to[2],to[3],void 0,-1)}this.setFont(void 0,"bold");for(var ts=[],tu=0;tu<this.internal.__cell__.tableHeaderRow.length;tu+=1){ta=this.internal.__cell__.tableHeaderRow[tu].clone(),ti&&(ta.y=this.internal.__cell__.margins.top||0,ts.push(ta)),ta.lineNumber=tn;var tc=this.getTextColor();this.setTextColor(this.internal.__cell__.headerTextColor),this.setFillColor(this.internal.__cell__.headerBackgroundColor),ep.call(this,ta),this.setTextColor(tc)}ts.length>0&&this.setTableHeaderRow(ts),this.setFont(void 0,"normal"),el=!1};var tj={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},tC=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],tE=Pt(tC),tO=[100,200,300,400,500,600,700,800,900],tB=Pt(tO);function Ot(tn){var ti,ta,to,ts=tn.family.replace(/"|'/g,"").toLowerCase(),tu=tj[ti=(ti=tn.style)||"normal"]?ti:"normal",tc=(ta=tn.weight)?"number"==typeof ta?ta>=100&&ta<=900&&ta%100==0?ta:400:/^\d00$/.test(ta)?parseInt(ta):"bold"===ta?700:400:400,tl="number"==typeof tE[to=(to=tn.stretch)||"normal"]?to:"normal";return{family:ts,style:tu,weight:tc,stretch:tl,src:tn.src||[],ref:tn.ref||{name:ts,style:[tl,tu,tc].join(" ")}}}function Bt(tn,ti,ta,to){var ts;for(ts=ta;ts>=0&&ts<ti.length;ts+=to)if(tn[ti[ts]])return tn[ti[ts]];for(ts=ta;ts>=0&&ts<ti.length;ts-=to)if(tn[ti[ts]])return tn[ti[ts]]}var tM={"sans-serif":"helvetica",fixed:"courier",monospace:"courier",terminal:"courier",cursive:"times",fantasy:"times",serif:"times"},tq={caption:"times",icon:"times",menu:"times","message-box":"times","small-caption":"times","status-bar":"times"};function Et(tn){return[tn.stretch,tn.style,tn.weight,tn.family].join(" ")}function Rt(tn){return tn.trimLeft()}var tR,tD,tT,tz,tU,tH,tW,tV,tG,tJ,tY,tX,tZ,tK,t$,tQ,t1,t2,t5,t0,t3,t4,t6,t8,t7,t9,en,ei,ea,eo,es,eu,ec,el,eh,ef,ed,ep,eg,em,ev,eb,ey,ew,eN=["times"];function Yt(tn,ti,ta,to,tu){var tc=4,tl=Kt;switch(tu){case E.API.image_compression.FAST:tc=1,tl=Xt;break;case E.API.image_compression.MEDIUM:tc=6,tl=Zt;break;case E.API.image_compression.SLOW:tc=9,tl=$t}tn=function(tn,ti,ta,to){for(var ts,tu=tn.length/ti,tc=new Uint8Array(tn.length+tu),tl=[Jt,Xt,Kt,Zt,$t],th=0;th<tu;th+=1){var tf=th*ti,td=tn.subarray(tf,tf+ti);if(to)tc.set(to(td,ta,ts),tf+th);else{for(var tp=tl.length,tg=[],tm=0;tm<tp;tm+=1)tg[tm]=tl[tm](td,ta,ts);var tv=function(tn){var ti=tn.map(function(tn){return tn.reduce(function(tn,ti){return tn+Math.abs(ti)},0)});return ti.indexOf(Math.min.apply(null,ti))}(tg.concat());tc.set(tg[tv],tf+th)}ts=td}return tc}(tn,ti,Math.ceil(ta*to/8),tl);var th=(0,ts.iZ)(tn,{level:tc});return E.API.__addimage__.arrayBufferToBinaryString(th)}function Jt(tn){var ti=Array.apply([],tn);return ti.unshift(0),ti}function Xt(tn,ti){var ta=tn.length,to=[];to[0]=1;for(var ts=0;ts<ta;ts+=1){var tu=tn[ts-ti]||0;to[ts+1]=tn[ts]-tu+256&255}return to}function Kt(tn,ti,ta){var to=tn.length,ts=[];ts[0]=2;
37for(var tu=0;tu<to;tu+=1){var tc=ta&&ta[tu]||0;ts[tu+1]=tn[tu]-tc+256&255}return ts}function Zt(tn,ti,ta){var to=tn.length,ts=[];ts[0]=3;for(var tu=0;tu<to;tu+=1){var tc=tn[tu-ti]||0,tl=ta&&ta[tu]||0;ts[tu+1]=tn[tu]+256-(tc+tl>>>1)&255}return ts}function $t(tn,ti,ta){var to=tn.length,ts=[];ts[0]=4;for(var tu=0;tu<to;tu+=1){var tc=function(tn,ti,ta){if(tn===ti&&ti===ta)return tn;var to=Math.abs(ti-ta),ts=Math.abs(tn-ta),tu=Math.abs(tn+ti-ta-ta);return to<=ts&&to<=tu?tn:ts<=tu?ti:ta}(tn[tu-ti]||0,ta&&ta[tu]||0,ta&&ta[tu-ti]||0);ts[tu+1]=tn[tu]-tc+256&255}return ts}function ee(tn,ti,ta){var to=ti*ta,ts=Math.floor(to/8),tu=16-(to-8*ts+ta);return ne(tn,ts)>>tu&(1<<ta)-1}function re(tn,ti,ta,to){var ts=ta*to,tu=Math.floor(ts/8),tc=16-(ts-8*tu+to),tl=(1<<to)-1,th=(ti&tl)<<tc;!function(tn,ti,ta){if(ti+1<tn.byteLength)tn.setUint16(ti,ta,!1);else{var to=ta>>8&255;tn.setUint8(ti,to)}}(tn,tu,ne(tn,tu)&~(tl<<tc)&65535|th)}function ne(tn,ti){return ti+1<tn.byteLength?tn.getUint16(ti,!1):tn.getUint8(ti)<<8}function ie(tn){var ti=0;if(71!==tn[ti++]||73!==tn[ti++]||70!==tn[ti++]||56!==tn[ti++]||56!=(tn[ti++]+1&253)||97!==tn[ti++])throw Error("Invalid GIF 87a/89a header.");var ta=tn[ti++]|tn[ti++]<<8,to=tn[ti++]|tn[ti++]<<8,ts=tn[ti++],tu=1<<1+(7&ts);tn[ti++],tn[ti++];var tc=null,tl=null;ts>>7&&(tc=ti,tl=tu,ti+=3*tu);var th=!0,tf=[],td=0,tp=null,tg=0,tm=null;for(this.width=ta,this.height=to;th&&ti<tn.length;)switch(tn[ti++]){case 33:switch(tn[ti++]){case 255:if(11!==tn[ti]||78==tn[ti+1]&&69==tn[ti+2]&&84==tn[ti+3]&&83==tn[ti+4]&&67==tn[ti+5]&&65==tn[ti+6]&&80==tn[ti+7]&&69==tn[ti+8]&&50==tn[ti+9]&&46==tn[ti+10]&&48==tn[ti+11]&&3==tn[ti+12]&&1==tn[ti+13]&&0==tn[ti+16])ti+=14,tm=tn[ti++]|tn[ti++]<<8,ti++;else for(ti+=12;;){if(!((tb=tn[ti++])>=0))throw Error("Invalid block size");if(0===tb)break;ti+=tb}break;case 249:if(4!==tn[ti++]||0!==tn[ti+4])throw Error("Invalid graphics extension block.");var tv=tn[ti++];td=tn[ti++]|tn[ti++]<<8,tp=tn[ti++],1&tv||(tp=null),tg=tv>>2&7,ti++;break;case 254:for(;;){if(!((tb=tn[ti++])>=0))throw Error("Invalid block size");if(0===tb)break;ti+=tb}break;default:throw Error("Unknown graphic control label: 0x"+tn[ti-1].toString(16))}break;case 44:var tb,ty=tn[ti++]|tn[ti++]<<8,tw=tn[ti++]|tn[ti++]<<8,tN=tn[ti++]|tn[ti++]<<8,tL=tn[ti++]|tn[ti++]<<8,tx=tn[ti++],tA=tx>>6&1,tS=1<<1+(7&tx),t_=tc,tP=tl,tk=!1;tx>>7&&(tk=!0,t_=ti,tP=tS,ti+=3*tS);var tF=ti;for(ti++;;){if(!((tb=tn[ti++])>=0))throw Error("Invalid block size");if(0===tb)break;ti+=tb}tf.push({x:ty,y:tw,width:tN,height:tL,has_local_palette:tk,palette_offset:t_,palette_size:tP,data_offset:tF,data_length:ti-tF,transparent_index:tp,interlaced:!!tA,delay:td,disposal:tg});break;case 59:th=!1;break;default:throw Error("Unknown gif block: 0x"+tn[ti-1].toString(16))}this.numFrames=function(){return tf.length},this.loopCount=function(){return tm},this.frameInfo=function(tn){if(tn<0||tn>=tf.length)throw Error("Frame index out of range.");return tf[tn]},this.decodeAndBlitFrameBGRA=function(ti,to){var ts=this.frameInfo(ti),tu=ts.width*ts.height;if(tu>536870912)throw Error("Image dimensions exceed 512MB, which is too large.");var tc=new Uint8Array(tu);ae(tn,ts.data_offset,tc,tu);var tl=ts.palette_offset,th=ts.transparent_index;null===th&&(th=256);var tf=ts.width,td=ta-tf,tp=tf,tg=4*(ts.y*ta+ts.x),tm=4*((ts.y+ts.height)*ta+ts.x),tv=tg,tb=4*td;!0===ts.interlaced&&(tb+=4*ta*7);for(var ty=8,tw=0,tN=tc.length;tw<tN;++tw){var tL=tc[tw];if(0===tp&&(tp=tf,(tv+=tb)>=tm&&(tb=4*td+4*ta*(ty-1),tv=tg+(tf+td)*(ty<<1),ty>>=1)),tL===th)tv+=4;else{var tx=tn[tl+3*tL],tA=tn[tl+3*tL+1],tS=tn[tl+3*tL+2];to[tv++]=tS,to[tv++]=tA,to[tv++]=tx,to[tv++]=255}--tp}},this.decodeAndBlitFrameRGBA=function(ti,to){var ts=this.frameInfo(ti),tu=ts.width*ts.height;if(tu>536870912)throw Error("Image dimensions exceed 512MB, which is too large.");var tc=new Uint8Array(tu);ae(tn,ts.data_offset,tc,tu);var tl=ts.palette_offset,th=ts.transparent_index;null===th&&(th=256);var tf=ts.width,td=ta-tf,tp=tf,tg=4*(ts.y*ta+ts.x),tm=4*((ts.y+ts.height)*ta+ts.x),tv=tg,tb=4*td;!0===ts.interlaced&&(tb+=4*ta*7);for(var ty=8,tw=0,tN=tc.length;tw<tN;++tw){var tL=tc[tw];if(0===tp&&(tp=tf,(tv+=tb)>
vendor: 5,480 bytes, lines 37-68
37=tm&&(tb=4*td+4*ta*(ty-1),tv=tg+(tf+td)*(ty<<1),ty>>=1)),tL===th)tv+=4;else{var tx=tn[tl+3*tL],tA=tn[tl+3*tL+1],tS=tn[tl+3*tL+2];to[tv++]=tx,to[tv++]=tA,to[tv++]=tS,to[tv++]=255}--tp}}}function ae(tn,ti,ta,to){for(var ts=tn[ti++],tu=1<<ts,tc=tu+1,tl=tc+1,tf=ts+1,td=(1<<tf)-1,tp=0,tg=0,tm=0,tv=tn[ti++],tb=new Int32Array(4096),ty=null;;){for(;tp<16&&0!==tv;)tg|=tn[ti++]<<tp,tp+=8,1===tv?tv=tn[ti++]:--tv;if(tp<tf)break;var tw=tg&td;if(tg>>=tf,tp-=tf,tw!==tu){if(tw===tc)break;for(var tN=tw<tl?tw:ty,tL=0,tx=tN;tx>tu;)tx=tb[tx]>>8,++tL;var tA=tx;if(tm+tL+(tN!==tw?1:0)>to)return void th.log("Warning, gif stream longer than expected.");ta[tm++]=tA;var tS=tm+=tL;for(tN!==tw&&(ta[tm++]=tA),tx=tN;tL--;)tx=tb[tx],ta[--tS]=255&tx,tx>>=8;null!==ty&&tl<4096&&(tb[tl++]=ty<<8|tA,tl>=td+1&&tf<12&&(++tf,td=td<<1|1)),ty=tw}else tl=tc+1,td=(1<<(tf=ts+1))-1,ty=null}return tm!==to&&th.log("Warning, gif stream shorter than expected."),ta}/** 38 * @license 39 Copyright (c) 2008, Adobe Systems Incorporated 40 All rights reserved. 41 42 Redistribution and use in source and binary forms, with or without 43 modification, are permitted provided that the following conditions are 44 met: 45 46 * Redistributions of source code must retain the above copyright notice, 47 this list of conditions and the following disclaimer. 48 49 * Redistributions in binary form must reproduce the above copyright 50 notice, this list of conditions and the following disclaimer in the 51 documentation and/or other materials provided with the distribution. 52 53 * Neither the name of Adobe Systems Incorporated nor the names of its 54 contributors may be used to endorse or promote products derived from 55 this software without specific prior written permission. 56 57 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS 58 IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, 59 THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 60 PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 61 CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 62 EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 63 PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 64 PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 65 LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 66 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 67 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 68*/function oe(tn){var ti,ta,to,ts,tu,tc=Math.floor,tl=Array(64),th=Array(64),tf=Array(64),td=Array(64),tp=Array(65535),tg=Array(65535),tm=Array(64),tv=Array(64),tb=[],ty=0,tw=7,tN=Array(64),tL=Array(64),tx=Array(64),tA=Array(256),tS=Array(2048),t_=[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],tP=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],tk=[0,1,2,3,4,5,6,7,8,9,10,11],tF=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],tI=[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],tj=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],tC=[0,1,2,3,4,5,6,7,8,9,10,11],tE=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],tO=[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 j(tn,ti){for(var ta=0,to=0,ts=[],tu=1;tu<=16;tu++){for(var tc=1;tc<=tn[tu];tc++)ts[ti[to]]=[],ts[ti[to]][0]=ta,ts[ti[to]][1]=tu,to++,ta++;ta*=2}return ts}function O(tn){for(var ti=tn[0],ta=tn[1]-1;ta>=0;)ti&1<<ta&&(ty|=1<<tw),ta--,--tw<0&&(255==ty?(B(255),B(0)):B(ty),tw=7,ty=0)}function B(tn){tb.push(tn)}function M(tn){B(tn>>8&255),B(255&tn)}function q(tn,ti,ta,to,ts){for(var tu,tc=ts[0],tl=ts[240],th=function(tn,ti){var ta,to,ts,tu,tc,tl,th,tf,td,tp,tg=0;for(td=0;td<8;++td){ta=tn[tg],to=tn[tg+1],ts=tn[tg+2],tu=tn[tg+3],tc=tn[tg+4],tl=tn[tg+5],th=tn[tg+6];var tv=ta+(tf=tn[tg+7]),tb=ta-tf,ty=to+th,tw=to-th,tN=ts+tl,tL=ts-tl,tx=tu+tc,tA=tu-tc,tS=tv+tx,t_=tv-tx,tP=ty+tN,tk=ty-tN;tn[tg]=tS+tP,tn[tg+4]=tS-tP;var tF=.707106781*(tk+t_);tn[tg+2]=t_+tF,tn[tg+6]=t_-tF;var tI=.382683433*((tS=tA+tL)-(tk=tw+tb)),tj=.5411961*tS+tI,tC=1.306562965*tk+tI,tE=.707106781*(tP=tL+tw),tO=tb+tE,tB=tb-tE;tn[tg+5]=tB+tj,tn[tg+3]=tB-tj,tn[tg+1]=tO+tC,tn[tg+7]=tO-tC,tg+=8}for(tg=0,td=0;td<8;++td){ta=tn[tg],to=tn[tg+8],ts=tn[tg+16],tu=tn[tg+24],tc=tn[tg+32],tl=tn[tg+40],th=tn[tg+48];var tM=ta+(tf=tn[tg+56]),tq=ta-tf,tR=to+th,tD=to-th,tT=ts+tl,tz=ts-tl,tU=tu+t
vendor: 19,039 bytes, lines 68-74
68c,tH=tu-tc,tW=tM+tU,tV=tM-tU,tG=tR+tT,tJ=tR-tT;tn[tg]=tW+tG,tn[tg+32]=tW-tG;var tY=.707106781*(tJ+tV);tn[tg+16]=tV+tY,tn[tg+48]=tV-tY;var tX=.382683433*((tW=tH+tz)-(tJ=tD+tq)),tZ=.5411961*tW+tX,tK=1.306562965*tJ+tX,t$=.707106781*(tG=tz+tD),tQ=tq+t$,t1=tq-t$;tn[tg+40]=t1+tZ,tn[tg+24]=t1-tZ,tn[tg+8]=tQ+tK,tn[tg+56]=tQ-tK,tg++}for(td=0;td<64;++td)tp=tn[td]*ti[td],tm[td]=tp>0?tp+.5|0:tp-.5|0;return tm}(tn,ti),tf=0;tf<64;++tf)tv[t_[tf]]=th[tf];var td=tv[0]-ta;ta=tv[0],0==td?O(to[0]):(O(to[tg[tu=32767+td]]),O(tp[tu]));for(var tb=63;tb>0&&0==tv[tb];)tb--;if(0==tb)return O(tc),ta;for(var ty,tw=1;tw<=tb;){for(var tN=tw;0==tv[tw]&&tw<=tb;)++tw;var tL=tw-tN;if(tL>=16){ty=tL>>4;for(var tx=1;tx<=ty;++tx)O(tl);tL&=15}O(ts[(tL<<4)+tg[tu=32767+tv[tw]]]),O(tp[tu]),tw++}return 63!=tb&&O(tc),ta}function E(tn){tu!=(tn=Math.min(Math.max(tn,1),100))&&(function(tn){for(var ti=[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],ta=0;ta<64;ta++){var to=tc((ti[ta]*tn+50)/100);to=Math.min(Math.max(to,1),255),tl[t_[ta]]=to}for(var ts=[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],tu=0;tu<64;tu++){var tp=tc((ts[tu]*tn+50)/100);tp=Math.min(Math.max(tp,1),255),th[t_[tu]]=tp}for(var tg=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],tm=0,tv=0;tv<8;tv++)for(var tb=0;tb<8;tb++)tf[tm]=1/(tl[t_[tm]]*tg[tv]*tg[tb]*8),td[tm]=1/(th[t_[tm]]*tg[tv]*tg[tb]*8),tm++}(tn<50?Math.floor(5e3/tn):Math.floor(200-2*tn)),tu=tn)}this.encode=function(tn,tu){tu&&E(tu),tb=[],ty=0,tw=7,M(65496),M(65504),M(16),B(74),B(70),B(73),B(70),B(0),B(1),B(1),B(0),M(1),M(1),B(0),B(0),function(){M(65499),M(132),B(0);for(var tn=0;tn<64;tn++)B(tl[tn]);B(1);for(var ti=0;ti<64;ti++)B(th[ti])}(),tm=tn.width,tv=tn.height,M(65472),M(17),B(8),M(tv),M(tm),B(3),B(1),B(17),B(0),B(2),B(17),B(1),B(3),B(17),B(1),function(){M(65476),M(418),B(0);for(var tn=0;tn<16;tn++)B(tP[tn+1]);for(var ti=0;ti<=11;ti++)B(tk[ti]);B(16);for(var ta=0;ta<16;ta++)B(tF[ta+1]);for(var to=0;to<=161;to++)B(tI[to]);B(1);for(var ts=0;ts<16;ts++)B(tj[ts+1]);for(var tu=0;tu<=11;tu++)B(tC[tu]);B(17);for(var tc=0;tc<16;tc++)B(tE[tc+1]);for(var tl=0;tl<=161;tl++)B(tO[tl])}(),M(65498),M(12),B(3),B(1),B(0),B(2),B(17),B(3),B(17),B(0),B(63),B(0);var tc=0,tp=0,tg=0;ty=0,tw=7,this.encode.displayName="_encode_";for(var tm,tv,tA,t_,tB,tM,tq,tR,tD,tT,tz,tU=tn.data,tH=tn.width,tW=tn.height,tV=4*tH,tG=0;tG<tW;){for(tA=0;tA<tV;){for(tq=tV*tG+tA,tD=-1,tT=0,tz=0;tz<64;tz++)tR=tq+(tT=tz>>3)*tV+(tD=4*(7&tz)),tG+tT>=tW&&(tR-=tV*(tG+1+tT-tW)),tA+tD>=tV&&(tR-=tA+tD-tV+4),t_=tU[tR++],tB=tU[tR++],tM=tU[tR++],tN[tz]=(tS[t_]+tS[tB+256|0]+tS[tM+512|0]>>16)-128,tL[tz]=(tS[t_+768|0]+tS[tB+1024|0]+tS[tM+1280|0]>>16)-128,tx[tz]=(tS[t_+1280|0]+tS[tB+1536|0]+tS[tM+1792|0]>>16)-128;tc=q(tN,tf,tc,ti,to),tp=q(tL,td,tp,ta,ts),tg=q(tx,td,tg,ta,ts),tA+=32}tG+=8}if(tw>=0){var tJ=[];tJ[1]=tw+1,tJ[0]=(1<<tw+1)-1,O(tJ)}return M(65497),new Uint8Array(tb)},tn=tn||50,function(){for(var tn=String.fromCharCode,ti=0;ti<256;ti++)tA[ti]=tn(ti)}(),ti=j(tP,tk),ta=j(tj,tC),to=j(tF,tI),ts=j(tE,tO),function(){for(var tn=1,ti=2,ta=1;ta<=15;ta++){for(var to=tn;to<ti;to++)tg[32767+to]=ta,tp[32767+to]=[],tp[32767+to][1]=ta,tp[32767+to][0]=to;for(var ts=-(ti-1);ts<=-tn;ts++)tg[32767+ts]=ta,tp[32767+ts]=[],tp[32767+ts][1]=ta,tp[32767+ts][0]=ti-1+ts;tn<<=1,ti<<=1}}(),function(){for(var tn=0;tn<256;tn++)tS[tn]=19595*tn,tS[tn+256|0]=38470*tn,tS[tn+512|0]=7471*tn+32768,tS[tn+768|0]=-11059*tn,tS[tn+1024|0]=-21709*tn,tS[tn+1280|0]=32768*tn+8421375,tS[tn+1536|0]=-27439*tn,tS[tn+1792|0]=-5329*tn}(),E(tn)}/** 69 * @license 70 * Copyright (c) 2017 Aras Abbasi 71 * 72 * Licensed under the MIT License. 73 * http://opensource.org/licenses/mit-license 74 */function se(tn,ti){if(this.pos=0,this.buffer=tn,this.datav=new DataView(tn.buffer),this.is_with_alpha=!!ti,this.bottom_up=!0,this.flag=String.fromCharCode(this.buffer[0])+String.fromCharCode(this.buffer[1]),this.pos+=2,-1===["BM","BA","CI","CP","IC","PT"].indexOf(this.flag))throw Error("Invalid BMP File");this.parseHeader(),this.parseBGR()}function ue(tn){function e(tn){if(!tn)throw Error("assert :P")}function r(tn,ti,ta){for(var to=0;4>to;to++)if(tn[ti+to]!=ta.charCodeAt(to))return!0;return!1}function n(tn,ti,ta,to,ts){for(var tu=0;tu<ts;tu++)tn[ti+tu]=ta[to+tu]}function i(tn,ti,ta,to){for(var ts=0;ts<to;ts++)tn[ti+ts]=ta}function a(tn){return new Int32Array(tn)}function o(tn,ti){for(var ta=[],to=0;to<tn;to++)ta.push(new ti);return ta}function s(tn,ti){var ta=[];return function t(tn,ta,to){for(var ts=to[ta],tu=0;tu<ts&&(tn.push(to.length>ta+1?[]:new ti),!(to.length<ta+1));tu++)t(tn[tu],ta+1,to)}(ta,0,tn),ta}var u=function(){var tn=this;function u(tn,ti){for(var ta=1<<ti-1>>>0;tn&ta;)ta>>>=1;return ta?(tn&ta-1)+ta:tn}function c(tn,ti,ta,to,ts){e(!(to%ta));do tn[ti+(to-=ta)]=ts;while(0<to)}function l(tn,ti,ta,to,ts){if(e(2328>=ts),512>=ts)var tu=a(512);else if(null==(tu=a(ts)))return 0;return function(tn,ti,ta,to,ts,tu){var tc,tl,th=ti,tf=1<<ta,td=a(16),tp=a(16);for(e(0!=ts),e(null!=to),e(null!=tn),e(0<ta),tl=0;tl<ts;++tl){if(15<to[tl])return 0;++td[to[tl]]}if(td[0]==ts)return 0;for(tp[1]=0,tc=1;15>tc;++tc){if(td[tc]>1<<tc)return 0;tp[tc+1]=tp[tc]+td[tc]}for(tl=0;tl<ts;++tl)tc=to[tl],0<to[tl]&&(tu[tp[tc]++]=tl);if(1==tp[15])return(to=new h).g=0,to.value=tu[0],c(tn,th,1,tf,to),tf;var tg,tm=-1,tv=tf-1,tb=0,ty=1,tw=1,tN=1<<ta;for(tl=0,tc=1,ts=2;tc<=ta;++tc,ts<<=1){if(ty+=tw<<=1,0>(tw-=td[tc]))return 0;for(;0<td[tc];--td[tc])(to=new h).g=tc,to.value=tu[tl++],c(tn,th+tb,ts,tN,to),tb=u(tb,tc)}for(tc=ta+1,ts=2;15>=tc;++tc,ts<<=1){if(ty+=tw<<=1,0>(tw-=td[tc]))return 0;for(;0<td[tc];--td[tc]){if(to=new h,(tb&tv)!=tm){for(th+=tN,tg=1<<(tm=tc)-ta;15>tm&&!(0>=(tg-=td[tm]));)++tm,tg<<=1;tf+=tN=1<<(tg=tm-ta),tn[ti+(tm=tb&tv)].g=tg+ta,tn[ti+tm].value=th-ti-tm}to.g=tc-ta,to.value=tu[tl++],c(tn,th+(tb>>ta),ts,tN,to),tb=u(tb,tc)}}return ty!=2*tp[15]-1?0:tf}(tn,ti,ta,to,ts,tu)}function h(){this.value=this.g=0}function f(){this.value=this.g=0}function d(){this.G=o(5,h),this.H=a(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=o(ti,f)}function p(tn,ti,ta,to){e(null!=tn),e(null!=ti),e(2147483648>to),tn.Ca=254,tn.I=0,tn.b=-8,tn.Ka=0,tn.oa=ti,tn.pa=ta,tn.Jd=ti,tn.Yc=ta+to,tn.Zc=4<=to?ta+to-4+1:ta,_(tn)}function g(tn,ti){for(var ta=0;0<ti--;)ta|=k(tn,128)<<ti;return ta}function m(tn,ti){var ta=g(tn,ti);return P(tn)?-ta:ta}function v(tn,ti,ta,to){var ts,tu=0;for(e(null!=tn),e(null!=ti),e(4294967288>to),tn.Sb=to,tn.Ra=0,tn.u=0,tn.h=0,4<to&&(to=4),ts=0;ts<to;++ts)tu+=ti[ta+ts]<<8*ts;tn.Ra=tu,tn.bb=to,tn.oa=ti,tn.pa=ta}function b(tn){for(;8<=tn.u&&tn.bb<tn.Sb;)tn.Ra>>>=8,tn.Ra+=tn.oa[tn.pa+tn.bb]<<ts-8>>>0,++tn.bb,tn.u-=8;x(tn)&&(tn.h=1,tn.u=0)}function y(tn,ti){if(e(0<=ti),!tn.h&&ti<=to){var ts=L(tn)&ta[ti];return tn.u+=ti,b(tn),ts}return tn.h=1,tn.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 N(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function L(tn){return tn.Ra>>>(tn.u&ts-1)>>>0}function x(tn){return e(tn.bb<=tn.Sb),tn.h||tn.bb==tn.Sb&&tn.u>ts}function A(tn,ti){tn.u=ti,tn.h=x(tn)}function S(tn){tn.u>=tu&&(e(tn.u>=tu),b(tn))}function _(tn){e(null!=tn&&null!=tn.oa),tn.pa<tn.Zc?(tn.I=(tn.oa[tn.pa++]|tn.I<<8)>>>0,tn.b+=8):(e(null!=tn&&null!=tn.oa),tn.pa<tn.Yc?(tn.b+=8,tn.I=tn.oa[tn.pa++]|tn.I<<8):tn.Ka?tn.b=0:(tn.I<<=8,tn.b+=8,tn.Ka=1))}function P(tn){return g(tn,1)}function k(tn,ti){var ta=tn.Ca;0>tn.b&&_(tn);var to=tn.b,ts=ta*ti>>>8,tu=(tn.I>>>to>ts)+0;for(tu?(ta-=ts,tn.I-=ts+1<<to>>>0):ta=ts+1,to=ta,ts=0;256<=to;)ts+=8,to>>=8;return to=7^ts+tc[to],tn.b-=to,tn.Ca=(ta<<to)-1,tu}function F(tn,ti,ta){tn[ti+0]=ta>>24&255,tn[ti+1]=ta>>16&255,tn[ti+2]=ta>>8&255,tn[ti+3]=255&ta}function I(tn,ti){return tn[ti+0]|tn[ti+1]<<8}function C(tn,ti){return I(tn,ti)|tn[ti+2]<<16}function j(tn,ti){return I(tn,ti)|I(tn,ti+2)<<16}function O(tn,ti){var ta=1<<ti;return e(null!=tn),e(0<ti),tn.X=a(ta),null==tn.X?0:(tn.Mb=32-ti,tn.Xa=ti,1)}function B(tn,ti){e(null!=tn),e(null!=ti),e(tn.Xa==ti.Xa),n(ti.X,0,tn.X,0,1<<ti.Xa)}function M(){this.X=[],this.Xa=this.Mb=0}function q(tn,ti,ta,to){e(null!=ta),e(null!=to);var ts=ta[0],tu=to[0];return 0==ts&&(ts=(tn*tu+ti/2)/ti),0==tu&&(tu=(ti*ts+tn/2)/tn),0>=ts||0>=tu?0:(ta[0]=ts,to[0]=tu,1)}function E(tn,ti){return tn+(1<<ti)-1>>>ti}function R(tn,ti){return((4278255360&tn)+(4278255360&ti)>>>0&4278255360)+((16711935&tn)+(16711935&ti)>>>0&16711935)>>>0}function D(ti,ta){tn[ta]=function(ta,to,ts,tu,tc,tl,th){var tf;for(tf=0;tf<tc;++tf){var td=tn[ti](tl[th+tf-1],ts,tu+tf);tl[th+tf]=R(ta[to+tf],td)}}}function T(){this.ud=this.hd=this.jd=0}function z(tn,ti){return((4278124286&(tn^ti))>>>1)+(tn&ti)>>>0}function U(tn){return 0<=tn&&256>tn?tn:0>tn?0:255<tn?255:void 0}function H(tn,ti){return U(tn+(tn-ti+.5>>1))}function W(tn,ti,ta){return Math.abs(ti-ta)-Math.abs(tn-ta)}function V(tn,ti,ta,to,ts,tu,tc){for(to=tu[tc-1],ta=0;ta<ts;++ta)tu[tc+ta]=to=R(tn[ti+ta],to)}function G(tn,ti,ta,to,ts){var tu;for(tu=0;tu<ta;++tu){var tc=tn[ti+tu],tl=tc>>8&255,th=16711935&(th=(th=16711935&tc)+((tl<<16)+tl));to[ts+tu]=(4278255360&tc)+th>>>0}}function Y(tn,ti){ti.jd=255&tn,ti.hd=tn>>8&255,ti.ud=tn>>16&255}function J(tn,ti,ta,to,ts,tu){var tc;for(tc=0;tc<to;++tc){var tl=ti[ta+tc],th=tl>>>8,tf=tl,td=255&(td=(td=tl>>>16)+((tn.jd<<24>>24)*(th<<24>>24)>>>5));tf=255&(tf=(tf+=(tn.hd<<24>>24)*(th<<24>>24)>>>5)+((tn.ud<<24>>24)*(td<<24>>24)>>>5)),ts[tu+tc]=(4278255360&tl)+(td<<16)+tf}}function X(ti,ta,to,ts,tu){tn[ta]=function(tn,ti,ta,to,tc,tl,th,tf,td){for(to=th;to<tf;++to)for(th=0;th<td;++th)tc[tl++]=tu(ta[ts(tn[ti++])])},tn[ti]=function(ti,ta,tc,tl,th,tf,td){var tp=8>>ti.b,tg=ti.Ea,tm=ti.K[0],tv=ti.w;if(8>tp)for(ti=(1<<ti.b)-1,tv=(1<<tp)-1;ta<tc;++ta){var tb,ty=0;for(tb=0;tb<tg;++tb)tb&ti||(ty=ts(tl[th++])),tf[td++]=tu(tm[ty&tv]),ty>>=tp}else tn["VP8LMapColor"+to](tl,th,tm,tv,tf,td,ta,tc,tg)}}function K(tn,ti,ta,to,ts){for(ta=ti+ta;ti<ta;){var tu=tn[ti++];to[ts++]=tu>>16&255,to[ts++]=tu>>8&255,to[ts++]=255&tu}}function Z(tn,ti,ta,to,ts){for(ta=ti+ta;ti<ta;){var tu=tn[ti++];to[ts++]=tu>>16&255,to[ts++]=tu>>8&255,to[ts++]=255&tu,to[ts++]=tu>>24&255}}function $(tn,ti,ta,to,ts){for(ta=ti+ta;ti<ta;){var tu=(tc=tn[ti++])>>16&240|tc>>12&15,tc=240&tc|tc>>28&15;to[ts++]=tu,to[ts++]=tc}}function Q(tn,ti,ta,to,ts){for(ta=ti+ta;ti<ta;){var tu=(tc=tn[ti++])>>16&248|tc>>13&7,tc=tc>>5&224|tc>>3&31;to[ts++]=tu,to[ts++]=tc}}function tt(tn,ti,ta,to,ts){for(ta=ti+ta;ti<ta;){var tu=tn[ti++];to[ts++]=255&tu,to[ts++]=tu>>8&255,to[ts++]=tu>>16&255}}function et(tn,ti,ta,to,ts,tu){if(0==tu)for(ta=ti+ta;ti<ta;)F(to,((tu=tn[ti++])[0]>>24|tu[1]>>8&65280|tu[2]<<8&16711680|tu[3]<<24)>>>0),ts+=32;else n(to,ts,tn,ti,ta)}function rt(ti,ta){tn[ta][0]=tn[ti+"0"],tn[ta][1]=tn[ti+"1"],tn[ta][2]=tn[ti+"2"],tn[ta][3]=tn[ti+"3"],tn[ta][4]=tn[ti+"4"],tn[ta][5]=tn[ti+"5"],tn[ta][6]=tn[ti+"6"],tn[ta][7]=tn[ti+"7"],tn[ta][8]=tn[ti+"8"],tn[ta][9]=tn[ti+"9"],tn[ta][10]=tn[ti+"10"],tn[ta][11]=tn[ti+"11"],tn[ta][12]=tn[ti+"12"],tn[ta][13]=tn[ti+"13"],tn[ta][14]=tn[ti+"0"],tn[ta][15]=tn[ti+"0"]}function nt(tn){return tn==t7||tn==t9||tn==en||tn==ei}function it(){this.eb=[],this.size=this.A=this.fb=0}function at(){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 ot(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new it,this.f.kb=new at,this.sd=null}function st(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function ut(){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 ct(tn){return alert("todo:WebPSamplerProcessPlane"),tn.T}function lt(tn,ti){var ta=tn.T,to=ti.ba.f.RGBA,ts=to.eb,tu=to.fb+tn.ka*to.A,tc=eF[ti.ba.S],tl=tn.y,th=tn.O,tf=tn.f,td=tn.N,tp=tn.ea,tg=tn.W,tm=ti.cc,tv=ti.dc,tb=ti.Mc,ty=ti.Nc,tw=tn.ka,tN=tn.ka+tn.T,tL=tn.U,tx=tL+1>>1;for(0==tw?tc(tl,th,null,null,tf,td,tp,tg,tf,td,tp,tg,ts,tu,null,null,tL):(tc(ti.ec,ti.fc,tl,th,tm,tv,tb,ty,tf,td,tp,tg,ts,tu-to.A,ts,tu,tL),++ta);tw+2<tN;tw+=2)tm=tf,tv=td,tb=tp,ty=tg,td+=tn.Rc,tg+=tn.Rc,tu+=2*to.A,tc(tl,(th+=2*tn.fa)-tn.fa,tl,th,tm,tv,tb,ty,tf,td,tp,tg,ts,tu-to.A,ts,tu,tL);return th+=tn.fa,tn.j+tN<tn.o?(n(ti.ec,ti.fc,tl,th,tL),n(ti.cc,ti.dc,tf,td,tx),n(ti.Mc,ti.Nc,tp,tg,tx),ta--):1&tN||tc(tl,th,null,null,tf,td,tp,tg,tf,td,tp,tg,ts,tu+to.A,null,null,tL),ta}function ht(tn,ti,ta){var to=tn.F,ts=[tn.J];if(null!=to){var tu=tn.U,tc=ti.ba.S,tl=tc==t4||tc==en;ti=ti.ba.f.RGBA;var th=[0],tf=tn.ka;th[0]=tn.T,tn.Kb&&(0==tf?--th[0]:(--tf,ts[0]-=tn.width),tn.j+tn.ka+tn.T==tn.o&&(th[0]=tn.o-tn.j-tf));var td=ti.eb;tf=ti.fb+tf*ti.A,tn=tW(to,ts[0],tn.width,tu,th,td,tf+(tl?0:3),ti.A),e(ta==th),tn&&nt(tc)&&tU(td,tf,tl,tu,th,ti.A)}return 0}function ft(tn){var ti=tn.ma,ta=ti.ba.S,to=11>ta,ts=ta==t5||ta==t3||ta==t4||ta==t6||12==ta||nt(ta);if(ti.memory=null,ti.Ib=null,ti.Jb=null,ti.Nd=null,!Br(ti.Oa,tn,ts?11:12))return 0;if(ts&&nt(ta)&&vr(),tn.da)alert("todo:use_scaling");else{if(to){if(ti.Ib=ct,tn.Kb){if(ta=tn.U+1>>1,ti.memory=a(tn.U+2*ta),null==ti.memory)return 0;ti.ec=ti.memory,ti.fc=0,ti.cc=ti.ec,ti.dc=ti.fc+tn.U,ti.Mc=ti.cc,ti.Nc=ti.dc+ta,ti.Ib=lt,vr()}}else alert("todo:EmitYUV");ts&&(ti.Jb=ht,to&&gr())}if(to&&!eH){for(tn=0;256>tn;++tn)eW[tn]=89858*(tn-128)+eR>>eq,eJ[tn]=-22014*(tn-128)+eR,eG[tn]=-45773*(tn-128),eV[tn]=113618*(tn-128)+eR>>eq;for(tn=eD;tn<eT;++tn)ti=76283*(tn-16)+eR>>eq,eY[tn-eD]=Vt(ti,255),eX[tn-eD]=Vt(ti+8>>4,15);eH=1}return 1}function dt(tn){var ti=tn.ma,ta=tn.U,to=tn.T;return e(!(1&tn.ka)),0>=ta||0>=to?0:(ta=ti.Ib(tn,ti),null!=ti.Jb&&ti.Jb(tn,ti,ta),ti.Dc+=ta,1)}function pt(tn){tn.ma.memory=null}function gt(tn,ti,ta,to){return 47!=y(tn,8)?0:(ti[0]=y(tn,14)+1,ta[0]=y(tn,14)+1,to[0]=y(tn,1),0!=y(tn,3)?0:!tn.h)}function mt(tn,ti){if(4>tn)return tn+1;var ta=tn-2>>1;return(2+(1&tn)<<ta)+y(ti,ta)+1}function vt(tn,ti){var ta;return 120<ti?ti-120:1<=(ta=((ta=el[ti-1])>>4)*tn+(8-(15&ta)))?ta:1}function bt(tn,ti,ta){var to=L(ta),ts=tn[ti+=255&to].g-8;return 0<ts&&(A(ta,ta.u+8),to=L(ta),ti+=tn[ti].value,ti+=to&(1<<ts)-1),A(ta,ta.u+tn[ti].g),tn[ti].value}function yt(tn,ti,ta){return ta.g+=tn.g,ta.value+=tn.value<<ti>>>0,e(8>=ta.g),tn.g}function wt(tn,ti,ta){var to=tn.xc;return e((ti=0==to?0:tn.vc[tn.md*(ta>>to)+(ti>>to)])<tn.Wb),tn.Ya[ti]}function Nt(tn,ti,ta,to){var ts=tn.ab,tu=tn.c*ti,tc=tn.C;ti=tc+ti;var tp=ta,tg=to;for(to=tn.Ta,ta=tn.Ua;0<ts--;){var tm=tn.gc[ts],ty=tc,tw=ti,tN=tp,tL=tg,tx=(tg=to,tp=ta,tm.Ea);switch(e(ty<tw),e(tw<=tm.nc),tm.hc){case 2:tf(tN,tL,(tw-ty)*tx,tg,tp);break;case 0:var tA=ty,tS=tw,t_=tg,tP=tp,tk=(tE=tm).Ea;0==tA&&(tl(tN,tL,null,null,1,t_,tP),V(tN,tL+1,0,0,tk-1,t_,tP+1),tL+=tk,tP+=tk,++tA);for(var tF=1<<tE.b,tI=tF-1,tj=E(tk,tE.b),tC=tE.K,tE=tE.w+(tA>>tE.b)*tj;tA<tS;){var tO=tC,tB=tE,tM=1;for(th(tN,tL,t_,tP-tk,1,t_,tP);tM<tk;){var tq=(tM&~tI)+tF;tq>tk&&(tq=tk),(0,tv[tO[tB++]>>8&15])(tN,tL+ +tM,t_,tP+tM-tk,tq-tM,t_,tP+tM),tM=tq}tL+=tk,tP+=tk,++tA&tI||(tE+=tj)}tw!=tm.nc&&n(tg,tp-tx,tg,tp+(tw-ty-1)*tx,tx);break;case 1:for(tx=tN,tS=tL,tk=(tN=tm.Ea)-(tP=tN&~(t_=(tL=1<<tm.b)-1)),tA=E(tN,tm.b),tF=tm.K,tm=tm.w+(ty>>tm.b)*tA;ty<tw;){for(tI=tF,tj=tm,tC=new T,tE=tS+tP,tO=tS+tN;tS<tE;)Y(tI[tj++],tC),tb(tC,tx,tS,tL,tg,tp),tS+=tL,tp+=tL;tS<tO&&(Y(tI[tj++],tC),tb(tC,tx,tS,tk,tg,tp),tS+=tk,tp+=tk),++ty&t_||(tm+=tA)}break;case 3:if(tN==tg&&tL==tp&&0<tm.b){for(tS=tg,tN=tx=tp+(tw-ty)*tx-(tP=(tw-ty)*E(tm.Ea,tm.b)),tL=tg,t_=tp,tA=[],tP=(tk=tP)-1;0<=tP;--tP)tA[tP]=tL[t_+tP];for(tP=tk-1;0<=tP;--tP)tS[tN+tP]=tA[tP];td(tm,ty,tw,tg,tx,tg,tp)}else td(tm,ty,tw,tN,tL,tg,tp)}tp=to,tg=ta}tg!=ta&&n(to,ta,tp,tg,tu)}function Lt(tn,ti){var ta=tn.V,to=tn.Ba+tn.c*tn.C,ts=ti-tn.C;if(e(ti<=tn.l.o),e(16>=ts),0<ts){var tu=tn.l,tc=tn.Ta,tl=tn.Ua,th=tu.width;if(Nt(tn,ts,ta,to),ts=tl=[tl],e((ta=tn.C)<(to=ti)),e(tu.v<tu.va),to>tu.o&&(to=tu.o),ta<tu.j){var tf=tu.j-ta;ta=tu.j,ts[0]+=tf*th}if(ta>=to?ta=0:(ts[0]+=4*tu.v,tu.ka=ta-tu.j,tu.U=tu.va-tu.v,tu.T=to-ta,ta=1),ta){if(tl=tl[0],11>(ta=tn.ca).S){var td=ta.f.RGBA,tp=(to=ta.S,ts=tu.U,tu=tu.T,tf=td.eb,td.A),tg=tu;for(td=td.fb+tn.Ma*td.A;0<tg--;){var tm=tl,tv=ts,tb=tf,tA=td;switch(to){case t2:ty(tc,tm,tv,tb,tA);break;case t5:tw(tc,tm,tv,tb,tA);break;case t7:tw(tc,tm,tv,tb,tA),tU(tb,tA,0,tv,1,0);break;case t0:tx(tc,tm,tv,tb,tA);break;case t3:et(tc,tm,tv,tb,tA,1);break;case t9:et(tc,tm,tv,tb,tA,1),tU(tb,tA,0,tv,1,0);break;case t4:et(tc,tm,tv,tb,tA,0);break;case en:et(tc,tm,tv,tb,tA,0),tU(tb,tA,1,tv,1,0);break;case t6:tN(tc,tm,tv,tb,tA);break;case ei:tN(tc,tm,tv,tb,tA),tH(tb,tA,tv,1,0);break;case t8:tL(tc,tm,tv,tb,tA);break;default:e(0)}tl+=th,td+=tp}tn.Ma+=tu}else alert("todo:EmitRescaledRowsYUVA");e(tn.Ma<=ta.height)}}tn.C=ti,e(tn.C<=tn.i)}function xt(tn){var ti;if(0<tn.ua)return 0;for(ti=0;ti<tn.Wb;++ti){var ta=tn.Ya[ti].G,to=tn.Ya[ti].H;if(0<ta[1][to[1]+0].g||0<ta[2][to[2]+0].g||0<ta[3][to[3]+0].g)return 0}return 1}function At(tn,ti,ta,to,ts,tu){if(0!=tn.Z){var tc=tn.qd,tl=tn.rd;for(e(null!=ek[tn.Z]);ti<ta;++ti)ek[tn.Z](tc,tl,to,ts,to,ts,tu),tc=to,tl=ts,ts+=tu;tn.qd=tc,tn.rd=tl}}function St(tn,ti){var ta=tn.l.ma,to=0==ta.Z||1==ta.Z?tn.l.j:tn.C;if(to=tn.C<to?to:tn.C,e(ti<=tn.l.o),ti>to){var ts=tn.l.width,tu=ta.ca,tc=ta.tb+ts*to,tl=tn.V,th=tn.Ba+tn.c*to,tf=tn.gc;e(1==tn.ab),e(3==tf[0].hc),tg(tf[0],to,ti,tl,th,tu,tc),At(ta,to,ti,tu,tc,ts)}tn.C=tn.Ma=ti}function _t(tn,ta,to,ts,tu,tc,tl){var th=tn.$/ts,tf=tn.$%ts,td=tn.m,tp=tn.s,tg=to+tn.$,tm=tg;tu=to+ts*tu;var tv=to+ts*tc,tb=280+tp.ua,ty=tn.Pb?th:16777216,tw=0<tp.ua?tp.Wa:null,tN=tp.wc,tL=tg<tv?wt(tp,tf,th):null;e(tn.C<tc),e(tv<=tu);var tx=!1;t:for(;;){for(;tx||tg<tv;){var tA=0;if(th>=ty){var tS=tg-to;e((ty=tn).Pb),ty.wd=ty.m,ty.xd=tS,0<ty.s.ua&&B(ty.s.Wa,ty.s.vb),ty=th+ef}if(tf&tN||(tL=wt(tp,tf,th)),e(null!=tL),tL.Qb&&(ta[tg]=tL.qb,tx=!0),!tx){if(S(td),tL.jc){tA=td,tS=ta;var t_=tg,tP=tL.pd[L(tA)&ti-1];e(tL.jc),256>tP.g?(A(tA,tA.u+tP.g),tS[t_]=tP.value,tA=0):(A(tA,tA.u+tP.g-256),e(256<=tP.value),tA=tP.value),0==tA&&(tx=!0)}else tA=bt(tL.G[0],tL.H[0],td)}if(td.h)break;if(tx||256>tA){if(!tx){if(tL.nd)ta[tg]=(tL.qb|tA<<8)>>>0;else{if(S(td),tx=bt(tL.G[1],tL.H[1],td),S(td),tS=bt(tL.G[2],tL.H[2],td),t_=bt(tL.G[3],tL.H[3],td),td.h)break;ta[tg]=(t_<<24|tx<<16|tA<<8|tS)>>>0}}if(tx=!1,++tg,++tf>=ts&&(tf=0,++th,null!=tl&&th<=tc&&!(th%16)&&tl(tn,th),null!=tw))for(;tm<tg;)tA=ta[tm++],tw.X[(506832829*tA&4294967295)>>>tw.Mb]=tA}else if(280>tA){if(tA=mt(tA-256,td),tS=bt(tL.G[4],tL.H[4],td),S(td),tS=vt(ts,tS=mt(tS,td)),td.h)break;if(tg-to<tS||tu-tg<tA)break t;for(t_=0;t_<tA;++t_)ta[tg+t_]=ta[tg+t_-tS];for(tg+=tA,tf+=tA;tf>=ts;)tf-=ts,++th,null!=tl&&th<=tc&&!(th%16)&&tl(tn,th);if(e(tg<=tu),tf&tN&&(tL=wt(tp,tf,th)),null!=tw)for(;tm<tg;)tA=ta[tm++],tw.X[(506832829*tA&4294967295)>>>tw.Mb]=tA}else{if(!(tA<tb))break t;for(tx=tA-280,e(null!=tw);tm<tg;)tA=ta[tm++],tw.X[(506832829*tA&4294967295)>>>tw.Mb]=tA;tA=tg,e(!(tx>>>
vendor: 7,098 bytes, line 74
74(tS=tw).Xa)),ta[tA]=tS.X[tx],tx=!0}tx||e(td.h==x(td))}if(tn.Pb&&td.h&&tg<tu)e(tn.m.h),tn.a=5,tn.m=tn.wd,tn.$=tn.xd,0<tn.s.ua&&B(tn.s.vb,tn.s.Wa);else{if(td.h)break;null!=tl&&tl(tn,th>tc?tc:th),tn.a=0,tn.$=tg-to}return 1}return tn.a=3,0}function Pt(tn){e(null!=tn),tn.vc=null,tn.yc=null,tn.Ya=null;var ti=tn.Wa;null!=ti&&(ti.X=null),tn.vb=null,e(null!=tn)}function kt(){var ti=new ar;return null==ti?null:(ti.a=0,ti.xb=eP,rt("Predictor","VP8LPredictors"),rt("Predictor","VP8LPredictors_C"),rt("PredictorAdd","VP8LPredictorsAdd"),rt("PredictorAdd","VP8LPredictorsAdd_C"),tf=G,tb=J,ty=K,tw=Z,tN=$,tL=Q,tx=tt,tn.VP8LMapColor32b=tp,tn.VP8LMapColor8b=tm,ti)}function Ft(tn,ta,to,ts,tu){for(var tc=1,tl=[tn],th=[ta],tf=ts.m,td=ts.s,tp=null,tg=0;;){if(to)for(;tc&&y(tf,1);){var tm=tl,tv=th,tb=1,ty=ts.m,tw=ts.gc[ts.ab],tN=y(ty,2);if(ts.Oc&1<<tN)tc=0;else{switch(ts.Oc|=1<<tN,tw.hc=tN,tw.Ea=tm[0],tw.nc=tv[0],tw.K=[null],++ts.ab,e(4>=ts.ab),tN){case 0:case 1:tw.b=y(ty,3)+2,tb=Ft(E(tw.Ea,tw.b),E(tw.nc,tw.b),0,ts,tw.K),tw.K=tw.K[0];break;case 3:var tL,tx=y(ty,8)+1,tA=16<tx?0:4<tx?1:2<tx?2:3;if(tm[0]=E(tw.Ea,tA),tw.b=tA,tL=tb=Ft(tx,1,0,ts,tw.K)){var tS,t_=1<<(8>>tw.b),tP=a(t_);if(null==tP)tL=0;else{var tk=tw.K[0],tF=tw.w;for(tP[0]=tw.K[0][0],tS=1;tS<1*tx;++tS)tP[tS]=R(tk[tF+tS],tP[tS-1]);for(;tS<4*t_;++tS)tP[tS]=0;tw.K[0]=null,tw.K[0]=tP,tL=1}}tb=tL;break;case 2:break;default:e(0)}tc=tb}}if(tl=tl[0],th=th[0],tc&&y(tf,1)&&!(tc=1<=(tg=y(tf,4))&&11>=tg)){ts.a=3;break}if(tI=tc)e:{var tI,tj,tC,tE,tO=tl,tB=th,tM=tg,tq=ts.m,tR=ts.s,tD=[null],tT=1,tz=0,tU=eh[tM];r:for(;;){if(to&&y(tq,1)){var tH=y(tq,3)+2,tW=E(tO,tH),tV=E(tB,tH),tG=tW*tV;if(!Ft(tW,tV,0,ts,tD))break;for(tD=tD[0],tR.xc=tH,tj=0;tj<tG;++tj){var tJ=tD[tj]>>8&65535;tD[tj]=tJ,tJ>=tT&&(tT=tJ+1)}}if(tq.h)break;for(tC=0;5>tC;++tC){var tY=es[tC];!tC&&0<tM&&(tY+=1<<tM),tz<tY&&(tz=tY)}var tX=o(tT*tU,h),tZ=tT,tK=o(tZ,d);if(null==tK)var t$=null;else e(65536>=tZ),t$=tK;var tQ=a(tz);if(null==t$||null==tQ||null==tX){ts.a=1;break}for(tj=tE=0;tj<tT;++tj){var t1,t2=t$[tj],t5=t2.G,t0=t2.H,t3=0,t4=1,t6=0;for(tC=0;5>tC;++tC){tY=es[tC],t5[tC]=tX,t0[tC]=tE,!tC&&0<tM&&(tY+=1<<tM);n:{var t8,t7=tY,t9=tE,en=0,ei=ts.m,el=y(ei,1);if(i(tQ,0,0,t7),el){var ef=y(ei,1)+1,ed=y(ei,1),ep=y(ei,0==ed?1:8);tQ[ep]=1,2==ef&&(tQ[ep=y(ei,8)]=1);var eg=1}else{var em=a(19),ev=y(ei,4)+4;if(19<ev){ts.a=3;var eb=0;break n}for(t8=0;t8<ev;++t8)em[ec[t8]]=y(ei,3);var ey=void 0,ew=void 0,eN=0,eL=ts.m,ex=8,eA=o(128,h);i:for(;l(eA,0,7,em,19);){if(y(eL,1)){var eS=2+2*y(eL,3);if((ey=2+y(eL,eS))>t7)break}else ey=t7;for(ew=0;ew<t7&&ey--;){S(eL);var eP=eA[0+(127&L(eL))];A(eL,eL.u+eP.g);var ek=eP.value;if(16>ek)tQ[ew++]=ek,0!=ek&&(ex=ek);else{var eF=16==ek,eI=ek-16,ej=eo[eI],eC=y(eL,ea[eI])+ej;if(ew+eC>t7)break i;for(var eE=eF?ex:0;0<eC--;)tQ[ew++]=eE}}eN=1;break}eN||(ts.a=3),eg=eN}(eg=eg&&!ei.h)&&(en=l(tX,t9,8,tQ,t7)),eg&&0!=en?eb=en:(ts.a=3,eb=0)}if(0==eb)break r;if(t4&&1==eu[tC]&&(t4=0==tX[tE].g),t3+=tX[tE].g,tE+=eb,3>=tC){var eO,eB=tQ[0];for(eO=1;eO<tY;++eO)tQ[eO]>eB&&(eB=tQ[eO]);t6+=eB}}if(t2.nd=t4,t2.Qb=0,t4&&(t2.qb=(t5[3][t0[3]+0].value<<24|t5[1][t0[1]+0].value<<16|t5[2][t0[2]+0].value)>>>0,0==t3&&256>t5[0][t0[0]+0].value&&(t2.Qb=1,t2.qb+=t5[0][t0[0]+0].value<<8)),t2.jc=!t2.Qb&&6>t6,t2.jc)for(t1=0;t1<ti;++t1){var eM=t1,eq=t2.pd[eM],eR=t2.G[0][t2.H[0]+eM];256<=eR.value?(eq.g=eR.g+256,eq.value=eR.value):(eq.g=0,eq.value=0,eM>>=yt(eR,8,eq),eM>>=yt(t2.G[1][t2.H[1]+eM],16,eq),eM>>=yt(t2.G[2][t2.H[2]+eM],0,eq),yt(t2.G[3][t2.H[3]+eM],24,eq))}}tR.vc=tD,tR.Wb=tT,tR.Ya=t$,tR.yc=tX,tI=1;break e}tI=0}if(!(tc=tI)){ts.a=3;break}if(0<tg){if(td.ua=1<<tg,!O(td.Wa,tg)){ts.a=1,tc=0;break}}else td.ua=0;var eD=tl,eT=th,ez=ts.s,eU=ez.xc;if(ts.c=eD,ts.i=eT,ez.md=E(eD,eU),ez.wc=0==eU?-1:(1<<eU)-1,to){ts.xb=e_;break}if(null==(tp=a(tl*th))){ts.a=1,tc=0;break}tc=(tc=_t(ts,tp,0,tl,th,th,null))&&!tf.h;break}return tc?(null!=tu?tu[0]=tp:(e(null==tp),e(to)),ts.$=0,to||Pt(td)):Pt(td),tc}function It(tn,ti){var ta=tn.c*tn.i,to=ta+ti+16*ti;return e(tn.c<=ti),tn.V=a(to),null==tn.V?(tn.Ta=null,tn.Ua=0,tn.a=1,0):(tn.Ta=tn.V,tn.Ua=tn.Ba+ta+ti,1)}function Ct(tn,ti){var ta=tn.C,to=ti-ta,ts=tn.V,tu=tn.Ba+tn.c*ta;for(e(ti<=tn.l.o);0<to;){var tc=16<to?16:to,tl=tn.l.ma,th=tn.l.width,tf=th*tc,td=tl.ca,tp=tl.tb+th*ta,tg=tn.Ta,tm=tn.Ua;Nt(tn,tc,ts,tu),tV(tg,tm,td,tp,tf),At(tl,ta,ta+tc,td,tp,th),to-=tc,ts+=tc*tn.c,ta+=tc}e(ta==ti),tn.C=tn.Ma=ti}function jt(){this.ub=this.yd=this.td=this.Rb=0}function Ot(){this.Kd=this.Ld=this.Ud=this.Td=this.i=this.c=0}function Bt(){this.Fb=this.Bb=this.Cb=0,this.Zb=a(4),this.Lb=a(4)}function Mt(){var tn;this.Yb=(function t(tn,ti,ta){for(var to=ta[ti],ts=0;ts<to&&(tn.push(ta.length>ti+1?[]:0),!(ta.length<ti+1));ts++)t(tn[ts],ti+1,ta)}(tn=[],0,[3,11]),tn)}function qt(){this.jb=a(3),this.Wc=s([4,8],Mt),this.Xc=s([4,17],Mt)}function Et(){this.Pc=this.wb=this.Tb=this.zd=0,this.vd=new a(4),this.od=new a(4)}function Rt(){this.ld=this.La=this.dd=this.tc=0}function Dt(){this.Na=this.la=0}function Tt(){this.Sc=[0,0],this.Eb=[0,0],this.Qc=[0,0],this.ia=this.lc=0}function zt(){this.ad=a(384),this.Za=0,this.Ob=a(16),this.$b=this.Ad=this.ia=this.Gc=this.Hc=this.Dd=0}function Ut(){this.uc=this.M=this.Nb=0,this.wa=Array(new Rt),this.Y=0,this.ya=Array(new zt),this.aa=0,this.l=new Gt}function Ht(){this.y=a(16),this.f=a(8),this.ea=a(8)}function Wt(){this.cb=this.a=0,this.sc="",this.m=new w,this.Od=new jt,this.Kc=new Ot,this.ed=new Et,this.Qa=new Bt,this.Ic=this.$c=this.Aa=0,this.D=new Ut,this.Xb=this.Va=this.Hb=this.zb=this.yb=this.Ub=this.za=0,this.Jc=o(8,w),this.ia=0,this.pb=o(4,Tt),this.Pa=new qt,this.Bd=this.kc=0,this.Ac=[],this.Bc=0,this.zc=[0,0,0,0],this.Gd=Array(new Ht),this.Hd=0,this.rb=Array(new Dt),this.sb=0,this.wa=Array(new Rt),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 zt),this.L=this.aa=0,this.gd=s([4,2],Rt),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 Vt(tn,ti){return 0>tn?0:tn>ti?ti:tn}function Gt(){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 Yt(){var tn=new Wt;return null!=tn&&(tn.a=0,tn.sc="OK",tn.cb=0,tn.Xb=0,eg||(eg=Zt)),tn}function Jt(tn,ti,ta){return 0==tn.a&&(tn.a=ti,tn.sc=ta,tn.cb=0),0}function Xt(tn,ti,ta){return 3<=ta&&157==tn[ti+0]&&1==tn[ti+1]&&42==tn[ti+2]}function Kt(tn,ti){if(null==tn)return 0;if(tn.a=0,tn.sc="OK",null==ti)return Jt(tn,2,"null VP8Io passed to VP8GetHeaders()");var ta=ti.data,to=ti.w,ts=ti.ha;if(4>ts)return Jt(tn,7,"Truncated header.");var tu=ta[to+0]|ta[to+1]<<8|ta[to+2]<<16,tc=tn.Od;if(tc.Rb=!(1&tu),tc.td=tu>>1&7,tc.yd=tu>>4&1,tc.ub=tu>>5,3<tc.td)return Jt(tn,3,"Incorrect keyframe parameters.");if(!tc.yd)return Jt(tn,4,"Frame not displayable.");to+=3,ts-=3;var tl=tn.Kc;
vendor: 11,311 bytes, line 74
74if(tc.Rb){if(7>ts)return Jt(tn,7,"cannot parse picture header");if(!Xt(ta,to,ts))return Jt(tn,3,"Bad code word");tl.c=16383&(ta[to+4]<<8|ta[to+3]),tl.Td=ta[to+4]>>6,tl.i=16383&(ta[to+6]<<8|ta[to+5]),tl.Ud=ta[to+6]>>6,to+=7,ts-=7,tn.za=tl.c+15>>4,tn.Ub=tl.i+15>>4,ti.width=tl.c,ti.height=tl.i,ti.Da=0,ti.j=0,ti.v=0,ti.va=ti.width,ti.o=ti.height,ti.da=0,ti.ib=ti.width,ti.hb=ti.height,ti.U=ti.width,ti.T=ti.height,i((tu=tn.Pa).jb,0,255,tu.jb.length),e(null!=(tu=tn.Qa)),tu.Cb=0,tu.Bb=0,tu.Fb=1,i(tu.Zb,0,0,tu.Zb.length),i(tu.Lb,0,0,tu.Lb)}if(tc.ub>ts)return Jt(tn,7,"bad partition length");p(tu=tn.m,ta,to,tc.ub),to+=tc.ub,ts-=tc.ub,tc.Rb&&(tl.Ld=P(tu),tl.Kd=P(tu)),tl=tn.Qa;var th,tf=tn.Pa;if(e(null!=tu),e(null!=tl),tl.Cb=P(tu),tl.Cb){if(tl.Bb=P(tu),P(tu)){for(tl.Fb=P(tu),th=0;4>th;++th)tl.Zb[th]=P(tu)?m(tu,7):0;for(th=0;4>th;++th)tl.Lb[th]=P(tu)?m(tu,6):0}if(tl.Bb)for(th=0;3>th;++th)tf.jb[th]=P(tu)?g(tu,8):255}else tl.Bb=0;if(tu.Ka)return Jt(tn,3,"cannot parse segment header");if((tl=tn.ed).zd=P(tu),tl.Tb=g(tu,6),tl.wb=g(tu,3),tl.Pc=P(tu),tl.Pc&&P(tu)){for(tf=0;4>tf;++tf)P(tu)&&(tl.vd[tf]=m(tu,6));for(tf=0;4>tf;++tf)P(tu)&&(tl.od[tf]=m(tu,6))}if(tn.L=0==tl.Tb?0:tl.zd?1:2,tu.Ka)return Jt(tn,3,"cannot parse filter header");var td=ts;if(ts=th=to,to=th+td,tl=td,tn.Xb=(1<<g(tn.m,2))-1,td<3*(tf=tn.Xb))ta=7;else{for(th+=3*tf,tl-=3*tf,td=0;td<tf;++td){var tp=ta[ts+0]|ta[ts+1]<<8|ta[ts+2]<<16;tp>tl&&(tp=tl),p(tn.Jc[+td],ta,th,tp),th+=tp,tl-=tp,ts+=3}p(tn.Jc[+tf],ta,th,tl),ta=th<to?0:5}if(0!=ta)return Jt(tn,ta,"cannot parse partitions");for(ta=g(th=tn.m,7),ts=P(th)?m(th,4):0,to=P(th)?m(th,4):0,tl=P(th)?m(th,4):0,tf=P(th)?m(th,4):0,th=P(th)?m(th,4):0,td=tn.Qa,tp=0;4>tp;++tp){if(td.Cb){var tg=td.Zb[tp];td.Fb||(tg+=ta)}else{if(0<tp){tn.pb[tp]=tn.pb[0];continue}tg=ta}var tm=tn.pb[tp];tm.Sc[0]=ed[Vt(tg+ts,127)],tm.Sc[1]=ep[Vt(tg+0,127)],tm.Eb[0]=2*ed[Vt(tg+to,127)],tm.Eb[1]=101581*ep[Vt(tg+tl,127)]>>16,8>tm.Eb[1]&&(tm.Eb[1]=8),tm.Qc[0]=ed[Vt(tg+tf,117)],tm.Qc[1]=ep[Vt(tg+th,127)],tm.lc=tg+th}if(!tc.Rb)return Jt(tn,4,"Not a key frame.");for(P(tu),tc=tn.Pa,ta=0;4>ta;++ta){for(ts=0;8>ts;++ts)for(to=0;3>to;++to)for(tl=0;11>tl;++tl)tf=k(tu,eN[ta][ts][to][tl])?g(tu,8):ey[ta][ts][to][tl],tc.Wc[ta][ts].Yb[to][tl]=tf;for(ts=0;17>ts;++ts)tc.Xc[ta][ts]=tc.Wc[ta][eL[ts]]}return tn.kc=P(tu),tn.kc&&(tn.Bd=g(tu,8)),tn.cb=1}function Zt(tn,ti,ta,to,ts,tu,tc){var tl=ti[ts].Yb[ta];for(ta=0;16>ts;++ts){if(!k(tn,tl[ta+0]))return ts;for(;!k(tn,tl[ta+1]);)if(tl=ti[++ts].Yb[0],ta=0,16==ts)return 16;var th=ti[ts+1].Yb;if(k(tn,tl[ta+2])){var tf=tn,td=0;if(k(tf,(tg=tl)[(tp=ta)+3])){if(k(tf,tg[tp+6])){for(tl=0,tp=2*(td=k(tf,tg[tp+8]))+(tg=k(tf,tg[tp+9+td])),td=0,tg=em[tp];tg[tl];++tl)td+=td+k(tf,tg[tl]);td+=3+(8<<tp)}else td=k(tf,tg[tp+7])?7+2*k(tf,165)+k(tf,145):5+k(tf,159)}else td=k(tf,tg[tp+4])?3+k(tf,tg[tp+5]):2;tl=th[2]}else td=1,tl=th[1];th=tc+ev[ts],0>(tf=tn).b&&_(tf);var tp,tg=tf.b,tm=(tp=tf.Ca>>1)-(tf.I>>tg)>>31;--tf.b,tf.Ca+=tm,tf.Ca|=1,tf.I-=(tp+1&tm)<<tg,tu[th]=((td^tm)-tm)*to[(0<ts)+0]}return 16}function $t(tn){var ti=tn.rb[tn.sb-1];ti.la=0,ti.Na=0,i(tn.zc,0,0,tn.zc.length),tn.ja=0}function Qt(tn,ti,ta,to,ts){ts=tn[ti+ta+32*to]+(ts>>3),tn[ti+ta+32*to]=-256&ts?0>ts?0:255:ts}function te(tn,ti,ta,to,ts,tu){Qt(tn,ti,0,ta,to+ts),Qt(tn,ti,1,ta,to+tu),Qt(tn,ti,2,ta,to-tu),Qt(tn,ti,3,ta,to-ts)}function ee(tn){return(20091*tn>>16)+tn}function re(tn,ti,ta,to){var ts,tu=0,tc=a(16);for(ts=0;4>ts;++ts){var tl=tn[ti+0]+tn[ti+8],th=tn[ti+0]-tn[ti+8],tf=(35468*tn[ti+4]>>16)-ee(tn[ti+12]),td=ee(tn[ti+4])+(35468*tn[ti+12]>>16);tc[tu+0]=tl+td,tc[tu+1]=th+tf,tc[tu+2]=th-tf,tc[tu+3]=tl-td,tu+=4,ti++}for(ts=tu=0;4>ts;++ts)tl=(tn=tc[tu+0]+4)+tc[tu+8],th=tn-tc[tu+8],tf=(35468*tc[tu+4]>>16)-ee(tc[tu+12]),Qt(ta,to,0,0,tl+(td=ee(tc[tu+4])+(35468*tc[tu+12]>>16))),Qt(ta,to,1,0,th+tf),Qt(ta,to,2,0,th-tf),Qt(ta,to,3,0,tl-td),tu++,to+=32}function ne(tn,ti,ta,to){var ts=tn[ti+0]+4,tu=35468*tn[ti+4]>>16,tc=ee(tn[ti+4]),tl=35468*tn[ti+1]>>16;te(ta,to,0,ts+tc,tn=ee(tn[ti+1]),tl),te(ta,to,1,ts+tu,tn,tl),te(ta,to,2,ts-tu,tn,tl),te(ta,to,3,ts-tc,tn,tl)}function ie(tn,ti,ta,to,ts){re(tn,ti,ta,to),ts&&re(tn,ti+16,ta,to+4)}function ae(tn,ti,ta,to){tS(tn,ti+0,ta,to,1),tS(tn,ti+32,ta,to+128,1)}function oe(tn,ti,ta,to){var ts;for(tn=tn[ti+0]+4,ts=0;4>ts;++ts)for(ti=0;4>ti;++ti)Qt(ta,to,ti,ts,tn)}function se(tn,ti,ta,to){tn[ti+0]&&tk(tn,ti+0,ta,to),tn[ti+16]&&tk(tn,ti+16,ta,to+4),tn[ti+32]&&tk(tn,ti+32,ta,to+128),tn[ti+48]&&tk(tn,ti+48,ta,to+128+4)}function ue(tn,ti,ta,to){var ts,tu=a(16);for(ts=0;4>ts;++ts){var tc=tn[ti+0+ts]+tn[ti+12+ts],tl=tn[ti+4+ts]+tn[ti+8+ts],th=tn[ti+4+ts]-tn[ti+8+ts],tf=tn[ti+0+ts]-tn[ti+12+ts];tu[0+ts]=tc+tl,tu[8+ts]=tc-tl,tu[4+ts]=tf+th,tu[12+ts]=tf-th}for(ts=0;4>ts;++ts)tc=(tn=tu[0+4*ts]+3)+tu[3+4*ts],tl=tu[1+4*ts]+tu[2+4*ts],th=tu[1+4*ts]-tu[2+4*ts],tf=tn-tu[3+4*ts],ta[to+0]=tc+tl>>3,ta[to+16]=tf+th>>3,ta[to+32]=tc-tl>>3,ta[to+48]=tf-th>>3,to+=64}function ce(tn,ti,ta){var to,ts=ti-32,tu=255-tn[ts-1];for(to=0;to<ta;++to){var tc,tl=tu+tn[ti-1];for(tc=0;tc<ta;++tc)tn[ti+tc]=tQ[tl+tn[ts+tc]];ti+=32}}function le(tn,ti){ce(tn,ti,4)}function he(tn,ti){ce(tn,ti,8)}function fe(tn,ti){ce(tn,ti,16)}function de(tn,ti){var ta;for(ta=0;16>ta;++ta)n(tn,ti+32*ta,tn,ti-32,16)}function pe(tn,ti){var ta;for(ta=16;0<ta;--ta)i(tn,ti,tn[ti-1],16),ti+=32}function ge(tn,ti,ta){var to;for(to=0;16>to;++to)i(ti,ta+32*to,tn,16)}function me(tn,ti){var ta,to=16;for(ta=0;16>ta;++ta)to+=tn[ti-1+32*ta]+tn[ti+ta-32];ge(to>>5,tn,ti)}function ve(tn,ti){var ta,to=8;for(ta=0;16>ta;++ta)to+=tn[ti-1+32*ta];ge(to>>4,tn,ti)}function be(tn,ti){var ta,to=8;for(ta=0;16>ta;++ta)to+=tn[ti+ta-32];ge(to>>4,tn,ti)}function ye(tn,ti){ge(128,tn,ti)}function we(tn,ti,ta){return tn+2*ti+ta+2>>2}function Ne(tn,ti){var ta,to=ti-32;for(to=new Uint8Array([we(tn[to-1],tn[to+0],tn[to+1]),we(tn[to+0],tn[to+1],tn[to+2]),we(tn[to+1],tn[to+2],tn[to+3]),we(tn[to+2],tn[to+3],tn[to+4])]),ta=0;4>ta;++ta)n(tn,ti+32*ta,to,0,to.length)}function Le(tn,ti){var ta=tn[ti-1],to=tn[ti-1+32],ts=tn[ti-1+64],tu=tn[ti-1+96];F(tn,ti+0,16843009*we(tn[ti-1-32],ta,to)),F(tn,ti+32,16843009*we(ta,to,ts)),F(tn,ti+64,16843009*we(to,ts,tu)),F(tn,ti+96,16843009*we(ts,tu,tu))}function xe(tn,ti){var ta,to=4;for(ta=0;4>ta;++ta)to+=tn[ti+ta-32]+tn[ti-1+32*ta];for(to>>=3,ta=0;4>ta;++ta)i(tn,ti+32*ta,to,4)}function Ae(tn,ti){var ta=tn[ti-1+0],to=tn[ti-1+32],ts=tn[ti-1+64],tu=tn[ti-1-32],tc=tn[ti+0-32],tl=tn[ti+1-32],th=tn[ti+2-32],tf=tn[ti+3-32];tn[ti+0+96]=we(to,ts,tn[ti-1+96]),tn[ti+1+96]=tn[ti+0+64]=we(ta,to,ts),tn[ti+2+96]=tn[ti+1+64]=tn[ti+0+32]=we(tu,ta,to),tn[ti+3+96]=tn[ti+2+64]=tn[ti+1+32]=tn[ti+0+0]=we(tc,tu,ta),tn[ti+3+64]=tn[ti+2+32]=tn[ti+1+0]=we(tl,tc,tu),tn[ti+3+32]=tn[ti+2+0]=we(th,tl,tc),tn[ti+3+0]=we(tf,th,tl)}function Se(tn,ti){var ta=tn[ti+1-32],to=tn[ti+2-32],ts=tn[ti+3-32],tu=tn[ti+4-32],tc=tn[ti+5-32],tl=tn[ti+6-32],th=tn[ti+7-32];tn[ti+0+0]=we(tn[ti+0-32],ta,to),tn[ti+1+0]=tn[ti+0+32]=we(ta,to,ts),tn[ti+2+0]=tn[ti+1+32]=tn[ti+0+64]=we(to,ts,tu),tn[ti+3+0]=tn[ti+2+32]=tn[ti+1+64]=tn[ti+0+96]=we(ts,tu,tc),tn[ti+3+32]=tn[ti+2+64]=tn[ti+1+96]=we(tu,tc,tl),tn[ti+3+64]=tn[ti+2+96]=we(tc,tl,th),tn[ti+3+96]=we(tl,th,th)}function _e(tn,ti){var ta=tn[ti-1+0],to=tn[ti-1+32],ts=tn[ti-1+64],tu=tn[ti-1-32],tc=tn[ti+0-32],tl=tn[ti+1-32],th=tn[ti+2-32],tf=tn[ti+3-32];tn[ti+0+0]=tn[ti+1+64]=tu+tc+1>>1,tn[ti+1+0]=tn[ti+2+64]=tc+tl+1>>1,tn[ti+2+0]=tn[ti+3+64]=tl+th+1>>1,tn[ti+3+0]=th+tf+1>>1,tn[ti+0+96]=we(ts,to,ta),tn[ti+0+64]=we(to,ta,tu),tn[ti+0+32]=tn[ti+1+96]=we(ta,tu,tc),tn[ti+1+32]=tn[ti+2+96]=we(tu,tc,tl),tn[ti+2+32]=tn[ti+3+96]=we(tc,tl,th),tn[ti+3+32]=we(tl,th,tf)}function Pe(tn,ti){var ta=tn[ti+0-32],to=tn[ti+1-32],ts=tn[ti+2-32],tu=tn[ti+3-32],tc=tn[ti+4-32],tl=tn[ti+5-32],th=tn[ti+6-32],tf=tn[ti+7-32];tn[ti+0+0]=ta+to+1>>1,tn[ti+1+0]=tn[ti+0+64]=to+ts+1>>1,tn[ti+2+0]=tn[ti+1+64]=ts+tu+1>>1,tn[ti+3+0]=tn[ti+2+64]=tu+tc+1>>1,tn[ti+0+32]=we(ta,to,ts),tn[ti+1+32]=tn[ti+0+96]=we(to,ts,tu),tn[ti+2+32]=tn[ti+1+96]=we(ts,tu,tc),tn[ti+3+32]=tn[ti+2+96]=we(tu,tc,tl),tn[ti+3+64]=we(tc,tl,th),tn[ti+3+96]=we(tl,th,tf)}function ke(tn,ti){var ta=tn[ti-1+0],to=tn[ti-1+32],ts=tn[ti-1+64],tu=tn[ti-1+96];tn[ti+0+0]=ta+to+1>>1,tn[ti+2+0]=tn[ti+0+32]=to+ts+1>>1,tn[ti+2+32]=tn[ti+0+64]=ts+tu+1>>1,tn[ti+1+0]=we(ta,to,ts),tn[ti+3+0]=tn[ti+1+32]=we(to,ts,tu),tn[ti+3+32]=tn[ti+1+64]=we(ts,tu,tu),tn[ti+3+64]=tn[ti+2+64]=tn[ti+0+96]=tn[ti+1+96]=tn[ti+2+96]=tn[ti+3+96]=tu}function Fe(tn,ti){var ta=tn[ti-1+0],to=tn[ti-1+32],ts=tn[ti-1+64],tu=tn[ti-1+96],tc=tn[ti-1-32],tl=tn[ti+0-32],th=tn[ti+1-32],tf=tn[ti+2-32];tn[ti+0+0]=tn[ti+2+32]=ta+tc+1>>1,tn[ti+0+32]=tn[ti+2+64]=to+ta+1>>1,tn[ti+0+64]=tn[ti+2+96]=ts+to+1>>1,tn[ti+0+96]=tu+ts+1>>1,tn[ti+3+0]=we(tl,th,tf),tn[ti+2+0]=we(tc,tl,th),tn[ti+1+0]=tn[ti+3+32]=we(ta,tc,tl),tn[ti+1+32]=tn[ti+3+64]=we(to,ta,tc),tn[ti+1+64]=tn[ti+3+96]=we(ts,to,ta),tn[ti+1+96]=we(tu,ts,to)}function Ie(tn,ti){var ta;for(ta=0;8>ta;++ta)n(tn,ti+32*ta,tn,ti-32,8)}function Ce(tn,ti){var ta;for(ta=0;8>ta;++ta)i(tn,ti,tn[ti-1],8),ti+=32}function je(tn,ti,ta){var to;for(to=0;8>to;++to)i(ti,ta+32*to,tn,8)}function Oe(tn,ti){var ta,to=8;for(ta=0;8>ta;++ta)to+=tn[ti+ta-32]+tn[ti-1+32*ta];je(to>>4,tn,ti)}function Be(tn,ti){var ta,to=4;for(ta=0;8>ta;++ta)to+=tn[ti+ta-32];je(to>>3,tn,ti)}function Me(tn,ti){var ta,to=4;for(ta=0;8>ta;++ta)to+=tn[ti-1+32*ta];je(to>>3,tn,ti)}function qe(tn,ti){je(128,tn,ti)}function Ee(tn,ti,ta){var to=tn[ti-ta],ts=tn[ti+0],tu=3*(ts-to)+tK[1020+tn[ti-2*ta]-tn[ti+ta]],tc=t$[112+(tu+4>>3)];tn[ti-ta]=tQ[255+to+t$[112+(tu+3>>3)]],tn[ti+0]=tQ[255+ts-tc]}function Re(tn,ti,ta,to){var ts=tn[ti+0],tu=tn[ti+ta];return t1[255+tn[ti-2*ta]-tn[ti-ta]]>to||t1[255+tu-ts]>to}function De(tn,ti,ta,to){return 4*t1[255+tn[ti-ta]-tn[ti+0]]+t1[255+tn[ti-2*ta]-tn[ti+ta]]<=to}function Te(tn,ti,ta,to,ts){var tu=tn[ti-3*ta],tc=tn[ti-2*ta],tl=tn[ti-ta],th=tn[ti+0],tf=tn[ti+ta],td=tn[ti+2*ta],tp=tn[ti+3*ta];return 4*t1[255+tl-th]+t1[255+tc-tf]>to?0:t1[255+tn[ti-4*ta]-tu]<=ts&&t1[255+tu-tc]<=ts&&t1[255+tc-tl]<=ts&&t1[255+tp-td]<=ts&&t1[255+td-tf]<=ts&&t1[255+tf-th]<=ts}function ze(tn,ti,ta,to){var ts=2*to+1;for(to=0;16>to;++to)De(tn,ti+to,ta,ts)&&Ee(tn,ti+to,ta)}function Ue(tn,ti,ta,to){var ts=2*to+1;for(to=0;16>to;++to)De(tn,ti+to*ta,1,ts)&&Ee(tn,ti+to*ta,1)}function He(tn,ti,ta,to){var ts;for(ts=3;0<ts;--ts)ze(tn,ti+=4*ta,ta,to)}function We(tn,ti,ta,to){var ts;for(ts=3;0<ts;--ts)Ue(tn,ti+=4,ta,to)}function Ve(tn,ti,ta,to,ts,tu,tc,tl){for(tu=2*tu+1;0<ts--;){if(Te(tn,ti,ta,tu,tc)){if(Re(tn,ti,ta,tl))Ee(tn,ti,ta);else{var th=ti,tf=tn[th-2*ta],td=tn[th-ta],tp=tn[th+0],tg=tn[th+ta],tm=tn[th+2*ta],tv=27*(ty=tK[1020+3*(tp-td)+tK[1020+tf-tg]])+63>>7,tb=18*ty+63>>7,ty=9*ty+63>>7;tn[th-3*ta]=tQ[255+tn[th-3*ta]+ty],tn[th-2*ta]=tQ[255+tf+tb],tn[th-ta]=tQ[255+td+tv],tn[th+0]=tQ[255+tp-tv],tn[th+ta]=tQ[255+tg-tb],tn[th+2*ta]=tQ[255+tm-ty]}}ti+=to}}function Ge(tn,ti,ta,to,ts,tu,tc,tl){for(tu=2*tu+1;0<ts--;){if(Te(tn,ti,ta,tu,tc)){if(Re(tn,ti,ta,tl))Ee(tn,ti,ta);else{var th=ti,tf=tn[th-ta],td=tn[th+0],tp=tn[th+ta],tg=t$[112+(4+(tm=3*(td-tf))>>3)],tm=t$[112+(tm+3>>3)],tv=tg+1>>1;tn[th-2*ta]=tQ[255+tn[th-2*ta]+tv],tn[th-ta]=tQ[255+tf+tm],tn[th+0]=tQ[255+td-tg],tn[th+ta]=tQ[255+tp-tv]}}ti+=to}}function Ye(tn,ti,ta,to,ts,tu){Ve(tn,ti,ta,1,16,to,ts,tu)}function Je(tn,ti,ta,to,ts,tu){Ve(tn,ti,1,ta,16,to,ts,tu)}function Xe(tn,ti,ta,to,ts,tu){var tc;for(tc=3;0<tc;
vendor: 4,311 bytes, line 74
74--tc)Ge(tn,ti+=4*ta,ta,1,16,to,ts,tu)}function Ke(tn,ti,ta,to,ts,tu){var tc;for(tc=3;0<tc;--tc)Ge(tn,ti+=4,1,ta,16,to,ts,tu)}function Ze(tn,ti,ta,to,ts,tu,tc,tl){Ve(tn,ti,ts,1,8,tu,tc,tl),Ve(ta,to,ts,1,8,tu,tc,tl)}function $e(tn,ti,ta,to,ts,tu,tc,tl){Ve(tn,ti,1,ts,8,tu,tc,tl),Ve(ta,to,1,ts,8,tu,tc,tl)}function Qe(tn,ti,ta,to,ts,tu,tc,tl){Ge(tn,ti+4*ts,ts,1,8,tu,tc,tl),Ge(ta,to+4*ts,ts,1,8,tu,tc,tl)}function tr(tn,ti,ta,to,ts,tu,tc,tl){Ge(tn,ti+4,1,ts,8,tu,tc,tl),Ge(ta,to+4,1,ts,8,tu,tc,tl)}function er(){this.ba=new ot,this.ec=[],this.cc=[],this.Mc=[],this.Dc=this.Nc=this.dc=this.fc=0,this.Oa=new ut,this.memory=0,this.Ib="OutputFunc",this.Jb="OutputAlphaFunc",this.Nd="OutputRowFunc"}function rr(){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 nr(){this.nc=this.Ea=this.b=this.hc=0,this.K=[],this.w=0}function ir(){this.ua=0,this.Wa=new M,this.vb=new M,this.md=this.xc=this.wc=0,this.vc=[],this.Wb=0,this.Ya=new d,this.yc=new h}function ar(){this.xb=this.a=0,this.l=new Gt,this.ca=new ot,this.V=[],this.Ba=0,this.Ta=[],this.Ua=0,this.m=new N,this.Pb=0,this.wd=new N,this.Ma=this.$=this.C=this.i=this.c=this.xd=0,this.s=new ir,this.ab=0,this.gc=o(4,nr),this.Oc=0}function or(){this.Lc=this.Z=this.$a=this.i=this.c=0,this.l=new Gt,this.ic=0,this.ca=[],this.tb=0,this.qd=null,this.rd=0}function sr(tn,ti,ta,to,ts,tu,tc){for(tn=null==tn?0:tn[ti+0],ti=0;ti<tc;++ti)ts[tu+ti]=tn+ta[to+ti]&255,tn=ts[tu+ti]}function ur(tn,ti,ta,to,ts,tu,tc){var tl;if(null==tn)sr(null,null,ta,to,ts,tu,tc);else for(tl=0;tl<tc;++tl)ts[tu+tl]=tn[ti+tl]+ta[to+tl]&255}function cr(tn,ti,ta,to,ts,tu,tc){if(null==tn)sr(null,null,ta,to,ts,tu,tc);else{var tl,th=tn[ti+0],tf=th,td=th;for(tl=0;tl<tc;++tl)tf=td+(th=tn[ti+tl])-tf,td=ta[to+tl]+(-256&tf?0>tf?0:255:tf)&255,tf=th,ts[tu+tl]=td}}function hr(tn,ti,ta,to,ts,tu){for(;0<ts--;){var tc,tl=ti+(ta?1:0),th=ti+(ta?0:3);for(tc=0;tc<to;++tc){var tf=tn[th+4*tc];255!=tf&&(tf*=32897,tn[tl+4*tc+0]=tn[tl+4*tc+0]*tf>>23,tn[tl+4*tc+1]=tn[tl+4*tc+1]*tf>>23,tn[tl+4*tc+2]=tn[tl+4*tc+2]*tf>>23)}ti+=tu}}function fr(tn,ti,ta,to,ts){for(;0<to--;){var tu;for(tu=0;tu<ta;++tu){var tc=tn[ti+2*tu+0],tl=15&(tf=tn[ti+2*tu+1]),th=4369*tl,tf=(240&tf|tf>>4)*th>>16;tn[ti+2*tu+0]=(240&tc|tc>>4)*th>>16&240|(15&tc|tc<<4)*th>>16>>4&15,tn[ti+2*tu+1]=240&tf|tl}ti+=ts}}function dr(tn,ti,ta,to,ts,tu,tc,tl){var th,tf,td=255;for(tf=0;tf<ts;++tf){for(th=0;th<to;++th){var tp=tn[ti+th];tu[tc+4*th]=tp,td&=tp}ti+=ta,tc+=tl}return 255!=td}function pr(tn,ti,ta,to,ts){var tu;for(tu=0;tu<ts;++tu)ta[to+tu]=tn[ti+tu]>>8}function gr(){tU=hr,tH=fr,tW=dr,tV=pr}function mr(ti,ta,to){tn[ti]=function(tn,ti,ts,tu,tc,tl,th,tf,td,tp,tg,tm,tv,tb,ty,tw,tN){var tL,tx=tN-1>>1,tA=tc[tl+0]|th[tf+0]<<16,tS=td[tp+0]|tg[tm+0]<<16;e(null!=tn);var t_=3*tA+tS+131074>>2;for(ta(tn[ti+0],255&t_,t_>>16,tv,tb),null!=ts&&(t_=3*tS+tA+131074>>2,ta(ts[tu+0],255&t_,t_>>16,ty,tw)),tL=1;tL<=tx;++tL){var tP=tc[tl+tL]|th[tf+tL]<<16,tk=td[tp+tL]|tg[tm+tL]<<16,tF=tA+tP+tS+tk+524296,tI=tF+2*(tP+tS)>>3;t_=tI+tA>>1,tA=(tF=tF+2*(tA+tk)>>3)+tP>>1,ta(tn[ti+2*tL-1],255&t_,t_>>16,tv,tb+(2*tL-1)*to),ta(tn[ti+2*tL-0],255&tA,tA>>16,tv,tb+(2*tL-0)*to),null!=ts&&(t_=tF+tS>>1,tA=tI+tk>>1,ta(ts[tu+2*tL-1],255&t_,t_>>16,ty,tw+(2*tL-1)*to),ta(ts[tu+2*tL+0],255&tA,tA>>16,ty,tw+(2*tL+0)*to)),tA=tP,tS=tk}1&tN||(t_=3*tA+tS+131074>>2,ta(tn[ti+tN-1],255&t_,t_>>16,tv,tb+(tN-1)*to),null!=ts&&(t_=3*tS+tA+131074>>2,ta(ts[tu+tN-1],255&t_,t_>>16,ty,tw+(tN-1)*to)))}}function vr(){eF[t2]=eI,eF[t5]=eC,eF[t0]=ej,eF[t3]=eE,eF[t4]=eO,eF[t6]=eB,eF[t8]=eM,eF[t7]=eC,eF[t9]=eE,eF[en]=eO,eF[ei]=eB}function br(tn){return tn&~eU?0>tn?0:255:tn>>ez}function yr(tn,ti){return br((19077*tn>>8)+(26149*ti>>8)-14234)}function wr(tn,ti,ta){return br((19077*tn>>8)-(6419*ti>>8)-(13320*ta>>8)+8708)}function Nr(tn,ti){return br((19077*tn>>8)+(33050*ti>>8)-17685)}function Lr(tn,ti,ta,to,ts){to[ts+0]=yr(tn,ta),to[ts+1]=wr(tn,ti,ta),to[ts+2]=Nr(tn,ti)}function xr(tn,ti,ta,to,ts){to[ts+0]=Nr(tn,ti),to[ts+1]=wr(tn,ti,ta),to[ts+2]=yr(tn,ta)}function Ar(tn,ti,ta,to,ts){var tu=wr(tn,ti,ta);ti=tu<<3&224|Nr(tn,ti)>>3,to[ts+0]=248&yr(tn,ta)|tu>>5,to[ts+1]=ti}function Sr(tn,ti,ta,to,ts){var tu=240&Nr(tn,ti)|15;to[ts+0]=240&yr(tn,ta)|wr(tn,ti,ta)>>4,to[ts+1]=tu}function _r(tn,ti,ta,to,ts){to[ts+0]=255,Lr(tn,ti,ta,to,ts+1)}
vendor: 5,094 bytes, line 74
74function Pr(tn,ti,ta,to,ts){xr(tn,ti,ta,to,ts),to[ts+3]=255}function kr(tn,ti,ta,to,ts){Lr(tn,ti,ta,to,ts),to[ts+3]=255}function Fr(ti,ta,to){tn[ti]=function(tn,ti,ts,tu,tc,tl,th,tf,td){for(var tp=tf+(-2&td)*to;tf!=tp;)ta(tn[ti+0],ts[tu+0],tc[tl+0],th,tf),ta(tn[ti+1],ts[tu+0],tc[tl+0],th,tf+to),ti+=2,++tu,++tl,tf+=2*to;1&td&&ta(tn[ti+0],ts[tu+0],tc[tl+0],th,tf)}}function Ir(tn,ti,ta){return 0==ta?0==tn?0==ti?6:5:0==ti?4:0:ta}function Cr(tn,ti,ta,to,ts){switch(tn>>>30){case 3:tS(ti,ta,to,ts,0);break;case 2:t_(ti,ta,to,ts);break;case 1:tk(ti,ta,to,ts)}}function jr(tn,ti){var ta,to,ts=ti.M,tu=ti.Nb,tc=tn.oc,tl=tn.pc+40,th=tn.oc,tf=tn.pc+584,td=tn.oc,tp=tn.pc+600;for(ta=0;16>ta;++ta)tc[tl+32*ta-1]=129;for(ta=0;8>ta;++ta)th[tf+32*ta-1]=129,td[tp+32*ta-1]=129;for(0<ts?tc[tl-1-32]=th[tf-1-32]=td[tp-1-32]=129:(i(tc,tl-32-1,127,21),i(th,tf-32-1,127,9),i(td,tp-32-1,127,9)),to=0;to<tn.za;++to){var tg=ti.ya[ti.aa+to];if(0<to){for(ta=-1;16>ta;++ta)n(tc,tl+32*ta-4,tc,tl+32*ta+12,4);for(ta=-1;8>ta;++ta)n(th,tf+32*ta-4,th,tf+32*ta+4,4),n(td,tp+32*ta-4,td,tp+32*ta+4,4)}var tm=tn.Gd,tv=tn.Hd+to,tb=tg.ad,ty=tg.Hc;if(0<ts&&(n(tc,tl-32,tm[tv].y,0,16),n(th,tf-32,tm[tv].f,0,8),n(td,tp-32,tm[tv].ea,0,8)),tg.Za){var tw=tc,tN=tl-32+16;for(0<ts&&(to>=tn.za-1?i(tw,tN,tm[tv].y[15],4):n(tw,tN,tm[tv+1].y,0,4)),ta=0;4>ta;ta++)tw[tN+128+ta]=tw[tN+256+ta]=tw[tN+384+ta]=tw[tN+0+ta];for(ta=0;16>ta;++ta,ty<<=2)tw=tc,tN=tl+eZ[ta],eA[tg.Ob[ta]](tw,tN),Cr(ty,tb,16*+ta,tw,tN)}else if(ex[tw=Ir(to,ts,tg.Ob[0])](tc,tl),0!=ty)for(ta=0;16>ta;++ta,ty<<=2)Cr(ty,tb,16*+ta,tc,tl+eZ[ta]);for(ta=tg.Gc,eS[tw=Ir(to,ts,tg.Dd)](th,tf),eS[tw](td,tp),ty=tb,tw=th,tN=tf,255&(tg=0|ta)&&(170&tg?tP(ty,256,tw,tN):tF(ty,256,tw,tN)),tg=td,ty=tp,255&(ta>>=8)&&(170&ta?tP(tb,320,tg,ty):tF(tb,320,tg,ty)),ts<tn.Ub-1&&(n(tm[tv].y,0,tc,tl+480,16),n(tm[tv].f,0,th,tf+224,8),n(tm[tv].ea,0,td,tp+224,8)),ta=8*tu*tn.B,tm=tn.sa,tv=tn.ta+16*to+16*tu*tn.R,tb=tn.qa,tg=tn.ra+8*to+ta,ty=tn.Ha,tw=tn.Ia+8*to+ta,ta=0;16>ta;++ta)n(tm,tv+ta*tn.R,tc,tl+32*ta,16);for(ta=0;8>ta;++ta)n(tb,tg+ta*tn.B,th,tf+32*ta,8),n(ty,tw+ta*tn.B,td,tp+32*ta,8)}}function Or(tn,ti,ta,to,ts,tu,tc,tl,th){var tf=[0],td=[0],tp=0,tg=null!=th?th.kd:0,tm=null!=th?th:new rr;if(null==tn||12>ta)return 7;tm.data=tn,tm.w=ti,tm.ha=ta,ti=[ti],ta=[ta],tm.gb=[tm.gb];t:{var tv=ti,tb=ta,ty=tm.gb;if(e(null!=tn),e(null!=tb),e(null!=ty),ty[0]=0,12<=tb[0]&&!r(tn,tv[0],"RIFF")){if(r(tn,tv[0]+8,"WEBP")){ty=3;break t}var tw=j(tn,tv[0]+4);if(12>tw||4294967286<tw){ty=3;break t}if(tg&&tw>tb[0]-8){ty=7;break t}ty[0]=tw,tv[0]+=12,tb[0]-=12}ty=0}if(0!=ty)return ty;for(tw=0<tm.gb[0],ta=ta[0];;){t:{var tN=tn;tb=ti,ty=ta;var tL=tf,tx=td,tA=tv=[0];if((tP=tp=[tp])[0]=0,8>ty[0])ty=7;else{if(!r(tN,tb[0],"VP8X")){if(10!=j(tN,tb[0]+4)){ty=3;break t}if(18>ty[0]){ty=7;break t}var tS=j(tN,tb[0]+8),t_=1+C(tN,tb[0]+12);if(2147483648<=t_*(tN=1+C(tN,tb[0]+15))){ty=3;break t}null!=tA&&(tA[0]=tS),null!=tL&&(tL[0]=t_),null!=tx&&(tx[0]=tN),tb[0]+=18,ty[0]-=18,tP[0]=1}ty=0}}if(tp=tp[0],tv=tv[0],0!=ty)return ty;if(tb=!!(2&tv),!tw&&tp)return 3;if(null!=tu&&(tu[0]=!!(16&tv)),null!=tc&&(tc[0]=tb),null!=tl&&(tl[0]=0),tc=0,tv=td[0],tp&&tb&&null==th){ty=0;break}if(4>ta){ty=7;break}if(tw&&tp||!tw&&!tp&&!r(tn,ti[0],"ALPH")){ta=[ta],tm.na=[tm.na],tm.P=[tm.P],tm.Sa=[tm.Sa];t:{tS=tn,ty=ti,tw=ta;var tP=tm.gb;tL=tm.na,tx=tm.P,tA=tm.Sa,t_=22,e(null!=tS),e(null!=tw),tN=ty[0];var tk=tw[0];for(e(null!=tL),e(null!=tA),tL[0]=null,tx[0]=null,tA[0]=0;;){if(ty[0]=tN,tw[0]=tk,8>tk){ty=7;break t}var tF=j(tS,tN+4);if(4294967286<tF){ty=3;break t}var tI=8+tF+1&-2;if(t_+=tI,0<tP&&t_>tP){ty=3;break t}if(!r(tS,tN,"VP8 ")||!r(tS,tN,"VP8L")){ty=0;break t}if(tk[0]<tI){ty=7;break t}r(tS,tN,"ALPH")||(tL[0]=tS,tx[0]=tN+8,tA[0]=tF),tN+=tI,tk-=tI}}if(ta=ta[0],tm.na=tm.na[0],tm.P=tm.P[0],tm.Sa=tm.Sa[0],0!=ty)break}ta=[ta],tm.Ja=[tm.Ja],tm.xa=[tm.xa];t:if(tP=tn,ty=ti,tw=ta,tL=tm.gb[0],tx=tm.Ja,tA=tm.xa,tN=!r(tP,tS=ty[0],"VP8 "),t_=!r(tP,tS,"VP8L"),e(null!=tP),e(null!=tw),e(null!=tx),e(null!=tA),8>tw[0])ty=7;else{if(tN||t_){if(tP=j(tP,tS+4),12<=tL&&tP>tL-12){ty=3;break t}if(tg&&tP>tw[0]-8){ty=7;break t}tx[0]=tP,ty[0]+=8,tw[0]-=8,tA[0]=t_}else tA[0]=5<=tw[0]&&47==tP[tS+0]&&!(tP[tS+4]>>5),tx[0]=tw[0];ty=0}if(ta=ta[0],tm.Ja=tm.Ja[0],tm.xa=tm.xa[0],ti=ti[0],0!=ty)break;if(4294967286<tm.Ja)return 3;if(null==tl||tb||(tl[0]=tm.xa?2:1),tc=[tc],tv=[tv],tm.xa){if(5>ta){ty=7;break}tl=tc,tg=tv,tb=tu,null==tn||5>ta?tn=0:5<=ta&&47==tn[ti+0]&&!(tn[ti+4]>>5)?(tw=[0],tP=[0],tL=[0],v(tx=new N,tn,ti,ta),gt(tx,tw,tP,tL)?(null!=tl&&(tl[0]=tw[0]),null!=tg&&(tg[0]=tP[0]),null!=tb&&(tb[0]=tL[0]),tn=1):tn=0):tn=0}else{if(10>ta){ty=7;break}tl=tv,null==tn||10>ta||!Xt(tn,ti+3,ta-3)?tn=0:(tg=tn[ti+0]|tn[ti+1]<<8|tn[ti+2]<<16,tb=16383&(tn[ti+7]<<8|tn[ti+6]),tn=16383&(tn[ti+9]<<8|tn[ti+8]),1&tg||3<(tg>>1&7)||!(tg>>4&1)||tg>>5>=tm.Ja||!tb||!tn?tn=0:(tc&&(tc[0]=tb),tl&&(tl[0]=tn),tn=1))}if(!tn||(tc=tc[0],tv=tv[0],tp&&(0!=tc||td[0]!=tv)))return 3;null!=th&&(th[0]=tm,th.offset=ti-th.w,e(4294967286>ti-th.w),e(th.offset==th.ha-ta));break}return 0==ty||7==ty&&tp&&null==th?(null!=tu&&(tu[0]|=null!=tm.na&&0<tm.na.length),null!=to&&(to[0]=tc
vendor: 5,429 bytes, line 74
74),null!=ts&&(ts[0]=tv),0):ty}function Br(tn,ti,ta){var to=ti.width,ts=ti.height,tu=0,tc=0,tl=to,th=ts;if(ti.Da=null!=tn&&0<tn.Da,ti.Da&&(tl=tn.cd,th=tn.bd,tu=tn.v,tc=tn.j,11>ta||(tu&=-2,tc&=-2),0>tu||0>tc||0>=tl||0>=th||tu+tl>to||tc+th>ts))return 0;if(ti.v=tu,ti.j=tc,ti.va=tu+tl,ti.o=tc+th,ti.U=tl,ti.T=th,ti.da=null!=tn&&0<tn.da,ti.da){if(!q(tl,th,ta=[tn.ib],tu=[tn.hb]))return 0;ti.ib=ta[0],ti.hb=tu[0]}return ti.ob=null!=tn&&tn.ob,ti.Kb=null==tn||!tn.Sd,ti.da&&(ti.ob=ti.ib<3*to/4&&ti.hb<3*ts/4,ti.Kb=0),1}function Mr(tn){if(null==tn)return 2;if(11>tn.S){var ti=tn.f.RGBA;ti.fb+=(tn.height-1)*ti.A,ti.A=-ti.A}else ti=tn.f.kb,tn=tn.height,ti.O+=(tn-1)*ti.fa,ti.fa=-ti.fa,ti.N+=(tn-1>>1)*ti.Ab,ti.Ab=-ti.Ab,ti.W+=(tn-1>>1)*ti.Db,ti.Db=-ti.Db,null!=ti.F&&(ti.J+=(tn-1)*ti.lb,ti.lb=-ti.lb);return 0}function qr(tn,ti,ta,to){if(null==to||0>=tn||0>=ti)return 2;if(null!=ta){if(ta.Da){var ts=ta.cd,tu=ta.bd,tc=-2&ta.v,tl=-2&ta.j;if(0>tc||0>tl||0>=ts||0>=tu||tc+ts>tn||tl+tu>ti)return 2;tn=ts,ti=tu}if(ta.da){if(!q(tn,ti,ts=[ta.ib],tu=[ta.hb]))return 2;tn=ts[0],ti=tu[0]}}to.width=tn,to.height=ti;t:{var th=to.width,tf=to.height;if(tn=to.S,0>=th||0>=tf||!(tn>=t2&&13>tn))tn=2;else{if(0>=to.Rd&&null==to.sd){tc=tu=ts=ti=0;var td=(tl=th*eQ[tn])*tf;if(11>tn||(tu=(tf+1)/2*(ti=(th+1)/2),12==tn&&(tc=(ts=th)*tf)),null==(tf=a(td+2*tu+tc))){tn=1;break t}to.sd=tf,11>tn?((th=to.f.RGBA).eb=tf,th.fb=0,th.A=tl,th.size=td):((th=to.f.kb).y=tf,th.O=0,th.fa=tl,th.Fd=td,th.f=tf,th.N=0+td,th.Ab=ti,th.Cd=tu,th.ea=tf,th.W=0+td+tu,th.Db=ti,th.Ed=tu,12==tn&&(th.F=tf,th.J=0+td+2*tu),th.Tc=tc,th.lb=ts)}if(ti=1,ts=to.S,tu=to.width,tc=to.height,ts>=t2&&13>ts){if(11>ts)ti&=(tl=Math.abs((tn=to.f.RGBA).A))*(tc-1)+tu<=tn.size,ti&=tl>=tu*eQ[ts],ti&=null!=tn.eb;else{tn=to.f.kb,tl=(tu+1)/2,td=(tc+1)/2,th=Math.abs(tn.fa),tf=Math.abs(tn.Ab);var tp=Math.abs(tn.Db),tg=Math.abs(tn.lb),tm=tg*(tc-1)+tu;ti&=th*(tc-1)+tu<=tn.Fd,ti&=tf*(td-1)+tl<=tn.Cd,ti=(ti&=tp*(td-1)+tl<=tn.Ed)&th>=tu&tf>=tl&tp>=tl&null!=tn.y&null!=tn.f&null!=tn.ea,12==ts&&(ti&=tg>=tu,ti&=tm<=tn.Tc,ti&=null!=tn.F)}}else ti=0;tn=ti?0:2}}return 0!=tn||null!=ta&&ta.fd&&(tn=Mr(to)),tn}var ti=64,ta=[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],to=24,ts=32,tu=8,tc=[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];D("Predictor0","PredictorAdd0"),tn.Predictor0=function(){return 4278190080},tn.Predictor1=function(tn){return tn},tn.Predictor2=function(tn,ti,ta){return ti[ta+0]},tn.Predictor3=function(tn,ti,ta){return ti[ta+1]},tn.Predictor4=function(tn,ti,ta){return ti[ta-1]},tn.Predictor5=function(tn,ti,ta){return z(z(tn,ti[ta+1]),ti[ta+0])},tn.Predictor6=function(tn,ti,ta){return z(tn,ti[ta-1])},tn.Predictor7=function(tn,ti,ta){return z(tn,ti[ta+0])},tn.Predictor8=function(tn,ti,ta){return z(ti[ta-1],ti[ta+0])},tn.Predictor9=function(tn,ti,ta){return z(ti[ta+0],ti[ta+1])},tn.Predictor10=function(tn,ti,ta){return z(z(tn,ti[ta-1]),z(ti[ta+0],ti[ta+1]))},tn.Predictor11=function(tn,ti,ta){var to=ti[ta+0];return 0>=W(to>>24&255,tn>>24&255,(ti=ti[ta-1])>>24&255)+W(to>>16&255,tn>>16&255,ti>>16&255)+W(to>>8&255,tn>>8&255,ti>>8&255)+W(255&to,255&tn,255&ti)?to:tn},tn.Predictor12=function(tn,ti,ta){var to=ti[ta+0];return(U((tn>>24&255)+(to>>24&255)-((ti=ti[ta-1])>>24&255))<<24|U((tn>>16&255)+(to>>16&255)-(ti>>16&255))<<16|U((tn>>8&255)+(to>>8&255)-(ti>>8&255))<<8|U((255&tn)+(255&to)-(255&ti)))>>>0},tn.Predictor13=function(tn,ti,ta){var to=ti[ta-1];return(H((tn=z(tn,ti[ta+0]))>>24&255,to>>24&255)<<24|H(tn>>16&255,to>>16&255)<<16|H(tn>>8&255,to>>8&255)<<8|H(255&tn,255&to))>>>0};var tl=tn.PredictorAdd0;tn.PredictorAdd1=V,D("Predictor2","PredictorAdd2"),D("Predictor3","PredictorAdd3"),D("Predictor4","PredictorAdd4"),D("Predictor5","PredictorAdd5"),D("Predictor6","PredictorAdd6"),D("Predictor7","PredictorAdd7"),D("Predictor8","PredictorAdd8"),D("Predictor9","PredictorAdd9"),D("Predictor10","PredictorAdd10"),D("Predictor11","PredictorAdd11"),D("Predictor12","PredictorAdd12"),D("Predictor13","PredictorAdd13");var th=tn.PredictorAdd2;X("ColorIndexInverseTransform","MapARGB","32b",function(tn){return tn>>8&255},function(tn){return tn}),X("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(tn){return tn},function(tn){return tn>>8&255});var tf,td=tn.ColorIndexInverseTransform,tp=tn.MapARGB,tg=tn.VP8LColorIndexInverseTransformAlpha,tm=tn.MapAlpha,tv=tn.VP8LPredictorsAdd=[];tv.length=16,(tn.VP8LPredictors=[]).length=16,(tn.VP8LPredictorsAdd_C=[]).length=16,(tn.VP8LPredictors_C=[]).length=16;var tb,ty,tw,tN,tL,tx,tA,tS,t_,tP,tk,tF,tI,tj,tC,tE,tO,tB,tM,tq,tR,tD,tT,tz,tU,tH,tW,tV,tG=a(511),tJ=a(2041),tY=a(225),tX=a(767),tZ=0,tK=tJ,t$=tY,tQ=tX,t1=tG,t2=0,t5=1,t0=2,t3=3,t4=4,t6=5,t8=6,t7=7,t9=8,en=9,ei=10,ea=[2,3,7],eo=[3,3,11],es=[280,256,256,256,40],eu=[0,1,1,1,0],ec=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],el=[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 74
746,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],eh=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],ef=8,ed=[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],ep=[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],eg=null,em=[[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]],ev=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],eb=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],ey=[[[[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
745,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]]]],ew=[[[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,
741,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]]],eN=[[[[255,255,255,255,255,255,255,255,255,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
745,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]]]],eL=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],ex=[],eA=[],eS=[],e_=1,eP=2,ek=[],eF=[];mr("UpsampleRgbLinePair",Lr,3),mr("UpsampleBgrLinePair",xr,3),mr("UpsampleRgbaLinePair",kr,4),mr("UpsampleBgraLinePair",Pr,4),mr("UpsampleArgbLinePair",_r,4),mr("UpsampleRgba4444LinePair",Sr,2),mr("UpsampleRgb565LinePair",Ar,2);var eI=tn.UpsampleRgbLinePair,ej=tn.UpsampleBgrLinePair,eC=tn.UpsampleRgbaLinePair,eE=tn.UpsampleBgraLinePair,eO=tn.UpsampleArgbLinePair,eB=tn.UpsampleRgba4444LinePair,eM=tn.UpsampleRgb565LinePair,eq=16,eR=32768,eD=-227,eT=482,ez=6,eU=16383,eH=0,eW=a(256),eV=a(256),eG=a(256),eJ=a(256),eY=a(eT-eD),eX=a(eT-eD);Fr("YuvToRgbRow",Lr,3),Fr("YuvToBgrRow",xr,3),Fr("YuvToRgbaRow",kr,4),Fr("YuvToBgraRow",Pr,4),Fr("YuvToArgbRow",_r,4),Fr("YuvToRgba4444Row",Sr,2),Fr("YuvToRgb565Row",Ar,2);var eZ=[0,4,8,12,128,132,136,140,256,260,264,268,384,388,392,396],eK=[0,2,8],e$=[8,7,6,4,4,2,2,2,1,1,1,1];this.WebPDecodeRGBA=function(tn,ti,ta,to,ts){var tu=t5,tc=new er,tl=new ot;tc.ba=tl,tl.S=tu,tl.width=[tl.width],tl.height=[tl.height];var th=tl.width,tf=tl.height,td=new st;if(null==td||null==tn)var tp=2;else e(null!=td),tp=Or(tn,ti,ta,td.width,td.height,td.Pd,td.Qd,td.format,null);if(0!=tp?th=0:(null!=th&&(th[0]=td.width[0]),null!=tf&&(tf[0]=td.height[0]),th=1),th){tl.width=tl.width[0],tl.height=tl.height[0],null!=to&&(to[0]=tl.width),null!=ts&&(ts[0]=tl.height);t:{if(to=new Gt,(ts=new rr).data=tn,ts.w=ti,ts.ha=ta,ts.kd=1,ti=[0],e(null!=ts),(0==(tn=Or(ts.data,ts.w,ts.ha,null,null,null,ti,null,ts))||7==tn)&&ti[0]&&(tn=4),0==(ti=tn)){if(e(null!=tc),to.data=ts.data,to.w=ts.w+ts.offset,to.ha=ts.ha-ts.offset,to.put=dt,to.ac=ft,to.bc=pt,to.ma=tc,ts.xa){if(null==(tn=kt())){tc=1;break t}if(function(tn,ti){for(var ta=[0],to=[0],ts=[0];;){if(null==tn)return 0;if(null==ti)return tn.a=2,0;if(tn.l=ti,tn.a=0,v(tn.m,ti.data,ti.w,ti.ha),!gt(tn.m,ta,to,ts)){tn.a=3;break}if(tn.xb=eP,ti.width=ta[0],ti.height=to[0],!Ft(ta[0],to[0],1,tn,null))break;return 1}return e(0!=tn.a),0}(tn,to)){if(to=0==(ti=qr(to.width,to.height,tc.Oa,tc.ba))){e:{for(to=tn;;){if(null==to){to=0;break e}if(e(null!=to.s.yc),e(null!=to.s.Ya),e(0<to.s.Wb),e(null!=(ta=to.l)),e(null!=(ts=ta.ma)),0!=to.xb){if(to.ca=ts.ba,to.tb=ts.tb,e(null!=to.ca),!Br(ts.Oa,ta,t3)){to.a=2;break}if(!It(to,ta.width)||ta.da)break;if((ta.da||nt(to.ca.S))&&gr(),11>to.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),null!=to.ca.f.kb.F&&gr()),to.Pb&&0<to.s.ua&&null==to.s.vb.X&&!O(to.s.vb,to.s.Wa.Xa)){to.a=1;break}to.xb=0}if(!_t(to,to.V,to.Ba,to.c,to.i,ta.o,Lt))break;ts.Dc=to.Ma,to=1;break e}e(0!=to.a),to=0}to=!to}to&&(ti=tn.a)}else ti=tn.a}else if((tn=new Yt).Fa=ts.na,tn.P=ts.P,tn.qc=ts.Sa,Kt(tn,to)){if(0==(ti=qr(to.width,to.height,tc.Oa,tc.ba))){if(tn.Aa=0,ta=tc.Oa,e(null!=(ts=tn)),null!=ta){if(0<(th=0>(th=ta.Md)?0:100<th?255:255*th/100)){for(tf=td=0;4>tf;++tf)12>(tp=ts.pb[tf]).lc&&(tp.ia=th*e$[0>tp.lc?0:tp.lc]>>3),td|=tp.ia;td&&(alert("todo:VP8InitRandom"),ts.ia=1)}ts.Ga=ta.Id,100<ts.Ga?ts.Ga=100:0>ts.Ga&&(ts.Ga=0)}(function(tn,ti){if(null==tn)return 0;if(null==ti)return Jt(tn,2,"NULL VP8Io parameter in VP8Decode().");if(!tn.cb&&!Kt(tn,ti))return 0;if(e(tn.cb),null==ti.ac||ti.ac(ti)){ti.ob&&(tn.L=0);var ta=eK[tn.L];if(2==tn.L?(tn.yb=0,tn.zb=0):(tn.yb=ti.v-ta>>4,tn.zb=ti.j-ta>>4,0>tn.yb&&(tn.yb=0),0>tn.zb&&(tn.zb=0)),tn.Va=ti.o+15+ta>>4,tn.Hb=ti.va+15+ta>>4,tn.Hb>tn.za&&(tn.Hb=tn.za),tn.Va>tn.Ub&&(tn.Va=tn.Ub),0<tn.L){var to,ts=tn.ed;for(ta=0;4>ta;
vendor: 11,116 bytes, lines 74-81
74++ta){if(tn.Qa.Cb){var tu=tn.Qa.Lb[ta];tn.Qa.Fb||(tu+=ts.Tb)}else tu=ts.Tb;for(to=0;1>=to;++to){var tc=tn.gd[ta][to],tl=tu;if(ts.Pc&&(tl+=ts.vd[0],to&&(tl+=ts.od[0])),0<(tl=0>tl?0:63<tl?63:tl)){var th=tl;0<ts.wb&&(th=4<ts.wb?th>>2:th>>1)>9-ts.wb&&(th=9-ts.wb),1>th&&(th=1),tc.dd=th,tc.tc=2*tl+th,tc.ld=40<=tl?2:15<=tl?1:0}else tc.tc=0;tc.La=to}}}ta=0}else Jt(tn,6,"Frame setup failed"),ta=tn.a;if(ta=0==ta){if(ta){tn.$c=0,0<tn.Aa||(tn.Ic=1);e:{ta=tn.Ic,ts=4*(th=tn.za);var tf=32*th,td=th+1,tp=0<tn.L?th*(0<tn.Aa?2:1):0,tg=(2==tn.Aa?2:1)*th;if((tc=ts+832+(to=3*(16*ta+eK[tn.L])/2*tf)+(tu=null!=tn.Fa&&0<tn.Fa.length?tn.Kc.c*tn.Kc.i:0))!=tc)ta=0;else{if(tc>tn.Vb){if(tn.Vb=0,tn.Ec=a(tc),tn.Fc=0,null==tn.Ec){ta=Jt(tn,1,"no memory during frame initialization.");break e}tn.Vb=tc}tc=tn.Ec,tl=tn.Fc,tn.Ac=tc,tn.Bc=tl,tl+=ts,tn.Gd=o(tf,Ht),tn.Hd=0,tn.rb=o(td+1,Dt),tn.sb=1,tn.wa=tp?o(tp,Rt):null,tn.Y=0,tn.D.Nb=0,tn.D.wa=tn.wa,tn.D.Y=tn.Y,0<tn.Aa&&(tn.D.Y+=th),e(!0),tn.oc=tc,tn.pc=tl,tl+=832,tn.ya=o(tg,zt),tn.aa=0,tn.D.ya=tn.ya,tn.D.aa=tn.aa,2==tn.Aa&&(tn.D.aa+=th),tn.R=16*th,tn.B=8*th,th=(tf=eK[tn.L])*tn.R,tf=tf/2*tn.B,tn.sa=tc,tn.ta=tl+th,tn.qa=tn.sa,tn.ra=tn.ta+16*ta*tn.R+tf,tn.Ha=tn.qa,tn.Ia=tn.ra+8*ta*tn.B+tf,tn.$c=0,tl+=to,tn.mb=tu?tc:null,tn.nb=tu?tl:null,e(tl+tu<=tn.Fc+tn.Vb),$t(tn),i(tn.Ac,tn.Bc,0,ts),ta=1}}if(ta){if(ti.ka=0,ti.y=tn.sa,ti.O=tn.ta,ti.f=tn.qa,ti.N=tn.ra,ti.ea=tn.Ha,ti.Vd=tn.Ia,ti.fa=tn.R,ti.Rc=tn.B,ti.F=null,ti.J=0,!tZ){for(ta=-255;255>=ta;++ta)tG[255+ta]=0>ta?-ta:ta;for(ta=-1020;1020>=ta;++ta)tJ[1020+ta]=-128>ta?-128:127<ta?127:ta;for(ta=-112;112>=ta;++ta)tY[112+ta]=-16>ta?-16:15<ta?15:ta;for(ta=-255;510>=ta;++ta)tX[255+ta]=0>ta?0:255<ta?255:ta;tZ=1}tA=ue,tS=ie,tP=ae,tk=oe,tF=se,t_=ne,tI=Ye,tj=Je,tC=Ze,tE=$e,tO=Xe,tB=Ke,tM=Qe,tq=tr,tR=ze,tD=Ue,tT=He,tz=We,eA[0]=xe,eA[1]=le,eA[2]=Ne,eA[3]=Le,eA[4]=Ae,eA[5]=_e,eA[6]=Se,eA[7]=Pe,eA[8]=Fe,eA[9]=ke,ex[0]=me,ex[1]=fe,ex[2]=de,ex[3]=pe,ex[4]=ve,ex[5]=be,ex[6]=ye,eS[0]=Oe,eS[1]=he,eS[2]=Ie,eS[3]=Ce,eS[4]=Me,eS[5]=Be,eS[6]=qe,ta=1}else ta=0}ta&&(ta=function(tn,ti){for(tn.M=0;tn.M<tn.Va;++tn.M){var ta,to=tn.Jc[tn.M&tn.Xb],ts=tn.m,tu=tn;for(ta=0;ta<tu.za;++ta){var tc=ts,tl=tu,th=tl.Ac,tf=tl.Bc+4*ta,td=tl.zc,tp=tl.ya[tl.aa+ta];if(tl.Qa.Bb?tp.$b=k(tc,tl.Pa.jb[0])?2+k(tc,tl.Pa.jb[2]):k(tc,tl.Pa.jb[1]):tp.$b=0,tl.kc&&(tp.Ad=k(tc,tl.Bd)),tp.Za=!k(tc,145)+0,tp.Za){var tg=tp.Ob,tm=0;for(tl=0;4>tl;++tl){var tv,tb=td[0+tl];for(tv=0;4>tv;++tv){tb=ew[th[tf+tv]][tb];for(var ty=eb[k(tc,tb[0])];0<ty;)ty=eb[2*ty+k(tc,tb[ty])];tb=-ty,th[tf+tv]=tb}n(tg,tm,th,tf,4),tm+=4,td[0+tl]=tb}}else tb=k(tc,156)?k(tc,128)?1:3:k(tc,163)?2:0,tp.Ob[0]=tb,i(th,tf,tb,4),i(td,0,tb,4);tp.Dd=k(tc,142)?k(tc,114)?k(tc,183)?1:3:2:0}if(tu.m.Ka)return Jt(tn,7,"Premature end-of-partition0 encountered.");for(;tn.ja<tn.za;++tn.ja){if(tu=to,tc=(ts=tn).rb[ts.sb-1],th=ts.rb[ts.sb+ts.ja],ta=ts.ya[ts.aa+ts.ja],tf=ts.kc?ta.Ad:0)tc.la=th.la=0,ta.Za||(tc.Na=th.Na=0),ta.Hc=0,ta.Gc=0,ta.ia=0;else{if(tc=th,th=tu,tf=ts.Pa.Xc,td=ts.ya[ts.aa+ts.ja],tp=ts.pb[td.$b],tl=td.ad,tg=0,tm=ts.rb[ts.sb-1],tb=tv=0,i(tl,tg,0,384),td.Za)var tw,tN,tL=0,tx=tf[3];else{ty=a(16);var tS=tc.Na+tm.Na;if(tS=eg(th,tf[1],tS,tp.Eb,0,ty,0),tc.Na=tm.Na=(0<tS)+0,1<tS)tA(ty,0,tl,tg);else{var t_=ty[0]+3>>3;for(ty=0;256>ty;ty+=16)tl[tg+ty]=t_}tL=1,tx=tf[0]}var tP=15&tc.la,tk=15&tm.la;for(ty=0;4>ty;++ty){var tF=1&tk;for(t_=tN=0;4>t_;++t_)tP=tP>>1|(tF=(tS=eg(th,tx,tS=tF+(1&tP),tp.Sc,tL,tl,tg))>tL)<<7,tN=tN<<2|(3<tS?3:1<tS?2:0!=tl[tg+0]),tg+=16;tP>>=4,tk=tk>>1|tF<<7,tv=(tv<<8|tN)>>>0}for(tx=tP,tL=tk>>4,tw=0;4>tw;tw+=2){for(tN=0,tP=tc.la>>4+tw,tk=tm.la>>4+tw,ty=0;2>ty;++ty){for(tF=1&tk,t_=0;2>t_;++t_)tS=tF+(1&tP),tP=tP>>1|(tF=0<(tS=eg(th,tf[2],tS,tp.Qc,0,tl,tg)))<<3,tN=tN<<2|(3<tS?3:1<tS?2:0!=tl[tg+0]),tg+=16;tP>>=2,tk=tk>>1|tF<<5}tb|=tN<<4*tw,tx|=tP<<4<<tw,tL|=(240&tk)<<tw}tc.la=tx,tm.la=tL,td.Hc=tv,td.Gc=tb,td.ia=43690&tb?0:tp.ia,tf=!(tv|tb)}if(0<ts.L&&(ts.wa[ts.Y+ts.ja]=ts.gd[ta.$b][ta.Za],ts.wa[ts.Y+ts.ja].La|=!tf),tu.Ka)return Jt(tn,7,"Premature end-of-file encountered.")}if($t(tn),ts=ti,tu=1,ta=(to=tn).D,tc=0<to.L&&to.M>=to.zb&&to.M<=to.Va,0==to.Aa)e:{if(ta.M=to.M,ta.uc=tc,jr(to,ta),tu=1,ta=(tN=to.D).Nb,tc=(tb=eK[to.L])*to.R,th=tb/2*to.B,ty=16*ta*to.R,t_=8*ta*to.B,tf=to.sa,td=to.ta-tc+ty,tp=to.qa,tl=to.ra-th+t_,tg=to.Ha,tm=to.Ia-th+t_,tk=0==(tP=tN.M),tv=tP>=to.Va-1,2==to.Aa&&jr(to,tN),tN.uc)for(tF=(tS=to).D.M,e(tS.D.uc),tN=tS.yb;tN<tS.Hb;++tN){tL=tN,tx=tF;var tU=(tH=(t$=tS).D).Nb;tw=t$.R;var tH=tH.wa[tH.Y+tL],tW=t$.sa,tV=t$.ta+16*tU*tw+16*tL,tG=tH.dd,tJ=tH.tc;if(0!=tJ){if(e(3<=tJ),1==t$.L)0<tL&&tD(tW,tV,tw,tJ+4),tH.La&&tz(tW,tV,tw,tJ),0<tx&&tR(tW,tV,tw,tJ+4),tH.La&&tT(tW,tV,tw,tJ);else{var tY=t$.B,tX=t$.qa,tZ=t$.ra+8*tU*tY+8*tL,tK=t$.Ha,t$=t$.Ia+8*tU*tY+8*tL;tU=tH.ld,0<tL&&(tj(tW,tV,tw,tJ+4,tG,tU),tE(tX,tZ,tK,t$,tY,tJ+4,tG,tU)),tH.La&&(tB(tW,tV,tw,tJ,tG,tU),tq(tX,tZ,tK,t$,tY,tJ,tG,tU)),0<tx&&(tI(tW,tV,tw,tJ+4,tG,tU),tC(tX,tZ,tK,t$,tY,tJ+4,tG,tU)),tH.La&&(tO(tW,tV,tw,tJ,tG,tU),tM(tX,tZ,tK,t$,tY,tJ,tG,tU))}}}if(to.ia&&alert("todo:DitherRow"),null!=ts.put){if(tN=16*tP,tP=16*(tP+1),tk?(ts.y=to.sa,ts.O=to.ta+ty,ts.f=to.qa,ts.N=to.ra+t_,ts.ea=to.Ha,ts.W=to.Ia+t_):(tN-=tb,ts.y=tf,ts.O=td,ts.f=tp,ts.N=tl,ts.ea=tg,ts.W=tm),tv||(tP-=tb),tP>ts.o&&(tP=ts.o),ts.F=null,ts.J=null,null!=to.Fa&&0<to.Fa.length&&tN<tP&&(ts.J=function(tn,ti,ta,to){var ts=ti.width,tu=ti.o;if(e(null!=tn&&null!=ti),0>ta||0>=to||ta+to>tu)return null;if(!tn.Cc){if(null==tn.ga){if(tn.ga=new or,(tx=null==tn.ga)||(tx=ti.width*ti.o,e(0==tn.Gb.length),tn.Gb=a(tx),tn.Uc=0,null==tn.Gb?tx=0:(tn.mb=tn.Gb,tn.nb=tn.Uc,tn.rc=null,tx=1),tx=!tx),!tx){tx=tn.ga;var tc=tn.Fa,tl=tn.P,th=tn.qc,tf=tn.mb,td=tn.nb,tp=tl+1,tg=th-1,tm=tx.l;if(e(null!=tc&&null!=tf&&null!=ti),ek[0]=null,ek[1]=sr,ek[2]=ur,ek[3]=cr,tx.ca=tf,tx.tb=td,tx.c=ti.width,tx.i=ti.height,e(0<tx.c&&0<tx.i),1>=th)ti=0;else if(tx.$a=3&tc[tl+0],tx.Z=tc[tl+0]>>2&3,tx.Lc=tc[tl+0]>>4&3,tl=tc[tl+0]>>6&3,0>tx.$a||1<tx.$a||4<=tx.Z||1<tx.Lc||tl)ti=0;else if(tm.put=dt,tm.ac=ft,tm.bc=pt,tm.ma=tx,tm.width=ti.width,tm.height=ti.height,tm.Da=ti.Da,tm.v=ti.v,tm.va=ti.va,tm.j=ti.j,tm.o=ti.o,tx.$a)t:{for(e(1==tx.$a),ti=kt();;){if(null==ti){ti=0;break t}if(e(null!=tx),tx.mc=ti,ti.c=tx.c,ti.i=tx.i,ti.l=tx.l,ti.l.ma=tx,ti.l.width=tx.c,ti.l.height=tx.i,ti.a=0,v(ti.m,tc,tp,tg),!Ft(tx.c,tx.i,1,ti,null)||(1==ti.ab&&3==ti.gc[0].hc&&xt(ti.s)?(tx.ic=1,tc=ti.c*ti.i,ti.Ta=null,ti.Ua=0,ti.V=a(tc),ti.Ba=0,null==ti.V?(ti.a=1,ti=0):ti=1):(tx.ic=0,ti=It(ti,tx.c)),!ti))break;ti=1;break t}tx.mc=null,ti=0}else ti=tg>=tx.c*tx.i;tx=!ti}if(tx)return null;1!=tn.ga.Lc?tn.Ga=0:to=tu-ta}e(null!=tn.ga),e(ta+to<=tu);t:{if(ti=(tc=tn.ga).c,tu=tc.l.o,0==tc.$a){if(tp=tn.rc,tg=tn.Vc,tm=tn.Fa,tl=tn.P+1+ta*ti,th=tn.mb,tf=tn.nb+ta*ti,e(tl<=tn.P+tn.qc),0!=tc.Z)for(e(null!=ek[tc.Z]),tx=0;tx<to;++tx)ek[tc.Z](tp,tg,tm,tl,th,tf,ti),tp=th,tg=tf,tf+=ti,tl+=ti;else for(tx=0;tx<to;++tx)n(th,tf,tm,tl,ti),tp=th,tg=tf,tf+=ti,tl+=ti;tn.rc=tp,tn.Vc=tg}else{if(e(null!=tc.mc),ti=ta+to,e(null!=(tx=tc.mc)),e(ti<=tx.i),tx.C>=ti)ti=1;else if(tc.ic||gr(),tc.ic){tc=tx.V,tp=tx.Ba,tg=tx.c;var tv=tx.i,tb=(tm=1,tl=tx.$/tg,th=tx.$%tg,tf=tx.m,td=tx.s,tx.$),ty=tg*tv,tw=tg*ti,tN=td.wc,tL=tb<tw?wt(td,th,tl):null;e(tb<=ty),e(ti<=tv),e(xt(td));e:for(;;){for(;!tf.h&&tb<tw;){if(th&tN||(tL=wt(td,th,tl)),e(null!=tL),S(tf),256>(tv=bt(tL.G[0],tL.H[0],tf)))tc[tp+tb]=tv,++tb,++th>=tg&&(th=0,++tl<=ti&&!(tl%16)&&St(tx,tl));else{if(!(280>tv)){tm=0;break e}tv=mt(tv-256,tf);var tx,tA,tS=bt(tL.G[4],tL.H[4],tf);if(S(tf),!(tb>=(tS=vt(tg,tS=mt(tS,tf)))&&ty-tb>=tv)){tm=0;break e}for(tA=0;tA<tv;++tA)tc[tp+tb+tA]=tc[tp+tb+tA-tS];for(tb+=tv,th+=tv;th>=tg;)th-=tg,++tl<=ti&&!(tl%16)&&St(tx,tl);tb<tw&&th&tN&&(tL=wt(td,th,tl))}e(tf.h==x(tf))}St(tx,tl>ti?ti:tl);break}!tm||tf.h&&tb<ty?(tm=0,tx.a=tf.h?5:3):tx.$=tb,ti=tm}else ti=_t(tx,tx.V,tx.Ba,tx.c,tx.i,ti,Ct);if(!ti){to=0;break t}}ta+to>=tu&&(tn.Cc=1),to=1}if(!to)return null;if(tn.Cc&&(null!=(to=tn.ga)&&(to.mc=null),tn.ga=null,0<tn.Ga))return alert("todo:WebPDequantizeLevels"),null}return tn.nb+ta*ts}(to,ts,tN,tP-tN),ts.F=to.mb,null==ts.F&&0==ts.F.length)){tu=Jt(to,3,"Could not decode alpha data.");break e}tN<ts.j&&(tb=ts.j-tN,tN=ts.j,e(!(1&tb)),ts.O+=to.R*tb,ts.N+=to.B*(tb>>1),ts.W+=to.B*(tb>>1),null!=ts.F&&(ts.J+=ts.width*tb)),tN<tP&&(ts.O+=ts.v,ts.N+=ts.v>>1,ts.W+=ts.v>>1,null!=ts.F&&(ts.J+=ts.v),ts.ka=tN-ts.j,ts.U=ts.va-ts.v,ts.T=tP-tN,tu=ts.put(ts))}ta+1!=to.Ic||tv||(n(to.sa,to.ta-tc,tf,td+16*to.R,tc),n(to.qa,to.ra-th,tp,tl+8*to.B,th),n(to.Ha,to.Ia-th,tg,tm+8*to.B,th))}if(!tu)return Jt(tn,6,"Output aborted.")}return 1}(tn,ti)),null!=ti.bc&&ti.bc(ti),ta&=1}return ta?(tn.cb=0,ta):0})(tn,to)||(ti=tn.a)}}else ti=tn.a;0==ti&&null!=tc.Oa&&tc.Oa.fd&&(ti=Mr(tc.ba))}tc=ti}tu=0!=tc?null:11>tu?tl.f.RGBA.eb:tl.f.kb.y}else tu=null;return tu};var eQ=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function h(tn,ti){return(tn[ti+0]|tn[ti+1]<<8|tn[ti+2]<<16)>>>0}function f(tn,ti){return(tn[ti+0]|tn[ti+1]<<8|tn[ti+2]<<16|tn[ti+3]<<24)>>>0}new u;var ti=[0],ta=[0],to=[],ts=new u,tu=function(tn,ti){var ta={},to=0,ts=!1,tu=0,tc=0;if(ta.frames=[],!/** @license 75 * Copyright (c) 2017 Dominik Homberger 76 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 77 The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 78 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 79 https://webpjs.appspot.com 80 WebPRiffParser [email protected] 81 */function(tn,ti){for(var ta=0;ta<4;ta++)if(tn[ti+ta]!="RIFF".charCodeAt(ta))return!0;return!1}(tn,ti)){for(f(tn,ti+=4),ti+=8;ti<tn.length;){var tl,th,tf,td=function(tn,ti){for(var ta="",to=0;to<4;to++)ta+=String.fromCharCode(tn[ti++]);return ta}(tn,ti),tp=f(tn,ti+=4);ti+=4;var tg=tp+(1&tp);switch(td){case"VP8 ":case"VP8L":void 0===ta.frames[to]&&(ta.frames[to]={}),(tf=ta.frames[to]).src_off=ts?tc:ti-8,tf.src_size=tu+tp+8,to++,ts&&(ts=!1,tu=0,tc=0);break;case"VP8X":(tf=ta.header={}).feature_flags=tn[ti];var tm=ti+4;tf.canvas_width=1+h(tn,tm),tm+=3,tf.canvas_height=1+h(tn,tm),tm+=3;break;case"ALPH":ts=!0,tu=tg+8,tc=ti-8;break;case"ANIM":(tf=ta.header).bgcolor=f(tn,ti),tm=ti+4,tf.loop_count=tn[(tl=tm)+0]|tn[tl+1]<<8,tm+=2;break;case"ANMF":(tf=ta.frames[to]={}).offset_x=2*h(tn,ti),ti+=3,tf.offset_y=2*h(tn,ti),ti+=3,tf.width=1+h(tn,ti),ti+=3,tf.height=1+h(tn,ti),ti+=3,tf.duration=h(tn,ti),ti+=3,th=tn[ti++],tf.dispose=1&th,tf.blend=th>>1&1}"ANMF"!=td&&(ti+=tg)}return ta}}
vendor: 5,421 bytes, lines 81-105
81(tn,0);tu.response=tn,tu.rgbaoutput=!0,tu.dataurl=!1;var tc=tu.header?tu.header:null,tl=tu.frames?tu.frames:null;if(tc){tc.loop_counter=tc.loop_count,ti=[tc.canvas_height],ta=[tc.canvas_width];for(var th=0;th<tl.length&&0!=tl[th].blend;th++);}var tf=tl[0],td=ts.WebPDecodeRGBA(tn,tf.src_off,tf.src_size,ta,ti);tf.rgba=td,tf.imgwidth=ta[0],tf.imgheight=ti[0];for(var tp=0;tp<ta[0]*ti[0]*4;tp++)to[tp]=td[tp];return this.width=ta,this.height=ti,this.data=to,this}/** ==================================================================== 82 * @license 83 * jsPDF XMP metadata plugin 84 * Copyright (c) 2016 Jussi Utunen, [email protected] 85 * 86 * Permission is hereby granted, free of charge, to any person obtaining 87 * a copy of this software and associated documentation files (the 88 * "Software"), to deal in the Software without restriction, including 89 * without limitation the rights to use, copy, modify, merge, publish, 90 * distribute, sublicense, and/or sell copies of the Software, and to 91 * permit persons to whom the Software is furnished to do so, subject to 92 * the following conditions: 93 * 94 * The above copyright notice and this permission notice shall be 95 * included in all copies or substantial portions of the Software. 96 * 97 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 98 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 99 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 100 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 101 * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 102 * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 103 * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 104 * ==================================================================== 105 */function ce(){var tn,ti=unescape(encodeURIComponent(this.internal.__metadata__.metadata));tn=this.internal.__metadata__.rawXml?ti:'<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>'+ti.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")+"</jspdf:metadata></rdf:Description></rdf:RDF></x:xmpmeta>",this.internal.__metadata__.metadataObjectNumber=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+tn.length+" >>"),this.internal.write("stream"),this.internal.write(tn),this.internal.write("endstream"),this.internal.write("endobj")}function le(){this.internal.__metadata__.metadataObjectNumber&&this.internal.write("/Metadata "+this.internal.__metadata__.metadataObjectNumber+" 0 R")}!function(tn){var ti,ta,ts,tu,tc,tl,tf,td,tp,d=function(tn){return tn=tn||{},this.isStrokeTransparent=tn.isStrokeTransparent||!1,this.strokeOpacity=tn.strokeOpacity||1,this.strokeStyle=tn.strokeStyle||"#000000",this.fillStyle=tn.fillStyle||"#000000",this.isFillTransparent=tn.isFillTransparent||!1,this.fillOpacity=tn.fillOpacity||1,this.font=tn.font||"10px sans-serif",this.textBaseline=tn.textBaseline||"alphabetic",this.textAlign=tn.textAlign||"left",this.lineWidth=tn.lineWidth||1,this.lineJoin=tn.lineJoin||"miter",this.lineCap=tn.lineCap||"butt",this.path=tn.path||[],this.transform=void 0!==tn.transform?tn.transform.clone():new td,this.globalCompositeOperation=tn.globalCompositeOperation||"normal",this.globalAlpha=tn.globalAlpha||1,this.clip_path=tn.clip_path||[],this.currentPoint=tn.currentPoint||new tl,this.miterLimit=tn.miterLimit||10,this.lastPoint=tn.lastPoint||new tl,this.lineDashOffset=tn.lineDashOffset||0,this.lineDash=tn.lineDash||[],this.margin=tn.margin||[0,0,0,0],this.prevPageLastElemOffset=tn.prevPageLastElemOffset||0,this.ignoreClearRect="boolean"!=typeof tn.ignoreClearRect||tn.ignoreClearRect,this};tn.events.push(["initialized",function(){this.context2d=new p(this),ti=this.internal.f2,ta=this.internal.getCoordinateString,ts=this.internal.getVerticalCoordinateString,tu=this.internal.getHorizontalCoordinate,tc=this.internal.getVerticalCoordinate,tl=this.internal.Point,tf=this.internal.Rectangle,td=this.internal.Matrix,tp=new d}]);var p=function(tn){Object.defineProperty(this,"canvas",{get:function(){return{parentNode:!1,style:!1}}}),Object.defineProperty(this,"pdf",{get:function(){return tn}});var ti=!1;Object.defineProperty(this,"pageWrapXEnabled",{get:function(){return ti},set:function(tn){ti=!!tn}});var ta=!1;Object.defineProperty(this,"pageWrapYEnabled",{get:function(){return ta},set:function(tn){ta=!!tn}});var to=0;Object.defineProperty(this,"posX",{get:function(){return to},set:function(tn){isNaN(tn)||(to=tn)}});var ts=0;Object.defineProperty(this,"posY",{get:function(){return ts},set:function(tn){isNaN(tn)||(ts=tn)}}),Object.defineProperty(this,"margin",{get:function(){return tp.margin},set:function(tn){var ti;"number"==typeof tn?ti=[tn,tn,tn,tn]:((ti=[,,,,])[0]=tn[0],ti[1]=tn.length>=2?tn[1]:ti[0],ti[2]=tn.length>=3?tn[2]:ti[0],ti[3]=tn.length>=4?tn[3]:ti[1]),tp.margin=ti}});var tu=!1;Object.defineProperty(this,"autoPaging",{get:function(){return tu},set:function(tn){tu=tn}});var tc=0;Object.defineProperty(this,"lastBreak",{get:function(){return tc},set:function(tn){tc=tn}});var tl=[];Object.defineProperty(this,"pageBreaks",{get:function(){return tl},set:function(tn){tl=tn}}),Object.defineProperty(this,"ctx",{get:function(){return tp}
105,set:function(tn){tn instanceof d&&(tp=tn)}}),Object.defineProperty(this,"path",{get:function(){return tp.path},set:function(tn){tp.path=tn}});var th=[];Object.defineProperty(this,"ctxStack",{get:function(){return th},set:function(tn){th=tn}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(tn){var ti;ti=g(tn),this.ctx.fillStyle=ti.style,this.ctx.isFillTransparent=0===ti.a,this.ctx.fillOpacity=ti.a,this.pdf.setFillColor(ti.r,ti.g,ti.b,{a:ti.a}),this.pdf.setTextColor(ti.r,ti.g,ti.b,{a:ti.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(tn){var ti=g(tn);this.ctx.strokeStyle=ti.style,this.ctx.isStrokeTransparent=0===ti.a,this.ctx.strokeOpacity=ti.a,0===ti.a?this.pdf.setDrawColor(255,255,255):(ti.a,this.pdf.setDrawColor(ti.r,ti.g,ti.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(tn){-1!==["butt","round","square"].indexOf(tn)&&(this.ctx.lineCap=tn,this.pdf.setLineCap(tn))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(tn){isNaN(tn)||(this.ctx.lineWidth=tn,this.pdf.setLineWidth(tn))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(tn){-1!==["bevel","round","miter"].indexOf(tn)&&(this.ctx.lineJoin=tn,this.pdf.setLineJoin(tn))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(tn){isNaN(tn)||(this.ctx.miterLimit=tn,this.pdf.setMiterLimit(tn))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(tn){this.ctx.textBaseline=tn}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(tn){-1!==["right","end","center","left","start"].indexOf(tn)&&(this.ctx.textAlign=tn)}});var tf=null,td=null,tg=null;Object.defineProperty(this,"fontFaces",{get:function(){return tg},set:function(tn){tf=null,td=null,tg=tn}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(tn){var ti;if(this.ctx.font=tn,null!==(ti=/^\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(tn))){var ta=ti[1];ti[2];var to=ti[3],ts=ti[4];ti[5];var tu=ti[6],tc=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(ts)[2];ts="px"===tc?Math.floor(parseFloat(ts)*this.pdf.internal.scaleFactor):"em"===tc?Math.floor(parseFloat(ts)*this.pdf.getFontSize()):Math.floor(parseFloat(ts)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(ts);var tl=function(tn){var ti,ta,to=[],ts=tn.trim();if(""===ts)return eN;if(ts in tq)return[tq[ts]];for(;""!==ts;){switch(ta=null,ti=(ts=Rt(ts)).charAt(0)){case'"':case"'":ta=function(tn,ti){for(var ta=0;ta<tn.length;){if(tn.charAt(ta)===ti)return[tn.substring(0,ta),tn.substring(ta+1)];ta+=1}return null}(ts.substring(1),ti);break;default:ta=function(tn){var ti=tn.match(/^(-[a-z_]|[a-z_])[a-z0-9_-]*/i);return null===ti?null:[ti[0],tn.substring(ti[0].length)]}(ts)}if(null===ta||(to.push(ta[0]),""!==(ts=Rt(ta[1]))&&","!==ts.charAt(0)))return eN;ts=ts.replace(/^,/,"")}return to}(tu);if(this.fontFaces){var th,tp,tg,tm,tv,tb=function(tn,ti,ta){for(var to=(ta=ta||{}).defaultFontFamily||"times",ts=Object.assign({},tM,ta.genericFontFamilies||{}),tu=null,tc=null,tl=0;tl<ti.length;++tl)if(ts[(tu=Ot(ti[tl])).family]&&(tu.family=ts[tu.family]),tn.hasOwnProperty(tu.family)){tc=tn[tu.family];break}if(!(tc=tc||tn[to]))throw Error("Could not find a font-family for the rule '"+Et(tu)+"' and default family '"+to+"'.");if(tc=function(tn,ti){if(ti[tn])return ti[tn];var ta=tE[tn],to=ta<=tE.normal?-1:1,ts=Bt(ti,tC,ta,to);if(!ts)throw Error("Could not find a matching font-stretch value for "+tn);return ts}(tu.stretch,tc),tc=function(tn,ti){if(ti[tn])return ti[tn];for(var ta=tj[tn],to=0;to<ta.length;
105++to)if(ti[ta[to]])return ti[ta[to]];throw Error("Could not find a matching font-style for "+tn)}(tu.style,tc),!(tc=function(tn,ti){if(ti[tn])return ti[tn];if(400===tn&&ti[500])return ti[500];if(500===tn&&ti[400])return ti[400];var ta=Bt(ti,tO,tB[tn],tn<400?-1:1);if(!ta)throw Error("Could not find a matching font-weight for value "+tn);return ta}(tu.weight,tc)))throw Error("Failed to resolve a font for the rule '"+Et(tu)+"'.");return tc}((th=this.pdf,tp=this.fontFaces,tv=JSON.stringify(tm=th.getFontList()),(null===tf||td!==tv)&&(tf=function(tn){for(var ti={},ta=0;ta<tn.length;++ta){var to=Ot(tn[ta]),ts=to.family,tu=to.stretch,tc=to.style,tl=to.weight;ti[ts]=ti[ts]||{},ti[ts][tu]=ti[ts][tu]||{},ti[ts][tu][tc]=ti[ts][tu][tc]||{},ti[ts][tu][tc][tl]=to}return ti}((tg=[],Object.keys(tm).forEach(function(tn){tm[tn].forEach(function(ti){var ta=null;switch(ti){case"bold":ta={family:tn,weight:"bold"};break;case"italic":ta={family:tn,style:"italic"};break;case"bolditalic":ta={family:tn,weight:"bold",style:"italic"};break;case"":case"normal":ta={family:tn}}null!==ta&&(ta.ref={name:tn,style:ti},tg.push(ta))})}),tg).concat(tp)),td=tv),tf),tl.map(function(tn){return{family:tn,stretch:"normal",weight:to,style:ta}}));this.pdf.setFont(tb.ref.name,tb.ref.style)}else{var ty="";("bold"===to||parseInt(to,10)>=700||"bold"===ta)&&(ty="bold"),"italic"===ta&&(ty+="italic"),0===ty.length&&(ty="normal");for(var tw="",tN={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"},tL=0;tL<tl.length;tL++){if(void 0!==this.pdf.internal.getFont(tl[tL],ty,{noFallback:!0,disableWarning:!0})){tw=tl[tL];break}if("bolditalic"===ty&&void 0!==this.pdf.internal.getFont(tl[tL],"bold",{noFallback:!0,disableWarning:!0}))tw=tl[tL],ty="bold";else if(void 0!==this.pdf.internal.getFont(tl[tL],"normal",{noFallback:!0,disableWarning:!0})){tw=tl[tL],ty="normal";break}}if(""===tw){for(var tx=0;tx<tl.length;tx++)if(tN[tl[tx]]){tw=tN[tl[tx]];break}}tw=""===tw?"Times":tw,this.pdf.setFont(tw,ty)}}}}),Object.defineProperty(this,"globalCompositeOperation",{get:function(){return this.ctx.globalCompositeOperation},set:function(tn){this.ctx.globalCompositeOperation=tn}}),Object.defineProperty(this,"globalAlpha",{get:function(){return this.ctx.globalAlpha},set:function(tn){this.ctx.globalAlpha=tn}}),Object.defineProperty(this,"lineDashOffset",{get:function(){return this.ctx.lineDashOffset},set:function(tn){this.ctx.lineDashOffset=tn,T.call(this)}}),Object.defineProperty(this,"lineDash",{get:function(){return this.ctx.lineDash},set:function(tn){this.ctx.lineDash=tn,T.call(this)}}),Object.defineProperty(this,"ignoreClearRect",{get:function(){return this.ctx.ignoreClearRect},set:function(tn){this.ctx.ignoreClearRect=!!tn}})};p.prototype.setLineDash=function(tn){this.lineDash=tn},p.prototype.getLineDash=function(){return this.lineDash.length%2?this.lineDash.concat(this.lineDash):this.lineDash.slice()},p.prototype.fill=function(){x.call(this,"fill",!1)},p.prototype.stroke=function(){x.call(this,"stroke",!1)},p.prototype.beginPath=function(){this.path=[{type:"begin"}]},p.prototype.moveTo=function(tn,ti){if(isNaN(tn)||isNaN(ti))throw th.error("jsPDF.context2d.moveTo: Invalid arguments",arguments),Error("Invalid arguments passed to jsPDF.context2d.moveTo");var ta=this.ctx.transform.applyToPoint(new tl(tn,ti));this.path.push({type:"mt",x:ta.x,y:ta.y}),this.ctx.lastPoint=new tl(tn,ti)},p.prototype.closePath=function(){var tn=new tl(0,0),ti=0;for(ti=this.path.length-1;-1!==ti;ti--)if("begin"===this.path[ti].type&&"object"===(0,to.Z)(this.path[ti+1])&&"number"==typeof this.path[ti+1].x){tn=new tl(this.path[ti+1].x,this.path[ti+1].y);break}this.path.push({type:"close"}),this.ctx.lastPoint=new tl(tn.x,tn.y)},p.prototype.lineTo=function(tn,ti){if(isNaN(tn)||isNaN(ti))throw th.error("jsPDF.context2d.lineTo: Invalid arguments",arguments),Error("Invalid arguments passed to jsPDF.context2d.lineTo");var ta=this.ctx.transform.applyToPoint(new tl(tn,ti));this.path.push({type:"lt",x:ta.x,y:ta.y}),this.ctx.lastPoint=new tl(ta.x,ta.y)},p.prototype.clip=function(){this.ctx.clip_path=JSON.parse(JSON.stringify(this.path)),x.call(this,null,!0)},p.prototype.quadraticCurveTo=function(tn,ti,ta,to){if(isNaN(ta)||isNaN(to)||isNaN(tn)||isNaN(ti))throw th.error("jsPDF.context2d.quadraticCurveTo: Invalid arguments",arguments),Error("Invalid arguments passed to
105jsPDF.context2d.quadraticCurveTo");var ts=this.ctx.transform.applyToPoint(new tl(ta,to)),tu=this.ctx.transform.applyToPoint(new tl(tn,ti));this.path.push({type:"qct",x1:tu.x,y1:tu.y,x:ts.x,y:ts.y}),this.ctx.lastPoint=new tl(ts.x,ts.y)},p.prototype.bezierCurveTo=function(tn,ti,ta,to,ts,tu){if(isNaN(ts)||isNaN(tu)||isNaN(tn)||isNaN(ti)||isNaN(ta)||isNaN(to))throw th.error("jsPDF.context2d.bezierCurveTo: Invalid arguments",arguments),Error("Invalid arguments passed to jsPDF.context2d.bezierCurveTo");var tc=this.ctx.transform.applyToPoint(new tl(ts,tu)),tf=this.ctx.transform.applyToPoint(new tl(tn,ti)),td=this.ctx.transform.applyToPoint(new tl(ta,to));this.path.push({type:"bct",x1:tf.x,y1:tf.y,x2:td.x,y2:td.y,x:tc.x,y:tc.y}),this.ctx.lastPoint=new tl(tc.x,tc.y)},p.prototype.arc=function(tn,ti,ta,to,ts,tu){if(isNaN(tn)||isNaN(ti)||isNaN(ta)||isNaN(to)||isNaN(ts))throw th.error("jsPDF.context2d.arc: Invalid arguments",arguments),Error("Invalid arguments passed to jsPDF.context2d.arc");if(tu=!!tu,!this.ctx.transform.isIdentity){var tc=this.ctx.transform.applyToPoint(new tl(tn,ti));tn=tc.x,ti=tc.y;var tf=this.ctx.transform.applyToPoint(new tl(0,ta)),td=this.ctx.transform.applyToPoint(new tl(0,0));ta=Math.sqrt(Math.pow(tf.x-td.x,2)+Math.pow(tf.y-td.y,2))}Math.abs(ts-to)>=2*Math.PI&&(to=0,ts=2*Math.PI),this.path.push({type:"arc",x:tn,y:ti,radius:ta,startAngle:to,endAngle:ts,counterclockwise:tu})},p.prototype.arcTo=function(tn,ti,ta,to,ts){throw Error("arcTo not implemented.")},p.prototype.rect=function(tn,ti,ta,to){if(isNaN(tn)||isNaN(ti)||isNaN(ta)||isNaN(to))throw th.error("jsPDF.context2d.rect: Invalid arguments",arguments),Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(tn,ti),this.lineTo(tn+ta,ti),this.lineTo(tn+ta,ti+to),this.lineTo(tn,ti+to),this.lineTo(tn,ti),this.lineTo(tn+ta,ti),this.lineTo(tn,ti)},p.prototype.fillRect=function(tn,ti,ta,to){if(isNaN(tn)||isNaN(ti)||isNaN(ta)||isNaN(to))throw th.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!m.call(this)){var ts={};"butt"!==this.lineCap&&(ts.lineCap=this.lineCap,this.lineCap="butt"),"miter"!==this.lineJoin&&(ts.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(tn,ti,ta,to),this.fill(),ts.hasOwnProperty("lineCap")&&(this.lineCap=ts.lineCap),ts.hasOwnProperty("lineJoin")&&(this.lineJoin=ts.lineJoin)}},p.prototype.strokeRect=function(tn,ti,ta,to){if(isNaN(tn)||isNaN(ti)||isNaN(ta)||isNaN(to))throw th.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),Error("Invalid arguments passed to jsPDF.context2d.strokeRect");v.call(this)||(this.beginPath(),this.rect(tn,ti,ta,to),this.stroke())},p.prototype.clearRect=function(tn,ti,ta,to){if(isNaN(tn)||isNaN(ti)||isNaN(ta)||isNaN(to))throw th.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(tn,ti,ta,to))},p.prototype.save=function(tn){tn="boolean"!=typeof tn||tn;for(var ti=this.pdf.internal.getCurrentPageInfo().pageNumber,ta=0;ta<this.pdf.internal.getNumberOfPages();ta++)this.pdf.setPage(ta+1),this.pdf.internal.out("q");if(this.pdf.setPage(ti),tn){this.ctx.fontSize=this.pdf.internal.getFontSize();var to=new d(this.ctx);this.ctxStack.push(this.ctx),this.ctx=to}},p.prototype.restore=function(tn){tn="boolean"!=typeof tn||tn;for(var ti=this.pdf.internal.getCurrentPageInfo().pageNumber,ta=0;ta<this.pdf.internal.getNumberOfPages();ta++)this.pdf.setPage(ta+1),this.pdf.internal.out("Q");this.pdf.setPage(ti),tn&&0!==this.ctxStack.length&&(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)},p.prototype.toDataURL=function(){throw Error("toDataUrl not implemented.")};var g=function(tn){var ti,ta,to,ts;if(!0===tn.isCanvasGradient&&(tn=tn.getColor()),!tn)return{r:0,g:0,b:0,a:0,style:tn};if(/transparent|rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*0+\s*\)/.test(tn))ti=0,ta=0,to=0,ts=0;else{var tu=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/.exec(tn);if(null!==tu)ti=parseInt(tu[1]),ta=parseInt(tu[2]),to=parseInt(tu[3]),ts=1;else if(null!==(tu=/rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d.]+)\s*\)/.exec(tn)))ti=parseInt(tu[1]),ta=parseInt(tu[2]),to=parseInt(tu[3]),ts=parseFloat(tu[4]);else{if(ts=1,"string"==typeof tn&&"#"!==tn.charAt(0)){var tc=new h(tn);tn=tc.ok?tc.toHex():"#000000"}4===tn.length?(ti=tn.substring(1,2),ti+=ti,ta=tn.substring(2,3),ta+=ta,to=tn.substring(3,4),to+=to):(ti=tn.substring(1,3),ta=tn.substring(3,5),to=tn.substring(5,7)),ti=parseInt(ti,16),ta=parseInt(ta,16),to=parseInt(to,16)}}return{r:ti,g:ta,b:to,a:ts,style:tn}},m=function(){return this.ctx.isFillTransparent||0==this.globalAlpha},v=function(){return!!(this.ctx.isStrokeTransparent||0==this.globalAlpha)};p.prototype.fillText=function(tn,ti,ta,to){if(isNaN(ti)||isNaN(ta)||"string"!=typeof tn)throw th.error("jsPDF.context2d.fillText: Invalid arguments",arguments),Error("Invalid arguments passed to
105jsPDF.context2d.fillText");if(to=isNaN(to)?void 0:to,!m.call(this)){var ts=E(this.ctx.transform.rotation);C.call(this,{text:tn,x:ti,y:ta,scale:this.ctx.transform.scaleX,angle:ts,align:this.textAlign,maxWidth:to})}},p.prototype.strokeText=function(tn,ti,ta,to){if(isNaN(ti)||isNaN(ta)||"string"!=typeof tn)throw th.error("jsPDF.context2d.strokeText: Invalid arguments",arguments),Error("Invalid arguments passed to jsPDF.context2d.strokeText");if(!v.call(this)){to=isNaN(to)?void 0:to;var ts=E(this.ctx.transform.rotation);C.call(this,{text:tn,x:ti,y:ta,scale:this.ctx.transform.scaleX,renderingMode:"stroke",angle:ts,align:this.textAlign,maxWidth:to})}},p.prototype.measureText=function(tn){if("string"!=typeof tn)throw th.error("jsPDF.context2d.measureText: Invalid arguments",arguments),Error("Invalid arguments passed to jsPDF.context2d.measureText");var ti=this.pdf,ta=this.pdf.internal.scaleFactor,to=ti.internal.getFontSize(),ts=ti.getStringUnitWidth(tn)*to/ti.internal.scaleFactor;return new function(tn){var ti=(tn=tn||{}).width||0;return Object.defineProperty(this,"width",{get:function(){return ti}}),this}({width:ts*=Math.round(96*ta/72*1e4)/1e4})},p.prototype.scale=function(tn,ti){if(isNaN(tn)||isNaN(ti))throw th.error("jsPDF.context2d.scale: Invalid arguments",arguments),Error("Invalid arguments passed to jsPDF.context2d.scale");var ta=new td(tn,0,0,ti,0,0);this.ctx.transform=this.ctx.transform.multiply(ta)},p.prototype.rotate=function(tn){if(isNaN(tn))throw th.error("jsPDF.context2d.rotate: Invalid arguments",arguments),Error("Invalid arguments passed to jsPDF.context2d.rotate");var ti=new td(Math.cos(tn),Math.sin(tn),-Math.sin(tn),Math.cos(tn),0,0);this.ctx.transform=this.ctx.transform.multiply(ti)},p.prototype.translate=function(tn,ti){if(isNaN(tn)||isNaN(ti))throw th.error("jsPDF.context2d.translate: Invalid arguments",arguments),Error("Invalid arguments passed to jsPDF.context2d.translate");var ta=new td(1,0,0,1,tn,ti);this.ctx.transform=this.ctx.transform.multiply(ta)},p.prototype.transform=function(tn,ti,ta,to,ts,tu){if(isNaN(tn)||isNaN(ti)||isNaN(ta)||isNaN(to)||isNaN(ts)||isNaN(tu))throw th.error("jsPDF.context2d.transform: Invalid arguments",arguments),Error("Invalid arguments passed to jsPDF.context2d.transform");var tc=new td(tn,ti,ta,to,ts,tu);this.ctx.transform=this.ctx.transform.multiply(tc)},p.prototype.setTransform=function(tn,ti,ta,to,ts,tu){tn=isNaN(tn)?1:tn,ti=isNaN(ti)?0:ti,ta=isNaN(ta)?0:ta,to=isNaN(to)?1:to,ts=isNaN(ts)?0:ts,tu=isNaN(tu)?0:tu,this.ctx.transform=new td(tn,ti,ta,to,ts,tu)};var b=function(){return this.margin[0]>0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};p.prototype.drawImage=function(tn,ti,ta,to,ts,tu,tc,tl,th){var tp=this.pdf.getImageProperties(tn),tg=1,tm=1,tv=1,tb=1;void 0!==to&&void 0!==tl&&(tv=tl/to,tb=th/ts,tg=tp.width/to*tl/to,tm=tp.height/ts*th/ts),void 0===tu&&(tu=ti,tc=ta,ti=0,ta=0),void 0!==to&&void 0===tl&&(tl=to,th=ts),void 0===to&&void 0===tl&&(tl=tp.width,th=tp.height);var ty=this.ctx.transform.decompose(),tw=E(ty.rotate.shx),tN=new td,tL=(tN=(tN=(tN=tN.multiply(ty.translate)).multiply(ty.skew)).multiply(ty.scale)).applyToRectangle(new tf(tu-ti*tv,tc-ta*tb,to*tg,ts*tm));if(this.autoPaging){for(var tx,tA=y.call(this,tL),tS=[],t_=0;t_<tA.length;t_+=1)-1===tS.indexOf(tA[t_])&&tS.push(tA[t_]);L(tS);for(var tP=tS[0],tk=tS[tS.length-1],tF=tP;tF<tk+1;tF++){this.pdf.setPage(tF);var tI=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],tj=1===tF?this.posY+this.margin[0]:this.margin[0],tC=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],tE=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],tO=1===tF?0:tC+(tF-2)*tE;if(0!==this.ctx.clip_path.length){var tB=this.path;tx=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=N(tx,this.posX+this.margin[3],-tO+tj+this.ctx.prevPageLastElemOffset),A.call(this,"fill",!0),this.path=tB}var tM=JSON.parse(JSON.stringify(tL));tM=N([tM],this.posX+this.margin[3],-tO+tj+this.ctx.prevPageLastElemOffset)[0];var tq=(tF>tP||tF<tk)&&b.call(this);tq&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],tI,tE,null).clip().discardPath()),this.pdf.addImage(tn,"JPEG",tM.x,tM.y,tM.w,tM.h,null,null,tw),tq&&this.pdf.restoreGraphicsState()}}else this.pdf.addImage(tn,"JPEG",tL.x,tL.y,tL.w,tL.h,null,null,tw)};var y=function(tn,ti,ta){var to=[];ti=ti||this.pdf.internal.pageSize.width,ta=ta||this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2];var ts=this.posY+this.ctx.prevPageLastElemOffset;switch(tn.type){default:case"mt":case"lt":to.push(Math.floor((tn.y+ts)/ta)+1);break;case"arc":to.push(Math.floor((tn.y+ts-tn.radius)/ta)+1),to.push(Math.floor((tn.y+ts+tn.radius)/ta)+1);break;case"qct":var tu=R(this.ctx.lastPoint.x,this.ctx.lastPoint.y,tn.x1,tn.y1,tn.x,tn.y);to.push(Math.floor((tu.y+ts)/ta)+1),to.push(Math.floor((tu.y+tu.h+ts)/ta)+1);break;case"bct":var tc=D(this.ctx.lastPoint.x,this.ctx.lastPoint.y,tn.x1,tn.y1,tn.x2,tn.y2,tn.x,tn.y);to.push(Math.floor((tc.y+ts)/ta)+1),to.push(Math.floor((tc.y+tc.h+ts)/ta)+1);break;
vendor: 9,013 bytes, line 105
105case"rect":to.push(Math.floor((tn.y+ts)/ta)+1),to.push(Math.floor((tn.y+tn.h+ts)/ta)+1)}for(var tl=0;tl<to.length;tl+=1)for(;this.pdf.internal.getNumberOfPages()<to[tl];)w.call(this);return to},w=function(){var tn=this.fillStyle,ti=this.strokeStyle,ta=this.font,to=this.lineCap,ts=this.lineWidth,tu=this.lineJoin;this.pdf.addPage(),this.fillStyle=tn,this.strokeStyle=ti,this.font=ta,this.lineCap=to,this.lineWidth=ts,this.lineJoin=tu},N=function(tn,ti,ta){for(var to=0;to<tn.length;to++)switch(tn[to].type){case"bct":tn[to].x2+=ti,tn[to].y2+=ta;case"qct":tn[to].x1+=ti,tn[to].y1+=ta;default:tn[to].x+=ti,tn[to].y+=ta}return tn},L=function(tn){return tn.sort(function(tn,ti){return tn-ti})},x=function(tn,ti){var ta=this.fillStyle,to=this.strokeStyle,ts=this.lineCap,tu=this.lineWidth,tc=Math.abs(tu*this.ctx.transform.scaleX),tl=this.lineJoin;if(this.autoPaging){for(var th,tf,td=JSON.parse(JSON.stringify(this.path)),tp=JSON.parse(JSON.stringify(this.path)),tg=[],tm=0;tm<tp.length;tm++)if(void 0!==tp[tm].x)for(var tv=y.call(this,tp[tm]),tb=0;tb<tv.length;tb+=1)-1===tg.indexOf(tv[tb])&&tg.push(tv[tb]);for(var ty=0;ty<tg.length;ty++)for(;this.pdf.internal.getNumberOfPages()<tg[ty];)w.call(this);L(tg);for(var tw=tg[0],tN=tg[tg.length-1],tL=tw;tL<tN+1;tL++){this.pdf.setPage(tL),this.fillStyle=ta,this.strokeStyle=to,this.lineCap=ts,this.lineWidth=tc,this.lineJoin=tl;var tx=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],tA=1===tL?this.posY+this.margin[0]:this.margin[0],tS=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],t_=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],tP=1===tL?0:tS+(tL-2)*t_;if(0!==this.ctx.clip_path.length){var tk=this.path;th=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=N(th,this.posX+this.margin[3],-tP+tA+this.ctx.prevPageLastElemOffset),A.call(this,tn,!0),this.path=tk}if(tf=JSON.parse(JSON.stringify(td)),this.path=N(tf,this.posX+this.margin[3],-tP+tA+this.ctx.prevPageLastElemOffset),!1===ti||0===tL){var tF=(tL>tw||tL<tN)&&b.call(this);tF&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],tx,t_,null).clip().discardPath()),A.call(this,tn,ti),tF&&this.pdf.restoreGraphicsState()}this.lineWidth=tu}this.path=td}else this.lineWidth=tc,A.call(this,tn,ti),this.lineWidth=tu},A=function(tn,ti){if(("stroke"!==tn||ti||!v.call(this))&&("stroke"===tn||ti||!m.call(this))){for(var ta,to,ts=[],tu=this.path,tc=0;tc<tu.length;tc++){var tl=tu[tc];switch(tl.type){case"begin":ts.push({begin:!0});break;case"close":ts.push({close:!0});break;case"mt":ts.push({start:tl,deltas:[],abs:[]});break;case"lt":var th=ts.length;if(tu[tc-1]&&!isNaN(tu[tc-1].x)&&(ta=[tl.x-tu[tc-1].x,tl.y-tu[tc-1].y],th>0)){for(;th>=0;th--)if(!0!==ts[th-1].close&&!0!==ts[th-1].begin){ts[th-1].deltas.push(ta),ts[th-1].abs.push(tl);break}}break;case"bct":ta=[tl.x1-tu[tc-1].x,tl.y1-tu[tc-1].y,tl.x2-tu[tc-1].x,tl.y2-tu[tc-1].y,tl.x-tu[tc-1].x,tl.y-tu[tc-1].y],ts[ts.length-1].deltas.push(ta);break;case"qct":var tf=tu[tc-1].x+2/3*(tl.x1-tu[tc-1].x),td=tu[tc-1].y+2/3*(tl.y1-tu[tc-1].y),tp=tl.x+2/3*(tl.x1-tl.x),tg=tl.y+2/3*(tl.y1-tl.y),tm=tl.x,tv=tl.y;ta=[tf-tu[tc-1].x,td-tu[tc-1].y,tp-tu[tc-1].x,tg-tu[tc-1].y,tm-tu[tc-1].x,tv-tu[tc-1].y],ts[ts.length-1].deltas.push(ta);break;case"arc":ts.push({deltas:[],abs:[],arc:!0}),Array.isArray(ts[ts.length-1].abs)&&ts[ts.length-1].abs.push(tl)}}to=ti?null:"stroke"===tn?"stroke":"fill";for(var tb=!1,ty=0;ty<ts.length;ty++)if(ts[ty].arc)for(var tw=ts[ty].abs,tN=0;tN<tw.length;tN++){var tL=tw[tN];"arc"===tL.type?P.call(this,tL.x,tL.y,tL.radius,tL.startAngle,tL.endAngle,tL.counterclockwise,void 0,ti,!tb):j.call(this,tL.x,tL.y),tb=!0}else if(!0===ts[ty].close)this.pdf.internal.out("h"),tb=!1;else if(!0!==ts[ty].begin){var tx=ts[ty].start.x,tA=ts[ty].start.y;O.call(this,ts[ty].deltas,tx,tA),tb=!0}to&&k.call(this,to),ti&&F.call(this)}},S=function(tn){var ti=this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor,ta=ti*(this.pdf.internal.getLineHeightFactor()-1);switch(this.ctx.textBaseline){case"bottom":return tn-ta;case"top":return tn+ti-ta;case"hanging":return tn+ti-2*ta;case"middle":return tn+ti/2-ta;default:return tn}},_=function(tn){return tn+this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor*(this.pdf.internal.getLineHeightFactor()-1)};p.prototype.createLinearGradient=function(){var t=function(){};return t.colorStops=[],t.addColorStop=function(tn,ti){this.colorStops.push([tn,ti])},t.getColor=function(){return 0===this.colorStops.length?"#000000":this.colorStops[0][1]},t.isCanvasGradient=!0,t},p.prototype.createPattern=function(){return this.createLinearGradient()},p.prototype.createRadialGradient=function(){return this.createLinearGradient()};var P=function(tn,ti,ta,to,ts,tu,tc,tl,th){for(var tf=M.call(this,ta,to,ts,tu),td=0;td<tf.length;td++){var tp=tf[td];0===td&&(th?I.call(this,tp.x1+tn,tp.y1+ti):j.call(this,tp.x1+tn,tp.y1+ti)),B.call(this,tn,ti,tp.x2,tp.y2,tp.x3,tp.y3,tp.x4,tp.y4)}tl?F.call(this):k.call(this,tc)},k=function(tn){switch(tn){case"stroke":this.pdf.internal.out("S");break;case"fill":this.pdf.internal.out("f")}},F=function(){this.pdf.clip(),this.pdf.discardPath()},I=function(tn,ti){this.pdf.internal.out(ta(tn)+" "+ts(ti)+" m")},C=function(tn){switch(tn.align){case"right":case"end":ti="right";break;case"center":ti="center";break;default:ti="left"}var ti,ta,to,ts,tu=this.pdf.getTextDimensions(tn.text),tc=S.call(this,tn.y),th=_.call(this,tc)-tu.h,tp=this.ctx.transform.applyToPoint(new tl(tn.x,tc));if(this.autoPaging){var tg=this.ctx.transform.decompose(),tm=new td;tm=(tm=(tm=tm.multiply(tg.translate)).multiply(tg.skew)).multiply(tg.scale);for(var tv=this.ctx.transform.applyToRectangle(new tf(tn.x,tc,tu.w,tu.h)),tb=tm.applyToRectangle(new tf(tn.x,th,tu.w,tu.h)),ty=y.call(this,tb),tw=[],tN=0;tN<ty.length;tN+=1)-1===tw.indexOf(ty[tN])&&tw.push(ty[tN]);L(tw);for(var tL=tw[0],tx=tw[tw.length-1],tA=tL;tA<tx+1;tA++){this.pdf.setPage(tA);var tS=1===tA?this.posY+this.margin[0]:this.margin[0],t_=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],tP=this.pdf.internal.pageSize.height-this.margin[2],tk=tP-this.margin[0],tF=this.pdf.internal.pageSize.width-this.margin[1],tI=tF-this.margin[3],tj=1===tA?0:t_+(tA-2)*tk;if(0!==this.ctx.clip_path.length){var tC=this.path;ta=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=N(ta,this.posX+this.margin[3],-1*tj+tS),A.call(this,"fill",!0),this.path=tC}var tE=N([JSON.parse(JSON.stringify(tb))],this.posX+this.margin[3],-tj+tS+this.ctx.prevPageLastElemOffset)[0];tn.scale>=.01&&(to=this.pdf.internal.getFontSize(),this.pdf.setFontSize(to*tn.scale),ts=this.lineWidth,this.lineWidth=ts*tn.scale);var tO="text"!==this.autoPaging;if(tO||tE.y+tE.h<=tP){if(tO||tE.y>=tS&&tE.x<=tF){var tB=tO?tn.text:this.pdf.splitTextToSize(tn.text,tn.maxWidth||tF-tE.x)[0],tM=N([JSON.parse(JSON.stringify(tv))],this.posX+this.margin[3],-tj+tS+this.ctx.prevPageLastElemOffset)[0],tq=tO&&(tA>tL||tA<tx)&&b.call(this);tq&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],tI,tk,null).clip().discardPath()),this.pdf.text(tB,tM.x,tM.y,{angle:tn.angle,align:ti,renderingMode:tn.renderingMode}),tq&&this.pdf.restoreGraphicsState()}}else tE.y<tP&&(this.ctx.prevPageLastElemOffset+=tP-tE.y);tn.scale>=.01&&(this.pdf.setFontSize(to),this.lineWidth=ts)}}else tn.scale>=.01&&(to=this.pdf.internal.getFontSize(),this.pdf.setFontSize(to*tn.scale),ts=this.lineWidth,this.lineWidth=ts*tn.scale),this.pdf.text(tn.text,tp.x+this.posX,tp.y+this.posY,{angle:tn.angle,align:ti,renderingMode:tn.renderingMode,maxWidth:tn.maxWidth}),tn.scale>=.01&&(this.pdf.setFontSize(to),this.lineWidth=ts)},j=function(tn,ti,to,tu){to=to||0,tu=tu||0,this.pdf.internal.out(ta(tn+to)+" "+ts(ti+tu)+" l")},O=function(tn,ti,ta){return this.pdf.lines(tn,ti,ta,null,null)},B=function(tn,ta,to,ts,tl,th,tf,td){this.pdf.internal.out([ti(tu(to+tn)),ti(tc(ts+ta)),ti(tu(tl+tn)),ti(tc(th+ta)),ti(tu(tf+tn)),ti(tc(td+ta)),"c"].join(" "))},M=function(tn,ti,ta,to){for(var ts=2*Math.PI,tu=Math.PI/2;ti>ta;)ti-=ts;var tc=Math.abs(ta-ti);tc<ts&&to&&(tc=ts-tc);for(var tl=[],th=to?-1:1,tf=ti;tc>1e-5;){var td=tf+th*Math.min(tc,tu);tl.push(q.call(this,tn,tf,td)),tc-=Math.abs(td-tf),tf=td}return tl},q=function(tn,ti,ta){var to=(ta-ti)/2,ts=tn*Math.cos(to),tu=tn*Math.sin(to),tc=-tu,tl=ts*ts+tc*tc,th=tl+ts*ts+tc*tu,tf=4/3*(Math.sqrt(2*tl*th)-th)/(ts*tu-tc*ts),td=ts-tf*tc,tp=tc+tf*ts,tg=-tp,tm=to+ti,tv=Math.cos(tm),tb=Math.sin(tm);return{x1:tn*Math.cos(ti),y1:tn*Math.sin(ti),x2:td*tv-tp*tb,y2:td*tb+tp*tv,x3:td*tv-tg*tb,y3:td*tb+tg*tv,x4:tn*Math.cos(ta),y4:tn*Math.sin(ta)}},E=function(tn){return 180*tn/Math.PI},R=function(tn,ti,ta,to,ts,tu){var tc=tn+.5*(ta-tn),tl=ti+.5*(to-ti),th=ts+.5*(ta-ts),td=tu+.5*(to-tu),tp=Math.min(tn,ts,tc,th),tg=Math.max(tn,ts,tc,th),tm=Math.min(ti,tu,tl,td),tv=Math.max(ti,tu,tl,td);return new tf(tp,tm,tg-tp,tv-tm)},D=function(tn,ti,ta,to,ts,tu,tc,tl){var th,td,tp,tg,tm,tv,tb,ty,tw,tN,tL,tx,tA,tS,t_=ta-tn,tP=to-ti,tk=ts-ta,tF=tu-to,tI=tc-ts,tj=tl-tu;
vendor: 1,414 bytes, line 105
105for(td=0;td<41;td++)tw=(tb=(tp=tn+(th=td/40)*t_)+th*((tm=ta+th*tk)-tp))+th*(tm+th*(ts+th*tI-tm)-tb),tN=(ty=(tg=ti+th*tP)+th*((tv=to+th*tF)-tg))+th*(tv+th*(tu+th*tj-tv)-ty),0==td?(tL=tw,tx=tN,tA=tw,tS=tN):(tL=Math.min(tL,tw),tx=Math.min(tx,tN),tA=Math.max(tA,tw),tS=Math.max(tS,tN));return new tf(Math.round(tL),Math.round(tx),Math.round(tA-tL),Math.round(tS-tx))},T=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var tn=JSON.stringify({lineDash:this.ctx.lineDash,lineDashOffset:this.ctx.lineDashOffset});this.prevLineDash!==tn&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=tn)}}}(E.API),eL=E.API,ex=function(tn){var ti,ta,to,ts,tu,tc,tl,th,tf,td;for(/[^\x00-\xFF]/.test(tn),ta=[],to=0,ts=(tn+=ti="\x00\x00\x00\x00".slice(tn.length%4||4)).length;ts>to;to+=4)0!==(tu=(tn.charCodeAt(to)<<24)+(tn.charCodeAt(to+1)<<16)+(tn.charCodeAt(to+2)<<8)+tn.charCodeAt(to+3))?(tc=(tu=((tu=((tu=((tu=(tu-(td=tu%85))/85)-(tf=tu%85))/85)-(th=tu%85))/85)-(tl=tu%85))/85)%85,ta.push(tc+33,tl+33,th+33,tf+33,td+33)):ta.push(122);return function(tn,ti){for(var ta=ti;ta>0;ta--)tn.pop()}(ta,ti.length),String.fromCharCode.apply(String,ta)+"~>"},eA=function(tn){var ti,ta,to,ts,tu,tc=String,tl="length",th="charCodeAt",tf="slice",td="replace";for(tn[tf](-2),tn=tn[tf](0,-2)[td](/\s/g,"")[td]("z","!!!!!"),to=[],ts=0,tu=(tn+=ti="uuuuu"[tf](tn[tl]%5||5))[tl];tu>ts;
105ts+=5)ta=52200625*(tn[th](ts)-33)+614125*(tn[th](ts+1)-33)+7225*(tn[th](ts+2)-33)+85*(tn[th](ts+3)-33)+(tn[th](ts+4)-33),to.push(255&ta>>24,255&ta>>16,255&ta>>8,255&ta);return function(tn,ti){for(var ta=ti;ta>0;ta--)tn.pop()}(to,ti[tl]),tc.fromCharCode.apply(tc,to)},eS=function(tn){var ti=new RegExp(/^([0-9A-Fa-f]{2})+$/);if(-1!==(tn=tn.replace(/\s/g,"")).indexOf(">")&&(tn=tn.substr(0,tn.indexOf(">"))),tn.length%2&&(tn+="0"),!1===ti.test(tn))return"";for(var ta="",to=0;to<tn.length;to+=2)ta+=String.fromCharCode("0x"+(tn[to]+tn[to+1]));return ta},e_=function(tn){for(var ti=new Uint8Array(tn.length),ta=tn.length;ta--;)ti[ta]=tn.charCodeAt(ta);return(ti=(0,ts.iZ)(ti)).reduce(function(tn,ti){return tn+String.fromCharCode(ti)},"")},eL.processDataByFilters=function(tn,ti){var ta=0,to=tn||"",ts=[];for("string"==typeof(ti=ti||[])&&(ti=[ti]),ta=0;ta<ti.length;ta+=1)switch(ti[ta]){case"ASCII85Decode":case"/ASCII85Decode":to=eA(to),ts.push("/ASCII85Encode");break;case"ASCII85Encode":case"/ASCII85Encode":to=ex(to),ts.push("/ASCII85Decode");break;case"ASCIIHexDecode":case"/ASCIIHexDecode":to=eS(to),ts.push("/ASCIIHexEncode");break;case"ASCIIHexEncode":case"/ASCIIHexEncode":to=to.split("").map(function(tn){return("0"+tn.charCodeAt().toString(16)).slice(-2)}).join("")+">",ts.push("/ASCIIHexDecode");break;case"FlateEncode":case"/FlateEncode":to=e_(to),ts.push("/FlateDecode");break;default:throw Error('The filter: "'+ti[ta]+'" is not implemented')}return{data:to,reverseChain:ts.reverse().join(" ")}},(eP=E.API).loadFile=function(tn,ti,ta){return function(tn,ti,ta){ti=!1!==ti,ta="function"==typeof ta?ta:function(){};var to=void 0;try{to=function(tn,ti,ta){var to=new XMLHttpRequest,ts=0,a=function(tn){var ti=tn.length,ta=[],to=String.fromCharCode;for(ts=0;ts<ti;ts+=1)ta.push(to(255&tn.charCodeAt(ts)));return ta.join("")};if(to.open("GET",tn,!ti),to.overrideMimeType("text/plain; charset=x-user-defined"),!1===ti&&(to.onload=function(){200===to.status?ta(a(this.responseText)):ta(void 0)}),to.send(null),ti&&200===to.status)return a(to.responseText)}(tn,ti,ta)}catch(tn){}return to}(tn,ti,ta)},eP.allowFsRead=void 0,eP.loadImageFile=eP.loadFile,function(tn){function r(){return(tl.html2canvas?Promise.resolve(tl.html2canvas):ta.e(5443).then(ta.t.bind(ta,61120,23))).catch(function(tn){return Promise.reject(Error("Could not load html2canvas: "+tn))}).then(function(tn){return tn.default?tn.default:tn})}function n(){return(tl.DOMPurify?Promise.resolve(tl.DOMPurify):ta.e(2424).then(ta.bind(ta,22424))).catch(function(tn){return Promise.reject(Error("Could not load dompurify: "+tn))}).then(function(tn){return tn.default?tn.default:tn})}var a=function(tn){var ti=(0,to.Z)(tn);return"undefined"===ti?"undefined":"string"===ti||tn instanceof String?"string":"number"===ti||tn instanceof Number?"number":"function"===ti||tn instanceof Function?"function":tn&&tn.constructor===Array?"array":tn&&1===tn.nodeType?"element":"object"===ti?"object":"unknown"},o=function(tn,ti){var ta=document.createElement(tn);for(var to in ti.className&&(ta.className=ti.className),ti.innerHTML&&ti.dompurify&&(ta.innerHTML=ti.dompurify.sanitize(ti.innerHTML)),ti.style)ta.style[to]=ti.style[to];return ta},s=function t(tn,ti){for(var ta=3===tn.nodeType?document.createTextNode(tn.nodeValue):tn.cloneNode(!1),to=tn.firstChild;to;to=to.nextSibling)!0!==ti&&1===to.nodeType&&"SCRIPT"===to.nodeName||ta.appendChild(t(to,ti));return 1===tn.nodeType&&("CANVAS"===tn.nodeName?(ta.width=tn.width,ta.height=tn.height,ta.getContext("2d").drawImage(tn,0,0)):"TEXTAREA"!==tn.nodeName&&"SELECT"!==tn.nodeName||(ta.value=tn.value),ta.addEventListener("load",function(){ta.scrollTop=tn.scrollTop,ta.scrollLeft=tn.scrollLeft},!0)),ta},u=function t(tn){var ti=Object.assign(t.convert(Promise.resolve()),JSON.parse(JSON.stringify(t.template))),ta=t.convert(Promise.resolve(),ti);return(ta=ta.setProgress(1,t,1,[t])).set(tn)};(u.prototype=Object.create(Promise.prototype)).constructor=u,u.convert=function(tn,ti){return tn.__proto__=ti||u.prototype,tn},u.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"}},u.prototype.from=function(tn,ti){return this.then(function(){switch(ti=ti||function(tn){switch(a(tn)){case"string":return"string";case"element":return"canvas"===tn.nodeName.toLowerCase()?"canvas":"element";default:return"unknown"}}(tn)){case"string":return this.then(n).then(function(ti){return this.set({src:o("div",{innerHTML:tn,dompurify:ti})})});case"element":return this.set({src:tn});case"canvas":return this.set({canvas:tn});case"img":return this.set({img:tn});default:return this.error("Unknown source type.")}})},u.prototype.to=function(tn){switch(tn){case"container":return this.toContainer();case"canvas":return this.toCanvas();case"img":return this.toImg();
vendor: 4,241 bytes, line 105
105case"pdf":return this.toPdf();default:return this.error("Invalid target.")}},u.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 tn={position:"relative",display:"inline-block",width:("number"!=typeof this.opt.width||isNaN(this.opt.width)||"number"!=typeof this.opt.windowWidth||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},ti=s(this.prop.src,this.opt.html2canvas.javascriptEnabled);"BODY"===ti.tagName&&(tn.height=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight)+"px"),this.prop.overlay=o("div",{className:"html2pdf__overlay",style:{position:"fixed",overflow:"hidden",zIndex:1e3,left:"-100000px",right:0,bottom:0,top:0}}),this.prop.container=o("div",{className:"html2pdf__container",style:tn}),this.prop.container.appendChild(ti),this.prop.container.firstChild.appendChild(o("div",{style:{clear:"both",border:"0 none transparent",margin:0,padding:0,height:0}})),this.prop.container.style.float="none",this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay),this.prop.container.firstChild.style.position="relative",this.prop.container.height=Math.max(this.prop.container.firstChild.clientHeight,this.prop.container.firstChild.scrollHeight,this.prop.container.firstChild.offsetHeight)+"px"})},u.prototype.toCanvas=function(){var tn=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(tn).then(r).then(function(tn){var ti=Object.assign({},this.opt.html2canvas);return delete ti.onrendered,tn(this.prop.container,ti)}).then(function(tn){(this.opt.html2canvas.onrendered||function(){})(tn),this.prop.canvas=tn,document.body.removeChild(this.prop.overlay)})},u.prototype.toContext2d=function(){var tn=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(tn).then(r).then(function(tn){var ti=this.opt.jsPDF,ta=this.opt.fontFaces,to=Object.assign({async:!0,allowTaint:!0,scale:"number"!=typeof this.opt.width||isNaN(this.opt.width)||"number"!=typeof this.opt.windowWidth||isNaN(this.opt.windowWidth)?1:this.opt.width/this.opt.windowWidth,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 to.onrendered,ti.context2d.autoPaging=void 0===this.opt.autoPaging||this.opt.autoPaging,ti.context2d.posX=this.opt.x,ti.context2d.posY=this.opt.y,ti.context2d.margin=this.opt.margin,ti.context2d.fontFaces=ta,ta)for(var ts=0;ts<ta.length;++ts){var tu=ta[ts],tc=tu.src.find(function(tn){return"truetype"===tn.format});tc&&ti.addFont(tc.url,tu.ref.name,tu.ref.style)}return to.windowHeight=to.windowHeight||0,to.windowHeight=0==to.windowHeight?Math.max(this.prop.container.clientHeight,this.prop.container.scrollHeight,this.prop.container.offsetHeight):to.windowHeight,ti.context2d.save(!0),tn(this.prop.container,to)}).then(function(tn){this.opt.jsPDF.context2d.restore(!0),(this.opt.html2canvas.onrendered||function(){})(tn),this.prop.canvas=tn,document.body.removeChild(this.prop.overlay)})},u.prototype.toImg=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()}]).then(function(){var tn=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=tn})},u.prototype.toPdf=function(){return this.thenList([function(){return this.toContext2d()}]).then(function(){this.prop.pdf=this.prop.pdf||this.opt.jsPDF})},u.prototype.output=function(tn,ti,ta){return"img"===(ta=ta||"pdf").toLowerCase()||"image"===ta.toLowerCase()?this.outputImg(tn,ti):this.outputPdf(tn,ti)},u.prototype.outputPdf=function(tn,ti){return this.thenList([function(){return this.prop.pdf||this.toPdf(
vendor: 5,802 bytes, line 105
105)}]).then(function(){return this.prop.pdf.output(tn,ti)})},u.prototype.outputImg=function(tn){return this.thenList([function(){return this.prop.img||this.toImg()}]).then(function(){switch(tn){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 "'+tn+'" is not supported.'}})},u.prototype.save=function(tn){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).set(tn?{filename:tn}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},u.prototype.doCallback=function(){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){this.prop.callback(this.prop.pdf)})},u.prototype.set=function(tn){if("object"!==a(tn))return this;var ti=Object.keys(tn||{}).map(function(ti){if(ti in u.template.prop)return function(){this.prop[ti]=tn[ti]};switch(ti){case"margin":return this.setMargin.bind(this,tn.margin);case"jsPDF":return function(){return this.opt.jsPDF=tn.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,tn.pageSize);default:return function(){this.opt[ti]=tn[ti]}}},this);return this.then(function(){return this.thenList(ti)})},u.prototype.get=function(tn,ti){return this.then(function(){var ta=tn in u.template.prop?this.prop[tn]:this.opt[tn];return ti?ti(ta):ta})},u.prototype.setMargin=function(tn){return this.then(function(){switch(a(tn)){case"number":tn=[tn,tn,tn,tn];case"array":if(2===tn.length&&(tn=[tn[0],tn[1],tn[0],tn[1]]),4===tn.length)break;default:return this.error("Invalid margin array.")}this.opt.margin=tn}).then(this.setPageSize)},u.prototype.setPageSize=function(tn){function e(tn,ti){return Math.floor(tn*ti/72*96)}return this.then(function(){(tn=tn||E.getPageSize(this.opt.jsPDF)).hasOwnProperty("inner")||(tn.inner={width:tn.width-this.opt.margin[1]-this.opt.margin[3],height:tn.height-this.opt.margin[0]-this.opt.margin[2]},tn.inner.px={width:e(tn.inner.width,tn.k),height:e(tn.inner.height,tn.k)},tn.inner.ratio=tn.inner.height/tn.inner.width),this.prop.pageSize=tn})},u.prototype.setProgress=function(tn,ti,ta,to){return null!=tn&&(this.progress.val=tn),null!=ti&&(this.progress.state=ti),null!=ta&&(this.progress.n=ta),null!=to&&(this.progress.stack=to),this.progress.ratio=this.progress.val/this.progress.state,this},u.prototype.updateProgress=function(tn,ti,ta,to){return this.setProgress(tn?this.progress.val+tn:null,ti||null,ta?this.progress.n+ta:null,to?this.progress.stack.concat(to):null)},u.prototype.then=function(tn,ti){var ta=this;return this.thenCore(tn,ti,function(tn,ti){return ta.updateProgress(null,null,1,[tn]),Promise.prototype.then.call(this,function(ti){return ta.updateProgress(null,tn),ti}).then(tn,ti).then(function(tn){return ta.updateProgress(1),tn})})},u.prototype.thenCore=function(tn,ti,ta){ta=ta||Promise.prototype.then,tn&&(tn=tn.bind(this)),ti&&(ti=ti.bind(this));var to=-1!==Promise.toString().indexOf("[native code]")&&"Promise"===Promise.name?this:u.convert(Object.assign({},this),Promise.prototype),ts=ta.call(to,tn,ti);return u.convert(ts,this.__proto__)},u.prototype.thenExternal=function(tn,ti){return Promise.prototype.then.call(this,tn,ti)},u.prototype.thenList=function(tn){var ti=this;return tn.forEach(function(tn){ti=ti.thenCore(tn)}),ti},u.prototype.catch=function(tn){tn&&(tn=tn.bind(this));var ti=Promise.prototype.catch.call(this,tn);return u.convert(ti,this)},u.prototype.catchExternal=function(tn){return Promise.prototype.catch.call(this,tn)},u.prototype.error=function(tn){return this.then(function(){throw Error(tn)})},u.prototype.using=u.prototype.set,u.prototype.saveAs=u.prototype.save,u.prototype.export=u.prototype.output,u.prototype.run=u.prototype.then,E.getPageSize=function(tn,ti,ta){if("object"===(0,to.Z)(tn)){var ts=tn;tn=ts.orientation,ti=ts.unit||ti,ta=ts.format||ta}ti=ti||"mm",ta=ta||"a4",tn=(""+(tn||"P")).toLowerCase();var tu,tc=(""+ta).toLowerCase(),tl={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(ti){case"pt":tu=1;break;case"mm":tu=72/25.4;break;case"cm":tu=72/2.54;break;case"in":tu=72;break;case"px":tu=.75;break;case"pc":case"em":tu=12;break;case"ex":tu=6;break;default:throw"Invalid unit: "+ti}var th,tf=0,td=0;if(tl.hasOwnProperty(tc))tf=tl[tc][1]/tu,td=tl[tc][0]/tu;else try{tf=ta[1],td=ta[0]}catch(tn){throw Error("Invalid format: "+ta)}if("p"===tn||"portrait"===tn)tn="p",td>tf&&(th=td,td=tf,tf=th);else{if("l"!==tn&&"landscape"!==tn)throw"Invalid orientation: "+tn;tn="l",tf>td&&(th=td,td=tf,tf=th)}return{width:td,height:tf,unit:ti,k:tu,orientation:tn}},tn.html=function(tn,ti){(ti=ti||{}).callback=ti.callback||function(){},ti.html2canvas=ti.html2canvas||{},ti.html2canvas.canvas=ti.html2canvas.canvas||this.canvas,ti.jsPDF=ti.jsPDF||this,ti.fontFaces=ti.fontFaces?ti.fontFaces.map(Ot):null;var ta=new u(ti);return ti.worker?ta:ta.from(tn).doCallback()}}(E.API),E.API.addJS=function(tn){var ti,ta,to=function(tn){for(var ti="",ta=0;ta<tn.length;ta++){var to=tn[ta];
105if("("===to||")"===to){for(var ts=0,tu=ta-1;tu>=0&&"\\"===tn[tu];tu--)ts++;ti+=ts%2==0?"\\"+to:to}else ti+=to}return ti}(tn);return this.internal.events.subscribe("postPutResources",function(){ti=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(ti+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),ta=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+to+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){void 0!==ti&&void 0!==ta&&this.internal.out("/Names <</JavaScript "+ti+" 0 R>>")}),this},(ek=E.API).events.push(["postPutResources",function(){var tn=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var ti=this.outline.render().split(/\r\n/),ta=0;ta<ti.length;ta++){var to=ti[ta],ts=tn.exec(to);if(null!=ts){var tu=ts[1];this.internal.newObjectDeferredBegin(tu,!1)}this.internal.write(to)}if(this.outline.createNamedDestinations){var tc=this.internal.pages.length,tl=[];for(ta=0;ta<tc;ta++){var th=this.internal.newObject();tl.push(th);var tf=this.internal.getPageInfo(ta+1);this.internal.write("<< /D["+tf.objId+" 0 R /XYZ null null null]>> endobj")}var td=this.internal.newObject();for(this.internal.write("<< /Names [ "),ta=0;ta<tl.length;ta++)this.internal.write("(page_"+(ta+1)+")"+tl[ta]+" 0 R");this.internal.write(" ] >>","endobj"),eF=this.internal.newObject(),this.internal.write("<< /Dests "+td+" 0 R"),this.internal.write(">>","endobj")}}]),ek.events.push(["putCatalog",function(){this.outline.root.children.length>0&&(this.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&this.internal.write("/Names "+eF+" 0 R"))}]),ek.events.push(["initialized",function(){var tn=this;tn.outline={createNamedDestinations:!1,root:{children:[]}},tn.outline.add=function(tn,ti,ta){var to={title:ti,options:ta,children:[]};return null==tn&&(tn=this.root),tn.children.push(to),to},tn.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=tn,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},tn.outline.genIds_r=function(ti){ti.id=tn.internal.newObjectDeferred();for(var ta=0;ta<ti.children.length;ta++)this.genIds_r(ti.children[ta])},tn.outline.renderRoot=function(tn){this.objStart(tn),this.line("/Type /Outlines"),tn.children.length>0&&(this.line("/First "+this.makeRef(tn.children[0])),this.line("/Last "+this.makeRef(tn.children[tn.children.length-1]))),this.line("/Count "+this.count_r({count:0},tn)),this.objEnd()},tn.outline.renderItems=function(ti){for(var ta=this.ctx.pdf.internal.getVerticalCoordinateString,to=0;to<ti.children.length;to++){var ts=ti.children[to];this.objStart(ts),this.line("/Title "+this.makeString(ts.title)),this.line("/Parent "+this.makeRef(ti)),to>0&&this.line("/Prev "+this.makeRef(ti.children[to-1])),to<ti.children.length-1&&this.line("/Next "+this.makeRef(ti.children[to+1])),ts.children.length>0&&(this.line("/First "+this.makeRef(ts.children[0])),this.line("/Last "+this.makeRef(ts.children[ts.children.length-1])));var tu=this.count=this.count_r({count:0},ts);if(tu>0&&this.line("/Count "+tu),ts.options&&ts.options.pageNumber){var tc=tn.internal.getPageInfo(ts.options.pageNumber);this.line("/Dest ["+tc.objId+" 0 R /XYZ 0 "+ta(0)+" 0]")}this.objEnd()}for(var tl=0;tl<ti.children.length;tl++)this.renderItems(ti.children[tl])},tn.outline.line=function(tn){this.ctx.val+=tn+"\r\n"},tn.outline.makeRef=function(tn){return tn.id+" 0 R"},tn.outline.makeString=function(ti){return"("+tn.internal.pdfEscape(ti)+")"},tn.outline.objStart=function(tn){this.ctx.val+="\r\n"+tn.id+" 0 obj\r\n<<\r\n"},tn.outline.objEnd=function(){this.ctx.val+=">> \r\nendobj\r\n"},tn.outline.count_r=function(tn,ti){for(var ta=0;ta<ti.children.length;ta++)tn.count++,this.count_r(tn,ti.children[ta]);return tn.count}}]),eI=E.API,ej=[192,193,194,195,196,197,198,199],eI.processJPEG=function(tn,ti,ta,to,ts,tu){var tc,tl=this.decode.DCT_DECODE,th=null;if("string"==typeof tn||this.__addimage__.isArrayBuffer(tn)||this.__addimage__.isArrayBufferView(tn)){switch(tn=ts||tn,tn=this.__addimage__.isArrayBuffer(tn)?new Uint8Array(tn):tn,(tc=function(tn){for(var ti,ta=256*tn.charCo
vendor: 8,511 bytes, line 105
105deAt(4)+tn.charCodeAt(5),to=tn.length,ts={width:0,height:0,numcomponents:1},tu=4;tu<to;tu+=2){if(tu+=ta,-1!==ej.indexOf(tn.charCodeAt(tu+1))){ti=256*tn.charCodeAt(tu+5)+tn.charCodeAt(tu+6),ts={width:256*tn.charCodeAt(tu+7)+tn.charCodeAt(tu+8),height:ti,numcomponents:tn.charCodeAt(tu+9)};break}ta=256*tn.charCodeAt(tu+2)+tn.charCodeAt(tu+3)}return ts}(tn=this.__addimage__.isArrayBufferView(tn)?this.__addimage__.arrayBufferToBinaryString(tn):tn)).numcomponents){case 1:tu=this.color_spaces.DEVICE_GRAY;break;case 4:tu=this.color_spaces.DEVICE_CMYK;break;case 3:tu=this.color_spaces.DEVICE_RGB}th={data:tn,width:tc.width,height:tc.height,colorSpace:tu,bitsPerComponent:8,filter:tl,index:ti,alias:ta}}return th},E.API.processPNG=function(tn,ti,ta,to){if(this.__addimage__.isArrayBuffer(tn)&&(tn=new Uint8Array(tn)),this.__addimage__.isArrayBufferView(tn)){var tl,th,tf,td,tp,tg,tm=(0,tc.Jx)(tn,{checkCrc:!0}),tv=tm.width,tb=tm.height,ty=tm.channels,tw=tm.palette,tN=tm.depth,tL=(tl=tw&&1===ty?function(tn){for(var ti=tn.width,ta=tn.height,to=tn.data,ts=tn.palette,tc=tn.depth,tl=!1,th=[],tf=[],td=void 0,tp=!1,tg=0,tm=0;tm<ts.length;tm++){var tv=(0,tu.Z)(ts[tm],4),tb=tv[0],ty=tv[1],tw=tv[2],tN=tv[3];th.push(tb,ty,tw),null!=tN&&(0===tN?(tg++,tf.length<1&&tf.push(tm)):tN<255&&(tp=!0))}if(tp||tg>1){tl=!0,tf=void 0;var tL=ti*ta;td=new Uint8Array(tL);for(var tx=new DataView(to.buffer),tA=0;tA<tL;tA++){var tS=ee(tx,tA,tc),t_=(0,tu.Z)(ts[tS],4)[3];td[tA]=t_}}else 0===tg&&(tf=void 0);return{colorSpace:"Indexed",colorsPerPixel:1,sMaskBitsPerComponent:tl?8:void 0,colorBytes:to,alphaBytes:td,needSMask:tl,palette:th,mask:tf}}(tm):2===ty||4===ty?function(tn){for(var ti=tn.data,ta=tn.width,to=tn.height,ts=tn.channels,tu=tn.depth,tc=ts-1,tl=ta*to,th=tl*tc,tf=Math.ceil(th*tu/8),td=Math.ceil(1*tl*tu/8),tp=new Uint8Array(tf),tg=new Uint8Array(td),tm=new DataView(ti.buffer),tv=new DataView(tp.buffer),tb=new DataView(tg.buffer),ty=!1,tw=0;tw<tl;tw++){for(var tN=tw*ts,tL=0;tL<tc;tL++)re(tv,ee(tm,tN+tL,tu),tw*tc+tL,tu);var tx=ee(tm,tN+tc,tu);tx<(1<<tu)-1&&(ty=!0),re(tb,tx,1*tw,tu)}return{colorSpace:2===ts?"DeviceGray":"DeviceRGB",colorsPerPixel:tc,sMaskBitsPerComponent:ty?tu:void 0,colorBytes:tp,alphaBytes:tg,needSMask:ty}}(tm):(th=tm.data,{colorSpace:tf=1===tm.channels?"DeviceGray":"DeviceRGB",colorsPerPixel:"DeviceGray"===tf?1:3,colorBytes:th instanceof Uint16Array?function(tn){for(var ti=tn.length,ta=new Uint8Array(2*ti),to=new DataView(ta.buffer,ta.byteOffset,ta.byteLength),ts=0;ts<ti;ts++)to.setUint16(2*ts,tn[ts],!1);return ta}(th):th,needSMask:!1})).colorSpace,tx=tl.colorsPerPixel,tA=tl.sMaskBitsPerComponent,tS=tl.colorBytes,t_=tl.alphaBytes,tP=tl.needSMask,tk=tl.palette,tF=tl.mask,tI=null;return to!==E.API.image_compression.NONE&&"function"==typeof ts.iZ?(tI=function(tn){var ti;switch(tn){case E.API.image_compression.FAST:ti=11;break;case E.API.image_compression.MEDIUM:ti=13;break;case E.API.image_compression.SLOW:ti=14;break;default:ti=12}return ti}(to),td=this.decode.FLATE_DECODE,tp="/Predictor ".concat(tI," /Colors ").concat(tx," /BitsPerComponent ").concat(tN," /Columns ").concat(tv),tn=Yt(tS,Math.ceil(tv*tx*tN/8),tx,tN,to),tP&&(tg=Yt(t_,Math.ceil(tv*tA/8),1,tA,to))):(td=void 0,tp=void 0,tn=tS,tP&&(tg=t_)),(this.__addimage__.isArrayBuffer(tn)||this.__addimage__.isArrayBufferView(tn))&&(tn=this.__addimage__.arrayBufferToBinaryString(tn)),(tg&&this.__addimage__.isArrayBuffer(tg)||this.__addimage__.isArrayBufferView(tg))&&(tg=this.__addimage__.arrayBufferToBinaryString(tg)),{alias:ta,data:tn,index:ti,filter:td,decodeParameters:tp,transparency:tF,palette:tk,sMask:tg,predictor:tI,width:tv,height:tb,bitsPerComponent:tN,sMaskBitsPerComponent:tA,colorSpace:tL}}},(eC=E.API).processGIF89A=function(tn,ti,ta,to){var ts=new ie(tn),tu=ts.width,tc=ts.height,tl=[];ts.decodeAndBlitFrameRGBA(0,tl);var th=new oe(100).encode({data:tl,width:tu,height:tc},100);return eC.processJPEG.call(this,th,ti,ta,to)},eC.processGIF87A=eC.processGIF89A,se.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,16===this.bitPP&&this.is_with_alpha&&(this.bitPP=15),this.bitPP<15){var tn=0===this.colors?1<<this.bitPP:this.colors;this.palette=Array(tn);for(var ti=0;ti<tn;ti++){var ta=this.datav.getUint8(this.pos++,!0),to=this.datav.getUint8(this.pos++,!0),ts=this.datav.getUint8(this.pos++,!0),tu=this.datav.getUint8(this.pos++,!0);this.palette[ti]={red:ts,green:to,blue:ta,quad:tu}}}this.height<0&&(this.height*=-1,this.bottom_up=!1)},se.prototype.parseBGR=function(){this.pos=this.offset;var tn="bit"+this.bitPP,ti=this.width*this.height*4;if(ti>536870912)throw Error("Image dimensions exceed 512MB, which is too large.");this.data=new Uint8Array(ti);try{this[tn]()}catch(tn){th.log("bit decode error:"+tn)}},se.prototype.bit1=function(){var tn,ti=Math.ceil(this.width/8),ta=ti%4;for(tn=this.height-1;tn>=0;tn--){for(var to=this.bottom_up?tn:this.height-1-tn,ts=0;ts<ti;ts++)for(var tu=this.datav.getUint8(this.pos++,!0),tc=to*this.width*4+8*ts*4,tl=0;tl<8&&8*ts+tl<this.width;tl++){var th=this.palette[tu>>7-tl&1];this.data[tc+4*tl]=th.blue,this.data[tc+4*tl+1]=th.green,this.data[tc+4*tl+2]=th.red,this.data[tc+4*tl+3]=255}0!==ta&&(this.pos+=4-ta)}},se.prototype.bit4=function(){for(var tn=Math.ceil(this.width/2),ti=tn%4,ta=this.height-1;ta>=0;ta--){for(var to=this.bottom_up?ta:this.height-1-ta,ts=0;ts<tn;ts++){var tu=this.datav.getUint8(this.pos++,!0),tc=to*this.width*4+2*ts*4,tl=tu>>4,th=15&tu,tf=this.palette[tl];if(this.data[tc]=tf.blue,this.data[tc+1]=tf.green,this.data[tc+2]=tf.red,this.data[tc+3]=255,2*ts+1>=this.width)break;tf=this.palette[th],this.data[tc+4]=tf.blue,this.data[tc+4+1]=tf.green,this.data[tc+4+2]=tf.red,this.data[tc+4+3]=255}0!==ti&&(this.pos+=4-ti)}},se.prototype.bit8=function(){for(var tn=this.width%4,ti=this.height-1;ti>=0;ti--){for(var ta=this.bottom_up?ti:this.height-1-ti,to=0;to<this.width;to++){var ts=this.datav.getUint8(this.pos++,!0),tu=ta*this.width*4+4*to;if(ts<this.palette.length){var tc=this.palette[ts];this.data[tu]=tc.red,this.data[tu+1]=tc.green,this.data[tu+2]=tc.blue,this.data[tu+3]=255}else this.data[tu]=255,this.data[tu+1]=255,this.data[tu+2]=255,this.data[tu+3]=255}0!==tn&&(this.pos+=4-tn)}},se.prototype.bit15=function(){for(var tn=this.width%3,ti=parseInt("11111",2),ta=this.height-1;ta>=0;ta--){for(var to=this.bottom_up?ta:this.height-1-ta,ts=0;ts<this.width;ts++){var tu=this.datav.getUint16(this.pos,!0);this.pos+=2;var tc=(tu&ti)/ti*255|0,tl=(tu>>5&ti)/ti*255|0,th=(tu>>10&ti)/ti*255|0,tf=tu>>15?255:0,td=to*this.width*4+4*ts;this.data[td]=th,this.data[td+1]=tl,this.data[td+2]=tc,this.data[td+3]=tf}this.pos+=tn}},se.prototype.bit16=function(){for(var tn=this.width%3,ti=parseInt("11111",2),ta=parseInt("111111",2),to=this.height-1;to>=0;to--){for(var ts=this.bottom_up?to:this.height-1-to,tu=0;tu<this.width;tu++){var tc=this.datav.getUint16(this.pos,!0);this.pos+=2;var tl=(tc&ti)/ti*255|0,th=(tc>>5&ta)/ta*255|0,tf=(tc>>11)/ti*255|0,td=ts*this.width*4+4*tu;this.data[td]=tf,this.data[td+1]=th,this.data[td+2]=tl,this.data[td+3]=255}this.pos+=tn}},se.prototype.bit24=function(){for(var tn=this.height-1;tn>=0;tn--){for(var ti=this.bottom_up?tn:this.height-1-tn,ta=0;ta<this.width;ta++){var to=this.datav.getUint8(this.pos++,!0),ts=this.datav.getUint8(this.pos++,!0),tu=this.datav.getUint8(this.pos++,!0),tc=ti*this.width*4+4*ta;this.data[tc]=tu,this.data[tc+1]=ts,this.data[tc+2]=to,this.data[tc+3]=255}this.pos+=this.width%4}},se.prototype.bit32=function(){for(var tn=this.height-1;tn>=0;tn--)for(var ti=this.bottom_up?tn:this.height-1-tn,ta=0;ta<this.width;ta++){var to=this.datav.getUint8(this.pos++,!0),ts=this.datav.getUint8(this.pos++,!0),tu=this.datav.getUint8(this.pos++,!0),tc=this.datav.getUint8(this.pos++,!0),tl=ti
vendor: 12,783 bytes, line 105
105*this.width*4+4*ta;this.data[tl]=tu,this.data[tl+1]=ts,this.data[tl+2]=to,this.data[tl+3]=tc}},se.prototype.getData=function(){return this.data},(eE=E.API).processBMP=function(tn,ti,ta,to){var ts=new se(tn,!1),tu=ts.width,tc=ts.height,tl={data:ts.getData(),width:tu,height:tc},th=new oe(100).encode(tl,100);return eE.processJPEG.call(this,th,ti,ta,to)},ue.prototype.getData=function(){return this.data},(eO=E.API).processWEBP=function(tn,ti,ta,to){var ts=new ue(tn),tu=ts.width,tc=ts.height,tl={data:ts.getData(),width:tu,height:tc},th=new oe(100).encode(tl,100);return eO.processJPEG.call(this,th,ti,ta,to)},E.API.processRGBA=function(tn,ti,ta){for(var to=tn.data,ts=to.length,tu=new Uint8Array(ts/4*3),tc=new Uint8Array(ts/4),tl=0,th=0,tf=0;tf<ts;tf+=4){var td=to[tf],tp=to[tf+1],tg=to[tf+2],tm=to[tf+3];tu[tl++]=td,tu[tl++]=tp,tu[tl++]=tg,tc[th++]=tm}var tv=this.__addimage__.arrayBufferToBinaryString(tu);return{alpha:this.__addimage__.arrayBufferToBinaryString(tc),data:tv,index:ti,alias:ta,colorSpace:"DeviceRGB",bitsPerComponent:8,width:tn.width,height:tn.height}},E.API.setLanguage=function(tn){return void 0===this.internal.languageSettings&&(this.internal.languageSettings={},this.internal.languageSettings.isSubscribed=!1),void 0!==({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"})[tn]&&(this.internal.languageSettings.languageCode=tn,!1===this.internal.languageSettings.isSubscribed&&(this.internal.events.subscribe("putCatalog",function(){this.internal.write("/Lang ("+this.internal.languageSettings.languageCode+")")}),this.internal.languageSettings.isSubscribed=!0)),this},ev=(em=E.API).getCharWidthsArray=function(tn,ti){var ta,ts,tu=(ti=ti||{}).font||this.internal.getFont(),tc=ti.fontSize||this.internal.getFontSize(),tl=ti.charSpace||this.internal.getCharSpace(),th=ti.widths?ti.widths:tu.metadata.Unicode.widths,tf=th.fof?th.fof:1,td=ti.kerning?ti.kerning:tu.metadata.Unicode.kerning,tp=td.fof?td.fof:1,tg=!1!==ti.doKerning,tm=0,tv=tn.length,tb=0,ty=th[0]||tf,tw=[];for(ta=0;ta<tv;ta++)ts=tn.charCodeAt(ta),"function"==typeof tu.metadata.widthOfString?tw.push((tu.metadata.widthOfGlyph(tu.metadata.characterToGlyph(ts))+tl*(1e3/tc)||0)/1e3):(tm=tg&&"object"===(0,to.Z)(td[ts])&&!isNaN(parseInt(td[ts][tb],10))?td[ts][tb]/tp:0,tw.push((th[ts]||ty)/tf+tm)),tb=ts;return tw},eb=em.getStringUnitWidth=function(tn,ti){var ta=(ti=ti||{}).fontSize||this.internal.getFontSize(),to=ti.font||this.internal.getFont(),ts=ti.charSpace||this.internal.getCharSpace();return em.processArabic&&(tn=em.processArabic(tn)),"function"==typeof to.metadata.widthOfString?to.metadata.widthOfString(tn,ta,ts)/ta:ev.apply(this,arguments).reduce(function(tn,ti){return tn+ti},0)},ey=function(tn,ti,ta,to){for(var ts=[],tu=0,tc=tn.length,tl=0;tu!==tc&&tl+ti[tu]<ta;)tl+=ti[tu],tu++;ts.push(tn.slice(0,tu));var th=tu;for(tl=0;tu!==tc;)tl+ti[tu]>to&&(ts.push(tn.slice(th,tu)),tl=0,th=tu),tl+=ti[tu],tu++;return th!==tu&&ts.push(tn.slice(th,tu)),ts},ew=function(tn,ti,ta){ta||(ta={});var to,ts,tu,tc,tl,th,tf,td=[],tp=[td],tg=ta.textIndent||0,tm=0,tv=0,tb=tn.split(" "),ty=ev.apply(this,[" ",ta])[0];if(th=-1===ta.lineIndent?tb[0].length+2:ta.lineIndent||0){var tw=Array(th).join(" "),tN=[];tb.map(function(tn){(tn=tn.split(/\s*\n/)).length>1?tN=tN.concat(tn.map(function(tn,ti){return(ti&&tn.length?"\n":"")+tn})):tN.push(tn[0])}),tb=tN,th=eb.apply(this,[tw,ta])}for(tu=0,tc=tb.length;tu<tc;tu++){var tL=0;if(to=tb[tu],th&&"\n"==to[0]&&(to=to.substr(1),tL=1),tg+tm+(tv=(ts=ev.apply(this,[to,ta])).reduce(function(tn,ti){return tn+ti},0))>ti||tL){if(tv>ti){for(tl=ey.apply(this,[to,ts,ti-(tg+tm),ti]),td.push(tl.shift()),td=[tl.pop()];tl.length;)tp.push([tl.shift()]);tv=ts.slice(to.length-(td[0]?td[0].length:0)).reduce(function(tn,ti){return tn+ti},0)}else td=[to];tp.push(td),tg=tv+th,tm=ty}else td.push(to),tg+=tm+tv,tm=ty}return tf=th?function(tn,ti){return(ti?tw:"")+tn.join(" ")}:function(tn){return tn.join(" ")},tp.map(tf)},em.splitTextToSize=function(tn,ti,ta){var to,ts=(ta=ta||{}).fontSize||this.internal.getFontSize(),tu=(function(tn){if(tn.widths&&tn.kerning)return{widths:tn.widths,kerning:tn.kerning};var ti=this.internal.getFont(tn.fontName,tn.fontStyle),ta="Unicode";return ti.metadata[ta]?{widths:ti.metadata[ta].widths||{0:1},kerning:ti.metadata[ta].kerning||{}}:{font:ti.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}).call(this,ta);to=Array.isArray(tn)?tn:String(tn).split(/\r?\n/);var tc=1*this.internal.scaleFactor*ti/ts;tu.textIndent=ta.textIndent?1*ta.textIndent*this.internal.scaleFactor/ts:0,tu.lineIndent=ta.lineIndent;var tl,th,tf=[];for(tl=0,th=to.length;tl<th;tl++)tf=tf.concat(ew.apply(this,[to[tl],tc,tu]));return tf},function(tn){tn.__fontmetrics__=tn.__fontmetrics__||{};for(var ti="0123456789abcdef",ta="klmnopqrstuvwxyz",ts={},tu={},tc=0;tc<16;tc++)ts[ta[tc]]=ti[tc],tu[ti[tc]]=ta[tc];var s=function(tn){return"0x"+parseInt(tn,10).toString(16)},tl=tn.__fontmetrics__.compress=function(tn){var ti,ta,ts,tc,th=["{"];for(var tf in tn){if(ti=tn[tf],ta=isNaN(parseInt(tf,10))?"'"+tf+"'":(ta=s(tf=parseInt(tf,10)).slice(2)).slice(0,-1)+tu[ta.slice(-1)],"number"==typeof ti)ti<0?(ts=s(ti).slice(3),tc="-"):(ts=s(ti).slice(2),tc=""),ts=tc+ts.slice(0,-1)+tu[ts.slice(-1)];else{if("object"!==(0,to.Z)(ti))throw Error("Don't know what to do with value type "+(0,to.Z)(ti)+".");ts=tl(ti)}th.push(ta+ts)}return th.push("}"),th.join("")},th=tn.__fontmetrics__.uncompress=function(tn){if("string"!=typeof tn)throw Error("Invalid argument passed to uncompress.");for(var ti,ta,to,tu,tc={},tl=1,th=tc,tf=[],td="",tp="",tg=tn.length-1,tm=1;tm<tg;tm+=1)"'"==(tu=tn[tm])?ti?(to=ti.join(""),ti=void 0):ti=[]:ti?ti.push(tu):"{"==tu?(tf.push([th,to]),th={},to=void 0):"}"==tu?((ta=tf.pop())[0][ta[1]]=th,to=void 0,th=ta[0]):"-"==tu?tl=-1:void 0===to?ts.hasOwnProperty(tu)?(td+=ts[tu],to=parseInt(td,16)*tl,tl=1,td=""):td+=tu:ts.hasOwnProperty(tu)?(tp+=ts[tu],th[to]=parseInt(tp,16)*tl,tl=1,to=void 0,tp=""):tp+=tu;return tc},tf={codePages:["WinAnsiEncoding"],WinAnsiEncoding:th("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},td={Unicode:{Courier:tf,"Courier-Bold":tf,"Courier-BoldOblique":tf,"Courier-Oblique":tf,Helvetica:tf,"Helvetica-Bold":tf,"Helvetica-BoldOblique":tf,"Helvetica-Oblique":tf,"Times-Roman":tf,"Times-Bold":tf,"Times-BoldItalic":tf,"Times-Italic":tf}},tp={Unicode:{"Courier-Oblique":th("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":th("{'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":th("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4y
105dn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'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:th("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-BoldOblique":th("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Bold":th("{'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:th("{'widths'{k3uaw4r19m3m2k1t2l2l202m2y2n3m2p5n202q6o3k3m2s2l2t2l2v3r2w1t3m3m2y1t2z1wbk2sbl3r'fof'6o3n3m3o3m3p3m3q3m3r3m3s3m3t3m3u1w3v1w3w3r3x3r3y3r3z2wbp3t3l3m5v2l5x2l5z3m2q4yfr3r7v3k7w1o7x3k}'kerning'{'fof'-6o}}"),Helvetica:th("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4y
105dn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'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":th("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4y
105dn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'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:th("{'widths'{k4u2k1w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-Bold":th("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Italic":th("{'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}
105fv{17su5tu5qs}fw{17su5tu5qs}}}"),"Times-Roman":th("{'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":th("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4y
105dn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'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}}}")}};tn.events.push(["addFont",function(tn){var ti=tn.font,ta=tp.Unicode[ti.postScriptName];ta&&(ti.metadata.Unicode={},ti.metadata.Unicode.widths=ta.widths,ti.metadata.Unicode.kerning=ta.kerning);var to=td.Unicode[ti.postScriptName];to&&(ti.metadata.Unicode.encoding=to,ti.encoding=to.codePages[0])}])}(E.API),/** 106 * @license 107 * Licensed under the MIT License. 108 * http://opensource.org/licenses/mit-license 109 */function(tn){var e=function(tn){for(var ti=tn.length,ta=new Uint8Array(ti),to=0;to<ti;to++)ta[to]=tn.charCodeAt(to);return ta};tn.API.events.push(["addFont",function(ti){var ta,to=void 0,ts=ti.font,tu=ti.instance;if(!ts.isStandardFont){if(void 0===tu)throw Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+ts.postScriptName+"').");if("string"!=typeof(to=!1===tu.existsFileInVFS(ts.postScriptName)?tu.loadFile(ts.postScriptName):tu.getFileFromVFS(ts.postScriptName)))throw Error("Font is not stored as string-data in vFS, import fonts or remove declaration doc.addFont('"+ts.postScriptName+"').");ta=to,ta=/^\x00\x01\x00\x00/.test(ta)?e(ta):e(td(ta)),ts.metadata=tn.API.TTFFont.open(ta),ts.metadata.Unicode=ts.metadata.Unicode||{encoding:{},kerning:{},widths:[]},ts.metadata.glyIdsUsed=[0]}}])}(E),E.API.addSvgAsImage=function(tn,ti,to,ts,tu,tc,tf,td){if(isNaN(ti)||isNaN(to))throw th.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(ts)||isNaN(tu))throw th.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var tp=document.createElement("canvas");tp.width=ts,tp.height=tu;var tg=tp.getContext("2d");tg.fillStyle="#fff",tg.fillRect(0,0,tp.width,tp.height);var tm={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},tv=this;return(tl.canvg?Promise.resolve(tl.canvg):Promise.all([ta.e(6350),ta.e(385)]).then(ta.bind(ta,34668))).catch(function(tn){return Promise.reject(Error("Could not load canvg: "+tn))}).then(function(tn){return tn.default?tn.default:tn}).then(function(ti){return ti.fromString(tg,tn,tm)},function(){return Promise.reject(Error("Could not load canvg."))}).then(function(tn){return tn.render(tm)}).then(function(){tv.addImage(tp.toDataURL("image/jpeg",1),ti,to,ts,tu,tf,td)})},E.API.putTotalPages=function(tn){var ti,ta=0;15>parseInt(this.internal.getFont().id.substr(1),10)?(ti=RegExp(tn,"g"),ta=this.internal.getNumberOfPages()):(ti=RegExp(this.pdfEscape16(tn,this.internal.getFont()),"g"),ta=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var to=1;to<=this.internal.getNumberOfPages();to++)for(var ts=0;ts<this.internal.pages[to].length;ts++)this.internal.pages[to][ts]=this.internal.pages[to][ts].replace(ti,ta);return this},E.API.viewerPreferences=function(tn,ti){tn=tn||{},ti=ti||!1;var ta,ts,tu,tc,tl={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}},th=Object.keys(tl),tf=[],td=0,tp=0,tg=0;function d(tn,ti){var ta,to=!1;for(ta=0;ta<tn.length;ta+=1)tn[ta]===ti&&(to=!0);return to}if(void 0===this.internal.viewerpreferences&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(tl)),this.internal.viewerpreferences.isSubscribed=!1),ta=this.internal.viewerpreferences.configuration,"reset"===tn||!0===ti){var tm=th.length;for(tg=0;tg<tm;tg+=1)ta[th[tg]].value=ta[th[tg]].defaultValue,ta[th[tg]].explicitSet=!1}if("object"===(0,to.Z)(tn)){for(tu in tn)if(tc=tn[tu],d(th,tu)&&void 0!==tc){if("boolean"===ta[tu].type&&"boolean"==typeof tc)ta[tu].value=tc;else if("name"===ta[tu].type&&d(ta[tu].valueSet,tc))ta[tu].value=tc;else if("integer"===ta[tu].type&&Number.isInteger(tc))ta[tu].value=tc;else if("array"===ta[tu].type){for(td=0;td<tc.length;td+=1)if(ts=!0,1===tc[td].length&&"number"==typeof tc[td][0])tf.push(String(tc[td]-1));
vendor: 4,557 bytes, line 109
109else if(tc[td].length>1){for(tp=0;tp<tc[td].length;tp+=1)"number"!=typeof tc[td][tp]&&(ts=!1);!0===ts&&tf.push([tc[td][0]-1,tc[td][1]-1].join(" "))}ta[tu].value="["+tf.join(" ")+"]"}else ta[tu].value=ta[tu].defaultValue;ta[tu].explicitSet=!0}}return!1===this.internal.viewerpreferences.isSubscribed&&(this.internal.events.subscribe("putCatalog",function(){var tn,ti=[];for(tn in ta)!0===ta[tn].explicitSet&&("name"===ta[tn].type?ti.push("/"+tn+" /"+ta[tn].value):ti.push("/"+tn+" "+ta[tn].value));0!==ti.length&&this.internal.write("/ViewerPreferences\n<<\n"+ti.join("\n")+"\n>>")}),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=ta,this},E.API.addMetadata=function(tn,ti){return void 0===this.internal.__metadata__&&(this.internal.__metadata__={metadata:tn,namespaceUri:null!=ti?ti:"http://jspdf.default.namespaceuri/",rawXml:"boolean"==typeof ti&&ti},this.internal.events.subscribe("putCatalog",le),this.internal.events.subscribe("postPutResources",ce)),this},eM=(eB=E.API).pdfEscape16=function(tn,ti){for(var ta,to=ti.metadata.Unicode.widths,ts=["","0","00","000","0000"],tu=[""],tc=0,tl=tn.length;tc<tl&&(ta=ti.metadata.characterToGlyph(tn.charCodeAt(tc)),ti.metadata.glyIdsUsed.push(ta),ti.metadata.toUnicode[ta]=tn.charCodeAt(tc),-1==to.indexOf(ta)&&(to.push(ta),to.push([parseInt(ti.metadata.widthOfGlyph(ta),10)])),"0"!=ta);++tc)tu.push(ts[4-(ta=ta.toString(16)).length],ta);return tu.join("")},eq=function(tn){var ti,ta,to,ts,tu,tc,tl;for(tu="/CIDInit /ProcSet findresource begin\n12 dict begin\nbegincmap\n/CIDSystemInfo <<\n /Registry (Adobe)\n /Ordering (UCS)\n /Supplement 0\n>> def\n/CMapName /Adobe-Identity-UCS def\n/CMapType 2 def\n1 begincodespacerange\n<0000><ffff>\nendcodespacerange",to=[],tc=0,tl=(ta=Object.keys(tn).sort(function(tn,ti){return tn-ti})).length;tc<tl;tc++)ti=ta[tc],to.length>=100&&(tu+="\n"+to.length+" beginbfchar\n"+to.join("\n")+"\nendbfchar",to=[]),void 0!==tn[ti]&&null!==tn[ti]&&"function"==typeof tn[ti].toString&&(ts=("0000"+tn[ti].toString(16)).slice(-4),ti=("0000"+(+ti).toString(16)).slice(-4),to.push("<"+ti+"><"+ts+">"));return to.length&&(tu+="\n"+to.length+" beginbfchar\n"+to.join("\n")+"\nendbfchar\n"),tu+"endcmap\nCMapName currentdict /CMap defineresource pop\nend\nend"},eB.events.push(["putFont",function(tn){!function(tn){var ti=tn.font,ta=tn.out,to=tn.newObject,ts=tn.putStream;if(ti.metadata instanceof E.API.TTFFont&&"Identity-H"===ti.encoding){for(var tu=ti.metadata.Unicode.widths,tc=ti.metadata.subset.encode(ti.metadata.glyIdsUsed,1),tl="",th=0;th<tc.length;th++)tl+=String.fromCharCode(tc[th]);var tf=to();ts({data:tl,addLength1:!0,objectId:tf}),ta("endobj");var td=to();ts({data:eq(ti.metadata.toUnicode),addLength1:!0,objectId:td}),ta("endobj");var tp=to();ta("<<"),ta("/Type /FontDescriptor"),ta("/FontName /"+C(ti.fontName)),ta("/FontFile2 "+tf+" 0 R"),ta("/FontBBox "+E.API.PDFObject.convert(ti.metadata.bbox)),ta("/Flags "+ti.metadata.flags),ta("/StemV "+ti.metadata.stemV),ta("/ItalicAngle "+ti.metadata.italicAngle),ta("/Ascent "+ti.metadata.ascender),ta("/Descent "+ti.metadata.decender),ta("/CapHeight "+ti.metadata.capHeight),ta(">>"),ta("endobj");var tg=to();ta("<<"),ta("/Type /Font"),ta("/BaseFont /"+C(ti.fontName)),ta("/FontDescriptor "+tp+" 0 R"),ta("/W "+E.API.PDFObject.convert(tu)),ta("/CIDToGIDMap /Identity"),ta("/DW 1000"),ta("/Subtype /CIDFontType2"),ta("/CIDSystemInfo"),ta("<<"),ta("/Supplement 0"),ta("/Registry (Adobe)"),ta("/Ordering ("+ti.encoding+")"),ta(">>"),ta(">>"),ta("endobj"),ti.objectNumber=to(),ta("<<"),ta("/Type /Font"),ta("/Subtype /Type0"),ta("/ToUnicode "+td+" 0 R"),ta("/BaseFont /"+C(ti.fontName)),ta("/Encoding /"+ti.encoding),ta("/DescendantFonts ["+tg+" 0 R]"),ta(">>"),ta("endobj"),ti.isAlreadyPutted=!0}}(tn)}]),eB.events.push(["putFont",function(tn){!function(tn){var ti=tn.font,ta=tn.out,to=tn.newObject,ts=tn.putStream;if(ti.metadata instanceof E.API.TTFFont&&"WinAnsiEncoding"===ti.encoding){for(var tu=ti.metadata.rawData,tc="",tl=0;tl<tu.length;tl++)tc+=String.fromCharCode(tu[tl]);var th=to();ts({data:tc,addLength1:!0,objectId:th}),ta("endobj");var tf=to();ts({data:eq(ti.metadata.toUnicode),addLength1:!0,objectId:tf}),ta("endobj");var td=to();ta("<<"),ta("/Descent "+ti.metadata.decender),ta("/CapHeight "+ti.metadata.capHeight),ta("/StemV "+ti.metadata.stemV),ta("/Type /FontDescriptor"),ta("/FontFile2 "+th+" 0 R"),ta("/Flags 96"),ta("/FontBBox "+E.API.PDFObject.convert(ti.metadata.bbox)),ta("/FontName /"+C(ti.fontName)),ta("/ItalicAngle "+ti.metadata.italicAngle),ta("/A
vendor: 16,235 bytes, lines 109-113
109scent "+ti.metadata.ascender),ta(">>"),ta("endobj"),ti.objectNumber=to();for(var tp=0;tp<ti.metadata.hmtx.widths.length;tp++)ti.metadata.hmtx.widths[tp]=parseInt(ti.metadata.hmtx.widths[tp]*(1e3/ti.metadata.head.unitsPerEm));ta("<</Subtype/TrueType/Type/Font/ToUnicode "+tf+" 0 R/BaseFont/"+C(ti.fontName)+"/FontDescriptor "+td+" 0 R/Encoding/"+ti.encoding+" /FirstChar 29 /LastChar 255 /Widths "+E.API.PDFObject.convert(ti.metadata.hmtx.widths)+">>"),ta("endobj"),ti.isAlreadyPutted=!0}}(tn)}]),eR=function(tn){var ti,ta=tn.text||"",to=tn.x,ts=tn.y,tu=tn.options||{},tc=tn.mutex||{},tl=tc.pdfEscape,th=tc.activeFontKey,tf=tc.fonts,td=th,tp="",tg=0,tm="",tv=tf[td].encoding;if("Identity-H"!==tf[td].encoding)return{text:ta,x:to,y:ts,options:tu,mutex:tc};for(tm=ta,td=th,Array.isArray(ta)&&(tm=ta[0]),tg=0;tg<tm.length;tg+=1)tf[td].metadata.hasOwnProperty("cmap")&&(ti=tf[td].metadata.cmap.unicode.codeMap[tm[tg].charCodeAt(0)]),ti||256>tm[tg].charCodeAt(0)&&tf[td].metadata.hasOwnProperty("Unicode")?tp+=tm[tg]:tp+="";var tb="";return 14>parseInt(td.slice(1))||"WinAnsiEncoding"===tv?tb=tl(tp,td).split("").map(function(tn){return tn.charCodeAt(0).toString(16)}).join(""):"Identity-H"===tv&&(tb=eM(tp,tf[td])),tc.isHex=!0,{text:tb,x:to,y:ts,options:tu,mutex:tc}},eB.events.push(["postProcessText",function(tn){var ti=tn.text||"",ta=[],to={text:ti,x:tn.x,y:tn.y,options:tn.options,mutex:tn.mutex};if(Array.isArray(ti)){var ts=0;for(ts=0;ts<ti.length;ts+=1)Array.isArray(ti[ts])&&3===ti[ts].length?ta.push([eR(Object.assign({},to,{text:ti[ts][0]})).text,ti[ts][1],ti[ts][2]]):ta.push(eR(Object.assign({},to,{text:ti[ts]})).text);tn.text=ta}else tn.text=eR(Object.assign({},to,{text:ti})).text}]),eD=E.API,eT=function(){return void 0===this.internal.vFS&&(this.internal.vFS={}),!0},eD.existsFileInVFS=function(tn){return eT.call(this),void 0!==this.internal.vFS[tn]},eD.addFileToVFS=function(tn,ti){return eT.call(this),this.internal.vFS[tn]=ti,this},eD.getFileFromVFS=function(tn){return eT.call(this),void 0!==this.internal.vFS[tn]?this.internal.vFS[tn]:null},/** 110 * @license 111 * Unicode Bidi Engine based on the work of Alex Shensis (@asthensis) 112 * MIT License 113 */function(tn){tn.__bidiEngine__=tn.prototype.__bidiEngine__=function(tn){var ta,to,ts,tu,tc,tl,th,tf=[[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]],td=[[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]],tp={L:0,R:1,EN:2,AN:3,N:4,B:5,S:6},tg={0:0,5:1,6:2,7:3,32:4,251:5,254:6,255:7},tm=["(",")","(","<",">","<","[","]","[","{","}","{","\xab","\xbb","\xab","â¹","âº","â¹","â ","â","â ","â½","â¾","â½","â","â","â","â¤","â¥","â¤","â©","âª","â©","ï¹","ï¹","ï¹","ï¹","ï¹","ï¹","ï¹","ï¹","ï¹","﹤","ï¹¥","﹤"],tv=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)$/),tb=!1,ty=0;this.__bidiEngine__={};var b=function(tn){var ta=tn.charCodeAt(),to=ta>>8,ts=tg[to];return void 0!==ts?ti[256*ts+(255&ta)]:252===to||253===to?"AL":tv.test(to)?"L":8===to?"R":"N"},y=function(tn){for(var ti,ta=0;ta<tn.length&&"L"!==(ti=b(tn.charAt(ta)));ta++)if("R"===ti)return!0;return!1},w=function(tn,ti,tc,tl){var th,tf,td,tp,tg=ti[tl];switch(tg){case"L":case"R":case"LRE":case"RLE":case"LRO":case"RLO":case"PDF":tb=!1;break;case"N":case"AN":break;case"EN":tb&&(tg="AN");break;case"AL":tb=!0,tg="R";break;case"WS":case"BN":tg="N";break;case"CS":tl<1||tl+1>=ti.length||"EN"!==(th=tc[tl-1])&&"AN"!==th||"EN"!==(tf=ti[tl+1])&&"AN"!==tf?tg="N":tb&&(tf="AN"),tg=tf===th?tf:"N";break;case"ES":tg="EN"===(th=tl>0?tc[tl-1]:"B")&&tl+1<ti.length&&"EN"===ti[tl+1]?"EN":"N";break;case"ET":if(tl>0&&"EN"===tc[tl-1]){tg="EN";break}if(tb){tg="N";break}for(td=tl+1,tp=ti.length;td<tp&&"ET"===ti[td];)td++;tg=td<tp&&"EN"===ti[td]?"EN":"N";break;case"NSM":if(ts&&!tu){for(tp=ti.length,td=tl+1;td<tp&&"NSM"===ti[td];)td++;if(td<tp){var tm=tn[tl];if(th=ti[td],(tm>=1425&&tm<=2303||64286===tm)&&("R"===th||"AL"===th)){tg="R";break}}}tg=tl<1||"B"===(th=ti[tl-1])?"N":tc[tl-1];break;case"B":tb=!1,ta=!0,tg=ty;break;case"S":to=!0,tg="N"}return tg},N=function(tn,ti,ta){var to=tn.split("");return ta&&L(to,ta,{hiLevel:ty}),to.reverse(),ti&&ti.reverse(),to.join("")},L=function(tn,ti,ts){var tu,tc,tl,th,tg,tm=-1,tv=tn.length,tw=0,tN=[],tL=ty?td:tf,tx=[];for(tb=!1,ta=!1,to=!1,tc=0;tc<tv;tc++)tx[tc]=b(tn[tc]);for(tl=0;tl<tv;tl++){if(tg=tw,tN[tl]=w(tn,tx,tN,tl),tu=240&(tw=tL[tg][tp[tN[tl]]]),tw&=15,ti[tl]=th=tL[tw][5],tu>0){if(16===tu){for(tc=tm;tc<tl;tc++)ti[tc]=1;tm=-1}else tm=-1}if(tL[tw][6])-1===tm&&(tm=tl);else if(tm>-1){for(tc=tm;tc<tl;tc++)ti[tc]=th;tm=-1}"B"===tx[tl]&&(ti[tl]=0),ts.hiLevel|=th}to&&function(tn,ti,ta){for(var to=0;to<ta;to++)if("S"===tn[to]){ti[to]=ty;for(var ts=to-1;ts>=0&&"WS"===tn[ts];ts--)ti[ts]=ty}}(tx,ti,tv)},x=function(tn,ti,to,ts,tu){if(!(tu.hiLevel<tn)){if(1===tn&&1===ty&&!ta)return ti.reverse(),void(to&&to.reverse());for(var tc,tl,th,tf,td=ti.length,tp=0;tp<td;){if(ts[tp]>=tn){for(th=tp+1;th<td&&ts[th]>=tn;)th++;for(tf=tp,tl=th-1;tf<tl;tf++,tl--)tc=ti[tf],ti[tf]=ti[tl],ti[tl]=tc,to&&(tc=to[tf],to[tf]=to[tl],to[tl]=tc);tp=th}tp++}}},A=function(tn,ti,ta){var to=tn.split(""),ts={hiLevel:ty};return ta||(ta=[]),L(to,ta,ts),function(tn,ti,ta){if(0!==ta.hiLevel&&th)for(var to,ts=0;ts<tn.length;ts++)1===ti[ts]&&(to=tm.indexOf(tn[ts]))>=0&&(tn[ts]=tm[to+1])}(to,ta,ts),x(2,to,ti,ta,ts),x(1,to,ti,ta,ts),to.join("")};return this.__bidiEngine__.doBidiReorder=function(tn,ti,ta){if(function(tn,ti){if(ti)for(var ta=0;ta<tn.length;ta++)ti[ta]=ta;void 0===tu&&(tu=y(tn)),void 0===tl&&(tl=y(tn))}(tn,ti),ts||!tc||tl){if(ts&&tc&&tu^tl)ty=tu?1:0,tn=N(tn,ti,ta);else if(!ts&&tc&&tl)ty=tu?1:0,tn=N(tn=A(tn,ti,ta),ti);else if(!ts||tu||tc||tl){if(ts&&!tc&&tu^tl)tn=N(tn,ti),tu?(ty=0,tn=A(tn,ti,ta)):(ty=1,tn=N(tn=A(tn,ti,ta),ti));else if(ts&&tu&&!tc&&tl)ty=1,tn=N(tn=A(tn,ti,ta),ti);else if(!ts&&!tc&&tu^tl){var to=th;tu?(ty=1,tn=A(tn,ti,ta),ty=0,th=!1,tn=A(tn,ti,ta),th=to):(ty=0,tn=N(tn=A(tn,ti,ta),ti),ty=1,th=!1,tn=A(tn,ti,ta),th=to,tn=N(tn,ti))}}else ty=0,tn=A(tn,ti,ta)}else ty=tu?1:0,tn=A(tn,ti,ta);return tn},this.__bidiEngine__.setOptions=function(tn){tn&&(ts=tn.isInputVisual,tc=tn.isOutputVisual,tu=tn.isInputRtl,tl=tn.isOutputRtl,th=tn.isSymmetricSwapping)},this.__bidiEngine__.setOptions(tn),this.__bidiEngine__};var ti=["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"],ta=new tn.__bidiEngine__({isInputVisual:!0});tn.API.events.push(["postProcessText",function(tn){var ti=tn.text;tn.x,tn.y;var to=tn.options||{};tn.mutex,to.lang;var ts=[];if(to.isInputVisual="boolean"!=typeof to.isInputVisual||to.isInputVisual,ta.setOptions(to),"[object Array]"===Object.prototype.toString.call(ti)){var tu=0;for(ts=[],tu=0;tu<ti.length;tu+=1)"[object Array]"===Object.prototype.toString.call(ti[tu])?t
vendor: 23,407 bytes, line 113
113s.push([ta.doBidiReorder(ti[tu][0]),ti[tu][1],ti[tu][2]]):ts.push([ta.doBidiReorder(ti[tu])]);tn.text=ts}else tn.text=ta.doBidiReorder(ti);ta.setOptions({isInputVisual:!0})}])}(E),E.API.TTFFont=function(){function t(tn){var ti;if(this.rawData=tn,ti=this.contents=new eU(tn),this.contents.pos=4,"ttcf"===ti.readString(4))throw Error("TTCF not supported.");ti.pos=0,this.parse(),this.subset=new e4(this),this.registerTTF()}return t.open=function(tn){return new t(tn)},t.prototype.parse=function(){return this.directory=new eH(this.contents),this.head=new eV(this),this.name=new eK(this),this.cmap=new eJ(this),this.toUnicode={},this.hhea=new eY(this),this.maxp=new e$(this),this.hmtx=new eQ(this),this.post=new eZ(this),this.os2=new eX(this),this.loca=new e3(this),this.glyf=new e2(this),this.ascender=this.os2.exists&&this.os2.ascender||this.hhea.ascender,this.decender=this.os2.exists&&this.os2.decender||this.hhea.decender,this.lineGap=this.os2.exists&&this.os2.lineGap||this.hhea.lineGap,this.bbox=[this.head.xMin,this.head.yMin,this.head.xMax,this.head.yMax]},t.prototype.registerTTF=function(){var tn,ti,ta,to,ts;if(this.scaleFactor=1e3/this.head.unitsPerEm,this.bbox=(function(){var ti,ta,to,ts;for(ts=[],ti=0,ta=(to=this.bbox).length;ti<ta;ti++)tn=to[ti],ts.push(Math.round(tn*this.scaleFactor));return ts}).call(this),this.stemV=0,this.post.exists?(ta=255&(to=this.post.italic_angle),32768&(ti=to>>16)&&(ti=-(1+(65535^ti))),this.italicAngle=+(ti+"."+ta)):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=1===(ts=this.familyClass)||2===ts||3===ts||4===ts||5===ts||7===ts,this.isScript=10===this.familyClass,this.flags=0,this.post.isFixedPitch&&(this.flags|=1),this.isSerif&&(this.flags|=2),this.isScript&&(this.flags|=8),0!==this.italicAngle&&(this.flags|=64),this.flags|=32,!this.cmap.unicode)throw Error("No unicode cmap for font")},t.prototype.characterToGlyph=function(tn){var ti;return(null!=(ti=this.cmap.unicode)?ti.codeMap[tn]:void 0)||0},t.prototype.widthOfGlyph=function(tn){var ti;return ti=1e3/this.head.unitsPerEm,this.hmtx.forGlyph(tn).advance*ti},t.prototype.widthOfString=function(tn,ti,ta){var to,ts,tu,tc;for(tu=0,ts=0,tc=(tn=""+tn).length;0<=tc?ts<tc:ts>tc;ts=0<=tc?++ts:--ts)to=tn.charCodeAt(ts),tu+=this.widthOfGlyph(this.characterToGlyph(to))+ta*(1e3/ti)||0;return tu*(ti/1e3)},t.prototype.lineHeight=function(tn,ti){var ta;return null==ti&&(ti=!1),ta=ti?this.lineGap:0,(this.ascender+ta-this.decender)/1e3*tn},t}();var eL,ex,eA,eS,e_,eP,ek,eF,eI,ej,eC,eE,eO,eB,eM,eq,eR,eD,eT,ez,eU=function(){function t(tn){this.data=null!=tn?tn:[],this.pos=0,this.length=this.data.length}return t.prototype.readByte=function(){return this.data[this.pos++]},t.prototype.writeByte=function(tn){return this.data[this.pos++]=tn},t.prototype.readUInt32=function(){return 16777216*this.readByte()+(this.readByte()<<16)+(this.readByte()<<8)+this.readByte()},t.prototype.writeUInt32=function(tn){return this.writeByte(tn>>>24&255),this.writeByte(tn>>16&255),this.writeByte(tn>>8&255),this.writeByte(255&tn)},t.prototype.readInt32=function(){var tn;return(tn=this.readUInt32())>=2147483648?tn-4294967296:tn},t.prototype.writeInt32=function(tn){return tn<0&&(tn+=4294967296),this.writeUInt32(tn)},t.prototype.readUInt16=function(){return this.readByte()<<8|this.readByte()},t.prototype.writeUInt16=function(tn){return this.writeByte(tn>>8&255),this.writeByte(255&tn)},t.prototype.readInt16=function(){var tn;return(tn=this.readUInt16())>=32768?tn-65536:tn},t.prototype.writeInt16=function(tn){return tn<0&&(tn+=65536),this.writeUInt16(tn)},t.prototype.readString=function(tn){var ti,ta;for(ta=[],ti=0;0<=tn?ti<tn:ti>tn;ti=0<=tn?++ti:--ti)ta[ti]=String.fromCharCode(this.readByte());return ta.join("")},t.prototype.writeString=function(tn){var ti,ta,to;for(to=[],ti=0,ta=tn.length;0<=ta?ti<ta:ti>ta;ti=0<=ta?++ti:--ti)to.push(this.writeByte(tn.charCodeAt(ti)));return to},t.prototype.readShort=function(){return this.readInt16()},t.prototype.writeShort=function(tn){return this.writeInt16(tn)},t.prototype.readLongLong=function(){var tn,ti,ta,to,ts,tu,tc,tl;return tn=this.readByte(),ti=this.readByte(),ta=this.readByte(),to=this.readByte(),ts=this.readByte(),tu=this.readByte(),tc=this.readByte(),tl=this.readByte(),128&tn?-1*(72057594037927940*(255^tn)+281474976710656*(255^ti)+1099511627776*(255^ta)+4294967296*(255^to)+16777216*(255^ts)+65536*(255^tu)+256*(255^tc)+(255^tl)+1):72057594037927940*tn+281474976710656*ti+1099511627776*ta+4294967296*to+16777216*ts+65536*tu+256*tc+tl},t.prototype.writeLongLong=function(tn){var ti,ta;return ti=Math.floor(tn/4294967296),ta=4294967295&tn,this.writeByte(ti>>24&255),this.writeByte(ti>>16&255),this.writeByte(ti>>8&255),this.writeByte(255&ti),this.writeByte(ta>>24&255),this.writeByte(ta>>16&255),this.writeByte(ta>>8&255),this.writeByte(255&ta)},t.prototype.readInt=function(){return this.readInt32()},t.prototype.writeInt=function(tn){return this.writeInt32(tn)},t.prototype.read=function(tn){var ti,ta;for(ti=[],ta=0;0<=tn?ta<tn:ta>tn;ta=0<=tn?++ta:--ta)ti.push(this.readByte());return ti},t.prototype.write=function(tn){var ti,ta,to,ts;for(ts=[],ta=0,to=tn.length;ta<to;ta++)ti=tn[ta],ts.push(this.writeByte(ti));return ts},t}(),eH=function(){var tn;function e(tn){var ti,ta,to;for(this.scalarType=tn.readInt(),this.tableCount=tn.readShort(),this.searchRange=tn.readShort(),this.entrySelector=tn.readShort(),this.rangeShift=tn.readShort(),this.tables={},ta=0,to=this.tableCount;0<=to?ta<to:ta>to;ta=0<=to?++ta:--ta)ti={tag:tn.readString(4),checksum:tn.readInt(),offset:tn.readInt(),length:tn.readInt()},this.tables[ti.tag]=ti}return e.prototype.encode=function(ti){var ta,to,ts,tu,tc,tl,th,tf,td,tp,tg,tm,tv;for(tv in tu=Math.floor((td=16*Math.floor(Math.log(tg=Object.keys(ti).length)/(tl=Math.log(2))))/tl),tf=16*tg-td,(to=new eU).writeInt(this.scalarType),to.writeShort(tg),to.writeShort(td),to.writeShort(tu),to.writeShort(tf),ts=16*tg,th=to.pos+ts,tc=null,tm=[],ti)for(tp=ti[tv],to.writeString(tv),to.writeInt(tn(tp)),to.writeInt(th),to.writeInt(tp.length),tm=tm.concat(tp),"head"===tv&&(tc=th),th+=tp.length;th%4;)tm.push(0),th++;return to.write(tm),ta=2981146554-tn(to.data),to.pos=tc+8,to.writeUInt32(ta),to.data},tn=function(tn){var ti,ta,to,ts;for(tn=e1.call(tn);tn.length%4;)tn.push(0);for(to=new eU(tn),ta=0,ti=0,ts=tn.length;ti<ts;ti=ti+=4)ta+=to.readUInt32();return 4294967295&ta},e}(),eW={}.hasOwnProperty,ge=function(tn,ti){for(var ta in ti)eW.call(ti,ta)&&(tn[ta]=ti[ta]);function n(){this.constructor=tn}return n.prototype=ti.prototype,tn.prototype=new n,tn.__super__=ti.prototype,tn};ez=function(){function t(tn){var ti;this.file=tn,ti=this.file.directory.tables[this.tag],this.exists=!!ti,ti&&(this.offset=ti.offset,this.length=ti.length,this.parse(this.file.contents))}return t.prototype.parse=function(){},t.prototype.encode=function(){},t.prototype.raw=function(){return this.exists?(this.file.contents.pos=this.offset,this.file.contents.read(this.length)):null},t}();var eV=function(){function t(){return t.__super__.constructor.apply(this,arguments)}return ge(t,ez),t.prototype.tag="head",t.prototype.parse=function(tn){return tn.pos=this.offset,this.version=tn.readInt(),this.revision=tn.readInt(),this.checkSumAdjustment=tn.readInt(),this.magicNumber=tn.readInt(),this.flags=tn.readShort(),this.unitsPerEm=tn.readShort(),this.created=tn.readLongLong(),this.modified=tn.readLongLong(),this.xMin=tn.readShort(),this.yMin=tn.readShort(),this.xMax=tn.readShort(),this.yMax=tn.readShort(),this.macStyle=tn.readShort(),this.lowestRecPPEM=tn.readShort(),this.fontDirectionHint=tn.readShort(),this.indexToLocFormat=tn.readShort(),this.glyphDataFormat=tn.readShort()},t.prototype.encode=function(tn){var ti;return(ti=new eU).writeInt(this.version),ti.writeInt(this.revision),ti.writeInt(this.checkSumAdjustment),ti.writeInt(this.magicNumber),ti.writeShort(this.flags),ti.writeShort(this.unitsPerEm),ti.writeLongLong(this.created),ti.writeLongLong(this.modified),ti.writeShort(this.xMin),ti.writeShort(this.yMin),ti.writeShort(this.xMax),ti.writeShort(this.yMax),ti.writeShort(this.macStyle),ti.writeShort(this.lowestRecPPEM),ti.writeShort(this.fontDirectionHint),ti.writeShort(tn),ti.writeShort(this.glyphDataFormat),ti.data},t}(),eG=function(){function t(tn,ti){var ta,to,ts,tu,tc,tl,th,tf,td,tp,tg,tm,tv,tb,ty,tw;switch(this.platformID=tn.readUInt16(),this.encodingID=tn.readShort(),this.offset=ti+tn.readInt(),td=tn.pos,tn.pos=this.offset,this.format=tn.readUInt16(),this.length=tn.readUInt16(),this.language=tn.readUInt16(),this.isUnicode=3===this.platformID&&1===this.encodingID&&4===this.format||0===this.platformID&&4===this.format,this.codeMap={},this.format){case 0:for(tl=0;tl<256;++tl)this.codeMap[tl]=tn.readByte();break;case 4:for(tp=tn.readUInt16()/2,tn.pos+=6,ts=function(){var ti,ta;for(ta=[],tl=ti=0;0<=tp?ti<tp:ti>tp;tl=0<=tp?++ti:--ti)ta.push(tn.readUInt16());return ta}(),tn.pos+=2,tm=function(){var ti,ta;for(ta=[],tl=ti=0;0<=tp?ti<tp:ti>tp;tl=0<=tp?++ti:--ti)ta.push(tn.readUInt16());return ta}(),th=function(){var ti,ta;for(ta=[],tl=ti=0;0<=tp?ti<tp:ti>tp;tl=0<=tp?++ti:--ti)ta.push(tn.readUInt16());return ta}(),tf=function(){var ti,ta;for(ta=[],tl=ti=0;0<=tp?ti<tp:ti>tp;tl=0<=tp?++ti:--ti)ta.push(tn.readUInt16());return ta}(),to=(this.length-tn.pos+this.offset)/2,tc=function(){var ti,ta;for(ta=[],tl=ti=0;0<=to?ti<to:ti>to;tl=0<=to?++ti:--ti)ta.push(tn.readUInt16());return ta}(),tl=tb=0,tw=ts.length;tb<tw;tl=++tb)for(tv=ts[tl],ta=ty=tg=tm[tl];tg<=tv?ty<=tv:ty>=tv;ta=tg<=tv?++ty:--ty)0===tf[tl]?tu=ta+th[tl]:0!==(tu=tc[tf[tl]/2+(ta-tg)-(tp-tl)]||0)&&(tu+=th[tl]),this.codeMap[ta]=65535&tu}tn.pos=td}return t.encode=function(tn,ti){var ta,to,ts,tu,tc,tl,th,tf,td,tp,tg,tm,tv,tb,ty,tw,tN,tL,tx,tA,tS,t_,tP,tk,tF,tI,tj,tC,tE,tO,tB,tM,tq,tR,tD,tT,tz,tU,tH,tW,tV,tG,tJ,tY,tX,tZ;switch(tC=new eU,tu=Object.keys(tn).sort(function(tn,ti){return tn-ti}),ti){case"macroman":for(tv=0,tb=function(){var tn=[];for(tm=0;tm<256;++tm)tn.push(0);return tn}(),tw={0:0},ts={},tE=0,tq=tu.length;tE<tq;tE++)null==tw[tJ=tn[to=tu[tE]]]&&(tw[tJ]=++tv),ts[to]={old:tn[to],new:tw[tn[to]]},tb[to]=tw[tn[to]];return tC.writeUInt16(1),tC.writeUInt16(0),tC.writeUInt32(12),tC.writeUInt16(0),tC.writeUInt16(262),tC.writeUInt16(0),tC.write(tb),{charMap:ts,subtable:tC.data,maxGlyphID:tv+1};case"unicode":for(tI=[],td=[],tN=0,tw={},ta={},ty=th=null,tO=0,tR=tu.length;tO<tR;tO++)null==tw[tx=tn[to=tu[tO]]]&&(tw[tx]=++tN),ta[to]={old:tx,new:tw[tx]},tc=tw[tx]-to,null!=ty&&tc===th||(ty&&td.push(ty),tI.push(to),th=tc),ty=to;for(ty&&td.push(ty),td.push(65535),tI.push(65535),tk=2*(tP=tI.length),tp=Math.log((t_=2*Math.pow(Math.log(tP)/Math.LN2,2))/2)/Math.LN2,tS=2*tP-t_,tl=[],tA=[],tg=[],tm=tB=0,tD=tI.length;tB<tD;tm=++tB){if(tF=tI[tm],tf=td[tm],65535===tF){tl.push(0),tA.push(0);break}if(tF-(tj=ta[tF].new)>=32768)for(tl.push(0),tA.push(2*(tg.length+tP-tm)),to=tM=tF;tF<=tf?tM<=tf:tM>=tf;to=tF<=tf?++tM:--tM)tg.push(ta[to].new);else tl.push(tj-tF),tA.push(0)}for(tC.writeUInt16(3),tC.writeUInt16(1),tC.writeUInt32(12),tC.writeUInt16(4),tC.writeUInt16(16+8*tP+2*tg.length),tC.writeUInt16(0),tC.writeUInt16(tk),tC.writeUInt16(t_),tC.writeUInt16(tp),tC.writeUInt16(tS),tV=0,tT=td.length;tV<tT;tV++)to=td[tV],tC.writeUInt16(to);for(tC.writeUInt16(0),tG=0,tz=tI.length;tG<tz;tG++)to=tI[tG],tC.writeUInt16(to);for(tY=0,tU=tl.length;tY<tU;tY++)tc=tl[tY],tC.writeUInt16(tc);for(tX=0,tH=tA.length;tX<tH;tX++)tL=tA[tX],tC.writeUInt16(tL);for(tZ=0,tW=tg.length;tZ<tW;tZ++)tv=tg[tZ],tC.writeUInt16(tv);return{charMap:ta,subtable:tC.data,maxGlyphID:tN+1}}},t}(),eJ=function(){function t(){return t.__super__.constructor.apply(this,arguments)}return ge(t,ez),t.prototype.tag="cmap",t.prototype.parse=function(tn){var ti,ta,to;for(tn.pos=this.offset,this.version=tn.readUInt16(),to=tn.readUInt16(),this.tables=[],this.unicode=null,ta=0;0<=to?ta<to:ta>to;ta=0<=to?++ta:--ta)ti=new eG(tn,this.offset),this.tables.push(ti),ti.isUnicode&&null==this.unicode&&(this.unicode=ti);return!0},t.encode=function(tn,ti){var ta,to;return null==ti&&(ti="macroman"),ta=eG.encode(tn,ti),(to=new eU).writeUInt16(0),to.writeUInt16(1),ta.table=to.data.concat(ta.subtable),ta},t}(),eY=function(){function t(){return t.__super__.constructor.apply(this,arguments)}return ge(t,ez),t.prototype.tag="hhea",t.prototype.parse=function(tn){return tn.pos=this.offset,this.version=tn.readInt(),this.ascender=tn.readShort(),this.decender=tn.readShort(),this.lineGap=tn.readShort(),this.advanceWidthMax=tn.readShort(),this.minLeftSideBearing=tn.readShort(),this.minRightSideBearing=tn.readShort(),this.xMaxExtent=tn.readShort(),this.caretSlopeRise=tn.readShort(),this.caretSlopeRun=tn.readShort(),this.caretOffset=tn.readShort(),tn.pos+=8,this.metricDataFormat=tn.readShort(),this.numberOfMetrics=tn.readUInt16()},t}(),eX=function(){function t(){return t.__super__.constructor.apply(this,arguments)}return ge(t,ez),t.prototype.tag="OS/2",t.prototype.parse=function(tn){if(tn.pos=this.offset,this.version=tn.readUInt16(),this.averageCharWidth=tn.readShort(),this.weightClass=tn.readUInt16(),this.widthClass=tn.readUInt16(),this.type=tn.readShort(),this.ySubscriptXSize=tn.readShort(),this.ySubscriptYSize=tn.readShort(),this.ySubscriptXOffset=tn.readShort(),this.ySubscriptYOffset=tn.readShort(),this.ySuperscriptXSize=tn.readShort(),this.ySuperscriptYSize=tn.readShort(),this.ySuperscriptXOffset=tn.readShort(),this.ySuperscriptYOffset=tn.readShort(),this.yStrikeoutSize=tn.readShort(),this.yStrikeoutPosition=tn.readShort(),this.familyClass=tn.readShort(),this.panose=function(){var ti,ta;for(ta=[],ti=0;ti<10;++ti)ta.push(tn.readByte());return ta}(),this.charRange=function(){var ti,ta;for(ta=[],ti=0;ti<4;++ti)ta.push(tn.readInt());return ta}(),this.vendorID=tn.readString(4),this.selection=tn.readShort(),this.firstCharIndex=tn.readShort(),this.lastCharIndex=tn.readShort(),this.version>0&&(this.ascent=tn.readShort(),this.descent=tn.readShort(),this.lineGap=tn.readShort(),this.winAscent=tn.readShort(),this.winDescent=tn.readShort(),this.codePageRange=function(){var ti,ta;for(ta=[],ti=0;ti<2;ti=++ti)ta.push(tn.readInt());return ta}(),this.version>1))return this.xHeight=tn.readShort(),this.capHeight=tn.readShort(),this.defaultChar=tn.readShort(),this.breakChar=tn.readShort(),this.maxContext=tn.readShort()},t}(),eZ=function(){function t(){return t.__super__.constructor.apply(this,arguments)}return ge(t,ez),t.prototype.tag="post",t.prototype.parse=function(tn){var ti,ta,to,ts;switch(tn.pos=this.offset,this.format=tn.readInt(),this.italicAngle=tn.readInt(),this.underlinePosition=tn.readShort(),this.underlineThickness=tn.readShort(),this.isFixedPitch=tn.readInt(),this.minMemType42=tn.readInt(),this.maxMemType42=tn.readInt(),this.minMemType1=tn.readInt(),this.maxMemType1=tn.readInt(),this.format){case 65536:case 196608:break;case 131072:for(ta=tn.readUInt16(),this.glyphNameIndex=[],ts=0;0<=ta?ts<ta:ts>ta;ts=0<=ta?++ts:--ts)this.glyphNameIndex.push(tn.readUInt16());for(this.names=[],to=[];tn.pos<this.offset+this.length;)ti=tn.readByte(),to.push(this.names.push(tn.readString(ti)));return to;case 151552:return ta=tn.readUInt16(),this.offsets=tn.read(ta);case 262144:return this.map=(function(){var ti,ta,to;for(to=[],ts=ti=0,ta=this.file.maxp.numGlyphs;0<=ta?ti<ta:ti>ta;ts=0<=ta?++ti:--ti)to.push(tn.readUInt32());return to}).call(this)}},t}(),Le=function(tn,ti){this.raw=tn,this.length=tn.length,this.platformID=ti.platformID,this.encodingID=ti.encodingID,this.languageID=ti.languageID},eK=function(){function t(){return t.__super__.constructor.apply(this,arguments)}return ge(t,ez),t.prototype.tag="name",t.prototype.parse=function(tn){var ti,ta,to,ts,tu,tc,tl,th,tf,td,tp;for(tn.pos=this.offset,tn.readShort(),ti=tn.readShort(),tc=tn.readShort(),ta=[],ts=0;0<=ti?ts<ti:ts>ti;ts=0<=ti?++ts:--ts)ta.push({platformID:tn.readShort(),encodingID:tn.readShort(),languageID:tn.readShort(),nameID:tn.readShort(),length:tn.readShort(),offset:this.offset+tc+tn.readShort()});for(tl={},ts=tf=0,td=ta.length;tf<td;ts=++tf)to=ta[ts],tn.pos=to.offset,th=tn.readString(to.length),tu=new Le(th,to),null==tl[tp=to.nameID]&&(tl[tp]=[]),tl[to.nameID].push(tu);this.strings=tl,this.copyright=tl[0],this.fontFamily=tl[1],this.fontSubfamily=tl[2],this.uniqueSubfamily=tl[3],this.fontName=tl[4],this.version=tl[5];try{this.postscriptName=tl[6][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}catch(tn){this.postscriptName=tl[4][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}return this.trademark=tl[7],this.manufacturer=tl[8],this.designer=tl[9],this.description=tl[10],this.vendorUrl=tl[11],this.designerUrl=tl[12],this.license=tl[13],this.licenseUrl=tl[14],this.preferredFamily=tl[15],this.preferredSubfamily=tl[17],this.compatibleFull=tl[18],this.sampleText=tl[19]},t}(),e$=function(){function t(){return t.__super__.constructor.apply(this,arguments)}return ge(t,ez),t.prototype.tag="maxp",t.prototype.parse=function(tn){return tn.pos=this.offset,this.version=tn.readInt(),this.numGlyphs=tn.readUInt16(),this.maxPoints=tn.readUInt16(),this.maxContours=tn.readUInt16(),this.maxCompositePoints=tn.readUInt16(),this.maxComponentContours=tn.readUInt16(),this.maxZones=tn.readUInt16(),this.maxTwilightPoints=tn.readUInt16(),this.maxStorage=tn.readUInt16(),this.maxFunctionDefs=tn.readUInt16(),this.maxInstructionDefs=tn.readUInt16(),this.maxStackElements=tn.readUInt16(),this.maxSizeOfInstructions=tn.readUInt16(),this.maxComponentElements=tn.readUInt16(),this.maxComponentDepth=tn.readUInt16()},t}(),eQ=function(){function t(){return t.__super__.constructor.apply(this,arguments)}return ge(t,ez),t.prototype.tag="hmtx",t.prototype.parse=function(tn){var ti,ta,to,ts,tu,tc,tl;for(tn.pos=this.offset,this.metrics=[],ti=0,tc=this.file.hhea.numberOfMetrics;0<=tc?ti<tc:ti>tc;ti=0<=tc?++ti:--ti)this.metrics.push({advance:tn.readUInt16(),lsb:tn.readInt16()});for(to=this.file.maxp.numGlyphs-this.file.hhea.numberOfMetrics,this.leftSideBearings=function(){var ta,ts;for(ts=[],ti=ta=0;0<=to?ta<to:ta>to;ti=0<=to?++ta:--ta)ts.push(tn.readInt16());return ts}(),this.widths=(function(){var tn,ti,ta,to;for(to=[],tn=0,ti=(ta=this.metrics).length;tn<ti;tn++)ts=ta[tn],to.push(ts.advance);return to}).call(this),ta=this.widths[this.widths.length-1],tl=[],ti=tu=0;0<=to?tu<to:tu>to;ti=0<=to?++tu:--tu)tl.push(this.widths.push(ta));return tl},t.prototype.forGlyph=function(tn){return tn in this.metrics?this.metrics[tn]:{advance:this.metrics[this.metrics.length-1].advance,lsb:this.leftSideBearings[tn-this.metrics.length]}},t}(),e1=[].slice,e2=function(){function t(){return t.__super__.constructor.apply(this,arguments)}return ge(t,ez),t.prototype.tag="glyf",t.prototype.parse=function(){return this.cache={}},t.prototype.glyphFor=function(tn){var ti,ta,to,ts,tu,tc,tl,th,tf,td;return tn in this.cache?this.cache[tn]:(ts=this.file.loca,ti=this.file.contents,ta=ts.indexOf(tn),0===(to=ts.lengthOf(tn))?this.cache[tn]=null:(ti.pos=this.offset+ta,tu=(tc=new eU(ti.read(to))).readShort(),th=tc.readShort(),td=tc.readShort(),tl=tc.readShort(),tf=tc.readShort(),this.cache[tn]=-1===tu?new e0(tc,th,td,tl,tf):new e5(tc,tu,th,td,tl,tf),this.cache[tn]))},t.prototype.encode=function(tn,ti,ta){var to,ts,tu,tc,tl;for(tu=[],ts=[],tc=0,tl=ti.length;tc<tl;tc++)to=tn[ti[tc]],ts.push(tu.length),to&&(tu=tu.concat(to.encode(ta)));return ts.push(tu.length),{table:tu,offsets:ts}},t}(),e5=function(){function t(tn,ti,ta,to,ts,tu){this.raw=tn,this.numberOfContours=ti,this.xMin=ta,this.yMin=to,this.xMax=ts,this.yMax=tu,this.compound=!1}return t.prototype.encode=function(){return this.raw.data},t}(),e0=function(){function t(tn,ti,ta,to,ts){var tu,tc;for(this.raw=tn,this.xMin=ti,this.yMin=ta,this.xMax=to,this.yMax=ts,this.compound=!0,this.glyphIDs=[],this.glyphOffsets=[],tu=this.raw;tc=tu.readShort(),this.glyphOffsets.push(tu.pos),this.glyphIDs.push(tu.readUInt16()),32&tc;)tu.pos+=1&tc?4:2,128&tc?tu.pos+=8:64&tc?tu.pos+=4:8&tc&&(tu.pos+=2)}return t.prototype.encode=function(){var tn,ti,ta;for(ti=new eU(e1.call(this.raw.data)),tn=0,ta=this.glyphIDs.length;tn<ta;++tn)ti.pos=this.glyphOffsets[tn];return ti.data},t}(),e3=function(){function t(){return t.__super__.constructor.apply(this,arguments)}return ge(t,ez),t.prototype.tag="loca",t.prototype.parse=function(tn){var ti,ta;return tn.pos=this.offset,ti=this.file.head.indexToLocFormat,this.offsets=0===ti?(function(){var ti,to;for(to=[],ta=0,ti=this.length;ta<ti;ta+=2)to.push(2*tn.readUInt16());return to}).call(this):(function(){var ti,to;for(to=[],ta=0,ti=this.length;ta<ti;ta+=4)to.push(tn.readUInt32());return to}).call(this)},t.prototype.indexOf=function(tn){return this.offsets[tn]},t.prototype.lengthOf=function(tn){return this.offsets[tn+1]-this.offsets[tn]},t.prototype.encode=function(tn,ti){for(var ta=new Uint32Array(this.offsets.length),to=0,ts=0,tu=0;tu<ta.length;++tu)if(ta[tu]=to,ts<ti.length&&ti[ts]==tu){++ts,ta[tu]=to;var tc=this.offsets[tu],tl=this.offsets[tu+1]-tc;tl>0&&(to+=tl)}for(var th=Array(4*ta.length),tf=0;tf<ta.length;++tf)th[4*tf+3]=255&ta[tf],th[4*tf+2]=(65280&ta[tf])>>8,th[4*tf+1]=(16711680&ta[tf])>>16,th[4*tf]=(4278190080&ta[tf])>>24;return th},t}(),e4=function(){function t(tn){this.font=tn,this.subset={},this.unicodes={},this.next=33}return t.prototype.generateCmap=function(){var tn,ti,ta,to,ts;for(ti in to=this.font.cmap.tables[0].codeMap,tn={},ts=this.subset)ta=ts[ti],tn[ti]=to[ta];return tn},t.prototype.glyphsFor=function(tn){var ti,ta,to,ts,tu,tc,tl;for(to={},tu=0,tc=tn.length;tu<tc;tu++)to[ts=tn[tu]]=this.font.glyf.glyphFor(ts);for(ts in ti=[],to)(null!=(ta=to[ts])?ta.compound:void 0)&&ti.push.apply(ti,ta.glyphIDs);if(ti.length>0)for(ts in tl=this.glyphsFor(ti))ta=tl[ts],to[ts]=ta;return to},t.prototype.encode=function(tn,ti){var ta,to,ts,tu,tc,tl,th,tf,td,tp,tg,tm,tv,tb,ty;for(to in ta=eJ.encode(this.generateCmap(),"unicode"),tu=this.glyphsFor(tn),tg={0:0},ty=ta.charMap)tg[(tl=ty[to]).old]=tl.new;for(tm in tp=ta.maxGlyphID,tu)tm in tg||(tg[tm]=tp++);return td=Object.keys(tf=function(tn){var ti,ta;for(ti in ta={},tn)ta[tn[ti]]=ti;return ta}(tg)).sort(function(tn,ti){return tn-ti}),tv=function(){var tn,ti,ta;for(ta=[],tn=0,ti=td.length;tn<ti;tn++)tc=td[tn],ta.push(tf[tc]);return ta}(),ts=this.font.glyf.encode(tu,tv,tg),th=this.font.loca.encode(ts.offsets,tv),tb={cmap:this.font.cmap.raw(),glyf:ts.table,loca:th,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(ti)},this.font.os2.exists&&(tb["OS/2"]=this.font.os2.raw()),this.font.directory.encode(tb)},t}();E.API.PDFObject=function(){var tn;function e(){}return tn=function(tn,ti){return(Array(ti+1).join("0")+tn).slice(-ti)},e.convert=function(ti){var ta,to,ts,tu;if(Array.isArray(ti))return"["+(function(){var tn,to,ts;for(ts=[],tn=0,to=ti.length;tn<to;tn++)ta=ti[tn],ts.push(e.convert(ta));return ts})().join(" ")+"]";if("string"==typeof ti)return"/"+ti;if(null!=ti?ti.isString:void 0)return"("+ti+")";if(ti instanceof Date)return"(D:"+tn(ti.getUTCFullYear(),4)+tn(ti.getUTCMonth(),2)+tn(ti.getUTCDate(),2)+tn(ti.getUTCHours(),2)+tn(ti.getUTCMinutes(),2)+tn(ti.getUTCSeconds(),2)+"Z)";if("[object Object]"===({}
113).toString.call(ti)){for(to in ts=["<<"],ti)tu=ti[to],ts.push("/"+to+" "+e.convert(tu));return ts.push(">>"),ts.join("\n")}return""+ti},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.