(self["webpackChunkscproject"]=self["webpackChunkscproject"]||[]).push([[3003],{92269:function(A,t,e){e(57658),e(23767),e(8585),e(68696),e(30541),e(92087), /*! * html2canvas 1.4.1 * Copyright (c) 2022 Niklas von Hertzen * Released under MIT License */ function(t,e){A.exports=e()}(0,(function(){"use strict"; /*! ***************************************************************************** Copyright (c) Microsoft Corporation. Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ***************************************************************************** */var A=function(t,e){return A=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(A,t){A.__proto__=t}||function(A,t){for(var e in t)Object.prototype.hasOwnProperty.call(t,e)&&(A[e]=t[e])},A(t,e)};function t(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}A(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}var e=function(){return e=Object.assign||function(A){for(var t,e=1,r=arguments.length;e0&&n[n.length-1])&&(6===i[0]||2===i[0])){s=0;continue}if(3===i[0]&&(!n||i[1]>n[0]&&i[1]=55296&&n<=56319&&e>10),s%1024+56320)),(n+1===e||r.length>16384)&&(i+=String.fromCharCode.apply(String,r),r.length=0)}return i},l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",h="undefined"===typeof Uint8Array?[]:new Uint8Array(256),f=0;f>4,u[a++]=(15&r)<<4|n>>2,u[a++]=(3&n)<<6|63&i;return c},w=function(A){for(var t=A.length,e=[],r=0;r>Q,b=1<>Q,I=y+L,E=I,x=32,H=E+x,N=65536>>C,S=1<=0){if(A<55296||A>56319&&A<=65535)return t=this.index[A>>Q],t=(t<>Q)],t=(t<>C),t=this.index[t],t+=A>>Q&P,t=this.index[t],t=(t<j?(n.push(!0),s-=j):n.push(!1),-1!==["normal","auto","loose"].indexOf(t)&&-1!==[8208,8211,12316,12448].indexOf(A))return r.push(i),e.push(nA);if(s===J||s===$){if(0===i)return r.push(i),e.push(wA);var o=e[i-1];return-1===TA.indexOf(o)?(r.push(r[i-1]),e.push(o)):(r.push(i),e.push(wA))}return r.push(i),s===mA?e.push("strict"===t?cA:bA):s===xA||s===pA?e.push(wA):s===HA?A>=131072&&A<=196605||A>=196608&&A<=262141?e.push(bA):e.push(wA):void e.push(s)})),[r,e,n]},VA=function(A,t,e,r){var n=r[e];if(Array.isArray(A)?-1!==A.indexOf(n):A===n){var i=e;while(i<=r.length){i++;var s=r[i];if(s===t)return!0;if(s!==Z)break}}if(n===Z){i=e;while(i>0){i--;var o=r[i];if(Array.isArray(A)?-1!==A.indexOf(o):A===o){var a=e;while(a<=r.length){a++;s=r[a];if(s===t)return!0;if(s!==Z)break}}if(o!==Z)break}}return!1},qA=function(A,t){var e=A;while(e>=0){var r=t[e];if(r!==Z)return r;e--}return 0},JA=function(A,t,e,r,n){if(0===e[r])return PA;var i=r-1;if(Array.isArray(n)&&!0===n[i])return PA;var s=i-1,o=i+1,a=t[i],c=s>=0?t[s]:0,u=t[o];if(a===V&&u===q)return PA;if(-1!==MA.indexOf(a))return SA;if(-1!==MA.indexOf(u))return PA;if(-1!==KA.indexOf(u))return PA;if(qA(i,t)===Y)return DA;if(kA.get(A[i])===$)return PA;if((a===QA||a===CA)&&kA.get(A[o])===$)return PA;if(a===W||u===W)return PA;if(a===z)return PA;if(-1===[Z,tA,rA].indexOf(a)&&u===z)return PA;if(-1!==[iA,sA,oA,hA,gA].indexOf(u))return PA;if(qA(i,t)===uA)return PA;if(VA(lA,uA,i,t))return PA;if(VA([iA,sA],cA,i,t))return PA;if(VA(AA,AA,i,t))return PA;if(a===Z)return DA;if(a===lA||u===lA)return PA;if(u===nA||a===nA)return DA;if(-1!==[tA,rA,cA].indexOf(u)||a===eA)return PA;if(c===yA&&-1!==jA.indexOf(a))return PA;if(a===gA&&u===yA)return PA;if(u===aA)return PA;if(-1!==_A.indexOf(u)&&a===fA||-1!==_A.indexOf(a)&&u===fA)return PA;if(a===dA&&-1!==[bA,QA,CA].indexOf(u)||-1!==[bA,QA,CA].indexOf(a)&&u===BA)return PA;if(-1!==_A.indexOf(a)&&-1!==OA.indexOf(u)||-1!==OA.indexOf(a)&&-1!==_A.indexOf(u))return PA;if(-1!==[dA,BA].indexOf(a)&&(u===fA||-1!==[uA,rA].indexOf(u)&&t[o+1]===fA)||-1!==[uA,rA].indexOf(a)&&u===fA||a===fA&&-1!==[fA,gA,hA].indexOf(u))return PA;if(-1!==[fA,gA,hA,iA,sA].indexOf(u)){var l=i;while(l>=0){var h=t[l];if(h===fA)return PA;if(-1===[gA,hA].indexOf(h))break;l--}}if(-1!==[dA,BA].indexOf(u)){l=-1!==[iA,sA].indexOf(a)?s:i;while(l>=0){h=t[l];if(h===fA)return PA;if(-1===[gA,hA].indexOf(h))break;l--}}if(UA===a&&-1!==[UA,LA,FA,vA].indexOf(u)||-1!==[LA,FA].indexOf(a)&&-1!==[LA,IA].indexOf(u)||-1!==[IA,vA].indexOf(a)&&u===IA)return PA;if(-1!==RA.indexOf(a)&&-1!==[aA,BA].indexOf(u)||-1!==RA.indexOf(u)&&a===dA)return PA;if(-1!==_A.indexOf(a)&&-1!==_A.indexOf(u))return PA;if(a===hA&&-1!==_A.indexOf(u))return PA;if(-1!==_A.concat(fA).indexOf(a)&&u===uA&&-1===NA.indexOf(A[o])||-1!==_A.concat(fA).indexOf(u)&&a===sA)return PA;if(a===EA&&u===EA){var f=e[i],B=1;while(f>0){if(f--,t[f]!==EA)break;B++}if(B%2!==0)return PA}return a===QA&&u===CA?PA:DA},XA=function(A,t){t||(t={lineBreak:"normal",wordBreak:"normal"});var e=GA(A,t.lineBreak),r=e[0],n=e[1],i=e[2];"break-all"!==t.wordBreak&&"break-word"!==t.wordBreak||(n=n.map((function(A){return-1!==[fA,wA,xA].indexOf(A)?bA:A})));var s="keep-all"===t.wordBreak?i.map((function(t,e){return t&&A[e]>=19968&&A[e]<=40959})):void 0;return[r,n,s]},WA=function(){function A(A,t,e,r){this.codePoints=A,this.required=t===SA,this.start=e,this.end=r}return A.prototype.slice=function(){return u.apply(void 0,this.codePoints.slice(this.start,this.end))},A}(),YA=function(A,t){var e=c(A),r=XA(e,t),n=r[0],i=r[1],s=r[2],o=e.length,a=0,u=0;return{next:function(){if(u>=o)return{done:!0,value:null};var A=PA;while(u=jt&&A<=57},te=function(A){return A>=55296&&A<=57343},ee=function(A){return Ae(A)||A>=Wt&&A<=zt||A>=Gt&&A<=qt},re=function(A){return A>=Gt&&A<=Xt},ne=function(A){return A>=Wt&&A<=$t},ie=function(A){return re(A)||ne(A)},se=function(A){return A>=It},oe=function(A){return A===tt||A===nt||A===it},ae=function(A){return ie(A)||se(A)||A===Bt},ce=function(A){return ae(A)||Ae(A)||A===dt},ue=function(A){return A>=kt&&A<=_t||A===Mt||A>=Kt&&A<=Ot||A===Tt},le=function(A,t){return A===rt&&t!==tt},he=function(A,t,e){return A===dt?ae(t)||le(t,e):!!ae(A)||!(A!==rt||!le(A,t))},fe=function(A,t,e){return A===Ht||A===dt?!!Ae(t)||t===Dt&&Ae(e):Ae(A===Dt?t:A)},Be=function(A){var t=0,e=1;A[t]!==Ht&&A[t]!==dt||(A[t]===dt&&(e=-1),t++);var r=[];while(Ae(A[t]))r.push(A[t++]);var n=r.length?parseInt(u.apply(void 0,r),10):0;A[t]===Dt&&t++;var i=[];while(Ae(A[t]))i.push(A[t++]);var s=i.length,o=s?parseInt(u.apply(void 0,i),10):0;A[t]!==Yt&&A[t]!==Vt||t++;var a=1;A[t]!==Ht&&A[t]!==dt||(A[t]===dt&&(a=-1),t++);var c=[];while(Ae(A[t]))c.push(A[t++]);var l=c.length?parseInt(u.apply(void 0,c),10):0;return e*(n+o*Math.pow(10,-s))*Math.pow(10,a*l)},de={type:2},ge={type:3},pe={type:4},we={type:13},me={type:8},Qe={type:21},Ce={type:9},Fe={type:10},ve={type:11},ye={type:12},be={type:14},Ue={type:23},Le={type:1},Ie={type:25},Ee={type:24},xe={type:26},He={type:27},Ne={type:28},Se={type:29},Pe={type:31},De={type:32},ke=function(){function A(){this._value=[]}return A.prototype.write=function(A){this._value=this._value.concat(c(A))},A.prototype.read=function(){var A=[],t=this.consumeToken();while(t!==De)A.push(t),t=this.consumeToken();return A},A.prototype.consumeToken=function(){var A=this.consumeCodePoint();switch(A){case st:return this.consumeStringToken(st);case at:var t=this.peekCodePoint(0),e=this.peekCodePoint(1),r=this.peekCodePoint(2);if(ce(t)||le(e,r)){var n=he(t,e,r)?ZA:zA,i=this.consumeName();return{type:5,value:i,flags:n}}break;case ct:if(this.peekCodePoint(0)===ot)return this.consumeCodePoint(),we;break;case lt:return this.consumeStringToken(lt);case ht:return de;case ft:return ge;case xt:if(this.peekCodePoint(0)===ot)return this.consumeCodePoint(),be;break;case Ht:if(fe(A,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(A),this.consumeNumericToken();break;case Nt:return pe;case dt:var s=A,o=this.peekCodePoint(0),a=this.peekCodePoint(1);if(fe(s,o,a))return this.reconsumeCodePoint(A),this.consumeNumericToken();if(he(s,o,a))return this.reconsumeCodePoint(A),this.consumeIdentLikeToken();if(o===dt&&a===wt)return this.consumeCodePoint(),this.consumeCodePoint(),Ee;break;case Dt:if(fe(A,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(A),this.consumeNumericToken();break;case et:if(this.peekCodePoint(0)===xt){this.consumeCodePoint();while(1){var c=this.consumeCodePoint();if(c===xt&&(c=this.consumeCodePoint(),c===et))return this.consumeToken();if(c===Rt)return this.consumeToken()}}break;case St:return xe;case Pt:return He;case pt:if(this.peekCodePoint(0)===gt&&this.peekCodePoint(1)===dt&&this.peekCodePoint(2)===dt)return this.consumeCodePoint(),this.consumeCodePoint(),Ie;break;case mt:var l=this.peekCodePoint(0),h=this.peekCodePoint(1),f=this.peekCodePoint(2);if(he(l,h,f)){i=this.consumeName();return{type:7,value:i}}break;case Qt:return Ne;case rt:if(le(A,this.peekCodePoint(0)))return this.reconsumeCodePoint(A),this.consumeIdentLikeToken();break;case Ct:return Se;case Ft:if(this.peekCodePoint(0)===ot)return this.consumeCodePoint(),me;break;case vt:return ve;case bt:return ye;case Jt:case Zt:var B=this.peekCodePoint(0),d=this.peekCodePoint(1);return B!==Ht||!ee(d)&&d!==yt||(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(A),this.consumeIdentLikeToken();case Ut:if(this.peekCodePoint(0)===ot)return this.consumeCodePoint(),Ce;if(this.peekCodePoint(0)===Ut)return this.consumeCodePoint(),Qe;break;case Lt:if(this.peekCodePoint(0)===ot)return this.consumeCodePoint(),Fe;break;case Rt:return De}return oe(A)?(this.consumeWhiteSpace(),Pe):Ae(A)?(this.reconsumeCodePoint(A),this.consumeNumericToken()):ae(A)?(this.reconsumeCodePoint(A),this.consumeIdentLikeToken()):{type:6,value:u(A)}},A.prototype.consumeCodePoint=function(){var A=this._value.shift();return"undefined"===typeof A?-1:A},A.prototype.reconsumeCodePoint=function(A){this._value.unshift(A)},A.prototype.peekCodePoint=function(A){return A>=this._value.length?-1:this._value[A]},A.prototype.consumeUnicodeRangeToken=function(){var A=[],t=this.consumeCodePoint();while(ee(t)&&A.length<6)A.push(t),t=this.consumeCodePoint();var e=!1;while(t===yt&&A.length<6)A.push(t),t=this.consumeCodePoint(),e=!0;if(e){var r=parseInt(u.apply(void 0,A.map((function(A){return A===yt?jt:A}))),16),n=parseInt(u.apply(void 0,A.map((function(A){return A===yt?zt:A}))),16);return{type:30,start:r,end:n}}var i=parseInt(u.apply(void 0,A),16);if(this.peekCodePoint(0)===dt&&ee(this.peekCodePoint(1))){this.consumeCodePoint(),t=this.consumeCodePoint();var s=[];while(ee(t)&&s.length<6)s.push(t),t=this.consumeCodePoint();n=parseInt(u.apply(void 0,s),16);return{type:30,start:i,end:n}}return{type:30,start:i,end:i}},A.prototype.consumeIdentLikeToken=function(){var A=this.consumeName();return"url"===A.toLowerCase()&&this.peekCodePoint(0)===ht?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===ht?(this.consumeCodePoint(),{type:19,value:A}):{type:20,value:A}},A.prototype.consumeUrlToken=function(){var A=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===Rt)return{type:22,value:""};var t=this.peekCodePoint(0);if(t===lt||t===st){var e=this.consumeStringToken(this.consumeCodePoint());return 0===e.type&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===Rt||this.peekCodePoint(0)===ft)?(this.consumeCodePoint(),{type:22,value:e.value}):(this.consumeBadUrlRemnants(),Ue)}while(1){var r=this.consumeCodePoint();if(r===Rt||r===ft)return{type:22,value:u.apply(void 0,A)};if(oe(r))return this.consumeWhiteSpace(),this.peekCodePoint(0)===Rt||this.peekCodePoint(0)===ft?(this.consumeCodePoint(),{type:22,value:u.apply(void 0,A)}):(this.consumeBadUrlRemnants(),Ue);if(r===st||r===lt||r===ht||ue(r))return this.consumeBadUrlRemnants(),Ue;if(r===rt){if(!le(r,this.peekCodePoint(0)))return this.consumeBadUrlRemnants(),Ue;A.push(this.consumeEscapedCodePoint())}else A.push(r)}},A.prototype.consumeWhiteSpace=function(){while(oe(this.peekCodePoint(0)))this.consumeCodePoint()},A.prototype.consumeBadUrlRemnants=function(){while(1){var A=this.consumeCodePoint();if(A===ft||A===Rt)return;le(A,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},A.prototype.consumeStringSlice=function(A){var t=5e4,e="";while(A>0){var r=Math.min(t,A);e+=u.apply(void 0,this._value.splice(0,r)),A-=r}return this._value.shift(),e},A.prototype.consumeStringToken=function(A){var t="",e=0;do{var r=this._value[e];if(r===Rt||void 0===r||r===A)return t+=this.consumeStringSlice(e),{type:0,value:t};if(r===tt)return this._value.splice(0,e),Le;if(r===rt){var n=this._value[e+1];n!==Rt&&void 0!==n&&(n===tt?(t+=this.consumeStringSlice(e),e=-1,this._value.shift()):le(r,n)&&(t+=this.consumeStringSlice(e),t+=u(this.consumeEscapedCodePoint()),e=-1))}e++}while(1)},A.prototype.consumeNumber=function(){var A=[],t=$A,e=this.peekCodePoint(0);e!==Ht&&e!==dt||A.push(this.consumeCodePoint());while(Ae(this.peekCodePoint(0)))A.push(this.consumeCodePoint());e=this.peekCodePoint(0);var r=this.peekCodePoint(1);if(e===Dt&&Ae(r)){A.push(this.consumeCodePoint(),this.consumeCodePoint()),t=At;while(Ae(this.peekCodePoint(0)))A.push(this.consumeCodePoint())}e=this.peekCodePoint(0),r=this.peekCodePoint(1);var n=this.peekCodePoint(2);if((e===Yt||e===Vt)&&((r===Ht||r===dt)&&Ae(n)||Ae(r))){A.push(this.consumeCodePoint(),this.consumeCodePoint()),t=At;while(Ae(this.peekCodePoint(0)))A.push(this.consumeCodePoint())}return[Be(A),t]},A.prototype.consumeNumericToken=function(){var A=this.consumeNumber(),t=A[0],e=A[1],r=this.peekCodePoint(0),n=this.peekCodePoint(1),i=this.peekCodePoint(2);if(he(r,n,i)){var s=this.consumeName();return{type:15,number:t,flags:e,unit:s}}return r===ut?(this.consumeCodePoint(),{type:16,number:t,flags:e}):{type:17,number:t,flags:e}},A.prototype.consumeEscapedCodePoint=function(){var A=this.consumeCodePoint();if(ee(A)){var t=u(A);while(ee(this.peekCodePoint(0))&&t.length<6)t+=u(this.consumeCodePoint());oe(this.peekCodePoint(0))&&this.consumeCodePoint();var e=parseInt(t,16);return 0===e||te(e)||e>1114111?Et:e}return A===Rt?Et:A},A.prototype.consumeName=function(){var A="";while(1){var t=this.consumeCodePoint();if(ce(t))A+=u(t);else{if(!le(t,this.peekCodePoint(0)))return this.reconsumeCodePoint(t),A;A+=u(this.consumeEscapedCodePoint())}}},A}(),_e=function(){function A(A){this._tokens=A}return A.create=function(t){var e=new ke;return e.write(t),new A(e.read())},A.parseValue=function(t){return A.create(t).parseComponentValue()},A.parseValues=function(t){return A.create(t).parseComponentValues()},A.prototype.parseComponentValue=function(){var A=this.consumeToken();while(31===A.type)A=this.consumeToken();if(32===A.type)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(A);var t=this.consumeComponentValue();do{A=this.consumeToken()}while(31===A.type);if(32===A.type)return t;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},A.prototype.parseComponentValues=function(){var A=[];while(1){var t=this.consumeComponentValue();if(32===t.type)return A;A.push(t),A.push()}},A.prototype.consumeComponentValue=function(){var A=this.consumeToken();switch(A.type){case 11:case 28:case 2:return this.consumeSimpleBlock(A.type);case 19:return this.consumeFunction(A)}return A},A.prototype.consumeSimpleBlock=function(A){var t={type:A,values:[]},e=this.consumeToken();while(1){if(32===e.type||qe(e,A))return t;this.reconsumeToken(e),t.values.push(this.consumeComponentValue()),e=this.consumeToken()}},A.prototype.consumeFunction=function(A){var t={name:A.value,values:[],type:18};while(1){var e=this.consumeToken();if(32===e.type||3===e.type)return t;this.reconsumeToken(e),t.values.push(this.consumeComponentValue())}},A.prototype.consumeToken=function(){var A=this._tokens.shift();return"undefined"===typeof A?De:A},A.prototype.reconsumeToken=function(A){this._tokens.unshift(A)},A}(),Me=function(A){return 15===A.type},Ke=function(A){return 17===A.type},Oe=function(A){return 20===A.type},Te=function(A){return 0===A.type},Re=function(A,t){return Oe(A)&&A.value===t},je=function(A){return 31!==A.type},Ge=function(A){return 31!==A.type&&4!==A.type},Ve=function(A){var t=[],e=[];return A.forEach((function(A){if(4===A.type){if(0===e.length)throw new Error("Error parsing function args, zero tokens for arg");return t.push(e),void(e=[])}31!==A.type&&e.push(A)})),e.length&&t.push(e),t},qe=function(A,t){return 11===t&&12===A.type||(28===t&&29===A.type||2===t&&3===A.type)},Je=function(A){return 17===A.type||15===A.type},Xe=function(A){return 16===A.type||Je(A)},We=function(A){return A.length>1?[A[0],A[1]]:[A[0]]},Ye={type:17,number:0,flags:$A},ze={type:16,number:50,flags:$A},Ze={type:16,number:100,flags:$A},$e=function(A,t,e){var r=A[0],n=A[1];return[Ar(r,t),Ar("undefined"!==typeof n?n:r,e)]},Ar=function(A,t){if(16===A.type)return A.number/100*t;if(Me(A))switch(A.unit){case"rem":case"em":return 16*A.number;case"px":default:return A.number}return A.number},tr="deg",er="grad",rr="rad",nr="turn",ir={name:"angle",parse:function(A,t){if(15===t.type)switch(t.unit){case tr:return Math.PI*t.number/180;case er:return Math.PI/200*t.number;case rr:return t.number;case nr:return 2*Math.PI*t.number}throw new Error("Unsupported angle type")}},sr=function(A){return 15===A.type&&(A.unit===tr||A.unit===er||A.unit===rr||A.unit===nr)},or=function(A){var t=A.filter(Oe).map((function(A){return A.value})).join(" ");switch(t){case"to bottom right":case"to right bottom":case"left top":case"top left":return[Ye,Ye];case"to top":case"bottom":return ar(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[Ye,Ze];case"to right":case"left":return ar(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[Ze,Ze];case"to bottom":case"top":return ar(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[Ze,Ye];case"to left":case"right":return ar(270)}return 0},ar=function(A){return Math.PI*A/180},cr={name:"color",parse:function(A,t){if(18===t.type){var e=pr[t.name];if("undefined"===typeof e)throw new Error('Attempting to parse an unsupported color function "'+t.name+'"');return e(A,t.values)}if(5===t.type){if(3===t.value.length){var r=t.value.substring(0,1),n=t.value.substring(1,2),i=t.value.substring(2,3);return hr(parseInt(r+r,16),parseInt(n+n,16),parseInt(i+i,16),1)}if(4===t.value.length){r=t.value.substring(0,1),n=t.value.substring(1,2),i=t.value.substring(2,3);var s=t.value.substring(3,4);return hr(parseInt(r+r,16),parseInt(n+n,16),parseInt(i+i,16),parseInt(s+s,16)/255)}if(6===t.value.length){r=t.value.substring(0,2),n=t.value.substring(2,4),i=t.value.substring(4,6);return hr(parseInt(r,16),parseInt(n,16),parseInt(i,16),1)}if(8===t.value.length){r=t.value.substring(0,2),n=t.value.substring(2,4),i=t.value.substring(4,6),s=t.value.substring(6,8);return hr(parseInt(r,16),parseInt(n,16),parseInt(i,16),parseInt(s,16)/255)}}if(20===t.type){var o=mr[t.value.toUpperCase()];if("undefined"!==typeof o)return o}return mr.TRANSPARENT}},ur=function(A){return 0===(255&A)},lr=function(A){var t=255&A,e=255&A>>8,r=255&A>>16,n=255&A>>24;return t<255?"rgba("+n+","+r+","+e+","+t/255+")":"rgb("+n+","+r+","+e+")"},hr=function(A,t,e,r){return(A<<24|t<<16|e<<8|Math.round(255*r)<<0)>>>0},fr=function(A,t){if(17===A.type)return A.number;if(16===A.type){var e=3===t?1:255;return 3===t?A.number/100*e:Math.round(A.number/100*e)}return 0},Br=function(A,t){var e=t.filter(Ge);if(3===e.length){var r=e.map(fr),n=r[0],i=r[1],s=r[2];return hr(n,i,s,1)}if(4===e.length){var o=e.map(fr),a=(n=o[0],i=o[1],s=o[2],o[3]);return hr(n,i,s,a)}return 0};function dr(A,t,e){return e<0&&(e+=1),e>=1&&(e-=1),e<1/6?(t-A)*e*6+A:e<.5?t:e<2/3?6*(t-A)*(2/3-e)+A:A}var gr=function(A,t){var e=t.filter(Ge),r=e[0],n=e[1],i=e[2],s=e[3],o=(17===r.type?ar(r.number):ir.parse(A,r))/(2*Math.PI),a=Xe(n)?n.number/100:0,c=Xe(i)?i.number/100:0,u="undefined"!==typeof s&&Xe(s)?Ar(s,1):1;if(0===a)return hr(255*c,255*c,255*c,1);var l=c<=.5?c*(a+1):c+a-c*a,h=2*c-l,f=dr(h,l,o+1/3),B=dr(h,l,o),d=dr(h,l,o-1/3);return hr(255*f,255*B,255*d,u)},pr={hsl:gr,hsla:gr,rgb:Br,rgba:Br},wr=function(A,t){return cr.parse(A,_e.create(t).parseComponentValue())},mr={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},Qr={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(A,t){return t.map((function(A){if(Oe(A))switch(A.value){case"padding-box":return 1;case"content-box":return 2}return 0}))}},Cr={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Fr=function(A,t){var e=cr.parse(A,t[0]),r=t[1];return r&&Xe(r)?{color:e,stop:r}:{color:e,stop:null}},vr=function(A,t){var e=A[0],r=A[A.length-1];null===e.stop&&(e.stop=Ye),null===r.stop&&(r.stop=Ze);for(var n=[],i=0,s=0;si?n.push(a):n.push(i),i=a}else n.push(null)}var c=null;for(s=0;sA.optimumDistance)?{optimumCorner:t,optimumDistance:o}:A}),{optimumDistance:n?1/0:-1/0,optimumCorner:null}).optimumCorner},Ir=function(A,t,e,r,n){var i=0,s=0;switch(A.size){case 0:0===A.shape?i=s=Math.min(Math.abs(t),Math.abs(t-r),Math.abs(e),Math.abs(e-n)):1===A.shape&&(i=Math.min(Math.abs(t),Math.abs(t-r)),s=Math.min(Math.abs(e),Math.abs(e-n)));break;case 2:if(0===A.shape)i=s=Math.min(Ur(t,e),Ur(t,e-n),Ur(t-r,e),Ur(t-r,e-n));else if(1===A.shape){var o=Math.min(Math.abs(e),Math.abs(e-n))/Math.min(Math.abs(t),Math.abs(t-r)),a=Lr(r,n,t,e,!0),c=a[0],u=a[1];i=Ur(c-t,(u-e)/o),s=o*i}break;case 1:0===A.shape?i=s=Math.max(Math.abs(t),Math.abs(t-r),Math.abs(e),Math.abs(e-n)):1===A.shape&&(i=Math.max(Math.abs(t),Math.abs(t-r)),s=Math.max(Math.abs(e),Math.abs(e-n)));break;case 3:if(0===A.shape)i=s=Math.max(Ur(t,e),Ur(t,e-n),Ur(t-r,e),Ur(t-r,e-n));else if(1===A.shape){o=Math.max(Math.abs(e),Math.abs(e-n))/Math.max(Math.abs(t),Math.abs(t-r));var l=Lr(r,n,t,e,!1);c=l[0],u=l[1];i=Ur(c-t,(u-e)/o),s=o*i}break}return Array.isArray(A.size)&&(i=Ar(A.size[0],r),s=2===A.size.length?Ar(A.size[1],n):i),[i,s]},Er=function(A,t){var e=ar(180),r=[];return Ve(t).forEach((function(t,n){if(0===n){var i=t[0];if(20===i.type&&"to"===i.value)return void(e=or(t));if(sr(i))return void(e=ir.parse(A,i))}var s=Fr(A,t);r.push(s)})),{angle:e,stops:r,type:1}},xr=function(A,t){var e=ar(180),r=[];return Ve(t).forEach((function(t,n){if(0===n){var i=t[0];if(20===i.type&&-1!==["top","left","right","bottom"].indexOf(i.value))return void(e=or(t));if(sr(i))return void(e=(ir.parse(A,i)+ar(270))%ar(360))}var s=Fr(A,t);r.push(s)})),{angle:e,stops:r,type:1}},Hr=function(A,t){var e=ar(180),r=[],n=1,i=0,s=3,o=[];return Ve(t).forEach((function(t,e){var i=t[0];if(0===e){if(Oe(i)&&"linear"===i.value)return void(n=1);if(Oe(i)&&"radial"===i.value)return void(n=2)}if(18===i.type)if("from"===i.name){var s=cr.parse(A,i.values[0]);r.push({stop:Ye,color:s})}else if("to"===i.name){s=cr.parse(A,i.values[0]);r.push({stop:Ze,color:s})}else if("color-stop"===i.name){var o=i.values.filter(Ge);if(2===o.length){s=cr.parse(A,o[1]);var a=o[0];Ke(a)&&r.push({stop:{type:16,number:100*a.number,flags:a.flags},color:s})}}})),1===n?{angle:(e+ar(180))%ar(360),stops:r,type:n}:{size:s,shape:i,stops:r,position:o,type:n}},Nr="closest-side",Sr="farthest-side",Pr="closest-corner",Dr="farthest-corner",kr="circle",_r="ellipse",Mr="cover",Kr="contain",Or=function(A,t){var e=0,r=3,n=[],i=[];return Ve(t).forEach((function(t,s){var o=!0;if(0===s){var a=!1;o=t.reduce((function(A,t){if(a)if(Oe(t))switch(t.value){case"center":return i.push(ze),A;case"top":case"left":return i.push(Ye),A;case"right":case"bottom":return i.push(Ze),A}else(Xe(t)||Je(t))&&i.push(t);else if(Oe(t))switch(t.value){case kr:return e=0,!1;case _r:return e=1,!1;case"at":return a=!0,!1;case Nr:return r=0,!1;case Mr:case Sr:return r=1,!1;case Kr:case Pr:return r=2,!1;case Dr:return r=3,!1}else if(Je(t)||Xe(t))return Array.isArray(r)||(r=[]),r.push(t),!1;return A}),o)}if(o){var c=Fr(A,t);n.push(c)}})),{size:r,shape:e,stops:n,position:i,type:2}},Tr=function(A,t){var e=0,r=3,n=[],i=[];return Ve(t).forEach((function(t,s){var o=!0;if(0===s?o=t.reduce((function(A,t){if(Oe(t))switch(t.value){case"center":return i.push(ze),!1;case"top":case"left":return i.push(Ye),!1;case"right":case"bottom":return i.push(Ze),!1}else if(Xe(t)||Je(t))return i.push(t),!1;return A}),o):1===s&&(o=t.reduce((function(A,t){if(Oe(t))switch(t.value){case kr:return e=0,!1;case _r:return e=1,!1;case Kr:case Nr:return r=0,!1;case Sr:return r=1,!1;case Pr:return r=2,!1;case Mr:case Dr:return r=3,!1}else if(Je(t)||Xe(t))return Array.isArray(r)||(r=[]),r.push(t),!1;return A}),o)),o){var a=Fr(A,t);n.push(a)}})),{size:r,shape:e,stops:n,position:i,type:2}},Rr=function(A){return 1===A.type},jr=function(A){return 2===A.type},Gr={name:"image",parse:function(A,t){if(22===t.type){var e={url:t.value,type:0};return A.cache.addImage(t.value),e}if(18===t.type){var r=Jr[t.name];if("undefined"===typeof r)throw new Error('Attempting to parse an unsupported image function "'+t.name+'"');return r(A,t.values)}throw new Error("Unsupported image type "+t.type)}};function Vr(A){return!(20===A.type&&"none"===A.value)&&(18!==A.type||!!Jr[A.name])}var qr,Jr={"linear-gradient":Er,"-moz-linear-gradient":xr,"-ms-linear-gradient":xr,"-o-linear-gradient":xr,"-webkit-linear-gradient":xr,"radial-gradient":Or,"-moz-radial-gradient":Tr,"-ms-radial-gradient":Tr,"-o-radial-gradient":Tr,"-webkit-radial-gradient":Tr,"-webkit-gradient":Hr},Xr={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(A,t){if(0===t.length)return[];var e=t[0];return 20===e.type&&"none"===e.value?[]:t.filter((function(A){return Ge(A)&&Vr(A)})).map((function(t){return Gr.parse(A,t)}))}},Wr={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(A,t){return t.map((function(A){if(Oe(A))switch(A.value){case"padding-box":return 1;case"content-box":return 2}return 0}))}},Yr={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(A,t){return Ve(t).map((function(A){return A.filter(Xe)})).map(We)}},zr={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(A,t){return Ve(t).map((function(A){return A.filter(Oe).map((function(A){return A.value})).join(" ")})).map(Zr)}},Zr=function(A){switch(A){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;case"repeat":default:return 0}};(function(A){A["AUTO"]="auto",A["CONTAIN"]="contain",A["COVER"]="cover"})(qr||(qr={}));var $r,An={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(A,t){return Ve(t).map((function(A){return A.filter(tn)}))}},tn=function(A){return Oe(A)||Xe(A)},en=function(A){return{name:"border-"+A+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},rn=en("top"),nn=en("right"),sn=en("bottom"),on=en("left"),an=function(A){return{name:"border-radius-"+A,initialValue:"0 0",prefix:!1,type:1,parse:function(A,t){return We(t.filter(Xe))}}},cn=an("top-left"),un=an("top-right"),ln=an("bottom-right"),hn=an("bottom-left"),fn=function(A){return{name:"border-"+A+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(A,t){switch(t){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},Bn=fn("top"),dn=fn("right"),gn=fn("bottom"),pn=fn("left"),wn=function(A){return{name:"border-"+A+"-width",initialValue:"0",type:0,prefix:!1,parse:function(A,t){return Me(t)?t.number:0}}},mn=wn("top"),Qn=wn("right"),Cn=wn("bottom"),Fn=wn("left"),vn={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},yn={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(A,t){switch(t){case"rtl":return 1;case"ltr":default:return 0}}},bn={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(A,t){return t.filter(Oe).reduce((function(A,t){return A|Un(t.value)}),0)}},Un=function(A){switch(A){case"block":case"-webkit-box":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},Ln={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(A,t){switch(t){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},In={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(A,t){return 20===t.type&&"normal"===t.value?0:17===t.type||15===t.type?t.number:0}};(function(A){A["NORMAL"]="normal",A["STRICT"]="strict"})($r||($r={}));var En,xn={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(A,t){switch(t){case"strict":return $r.STRICT;case"normal":default:return $r.NORMAL}}},Hn={name:"line-height",initialValue:"normal",prefix:!1,type:4},Nn=function(A,t){return Oe(A)&&"normal"===A.value?1.2*t:17===A.type?t*A.number:Xe(A)?Ar(A,t):t},Sn={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(A,t){return 20===t.type&&"none"===t.value?null:Gr.parse(A,t)}},Pn={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(A,t){switch(t){case"inside":return 0;case"outside":default:return 1}}},Dn={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(A,t){switch(t){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":return 22;case"hebrew":return 22;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;case"none":default:return-1}}},kn=function(A){return{name:"margin-"+A,initialValue:"0",prefix:!1,type:4}},_n=kn("top"),Mn=kn("right"),Kn=kn("bottom"),On=kn("left"),Tn={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(A,t){return t.filter(Oe).map((function(A){switch(A.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;case"visible":default:return 0}}))}},Rn={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(A,t){switch(t){case"break-word":return"break-word";case"normal":default:return"normal"}}},jn=function(A){return{name:"padding-"+A,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},Gn=jn("top"),Vn=jn("right"),qn=jn("bottom"),Jn=jn("left"),Xn={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(A,t){switch(t){case"right":return 2;case"center":case"justify":return 1;case"left":default:return 0}}},Wn={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(A,t){switch(t){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},Yn={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(A,t){return 1===t.length&&Re(t[0],"none")?[]:Ve(t).map((function(t){for(var e={color:mr.TRANSPARENT,offsetX:Ye,offsetY:Ye,blur:Ye},r=0,n=0;n1?1:0],this.overflowWrap=Hi(A,Rn,t.overflowWrap),this.paddingTop=Hi(A,Gn,t.paddingTop),this.paddingRight=Hi(A,Vn,t.paddingRight),this.paddingBottom=Hi(A,qn,t.paddingBottom),this.paddingLeft=Hi(A,Jn,t.paddingLeft),this.paintOrder=Hi(A,bi,t.paintOrder),this.position=Hi(A,Wn,t.position),this.textAlign=Hi(A,Xn,t.textAlign),this.textDecorationColor=Hi(A,ui,null!==(e=t.textDecorationColor)&&void 0!==e?e:t.color),this.textDecorationLine=Hi(A,li,null!==(r=t.textDecorationLine)&&void 0!==r?r:t.textDecoration),this.textShadow=Hi(A,Yn,t.textShadow),this.textTransform=Hi(A,zn,t.textTransform),this.transform=Hi(A,Zn,t.transform),this.transformOrigin=Hi(A,ni,t.transformOrigin),this.visibility=Hi(A,ii,t.visibility),this.webkitTextStrokeColor=Hi(A,Ui,t.webkitTextStrokeColor),this.webkitTextStrokeWidth=Hi(A,Li,t.webkitTextStrokeWidth),this.wordBreak=Hi(A,si,t.wordBreak),this.zIndex=Hi(A,oi,t.zIndex)}return A.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&0===this.visibility},A.prototype.isTransparent=function(){return ur(this.backgroundColor)},A.prototype.isTransformed=function(){return null!==this.transform},A.prototype.isPositioned=function(){return 0!==this.position},A.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},A.prototype.isFloating=function(){return 0!==this.float},A.prototype.isInlineLevel=function(){return pi(this.display,4)||pi(this.display,33554432)||pi(this.display,268435456)||pi(this.display,536870912)||pi(this.display,67108864)||pi(this.display,134217728)},A}(),Ei=function(){function A(A,t){this.content=Hi(A,wi,t.content),this.quotes=Hi(A,Fi,t.quotes)}return A}(),xi=function(){function A(A,t){this.counterIncrement=Hi(A,mi,t.counterIncrement),this.counterReset=Hi(A,Qi,t.counterReset)}return A}(),Hi=function(A,t,e){var r=new ke,n=null!==e&&"undefined"!==typeof e?e.toString():t.initialValue;r.write(n);var i=new _e(r.read());switch(t.type){case 2:var s=i.parseComponentValue();return t.parse(A,Oe(s)?s.value:t.initialValue);case 0:return t.parse(A,i.parseComponentValue());case 1:return t.parse(A,i.parseComponentValues());case 4:return i.parseComponentValue();case 3:switch(t.format){case"angle":return ir.parse(A,i.parseComponentValue());case"color":return cr.parse(A,i.parseComponentValue());case"image":return Gr.parse(A,i.parseComponentValue());case"length":var o=i.parseComponentValue();return Je(o)?o:Ye;case"length-percentage":var a=i.parseComponentValue();return Xe(a)?a:Ye;case"time":return ai.parse(A,i.parseComponentValue())}break}},Ni="data-html2canvas-debug",Si=function(A){var t=A.getAttribute(Ni);switch(t){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},Pi=function(A,t){var e=Si(A);return 1===e||t===e},Di=function(){function A(A,t){this.context=A,this.textNodes=[],this.elements=[],this.flags=0,Pi(t,3),this.styles=new Ii(A,window.getComputedStyle(t,null)),xo(t)&&(this.styles.animationDuration.some((function(A){return A>0}))&&(t.style.animationDuration="0s"),null!==this.styles.transform&&(t.style.transform="none")),this.bounds=o(this.context,t),Pi(t,4)&&(this.flags|=16)}return A}(),ki="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACA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AIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVA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AIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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456789+/",Mi="undefined"===typeof Uint8Array?[]:new Uint8Array(256),Ki=0;Ki<_i.length;Ki++)Mi[_i.charCodeAt(Ki)]=Ki;for(var Oi=function(A){var t,e,r,n,i,s=.75*A.length,o=A.length,a=0;"="===A[A.length-1]&&(s--,"="===A[A.length-2]&&s--);var c="undefined"!==typeof ArrayBuffer&&"undefined"!==typeof Uint8Array&&"undefined"!==typeof Uint8Array.prototype.slice?new ArrayBuffer(s):new Array(s),u=Array.isArray(c)?c:new Uint8Array(c);for(t=0;t>4,u[a++]=(15&r)<<4|n>>2,u[a++]=(3&n)<<6|63&i;return c},Ti=function(A){for(var t=A.length,e=[],r=0;r>ji,Xi=1<>ji,zi=Ji+Yi,Zi=zi,$i=32,As=Zi+$i,ts=65536>>Gi,es=1<=0){if(A<55296||A>56319&&A<=65535)return t=this.index[A>>ji],t=(t<>ji)],t=(t<>Gi),t=this.index[t],t+=A>>ji&rs,t=this.index[t],t=(t<=55296&&n<=56319&&e>10),s%1024+56320)),(n+1===e||r.length>16384)&&(i+=String.fromCharCode.apply(String,r),r.length=0)}return i},Is=ss(ki),Es="×",xs="÷",Hs=function(A){return Is.get(A)},Ns=function(A,t,e){var r=e-2,n=t[r],i=t[e-1],s=t[e];if(i===fs&&s===Bs)return Es;if(i===fs||i===Bs||i===ds)return xs;if(s===fs||s===Bs||s===ds)return xs;if(i===ws&&-1!==[ws,ms,Cs,Fs].indexOf(s))return Es;if((i===Cs||i===ms)&&(s===ms||s===Qs))return Es;if((i===Fs||i===Qs)&&s===Qs)return Es;if(s===vs||s===gs)return Es;if(s===ps)return Es;if(i===hs)return Es;if(i===vs&&s===ys){while(n===gs)n=t[--r];if(n===ys)return Es}if(i===bs&&s===bs){var o=0;while(n===bs)o++,n=t[--r];if(o%2===0)return Es}return xs},Ss=function(A){var t=Us(A),e=t.length,r=0,n=0,i=t.map(Hs);return{next:function(){if(r>=e)return{done:!0,value:null};var A=Es;while(rs.x||n.y>s.y;return s=n,0===t||o}));return A.body.removeChild(t),o},_s=function(){return"undefined"!==typeof(new Image).crossOrigin},Ms=function(){return"string"===typeof(new XMLHttpRequest).responseType},Ks=function(A){var t=new Image,e=A.createElement("canvas"),r=e.getContext("2d");if(!r)return!1;t.src="data:image/svg+xml,";try{r.drawImage(t,0,0),e.toDataURL()}catch(Vt){return!1}return!0},Os=function(A){return 0===A[0]&&255===A[1]&&0===A[2]&&255===A[3]},Ts=function(A){var t=A.createElement("canvas"),e=100;t.width=e,t.height=e;var r=t.getContext("2d");if(!r)return Promise.reject(!1);r.fillStyle="rgb(0, 255, 0)",r.fillRect(0,0,e,e);var n=new Image,i=t.toDataURL();n.src=i;var s=Rs(e,e,0,0,n);return r.fillStyle="red",r.fillRect(0,0,e,e),js(s).then((function(t){r.drawImage(t,0,0);var n=r.getImageData(0,0,e,e).data;r.fillStyle="red",r.fillRect(0,0,e,e);var s=A.createElement("div");return s.style.backgroundImage="url("+i+")",s.style.height=e+"px",Os(n)?js(Rs(e,e,0,0,s)):Promise.reject(!1)})).then((function(A){return r.drawImage(A,0,0),Os(r.getImageData(0,0,e,e).data)})).catch((function(){return!1}))},Rs=function(A,t,e,r,n){var i="http://www.w3.org/2000/svg",s=document.createElementNS(i,"svg"),o=document.createElementNS(i,"foreignObject");return s.setAttributeNS(null,"width",A.toString()),s.setAttributeNS(null,"height",t.toString()),o.setAttributeNS(null,"width","100%"),o.setAttributeNS(null,"height","100%"),o.setAttributeNS(null,"x",e.toString()),o.setAttributeNS(null,"y",r.toString()),o.setAttributeNS(null,"externalResourcesRequired","true"),s.appendChild(o),o.appendChild(n),s},js=function(A){return new Promise((function(t,e){var r=new Image;r.onload=function(){return t(r)},r.onerror=e,r.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent((new XMLSerializer).serializeToString(A))}))},Gs={get SUPPORT_RANGE_BOUNDS(){var A=Ds(document);return Object.defineProperty(Gs,"SUPPORT_RANGE_BOUNDS",{value:A}),A},get SUPPORT_WORD_BREAKING(){var A=Gs.SUPPORT_RANGE_BOUNDS&&ks(document);return Object.defineProperty(Gs,"SUPPORT_WORD_BREAKING",{value:A}),A},get SUPPORT_SVG_DRAWING(){var A=Ks(document);return Object.defineProperty(Gs,"SUPPORT_SVG_DRAWING",{value:A}),A},get SUPPORT_FOREIGNOBJECT_DRAWING(){var A="function"===typeof Array.from&&"function"===typeof window.fetch?Ts(document):Promise.resolve(!1);return Object.defineProperty(Gs,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:A}),A},get SUPPORT_CORS_IMAGES(){var A=_s();return Object.defineProperty(Gs,"SUPPORT_CORS_IMAGES",{value:A}),A},get SUPPORT_RESPONSE_TYPE(){var A=Ms();return Object.defineProperty(Gs,"SUPPORT_RESPONSE_TYPE",{value:A}),A},get SUPPORT_CORS_XHR(){var A="withCredentials"in new XMLHttpRequest;return Object.defineProperty(Gs,"SUPPORT_CORS_XHR",{value:A}),A},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var A=!("undefined"===typeof Intl||!Intl.Segmenter);return Object.defineProperty(Gs,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:A}),A}},Vs=function(){function A(A,t){this.text=A,this.bounds=t}return A}(),qs=function(A,t,e,r){var n=zs(t,e),i=[],o=0;return n.forEach((function(t){if(e.textDecorationLine.length||t.trim().length>0)if(Gs.SUPPORT_RANGE_BOUNDS){var n=Xs(r,o,t.length).getClientRects();if(n.length>1){var a=Ws(t),c=0;a.forEach((function(t){i.push(new Vs(t,s.fromDOMRectList(A,Xs(r,c+o,t.length).getClientRects()))),c+=t.length}))}else i.push(new Vs(t,s.fromDOMRectList(A,n)))}else{var u=r.splitText(t.length);i.push(new Vs(t,Js(A,r))),r=u}else Gs.SUPPORT_RANGE_BOUNDS||(r=r.splitText(t.length));o+=t.length})),i},Js=function(A,t){var e=t.ownerDocument;if(e){var r=e.createElement("html2canvaswrapper");r.appendChild(t.cloneNode(!0));var n=t.parentNode;if(n){n.replaceChild(r,t);var i=o(A,r);return r.firstChild&&n.replaceChild(r.firstChild,r),i}}return s.EMPTY},Xs=function(A,t,e){var r=A.ownerDocument;if(!r)throw new Error("Node has no owner document");var n=r.createRange();return n.setStart(A,t),n.setEnd(A,t+e),n},Ws=function(A){if(Gs.SUPPORT_NATIVE_TEXT_SEGMENTATION){var t=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(t.segment(A)).map((function(A){return A.segment}))}return Ps(A)},Ys=function(A,t){if(Gs.SUPPORT_NATIVE_TEXT_SEGMENTATION){var e=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(e.segment(A)).map((function(A){return A.segment}))}return $s(A,t)},zs=function(A,t){return 0!==t.letterSpacing?Ws(A):Ys(A,t)},Zs=[32,160,4961,65792,65793,4153,4241],$s=function(A,t){var e,r=YA(A,{lineBreak:t.lineBreak,wordBreak:"break-word"===t.overflowWrap?"break-word":t.wordBreak}),n=[],i=function(){if(e.value){var A=e.value.slice(),t=c(A),r="";t.forEach((function(A){-1===Zs.indexOf(A)?r+=u(A):(r.length&&n.push(r),n.push(u(A)),r="")})),r.length&&n.push(r)}};while(!(e=r.next()).done)i();return n},Ao=function(){function A(A,t,e){this.text=to(t.data,e.textTransform),this.textBounds=qs(A,this.text,e,t)}return A}(),to=function(A,t){switch(t){case 1:return A.toLowerCase();case 3:return A.replace(eo,ro);case 2:return A.toUpperCase();default:return A}},eo=/(^|\s|:|-|\(|\))([a-z])/g,ro=function(A,t,e){return A.length>0?t+e.toUpperCase():A},no=function(A){function e(t,e){var r=A.call(this,t,e)||this;return r.src=e.currentSrc||e.src,r.intrinsicWidth=e.naturalWidth,r.intrinsicHeight=e.naturalHeight,r.context.cache.addImage(r.src),r}return t(e,A),e}(Di),io=function(A){function e(t,e){var r=A.call(this,t,e)||this;return r.canvas=e,r.intrinsicWidth=e.width,r.intrinsicHeight=e.height,r}return t(e,A),e}(Di),so=function(A){function e(t,e){var r=A.call(this,t,e)||this,n=new XMLSerializer,i=o(t,e);return e.setAttribute("width",i.width+"px"),e.setAttribute("height",i.height+"px"),r.svg="data:image/svg+xml,"+encodeURIComponent(n.serializeToString(e)),r.intrinsicWidth=e.width.baseVal.value,r.intrinsicHeight=e.height.baseVal.value,r.context.cache.addImage(r.svg),r}return t(e,A),e}(Di),oo=function(A){function e(t,e){var r=A.call(this,t,e)||this;return r.value=e.value,r}return t(e,A),e}(Di),ao=function(A){function e(t,e){var r=A.call(this,t,e)||this;return r.start=e.start,r.reversed="boolean"===typeof e.reversed&&!0===e.reversed,r}return t(e,A),e}(Di),co=[{type:15,flags:0,unit:"px",number:3}],uo=[{type:16,flags:0,number:50}],lo=function(A){return A.width>A.height?new s(A.left+(A.width-A.height)/2,A.top,A.height,A.height):A.width0)e.textNodes.push(new Ao(A,n,e.styles));else if(Eo(n))if(qo(n)&&n.assignedNodes)n.assignedNodes().forEach((function(t){return vo(A,t,e,r)}));else{var s=yo(A,n);s.styles.isVisible()&&(Uo(n,s,r)?s.flags|=4:Lo(s.styles)&&(s.flags|=2),-1!==Fo.indexOf(n.tagName)&&(s.flags|=8),e.elements.push(s),n.slot,n.shadowRoot?vo(A,n.shadowRoot,s,r):Go(n)||ko(n)||Vo(n)||vo(A,n,s,r))}},yo=function(A,t){return Oo(t)?new no(A,t):Mo(t)?new io(A,t):ko(t)?new so(A,t):No(t)?new oo(A,t):So(t)?new ao(A,t):Po(t)?new wo(A,t):Vo(t)?new mo(A,t):Go(t)?new Qo(A,t):To(t)?new Co(A,t):new Di(A,t)},bo=function(A,t){var e=yo(A,t);return e.flags|=4,vo(A,t,e,e),e},Uo=function(A,t,e){return t.styles.isPositionedWithZIndex()||t.styles.opacity<1||t.styles.isTransformed()||_o(A)&&e.styles.isTransparent()},Lo=function(A){return A.isPositioned()||A.isFloating()},Io=function(A){return A.nodeType===Node.TEXT_NODE},Eo=function(A){return A.nodeType===Node.ELEMENT_NODE},xo=function(A){return Eo(A)&&"undefined"!==typeof A.style&&!Ho(A)},Ho=function(A){return"object"===typeof A.className},No=function(A){return"LI"===A.tagName},So=function(A){return"OL"===A.tagName},Po=function(A){return"INPUT"===A.tagName},Do=function(A){return"HTML"===A.tagName},ko=function(A){return"svg"===A.tagName},_o=function(A){return"BODY"===A.tagName},Mo=function(A){return"CANVAS"===A.tagName},Ko=function(A){return"VIDEO"===A.tagName},Oo=function(A){return"IMG"===A.tagName},To=function(A){return"IFRAME"===A.tagName},Ro=function(A){return"STYLE"===A.tagName},jo=function(A){return"SCRIPT"===A.tagName},Go=function(A){return"TEXTAREA"===A.tagName},Vo=function(A){return"SELECT"===A.tagName},qo=function(A){return"SLOT"===A.tagName},Jo=function(A){return A.tagName.indexOf("-")>0},Xo=function(){function A(){this.counters={}}return A.prototype.getCounterValue=function(A){var t=this.counters[A];return t&&t.length?t[t.length-1]:1},A.prototype.getCounterValues=function(A){var t=this.counters[A];return t||[]},A.prototype.pop=function(A){var t=this;A.forEach((function(A){return t.counters[A].pop()}))},A.prototype.parse=function(A){var t=this,e=A.counterIncrement,r=A.counterReset,n=!0;null!==e&&e.forEach((function(A){var e=t.counters[A.counter];e&&0!==A.increment&&(n=!1,e.length||e.push(1),e[Math.max(0,e.length-1)]+=A.increment)}));var i=[];return n&&r.forEach((function(A){var e=t.counters[A.counter];i.push(A.counter),e||(e=t.counters[A.counter]=[]),e.push(A.reset)})),i},A}(),Wo={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},Yo={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["Ք","Փ","Ւ","Ց","Ր","Տ","Վ","Ս","Ռ","Ջ","Պ","Չ","Ո","Շ","Ն","Յ","Մ","Ճ","Ղ","Ձ","Հ","Կ","Ծ","Խ","Լ","Ի","Ժ","Թ","Ը","Է","Զ","Ե","Դ","Գ","Բ","Ա"]},zo={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["י׳","ט׳","ח׳","ז׳","ו׳","ה׳","ד׳","ג׳","ב׳","א׳","ת","ש","ר","ק","צ","פ","ע","ס","נ","מ","ל","כ","יט","יח","יז","טז","טו","י","ט","ח","ז","ו","ה","ד","ג","ב","א"]},Zo={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["ჵ","ჰ","ჯ","ჴ","ხ","ჭ","წ","ძ","ც","ჩ","შ","ყ","ღ","ქ","ფ","ჳ","ტ","ს","რ","ჟ","პ","ო","ჲ","ნ","მ","ლ","კ","ი","თ","ჱ","ზ","ვ","ე","დ","გ","ბ","ა"]},$o=function(A,t,e,r,n,i){return Ae?ha(A,n,i.length>0):r.integers.reduce((function(t,e,n){while(A>=e)A-=e,t+=r.values[n];return t}),"")+i},Aa=function(A,t,e,r){var n="";do{e||A--,n=r(A)+n,A/=t}while(A*t>=t);return n},ta=function(A,t,e,r,n){var i=e-t+1;return(A<0?"-":"")+(Aa(Math.abs(A),i,r,(function(A){return u(Math.floor(A%i)+t)}))+n)},ea=function(A,t,e){void 0===e&&(e=". ");var r=t.length;return Aa(Math.abs(A),r,!1,(function(A){return t[Math.floor(A%r)]}))+e},ra=1,na=2,ia=4,sa=8,oa=function(A,t,e,r,n,i){if(A<-9999||A>9999)return ha(A,4,n.length>0);var s=Math.abs(A),o=n;if(0===s)return t[0]+o;for(var a=0;s>0&&a<=4;a++){var c=s%10;0===c&&pi(i,ra)&&""!==o?o=t[c]+o:c>1||1===c&&0===a||1===c&&1===a&&pi(i,na)||1===c&&1===a&&pi(i,ia)&&A>100||1===c&&a>1&&pi(i,sa)?o=t[c]+(a>0?e[a-1]:"")+o:1===c&&a>0&&(o=e[a-1]+o),s=Math.floor(s/10)}return(A<0?r:"")+o},aa="十百千萬",ca="拾佰仟萬",ua="マイナス",la="마이너스",ha=function(A,t,e){var r=e?". ":"",n=e?"、":"",i=e?", ":"",s=e?" ":"";switch(t){case 0:return"•"+s;case 1:return"◦"+s;case 2:return"◾"+s;case 5:var o=ta(A,48,57,!0,r);return o.length<4?"0"+o:o;case 4:return ea(A,"〇一二三四五六七八九",n);case 6:return $o(A,1,3999,Wo,3,r).toLowerCase();case 7:return $o(A,1,3999,Wo,3,r);case 8:return ta(A,945,969,!1,r);case 9:return ta(A,97,122,!1,r);case 10:return ta(A,65,90,!1,r);case 11:return ta(A,1632,1641,!0,r);case 12:case 49:return $o(A,1,9999,Yo,3,r);case 35:return $o(A,1,9999,Yo,3,r).toLowerCase();case 13:return ta(A,2534,2543,!0,r);case 14:case 30:return ta(A,6112,6121,!0,r);case 15:return ea(A,"子丑寅卯辰巳午未申酉戌亥",n);case 16:return ea(A,"甲乙丙丁戊己庚辛壬癸",n);case 17:case 48:return oa(A,"零一二三四五六七八九",aa,"負",n,na|ia|sa);case 47:return oa(A,"零壹貳參肆伍陸柒捌玖",ca,"負",n,ra|na|ia|sa);case 42:return oa(A,"零一二三四五六七八九",aa,"负",n,na|ia|sa);case 41:return oa(A,"零壹贰叁肆伍陆柒捌玖",ca,"负",n,ra|na|ia|sa);case 26:return oa(A,"〇一二三四五六七八九","十百千万",ua,n,0);case 25:return oa(A,"零壱弐参四伍六七八九","拾百千万",ua,n,ra|na|ia);case 31:return oa(A,"영일이삼사오육칠팔구","십백천만",la,i,ra|na|ia);case 33:return oa(A,"零一二三四五六七八九","十百千萬",la,i,0);case 32:return oa(A,"零壹貳參四五六七八九","拾百千",la,i,ra|na|ia);case 18:return ta(A,2406,2415,!0,r);case 20:return $o(A,1,19999,Zo,3,r);case 21:return ta(A,2790,2799,!0,r);case 22:return ta(A,2662,2671,!0,r);case 22:return $o(A,1,10999,zo,3,r);case 23:return ea(A,"あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわゐゑをん");case 24:return ea(A,"いろはにほへとちりぬるをわかよたれそつねならむうゐのおくやまけふこえてあさきゆめみしゑひもせす");case 27:return ta(A,3302,3311,!0,r);case 28:return ea(A,"アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヰヱヲン",n);case 29:return ea(A,"イロハニホヘトチリヌルヲワカヨタレソツネナラムウヰノオクヤマケフコエテアサキユメミシヱヒモセス",n);case 34:return ta(A,3792,3801,!0,r);case 37:return ta(A,6160,6169,!0,r);case 38:return ta(A,4160,4169,!0,r);case 39:return ta(A,2918,2927,!0,r);case 40:return ta(A,1776,1785,!0,r);case 43:return ta(A,3046,3055,!0,r);case 44:return ta(A,3174,3183,!0,r);case 45:return ta(A,3664,3673,!0,r);case 46:return ta(A,3872,3881,!0,r);case 3:default:return ta(A,48,57,!0,r)}},fa="data-html2canvas-ignore",Ba=function(){function A(A,t,e){if(this.context=A,this.options=e,this.scrolledElements=[],this.referenceElement=t,this.counters=new Xo,this.quoteDepth=0,!t.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(t.ownerDocument.documentElement,!1)}return A.prototype.toIFrame=function(A,t){var e=this,i=ga(A,t);if(!i.contentWindow)return Promise.reject("Unable to find iframe window");var s=A.defaultView.pageXOffset,o=A.defaultView.pageYOffset,a=i.contentWindow,c=a.document,u=ma(i).then((function(){return r(e,void 0,void 0,(function(){var A,e;return n(this,(function(r){switch(r.label){case 0:return this.scrolledElements.forEach(ya),a&&(a.scrollTo(t.left,t.top),!/(iPad|iPhone|iPod)/g.test(navigator.userAgent)||a.scrollY===t.top&&a.scrollX===t.left||(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(a.scrollX-t.left,a.scrollY-t.top,0,0))),A=this.options.onclone,e=this.clonedReferenceElement,"undefined"===typeof e?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:c.fonts&&c.fonts.ready?[4,c.fonts.ready]:[3,2];case 1:r.sent(),r.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,wa(c)]:[3,4];case 3:r.sent(),r.label=4;case 4:return"function"===typeof A?[2,Promise.resolve().then((function(){return A(c,e)})).then((function(){return i}))]:[2,i]}}))}))}));return c.open(),c.write(Fa(document.doctype)+""),va(this.referenceElement.ownerDocument,s,o),c.replaceChild(c.adoptNode(this.documentElement),c.documentElement),c.close(),u},A.prototype.createElementClone=function(A){if(Pi(A,2),Mo(A))return this.createCanvasClone(A);if(Ko(A))return this.createVideoClone(A);if(Ro(A))return this.createStyleClone(A);var t=A.cloneNode(!1);return Oo(t)&&(Oo(A)&&A.currentSrc&&A.currentSrc!==A.src&&(t.src=A.currentSrc,t.srcset=""),"lazy"===t.loading&&(t.loading="eager")),Jo(t)?this.createCustomElementClone(t):t},A.prototype.createCustomElementClone=function(A){var t=document.createElement("html2canvascustomelement");return Ca(A.style,t),t},A.prototype.createStyleClone=function(A){try{var t=A.sheet;if(t&&t.cssRules){var e=[].slice.call(t.cssRules,0).reduce((function(A,t){return t&&"string"===typeof t.cssText?A+t.cssText:A}),""),r=A.cloneNode(!1);return r.textContent=e,r}}catch(Vt){if(this.context.logger.error("Unable to access cssRules property",Vt),"SecurityError"!==Vt.name)throw Vt}return A.cloneNode(!1)},A.prototype.createCanvasClone=function(A){var t;if(this.options.inlineImages&&A.ownerDocument){var e=A.ownerDocument.createElement("img");try{return e.src=A.toDataURL(),e}catch(Vt){this.context.logger.info("Unable to inline canvas contents, canvas is tainted",A)}}var r=A.cloneNode(!1);try{r.width=A.width,r.height=A.height;var n=A.getContext("2d"),i=r.getContext("2d");if(i)if(!this.options.allowTaint&&n)i.putImageData(n.getImageData(0,0,A.width,A.height),0,0);else{var s=null!==(t=A.getContext("webgl2"))&&void 0!==t?t:A.getContext("webgl");if(s){var o=s.getContextAttributes();!1===(null===o||void 0===o?void 0:o.preserveDrawingBuffer)&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",A)}i.drawImage(A,0,0)}return r}catch(Vt){this.context.logger.info("Unable to clone canvas as it is tainted",A)}return r},A.prototype.createVideoClone=function(A){var t=A.ownerDocument.createElement("canvas");t.width=A.offsetWidth,t.height=A.offsetHeight;var e=t.getContext("2d");try{return e&&(e.drawImage(A,0,0,t.width,t.height),this.options.allowTaint||e.getImageData(0,0,t.width,t.height)),t}catch(Vt){this.context.logger.info("Unable to clone video as it is tainted",A)}var r=A.ownerDocument.createElement("canvas");return r.width=A.offsetWidth,r.height=A.offsetHeight,r},A.prototype.appendChildNode=function(A,t,e){Eo(t)&&(jo(t)||t.hasAttribute(fa)||"function"===typeof this.options.ignoreElements&&this.options.ignoreElements(t))||this.options.copyStyles&&Eo(t)&&Ro(t)||A.appendChild(this.cloneNode(t,e))},A.prototype.cloneChildNodes=function(A,t,e){for(var r=this,n=A.shadowRoot?A.shadowRoot.firstChild:A.firstChild;n;n=n.nextSibling)if(Eo(n)&&qo(n)&&"function"===typeof n.assignedNodes){var i=n.assignedNodes();i.length&&i.forEach((function(A){return r.appendChildNode(t,A,e)}))}else this.appendChildNode(t,n,e)},A.prototype.cloneNode=function(A,t){if(Io(A))return document.createTextNode(A.data);if(!A.ownerDocument)return A.cloneNode(!1);var e=A.ownerDocument.defaultView;if(e&&Eo(A)&&(xo(A)||Ho(A))){var r=this.createElementClone(A);r.style.transitionProperty="none";var n=e.getComputedStyle(A),i=e.getComputedStyle(A,":before"),s=e.getComputedStyle(A,":after");this.referenceElement===A&&xo(r)&&(this.clonedReferenceElement=r),_o(r)&&xa(r);var o=this.counters.parse(new xi(this.context,n)),a=this.resolvePseudoContent(A,r,i,ls.BEFORE);Jo(A)&&(t=!0),Ko(A)||this.cloneChildNodes(A,r,t),a&&r.insertBefore(a,r.firstChild);var c=this.resolvePseudoContent(A,r,s,ls.AFTER);return c&&r.appendChild(c),this.counters.pop(o),(n&&(this.options.copyStyles||Ho(A))&&!To(A)||t)&&Ca(n,r),0===A.scrollTop&&0===A.scrollLeft||this.scrolledElements.push([r,A.scrollLeft,A.scrollTop]),(Go(A)||Vo(A))&&(Go(r)||Vo(r))&&(r.value=A.value),r}return A.cloneNode(!1)},A.prototype.resolvePseudoContent=function(A,t,e,r){var n=this;if(e){var i=e.content,s=t.ownerDocument;if(s&&i&&"none"!==i&&"-moz-alt-content"!==i&&"none"!==e.display){this.counters.parse(new xi(this.context,e));var o=new Ei(this.context,e),a=s.createElement("html2canvaspseudoelement");Ca(e,a),o.content.forEach((function(t){if(0===t.type)a.appendChild(s.createTextNode(t.value));else if(22===t.type){var e=s.createElement("img");e.src=t.value,e.style.opacity="1",a.appendChild(e)}else if(18===t.type){if("attr"===t.name){var r=t.values.filter(Oe);r.length&&a.appendChild(s.createTextNode(A.getAttribute(r[0].value)||""))}else if("counter"===t.name){var i=t.values.filter(Ge),c=i[0],u=i[1];if(c&&Oe(c)){var l=n.counters.getCounterValue(c.value),h=u&&Oe(u)?Dn.parse(n.context,u.value):3;a.appendChild(s.createTextNode(ha(l,h,!1)))}}else if("counters"===t.name){var f=t.values.filter(Ge),B=(c=f[0],f[1]);u=f[2];if(c&&Oe(c)){var d=n.counters.getCounterValues(c.value),g=u&&Oe(u)?Dn.parse(n.context,u.value):3,p=B&&0===B.type?B.value:"",w=d.map((function(A){return ha(A,g,!1)})).join(p);a.appendChild(s.createTextNode(w))}}}else if(20===t.type)switch(t.value){case"open-quote":a.appendChild(s.createTextNode(vi(o.quotes,n.quoteDepth++,!0)));break;case"close-quote":a.appendChild(s.createTextNode(vi(o.quotes,--n.quoteDepth,!1)));break;default:a.appendChild(s.createTextNode(t.value))}})),a.className=La+" "+Ia;var c=r===ls.BEFORE?" "+La:" "+Ia;return Ho(t)?t.className.baseValue+=c:t.className+=c,a}}},A.destroy=function(A){return!!A.parentNode&&(A.parentNode.removeChild(A),!0)},A}();(function(A){A[A["BEFORE"]=0]="BEFORE",A[A["AFTER"]=1]="AFTER"})(ls||(ls={}));var da,ga=function(A,t){var e=A.createElement("iframe");return e.className="html2canvas-container",e.style.visibility="hidden",e.style.position="fixed",e.style.left="-10000px",e.style.top="0px",e.style.border="0",e.width=t.width.toString(),e.height=t.height.toString(),e.scrolling="no",e.setAttribute(fa,"true"),A.body.appendChild(e),e},pa=function(A){return new Promise((function(t){A.complete?t():A.src?(A.onload=t,A.onerror=t):t()}))},wa=function(A){return Promise.all([].slice.call(A.images,0).map(pa))},ma=function(A){return new Promise((function(t,e){var r=A.contentWindow;if(!r)return e("No window assigned for iframe");var n=r.document;r.onload=A.onload=function(){r.onload=A.onload=null;var e=setInterval((function(){n.body.childNodes.length>0&&"complete"===n.readyState&&(clearInterval(e),t(A))}),50)}}))},Qa=["all","d","content"],Ca=function(A,t){for(var e=A.length-1;e>=0;e--){var r=A.item(e);-1===Qa.indexOf(r)&&t.style.setProperty(r,A.getPropertyValue(r))}return t},Fa=function(A){var t="";return A&&(t+=""),t},va=function(A,t,e){A&&A.defaultView&&(t!==A.defaultView.pageXOffset||e!==A.defaultView.pageYOffset)&&A.defaultView.scrollTo(t,e)},ya=function(A){var t=A[0],e=A[1],r=A[2];t.scrollLeft=e,t.scrollTop=r},ba=":before",Ua=":after",La="___html2canvas___pseudoelement_before",Ia="___html2canvas___pseudoelement_after",Ea='{\n content: "" !important;\n display: none !important;\n}',xa=function(A){Ha(A,"."+La+ba+Ea+"\n ."+Ia+Ua+Ea)},Ha=function(A,t){var e=A.ownerDocument;if(e){var r=e.createElement("style");r.textContent=t,A.appendChild(r)}},Na=function(){function A(){}return A.getOrigin=function(t){var e=A._link;return e?(e.href=t,e.href=e.href,e.protocol+e.hostname+e.port):"about:blank"},A.isSameOrigin=function(t){return A.getOrigin(t)===A._origin},A.setContext=function(t){A._link=t.document.createElement("a"),A._origin=A.getOrigin(t.location.href)},A._origin="about:blank",A}(),Sa=function(){function A(A,t){this.context=A,this._options=t,this._cache={}}return A.prototype.addImage=function(A){var t=Promise.resolve();return this.has(A)?t:Oa(A)||_a(A)?((this._cache[A]=this.loadImage(A)).catch((function(){})),t):t},A.prototype.match=function(A){return this._cache[A]},A.prototype.loadImage=function(A){return r(this,void 0,void 0,(function(){var t,e,r,i,s=this;return n(this,(function(n){switch(n.label){case 0:return t=Na.isSameOrigin(A),e=!Ma(A)&&!0===this._options.useCORS&&Gs.SUPPORT_CORS_IMAGES&&!t,r=!Ma(A)&&!t&&!Oa(A)&&"string"===typeof this._options.proxy&&Gs.SUPPORT_CORS_XHR&&!e,t||!1!==this._options.allowTaint||Ma(A)||Oa(A)||r||e?(i=A,r?[4,this.proxy(i)]:[3,2]):[2];case 1:i=n.sent(),n.label=2;case 2:return this.context.logger.debug("Added image "+A.substring(0,256)),[4,new Promise((function(A,t){var r=new Image;r.onload=function(){return A(r)},r.onerror=t,(Ka(i)||e)&&(r.crossOrigin="anonymous"),r.src=i,!0===r.complete&&setTimeout((function(){return A(r)}),500),s._options.imageTimeout>0&&setTimeout((function(){return t("Timed out ("+s._options.imageTimeout+"ms) loading image")}),s._options.imageTimeout)}))];case 3:return[2,n.sent()]}}))}))},A.prototype.has=function(A){return"undefined"!==typeof this._cache[A]},A.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},A.prototype.proxy=function(A){var t=this,e=this._options.proxy;if(!e)throw new Error("No proxy defined");var r=A.substring(0,256);return new Promise((function(n,i){var s=Gs.SUPPORT_RESPONSE_TYPE?"blob":"text",o=new XMLHttpRequest;o.onload=function(){if(200===o.status)if("text"===s)n(o.response);else{var A=new FileReader;A.addEventListener("load",(function(){return n(A.result)}),!1),A.addEventListener("error",(function(A){return i(A)}),!1),A.readAsDataURL(o.response)}else i("Failed to proxy resource "+r+" with status code "+o.status)},o.onerror=i;var a=e.indexOf("?")>-1?"&":"?";if(o.open("GET",""+e+a+"url="+encodeURIComponent(A)+"&responseType="+s),"text"!==s&&o instanceof XMLHttpRequest&&(o.responseType=s),t._options.imageTimeout){var c=t._options.imageTimeout;o.timeout=c,o.ontimeout=function(){return i("Timed out ("+c+"ms) proxying "+r)}}o.send()}))},A}(),Pa=/^data:image\/svg\+xml/i,Da=/^data:image\/.*;base64,/i,ka=/^data:image\/.*/i,_a=function(A){return Gs.SUPPORT_SVG_DRAWING||!Ta(A)},Ma=function(A){return ka.test(A)},Ka=function(A){return Da.test(A)},Oa=function(A){return"blob"===A.substr(0,4)},Ta=function(A){return"svg"===A.substr(-3).toLowerCase()||Pa.test(A)},Ra=function(){function A(A,t){this.type=0,this.x=A,this.y=t}return A.prototype.add=function(t,e){return new A(this.x+t,this.y+e)},A}(),ja=function(A,t,e){return new Ra(A.x+(t.x-A.x)*e,A.y+(t.y-A.y)*e)},Ga=function(){function A(A,t,e,r){this.type=1,this.start=A,this.startControl=t,this.endControl=e,this.end=r}return A.prototype.subdivide=function(t,e){var r=ja(this.start,this.startControl,t),n=ja(this.startControl,this.endControl,t),i=ja(this.endControl,this.end,t),s=ja(r,n,t),o=ja(n,i,t),a=ja(s,o,t);return e?new A(this.start,r,s,a):new A(a,o,i,this.end)},A.prototype.add=function(t,e){return new A(this.start.add(t,e),this.startControl.add(t,e),this.endControl.add(t,e),this.end.add(t,e))},A.prototype.reverse=function(){return new A(this.end,this.endControl,this.startControl,this.start)},A}(),Va=function(A){return 1===A.type},qa=function(){function A(A){var t=A.styles,e=A.bounds,r=$e(t.borderTopLeftRadius,e.width,e.height),n=r[0],i=r[1],s=$e(t.borderTopRightRadius,e.width,e.height),o=s[0],a=s[1],c=$e(t.borderBottomRightRadius,e.width,e.height),u=c[0],l=c[1],h=$e(t.borderBottomLeftRadius,e.width,e.height),f=h[0],B=h[1],d=[];d.push((n+o)/e.width),d.push((f+u)/e.width),d.push((i+B)/e.height),d.push((a+l)/e.height);var g=Math.max.apply(Math,d);g>1&&(n/=g,i/=g,o/=g,a/=g,u/=g,l/=g,f/=g,B/=g);var p=e.width-o,w=e.height-l,m=e.width-u,Q=e.height-B,C=t.borderTopWidth,F=t.borderRightWidth,v=t.borderBottomWidth,y=t.borderLeftWidth,b=Ar(t.paddingTop,A.bounds.width),U=Ar(t.paddingRight,A.bounds.width),L=Ar(t.paddingBottom,A.bounds.width),I=Ar(t.paddingLeft,A.bounds.width);this.topLeftBorderDoubleOuterBox=n>0||i>0?Ja(e.left+y/3,e.top+C/3,n-y/3,i-C/3,da.TOP_LEFT):new Ra(e.left+y/3,e.top+C/3),this.topRightBorderDoubleOuterBox=n>0||i>0?Ja(e.left+p,e.top+C/3,o-F/3,a-C/3,da.TOP_RIGHT):new Ra(e.left+e.width-F/3,e.top+C/3),this.bottomRightBorderDoubleOuterBox=u>0||l>0?Ja(e.left+m,e.top+w,u-F/3,l-v/3,da.BOTTOM_RIGHT):new Ra(e.left+e.width-F/3,e.top+e.height-v/3),this.bottomLeftBorderDoubleOuterBox=f>0||B>0?Ja(e.left+y/3,e.top+Q,f-y/3,B-v/3,da.BOTTOM_LEFT):new Ra(e.left+y/3,e.top+e.height-v/3),this.topLeftBorderDoubleInnerBox=n>0||i>0?Ja(e.left+2*y/3,e.top+2*C/3,n-2*y/3,i-2*C/3,da.TOP_LEFT):new Ra(e.left+2*y/3,e.top+2*C/3),this.topRightBorderDoubleInnerBox=n>0||i>0?Ja(e.left+p,e.top+2*C/3,o-2*F/3,a-2*C/3,da.TOP_RIGHT):new Ra(e.left+e.width-2*F/3,e.top+2*C/3),this.bottomRightBorderDoubleInnerBox=u>0||l>0?Ja(e.left+m,e.top+w,u-2*F/3,l-2*v/3,da.BOTTOM_RIGHT):new Ra(e.left+e.width-2*F/3,e.top+e.height-2*v/3),this.bottomLeftBorderDoubleInnerBox=f>0||B>0?Ja(e.left+2*y/3,e.top+Q,f-2*y/3,B-2*v/3,da.BOTTOM_LEFT):new Ra(e.left+2*y/3,e.top+e.height-2*v/3),this.topLeftBorderStroke=n>0||i>0?Ja(e.left+y/2,e.top+C/2,n-y/2,i-C/2,da.TOP_LEFT):new Ra(e.left+y/2,e.top+C/2),this.topRightBorderStroke=n>0||i>0?Ja(e.left+p,e.top+C/2,o-F/2,a-C/2,da.TOP_RIGHT):new Ra(e.left+e.width-F/2,e.top+C/2),this.bottomRightBorderStroke=u>0||l>0?Ja(e.left+m,e.top+w,u-F/2,l-v/2,da.BOTTOM_RIGHT):new Ra(e.left+e.width-F/2,e.top+e.height-v/2),this.bottomLeftBorderStroke=f>0||B>0?Ja(e.left+y/2,e.top+Q,f-y/2,B-v/2,da.BOTTOM_LEFT):new Ra(e.left+y/2,e.top+e.height-v/2),this.topLeftBorderBox=n>0||i>0?Ja(e.left,e.top,n,i,da.TOP_LEFT):new Ra(e.left,e.top),this.topRightBorderBox=o>0||a>0?Ja(e.left+p,e.top,o,a,da.TOP_RIGHT):new Ra(e.left+e.width,e.top),this.bottomRightBorderBox=u>0||l>0?Ja(e.left+m,e.top+w,u,l,da.BOTTOM_RIGHT):new Ra(e.left+e.width,e.top+e.height),this.bottomLeftBorderBox=f>0||B>0?Ja(e.left,e.top+Q,f,B,da.BOTTOM_LEFT):new Ra(e.left,e.top+e.height),this.topLeftPaddingBox=n>0||i>0?Ja(e.left+y,e.top+C,Math.max(0,n-y),Math.max(0,i-C),da.TOP_LEFT):new Ra(e.left+y,e.top+C),this.topRightPaddingBox=o>0||a>0?Ja(e.left+Math.min(p,e.width-F),e.top+C,p>e.width+F?0:Math.max(0,o-F),Math.max(0,a-C),da.TOP_RIGHT):new Ra(e.left+e.width-F,e.top+C),this.bottomRightPaddingBox=u>0||l>0?Ja(e.left+Math.min(m,e.width-y),e.top+Math.min(w,e.height-v),Math.max(0,u-F),Math.max(0,l-v),da.BOTTOM_RIGHT):new Ra(e.left+e.width-F,e.top+e.height-v),this.bottomLeftPaddingBox=f>0||B>0?Ja(e.left+y,e.top+Math.min(Q,e.height-v),Math.max(0,f-y),Math.max(0,B-v),da.BOTTOM_LEFT):new Ra(e.left+y,e.top+e.height-v),this.topLeftContentBox=n>0||i>0?Ja(e.left+y+I,e.top+C+b,Math.max(0,n-(y+I)),Math.max(0,i-(C+b)),da.TOP_LEFT):new Ra(e.left+y+I,e.top+C+b),this.topRightContentBox=o>0||a>0?Ja(e.left+Math.min(p,e.width+y+I),e.top+C+b,p>e.width+y+I?0:o-y+I,a-(C+b),da.TOP_RIGHT):new Ra(e.left+e.width-(F+U),e.top+C+b),this.bottomRightContentBox=u>0||l>0?Ja(e.left+Math.min(m,e.width-(y+I)),e.top+Math.min(w,e.height+C+b),Math.max(0,u-(F+U)),l-(v+L),da.BOTTOM_RIGHT):new Ra(e.left+e.width-(F+U),e.top+e.height-(v+L)),this.bottomLeftContentBox=f>0||B>0?Ja(e.left+y+I,e.top+Q,Math.max(0,f-(y+I)),B-(v+L),da.BOTTOM_LEFT):new Ra(e.left+y+I,e.top+e.height-(v+L))}return A}();(function(A){A[A["TOP_LEFT"]=0]="TOP_LEFT",A[A["TOP_RIGHT"]=1]="TOP_RIGHT",A[A["BOTTOM_RIGHT"]=2]="BOTTOM_RIGHT",A[A["BOTTOM_LEFT"]=3]="BOTTOM_LEFT"})(da||(da={}));var Ja=function(A,t,e,r,n){var i=(Math.sqrt(2)-1)/3*4,s=e*i,o=r*i,a=A+e,c=t+r;switch(n){case da.TOP_LEFT:return new Ga(new Ra(A,c),new Ra(A,c-o),new Ra(a-s,t),new Ra(a,t));case da.TOP_RIGHT:return new Ga(new Ra(A,t),new Ra(A+s,t),new Ra(a,c-o),new Ra(a,c));case da.BOTTOM_RIGHT:return new Ga(new Ra(a,t),new Ra(a,t+o),new Ra(A+s,c),new Ra(A,c));case da.BOTTOM_LEFT:default:return new Ga(new Ra(a,c),new Ra(a-s,c),new Ra(A,t+o),new Ra(A,t))}},Xa=function(A){return[A.topLeftBorderBox,A.topRightBorderBox,A.bottomRightBorderBox,A.bottomLeftBorderBox]},Wa=function(A){return[A.topLeftContentBox,A.topRightContentBox,A.bottomRightContentBox,A.bottomLeftContentBox]},Ya=function(A){return[A.topLeftPaddingBox,A.topRightPaddingBox,A.bottomRightPaddingBox,A.bottomLeftPaddingBox]},za=function(){function A(A,t,e){this.offsetX=A,this.offsetY=t,this.matrix=e,this.type=0,this.target=6}return A}(),Za=function(){function A(A,t){this.path=A,this.target=t,this.type=1}return A}(),$a=function(){function A(A){this.opacity=A,this.type=2,this.target=6}return A}(),Ac=function(A){return 0===A.type},tc=function(A){return 1===A.type},ec=function(A){return 2===A.type},rc=function(A,t){return A.length===t.length&&A.some((function(A,e){return A===t[e]}))},nc=function(A,t,e,r,n){return A.map((function(A,i){switch(i){case 0:return A.add(t,e);case 1:return A.add(t+r,e);case 2:return A.add(t+r,e+n);case 3:return A.add(t,e+n)}return A}))},ic=function(){function A(A){this.element=A,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return A}(),sc=function(){function A(A,t){if(this.container=A,this.parent=t,this.effects=[],this.curves=new qa(this.container),this.container.styles.opacity<1&&this.effects.push(new $a(this.container.styles.opacity)),null!==this.container.styles.transform){var e=this.container.bounds.left+this.container.styles.transformOrigin[0].number,r=this.container.bounds.top+this.container.styles.transformOrigin[1].number,n=this.container.styles.transform;this.effects.push(new za(e,r,n))}if(0!==this.container.styles.overflowX){var i=Xa(this.curves),s=Ya(this.curves);rc(i,s)?this.effects.push(new Za(i,6)):(this.effects.push(new Za(i,2)),this.effects.push(new Za(s,4)))}}return A.prototype.getEffects=function(A){var t=-1===[2,3].indexOf(this.container.styles.position),e=this.parent,r=this.effects.slice(0);while(e){var n=e.effects.filter((function(A){return!tc(A)}));if(t||0!==e.container.styles.position||!e.parent){if(r.unshift.apply(r,n),t=-1===[2,3].indexOf(e.container.styles.position),0!==e.container.styles.overflowX){var i=Xa(e.curves),s=Ya(e.curves);rc(i,s)||r.unshift(new Za(s,6))}}else r.unshift.apply(r,n);e=e.parent}return r.filter((function(t){return pi(t.target,A)}))},A}(),oc=function(A,t,e,r){A.container.elements.forEach((function(n){var i=pi(n.flags,4),s=pi(n.flags,2),o=new sc(n,A);pi(n.styles.display,2048)&&r.push(o);var a=pi(n.flags,8)?[]:r;if(i||s){var c=i||n.styles.isPositioned()?e:t,u=new ic(o);if(n.styles.isPositioned()||n.styles.opacity<1||n.styles.isTransformed()){var l=n.styles.zIndex.order;if(l<0){var h=0;c.negativeZIndex.some((function(A,t){return l>A.element.container.styles.zIndex.order?(h=t,!1):h>0})),c.negativeZIndex.splice(h,0,u)}else if(l>0){var f=0;c.positiveZIndex.some((function(A,t){return l>=A.element.container.styles.zIndex.order?(f=t+1,!1):f>0})),c.positiveZIndex.splice(f,0,u)}else c.zeroOrAutoZIndexOrTransformedOrOpacity.push(u)}else n.styles.isFloating()?c.nonPositionedFloats.push(u):c.nonPositionedInlineLevel.push(u);oc(o,u,i?u:e,a)}else n.styles.isInlineLevel()?t.inlineLevel.push(o):t.nonInlineLevel.push(o),oc(o,t,e,a);pi(n.flags,8)&&ac(n,a)}))},ac=function(A,t){for(var e=A instanceof ao?A.start:1,r=A instanceof ao&&A.reversed,n=0;n0&&A.intrinsicHeight>0){var r=pc(A),n=Ya(t);this.path(n),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(e,0,0,A.intrinsicWidth,A.intrinsicHeight,r.left,r.top,r.width,r.height),this.ctx.restore()}},e.prototype.renderNodeContent=function(A){return r(this,void 0,void 0,(function(){var t,r,i,o,a,c,u,l,h,f,B,d,g,p,w,m,Q,C,F;return n(this,(function(n){switch(n.label){case 0:this.applyEffects(A.getEffects(4)),t=A.container,r=A.curves,i=t.styles,o=0,a=t.textNodes,n.label=1;case 1:return o0&&y>0&&(w=r.ctx.createPattern(d,"repeat"),r.renderRepeat(Q,w,U,L))):jr(e)&&(m=Qc(A,t,[null,null,null]),Q=m[0],C=m[1],F=m[2],v=m[3],y=m[4],b=0===e.position.length?[ze]:e.position,U=Ar(b[0],v),L=Ar(b[b.length-1],y),I=Ir(e,U,L,v,y),E=I[0],x=I[1],E>0&&x>0&&(H=r.ctx.createRadialGradient(C+U,F+L,0,C+U,F+L,E),vr(e.stops,2*E).forEach((function(A){return H.addColorStop(A.stop,lr(A.color))})),r.path(Q),r.ctx.fillStyle=H,E!==x?(N=A.bounds.left+.5*A.bounds.width,S=A.bounds.top+.5*A.bounds.height,P=x/E,D=1/P,r.ctx.save(),r.ctx.translate(N,S),r.ctx.transform(1,0,0,P,0,0),r.ctx.translate(-N,-S),r.ctx.fillRect(C,D*(F-S)+S,v,y*D),r.ctx.restore()):r.ctx.fill())),n.label=6;case 6:return t--,[2]}}))},r=this,i=0,s=A.styles.backgroundImage.slice(0).reverse(),a.label=1;case 1:return i0?2!==c.style?[3,5]:[4,this.renderDashedDottedBorder(c.color,c.width,s,A.curves,2)]:[3,11]):[3,13];case 4:return n.sent(),[3,11];case 5:return 3!==c.style?[3,7]:[4,this.renderDashedDottedBorder(c.color,c.width,s,A.curves,3)];case 6:return n.sent(),[3,11];case 7:return 4!==c.style?[3,9]:[4,this.renderDoubleBorder(c.color,c.width,s,A.curves)];case 8:return n.sent(),[3,11];case 9:return[4,this.renderSolidBorder(c.color,s,A.curves)];case 10:n.sent(),n.label=11;case 11:s++,n.label=12;case 12:return o++,[3,3];case 13:return[2]}}))}))},e.prototype.renderDashedDottedBorder=function(A,t,e,i,s){return r(this,void 0,void 0,(function(){var r,o,a,c,u,l,h,f,B,d,g,p,w,m,Q,C;return n(this,(function(n){return this.ctx.save(),r=fc(i,e),o=uc(i,e),2===s&&(this.path(o),this.ctx.clip()),Va(o[0])?(a=o[0].start.x,c=o[0].start.y):(a=o[0].x,c=o[0].y),Va(o[1])?(u=o[1].end.x,l=o[1].end.y):(u=o[1].x,l=o[1].y),h=0===e||2===e?Math.abs(a-u):Math.abs(c-l),this.ctx.beginPath(),3===s?this.formatPath(r):this.formatPath(o.slice(0,2)),f=t<3?3*t:2*t,B=t<3?2*t:t,3===s&&(f=t,B=t),d=!0,h<=2*f?d=!1:h<=2*f+B?(g=h/(2*f+B),f*=g,B*=g):(p=Math.floor((h+B)/(f+B)),w=(h-p*f)/(p-1),m=(h-(p+1)*f)/p,B=m<=0||Math.abs(B-w)>>1|(21845&Q)<<1;C=(52428&C)>>>2|(13107&C)<<2,C=(61680&C)>>>4|(3855&C)<<4,m[Q]=((65280&C)>>>8|(255&C)<<8)>>>1}var F=function(A,t,e){for(var r=A.length,n=0,i=new o(t);n>>c]=u}else for(s=new o(r),n=0;n>>15-A[n];return s},v=new s(288);for(Q=0;Q<144;++Q)v[Q]=8;for(Q=144;Q<256;++Q)v[Q]=9;for(Q=256;Q<280;++Q)v[Q]=7;for(Q=280;Q<288;++Q)v[Q]=8;var y=new s(32);for(Q=0;Q<32;++Q)y[Q]=5;var b=F(v,9,0),U=F(v,9,1),L=F(y,5,0),I=F(y,5,1),E=function(A){for(var t=A[0],e=1;et&&(t=A[e]);return t},x=function(A,t,e){var r=t/8>>0;return(A[r]|A[r+1]<<8)>>>(7&t)&e},H=function(A,t){var e=t/8>>0;return(A[e]|A[e+1]<<8|A[e+2]<<16)>>>(7&t)},N=function(A){return(A/8>>0)+(7&A&&1)},S=function(A,t,e){(null==t||t<0)&&(t=0),(null==e||e>A.length)&&(e=A.length);var r=new(A instanceof o?o:A instanceof a?a:s)(e-t);return r.set(A.subarray(t,e)),r},P=function(A,t,e){var r=A.length,n=!t||e,i=!e||e.i;e||(e={}),t||(t=new s(3*r));var o=function(A){var e=t.length;if(A>e){var r=new s(Math.max(2*e,A));r.set(t),t=r}},a=e.f||0,h=e.p||0,f=e.b||0,d=e.l,g=e.d,w=e.m,m=e.n,Q=8*r;do{if(!d){e.f=a=x(A,h,1);var C=x(A,h+1,3);if(h+=3,!C){var v=N(h)+4,y=A[v-4]|A[v-3]<<8,b=v+y;if(b>r){if(i)throw"unexpected EOF";break}n&&o(f+y),t.set(A.subarray(v,b),f),e.b=f+=y,e.p=h=8*b;continue}if(1==C)d=U,g=I,w=9,m=5;else{if(2!=C)throw"invalid block type";var L=x(A,h,31)+257,P=x(A,h+10,15)+4,D=L+x(A,h+5,31)+1;h+=14;for(var k=new s(D),_=new s(19),M=0;MQ)break;var T=F(_,K,1);for(M=0;M>>4;if(v<16)k[M++]=v;else{var j=0,G=0;16==v?(G=3+x(A,h,3),h+=2,j=k[M-1]):17==v?(G=3+x(A,h,7),h+=3):18==v&&(G=11+x(A,h,127),h+=7);while(G--)k[M++]=j}}var V=k.subarray(0,L),q=k.subarray(L);w=E(V),m=E(q),d=F(V,w,1),g=F(q,m,1)}if(h>Q)throw"unexpected EOF"}n&&o(f+131072);var J=(1<>>4;if(h+=15&j,h>Q)throw"unexpected EOF";if(!j)throw"invalid length/literal";if(Y<256)t[f++]=Y;else{if(256==Y){d=null;break}var z=Y-254;if(Y>264){M=Y-257;var Z=c[M];z=x(A,h,(1<>>4;if(!$)throw"invalid distance";h+=15&$;q=p[AA];if(AA>3){Z=u[AA];q+=H(A,h)&(1<Q)throw"unexpected EOF";n&&o(f+131072);for(var tA=f+z;f>0;A[r]|=e,A[r+1]|=e>>>8},k=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},_=function(A,t){for(var e=[],r=0;rB&&(B=i[r].s);var d=new o(B+1),g=M(e[h-1],d,0);if(g>t){r=0;var p=0,w=g-t,m=1<t))break;p+=m-(1<>>=w;while(p>0){var C=i[r].s;d[C]=0&&p;--r){var F=i[r].s;d[F]==t&&(--d[F],++p)}g=t}return[new s(d),g]},M=function(A,t,e){return-1==A.s?Math.max(M(A.l,t,e+1),M(A.r,t,e+1)):t[A.s]=e},K=function(A){var t=A.length;while(t&&!A[--t]);for(var e=new o(++t),r=0,n=A[0],i=1,s=function(A){e[r++]=A},a=1;a<=t;++a)if(A[a]==n&&a!=t)++i;else{if(!n&&i>2){for(;i>138;i-=138)s(32754);i>2&&(s(i>10?i-11<<5|28690:i-3<<5|12305),i=0)}else if(i>3){for(s(n),--i;i>6;i-=6)s(8304);i>2&&(s(i-3<<5|8208),i=0)}while(i--)s(n);i=1,n=A[a]}return[e.subarray(0,r),t]},O=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&&!M[l[j-1]];--j);var G,V,q,J,X=f+5<<3,W=O(n,v)+O(i,y)+s,Y=O(n,g)+O(i,m)+s+14+3*j+O(N,M)+(2*N[16]+3*N[17]+7*N[18]);if(X<=W&&X<=Y)return T(t,B,A.subarray(h,h+f));if(D(t,B,1+(Y15&&(D(t,B,AA[S]>>>5&127),B+=AA[S]>>>12)}}}else G=b,V=v,q=L,J=y;for(S=0;S255){tA=r[S]>>>18&31;k(t,B,G[tA+257]),B+=V[tA+257],tA>7&&(D(t,B,r[S]>>>23&31),B+=c[tA]);var eA=31&r[S];k(t,B,q[eA]),B+=J[eA],eA>3&&(k(t,B,r[S]>>>5&8191),B+=u[eA])}else k(t,B,G[r[S]]),B+=V[r[S]];return k(t,B,G[256]),B+V[256]},j=new a([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),G=new s(0),V=function(A,t,e,r,n,i){var l=A.length,h=new s(r+l+5*(1+Math.floor(l/7e3))+n),f=h.subarray(r,h.length-n),B=0;if(!t||l<8)for(var g=0;g<=l;g+=65535){var p=g+65535;p>>13,C=8191&m,F=(1<7e3||D>24576)&&V>423){B=R(A,f,0,I,E,x,P,D,_,g-_,B),D=H=P=0,_=g;for(var q=0;q<286;++q)E[q]=0;for(q=0;q<30;++q)x[q]=0}var J=2,X=0,W=C,Y=K-O&32767;if(V>2&&M==L(g-Y)){var z=Math.min(Q,V)-1,Z=Math.min(32767,g),$=Math.min(258,V);while(Y<=Z&&--W&&K!=O){if(A[g+J]==A[g+J-Y]){for(var AA=0;AA<$&&A[g+AA]==A[g+AA-Y];++AA);if(AA>J){if(J=AA,X=Y,AA>z)break;var tA=Math.min(Y,AA-2),eA=0;for(q=0;qeA&&(eA=iA,O=rA)}}}K=O,O=v[K],Y+=K-O+32768&32767}}if(X){I[D++]=268435456|d[J]<<18|w[X];var sA=31&d[J],oA=31&w[X];P+=c[sA]+u[oA],++E[257+sA],++x[oA],k=g+J,++H}else I[D++]=A[g],++E[A[g]]}}B=R(A,f,i,I,E,x,P,D,_,g-_,B),i||(B=T(f,B,G))}return S(h,0,r+N(B)+n)},q=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)}}},J=function(A,t,e,r,n){return V(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)},X=function(A,t,e){for(;e;++t)A[t]=e,e>>>=8},W=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)},Y=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 z(A,t){void 0===t&&(t={});var e=q();e.p(A);var r=J(A,t,2,4);return W(r,t),X(r,r.length-4,e.d()),r}function Z(A,t){return P((Y(A),A.subarray(2,-4)),t)} /** @license * * jsPDF - PDF Document creation from JavaScript * Version 2.5.1 Built on 2022-01-28T15:37:57.791Z * CommitID 00000000 * * Copyright (c) 2010-2021 James Hall , https://github.com/MrRio/jsPDF * 2015-2021 yWorks GmbH, http://www.yworks.com * 2015-2021 Lukas Holländer , https://github.com/HackbrettXXX * 2016-2018 Aras Abbasi * 2010 Aaron Spike, https://github.com/acspike * 2012 Willow Systems Corporation, https://github.com/willowsystems * 2012 Pablo Hess, https://github.com/pablohess * 2012 Florian Jenett, https://github.com/fjenett * 2013 Warren Weckesser, https://github.com/warrenweckesser * 2013 Youssef Beddad, https://github.com/lifof * 2013 Lee Driscoll, https://github.com/lsdriscoll * 2013 Stefan Slonevskiy, https://github.com/stefslon * 2013 Jeremy Morel, https://github.com/jmorel * 2013 Christoph Hartmann, https://github.com/chris-rock * 2014 Juan Pablo Gaviria, https://github.com/juanpgaviria * 2014 James Makes, https://github.com/dollaruw * 2014 Diego Casorran, https://github.com/diegocr * 2014 Steven Spungin, https://github.com/Flamenco * 2014 Kenneth Glassey, https://github.com/Gavvers * * 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: * * The above copyright notice and this permission notice shall be * included in all copies or substantial portions of the Software. * * 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. * * Contributor(s): * siefkenj, ahwolf, rickygu, Midnith, saintclair, eaparango, * kim3er, mfo, alnorth, Flamenco */ var $=function(){return"undefined"!=typeof window?window:"undefined"!=typeof e.g?e.g:"undefined"!=typeof self?self:this}();function AA(){$.console&&"function"==typeof $.console.log&&$.console.log.apply($.console,arguments)}var tA={log:AA,warn:function(A){$.console&&("function"==typeof $.console.warn?$.console.warn.apply($.console,arguments):AA.call(null,arguments))},error:function(A){$.console&&("function"==typeof $.console.error?$.console.error.apply($.console,arguments):AA(A))}};function eA(A,t,e){var r=new XMLHttpRequest;r.open("GET",A),r.responseType="blob",r.onload=function(){oA(r.response,t,e)},r.onerror=function(){tA.error("could not download file")},r.send()}function rA(A){var t=new XMLHttpRequest;t.open("HEAD",A,!1);try{t.send()}catch(A){}return t.status>=200&&t.status<=299}function nA(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 iA,sA,oA=$.saveAs||("object"!==("undefined"==typeof window?"undefined":(0,i.Z)(window))||window!==$?function(){}:"undefined"!=typeof HTMLAnchorElement&&"download"in HTMLAnchorElement.prototype?function(A,t,e){var r=$.URL||$.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?rA(n.href)?eA(A,t,e):nA(n,n.target="_blank"):nA(n)):(n.href=r.createObjectURL(A),setTimeout((function(){r.revokeObjectURL(n.href)}),4e4),setTimeout((function(){nA(n)}),0))}:"msSaveOrOpenBlob"in navigator?function(A,t,e){if(t=t||A.name||"download","string"==typeof A)if(rA(A))eA(A,t,e);else{var r=document.createElement("a");r.href=A,r.target="_blank",setTimeout((function(){nA(r)}))}else navigator.msSaveOrOpenBlob(function(A,t){return void 0===t?t={autoBom:!1}:"object"!==(0,i.Z)(t)&&(tA.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 eA(A,t,e);var n="application/octet-stream"===A.type,s=/constructor/i.test($.HTMLElement)||$.safari,o=/CriOS\/[\d]+/.test(navigator.userAgent);if((o||n&&s)&&"object"===("undefined"==typeof FileReader?"undefined":(0,i.Z)(FileReader))){var a=new FileReader;a.onloadend=function(){var A=a.result;A=o?A:A.replace(/^data:[^;]*;/,"data:attachment/file;"),r?r.location.href=A:location=A,r=null},a.readAsDataURL(A)}else{var c=$.URL||$.webkitURL,u=c.createObjectURL(A);r?r.location=u:location.href=u,r=null,setTimeout((function(){c.revokeObjectURL(u)}),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 aA(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 cA(A,t){var e=A[0],r=A[1],n=A[2],i=A[3];e=lA(e,r,n,i,t[0],7,-680876936),i=lA(i,e,r,n,t[1],12,-389564586),n=lA(n,i,e,r,t[2],17,606105819),r=lA(r,n,i,e,t[3],22,-1044525330),e=lA(e,r,n,i,t[4],7,-176418897),i=lA(i,e,r,n,t[5],12,1200080426),n=lA(n,i,e,r,t[6],17,-1473231341),r=lA(r,n,i,e,t[7],22,-45705983),e=lA(e,r,n,i,t[8],7,1770035416),i=lA(i,e,r,n,t[9],12,-1958414417),n=lA(n,i,e,r,t[10],17,-42063),r=lA(r,n,i,e,t[11],22,-1990404162),e=lA(e,r,n,i,t[12],7,1804603682),i=lA(i,e,r,n,t[13],12,-40341101),n=lA(n,i,e,r,t[14],17,-1502002290),e=hA(e,r=lA(r,n,i,e,t[15],22,1236535329),n,i,t[1],5,-165796510),i=hA(i,e,r,n,t[6],9,-1069501632),n=hA(n,i,e,r,t[11],14,643717713),r=hA(r,n,i,e,t[0],20,-373897302),e=hA(e,r,n,i,t[5],5,-701558691),i=hA(i,e,r,n,t[10],9,38016083),n=hA(n,i,e,r,t[15],14,-660478335),r=hA(r,n,i,e,t[4],20,-405537848),e=hA(e,r,n,i,t[9],5,568446438),i=hA(i,e,r,n,t[14],9,-1019803690),n=hA(n,i,e,r,t[3],14,-187363961),r=hA(r,n,i,e,t[8],20,1163531501),e=hA(e,r,n,i,t[13],5,-1444681467),i=hA(i,e,r,n,t[2],9,-51403784),n=hA(n,i,e,r,t[7],14,1735328473),e=fA(e,r=hA(r,n,i,e,t[12],20,-1926607734),n,i,t[5],4,-378558),i=fA(i,e,r,n,t[8],11,-2022574463),n=fA(n,i,e,r,t[11],16,1839030562),r=fA(r,n,i,e,t[14],23,-35309556),e=fA(e,r,n,i,t[1],4,-1530992060),i=fA(i,e,r,n,t[4],11,1272893353),n=fA(n,i,e,r,t[7],16,-155497632),r=fA(r,n,i,e,t[10],23,-1094730640),e=fA(e,r,n,i,t[13],4,681279174),i=fA(i,e,r,n,t[0],11,-358537222),n=fA(n,i,e,r,t[3],16,-722521979),r=fA(r,n,i,e,t[6],23,76029189),e=fA(e,r,n,i,t[9],4,-640364487),i=fA(i,e,r,n,t[12],11,-421815835),n=fA(n,i,e,r,t[15],16,530742520),e=BA(e,r=fA(r,n,i,e,t[2],23,-995338651),n,i,t[0],6,-198630844),i=BA(i,e,r,n,t[7],10,1126891415),n=BA(n,i,e,r,t[14],15,-1416354905),r=BA(r,n,i,e,t[5],21,-57434055),e=BA(e,r,n,i,t[12],6,1700485571),i=BA(i,e,r,n,t[3],10,-1894986606),n=BA(n,i,e,r,t[10],15,-1051523),r=BA(r,n,i,e,t[1],21,-2054922799),e=BA(e,r,n,i,t[8],6,1873313359),i=BA(i,e,r,n,t[15],10,-30611744),n=BA(n,i,e,r,t[6],15,-1560198380),r=BA(r,n,i,e,t[13],21,1309151649),e=BA(e,r,n,i,t[4],6,-145523070),i=BA(i,e,r,n,t[11],10,-1120210379),n=BA(n,i,e,r,t[2],15,718787259),r=BA(r,n,i,e,t[9],21,-343485551),A[0]=FA(e,A[0]),A[1]=FA(r,A[1]),A[2]=FA(n,A[2]),A[3]=FA(i,A[3])}function uA(A,t,e,r,n,i){return t=FA(FA(t,A),FA(r,i)),FA(t<>>32-n,e)}function lA(A,t,e,r,n,i,s){return uA(t&e|~t&r,A,t,n,i,s)}function hA(A,t,e,r,n,i,s){return uA(t&r|e&~r,A,t,n,i,s)}function fA(A,t,e,r,n,i,s){return uA(t^e^r,A,t,n,i,s)}function BA(A,t,e,r,n,i,s){return uA(e^(t|~r),A,t,n,i,s)}function dA(A){var t,e=A.length,r=[1732584193,-271733879,-1732584194,271733878];for(t=64;t<=A.length;t+=64)cA(r,gA(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(cA(r,n),t=0;t<16;t++)n[t]=0;return n[14]=8*e,cA(r,n),r}function gA(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}iA=$.atob.bind($),sA=$.btoa.bind($);var pA="0123456789abcdef".split("");function wA(A){for(var t="",e=0;e<4;e++)t+=pA[A>>8*e+4&15]+pA[A>>8*e&15];return t}function mA(A){return String.fromCharCode((255&A)>>0,(65280&A)>>8,(16711680&A)>>16,(4278190080&A)>>24)}function QA(A){return dA(A).map(mA).join("")}var CA="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 vA(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=QA(i+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(r)).substr(0,5),this.U=vA(this.encryptionKey,this.padding)}function UA(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 LA(A){if("object"!==(0,i.Z)(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 s=t[e][i];try{s[0].apply(A,r)}catch(e){$.console&&tA.error("jsPDF PubSub Error",e.message,e)}s[1]&&n.push(i)}n.length&&n.forEach(this.unsubscribe)}},this.getTopics=function(){return t}}function IA(A){if(!(this instanceof IA))return new IA(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 EA(A,t){this.gState=A,this.matrix=t,this.id="",this.objectNumber=-1}function xA(A,t,e,r,n){if(!(this instanceof xA))return new xA(A,t,e,r,n);this.type="axial"===A?2:3,this.coords=t,this.colors=e,EA.call(this,r,n)}function HA(A,t,e,r,n){if(!(this instanceof HA))return new HA(A,t,e,r,n);this.boundingBox=A,this.xStep=t,this.yStep=e,this.stream="",this.cloneIndex=0,EA.call(this,r,n)}function NA(A){var t,e="string"==typeof arguments[0]?arguments[0]:"p",r=arguments[1],n=arguments[2],s=arguments[3],o=[],a=1,c=16,u="S",l=null;"object"===(0,i.Z)(A=A||{})&&(e=A.orientation,r=A.unit||r,n=A.format||n,s=A.compress||A.compressPdf||s,null!==(l=A.encryption||null)&&(l.userPassword=l.userPassword||"",l.ownerPassword=l.ownerPassword||"",l.userPermissions=l.userPermissions||[]),a="number"==typeof A.userUnit?Math.abs(A.userUnit):1,void 0!==A.precision&&(t=A.precision),void 0!==A.floatPrecision&&(c=A.floatPrecision),u=A.defaultPathOperation||"S"),o=A.filters||(!0===s?["FlateEncode"]:o),r=r||"mm",e=(""+(e||"P")).toLowerCase();var h=A.putOnlyUsedFonts||!1,f={},B={internal:{},__private__:{}};B.__private__.PubSub=LA;var d="1.3",g=B.__private__.getPdfVersion=function(){return d};B.__private__.setPdfVersion=function(A){d=A};var p={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};B.__private__.getPageFormats=function(){return p};var w=B.__private__.getPageFormat=function(A){return p[A]};n=n||"a4";var m={COMPAT:"compat",ADVANCED:"advanced"},Q=m.COMPAT;function C(){this.saveGraphicsState(),AA(new VA(mA,0,0,-mA,0,Ke()*mA).toString()+" cm"),this.setFontSize(this.getFontSize()/mA),u="n",Q=m.ADVANCED}function F(){this.restoreGraphicsState(),u="S",Q=m.COMPAT}var v=B.__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};B.advancedAPI=function(A){var t=Q===m.COMPAT;return t&&C.call(this),"function"!=typeof A||(A(this),t&&F.call(this)),this},B.compatAPI=function(A){var t=Q===m.ADVANCED;return t&&F.call(this),"function"!=typeof A||(A(this),t&&C.call(this)),this},B.isAdvancedAPI=function(){return Q===m.ADVANCED};var y,b=function(A){if(Q!==m.ADVANCED)throw new Error(A+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},U=B.roundToPrecision=B.__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+$/,"")};y=B.hpf=B.__private__.hpf="number"==typeof c?function(A){if(isNaN(A))throw new Error("Invalid argument passed to jsPDF.hpf");return U(A,c)}:"smart"===c?function(A){if(isNaN(A))throw new Error("Invalid argument passed to jsPDF.hpf");return U(A,A>-1&&A<1?16:5)}:function(A){if(isNaN(A))throw new Error("Invalid argument passed to jsPDF.hpf");return U(A,16)};var L=B.f2=B.__private__.f2=function(A){if(isNaN(A))throw new Error("Invalid argument passed to jsPDF.f2");return U(A,2)},I=B.__private__.f3=function(A){if(isNaN(A))throw new Error("Invalid argument passed to jsPDF.f3");return U(A,3)},E=B.scale=B.__private__.scale=function(A){if(isNaN(A))throw new Error("Invalid argument passed to jsPDF.scale");return Q===m.COMPAT?A*mA:Q===m.ADVANCED?A:void 0},x=function(A){return Q===m.COMPAT?Ke()-A:Q===m.ADVANCED?A:void 0},H=function(A){return E(x(A))};B.__private__.setPrecision=B.setPrecision=function(A){"number"==typeof parseInt(A,10)&&(t=parseInt(A,10))};var N,S="00000000000000000000000000000000",P=B.__private__.getFileId=function(){return S},D=B.__private__.setFileId=function(A){return S=void 0!==A&&/^[a-fA-F0-9]{32}$/.test(A)?A.toUpperCase():S.split("").map((function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))})).join(""),null!==l&&(Jt=new bA(l.userPermissions,l.userPassword,l.ownerPassword,S)),S};B.setFileId=function(A){return D(A),this},B.getFileId=function(){return P()};var k=B.__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,T(r),"'",T(n),"'"].join("");return["D:",A.getFullYear(),T(A.getMonth()+1),T(A.getDate()),T(A.getHours()),T(A.getMinutes()),T(A.getSeconds()),i].join("")},_=B.__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)},M=B.__private__.setCreationDate=function(A){var t;if(void 0===A&&(A=new Date),A instanceof Date)t=k(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 N=t},K=B.__private__.getCreationDate=function(A){var t=N;return"jsDate"===A&&(t=_(N)),t};B.setCreationDate=function(A){return M(A),this},B.getCreationDate=function(A){return K(A)};var O,T=B.__private__.padd2=function(A){return("0"+parseInt(A)).slice(-2)},R=B.__private__.padd2Hex=function(A){return("00"+(A=A.toString())).substr(A.length)},j=0,G=[],V=[],q=0,J=[],X=[],W=!1,Y=V,z=function(){j=0,q=0,V=[],G=[],J=[],$A=YA(),At=YA()};B.__private__.setCustomOutputDestination=function(A){W=!0,Y=A};var Z=function(A){W||(Y=A)};B.__private__.resetCustomOutputDestination=function(){W=!1,Y=V};var AA=B.__private__.out=function(A){return A=A.toString(),q+=A.length+1,Y.push(A),Y},eA=B.__private__.write=function(A){return AA(1===arguments.length?A.toString():Array.prototype.join.call(arguments," "))},rA=B.__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},nA=[["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]];B.__private__.getStandardFonts=function(){return nA};var iA=A.fontSize||16;B.__private__.setFontSize=B.setFontSize=function(A){return iA=Q===m.ADVANCED?A/mA:A,this};var cA,uA=B.__private__.getFontSize=B.getFontSize=function(){return Q===m.COMPAT?iA:iA*mA},lA=A.R2L||!1;B.__private__.setR2L=B.setR2L=function(A){return lA=A,this},B.__private__.getR2L=B.getR2L=function(){return lA};var hA,fA=B.__private__.setZoomMode=function(A){var t=[void 0,null,"fullwidth","fullheight","fullpage","original"];if(/^(?:\d+\.\d*|\d*\.\d+|\d+)%$/.test(A))cA=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.');cA=A}else cA=parseInt(A,10)};B.__private__.getZoomMode=function(){return cA};var BA,dA=B.__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.');hA=A};B.__private__.getPageMode=function(){return hA};var gA=B.__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.');BA=A};B.__private__.getLayoutMode=function(){return BA},B.__private__.setDisplayMode=B.setDisplayMode=function(A,t,e){return fA(A),gA(t),dA(e),this};var pA={title:"",subject:"",author:"",keywords:"",creator:""};B.__private__.getDocumentProperty=function(A){if(-1===Object.keys(pA).indexOf(A))throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return pA[A]},B.__private__.getDocumentProperties=function(){return pA},B.__private__.setDocumentProperties=B.setProperties=B.setDocumentProperties=function(A){for(var t in pA)pA.hasOwnProperty(t)&&A[t]&&(pA[t]=A[t]);return this},B.__private__.setDocumentProperty=function(A,t){if(-1===Object.keys(pA).indexOf(A))throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return pA[A]=t};var wA,mA,QA,CA,FA,vA={},yA={},EA=[],SA={},PA={},DA={},kA={},_A=null,MA=0,KA=[],OA=new LA(B),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(y).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,n=255&c}if(void 0===r||void 0===s&&e===r&&r===n)if("string"==typeof e)t=e+" "+o[0];else switch(A.precision){case 2:t=L(e/255)+" "+o[0];break;case 3:default:t=I(e/255)+" "+o[0]}else if(void 0===s||"object"===(0,i.Z)(s)){if(s&&!isNaN(s.a)&&0===s.a)return["1.","1.","1.",o[1]].join(" ");if("string"==typeof e)t=[e,r,n,o[1]].join(" ");else switch(A.precision){case 2:t=[L(e/255),L(r/255),L(n/255),o[1]].join(" ");break;default:case 3:t=[I(e/255),I(r/255),I(n/255),o[1]].join(" ")}}else if("string"==typeof e)t=[e,r,n,s,o[2]].join(" ");else switch(A.precision){case 2:t=[L(e),L(r),L(n),L(s),o[2]].join(" ");break;case 3:default:t=[I(e),I(r),I(n),I(s),o[2]].join(" ")}return t},rt=B.__private__.getFilters=function(){return o},nt=B.__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!==l&&void 0===s)throw new Error("ObjectId must be passed to putStream for file encryption");null!==l&&(o=Jt.encryptor(s,0));var a={};!0===e&&(e=["FlateEncode"]);var c=A.additionalKeyValues||[],u=(a=void 0!==NA.API.processDataByFilters?NA.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 h=0;h>"),0!==a.data.length&&(AA("stream"),AA(o(a.data)),AA("endstream"))},it=B.__private__.putPage=function(A){var t=A.number,e=A.data,r=A.objId,n=A.contentsObjId;zA(r,!0),AA("<>"),AA("endobj");var i=e.join("\n");return Q===m.ADVANCED&&(i+="\nQ"),zA(n,!0),nt({data:i,filters:rt(),objectId:n}),AA("endobj"),r},st=B.__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:X[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),AA("<>"),AA("endobj"),OA.publish("postPutPages")},ot=function(A){OA.publish("putFont",{font:A,out:AA,newObject:WA,putStream:nt}),!0!==A.isAlreadyPutted&&(A.objectNumber=WA(),AA("<<"),AA("/Type /Font"),AA("/BaseFont /"+UA(A.postScriptName)),AA("/Subtype /Type1"),"string"==typeof A.encoding&&AA("/Encoding /"+A.encoding),AA("/FirstChar 32"),AA("/LastChar 255"),AA(">>"),AA("endobj"))},at=function(){for(var A in vA)vA.hasOwnProperty(A)&&(!1===h||!0===h&&f.hasOwnProperty(A))&&ot(vA[A])},ct=function(A){A.objectNumber=WA();var t=[];t.push({key:"Type",value:"/XObject"}),t.push({key:"Subtype",value:"/Form"}),t.push({key:"BBox",value:"["+[y(A.x),y(A.y),y(A.x+A.width),y(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}),AA("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+=R(Math.round((1-l)*h[0]+l*f[0]).toString(16))+R(Math.round((1-l)*h[1]+l*f[1]).toString(16))+R(Math.round((1-l)*h[2]+l*f[2]).toString(16))}return o.trim()},ht=function(A,t){t||(t=21);var e=WA(),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}),AA("endobj"),A.objectNumber=WA(),AA("<< /ShadingType "+A.type),AA("/ColorSpace /DeviceRGB");var i="/Coords ["+y(parseFloat(A.coords[0]))+" "+y(parseFloat(A.coords[1]))+" ";2===A.type?i+=y(parseFloat(A.coords[2]))+" "+y(parseFloat(A.coords[3])):i+=y(parseFloat(A.coords[2]))+" "+y(parseFloat(A.coords[3]))+" "+y(parseFloat(A.coords[4]))+" "+y(parseFloat(A.coords[5])),AA(i+="]"),A.matrix&&AA("/Matrix ["+A.matrix.toString()+"]"),AA("/Function "+e+" 0 R"),AA("/Extend [true true]"),AA(">>"),AA("endobj")},ft=function(A,t){var e=YA(),r=WA();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(y).join(" ")+"]"}),n.push({key:"XStep",value:y(A.xStep)}),n.push({key:"YStep",value:y(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}),AA("endobj")},Bt=function(A){var t;for(t in SA)SA.hasOwnProperty(t)&&(SA[t]instanceof xA?ht(SA[t]):SA[t]instanceof HA&&ft(SA[t],A))},dt=function(A){for(var t in A.objectNumber=WA(),AA("<<"),A)switch(t){case"opacity":AA("/ca "+L(A[t]));break;case"stroke-opacity":AA("/CA "+L(A[t]))}AA(">>"),AA("endobj")},gt=function(){var A;for(A in DA)DA.hasOwnProperty(A)&&dt(DA[A])},pt=function(){for(var A in AA("/XObject <<"),RA)RA.hasOwnProperty(A)&&RA[A].objectNumber>=0&&AA("/"+A+" "+RA[A].objectNumber+" 0 R");OA.publish("putXobjectDict"),AA(">>")},wt=function(){Jt.oid=WA(),AA("<<"),AA("/Filter /Standard"),AA("/V "+Jt.v),AA("/R "+Jt.r),AA("/U <"+Jt.toHexString(Jt.U)+">"),AA("/O <"+Jt.toHexString(Jt.O)+">"),AA("/P "+Jt.P),AA(">>"),AA("endobj")},mt=function(){for(var A in AA("/Font <<"),vA)vA.hasOwnProperty(A)&&(!1===h||!0===h&&f.hasOwnProperty(A))&&AA("/"+A+" "+vA[A].objectNumber+" 0 R");AA(">>")},Qt=function(){if(Object.keys(SA).length>0){for(var A in AA("/Shading <<"),SA)SA.hasOwnProperty(A)&&SA[A]instanceof xA&&SA[A].objectNumber>=0&&AA("/"+A+" "+SA[A].objectNumber+" 0 R");OA.publish("putShadingPatternDict"),AA(">>")}},Ct=function(A){if(Object.keys(SA).length>0){for(var t in AA("/Pattern <<"),SA)SA.hasOwnProperty(t)&&SA[t]instanceof B.TilingPattern&&SA[t].objectNumber>=0&&SA[t].objectNumber>")}},Ft=function(){if(Object.keys(DA).length>0){var A;for(A in AA("/ExtGState <<"),DA)DA.hasOwnProperty(A)&&DA[A].objectNumber>=0&&AA("/"+A+" "+DA[A].objectNumber+" 0 R");OA.publish("putGStateDict"),AA(">>")}},vt=function(A){zA(A.resourcesOid,!0),AA("<<"),AA("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),mt(),Qt(),Ct(A.objectOid),Ft(),pt(),AA(">>"),AA("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=B.__private__.pdfEscape=B.pdfEscape=function(A,t){return xt(A,t).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},Nt=B.__private__.beginPage=function(A){X[++MA]=[],KA[MA]={objId:0,contentsObjId:0,userUnit:Number(a),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(A[0]),topRightY:Number(A[1])}},Dt(MA),Z(X[O])},St=function(A,t){var r,i,s;switch(e=t||e,"string"==typeof A&&(r=w(A.toLowerCase()),Array.isArray(r)&&(i=r[0],s=r[1])),Array.isArray(A)&&(i=A[0]*mA,s=A[1]*mA),isNaN(i)&&(i=n[0],s=n[1]),(i>14400||s>14400)&&(tA.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),i=Math.min(14400,i),s=Math.min(14400,s)),n=[i,s],e.substr(0,1)){case"l":s>i&&(n=[s,i]);break;case"p":i>s&&(n=[s,i])}Nt(n),Be(he),AA(Fe),0!==Ie&&AA(Ie+" J"),0!==Ee&&AA(Ee+" j"),OA.publish("addPage",{pageNumber:MA})},Pt=function(A){A>0&&A<=MA&&(X.splice(A,1),KA.splice(A,1),MA--,O>MA&&(O=MA),this.setPage(O))},Dt=function(A){A>0&&A<=MA&&(O=A)},kt=B.__private__.getNumberOfPages=B.getNumberOfPages=function(){return X.length-1},_t=function(A,t,e){var r,n=void 0;return e=e||{},A=void 0!==A?A:vA[wA].fontName,t=void 0!==t?t:vA[wA].fontStyle,r=A.toLowerCase(),void 0!==yA[r]&&void 0!==yA[r][t]?n=yA[r][t]:void 0!==yA[A]&&void 0!==yA[A][t]?n=yA[A][t]:!1===e.disableWarning&&tA.warn("Unable to look up font label for font '"+A+"', '"+t+"'. Refer to getFontList() for available fonts."),n||e.noFallback||null==(n=yA.times[t])&&(n=yA.times.normal),n},Mt=B.__private__.putInfo=function(){var A=WA(),t=function(A){return A};for(var e in null!==l&&(t=Jt.encryptor(A,0)),AA("<<"),AA("/Producer ("+Ht(t("jsPDF "+NA.version))+")"),pA)pA.hasOwnProperty(e)&&pA[e]&&AA("/"+e.substr(0,1).toUpperCase()+e.substr(1)+" ("+Ht(t(pA[e]))+")");AA("/CreationDate ("+Ht(t(N))+")"),AA(">>"),AA("endobj")},Kt=B.__private__.putCatalog=function(A){var t=(A=A||{}).rootDictionaryObjId||$A;switch(WA(),AA("<<"),AA("/Type /Catalog"),AA("/Pages "+t+" 0 R"),cA||(cA="fullwidth"),cA){case"fullwidth":AA("/OpenAction [3 0 R /FitH null]");break;case"fullheight":AA("/OpenAction [3 0 R /FitV null]");break;case"fullpage":AA("/OpenAction [3 0 R /Fit]");break;case"original":AA("/OpenAction [3 0 R /XYZ null null 1]");break;default:var e=""+cA;"%"===e.substr(e.length-1)&&(cA=parseInt(cA)/100),"number"==typeof cA&&AA("/OpenAction [3 0 R /XYZ null null "+L(cA)+"]")}switch(BA||(BA="continuous"),BA){case"continuous":AA("/PageLayout /OneColumn");break;case"single":AA("/PageLayout /SinglePage");break;case"two":case"twoleft":AA("/PageLayout /TwoColumnLeft");break;case"tworight":AA("/PageLayout /TwoColumnRight")}hA&&AA("/PageMode /"+hA),OA.publish("putCatalog"),AA(">>"),AA("endobj")},Ot=B.__private__.putTrailer=function(){AA("trailer"),AA("<<"),AA("/Size "+(j+1)),AA("/Root "+j+" 0 R"),AA("/Info "+(j-1)+" 0 R"),null!==l&&AA("/Encrypt "+Jt.oid+" 0 R"),AA("/ID [ <"+S+"> <"+S+"> ]"),AA(">>")},Tt=B.__private__.putHeader=function(){AA("%PDF-"+d),AA("%ºß¬à")},Rt=B.__private__.putXRef=function(){var A="0000000000";AA("xref"),AA("0 "+(j+1)),AA("0000000000 65535 f ");for(var t=1;t<=j;t++)"function"==typeof G[t]?AA((A+G[t]()).slice(-10)+" 00000 n "):void 0!==G[t]?AA((A+G[t]).slice(-10)+" 00000 n "):AA("0000000000 00000 n ")},jt=B.__private__.buildDocument=function(){z(),Z(V),OA.publish("buildDocument"),Tt(),st(),bt(),yt(),null!==l&&wt(),Mt(),Kt();var A=q;return Rt(),Ot(),AA("startxref"),AA(""+A),AA("%%EOF"),Z(X[O]),V.join("\n")},Gt=B.__private__.getBlob=function(A){return new Blob([rA(A)],{type:"application/pdf"})},Vt=B.output=B.__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":B.save(t.filename);break;case"arraybuffer":return rA(jt());case"blob":return Gt(jt());case"bloburi":case"bloburl":if(void 0!==$.URL&&"function"==typeof $.URL.createObjectURL)return $.URL&&$.URL.createObjectURL(Gt(jt()))||void 0;tA.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=sA(r)}catch(A){e=sA(unescape(encodeURIComponent(r)))}return"data:application/pdf;filename="+t.filename+";base64,"+e;case"pdfobjectnewwindow":if("[object Window]"===Object.prototype.toString.call($)){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 s='