(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-6cadc8d7"],{7037:function(A,t,e){function r(t){return A.exports=r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(A){return typeof A}:function(A){return A&&"function"==typeof Symbol&&A.constructor===Symbol&&A!==Symbol.prototype?"symbol":typeof A},A.exports.__esModule=!0,A.exports["default"]=A.exports,r(t)}e("a4d3"),e("e01a"),e("d3b7"),e("d28b"),e("3ca3"),e("ddb0"),A.exports=r,A.exports.__esModule=!0,A.exports["default"]=A.exports},"72ba":function(A,t,e){"use strict";e.d(t,"b",(function(){return W})),e.d(t,"a",(function(){return X}));var r=Uint8Array,n=Uint16Array,i=Uint32Array,s=new r([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),o=new r([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),a=new r([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),c=function(A,t){for(var e=new n(31),r=0;r<31;++r)e[r]=t+=1<>>1|(21845&p)<<1;w=(52428&w)>>>2|(13107&w)<<2,w=(61680&w)>>>4|(3855&w)<<4,g[p]=((65280&w)>>>8|(255&w)<<8)>>>1}var m=function(A,t,e){for(var r=A.length,i=0,s=new n(t);i>>c]=u}else for(o=new n(r),i=0;i>>15-A[i];return o},Q=new r(288);for(p=0;p<144;++p)Q[p]=8;for(p=144;p<256;++p)Q[p]=9;for(p=256;p<280;++p)Q[p]=7;for(p=280;p<288;++p)Q[p]=8;var C=new r(32);for(p=0;p<32;++p)C[p]=5;var F=m(Q,9,0),v=m(Q,9,1),y=m(C,5,0),b=m(C,5,1),U=function(A){for(var t=A[0],e=1;et&&(t=A[e]);return t},L=function(A,t,e){var r=t/8>>0;return(A[r]|A[r+1]<<8)>>>(7&t)&e},I=function(A,t){var e=t/8>>0;return(A[e]|A[e+1]<<8|A[e+2]<<16)>>>(7&t)},E=function(A){return(A/8>>0)+(7&A&&1)},x=function(A,t,e){(null==t||t<0)&&(t=0),(null==e||e>A.length)&&(e=A.length);var s=new(A instanceof n?n:A instanceof i?i:r)(e-t);return s.set(A.subarray(t,e)),s},H=function(A,t,e){var n=A.length,i=!t||e,c=!e||e.i;e||(e={}),t||(t=new r(3*n));var u=function(A){var e=t.length;if(A>e){var n=new r(Math.max(2*e,A));n.set(t),t=n}},h=e.f||0,f=e.p||0,d=e.b||0,g=e.l,p=e.d,w=e.m,Q=e.n,C=8*n;do{if(!g){e.f=h=L(A,f,1);var F=L(A,f+1,3);if(f+=3,!F){var y=E(f)+4,H=A[y-4]|A[y-3]<<8,N=y+H;if(N>n){if(c)throw"unexpected EOF";break}i&&u(d+H),t.set(A.subarray(y,N),d),e.b=d+=H,e.p=f=8*N;continue}if(1==F)g=v,p=b,w=9,Q=5;else{if(2!=F)throw"invalid block type";var S=L(A,f,31)+257,P=L(A,f+10,15)+4,D=S+L(A,f+5,31)+1;f+=14;for(var k=new r(D),_=new r(19),M=0;MC)break;var T=m(_,K,1);for(M=0;M>>4;if(y<16)k[M++]=y;else{var j=0,G=0;16==y?(G=3+L(A,f,3),f+=2,j=k[M-1]):17==y?(G=3+L(A,f,7),f+=3):18==y&&(G=11+L(A,f,127),f+=7);while(G--)k[M++]=j}}var V=k.subarray(0,S),q=k.subarray(S);w=U(V),Q=U(q),g=m(V,w,1),p=m(q,Q,1)}if(f>C)throw"unexpected EOF"}i&&u(d+131072);var J=(1<>>4;if(f+=15&j,f>C)throw"unexpected EOF";if(!j)throw"invalid length/literal";if(Y<256)t[d++]=Y;else{if(256==Y){g=null;break}var z=Y-254;if(Y>264){M=Y-257;var Z=s[M];z=L(A,f,(1<>>4;if(!$)throw"invalid distance";f+=15&$;q=B[AA];if(AA>3){Z=o[AA];q+=I(A,f)&(1<C)throw"unexpected EOF";i&&u(d+131072);for(var tA=d+z;d>0;A[r]|=e,A[r+1]|=e>>>8},S=function(A,t,e){e<<=7&t;var r=t/8>>0;A[r]|=e,A[r+1]|=e>>>8,A[r+2]|=e>>>16},P=function(A,t){for(var e=[],i=0;iB&&(B=o[i].s);var d=new n(B+1),g=D(e[h-1],d,0);if(g>t){i=0;var p=0,w=g-t,m=1<t))break;p+=m-(1<>>=w;while(p>0){var C=o[i].s;d[C]=0&&p;--i){var F=o[i].s;d[F]==t&&(--d[F],++p)}g=t}return[new r(d),g]},D=function(A,t,e){return-1==A.s?Math.max(D(A.l,t,e+1),D(A.r,t,e+1)):t[A.s]=e},k=function(A){var t=A.length;while(t&&!A[--t]);for(var e=new n(++t),r=0,i=A[0],s=1,o=function(A){e[r++]=A},a=1;a<=t;++a)if(A[a]==i&&a!=t)++s;else{if(!i&&s>2){for(;s>138;s-=138)o(32754);s>2&&(o(s>10?s-11<<5|28690:s-3<<5|12305),s=0)}else if(s>3){for(o(i),--s;s>6;s-=6)o(8304);s>2&&(o(s-3<<5|8208),s=0)}while(s--)o(i);s=1,i=A[a]}return[e.subarray(0,r),t]},_=function(A,t){for(var e=0,r=0;r>>8,A[n+2]=255^A[n],A[n+3]=255^A[n+1];for(var i=0;i4&&!T[a[j-1]];--j);var G,V,q,J,W=f+5<<3,X=_(i,Q)+_(c,C)+u,Y=_(i,g)+_(c,v)+u+14+3*j+_(D,T)+(2*D[16]+3*D[17]+7*D[18]);if(W<=X&&W<=Y)return M(t,B,A.subarray(h,h+f));if(N(t,B,1+(Y15&&(N(t,B,AA[K]>>>5&127),B+=AA[K]>>>12)}}}else G=F,V=Q,q=y,J=C;for(K=0;K255){tA=r[K]>>>18&31;S(t,B,G[tA+257]),B+=V[tA+257],tA>7&&(N(t,B,r[K]>>>23&31),B+=s[tA]);var eA=31&r[K];S(t,B,q[eA]),B+=J[eA],eA>3&&(S(t,B,r[K]>>>5&8191),B+=o[eA])}else S(t,B,G[r[K]]),B+=V[r[K]];return S(t,B,G[256]),B+V[256]},O=new i([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),T=new r(0),R=function(A,t,e,a,c,u){var l=A.length,f=new r(a+l+5*(1+Math.floor(l/7e3))+c),B=f.subarray(a,f.length-c),g=0;if(!t||l<8)for(var p=0;p<=l;p+=65535){var w=p+65535;w>>13,C=8191&m,F=(1<7e3||D>24576)&&V>423){g=K(A,B,0,I,H,N,P,D,_,p-_,g),D=S=P=0,_=p;for(var q=0;q<286;++q)H[q]=0;for(q=0;q<30;++q)N[q]=0}var J=2,W=0,X=C,Y=j-G&32767;if(V>2&&R==L(p-Y)){var z=Math.min(Q,V)-1,Z=Math.min(32767,p),$=Math.min(258,V);while(Y<=Z&&--X&&j!=G){if(A[p+J]==A[p+J-Y]){for(var AA=0;AA<$&&A[p+AA]==A[p+AA-Y];++AA);if(AA>J){if(J=AA,W=Y,AA>z)break;var tA=Math.min(Y,AA-2),eA=0;for(q=0;qeA&&(eA=iA,G=rA)}}}j=G,G=v[j],Y+=j-G+32768&32767}}if(W){I[D++]=268435456|h[J]<<18|d[W];var sA=31&h[J],oA=31&d[W];P+=s[sA]+o[oA],++H[257+sA],++N[oA],k=p+J,++S}else I[D++]=A[p],++H[A[p]]}}g=K(A,B,u,I,H,N,P,D,_,p-_,g),u||(g=M(B,g,T))}return x(f,0,a+E(g)+c)},j=function(){var A=1,t=0;return{p:function(e){for(var r=A,n=t,i=e.length,s=0;s!=i;){for(var o=Math.min(s+5552,i);s>>8<<16|(255&t)<<8|t>>>8)+2*((255&A)<<23)}}},G=function(A,t,e,r,n){return R(A,null==t.level?6:t.level,null==t.mem?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(A.length)))):12+t.mem,e,r,!n)},V=function(A,t,e){for(;e;++t)A[t]=e,e>>>=8},q=function(A,t){var e=t.level,r=0==e?0:e<6?1:9==e?3:2;A[0]=120,A[1]=r<<6|(r?32-2*r:1)},J=function(A){if(8!=(15&A[0])||A[0]>>>4>7||(A[0]<<8|A[1])%31)throw"invalid zlib data";if(32&A[1])throw"invalid zlib data: preset dictionaries not supported"};function W(A,t){void 0===t&&(t={});var e=j();e.p(A);var r=G(A,t,2,4);return q(r,t),V(r,r.length-4,e.d()),r}function X(A,t){return H((J(A),A.subarray(2,-4)),t)}},"8baf":function(A,t,e){"use strict";(function(A){var r=e("7037"),n=e.n(r),i=e("72ba"),s=function(){return"undefined"!=typeof window?window:"undefined"!=typeof A?A:"undefined"!=typeof self?self:this}();function o(){s.console&&"function"==typeof s.console.log&&s.console.log.apply(s.console,arguments)}var a={log:o,warn:function(A){s.console&&("function"==typeof s.console.warn?s.console.warn.apply(s.console,arguments):o.call(null,arguments))},error:function(A){s.console&&("function"==typeof s.console.error?s.console.error.apply(s.console,arguments):o(A))}};function c(A,t,e){var r=new XMLHttpRequest;r.open("GET",A),r.responseType="blob",r.onload=function(){B(r.response,t,e)},r.onerror=function(){a.error("could not download file")},r.send()}function u(A){var t=new XMLHttpRequest;t.open("HEAD",A,!1);try{t.send()}catch(A){}return t.status>=200&&t.status<=299}function l(A){try{A.dispatchEvent(new MouseEvent("click"))}catch(e){var t=document.createEvent("MouseEvents");t.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),A.dispatchEvent(t)}}var h,f,B=s.saveAs||("object"!==("undefined"==typeof window?"undefined":n()(window))||window!==s?function(){}:"undefined"!=typeof HTMLAnchorElement&&"download"in HTMLAnchorElement.prototype?function(A,t,e){var r=s.URL||s.webkitURL,n=document.createElement("a");t=t||A.name||"download",n.download=t,n.rel="noopener","string"==typeof A?(n.href=A,n.origin!==location.origin?u(n.href)?c(A,t,e):l(n,n.target="_blank"):l(n)):(n.href=r.createObjectURL(A),setTimeout((function(){r.revokeObjectURL(n.href)}),4e4),setTimeout((function(){l(n)}),0))}:"msSaveOrOpenBlob"in navigator?function(A,t,e){if(t=t||A.name||"download","string"==typeof A)if(u(A))c(A,t,e);else{var r=document.createElement("a");r.href=A,r.target="_blank",setTimeout((function(){l(r)}))}else navigator.msSaveOrOpenBlob(function(A,t){return void 0===t?t={autoBom:!1}:"object"!==n()(t)&&(a.warn("Deprecated: Expected third argument to be a object"),t={autoBom:!t}),t.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(A.type)?new Blob([String.fromCharCode(65279),A],{type:A.type}):A}(A,e),t)}:function(A,t,e,r){if((r=r||open("","_blank"))&&(r.document.title=r.document.body.innerText="downloading..."),"string"==typeof A)return c(A,t,e);var i="application/octet-stream"===A.type,o=/constructor/i.test(s.HTMLElement)||s.safari,a=/CriOS\/[\d]+/.test(navigator.userAgent);if((a||i&&o)&&"object"===("undefined"==typeof FileReader?"undefined":n()(FileReader))){var u=new FileReader;u.onloadend=function(){var A=u.result;A=a?A:A.replace(/^data:[^;]*;/,"data:attachment/file;"),r?r.location.href=A:location=A,r=null},u.readAsDataURL(A)}else{var l=s.URL||s.webkitURL,h=l.createObjectURL(A);r?r.location=h:location.href=h,r=null,setTimeout((function(){l.revokeObjectURL(h)}),4e4)}}); /** * A class to parse color values * @author Stoyan Stefanov * {@link http://www.phpied.com/rgb-color-parser-in-javascript/} * @license Use it if you like it */function d(A){var t;A=A||"",this.ok=!1,"#"==A.charAt(0)&&(A=A.substr(1,6)),A={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:"90ee90",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"}[A=(A=A.replace(/ /g,"")).toLowerCase()]||A;for(var e=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(A){return[parseInt(A[1]),parseInt(A[2]),parseInt(A[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(A){return[parseInt(A[1],16),parseInt(A[2],16),parseInt(A[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(A){return[parseInt(A[1]+A[1],16),parseInt(A[2]+A[2],16),parseInt(A[3]+A[3],16)]}}],r=0;r255?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 A=this.r.toString(16),t=this.g.toString(16),e=this.b.toString(16);return 1==A.length&&(A="0"+A),1==t.length&&(t="0"+t),1==e.length&&(e="0"+e),"#"+A+t+e /** * @license * Joseph Myers does not specify a particular license for his work. * * Author: Joseph Myers * Accessed from: http://www.myersdaily.org/joseph/javascript/md5.js * * Modified by: Owen Leong */}}function g(A,t){var e=A[0],r=A[1],n=A[2],i=A[3];e=w(e,r,n,i,t[0],7,-680876936),i=w(i,e,r,n,t[1],12,-389564586),n=w(n,i,e,r,t[2],17,606105819),r=w(r,n,i,e,t[3],22,-1044525330),e=w(e,r,n,i,t[4],7,-176418897),i=w(i,e,r,n,t[5],12,1200080426),n=w(n,i,e,r,t[6],17,-1473231341),r=w(r,n,i,e,t[7],22,-45705983),e=w(e,r,n,i,t[8],7,1770035416),i=w(i,e,r,n,t[9],12,-1958414417),n=w(n,i,e,r,t[10],17,-42063),r=w(r,n,i,e,t[11],22,-1990404162),e=w(e,r,n,i,t[12],7,1804603682),i=w(i,e,r,n,t[13],12,-40341101),n=w(n,i,e,r,t[14],17,-1502002290),e=m(e,r=w(r,n,i,e,t[15],22,1236535329),n,i,t[1],5,-165796510),i=m(i,e,r,n,t[6],9,-1069501632),n=m(n,i,e,r,t[11],14,643717713),r=m(r,n,i,e,t[0],20,-373897302),e=m(e,r,n,i,t[5],5,-701558691),i=m(i,e,r,n,t[10],9,38016083),n=m(n,i,e,r,t[15],14,-660478335),r=m(r,n,i,e,t[4],20,-405537848),e=m(e,r,n,i,t[9],5,568446438),i=m(i,e,r,n,t[14],9,-1019803690),n=m(n,i,e,r,t[3],14,-187363961),r=m(r,n,i,e,t[8],20,1163531501),e=m(e,r,n,i,t[13],5,-1444681467),i=m(i,e,r,n,t[2],9,-51403784),n=m(n,i,e,r,t[7],14,1735328473),e=Q(e,r=m(r,n,i,e,t[12],20,-1926607734),n,i,t[5],4,-378558),i=Q(i,e,r,n,t[8],11,-2022574463),n=Q(n,i,e,r,t[11],16,1839030562),r=Q(r,n,i,e,t[14],23,-35309556),e=Q(e,r,n,i,t[1],4,-1530992060),i=Q(i,e,r,n,t[4],11,1272893353),n=Q(n,i,e,r,t[7],16,-155497632),r=Q(r,n,i,e,t[10],23,-1094730640),e=Q(e,r,n,i,t[13],4,681279174),i=Q(i,e,r,n,t[0],11,-358537222),n=Q(n,i,e,r,t[3],16,-722521979),r=Q(r,n,i,e,t[6],23,76029189),e=Q(e,r,n,i,t[9],4,-640364487),i=Q(i,e,r,n,t[12],11,-421815835),n=Q(n,i,e,r,t[15],16,530742520),e=C(e,r=Q(r,n,i,e,t[2],23,-995338651),n,i,t[0],6,-198630844),i=C(i,e,r,n,t[7],10,1126891415),n=C(n,i,e,r,t[14],15,-1416354905),r=C(r,n,i,e,t[5],21,-57434055),e=C(e,r,n,i,t[12],6,1700485571),i=C(i,e,r,n,t[3],10,-1894986606),n=C(n,i,e,r,t[10],15,-1051523),r=C(r,n,i,e,t[1],21,-2054922799),e=C(e,r,n,i,t[8],6,1873313359),i=C(i,e,r,n,t[15],10,-30611744),n=C(n,i,e,r,t[6],15,-1560198380),r=C(r,n,i,e,t[13],21,1309151649),e=C(e,r,n,i,t[4],6,-145523070),i=C(i,e,r,n,t[11],10,-1120210379),n=C(n,i,e,r,t[2],15,718787259),r=C(r,n,i,e,t[9],21,-343485551),A[0]=E(e,A[0]),A[1]=E(r,A[1]),A[2]=E(n,A[2]),A[3]=E(i,A[3])}function p(A,t,e,r,n,i){return t=E(E(t,A),E(r,i)),E(t<>>32-n,e)}function w(A,t,e,r,n,i,s){return p(t&e|~t&r,A,t,n,i,s)}function m(A,t,e,r,n,i,s){return p(t&r|e&~r,A,t,n,i,s)}function Q(A,t,e,r,n,i,s){return p(t^e^r,A,t,n,i,s)}function C(A,t,e,r,n,i,s){return p(e^(t|~r),A,t,n,i,s)}function F(A){var t,e=A.length,r=[1732584193,-271733879,-1732584194,271733878];for(t=64;t<=A.length;t+=64)g(r,v(A.substring(t-64,t)));A=A.substring(t-64);var n=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(t=0;t>2]|=A.charCodeAt(t)<<(t%4<<3);if(n[t>>2]|=128<<(t%4<<3),t>55)for(g(r,n),t=0;t<16;t++)n[t]=0;return n[14]=8*e,g(r,n),r}function v(A){var t,e=[];for(t=0;t<64;t+=4)e[t>>2]=A.charCodeAt(t)+(A.charCodeAt(t+1)<<8)+(A.charCodeAt(t+2)<<16)+(A.charCodeAt(t+3)<<24);return e}h=s.atob.bind(s),f=s.btoa.bind(s);var y="0123456789abcdef".split("");function b(A){for(var t="",e=0;e<4;e++)t+=y[A>>8*e+4&15]+y[A>>8*e&15];return t}function U(A){return String.fromCharCode((255&A)>>0,(65280&A)>>8,(16711680&A)>>16,(4278190080&A)>>24)}function L(A){return F(A).map(U).join("")}var I="5d41402abc4b2a76b9719d911017c592"!=function(A){for(var t=0;t>16)+(t>>16)+(e>>16)<<16|65535&e}return A+t&4294967295} /** * @license * FPDF is released under a permissive license: there is no usage restriction. * You may embed it freely in your application (commercial or not), with or * without modifications. * * Reference: http://www.fpdf.org/en/script/script37.php */function x(A,t){var e,r,n,i;if(A!==e){for(var s=(n=A,i=1+(256/A.length>>0),new Array(i+1).join(n)),o=[],a=0;a<256;a++)o[a]=a;var c=0;for(a=0;a<256;a++){var u=o[a];c=(c+u+s.charCodeAt(a))%256,o[a]=o[c],o[c]=u}e=A,r=o}else o=r;var l=t.length,h=0,f=0,B="";for(a=0;a€/\f©þdSiz";var i=(t+this.padding).substr(0,32),s=(e+this.padding).substr(0,32);this.O=this.processOwnerPassword(i,s),this.P=-(1+(255^n)),this.encryptionKey=L(i+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(r)).substr(0,5),this.U=x(this.encryptionKey,this.padding)}function S(A){if(/[^\u0000-\u00ff]/.test(A))throw new Error("Invalid PDF Name Object: "+A+", Only accept ASCII characters.");for(var t="",e=A.length,r=0;r126?"#"+("0"+n.toString(16)).slice(-2):A[r]}return t}function P(A){if("object"!==n()(A))throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var t={};this.subscribe=function(A,e,r){if(r=r||!1,"string"!=typeof A||"function"!=typeof e||"boolean"!=typeof r)throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");t.hasOwnProperty(A)||(t[A]={});var n=Math.random().toString(35);return t[A][n]=[e,!!r],n},this.unsubscribe=function(A){for(var e in t)if(t[e][A])return delete t[e][A],0===Object.keys(t[e]).length&&delete t[e],!0;return!1},this.publish=function(e){if(t.hasOwnProperty(e)){var r=Array.prototype.slice.call(arguments,1),n=[];for(var i in t[e]){var o=t[e][i];try{o[0].apply(A,r)}catch(e){s.console&&a.error("jsPDF PubSub Error",e.message,e)}o[1]&&n.push(i)}n.length&&n.forEach(this.unsubscribe)}},this.getTopics=function(){return t}}function D(A){if(!(this instanceof D))return new D(A);var t="opacity,stroke-opacity".split(",");for(var e in A)A.hasOwnProperty(e)&&t.indexOf(e)>=0&&(this[e]=A[e]);this.id="",this.objectNumber=-1}function k(A,t){this.gState=A,this.matrix=t,this.id="",this.objectNumber=-1}function _(A,t,e,r,n){if(!(this instanceof _))return new _(A,t,e,r,n);this.type="axial"===A?2:3,this.coords=t,this.colors=e,k.call(this,r,n)}function M(A,t,e,r,n){if(!(this instanceof M))return new M(A,t,e,r,n);this.boundingBox=A,this.xStep=t,this.yStep=e,this.stream="",this.cloneIndex=0,k.call(this,r,n)}function K(A){var t,e="string"==typeof arguments[0]?arguments[0]:"p",r=arguments[1],i=arguments[2],o=arguments[3],c=[],u=1,l=16,h="S",g=null;"object"===n()(A=A||{})&&(e=A.orientation,r=A.unit||r,i=A.format||i,o=A.compress||A.compressPdf||o,null!==(g=A.encryption||null)&&(g.userPassword=g.userPassword||"",g.ownerPassword=g.ownerPassword||"",g.userPermissions=g.userPermissions||[]),u="number"==typeof A.userUnit?Math.abs(A.userUnit):1,void 0!==A.precision&&(t=A.precision),void 0!==A.floatPrecision&&(l=A.floatPrecision),h=A.defaultPathOperation||"S"),c=A.filters||(!0===o?["FlateEncode"]:c),r=r||"mm",e=(""+(e||"P")).toLowerCase();var p=A.putOnlyUsedFonts||!1,w={},m={internal:{},__private__:{}};m.__private__.PubSub=P;var Q="1.3",C=m.__private__.getPdfVersion=function(){return Q};m.__private__.setPdfVersion=function(A){Q=A};var F={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]};m.__private__.getPageFormats=function(){return F};var v=m.__private__.getPageFormat=function(A){return F[A]};i=i||"a4";var y={COMPAT:"compat",ADVANCED:"advanced"},b=y.COMPAT;function U(){this.saveGraphicsState(),lA(new VA(UA,0,0,-UA,0,Ke()*UA).toString()+" cm"),this.setFontSize(this.getFontSize()/UA),h="n",b=y.ADVANCED}function L(){this.restoreGraphicsState(),h="S",b=y.COMPAT}var I=m.__private__.combineFontStyleAndFontWeight=function(A,t){if("bold"==A&&"normal"==t||"bold"==A&&400==t||"normal"==A&&"italic"==t||"bold"==A&&"italic"==t)throw new Error("Invalid Combination of fontweight and fontstyle");return t&&(A=400==t||"normal"===t?"italic"===A?"italic":"normal":700!=t&&"bold"!==t||"normal"!==A?(700==t?"bold":t)+""+A:"bold"),A};m.advancedAPI=function(A){var t=b===y.COMPAT;return t&&U.call(this),"function"!=typeof A||(A(this),t&&L.call(this)),this},m.compatAPI=function(A){var t=b===y.ADVANCED;return t&&L.call(this),"function"!=typeof A||(A(this),t&&U.call(this)),this},m.isAdvancedAPI=function(){return b===y.ADVANCED};var E,x=function(A){if(b!==y.ADVANCED)throw new Error(A+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},H=m.roundToPrecision=m.__private__.roundToPrecision=function(A,e){var r=t||e;if(isNaN(A)||isNaN(r))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return A.toFixed(r).replace(/0+$/,"")};E=m.hpf=m.__private__.hpf="number"==typeof l?function(A){if(isNaN(A))throw new Error("Invalid argument passed to jsPDF.hpf");return H(A,l)}:"smart"===l?function(A){if(isNaN(A))throw new Error("Invalid argument passed to jsPDF.hpf");return H(A,A>-1&&A<1?16:5)}:function(A){if(isNaN(A))throw new Error("Invalid argument passed to jsPDF.hpf");return H(A,16)};var k=m.f2=m.__private__.f2=function(A){if(isNaN(A))throw new Error("Invalid argument passed to jsPDF.f2");return H(A,2)},O=m.__private__.f3=function(A){if(isNaN(A))throw new Error("Invalid argument passed to jsPDF.f3");return H(A,3)},T=m.scale=m.__private__.scale=function(A){if(isNaN(A))throw new Error("Invalid argument passed to jsPDF.scale");return b===y.COMPAT?A*UA:b===y.ADVANCED?A:void 0},R=function(A){return b===y.COMPAT?Ke()-A:b===y.ADVANCED?A:void 0},j=function(A){return T(R(A))};m.__private__.setPrecision=m.setPrecision=function(A){"number"==typeof parseInt(A,10)&&(t=parseInt(A,10))};var G,V="00000000000000000000000000000000",q=m.__private__.getFileId=function(){return V},J=m.__private__.setFileId=function(A){return V=void 0!==A&&/^[a-fA-F0-9]{32}$/.test(A)?A.toUpperCase():V.split("").map((function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))})).join(""),null!==g&&(Jt=new N(g.userPermissions,g.userPassword,g.ownerPassword,V)),V};m.setFileId=function(A){return J(A),this},m.getFileId=function(){return q()};var W=m.__private__.convertDateToPDFDate=function(A){var t=A.getTimezoneOffset(),e=t<0?"+":"-",r=Math.floor(Math.abs(t/60)),n=Math.abs(t%60),i=[e,$(r),"'",$(n),"'"].join("");return["D:",A.getFullYear(),$(A.getMonth()+1),$(A.getDate()),$(A.getHours()),$(A.getMinutes()),$(A.getSeconds()),i].join("")},X=m.__private__.convertPDFDateToDate=function(A){var t=parseInt(A.substr(2,4),10),e=parseInt(A.substr(6,2),10)-1,r=parseInt(A.substr(8,2),10),n=parseInt(A.substr(10,2),10),i=parseInt(A.substr(12,2),10),s=parseInt(A.substr(14,2),10);return new Date(t,e,r,n,i,s,0)},Y=m.__private__.setCreationDate=function(A){var t;if(void 0===A&&(A=new Date),A instanceof Date)t=W(A);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(A))throw new Error("Invalid argument passed to jsPDF.setCreationDate");t=A}return G=t},z=m.__private__.getCreationDate=function(A){var t=G;return"jsDate"===A&&(t=X(G)),t};m.setCreationDate=function(A){return Y(A),this},m.getCreationDate=function(A){return z(A)};var Z,$=m.__private__.padd2=function(A){return("0"+parseInt(A)).slice(-2)},AA=m.__private__.padd2Hex=function(A){return("00"+(A=A.toString())).substr(A.length)},tA=0,eA=[],rA=[],nA=0,iA=[],sA=[],oA=!1,aA=rA,cA=function(){tA=0,nA=0,rA=[],eA=[],iA=[],$A=YA(),At=YA()};m.__private__.setCustomOutputDestination=function(A){oA=!0,aA=A};var uA=function(A){oA||(aA=A)};m.__private__.resetCustomOutputDestination=function(){oA=!1,aA=rA};var lA=m.__private__.out=function(A){return A=A.toString(),nA+=A.length+1,aA.push(A),aA},hA=m.__private__.write=function(A){return lA(1===arguments.length?A.toString():Array.prototype.join.call(arguments," "))},fA=m.__private__.getArrayBuffer=function(A){for(var t=A.length,e=new ArrayBuffer(t),r=new Uint8Array(e);t--;)r[t]=A.charCodeAt(t);return e},BA=[["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]];m.__private__.getStandardFonts=function(){return BA};var dA=A.fontSize||16;m.__private__.setFontSize=m.setFontSize=function(A){return dA=b===y.ADVANCED?A/UA:A,this};var gA,pA=m.__private__.getFontSize=m.getFontSize=function(){return b===y.COMPAT?dA:dA*UA},wA=A.R2L||!1;m.__private__.setR2L=m.setR2L=function(A){return wA=A,this},m.__private__.getR2L=m.getR2L=function(){return wA};var mA,QA=m.__private__.setZoomMode=function(A){var t=[void 0,null,"fullwidth","fullheight","fullpage","original"];if(/^(?:\d+\.\d*|\d*\.\d+|\d+)%$/.test(A))gA=A;else if(isNaN(A)){if(-1===t.indexOf(A))throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+A+'" is not recognized.');gA=A}else gA=parseInt(A,10)};m.__private__.getZoomMode=function(){return gA};var CA,FA=m.__private__.setPageMode=function(A){if(-1==[void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(A))throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+A+'" is not recognized.');mA=A};m.__private__.getPageMode=function(){return mA};var vA=m.__private__.setLayoutMode=function(A){if(-1==[void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(A))throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+A+'" is not recognized.');CA=A};m.__private__.getLayoutMode=function(){return CA},m.__private__.setDisplayMode=m.setDisplayMode=function(A,t,e){return QA(A),vA(t),FA(e),this};var yA={title:"",subject:"",author:"",keywords:"",creator:""};m.__private__.getDocumentProperty=function(A){if(-1===Object.keys(yA).indexOf(A))throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return yA[A]},m.__private__.getDocumentProperties=function(){return yA},m.__private__.setDocumentProperties=m.setProperties=m.setDocumentProperties=function(A){for(var t in yA)yA.hasOwnProperty(t)&&A[t]&&(yA[t]=A[t]);return this},m.__private__.setDocumentProperty=function(A,t){if(-1===Object.keys(yA).indexOf(A))throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return yA[A]=t};var bA,UA,LA,IA,EA,xA={},HA={},NA=[],SA={},PA={},DA={},kA={},_A=null,MA=0,KA=[],OA=new P(m),TA=A.hotfixes||[],RA={},jA={},GA=[],VA=function A(t,e,r,n,i,s){if(!(this instanceof A))return new A(t,e,r,n,i,s);isNaN(t)&&(t=1),isNaN(e)&&(e=0),isNaN(r)&&(r=0),isNaN(n)&&(n=1),isNaN(i)&&(i=0),isNaN(s)&&(s=0),this._matrix=[t,e,r,n,i,s]};Object.defineProperty(VA.prototype,"sx",{get:function(){return this._matrix[0]},set:function(A){this._matrix[0]=A}}),Object.defineProperty(VA.prototype,"shy",{get:function(){return this._matrix[1]},set:function(A){this._matrix[1]=A}}),Object.defineProperty(VA.prototype,"shx",{get:function(){return this._matrix[2]},set:function(A){this._matrix[2]=A}}),Object.defineProperty(VA.prototype,"sy",{get:function(){return this._matrix[3]},set:function(A){this._matrix[3]=A}}),Object.defineProperty(VA.prototype,"tx",{get:function(){return this._matrix[4]},set:function(A){this._matrix[4]=A}}),Object.defineProperty(VA.prototype,"ty",{get:function(){return this._matrix[5]},set:function(A){this._matrix[5]=A}}),Object.defineProperty(VA.prototype,"a",{get:function(){return this._matrix[0]},set:function(A){this._matrix[0]=A}}),Object.defineProperty(VA.prototype,"b",{get:function(){return this._matrix[1]},set:function(A){this._matrix[1]=A}}),Object.defineProperty(VA.prototype,"c",{get:function(){return this._matrix[2]},set:function(A){this._matrix[2]=A}}),Object.defineProperty(VA.prototype,"d",{get:function(){return this._matrix[3]},set:function(A){this._matrix[3]=A}}),Object.defineProperty(VA.prototype,"e",{get:function(){return this._matrix[4]},set:function(A){this._matrix[4]=A}}),Object.defineProperty(VA.prototype,"f",{get:function(){return this._matrix[5]},set:function(A){this._matrix[5]=A}}),Object.defineProperty(VA.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(VA.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(VA.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(VA.prototype,"isIdentity",{get:function(){return 1===this.sx&&0===this.shy&&0===this.shx&&1===this.sy&&0===this.tx&&0===this.ty}}),VA.prototype.join=function(A){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(E).join(A)},VA.prototype.multiply=function(A){var t=A.sx*this.sx+A.shy*this.shx,e=A.sx*this.shy+A.shy*this.sy,r=A.shx*this.sx+A.sy*this.shx,n=A.shx*this.shy+A.sy*this.sy,i=A.tx*this.sx+A.ty*this.shx+this.tx,s=A.tx*this.shy+A.ty*this.sy+this.ty;return new VA(t,e,r,n,i,s)},VA.prototype.decompose=function(){var A=this.sx,t=this.shy,e=this.shx,r=this.sy,n=this.tx,i=this.ty,s=Math.sqrt(A*A+t*t),o=(A/=s)*e+(t/=s)*r;e-=A*o,r-=t*o;var a=Math.sqrt(e*e+r*r);return o/=a,A*(r/=a)>16&255,r=c>>8&255,i=255&c}if(void 0===r||void 0===s&&e===r&&r===i)if("string"==typeof e)t=e+" "+o[0];else switch(A.precision){case 2:t=k(e/255)+" "+o[0];break;case 3:default:t=O(e/255)+" "+o[0]}else if(void 0===s||"object"===n()(s)){if(s&&!isNaN(s.a)&&0===s.a)return["1.","1.","1.",o[1]].join(" ");if("string"==typeof e)t=[e,r,i,o[1]].join(" ");else switch(A.precision){case 2:t=[k(e/255),k(r/255),k(i/255),o[1]].join(" ");break;default:case 3:t=[O(e/255),O(r/255),O(i/255),o[1]].join(" ")}}else if("string"==typeof e)t=[e,r,i,s,o[2]].join(" ");else switch(A.precision){case 2:t=[k(e),k(r),k(i),k(s),o[2]].join(" ");break;case 3:default:t=[O(e),O(r),O(i),O(s),o[2]].join(" ")}return t},rt=m.__private__.getFilters=function(){return c},nt=m.__private__.putStream=function(A){var t=(A=A||{}).data||"",e=A.filters||rt(),r=A.alreadyAppliedFilters||[],n=A.addLength1||!1,i=t.length,s=A.objectId,o=function(A){return A};if(null!==g&&void 0===s)throw new Error("ObjectId must be passed to putStream for file encryption");null!==g&&(o=Jt.encryptor(s,0));var a={};!0===e&&(e=["FlateEncode"]);var c=A.additionalKeyValues||[],u=(a=void 0!==K.API.processDataByFilters?K.API.processDataByFilters(t,e):{data:t,reverseChain:[]}).reverseChain+(Array.isArray(r)?r.join(" "):r.toString());if(0!==a.data.length&&(c.push({key:"Length",value:a.data.length}),!0===n&&c.push({key:"Length1",value:i})),0!=u.length)if(u.split("/").length-1==1)c.push({key:"Filter",value:u});else{c.push({key:"Filter",value:"["+u+"]"});for(var l=0;l>"),0!==a.data.length&&(lA("stream"),lA(o(a.data)),lA("endstream"))},it=m.__private__.putPage=function(A){var t=A.number,e=A.data,r=A.objId,n=A.contentsObjId;zA(r,!0),lA("<>"),lA("endobj");var i=e.join("\n");return b===y.ADVANCED&&(i+="\nQ"),zA(n,!0),nt({data:i,filters:rt(),objectId:n}),lA("endobj"),r},st=m.__private__.putPages=function(){var A,t,e=[];for(A=1;A<=MA;A++)KA[A].objId=YA(),KA[A].contentsObjId=YA();for(A=1;A<=MA;A++)e.push(it({number:A,data:sA[A],objId:KA[A].objId,contentsObjId:KA[A].contentsObjId,mediaBox:KA[A].mediaBox,cropBox:KA[A].cropBox,bleedBox:KA[A].bleedBox,trimBox:KA[A].trimBox,artBox:KA[A].artBox,userUnit:KA[A].userUnit,rootDictionaryObjId:$A,resourceDictionaryObjId:At}));zA($A,!0),lA("<>"),lA("endobj"),OA.publish("postPutPages")},ot=function(A){OA.publish("putFont",{font:A,out:lA,newObject:XA,putStream:nt}),!0!==A.isAlreadyPutted&&(A.objectNumber=XA(),lA("<<"),lA("/Type /Font"),lA("/BaseFont /"+S(A.postScriptName)),lA("/Subtype /Type1"),"string"==typeof A.encoding&&lA("/Encoding /"+A.encoding),lA("/FirstChar 32"),lA("/LastChar 255"),lA(">>"),lA("endobj"))},at=function(){for(var A in xA)xA.hasOwnProperty(A)&&(!1===p||!0===p&&w.hasOwnProperty(A))&&ot(xA[A])},ct=function(A){A.objectNumber=XA();var t=[];t.push({key:"Type",value:"/XObject"}),t.push({key:"Subtype",value:"/Form"}),t.push({key:"BBox",value:"["+[E(A.x),E(A.y),E(A.x+A.width),E(A.y+A.height)].join(" ")+"]"}),t.push({key:"Matrix",value:"["+A.matrix.toString()+"]"});var e=A.pages[1].join("\n");nt({data:e,additionalKeyValues:t,objectId:A.objectNumber}),lA("endobj")},ut=function(){for(var A in RA)RA.hasOwnProperty(A)&&ct(RA[A])},lt=function(A,t){var e,r=[],n=1/(t-1);for(e=0;e<1;e+=n)r.push(e);if(r.push(1),0!=A[0].offset){var i={offset:0,color:A[0].color};A.unshift(i)}if(1!=A[A.length-1].offset){var s={offset:1,color:A[A.length-1].color};A.push(s)}for(var o="",a=0,c=0;cA[a+1].offset;)a++;var u=A[a].offset,l=(e-u)/(A[a+1].offset-u),h=A[a].color,f=A[a+1].color;o+=AA(Math.round((1-l)*h[0]+l*f[0]).toString(16))+AA(Math.round((1-l)*h[1]+l*f[1]).toString(16))+AA(Math.round((1-l)*h[2]+l*f[2]).toString(16))}return o.trim()},ht=function(A,t){t||(t=21);var e=XA(),r=lt(A.colors,t),n=[];n.push({key:"FunctionType",value:"0"}),n.push({key:"Domain",value:"[0.0 1.0]"}),n.push({key:"Size",value:"["+t+"]"}),n.push({key:"BitsPerSample",value:"8"}),n.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),n.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),nt({data:r,additionalKeyValues:n,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:e}),lA("endobj"),A.objectNumber=XA(),lA("<< /ShadingType "+A.type),lA("/ColorSpace /DeviceRGB");var i="/Coords ["+E(parseFloat(A.coords[0]))+" "+E(parseFloat(A.coords[1]))+" ";2===A.type?i+=E(parseFloat(A.coords[2]))+" "+E(parseFloat(A.coords[3])):i+=E(parseFloat(A.coords[2]))+" "+E(parseFloat(A.coords[3]))+" "+E(parseFloat(A.coords[4]))+" "+E(parseFloat(A.coords[5])),lA(i+="]"),A.matrix&&lA("/Matrix ["+A.matrix.toString()+"]"),lA("/Function "+e+" 0 R"),lA("/Extend [true true]"),lA(">>"),lA("endobj")},ft=function(A,t){var e=YA(),r=XA();t.push({resourcesOid:e,objectOid:r}),A.objectNumber=r;var n=[];n.push({key:"Type",value:"/Pattern"}),n.push({key:"PatternType",value:"1"}),n.push({key:"PaintType",value:"1"}),n.push({key:"TilingType",value:"1"}),n.push({key:"BBox",value:"["+A.boundingBox.map(E).join(" ")+"]"}),n.push({key:"XStep",value:E(A.xStep)}),n.push({key:"YStep",value:E(A.yStep)}),n.push({key:"Resources",value:e+" 0 R"}),A.matrix&&n.push({key:"Matrix",value:"["+A.matrix.toString()+"]"}),nt({data:A.stream,additionalKeyValues:n,objectId:A.objectNumber}),lA("endobj")},Bt=function(A){var t;for(t in SA)SA.hasOwnProperty(t)&&(SA[t]instanceof _?ht(SA[t]):SA[t]instanceof M&&ft(SA[t],A))},dt=function(A){for(var t in A.objectNumber=XA(),lA("<<"),A)switch(t){case"opacity":lA("/ca "+k(A[t]));break;case"stroke-opacity":lA("/CA "+k(A[t]))}lA(">>"),lA("endobj")},gt=function(){var A;for(A in DA)DA.hasOwnProperty(A)&&dt(DA[A])},pt=function(){for(var A in lA("/XObject <<"),RA)RA.hasOwnProperty(A)&&RA[A].objectNumber>=0&&lA("/"+A+" "+RA[A].objectNumber+" 0 R");OA.publish("putXobjectDict"),lA(">>")},wt=function(){Jt.oid=XA(),lA("<<"),lA("/Filter /Standard"),lA("/V "+Jt.v),lA("/R "+Jt.r),lA("/U <"+Jt.toHexString(Jt.U)+">"),lA("/O <"+Jt.toHexString(Jt.O)+">"),lA("/P "+Jt.P),lA(">>"),lA("endobj")},mt=function(){for(var A in lA("/Font <<"),xA)xA.hasOwnProperty(A)&&(!1===p||!0===p&&w.hasOwnProperty(A))&&lA("/"+A+" "+xA[A].objectNumber+" 0 R");lA(">>")},Qt=function(){if(Object.keys(SA).length>0){for(var A in lA("/Shading <<"),SA)SA.hasOwnProperty(A)&&SA[A]instanceof _&&SA[A].objectNumber>=0&&lA("/"+A+" "+SA[A].objectNumber+" 0 R");OA.publish("putShadingPatternDict"),lA(">>")}},Ct=function(A){if(Object.keys(SA).length>0){for(var t in lA("/Pattern <<"),SA)SA.hasOwnProperty(t)&&SA[t]instanceof m.TilingPattern&&SA[t].objectNumber>=0&&SA[t].objectNumber>")}},Ft=function(){if(Object.keys(DA).length>0){var A;for(A in lA("/ExtGState <<"),DA)DA.hasOwnProperty(A)&&DA[A].objectNumber>=0&&lA("/"+A+" "+DA[A].objectNumber+" 0 R");OA.publish("putGStateDict"),lA(">>")}},vt=function(A){zA(A.resourcesOid,!0),lA("<<"),lA("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),mt(),Qt(),Ct(A.objectOid),Ft(),pt(),lA(">>"),lA("endobj")},yt=function(){var A=[];at(),gt(),ut(),Bt(A),OA.publish("putResources"),A.forEach(vt),vt({resourcesOid:At,objectOid:Number.MAX_SAFE_INTEGER}),OA.publish("postPutResources")},bt=function(){OA.publish("putAdditionalObjects");for(var A=0;A>8&&(a=!0);A=o.join("")}for(e=A.length;void 0===a&&0!==e;)A.charCodeAt(e-1)>>8&&(a=!0),e--;if(!a)return A;for(o=t.noBOM?[]:[254,255],e=0,r=A.length;e>8)>>8)throw new Error("Character at position "+e+" of string '"+A+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");o.push(u),o.push(c-(u<<8))}return String.fromCharCode.apply(void 0,o)},Ht=m.__private__.pdfEscape=m.pdfEscape=function(A,t){return xt(A,t).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},Nt=m.__private__.beginPage=function(A){sA[++MA]=[],KA[MA]={objId:0,contentsObjId:0,userUnit:Number(u),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(A[0]),topRightY:Number(A[1])}},Dt(MA),uA(sA[Z])},St=function(A,t){var r,n,s;switch(e=t||e,"string"==typeof A&&(r=v(A.toLowerCase()),Array.isArray(r)&&(n=r[0],s=r[1])),Array.isArray(A)&&(n=A[0]*UA,s=A[1]*UA),isNaN(n)&&(n=i[0],s=i[1]),(n>14400||s>14400)&&(a.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),n=Math.min(14400,n),s=Math.min(14400,s)),i=[n,s],e.substr(0,1)){case"l":s>n&&(i=[s,n]);break;case"p":n>s&&(i=[s,n])}Nt(i),Be(he),lA(Fe),0!==Ie&&lA(Ie+" J"),0!==Ee&&lA(Ee+" j"),OA.publish("addPage",{pageNumber:MA})},Pt=function(A){A>0&&A<=MA&&(sA.splice(A,1),KA.splice(A,1),MA--,Z>MA&&(Z=MA),this.setPage(Z))},Dt=function(A){A>0&&A<=MA&&(Z=A)},kt=m.__private__.getNumberOfPages=m.getNumberOfPages=function(){return sA.length-1},_t=function(A,t,e){var r,n=void 0;return e=e||{},A=void 0!==A?A:xA[bA].fontName,t=void 0!==t?t:xA[bA].fontStyle,r=A.toLowerCase(),void 0!==HA[r]&&void 0!==HA[r][t]?n=HA[r][t]:void 0!==HA[A]&&void 0!==HA[A][t]?n=HA[A][t]:!1===e.disableWarning&&a.warn("Unable to look up font label for font '"+A+"', '"+t+"'. Refer to getFontList() for available fonts."),n||e.noFallback||null==(n=HA.times[t])&&(n=HA.times.normal),n},Mt=m.__private__.putInfo=function(){var A=XA(),t=function(A){return A};for(var e in null!==g&&(t=Jt.encryptor(A,0)),lA("<<"),lA("/Producer ("+Ht(t("jsPDF "+K.version))+")"),yA)yA.hasOwnProperty(e)&&yA[e]&&lA("/"+e.substr(0,1).toUpperCase()+e.substr(1)+" ("+Ht(t(yA[e]))+")");lA("/CreationDate ("+Ht(t(G))+")"),lA(">>"),lA("endobj")},Kt=m.__private__.putCatalog=function(A){var t=(A=A||{}).rootDictionaryObjId||$A;switch(XA(),lA("<<"),lA("/Type /Catalog"),lA("/Pages "+t+" 0 R"),gA||(gA="fullwidth"),gA){case"fullwidth":lA("/OpenAction [3 0 R /FitH null]");break;case"fullheight":lA("/OpenAction [3 0 R /FitV null]");break;case"fullpage":lA("/OpenAction [3 0 R /Fit]");break;case"original":lA("/OpenAction [3 0 R /XYZ null null 1]");break;default:var e=""+gA;"%"===e.substr(e.length-1)&&(gA=parseInt(gA)/100),"number"==typeof gA&&lA("/OpenAction [3 0 R /XYZ null null "+k(gA)+"]")}switch(CA||(CA="continuous"),CA){case"continuous":lA("/PageLayout /OneColumn");break;case"single":lA("/PageLayout /SinglePage");break;case"two":case"twoleft":lA("/PageLayout /TwoColumnLeft");break;case"tworight":lA("/PageLayout /TwoColumnRight")}mA&&lA("/PageMode /"+mA),OA.publish("putCatalog"),lA(">>"),lA("endobj")},Ot=m.__private__.putTrailer=function(){lA("trailer"),lA("<<"),lA("/Size "+(tA+1)),lA("/Root "+tA+" 0 R"),lA("/Info "+(tA-1)+" 0 R"),null!==g&&lA("/Encrypt "+Jt.oid+" 0 R"),lA("/ID [ <"+V+"> <"+V+"> ]"),lA(">>")},Tt=m.__private__.putHeader=function(){lA("%PDF-"+Q),lA("%ºß¬à")},Rt=m.__private__.putXRef=function(){var A="0000000000";lA("xref"),lA("0 "+(tA+1)),lA("0000000000 65535 f ");for(var t=1;t<=tA;t++)"function"==typeof eA[t]?lA((A+eA[t]()).slice(-10)+" 00000 n "):void 0!==eA[t]?lA((A+eA[t]).slice(-10)+" 00000 n "):lA("0000000000 00000 n ")},jt=m.__private__.buildDocument=function(){cA(),uA(rA),OA.publish("buildDocument"),Tt(),st(),bt(),yt(),null!==g&&wt(),Mt(),Kt();var A=nA;return Rt(),Ot(),lA("startxref"),lA(""+A),lA("%%EOF"),uA(sA[Z]),rA.join("\n")},Gt=m.__private__.getBlob=function(A){return new Blob([fA(A)],{type:"application/pdf"})},Vt=m.output=m.__private__.output=Et((function(A,t){switch("string"==typeof(t=t||{})?t={filename:t}:t.filename=t.filename||"generated.pdf",A){case void 0:return jt();case"save":m.save(t.filename);break;case"arraybuffer":return fA(jt());case"blob":return Gt(jt());case"bloburi":case"bloburl":if(void 0!==s.URL&&"function"==typeof s.URL.createObjectURL)return s.URL&&s.URL.createObjectURL(Gt(jt()))||void 0;a.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var e="",r=jt();try{e=f(r)}catch(A){e=f(unescape(encodeURIComponent(r)))}return"data:application/pdf;filename="+t.filename+";base64,"+e;case"pdfobjectnewwindow":if("[object Window]"===Object.prototype.toString.call(s)){var n="https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js",i=' integrity="sha512-4ze/a9/4jqu+tX9dfOqJYSvyYd5M6qum/3HpCLr+/Jqf0whc37VUbkpNGHR7/8pSnCFw47T1fmIpwBV7UySh3g==" crossorigin="anonymous"';t.pdfObjectUrl&&(n=t.pdfObjectUrl,i="");var o='